1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

Add variable for smbreadline directory.

(This used to be commit 94167c7d4273fbd6084d6ddae7fd15dcb189d62f)
This commit is contained in:
Jelmer Vernooij 2008-05-27 19:35:04 +02:00
parent fd03ce3ac3
commit 42cfbe272c
2 changed files with 3 additions and 2 deletions

View File

@ -63,6 +63,7 @@ libcharsetsrcdir := lib/charset
ldb_sambasrcdir := lib/ldb-samba
libtlssrcdir := lib/tls
libregistrysrcdir := lib/registry
smbreadlinesrcdir := lib/smbreadline
libmessagingsrcdir := lib/messaging
libeventssrcdir := lib/events
libcmdlinesrcdir := lib/cmdline

View File

@ -79,10 +79,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/smbreadline/smbreadline.o], [READLINE])
SMB_SUBSYSTEM(SMBREADLINE, [\$(smbreadlinesrcdir)/smbreadline.o], [READLINE])
SMB_EXT_LIB(READLINE, [${TERMLIBS}])
SMB_ENABLE(READLINE,YES)
else
SMB_SUBSYSTEM(SMBREADLINE, [lib/smbreadline/smbreadline.o], [])
SMB_SUBSYSTEM(SMBREADLINE, [\$(smbreadlinesrcdir)/smbreadline.o], [])
AC_MSG_RESULT(no)
fi