1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 08:33:06 +02:00

Reverted Hartmut's patch as it caused more trouble than it solved.

# Broke my build totally. The 'correct' fix is to make the checks better
# everywhere. ie. to check for existance of the library/symbol in some lib.
This commit is contained in:
foobar
2002-01-09 03:40:51 +00:00
parent f50277f003
commit fa41fe8646
2 changed files with 3 additions and 3 deletions

View File

@@ -749,7 +749,7 @@ AC_DEFUN(PHP_ADD_LIBRARY,[
c|c_r|pthread*) ;;
*)
ifelse($3,,[
PHP_X_ADD_LIBRARY($1,$2,PHP_EXTENSION_LIBS)
PHP_X_ADD_LIBRARY($1,$2,LIBS)
],[
if test "$ext_shared" = "yes"; then
PHP_X_ADD_LIBRARY($1,$2,$3)

View File

@@ -242,7 +242,7 @@ AC_CHECK_LIB(nsl, gethostname, [
fi
AC_CHECK_LIB(dl, dlopen,[LIBS="-ldl $LIBS"])
AC_CHECK_LIB(dl, dlopen,[PHP_ADD_LIBRARY(dl)])
dnl The sin may be in a library which need not be specifed
dnl as well as res_search resides in libsocket
@@ -736,7 +736,7 @@ if test "$abs_srcdir" != "$abs_builddir"; then
INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM"
fi
EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS $PHP_EXTENSION_LIBS"
EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS"
unset LIBS LDFLAGS
PHP_CONFIGURE_PART(Configuring TSRM)