From cdaa53e3ef7e9bbb7dedaa82d54f730085b9250c Mon Sep 17 00:00:00 2001 From: Michael Warfield Date: Mon, 28 Sep 1998 19:18:21 +0000 Subject: Two changes in this ball... 1) Changes to smbmnt.c, smbmount.c, and smbumount.c allow them to compile on both RedHat 4.x (libc 4.x) systems and RedHat 5.x (glibc 2) systems. 2) Changes to Makefile.in and configure.in (and subsequently configure) are to configure for smbmount, smbumount, and smbmnt to compile. This adds a "--with(out)-smbmount" option to configure. Sanity checking is not present yet. You can specify this if you are not on linux, it just won't compile. (This used to be commit 8a4730f61923577b0bd9e09ef1a00538f7dfb0de) --- source3/configure.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index f6483c6d30..3c8b2712e9 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -6,6 +6,7 @@ dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_SUBST(SHELL) +AC_SUBST(MPROGS) AC_PROG_AWK AC_CANONICAL_SYSTEM @@ -524,6 +525,27 @@ AC_ARG_WITH(automount, AC_MSG_RESULT(no) ) +################################################# +# check for smbmount support +AC_MSG_CHECKING(whether to use SMBMOUNT) +AC_ARG_WITH(smbmount, +[ --with-smbmount Include SMBMOUNT (Linux only) support + --without-smbmount Don't include SMBMOUNT support (default)], +[ case "$withval" in + yes) + AC_MSG_RESULT(yes) + AC_DEFINE(WITH_SMBMOUNT) + MPROGS="bin/smbmount bin/smbmnt bin/smbumount" + ;; + *) + AC_MSG_RESULT(no) + MPROGS= + ;; + esac ], + AC_MSG_RESULT(no) + MPROGS= +) + ################################################# # check for a LDAP password database AC_MSG_CHECKING(whether to use LDAP password database) -- cgit