diff options
| author | Hartmut Holzgraefe <hholzgra@php.net> | 2002-01-03 20:30:07 +0000 |
|---|---|---|
| committer | Hartmut Holzgraefe <hholzgra@php.net> | 2002-01-03 20:30:07 +0000 |
| commit | d63edeba21e2aebb2c34924db15a525c17f550ce (patch) | |
| tree | fee1068eb45b7dff5874ffc462f7f8f25e39dd75 | |
| parent | c9bc54abc37ed4f0082f802a59846e277bd11971 (diff) | |
| download | php-git-d63edeba21e2aebb2c34924db15a525c17f550ce.tar.gz | |
make configure more robust if extensions add libraries without
checking for their existance first
old behaviour was to fail on the next library check with misleading
messages, now configure will work but make will fail with a
'lib not found' message
| -rw-r--r-- | acinclude.m4 | 2 | ||||
| -rw-r--r-- | configure.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 817e6dc904..7fb579d1b8 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -749,7 +749,7 @@ AC_DEFUN(PHP_ADD_LIBRARY,[ c|c_r|pthread*) ;; *) ifelse($3,,[ - PHP_X_ADD_LIBRARY($1,$2,LIBS) + PHP_X_ADD_LIBRARY($1,$2,PHP_EXTENSION_LIBS) ],[ if test "$ext_shared" = "yes"; then PHP_X_ADD_LIBRARY($1,$2,$3) diff --git a/configure.in b/configure.in index f2d1972084..508ae4494d 100644 --- a/configure.in +++ b/configure.in @@ -727,7 +727,7 @@ if test "$abs_srcdir" != "$abs_builddir"; then INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM" fi -EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS" +EXTRA_LIBS="$EXTRA_LIBS $DLIBS $LIBS $PHP_EXTENSION_LIBS" unset LIBS LDFLAGS PHP_CONFIGURE_PART(Configuring TSRM) |
