1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00

This fix prevents adding an empty -l to LIBS

This commit is contained in:
foobar
2000-09-19 23:52:24 +00:00
parent d836f5d4c0
commit 83987c17ac

View File

@@ -535,7 +535,9 @@ AC_DEFUN(AC_ADD_INCLUDE,[
])
AC_DEFUN(PHP_X_ADD_LIBRARY,[
ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1")
if test -n "$1"; then
ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1")
fi
])
dnl