1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality

not available on some platforms but is a Samba-specific library.
This commit is contained in:
Jelmer Vernooij
2006-05-03 09:07:38 +00:00
committed by Gerald (Jerry) Carter
parent 86a9b17b3a
commit e9d3660fa6
7 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@
#include "system/time.h" /* needed by some systems for asctime() */
#include "libcli/resolve/resolve.h"
#include "libcli/security/security.h"
#include "lib/replace/smbreadline.h"
#include "lib/smbreadline/smbreadline.h"
#include "librpc/gen_ndr/ndr_nbt.h"
static int io_bufsize = 64512;

View File

@ -25,7 +25,7 @@
#include "lib/events/events.h"
#include "lib/registry/reg_backend_rpc.h"
#include "system/time.h"
#include "lib/replace/smbreadline.h"
#include "lib/smbreadline/smbreadline.h"
#include "librpc/gen_ndr/ndr_security.h"
/*

View File

@ -50,6 +50,7 @@ pread
pwrite
getpass
readline (the library)
inet_ntoa
Types:
bool

View File

@ -140,7 +140,6 @@ AC_INCLUDES_DEFAULT
#endif]
)
sinclude(lib/replace/readline.m4)
sinclude(lib/replace/getpass.m4)
dnl VA_COPY

View File

@ -72,10 +72,10 @@ AC_MSG_CHECKING(whether to use extern readline)
if test x"$EXTERNAL_READLINE" = x"yes"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_LIBREADLINE,1,[Whether the system has readline])
SMB_SUBSYSTEM(SMBREADLINE, [lib/replace/readline.o], [READLINE])
SMB_SUBSYSTEM(SMBREADLINE, [lib/smbreadline/smbreadline.o], [READLINE])
SMB_EXT_LIB(READLINE, [${TERMLIBS}])
SMB_ENABLE(READLINE,YES)
else
SMB_SUBSYSTEM(SMBREADLINE, [lib/replace/readline.o], [])
SMB_SUBSYSTEM(SMBREADLINE, [lib/smbreadline/smbreadline.o], [])
AC_MSG_RESULT(no)
fi