]> granicus.if.org Git - php/commitdiff
nice() is part of libc, use AC_CHECK_FUNCS instead
authorfoobar <sniper@php.net>
Tue, 18 Feb 2003 03:22:47 +0000 (03:22 +0000)
committerfoobar <sniper@php.net>
Tue, 18 Feb 2003 03:22:47 +0000 (03:22 +0000)
ext/standard/config.m4

index 293218455220c1e19bcb5ddf8de021c53d143161..8b732a071505297b789f7efb0e330aeed3301860 100644 (file)
@@ -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 \