r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
authorJelmer Vernooij <jelmer@samba.org>
Wed, 3 May 2006 09:07:38 +0000 (09:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:33 +0000 (14:05 -0500)
not available on some platforms but is a Samba-specific library.

source/client/client.c
source/lib/registry/tools/regshell.c
source/lib/replace/README
source/lib/replace/config.m4
source/lib/smbreadline/readline.m4 [moved from source/lib/replace/readline.m4 with 94% similarity]
source/lib/smbreadline/smbreadline.c [moved from source/lib/replace/readline.c with 100% similarity]
source/lib/smbreadline/smbreadline.h [moved from source/lib/replace/smbreadline.h with 100% similarity]

index a90e597b0b415c184eaae9f12558f44a608b8afa..2646332d03fd54e21213d069a671891b7c68e169 100644 (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;
index 6da64d14a8e50f27adaed1a008edd03766f2a7ef..a1a88378c9095fb7d018ab286d8ba9976a4b90e6 100644 (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"
 
 /* 
index a3e9d87072e532f4cb5e57be4ce7f8755b4cda77..9760c75b807b6d1ca841b944aa364263332f1956 100644 (file)
@@ -50,6 +50,7 @@ pread
 pwrite
 getpass
 readline (the library)
+inet_ntoa
 
 Types:
 bool
index 12e3607bb4c38be8eaebcc856a841842edabc0c0..aec9f5805ced1ad9c199032ccb7f48a3c94edd50 100644 (file)
@@ -140,7 +140,6 @@ AC_INCLUDES_DEFAULT
 #endif]
 )
 
-sinclude(lib/replace/readline.m4)
 sinclude(lib/replace/getpass.m4)
 
 dnl VA_COPY
similarity index 94%
rename from source/lib/replace/readline.m4
rename to source/lib/smbreadline/readline.m4
index 34b538f10a559b799ca3cb141eb011832c8d4908..cff7ece12616e8faca1d59da47853394752a117e 100644 (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