diff options
author | Sascha Schumann <sas@php.net> | 2000-05-07 05:32:54 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-07 05:32:54 +0000 |
commit | b345acb577ad8f5da19186767d94404414ef3a83 (patch) | |
tree | 42706fdd3404d892f76e48b87a551bf75b0889e6 /acinclude.m4 | |
parent | 873df0ae89d873437095ba03946c7273377787ba (diff) | |
download | php-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.m4 | 4 |
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 ]) ]) |