summaryrefslogtreecommitdiff
path: root/source4/aclocal.m4
diff options
context:
space:
mode:
authorPaul Green <paulg@samba.org>2004-04-13 21:35:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:16 -0500
commitbf6e1db398e237de209f5d04e4f7b96091213a22 (patch)
tree2690823c5b6cf167dae6895c18f5514aaf4515a5 /source4/aclocal.m4
parentc7a60a178f4b28f40d70f7b0c12bec6ab7af7846 (diff)
downloadsamba-bf6e1db398e237de209f5d04e4f7b96091213a22.tar.gz
samba-bf6e1db398e237de209f5d04e4f7b96091213a22.tar.bz2
samba-bf6e1db398e237de209f5d04e4f7b96091213a22.zip
r202: Fix aclocal.m4 to only use $BLDSHARED to select whether to build static or shared libraries.
(This used to be commit a4ce81cb0680af431ef855f15693c0377cf284e0)
Diffstat (limited to 'source4/aclocal.m4')
-rw-r--r--source4/aclocal.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/aclocal.m4 b/source4/aclocal.m4
index 55630c9a39..f7828a080f 100644
--- a/source4/aclocal.m4
+++ b/source4/aclocal.m4
@@ -40,10 +40,10 @@ dnl Specify the default build method of this module
dnl SMB_MODULE_DEFAULT(1:name,2:default_build)
AC_DEFUN(SMB_MODULE_DEFAULT,
[
- dnl Fall back to static if dlopen() is not available
+ dnl Fall back to static if platform does not support shared libraries
[MODULE_DEFAULT_][$1]=$2
- if test x"$[MODULE_DEFAULT_][$1]" = xSHARED -a x"$ac_cv_func_dlopen" != xyes; then
+ if test x"$[MODULE_DEFAULT_][$1]" = xSHARED -a x"$BLDSHARED" = xfalse; then
[MODULE_DEFAULT_][$1]=STATIC
fi
])
@@ -56,7 +56,7 @@ AC_DEFUN(SMB_MODULE,
if test -z "$[MODULE_DEFAULT_][$1]"; then
[MODULE_DEFAULT_][$1]=$3
- if test x"$[MODULE_DEFAULT_][$1]" = xSHARED -a x"$ac_cv_func_dlopen" != xyes; then
+ if test x"$[MODULE_DEFAULT_][$1]" = xSHARED -a x"$BLDSHARED" = xfalse; then
[MODULE_DEFAULT_][$1]=STATIC
fi
fi