From: foobar Date: Tue, 18 Feb 2003 03:22:47 +0000 (+0000) Subject: nice() is part of libc, use AC_CHECK_FUNCS instead X-Git-Tag: RELEASE_0_5~918 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28f4cb18ecffdcc3a7996607305ac927d276e363;p=php nice() is part of libc, use AC_CHECK_FUNCS instead --- 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 \