diff options
| author | Dave Love | 2000-06-19 10:59:57 +0000 |
|---|---|---|
| committer | Dave Love | 2000-06-19 10:59:57 +0000 |
| commit | a3f08d9e6d9f4644aedb119375fcd00f0fa7ea12 (patch) | |
| tree | 9aea3479a10ae862ed229adf141dcf38b17e0046 | |
| parent | 290c1191d03a6cc4a3e9b91124e639c57a133fc9 (diff) | |
| download | emacs-a3f08d9e6d9f4644aedb119375fcd00f0fa7ea12.tar.gz emacs-a3f08d9e6d9f4644aedb119375fcd00f0fa7ea12.zip | |
*** empty log message ***
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 86 |
2 files changed, 61 insertions, 30 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-06-19 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (GETTIMEOFDAY_ONE_ARGUMENT): Fix in case | ||
| 4 | _XOPEN_SOURCE is defined. | ||
| 5 | |||
| 1 | 2000-06-16 Gerd Moellmann <gerd@gnu.org> | 6 | 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (distclean): Also make distclean in lisp/. | 8 | * Makefile.in (distclean): Also make distclean in lisp/. |
| @@ -2966,7 +2966,7 @@ else | |||
| 2966 | int main() { | 2966 | int main() { |
| 2967 | 2967 | ||
| 2968 | /* Ultrix mips cc rejects this. */ | 2968 | /* Ultrix mips cc rejects this. */ |
| 2969 | typedef int charset[2]; const charset x; | 2969 | typedef int charset[2]; const charset x = {0,0}; |
| 2970 | /* SunOS 4.1.1 cc rejects this. */ | 2970 | /* SunOS 4.1.1 cc rejects this. */ |
| 2971 | char const *const *ccp; | 2971 | char const *const *ccp; |
| 2972 | char **p; | 2972 | char **p; |
| @@ -4950,7 +4950,7 @@ else | |||
| 4950 | #include "confdefs.h" | 4950 | #include "confdefs.h" |
| 4951 | #include <alloca.h> | 4951 | #include <alloca.h> |
| 4952 | int main() { | 4952 | int main() { |
| 4953 | char *p = alloca(2 * sizeof(int)); | 4953 | void *p = alloca(2 * sizeof(int)); |
| 4954 | ; return 0; } | 4954 | ; return 0; } |
| 4955 | EOF | 4955 | EOF |
| 4956 | if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4956 | if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| @@ -5463,7 +5463,7 @@ for ac_func in gettimeofday gethostname getdomainname dup2 \ | |||
| 5463 | rename closedir mkdir rmdir sysinfo \ | 5463 | rename closedir mkdir rmdir sysinfo \ |
| 5464 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 5464 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
| 5465 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5465 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
| 5466 | utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5466 | utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ |
| 5467 | __fpending getloadavg mblen mbrlen strsignal setitimer ualarm | 5467 | __fpending getloadavg mblen mbrlen strsignal setitimer ualarm |
| 5468 | do | 5468 | do |
| 5469 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5469 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| @@ -7157,16 +7157,40 @@ else | |||
| 7157 | #include <time.h> | 7157 | #include <time.h> |
| 7158 | #endif | 7158 | #endif |
| 7159 | #endif | 7159 | #endif |
| 7160 | |||
| 7161 | int main() { | 7160 | int main() { |
| 7161 | struct timeval time; | ||
| 7162 | struct timezone dummy; | ||
| 7163 | gettimeofday (&time, &dummy); | ||
| 7164 | ; return 0; } | ||
| 7165 | EOF | ||
| 7166 | if { (eval echo configure:7167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 7167 | rm -rf conftest* | ||
| 7168 | emacs_cv_gettimeofday_two_arguments=yes | ||
| 7169 | else | ||
| 7170 | echo "configure: failed program was:" >&5 | ||
| 7171 | cat conftest.$ac_ext >&5 | ||
| 7172 | rm -rf conftest* | ||
| 7173 | cat > conftest.$ac_ext <<EOF | ||
| 7174 | #line 7175 "configure" | ||
| 7175 | #include "confdefs.h" | ||
| 7162 | 7176 | ||
| 7163 | struct timeval time; | 7177 | #ifdef TIME_WITH_SYS_TIME |
| 7164 | struct timezone dummy; | 7178 | #include <sys/time.h> |
| 7165 | gettimeofday (&time, &dummy); | 7179 | #include <time.h> |
| 7166 | 7180 | #else | |
| 7181 | #ifdef HAVE_SYS_TIME_H | ||
| 7182 | #include <sys/time.h> | ||
| 7183 | #else | ||
| 7184 | #include <time.h> | ||
| 7185 | #endif | ||
| 7186 | #endif | ||
| 7187 | int main() { | ||
| 7188 | struct timeval time; | ||
| 7189 | int dummy; | ||
| 7190 | gettimeofday (&time, &dummy); | ||
| 7167 | ; return 0; } | 7191 | ; return 0; } |
| 7168 | EOF | 7192 | EOF |
| 7169 | if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7193 | if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7170 | rm -rf conftest* | 7194 | rm -rf conftest* |
| 7171 | emacs_cv_gettimeofday_two_arguments=yes | 7195 | emacs_cv_gettimeofday_two_arguments=yes |
| 7172 | else | 7196 | else |
| @@ -7177,6 +7201,8 @@ else | |||
| 7177 | fi | 7201 | fi |
| 7178 | rm -f conftest* | 7202 | rm -f conftest* |
| 7179 | fi | 7203 | fi |
| 7204 | rm -f conftest* | ||
| 7205 | fi | ||
| 7180 | 7206 | ||
| 7181 | echo "$ac_t""$emacs_cv_gettimeofday_two_arguments" 1>&6 | 7207 | echo "$ac_t""$emacs_cv_gettimeofday_two_arguments" 1>&6 |
| 7182 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 7208 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| @@ -7189,12 +7215,12 @@ fi | |||
| 7189 | 7215 | ||
| 7190 | ok_so_far=yes | 7216 | ok_so_far=yes |
| 7191 | echo $ac_n "checking for socket""... $ac_c" 1>&6 | 7217 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 7192 | echo "configure:7193: checking for socket" >&5 | 7218 | echo "configure:7219: checking for socket" >&5 |
| 7193 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 7219 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
| 7194 | echo $ac_n "(cached) $ac_c" 1>&6 | 7220 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7195 | else | 7221 | else |
| 7196 | cat > conftest.$ac_ext <<EOF | 7222 | cat > conftest.$ac_ext <<EOF |
| 7197 | #line 7198 "configure" | 7223 | #line 7224 "configure" |
| 7198 | #include "confdefs.h" | 7224 | #include "confdefs.h" |
| 7199 | /* System header to define __stub macros and hopefully few prototypes, | 7225 | /* System header to define __stub macros and hopefully few prototypes, |
| 7200 | which can conflict with char socket(); below. */ | 7226 | which can conflict with char socket(); below. */ |
| @@ -7217,7 +7243,7 @@ socket(); | |||
| 7217 | 7243 | ||
| 7218 | ; return 0; } | 7244 | ; return 0; } |
| 7219 | EOF | 7245 | EOF |
| 7220 | if { (eval echo configure:7221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7246 | if { (eval echo configure:7247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7221 | rm -rf conftest* | 7247 | rm -rf conftest* |
| 7222 | eval "ac_cv_func_socket=yes" | 7248 | eval "ac_cv_func_socket=yes" |
| 7223 | else | 7249 | else |
| @@ -7240,17 +7266,17 @@ fi | |||
| 7240 | if test $ok_so_far = yes; then | 7266 | if test $ok_so_far = yes; then |
| 7241 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 7267 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 7242 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 7268 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 7243 | echo "configure:7244: checking for netinet/in.h" >&5 | 7269 | echo "configure:7270: checking for netinet/in.h" >&5 |
| 7244 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7270 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7245 | echo $ac_n "(cached) $ac_c" 1>&6 | 7271 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7246 | else | 7272 | else |
| 7247 | cat > conftest.$ac_ext <<EOF | 7273 | cat > conftest.$ac_ext <<EOF |
| 7248 | #line 7249 "configure" | 7274 | #line 7275 "configure" |
| 7249 | #include "confdefs.h" | 7275 | #include "confdefs.h" |
| 7250 | #include <netinet/in.h> | 7276 | #include <netinet/in.h> |
| 7251 | EOF | 7277 | EOF |
| 7252 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7278 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7253 | { (eval echo configure:7254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7279 | { (eval echo configure:7280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7254 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7280 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7255 | if test -z "$ac_err"; then | 7281 | if test -z "$ac_err"; then |
| 7256 | rm -rf conftest* | 7282 | rm -rf conftest* |
| @@ -7276,17 +7302,17 @@ fi | |||
| 7276 | if test $ok_so_far = yes; then | 7302 | if test $ok_so_far = yes; then |
| 7277 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 7303 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 7278 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 7304 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 7279 | echo "configure:7280: checking for arpa/inet.h" >&5 | 7305 | echo "configure:7306: checking for arpa/inet.h" >&5 |
| 7280 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7306 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7281 | echo $ac_n "(cached) $ac_c" 1>&6 | 7307 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7282 | else | 7308 | else |
| 7283 | cat > conftest.$ac_ext <<EOF | 7309 | cat > conftest.$ac_ext <<EOF |
| 7284 | #line 7285 "configure" | 7310 | #line 7311 "configure" |
| 7285 | #include "confdefs.h" | 7311 | #include "confdefs.h" |
| 7286 | #include <arpa/inet.h> | 7312 | #include <arpa/inet.h> |
| 7287 | EOF | 7313 | EOF |
| 7288 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7314 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7289 | { (eval echo configure:7290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7315 | { (eval echo configure:7316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7290 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7316 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7291 | if test -z "$ac_err"; then | 7317 | if test -z "$ac_err"; then |
| 7292 | rm -rf conftest* | 7318 | rm -rf conftest* |
| @@ -7324,7 +7350,7 @@ EOF | |||
| 7324 | fi | 7350 | fi |
| 7325 | 7351 | ||
| 7326 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 7352 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
| 7327 | echo "configure:7328: checking whether system supports dynamic ptys" >&5 | 7353 | echo "configure:7354: checking whether system supports dynamic ptys" >&5 |
| 7328 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 7354 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 7329 | echo "$ac_t""yes" 1>&6 | 7355 | echo "$ac_t""yes" 1>&6 |
| 7330 | cat >> confdefs.h <<\EOF | 7356 | cat >> confdefs.h <<\EOF |
| @@ -7336,12 +7362,12 @@ else | |||
| 7336 | fi | 7362 | fi |
| 7337 | 7363 | ||
| 7338 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 7364 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 7339 | echo "configure:7340: checking for pid_t" >&5 | 7365 | echo "configure:7366: checking for pid_t" >&5 |
| 7340 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 7366 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
| 7341 | echo $ac_n "(cached) $ac_c" 1>&6 | 7367 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7342 | else | 7368 | else |
| 7343 | cat > conftest.$ac_ext <<EOF | 7369 | cat > conftest.$ac_ext <<EOF |
| 7344 | #line 7345 "configure" | 7370 | #line 7371 "configure" |
| 7345 | #include "confdefs.h" | 7371 | #include "confdefs.h" |
| 7346 | #include <sys/types.h> | 7372 | #include <sys/types.h> |
| 7347 | #if STDC_HEADERS | 7373 | #if STDC_HEADERS |
| @@ -7370,17 +7396,17 @@ fi | |||
| 7370 | 7396 | ||
| 7371 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7397 | ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 7372 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7398 | echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 7373 | echo "configure:7374: checking for vfork.h" >&5 | 7399 | echo "configure:7400: checking for vfork.h" >&5 |
| 7374 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7400 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 7375 | echo $ac_n "(cached) $ac_c" 1>&6 | 7401 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7376 | else | 7402 | else |
| 7377 | cat > conftest.$ac_ext <<EOF | 7403 | cat > conftest.$ac_ext <<EOF |
| 7378 | #line 7379 "configure" | 7404 | #line 7405 "configure" |
| 7379 | #include "confdefs.h" | 7405 | #include "confdefs.h" |
| 7380 | #include <vfork.h> | 7406 | #include <vfork.h> |
| 7381 | EOF | 7407 | EOF |
| 7382 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7408 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7383 | { (eval echo configure:7384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7409 | { (eval echo configure:7410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7384 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7410 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7385 | if test -z "$ac_err"; then | 7411 | if test -z "$ac_err"; then |
| 7386 | rm -rf conftest* | 7412 | rm -rf conftest* |
| @@ -7405,18 +7431,18 @@ else | |||
| 7405 | fi | 7431 | fi |
| 7406 | 7432 | ||
| 7407 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7433 | echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 7408 | echo "configure:7409: checking for working vfork" >&5 | 7434 | echo "configure:7435: checking for working vfork" >&5 |
| 7409 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 7435 | if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
| 7410 | echo $ac_n "(cached) $ac_c" 1>&6 | 7436 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7411 | else | 7437 | else |
| 7412 | if test "$cross_compiling" = yes; then | 7438 | if test "$cross_compiling" = yes; then |
| 7413 | echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 7439 | echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
| 7414 | echo "configure:7415: checking for vfork" >&5 | 7440 | echo "configure:7441: checking for vfork" >&5 |
| 7415 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 7441 | if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
| 7416 | echo $ac_n "(cached) $ac_c" 1>&6 | 7442 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 7417 | else | 7443 | else |
| 7418 | cat > conftest.$ac_ext <<EOF | 7444 | cat > conftest.$ac_ext <<EOF |
| 7419 | #line 7420 "configure" | 7445 | #line 7446 "configure" |
| 7420 | #include "confdefs.h" | 7446 | #include "confdefs.h" |
| 7421 | /* System header to define __stub macros and hopefully few prototypes, | 7447 | /* System header to define __stub macros and hopefully few prototypes, |
| 7422 | which can conflict with char vfork(); below. */ | 7448 | which can conflict with char vfork(); below. */ |
| @@ -7439,7 +7465,7 @@ vfork(); | |||
| 7439 | 7465 | ||
| 7440 | ; return 0; } | 7466 | ; return 0; } |
| 7441 | EOF | 7467 | EOF |
| 7442 | if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7468 | if { (eval echo configure:7469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7443 | rm -rf conftest* | 7469 | rm -rf conftest* |
| 7444 | eval "ac_cv_func_vfork=yes" | 7470 | eval "ac_cv_func_vfork=yes" |
| 7445 | else | 7471 | else |
| @@ -7461,7 +7487,7 @@ fi | |||
| 7461 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 7487 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 7462 | else | 7488 | else |
| 7463 | cat > conftest.$ac_ext <<EOF | 7489 | cat > conftest.$ac_ext <<EOF |
| 7464 | #line 7465 "configure" | 7490 | #line 7491 "configure" |
| 7465 | #include "confdefs.h" | 7491 | #include "confdefs.h" |
| 7466 | /* Thanks to Paul Eggert for this test. */ | 7492 | /* Thanks to Paul Eggert for this test. */ |
| 7467 | #include <stdio.h> | 7493 | #include <stdio.h> |
| @@ -7556,7 +7582,7 @@ main() { | |||
| 7556 | } | 7582 | } |
| 7557 | } | 7583 | } |
| 7558 | EOF | 7584 | EOF |
| 7559 | if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7585 | if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 7560 | then | 7586 | then |
| 7561 | ac_cv_func_vfork_works=yes | 7587 | ac_cv_func_vfork_works=yes |
| 7562 | else | 7588 | else |