1999-08-02 23:48:02 +00:00
|
|
|
/*
|
|
|
|
* rlversion -- print out readline's version number
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined (HAVE_CONFIG_H)
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "posixstat.h"
|
|
|
|
|
readline:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Locally modified files: Makefile.in, configure.in, configure
(regenerated), config.h.in (regenerated), readline.h, rltty.c,
shell.c signals.c.
Locally added files: acconfig.h, config/*, config.h.bot,
cross-build/*, doc/inc-hit.texinfo.
New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
examples:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
New files: excallback.c, rlfe.c.
doc:
2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* Import of readline 4.1.
Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for
inclusion in the gdb manual.
New file: rluserman.texinfo
2000-07-09 17:20:00 +00:00
|
|
|
#ifdef READLINE_LIBRARY
|
|
|
|
# include "readline.h"
|
|
|
|
#else
|
|
|
|
# include <readline/readline.h>
|
|
|
|
#endif
|
1999-08-02 23:48:02 +00:00
|
|
|
|
|
|
|
main()
|
|
|
|
{
|
|
|
|
printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
|
|
|
|
exit (0);
|
|
|
|
}
|