librt is not needed, but we have nanosleep, fix check.

This commit is contained in:
Alex Dupre 2011-03-04 08:11:21 +00:00
parent 25b1249693
commit a298707282
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270258
2 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
--- configure.in.orig 2011-03-03 10:19:52.000000000 +0100
+++ configure.in 2011-03-03 10:20:37.000000000 +0100
--- configure.in.orig 2011-03-04 10:10:54.000000000 +0100
+++ configure.in 2011-03-04 10:11:01.000000000 +0100
@@ -302,7 +302,6 @@
dnl .
dnl -------------------------------------------------------------------------
@ -16,16 +16,16 @@
fi
divert(3)
@@ -611,8 +609,6 @@
asprintf \
@@ -612,7 +610,7 @@
)
-dnl Some systems (like OpenSolaris) do not have nanosleep in libc
dnl Some systems (like OpenSolaris) do not have nanosleep in libc
-PHP_CHECK_FUNC_LIB(nanosleep, rt)
+PHP_CHECK_FUNC(nanosleep, rt)
dnl Check for getaddrinfo, should be a better way, but...
dnl Also check for working getaddrinfo
@@ -1162,7 +1158,7 @@
@@ -1162,7 +1160,7 @@
EXPANDED_DATADIR=$datadir
EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
@ -34,7 +34,7 @@
exec_prefix=$old_exec_prefix
libdir=$old_libdir
@@ -1373,22 +1369,19 @@
@@ -1373,22 +1371,19 @@
pharcmd_install=
fi;

View file

@ -1,5 +1,5 @@
--- configure.in.orig 2011-03-03 10:19:52.000000000 +0100
+++ configure.in 2011-03-03 10:20:37.000000000 +0100
--- configure.in.orig 2011-03-04 10:10:54.000000000 +0100
+++ configure.in 2011-03-04 10:11:01.000000000 +0100
@@ -302,7 +302,6 @@
dnl .
dnl -------------------------------------------------------------------------
@ -16,16 +16,16 @@
fi
divert(3)
@@ -611,8 +609,6 @@
asprintf \
@@ -612,7 +610,7 @@
)
-dnl Some systems (like OpenSolaris) do not have nanosleep in libc
dnl Some systems (like OpenSolaris) do not have nanosleep in libc
-PHP_CHECK_FUNC_LIB(nanosleep, rt)
+PHP_CHECK_FUNC(nanosleep, rt)
dnl Check for getaddrinfo, should be a better way, but...
dnl Also check for working getaddrinfo
@@ -1162,7 +1158,7 @@
@@ -1162,7 +1160,7 @@
EXPANDED_DATADIR=$datadir
EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
@ -34,7 +34,7 @@
exec_prefix=$old_exec_prefix
libdir=$old_libdir
@@ -1373,22 +1369,19 @@
@@ -1373,22 +1371,19 @@
pharcmd_install=
fi;