summaryrefslogtreecommitdiff
path: root/build/dso.m4
diff options
context:
space:
mode:
authorjfclere <jfclere@13f79535-47bb-0310-9956-ffa450edef68>2008-06-05 08:37:38 +0000
committerjfclere <jfclere@13f79535-47bb-0310-9956-ffa450edef68>2008-06-05 08:37:38 +0000
commit041f10a8cdc3aab3121d5433fbf41e2805079998 (patch)
treebe8c9cf3b5ac4383453725f265462188fb5abd40 /build/dso.m4
parent2ef5d29b3a00151c98be8621e4ac792c50efb6de (diff)
downloadlibapr-util-041f10a8cdc3aab3121d5433fbf41e2805079998.tar.gz
Otherwise install-modules-yes in Makefile and the shell will complains on
syntax error because APU_MODULES is only a space (on Solaris for example). git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@663499 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/dso.m4')
-rw-r--r--build/dso.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/build/dso.m4 b/build/dso.m4
index 0bbad829..18ed4cb1 100644
--- a/build/dso.m4
+++ b/build/dso.m4
@@ -69,6 +69,8 @@ AC_DEFUN([APU_CHECK_UTIL_DSO], [
test $apu_have_freetds = 1 && dsos="$dsos dbd/apr_dbd_freetds.la"
test $apu_has_ldap = 1 && dsos="$dsos ldap/apr_ldap.la"
- APU_MODULES="$APU_MODULES $dsos"
+ if test -n "$dsos"; then
+ APU_MODULES="$APU_MODULES $dsos"
+ fi
fi
])