Commit 169fe44e authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

*** empty log message ***

parent b7d95d42
2000-12-11 Paul Eggert <eggert@twinsun.com>
* aclocal.m4 (AC_SYS_LARGEFILE, AC_SYS_LARGEFILE_MACRO_VALUE):
Merge fixes from latest GNU tar version. These macros no longer
futz with _XOPEN_SOURCE, as that was not portable in practice.
(AC_FUNC_FSEEKO): New macro.
* configure.in: Use it instead of invoking AC_CHECK_FUNCS on
ftello.
2000-12-05 Dave Love <fx@gnu.org>
* Makefile.in (TAGS, info): Avoid tab-prefixed comments in rules.
......@@ -44,7 +54,7 @@
* configure.in: Fix last change.
* GETTING.GNU.SOFTWARE: Deleted.
* FTP: new file to replace it.
* FTP: New file to replace it.
* make-dist: Add FTP, remove GETTING.GNU.SOFTWARE.
2000-11-20 Gerd Moellmann <gerd@gnu.org>
......
......@@ -2401,7 +2401,8 @@ else
CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
fi
# Check whether --enable-largefile or --disable-largefile was given.
# Check whether --enable-largefile or --disable-largefile was given.
if test "${enable_largefile+set}" = set; then
enableval="$enable_largefile"
:
......@@ -2410,7 +2411,7 @@ fi
if test "$enable_largefile" != no; then
echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
echo "configure:2414: checking for special C compiler options needed for large files" >&5
echo "configure:2415: checking for special C compiler options needed for large files" >&5
if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
......@@ -2419,7 +2420,7 @@ else
# IRIX 6.2 and later do not support large files by default,
# so use the C compiler's -n32 option if that helps.
cat > conftest.$ac_ext <<EOF
#line 2423 "configure"
#line 2424 "configure"
#include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
......@@ -2428,7 +2429,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
echo "configure: failed program was:" >&5
......@@ -2437,7 +2438,7 @@ else
ac_save_CC="$CC"
CC="$CC -n32"
cat > conftest.$ac_ext <<EOF
#line 2441 "configure"
#line 2442 "configure"
#include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
......@@ -2446,7 +2447,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_sys_largefile_CC=' -n32'
else
......@@ -2466,43 +2467,40 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
fi
echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
echo "configure:2470: checking for _FILE_OFFSET_BITS value needed for large files" >&5
echo "configure:2471: checking for _FILE_OFFSET_BITS value needed for large files" >&5
if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_sys_file_offset_bits=no
cat > conftest.$ac_ext <<EOF
#line 2476 "configure"
#line 2477 "configure"
#include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() {
; return 0; }
EOF
if { (eval echo configure:2487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 2494 "configure"
#line 2493 "configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() {
; return 0; }
EOF
if { (eval echo configure:2506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_sys_file_offset_bits=64
else
......@@ -2518,103 +2516,40 @@ echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
if test "$ac_cv_sys_file_offset_bits" != no; then
cat >> confdefs.h <<EOF
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
EOF
fi
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
echo "configure:2526: checking for _LARGEFILE_SOURCE value needed for large files" >&5
if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_sys_largefile_source=no
cat > conftest.$ac_ext <<EOF
#line 2532 "configure"
#include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
#include <stdio.h>
int main() {
return !ftello;
; return 0; }
EOF
if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 2550 "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE 1
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
#include <stdio.h>
int main() {
return !ftello;
; return 0; }
EOF
if { (eval echo configure:2562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_sys_largefile_source=1
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6
if test "$ac_cv_sys_largefile_source" != no; then
cat >> confdefs.h <<EOF
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
EOF
fi
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
echo "configure:2582: checking for _LARGE_FILES value needed for large files" >&5
echo "configure:2524: checking for _LARGE_FILES value needed for large files" >&5
if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_sys_large_files=no
cat > conftest.$ac_ext <<EOF
#line 2588 "configure"
#line 2530 "configure"
#include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() {
; return 0; }
EOF
if { (eval echo configure:2599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 2606 "configure"
#line 2544 "configure"
#include "confdefs.h"
#define _LARGE_FILES 1
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() {
; return 0; }
EOF
if { (eval echo configure:2618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_sys_large_files=1
else
......@@ -2630,62 +2565,6 @@ echo "$ac_t""$ac_cv_sys_large_files" 1>&6
if test "$ac_cv_sys_large_files" != no; then
cat >> confdefs.h <<EOF
#define _LARGE_FILES $ac_cv_sys_large_files
EOF
fi
echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6
echo "configure:2638: checking for _XOPEN_SOURCE value needed for large files" >&5
if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_sys_xopen_source=no
cat > conftest.$ac_ext <<EOF
#line 2644 "configure"
#include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
#include <stdio.h>
int main() {
return !ftello;
; return 0; }
EOF
if { (eval echo configure:2655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 2662 "configure"
#include "confdefs.h"
#define _XOPEN_SOURCE 500
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
#include <stdio.h>
int main() {
return !ftello;
; return 0; }
EOF
if { (eval echo configure:2674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_sys_xopen_source=500
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_sys_xopen_source" 1>&6
if test "$ac_cv_sys_xopen_source" != no; then
cat >> confdefs.h <<EOF
#define _XOPEN_SOURCE $ac_cv_sys_xopen_source
EOF
fi
......@@ -2697,17 +2576,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2701: checking for $ac_hdr" >&5
echo "configure:2580: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2706 "configure"
#line 2585 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
......@@ -2735,7 +2614,7 @@ done
# Emulation library used on NetBSD.
echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6
echo "configure:2739: checking for _oss_ioctl in -lossaudio" >&5
echo "configure:2618: checking for _oss_ioctl in -lossaudio" >&5
ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......@@ -2743,7 +2622,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lossaudio $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2747 "configure"
#line 2626 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
......@@ -2754,7 +2633,7 @@ int main() {
_oss_ioctl()
; return 0; }
EOF
if { (eval echo configure:2758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
......@@ -2783,17 +2662,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2787: checking for $ac_hdr" >&5
echo "configure:2666: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2792 "configure"
#line 2671 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
......@@ -2820,12 +2699,12 @@ fi
done
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:2824: checking for ANSI C header files" >&5
echo "configure:2703: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2829 "configure"
#line 2708 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
......@@ -2833,7 +2712,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
......@@ -2850,7 +2729,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 2854 "configure"
#line 2733 "configure"
#include "confdefs.h"
#include <string.h>
EOF
......@@ -2868,7 +2747,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 2872 "configure"
#line 2751 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
......@@ -2889,7 +2768,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
#line 2893 "configure"
#line 2772 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
......@@ -2900,7 +2779,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
......@@ -2924,12 +2803,12 @@ EOF
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:2928: checking whether time.h and sys/time.h may both be included" >&5
echo "configure:2807: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2933 "configure"
#line 2812 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
......@@ -2938,7 +2817,7 @@ int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:2942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
......@@ -2959,12 +2838,12 @@ EOF
fi
echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
echo "configure:2963: checking for sys_siglist declaration in signal.h or unistd.h" >&5
echo "configure:2842: checking for sys_siglist declaration in signal.h or unistd.h" >&5
if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2968 "configure"
#line 2847 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
......@@ -2976,7 +2855,7 @@ int main() {
char *msg = *(sys_siglist + 1);
; return 0; }
EOF
if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_decl_sys_siglist=yes
else
......@@ -2997,12 +2876,12 @@ EOF
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
echo "configure:3001: checking for sys/wait.h that is POSIX.1 compatible" >&5
echo "configure:2880: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3006 "configure"
#line 2885 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
......@@ -3018,7 +2897,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
......@@ -3040,12 +2919,12 @@ fi
echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
echo "configure:3044: checking for struct utimbuf" >&5
echo "configure:2923: checking for struct utimbuf" >&5
if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3049 "configure"
#line 2928 "configure"
#include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
......@@ -3064,7 +2943,7 @@ int main() {
static struct utimbuf x; x.actime = x.modtime;
; return 0; }
EOF
if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
emacs_cv_struct_utimbuf=yes
else
......@@ -3085,12 +2964,12 @@ EOF
fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:3089: checking return type of signal handlers" >&5
echo "configure:2968: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3094 "configure"
#line 2973 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
......@@ -3107,7 +2986,7 @@ int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
......@@ -3127,19 +3006,19 @@ EOF
echo $ac_n "checking for speed_t""... $ac_c" 1>&6
echo "configure:3131: checking for speed_t" >&5
echo "configure:3010: checking for speed_t" >&5
if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3136 "configure"
#line 3015 "configure"
#include "confdefs.h"
#include <termios.h>
int main() {
speed_t x = 1;
; return 0; }
EOF
if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
emacs_cv_speed_t=yes
else
......@@ -3158,12 +3037,12 @@ EOF
fi
echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
echo "configure:3162: checking for struct timeval" >&5
echo "configure:3041: checking for struct timeval" >&5
if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3167 "configure"
#line 3046 "configure"
#include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
......@@ -3179,7 +3058,7 @@ int main() {
static struct timeval x; x.tv_sec = x.tv_usec;
; return 0; }
EOF
if { (eval echo configure:3183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
emacs_cv_struct_timeval=yes
else
......@@ -3201,19 +3080,19 @@ EOF
fi
echo $ac_n "checking for struct exception""... $ac_c" 1>&6
echo "configure:3205: checking for struct exception" >&5
echo "configure:3084: checking for struct exception" >&5
if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3210 "configure"
#line 3089 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
; return 0; }
EOF
if { (eval echo configure:3217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
emacs_cv_struct_exception=yes
else
......@@ -3235,12 +3114,12 @@ EOF
fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
echo "configure:3239: checking whether struct tm is in sys/time.h or time.h" >&5
echo "configure:3118: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3244 "configure"
#line 3123 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
......@@ -3248,7 +3127,7 @@ int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
if { (eval echo configure:3252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm=time.h
else
......@@ -3269,12 +3148,12 @@ EOF
fi
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
echo "configure:3273: checking for tm_zone in struct tm" >&5
echo "configure:3152: checking for tm_zone in struct tm" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3278 "configure"
#line 3157 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_cv_struct_tm>
......@@ -3282,7 +3161,7 @@ int main() {
struct tm tm; tm.tm_zone;
; return 0; }
EOF
if { (eval echo configure:3286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm_zone=yes
else
......@@ -3302,12 +3181,12 @@ EOF
else
echo $ac_n "checking for tzname""... $ac_c" 1>&6
echo "configure:3306: checking for tzname" >&5
echo "configure:3185: checking for tzname" >&5
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3311 "configure"
#line 3190 "configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
......@@ -3317,7 +3196,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_var_tzname=yes
else
......@@ -3339,19 +3218,19 @@ EOF
fi
echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
echo "configure:3343: checking for tm_gmtoff in struct tm" >&5
echo "configure:3222: checking for tm_gmtoff in struct tm" >&5
if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3348 "configure"
#line 3227 "configure"
#include "confdefs.h"