summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-07 05:32:54 +0000
committerSascha Schumann <sas@php.net>2000-05-07 05:32:54 +0000
commitb345acb577ad8f5da19186767d94404414ef3a83 (patch)
tree42706fdd3404d892f76e48b87a551bf75b0889e6 /acinclude.m4
parent873df0ae89d873437095ba03946c7273377787ba (diff)
downloadphp-git-b345acb577ad8f5da19186767d94404414ef3a83.tar.gz
Never tell link editor to libc. Some systems use thread-safe
replacements for libc in Pthreads mode.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index decf086f4e..e64294013b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -401,7 +401,9 @@ dnl add a library to the link line
dnl
AC_DEFUN(AC_ADD_LIBRARY,[
AC_PHP_ONCE(LIBRARY, $1, [
- ifelse($#, 1, LIBS="-l$1 $LIBS", LIBS="$LIBS -l$1")
+ if test "$1" != "c"; then
+ ifelse($#, 1, LIBS="-l$1 $LIBS", LIBS="$LIBS -l$1")
+ fi
])
])