From: Michael Adam Date: Mon, 31 Mar 2008 09:58:35 +0000 (+0200) Subject: build: fix configure option --with-static-libs=libXYZ X-Git-Tag: samba-3.3.0pre1~3010 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d0a5d5c93ddab444a0097e1c56e4363574cb2b6;p=thirdparty%2Fsamba.git build: fix configure option --with-static-libs=libXYZ This should not prevent building but linking of shared lib for subsystem XYZ (example --with-static-libs=libtdb). m4 quotation is tricky... Michael --- diff --git a/source/m4/aclocal.m4 b/source/m4/aclocal.m4 index ef0abadefa8..48cdacc9c8a 100644 --- a/source/m4/aclocal.m4 +++ b/source/m4/aclocal.m4 @@ -100,7 +100,7 @@ build_lib=yes if eval test x"$build_lib" = "xyes" -a $BLDSHARED = true; then LIBUC[_SHARED]=$LIBUC[_SHARED_TARGET] AC_MSG_RESULT(yes) - if test x"$USESHARED" != x"true" -o x"$LINK_LIBUC" = "xSTATIC" ; then + if test x"$USESHARED" != x"true" -o x"$[LINK_]LIBUC" = "xSTATIC" ; then LIBUC[_STATIC]=$LIBUC[_STATIC_TARGET] else LIBUC[_LIBS]=LIBLIBS