summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-27 19:35:04 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-27 19:35:04 +0200
commit42cfbe272c0a4f1131d28f1de9121063869be2a3 (patch)
treedd977a94e897cbe9b9b141aab7bdcb115897be52 /source4
parentfd03ce3ac31c95ccd6128f4db6ff753c347d18b8 (diff)
downloadsamba-42cfbe272c0a4f1131d28f1de9121063869be2a3.tar.gz
samba-42cfbe272c0a4f1131d28f1de9121063869be2a3.tar.bz2
samba-42cfbe272c0a4f1131d28f1de9121063869be2a3.zip
Add variable for smbreadline directory.
(This used to be commit 94167c7d4273fbd6084d6ddae7fd15dcb189d62f)
Diffstat (limited to 'source4')
-rw-r--r--source4/Makefile1
-rw-r--r--source4/lib/smbreadline/readline.m44
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/Makefile b/source4/Makefile
index 370be2a2da..20a0876962 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -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
diff --git a/source4/lib/smbreadline/readline.m4 b/source4/lib/smbreadline/readline.m4
index ab85bba438..ad6bc66690 100644
--- a/source4/lib/smbreadline/readline.m4
+++ b/source4/lib/smbreadline/readline.m4
@@ -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