summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-02-18 03:22:47 +0000
committerfoobar <sniper@php.net>2003-02-18 03:22:47 +0000
commit28f4cb18ecffdcc3a7996607305ac927d276e363 (patch)
tree3d81b05c6e4c23d10aed21eed8b7bd05da4b4522
parent5b858c9e94bb4d38a5383c02fdf724f9f7a53700 (diff)
downloadphp-git-28f4cb18ecffdcc3a7996607305ac927d276e363.tar.gz
nice() is part of libc, use AC_CHECK_FUNCS instead
-rw-r--r--ext/standard/config.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 2932184552..8b732a0715 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -259,7 +259,7 @@ dnl using the standard AC_CHECK macros
dnl AC_CHECK_HEADERS(getopt.h)
dnl AC_CHECK_FUNCS(getopt_long getopt_long_only)
-AC_CHECK_FUNCS(glob strfmon)
+AC_CHECK_FUNCS(glob strfmon nice)
if test "$PHP_SAPI" = "cgi" -o "$PHP_SAPI" = "cli" -o "$PHP_SAPI" = "embed"; then
AC_DEFINE(ENABLE_CHROOT_FUNC, 1, [Whether to enable chroot() function])
@@ -274,11 +274,6 @@ PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
PHP_CHECK_FUNC(dn_expand, resolv, bind, socket)
dnl already done PHP_CHECK_FUNC(dn_skipname, resolv, bind, socket)
-dnl
-dnl Check for the availability of the nice function
-dnl
-PHP_CHECK_FUNC(nice)
-
PHP_NEW_EXTENSION(standard, array.c base64.c basic_functions.c browscap.c crc32.c crypt.c \
cyr_convert.c datetime.c dir.c dl.c dns.c exec.c file.c filestat.c \
flock_compat.c formatted_print.c fsock.c head.c html.c image.c \