r9060: prepend not overwrite the libs
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Aug 2005 16:11:26 +0000 (16:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:31:13 +0000 (13:31 -0500)
metze
(This used to be commit 3b3e2029c36f4f139c3ed978e0820f3852eb1a92)

source4/aclocal.m4

index 4bce14d9a638767c4717126f37b5dcb068b80dcc..030488ba4559a301e29777480539e1f852f3d9a0 100644 (file)
@@ -139,7 +139,7 @@ break])
 fi
 LIBS=$ac_func_search_ext_save_LIBS])
 AS_IF([test "$ac_cv_search_ext_$1" != no],
-  [test "$ac_cv_search_ext_$1" = "none required" || $3="$ac_cv_search_ext_$1"
+  [test "$ac_cv_search_ext_$1" = "none required" || $3="$ac_cv_search_ext_$1 $$3"
   $4],
       [$5])dnl
 ])