aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-06-19 10:59:57 +0000
committerDave Love2000-06-19 10:59:57 +0000
commita3f08d9e6d9f4644aedb119375fcd00f0fa7ea12 (patch)
tree9aea3479a10ae862ed229adf141dcf38b17e0046
parent290c1191d03a6cc4a3e9b91124e639c57a133fc9 (diff)
downloademacs-a3f08d9e6d9f4644aedb119375fcd00f0fa7ea12.tar.gz
emacs-a3f08d9e6d9f4644aedb119375fcd00f0fa7ea12.zip
*** empty log message ***
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure86
2 files changed, 61 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e926010e7c..673abe6d88a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12000-06-19 Dave Love <fx@gnu.org>
2
3 * configure.in (GETTIMEOFDAY_ONE_ARGUMENT): Fix in case
4 _XOPEN_SOURCE is defined.
5
12000-06-16 Gerd Moellmann <gerd@gnu.org> 62000-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/.
diff --git a/configure b/configure
index 4ae81b12a89..96137f4ca4c 100755
--- a/configure
+++ b/configure
@@ -2966,7 +2966,7 @@ else
2966int main() { 2966int main() {
2967 2967
2968/* Ultrix mips cc rejects this. */ 2968/* Ultrix mips cc rejects this. */
2969typedef int charset[2]; const charset x; 2969typedef int charset[2]; const charset x = {0,0};
2970/* SunOS 4.1.1 cc rejects this. */ 2970/* SunOS 4.1.1 cc rejects this. */
2971char const *const *ccp; 2971char const *const *ccp;
2972char **p; 2972char **p;
@@ -4950,7 +4950,7 @@ else
4950#include "confdefs.h" 4950#include "confdefs.h"
4951#include <alloca.h> 4951#include <alloca.h>
4952int main() { 4952int main() {
4953char *p = alloca(2 * sizeof(int)); 4953void *p = alloca(2 * sizeof(int));
4954; return 0; } 4954; return 0; }
4955EOF 4955EOF
4956if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4956if { (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 \
5463rename closedir mkdir rmdir sysinfo \ 5463rename closedir mkdir rmdir sysinfo \
5464random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 5464random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
5465strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 5465strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
5466utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ 5466utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
5467__fpending getloadavg mblen mbrlen strsignal setitimer ualarm 5467__fpending getloadavg mblen mbrlen strsignal setitimer ualarm
5468do 5468do
5469echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5469echo $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
7161int main() { 7160int main() {
7161struct timeval time;
7162 struct timezone dummy;
7163 gettimeofday (&time, &dummy);
7164; return 0; }
7165EOF
7166if { (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
7169else
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
7187int main() {
7188struct timeval time;
7189 int dummy;
7190 gettimeofday (&time, &dummy);
7167; return 0; } 7191; return 0; }
7168EOF 7192EOF
7169if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7193if { (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
7172else 7196else
@@ -7177,6 +7201,8 @@ else
7177fi 7201fi
7178rm -f conftest* 7202rm -f conftest*
7179fi 7203fi
7204rm -f conftest*
7205fi
7180 7206
7181echo "$ac_t""$emacs_cv_gettimeofday_two_arguments" 1>&6 7207echo "$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
7190ok_so_far=yes 7216ok_so_far=yes
7191echo $ac_n "checking for socket""... $ac_c" 1>&6 7217echo $ac_n "checking for socket""... $ac_c" 1>&6
7192echo "configure:7193: checking for socket" >&5 7218echo "configure:7219: checking for socket" >&5
7193if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 7219if 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
7195else 7221else
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; }
7219EOF 7245EOF
7220if { (eval echo configure:7221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7246if { (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"
7223else 7249else
@@ -7240,17 +7266,17 @@ fi
7240if test $ok_so_far = yes; then 7266if 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_%'`
7242echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 7268echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
7243echo "configure:7244: checking for netinet/in.h" >&5 7269echo "configure:7270: checking for netinet/in.h" >&5
7244if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7270if 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
7246else 7272else
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>
7251EOF 7277EOF
7252ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7278ac_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; }
7254ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7280ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7255if test -z "$ac_err"; then 7281if test -z "$ac_err"; then
7256 rm -rf conftest* 7282 rm -rf conftest*
@@ -7276,17 +7302,17 @@ fi
7276if test $ok_so_far = yes; then 7302if 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_%'`
7278echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 7304echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
7279echo "configure:7280: checking for arpa/inet.h" >&5 7305echo "configure:7306: checking for arpa/inet.h" >&5
7280if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7306if 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
7282else 7308else
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>
7287EOF 7313EOF
7288ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7314ac_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; }
7290ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7316ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7291if test -z "$ac_err"; then 7317if test -z "$ac_err"; then
7292 rm -rf conftest* 7318 rm -rf conftest*
@@ -7324,7 +7350,7 @@ EOF
7324fi 7350fi
7325 7351
7326echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 7352echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
7327echo "configure:7328: checking whether system supports dynamic ptys" >&5 7353echo "configure:7354: checking whether system supports dynamic ptys" >&5
7328if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 7354if 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
7336fi 7362fi
7337 7363
7338echo $ac_n "checking for pid_t""... $ac_c" 1>&6 7364echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7339echo "configure:7340: checking for pid_t" >&5 7365echo "configure:7366: checking for pid_t" >&5
7340if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 7366if 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
7342else 7368else
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
7371ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 7397ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
7372echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 7398echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
7373echo "configure:7374: checking for vfork.h" >&5 7399echo "configure:7400: checking for vfork.h" >&5
7374if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7400if 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
7376else 7402else
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>
7381EOF 7407EOF
7382ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7408ac_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; }
7384ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7410ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7385if test -z "$ac_err"; then 7411if test -z "$ac_err"; then
7386 rm -rf conftest* 7412 rm -rf conftest*
@@ -7405,18 +7431,18 @@ else
7405fi 7431fi
7406 7432
7407echo $ac_n "checking for working vfork""... $ac_c" 1>&6 7433echo $ac_n "checking for working vfork""... $ac_c" 1>&6
7408echo "configure:7409: checking for working vfork" >&5 7434echo "configure:7435: checking for working vfork" >&5
7409if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 7435if 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
7411else 7437else
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
7414echo "configure:7415: checking for vfork" >&5 7440echo "configure:7441: checking for vfork" >&5
7415if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 7441if 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
7417else 7443else
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; }
7441EOF 7467EOF
7442if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7468if { (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"
7445else 7471else
@@ -7461,7 +7487,7 @@ fi
7461ac_cv_func_vfork_works=$ac_cv_func_vfork 7487ac_cv_func_vfork_works=$ac_cv_func_vfork
7462else 7488else
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}
7558EOF 7584EOF
7559if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7585if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7560then 7586then
7561 ac_cv_func_vfork_works=yes 7587 ac_cv_func_vfork_works=yes
7562else 7588else