diff options
author | jfclere <jfclere@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-05 08:37:38 +0000 |
---|---|---|
committer | jfclere <jfclere@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-05 08:37:38 +0000 |
commit | 041f10a8cdc3aab3121d5433fbf41e2805079998 (patch) | |
tree | be8c9cf3b5ac4383453725f265462188fb5abd40 /build/dso.m4 | |
parent | 2ef5d29b3a00151c98be8621e4ac792c50efb6de (diff) | |
download | libapr-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.m4 | 4 |
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 ]) |