summaryrefslogtreecommitdiff
path: root/source3/aclocal.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-24 19:18:24 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-24 19:18:24 +0000
commit9ba1ed52719df0a5eef723ecbfec11f6035a9710 (patch)
treeff3e78dde481c59d805d84c0244c44aca08e80f0 /source3/aclocal.m4
parent068b1e91419bf95373597ef6cf94e76d1ff5af58 (diff)
downloadsamba-9ba1ed52719df0a5eef723ecbfec11f6035a9710.tar.gz
samba-9ba1ed52719df0a5eef723ecbfec11f6035a9710.tar.bz2
samba-9ba1ed52719df0a5eef723ecbfec11f6035a9710.zip
When using --with-static-modules=subsystem, don't build modules that
can't be build (This used to be commit bb943a68af20f87a4b2d6b257585615d1792dd33)
Diffstat (limited to 'source3/aclocal.m4')
-rw-r--r--source3/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index 4814a86a96..79fbc8628e 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -43,7 +43,7 @@ AC_DEFUN(SMB_MODULE,
AC_MSG_CHECKING([how to build $1])
if test "$[MODULE_][$1]"; then
DEST=$[MODULE_][$1]
- elif test "$[MODULE_]translit([$4], [A-Z], [a-z])"; then
+ elif test "$[MODULE_]translit([$4], [A-Z], [a-z])" -a "$[MODULE_DEFAULT_][$1]"; then
DEST=$[MODULE_]translit([$4], [A-Z], [a-z])
else
DEST=$[MODULE_DEFAULT_][$1]