summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-19 16:59:59 +0000
committerGerald Carter <jerry@samba.org>2004-03-19 16:59:59 +0000
commit14f5ea9965eb1455c25fa80a8e58e31a20ef37b6 (patch)
tree3f6b5f8d535c7b09e0eb35198b2cac1e2d92894e
parent9f68ccb8027ffa9c9875ad2b327c33a1eeb3ffab (diff)
downloadsamba-14f5ea9965eb1455c25fa80a8e58e31a20ef37b6.tar.gz
samba-14f5ea9965eb1455c25fa80a8e58e31a20ef37b6.tar.bz2
samba-14f5ea9965eb1455c25fa80a8e58e31a20ef37b6.zip
add --with-libdir and --with-mandir (patch from Guenther Deschner)
(This used to be commit 649e1c372e0a407d8283cc1d938376ac4ad8e525)
-rw-r--r--source3/configure.in36
1 files changed, 34 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 806c53edaf..c58f640a00 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -105,7 +105,7 @@ AC_ARG_WITH(swatdir,
#################################################
# set configuration directory location
AC_ARG_WITH(configdir,
-[ --with-configdir=DIR Where to put configuration files (\$libdir)],
+[ --with-configdir=DIR Where to put configuration files ($libdir)],
[ case "$withval" in
yes|no)
#
@@ -121,7 +121,7 @@ AC_ARG_WITH(configdir,
#################################################
# set log directory location
AC_ARG_WITH(logfilebase,
-[ --with-logfilebase=DIR Where to put log files (\$(VARDIR))],
+[ --with-logfilebase=DIR Where to put log files ($VARDIR)],
[ case "$withval" in
yes|no)
#
@@ -134,6 +134,38 @@ AC_ARG_WITH(logfilebase,
;;
esac])
+#################################################
+# set lib directory location
+AC_ARG_WITH(libdir,
+[ --with-libdir=DIR Where to put libdir ($libdir)],
+[ case "$withval" in
+ yes|no)
+ #
+ # Just in case anybody does it
+ #
+ AC_MSG_WARN([--with-libdir without argument - will use default])
+ ;;
+ * )
+ libdir="$withval"
+ ;;
+ esac])
+
+#################################################
+# set lib directory location
+AC_ARG_WITH(mandir,
+[ --with-mandir=DIR Where to put man pages ($mandir)],
+[ case "$withval" in
+ yes|no)
+ #
+ # Just in case anybody does it
+ #
+ AC_MSG_WARN([--with-mandir without argument - will use default])
+ ;;
+ * )
+ mandir="$withval"
+ ;;
+ esac])
+
AC_ARG_WITH(cfenc,
[ --with-cfenc=HEADERDIR Use internal CoreFoundation encoding API
for optimization (Mac OS X/Darwin only)],