build: fix configure option --with-static-libs=libXYZ
authorMichael Adam <obnox@samba.org>
Mon, 31 Mar 2008 09:58:35 +0000 (11:58 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 31 Mar 2008 09:58:35 +0000 (11:58 +0200)
This should not prevent building but linking of shared lib for
subsystem XYZ (example --with-static-libs=libtdb).

m4 quotation is tricky...

Michael
(This used to be commit 4d0a5d5c93ddab444a0097e1c56e4363574cb2b6)

source3/m4/aclocal.m4

index ef0abadefa805d1c2d56543dee2b25bdfd44213d..48cdacc9c8ade0985e99fd84b578af046ecb8fa5 100644 (file)
@@ -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