11#! /bin/sh
22
3- # From configure.in Revision: 1.225
3+ # From configure.in Revision: 1.226
44
55# Guess values for system-dependent variables and create Makefiles.
66# Generated automatically using autoconf version 2.13
@@ -2074,7 +2074,7 @@ signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
20742074sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
20752075sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
20762076sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
2077- ndbm.h db1/ndbm.h gdbm/ndbm.h
2077+ ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h
20782078do
20792079ac_safe=` echo " $ac_hdr " | sed ' y%./+-%__p_%' `
20802080echo $ac_n " checking for $ac_hdr " " ... $ac_c " 1>&6
@@ -6876,6 +6876,51 @@ else
68766876fi
68776877
68786878
6879+ echo $ac_n " checking for broken nice()" " ... $ac_c " 1>&6
6880+ echo " configure:6881: checking for broken nice()" >&5
6881+ if eval " test \" ` echo ' $' ' {' ac_cv_broken_nice' +set}' ` \" = set" ; then
6882+ echo $ac_n " (cached) $ac_c " 1>&6
6883+ else
6884+
6885+ if test " $cross_compiling " = yes; then
6886+ { echo " configure: error: can not run test program while cross compiling" 1>&2 ; exit 1; }
6887+ else
6888+ cat > conftest.$ac_ext << EOF
6889+ #line 6890 "configure"
6890+ #include "confdefs.h"
6891+
6892+ int main()
6893+ {
6894+ int val1 = nice(1);
6895+ if (val1 != -1 && val1 == nice(2))
6896+ exit(0);
6897+ exit(1);
6898+ }
6899+
6900+ EOF
6901+ if { (eval echo configure:6902: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest${ac_exeext} && (./conftest; exit) 2> /dev/null
6902+ then
6903+ ac_cv_broken_nice=yes
6904+ else
6905+ echo " configure: failed program was:" >&5
6906+ cat conftest.$ac_ext >&5
6907+ rm -fr conftest*
6908+ ac_cv_broken_nice=no
6909+ fi
6910+ rm -fr conftest*
6911+ fi
6912+
6913+ fi
6914+
6915+ echo " $ac_t " " $ac_cv_broken_nice " 1>&6
6916+ if test " $ac_cv_broken_nice " = yes
6917+ then
6918+ cat >> confdefs.h << \EOF
6919+ #define HAVE_BROKEN_NICE 1
6920+ EOF
6921+
6922+ fi
6923+
68796924# THIS MUST BE LAST, IT CAN BREAK OTHER TESTS!
68806925# Add sys/socket.h to confdefs.h
68816926cat >> confdefs.h << \EOF
@@ -6884,12 +6929,12 @@ cat >> confdefs.h <<\EOF
68846929#endif
68856930EOF
68866931echo $ac_n " checking for socklen_t" " ... $ac_c " 1>&6
6887- echo " configure:6888 : checking for socklen_t" >&5
6932+ echo " configure:6933 : checking for socklen_t" >&5
68886933if eval " test \" ` echo ' $' ' {' ac_cv_type_socklen_t' +set}' ` \" = set" ; then
68896934 echo $ac_n " (cached) $ac_c " 1>&6
68906935else
68916936 cat > conftest.$ac_ext << EOF
6892- #line 6893 "configure"
6937+ #line 6938 "configure"
68936938#include "confdefs.h"
68946939#include <sys/types.h>
68956940#if STDC_HEADERS
@@ -6938,7 +6983,7 @@ done
69386983
69396984SRCDIRS=" Parser Grammar Objects Python Modules"
69406985echo $ac_n " checking for build directories" " ... $ac_c " 1>&6
6941- echo " configure:6942 : checking for build directories" >&5
6986+ echo " configure:6987 : checking for build directories" >&5
69426987for dir in $SRCDIRS ; do
69436988 if test ! -d $dir ; then
69446989 mkdir $dir
0 commit comments