diff options
author | Thies C. Arntzen <thies@php.net> | 2000-05-08 08:55:45 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-05-08 08:55:45 +0000 |
commit | 62d55047068da9426a2703c854f521d74204cf2e (patch) | |
tree | da3027893b2293343a8fad0bfe28f6fce1c7e775 /acinclude.m4 | |
parent | 3ee9304cd934199d3d06752fa549cdfa7988d425 (diff) | |
download | php-git-62d55047068da9426a2703c854f521d74204cf2e.tar.gz |
AC_ADD_LIBRARY_WITH_PATH now always prepends new libraries.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 0715502483..87e8b57d94 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -429,18 +429,19 @@ ifelse($3,,[ if test -n "$2"; then AC_ADD_LIBPATH($2) fi - AC_ADD_LIBRARY($1,1) + AC_ADD_LIBRARY($1) ],[ if test "$ext_shared" = "yes"; then if test -n "$2"; then - $3="[$]$3 -R$2 -L$2" + $3="-R$2 -L$2 -l$1 [$]$3" + else + $3="-l$1 [$]$3" fi - $3="[$]$3 -l$1" else if test -n "$2"; then AC_ADD_LIBPATH($2) fi - AC_ADD_LIBRARY($1,1) + AC_ADD_LIBRARY($1) fi ]) ]) |