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> 2000-12-05 Dave Love <fx@gnu.org>
* Makefile.in (TAGS, info): Avoid tab-prefixed comments in rules. * Makefile.in (TAGS, info): Avoid tab-prefixed comments in rules.
...@@ -44,7 +54,7 @@ ...@@ -44,7 +54,7 @@
* configure.in: Fix last change. * configure.in: Fix last change.
* GETTING.GNU.SOFTWARE: Deleted. * GETTING.GNU.SOFTWARE: Deleted.
* FTP: new file to replace it. * FTP: New file to replace it.
* make-dist: Add FTP, remove GETTING.GNU.SOFTWARE. * make-dist: Add FTP, remove GETTING.GNU.SOFTWARE.
2000-11-20 Gerd Moellmann <gerd@gnu.org> 2000-11-20 Gerd Moellmann <gerd@gnu.org>
......
...@@ -2401,7 +2401,8 @@ else ...@@ -2401,7 +2401,8 @@ else
CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
fi 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 if test "${enable_largefile+set}" = set; then
enableval="$enable_largefile" enableval="$enable_largefile"
: :
...@@ -2410,7 +2411,7 @@ fi ...@@ -2410,7 +2411,7 @@ fi
if test "$enable_largefile" != no; then if test "$enable_largefile" != no; then
echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2419,7 +2420,7 @@ else ...@@ -2419,7 +2420,7 @@ else
# IRIX 6.2 and later do not support large files by default, # IRIX 6.2 and later do not support large files by default,
# so use the C compiler's -n32 option if that helps. # so use the C compiler's -n32 option if that helps.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2423 "configure" #line 2424 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
...@@ -2428,7 +2429,7 @@ int main() { ...@@ -2428,7 +2429,7 @@ int main() {
; return 0; } ; return 0; }
EOF 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 else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -2437,7 +2438,7 @@ else ...@@ -2437,7 +2438,7 @@ else
ac_save_CC="$CC" ac_save_CC="$CC"
CC="$CC -n32" CC="$CC -n32"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2441 "configure" #line 2442 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
...@@ -2446,7 +2447,7 @@ int main() { ...@@ -2446,7 +2447,7 @@ int main() {
; return 0; } ; return 0; }
EOF 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* rm -rf conftest*
ac_cv_sys_largefile_CC=' -n32' ac_cv_sys_largefile_CC=' -n32'
else else
...@@ -2466,43 +2467,40 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6 ...@@ -2466,43 +2467,40 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
fi fi
echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_cv_sys_file_offset_bits=no ac_cv_sys_file_offset_bits=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2476 "configure" #line 2477 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() { int main() {
; return 0; } ; return 0; }
EOF 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 else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2494 "configure" #line 2493 "configure"
#include "confdefs.h" #include "confdefs.h"
#define _FILE_OFFSET_BITS 64 #define _FILE_OFFSET_BITS 64
#include <sys/types.h> #include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() { int main() {
; return 0; } ; return 0; }
EOF 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* rm -rf conftest*
ac_cv_sys_file_offset_bits=64 ac_cv_sys_file_offset_bits=64
else else
...@@ -2518,103 +2516,40 @@ echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6 ...@@ -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 if test "$ac_cv_sys_file_offset_bits" != no; then
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits #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 EOF
fi fi
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_cv_sys_large_files=no ac_cv_sys_large_files=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2588 "configure" #line 2530 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() { int main() {
; return 0; } ; return 0; }
EOF 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 else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2606 "configure" #line 2544 "configure"
#include "confdefs.h" #include "confdefs.h"
#define _LARGE_FILES 1 #define _LARGE_FILES 1
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int main() { int main() {
; return 0; } ; return 0; }
EOF 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* rm -rf conftest*
ac_cv_sys_large_files=1 ac_cv_sys_large_files=1
else else
...@@ -2630,62 +2565,6 @@ echo "$ac_t""$ac_cv_sys_large_files" 1>&6 ...@@ -2630,62 +2565,6 @@ echo "$ac_t""$ac_cv_sys_large_files" 1>&6
if test "$ac_cv_sys_large_files" != no; then if test "$ac_cv_sys_large_files" != no; then
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define _LARGE_FILES $ac_cv_sys_large_files #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 EOF
fi fi
...@@ -2697,17 +2576,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h ...@@ -2697,17 +2576,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2706 "configure" #line 2585 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 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}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2735,7 +2614,7 @@ done ...@@ -2735,7 +2614,7 @@ done
# Emulation library used on NetBSD. # Emulation library used on NetBSD.
echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 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_%'` ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2743,7 +2622,7 @@ else ...@@ -2743,7 +2622,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lossaudio $LIBS" LIBS="-lossaudio $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2747 "configure" #line 2626 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -2754,7 +2633,7 @@ int main() { ...@@ -2754,7 +2633,7 @@ int main() {
_oss_ioctl() _oss_ioctl()
; return 0; } ; return 0; }
EOF 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* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -2783,17 +2662,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ ...@@ -2783,17 +2662,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2792 "configure" #line 2671 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 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}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2820,12 +2699,12 @@ fi ...@@ -2820,12 +2699,12 @@ fi
done done
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2829 "configure" #line 2708 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -2833,7 +2712,7 @@ else ...@@ -2833,7 +2712,7 @@ else
#include <float.h> #include <float.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 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}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2850,7 +2729,7 @@ rm -f conftest* ...@@ -2850,7 +2729,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2854 "configure" #line 2733 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
EOF EOF
...@@ -2868,7 +2747,7 @@ fi ...@@ -2868,7 +2747,7 @@ fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2872 "configure" #line 2751 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
EOF EOF
...@@ -2889,7 +2768,7 @@ if test "$cross_compiling" = yes; then ...@@ -2889,7 +2768,7 @@ if test "$cross_compiling" = yes; then
: :
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2893 "configure" #line 2772 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ctype.h> #include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...@@ -2900,7 +2779,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); ...@@ -2900,7 +2779,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); } exit (0); }
EOF 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 then
: :
else else
...@@ -2924,12 +2803,12 @@ EOF ...@@ -2924,12 +2803,12 @@ EOF
fi fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2933 "configure" #line 2812 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -2938,7 +2817,7 @@ int main() { ...@@ -2938,7 +2817,7 @@ int main() {
struct tm *tp; struct tm *tp;
; return 0; } ; return 0; }
EOF 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* rm -rf conftest*
ac_cv_header_time=yes ac_cv_header_time=yes
else else
...@@ -2959,12 +2838,12 @@ EOF ...@@ -2959,12 +2838,12 @@ EOF
fi fi
echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 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 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2968 "configure" #line 2847 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <signal.h> #include <signal.h>
...@@ -2976,7 +2855,7 @@ int main() { ...@@ -2976,7 +2855,7 @@ int main() {
char *msg = *(sys_siglist + 1); char *msg = *(sys_siglist + 1);