Merge from 3.0:
authorTim Potter <tpot@samba.org>
Mon, 29 Sep 2003 06:07:30 +0000 (06:07 +0000)
committerTim Potter <tpot@samba.org>
Mon, 29 Sep 2003 06:07:30 +0000 (06:07 +0000)
>Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  This
>is the same way AC_CHECK_LIB works.  Fix for bug 508.
>
>This may have to go a few rounds on the build farm to ensure it works
>everywhere.
(This used to be commit e2da7c8a9dc0e4c698c330422682feccae879bbd)

source3/aclocal.m4

index 52396e56d6c379a87a2f9a2d6c7272718c29df4e..e1ea9385fdab0a7d1c175016105ec8a8ab0c61b5 100644 (file)
@@ -179,7 +179,7 @@ AS_IF([test AS_VAR_GET(ac_Lib_ext) = yes],
                    *-l$1*)
                        ;;
                    *)
-                       $2="$$2 -l$1"
+                       $2="-l$1 $$2"
                        ;;
                esac])
                [$6]