diff options
author | Tim Potter <tpot@samba.org> | 1999-07-09 03:34:09 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-07-09 03:34:09 +0000 |
commit | 26d66071fbac2c46445153c214bb13d587a67b49 (patch) | |
tree | 95bf6f9dfb78d735573b04611c6e02679b57f546 /source/include | |
parent | 4929513f1376d72409c1e5a39f723d1d2bd81dc0 (diff) | |
download | samba-26d66071fbac2c46445153c214bb13d587a67b49.tar.gz samba-26d66071fbac2c46445153c214bb13d587a67b49.tar.xz samba-26d66071fbac2c46445153c214bb13d587a67b49.zip |
Put back in GNU readline support for smbclient accidentally trashed by
tridge in the clientgen.c to clientutil.c conversion.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/config.h.in | 4 | ||||
-rw-r--r-- | source/include/includes.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/source/include/config.h.in b/source/include/config.h.in index 6c4dd746dad..81fe46d4d83 100644 --- a/source/include/config.h.in +++ b/source/include/config.h.in @@ -132,6 +132,7 @@ #undef SIZEOF_OFF_T #undef STAT_STATVFS64 #undef HAVE_LIBREADLINE +#undef HAVE_READLINE_FCF_PROTO #undef HAVE_KERNEL_OPLOCKS #undef HAVE_IRIX_SPECIFIC_CAPABILITIES #undef HAVE_INT16_FROM_RPC_RPC_H @@ -595,6 +596,9 @@ /* Define if you have the syscall function. */ #undef HAVE_SYSCALL +/* Define if you have the tputs function. */ +#undef HAVE_TPUTS + /* Define if you have the utime function. */ #undef HAVE_UTIME diff --git a/source/include/includes.h b/source/include/includes.h index 1a37eb20c1a..efaebdf1820 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -717,6 +717,14 @@ union semun { # undef HAVE_LIBREADLINE # endif # endif + +/* Some old versions of readline don't define a prototype for + filename_completion_function() */ + +# ifndef HAVE_READLINE_FCF_PROTO +extern char *filename_completion_function (); +# endif + #endif #ifndef HAVE_STRDUP |