summaryrefslogtreecommitdiff
path: root/source3/aclocal.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-25 22:37:43 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-25 22:37:43 +0000
commitdc16a6848b5c3da843046a75fbd30d1cc84dd98c (patch)
treed3402d2d659290fb0d8bf4095a3ba9a6b890f856 /source3/aclocal.m4
parentadb1aa87f0cdd2a832cecda205e5f076b06fece7 (diff)
downloadsamba-dc16a6848b5c3da843046a75fbd30d1cc84dd98c.tar.gz
samba-dc16a6848b5c3da843046a75fbd30d1cc84dd98c.tar.bz2
samba-dc16a6848b5c3da843046a75fbd30d1cc84dd98c.zip
Always rebuild modules after running ./configure (to prevent
undefined symbol errors) (This used to be commit e193b47259d11b0eaef4071acb406d6433426733)
Diffstat (limited to 'source3/aclocal.m4')
-rw-r--r--source3/aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index 744acf6a1b..f470e2e8b0 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -37,7 +37,7 @@ fi
])
dnl Mark specified module as shared
-dnl SMB_MODULE(name,static_files,shared_files,subsystem)
+dnl SMB_MODULE(name,static_files,shared_files,subsystem,whatif-static,whatif-shared)
AC_DEFUN(SMB_MODULE,
[
AC_MSG_CHECKING([how to build $1])
@@ -53,15 +53,18 @@ AC_DEFUN(SMB_MODULE,
AC_DEFINE([$1][_init], [init_module], [Whether to build $1 as shared module])
$4_MODULES="$$4_MODULES $3"
AC_MSG_RESULT([shared])
+ [$6]
elif test x"$DEST" = xSTATIC; then
[init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) $1_init();"
string_static_modules="$string_static_modules $1"
$4_STATIC="$$4_STATIC $2"
AC_SUBST($4_STATIC)
+ [$5]
AC_MSG_RESULT([static])
else
AC_MSG_RESULT([not])
fi
+ MODULES_CLEAN="$MODULES_CLEAN $2 $3"
])
AC_DEFUN(SMB_SUBSYSTEM,