summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-28 11:11:07 +0000
committerTim Potter <tpot@samba.org>2003-09-28 11:11:07 +0000
commit2569906e5ab6c9e11923f668cf028a9a758eeeaf (patch)
tree5f9ba3d2e51ed1555338621bc83e980a5b7ebfd6
parente38bd70f80a101c8eb4d24bb48cc7a84e17b330a (diff)
downloadsamba-2569906e5ab6c9e11923f668cf028a9a758eeeaf.tar.gz
samba-2569906e5ab6c9e11923f668cf028a9a758eeeaf.tar.bz2
samba-2569906e5ab6c9e11923f668cf028a9a758eeeaf.zip
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 afe8c708f1a7f0c0eb5b7f28b5af193c75ec2178)
-rw-r--r--source3/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index 52396e56d6..e1ea9385fd 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -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]