aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-06-16 06:18:50 -0400
committerGlenn Morris2011-06-16 06:18:50 -0400
commit52724a05ab0a88698f3105ab57629eea1431f0c5 (patch)
treefb9edb09b8209f0abebe10d652b6420f82702618
parent9c2755e9b449297d3eba5d2004dca16af6a13bab (diff)
downloademacs-52724a05ab0a88698f3105ab57629eea1431f0c5.tar.gz
emacs-52724a05ab0a88698f3105ab57629eea1431f0c5.zip
Auto-commit of generated files.
-rw-r--r--autogen/Makefile.in36
-rwxr-xr-xautogen/configure440
2 files changed, 217 insertions, 259 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index 225fe879f19..1d80f95190e 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -81,11 +81,12 @@ AR = ar
81ARFLAGS = cru 81ARFLAGS = cru
82libgnu_a_AR = $(AR) $(ARFLAGS) 82libgnu_a_AR = $(AR) $(ARFLAGS)
83am__DEPENDENCIES_1 = 83am__DEPENDENCIES_1 =
84am__libgnu_a_SOURCES_DIST = allocator.c careadlinkat.c dtoastr.c \ 84am__libgnu_a_SOURCES_DIST = allocator.c careadlinkat.c md5.c sha1.c \
85 gettext.h 85 dtoastr.c filemode.c gettext.h strftime.c
86am__objects_1 = 86am__objects_1 =
87am_libgnu_a_OBJECTS = allocator.$(OBJEXT) careadlinkat.$(OBJEXT) \ 87am_libgnu_a_OBJECTS = allocator.$(OBJEXT) careadlinkat.$(OBJEXT) \
88 dtoastr.$(OBJEXT) $(am__objects_1) 88 md5.$(OBJEXT) sha1.$(OBJEXT) dtoastr.$(OBJEXT) \
89 filemode.$(OBJEXT) $(am__objects_1) strftime.$(OBJEXT)
89libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS) 90libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS)
90depcomp = $(SHELL) $(top_srcdir)/depcomp 91depcomp = $(SHELL) $(top_srcdir)/depcomp
91am__depfiles_maybe = depfiles 92am__depfiles_maybe = depfiles
@@ -733,15 +734,15 @@ BUILT_SOURCES = arg-nonnull.h c++defs.h $(GETOPT_H) inttypes.h \
733 $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h \ 734 $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h \
734 stdlib.h sys/stat.h time.h unistd.h warn-on-use.h 735 stdlib.h sys/stat.h time.h unistd.h warn-on-use.h
735EXTRA_DIST = allocator.h $(top_srcdir)/./arg-nonnull.h \ 736EXTRA_DIST = allocator.h $(top_srcdir)/./arg-nonnull.h \
736 $(top_srcdir)/./c++defs.h careadlinkat.h md5.c md5.h sha1.c \ 737 $(top_srcdir)/./c++defs.h careadlinkat.h md5.h sha1.h \
737 sha1.h dosname.h ftoastr.c ftoastr.h filemode.c filemode.h \ 738 dosname.h ftoastr.c ftoastr.h filemode.h getloadavg.c getopt.c \
738 getloadavg.c getopt.c getopt.in.h getopt1.c getopt_int.h \ 739 getopt.in.h getopt1.c getopt_int.h ignore-value.h intprops.h \
739 ignore-value.h intprops.h inttypes.in.h lstat.c \ 740 inttypes.in.h lstat.c mktime-internal.h mktime.c readlink.c \
740 mktime-internal.h mktime.c readlink.c stat.c stdarg.in.h \ 741 stat.c stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h \
741 stdbool.in.h stddef.in.h stdint.in.h stdio.in.h stdlib.in.h \ 742 stdio.in.h stdlib.in.h strftime.h strtol.c strtoul.c \
742 strftime.c strftime.h strtol.c strtoul.c strtoull.c \ 743 strtoull.c strtoimax.c strtoumax.c symlink.c sys_stat.in.h \
743 strtoimax.c strtoumax.c symlink.c sys_stat.in.h time.in.h \ 744 time.in.h time_r.c unistd.in.h verify.h \
744 time_r.c unistd.in.h verify.h $(top_srcdir)/./warn-on-use.h 745 $(top_srcdir)/./warn-on-use.h
745MOSTLYCLEANDIRS = sys 746MOSTLYCLEANDIRS = sys
746MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ 747MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
747 c++defs.h c++defs.h-t getopt.h getopt.h-t inttypes.h \ 748 c++defs.h c++defs.h-t getopt.h getopt.h-t inttypes.h \
@@ -751,14 +752,13 @@ MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
751 unistd.h unistd.h-t warn-on-use.h warn-on-use.h-t 752 unistd.h unistd.h-t warn-on-use.h warn-on-use.h-t
752noinst_LIBRARIES = libgnu.a 753noinst_LIBRARIES = libgnu.a
753DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src 754DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src
754libgnu_a_SOURCES = allocator.c careadlinkat.c dtoastr.c \ 755libgnu_a_SOURCES = allocator.c careadlinkat.c md5.c sha1.c dtoastr.c \
755 $(am__append_1) 756 filemode.c $(am__append_1) strftime.c
756libgnu_a_LIBADD = $(gl_LIBOBJS) 757libgnu_a_LIBADD = $(gl_LIBOBJS)
757libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) 758libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
758EXTRA_libgnu_a_SOURCES = md5.c sha1.c ftoastr.c filemode.c \ 759EXTRA_libgnu_a_SOURCES = ftoastr.c getloadavg.c getopt.c getopt1.c \
759 getloadavg.c getopt.c getopt1.c lstat.c mktime.c readlink.c \ 760 lstat.c mktime.c readlink.c stat.c strtol.c strtoul.c \
760 stat.c strftime.c strtol.c strtoul.c strtoull.c strtoimax.c \ 761 strtoull.c strtoimax.c strtoumax.c symlink.c time_r.c
761 strtoumax.c symlink.c time_r.c
762ARG_NONNULL_H = arg-nonnull.h 762ARG_NONNULL_H = arg-nonnull.h
763CXXDEFS_H = c++defs.h 763CXXDEFS_H = c++defs.h
764WARN_ON_USE_H = warn-on-use.h 764WARN_ON_USE_H = warn-on-use.h
diff --git a/autogen/configure b/autogen/configure
index e4a96f2b2d7..f419c9117ed 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -14975,60 +14975,41 @@ $as_echo "$gl_cv_func_getopt_gnu" >&6; }
14975 fi 14975 fi
14976 fi 14976 fi
14977 14977
14978ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
14979if test "x$ac_cv_have_decl_getenv" = x""yes; then :
14980 ac_have_decl=1
14981else
14982 ac_have_decl=0
14983fi
14984
14985cat >>confdefs.h <<_ACEOF
14986#define HAVE_DECL_GETENV $ac_have_decl
14987_ACEOF
14988 14978
14989 14979
14990 14980
14991 14981
14982 REPLACE_GETOPT=0
14992 14983
14993 14984
14994 if test -n "$gl_replace_getopt"; then : 14985 if test -n "$gl_replace_getopt"; then :
14995 14986
14987 REPLACE_GETOPT=1
14996 14988
14997 14989fi
14998 GETOPT_H=getopt.h
14999
15000$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
15001
15002
15003
15004 GNULIB_UNISTD_H_GETOPT=1
15005
15006
15007
15008
15009
15010
15011
15012
15013 gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
15014
15015
15016
15017
15018
15019
15020
15021 14990
15022 14991
15023 gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" 14992 if test $REPLACE_GETOPT = 1; then
15024 14993
14994 GETOPT_H=getopt.h
15025 14995
14996$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
15026 14997
15027 14998
15028 14999
15000 GNULIB_UNISTD_H_GETOPT=1
15001 fi
15029 15002
15003ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
15004if test "x$ac_cv_have_decl_getenv" = x""yes; then :
15005 ac_have_decl=1
15006else
15007 ac_have_decl=0
15030fi 15008fi
15031 15009
15010cat >>confdefs.h <<_ACEOF
15011#define HAVE_DECL_GETENV $ac_have_decl
15012_ACEOF
15032 15013
15033 15014
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
@@ -16034,21 +16015,16 @@ $as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h
16034 16015
16035 16016
16036 16017
16037 16018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
16039$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 16019$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
16040if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : 16020if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
16041 $as_echo_n "(cached) " >&6 16021 $as_echo_n "(cached) " >&6
16042else 16022else
16043 rm -f conftest.sym conftest.file 16023 rm -f conftest.sym conftest.file
16044 echo >conftest.file 16024echo >conftest.file
16045 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 16025if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
16046 if test "$cross_compiling" = yes; then : 16026 if test "$cross_compiling" = yes; then :
16047 # When cross-compiling, be pessimistic so we will end up using the 16027 ac_cv_func_lstat_dereferences_slashed_symlink=no
16048 # replacement version of lstat that checks for trailing slashes and
16049 # calls lstat a second time when necessary.
16050 ac_cv_func_lstat_dereferences_slashed_symlink=no
16051
16052else 16028else
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054/* end confdefs.h. */ 16030/* end confdefs.h. */
@@ -16057,11 +16033,10 @@ int
16057main () 16033main ()
16058{ 16034{
16059struct stat sbuf; 16035struct stat sbuf;
16060 /* Linux will dereference the symlink and fail, as required by 16036 /* Linux will dereference the symlink and fail, as required by POSIX.
16061 POSIX. That is better in the sense that it means we will not 16037 That is better in the sense that it means we will not
16062 have to compile and use the lstat wrapper. */ 16038 have to compile and use the lstat wrapper. */
16063 return lstat ("conftest.sym/", &sbuf) == 0; 16039 return lstat ("conftest.sym/", &sbuf) == 0;
16064
16065 ; 16040 ;
16066 return 0; 16041 return 0;
16067} 16042}
@@ -16075,23 +16050,25 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16075 conftest.$ac_objext conftest.beam conftest.$ac_ext 16050 conftest.$ac_objext conftest.beam conftest.$ac_ext
16076fi 16051fi
16077 16052
16078 else 16053else
16079 # If the 'ln -s' command failed, then we probably don't even 16054 # If the `ln -s' command failed, then we probably don't even
16080 # have an lstat function. 16055 # have an lstat function.
16081 ac_cv_func_lstat_dereferences_slashed_symlink=no 16056 ac_cv_func_lstat_dereferences_slashed_symlink=no
16082 fi 16057fi
16083 rm -f conftest.sym conftest.file 16058rm -f conftest.sym conftest.file
16084 16059
16085fi 16060fi
16086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 16061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
16087$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 16062$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
16088 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 16063
16064test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
16089 16065
16090cat >>confdefs.h <<_ACEOF 16066cat >>confdefs.h <<_ACEOF
16091#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 16067#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
16092_ACEOF 16068_ACEOF
16093 16069
16094 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then 16070
16071if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
16095 16072
16096 16073
16097 16074
@@ -16102,7 +16079,7 @@ _ACEOF
16102 16079
16103 gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext" 16080 gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
16104 16081
16105 fi 16082fi
16106 16083
16107 16084
16108 GNULIB_MKTIME=0; 16085 GNULIB_MKTIME=0;
@@ -16678,33 +16655,11 @@ fi
16678 16655
16679 16656
16680 16657
16681
16682
16683
16684
16685
16686
16687 gl_LIBOBJS="$gl_LIBOBJS md5.$ac_objext"
16688
16689
16690
16691
16692 : 16658 :
16693 16659
16694 16660
16695 16661
16696 16662
16697
16698
16699
16700
16701
16702
16703 gl_LIBOBJS="$gl_LIBOBJS sha1.$ac_objext"
16704
16705
16706
16707
16708 : 16663 :
16709 16664
16710 16665
@@ -16714,16 +16669,6 @@ fi
16714 16669
16715 16670
16716 16671
16717
16718
16719
16720
16721 gl_LIBOBJS="$gl_LIBOBJS filemode.$ac_objext"
16722
16723
16724
16725
16726
16727# Persuade glibc <stdlib.h> to declare getloadavg(). 16672# Persuade glibc <stdlib.h> to declare getloadavg().
16728 16673
16729 16674
@@ -16731,6 +16676,7 @@ gl_save_LIBS=$LIBS
16731 16676
16732# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0, 16677# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0,
16733# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7. 16678# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
16679HAVE_GETLOADAVG=1
16734ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 16680ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
16735if test "x$ac_cv_func_getloadavg" = x""yes; then : 16681if test "x$ac_cv_func_getloadavg" = x""yes; then :
16736 16682
@@ -16917,6 +16863,51 @@ fi
16917 16863
16918 # Set up the replacement function if necessary. 16864 # Set up the replacement function if necessary.
16919 if test $gl_have_func = no; then 16865 if test $gl_have_func = no; then
16866 HAVE_GETLOADAVG=0
16867 fi
16868fi
16869
16870
16871if test "x$gl_save_LIBS" = x; then
16872 GETLOADAVG_LIBS=$LIBS
16873else
16874 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
16875fi
16876LIBS=$gl_save_LIBS
16877
16878
16879# Test whether the system declares getloadavg. Solaris has the function
16880# but declares it in <sys/loadavg.h>, not <stdlib.h>.
16881for ac_header in sys/loadavg.h
16882do :
16883 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
16884if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then :
16885 cat >>confdefs.h <<_ACEOF
16886#define HAVE_SYS_LOADAVG_H 1
16887_ACEOF
16888
16889fi
16890
16891done
16892
16893if test $ac_cv_header_sys_loadavg_h = yes; then
16894 HAVE_SYS_LOADAVG_H=1
16895else
16896 HAVE_SYS_LOADAVG_H=0
16897fi
16898ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
16899 # include <sys/loadavg.h>
16900 #endif
16901 #include <stdlib.h>
16902"
16903if test "x$ac_cv_have_decl_getloadavg" = x""yes; then :
16904
16905else
16906 HAVE_DECL_GETLOADAVG=0
16907fi
16908
16909
16910if test $HAVE_GETLOADAVG = 0; then
16920 16911
16921 16912
16922 16913
@@ -17197,47 +17188,16 @@ fi
17197 17188
17198done 17189done
17199 17190
17200 fi
17201fi 17191fi
17202 17192
17203 17193
17204if test "x$gl_save_LIBS" = x; then
17205 GETLOADAVG_LIBS=$LIBS
17206else
17207 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
17208fi
17209LIBS=$gl_save_LIBS
17210 17194
17211 17195
17212# Test whether the system declares getloadavg. Solaris has the function
17213# but declares it in <sys/loadavg.h>, not <stdlib.h>.
17214for ac_header in sys/loadavg.h
17215do :
17216 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
17217if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then :
17218 cat >>confdefs.h <<_ACEOF
17219#define HAVE_SYS_LOADAVG_H 1
17220_ACEOF
17221 17196
17222fi 17197 GNULIB_GETLOADAVG=1
17223 17198
17224done
17225 17199
17226if test $ac_cv_header_sys_loadavg_h = yes; then
17227 HAVE_SYS_LOADAVG_H=1
17228else
17229 HAVE_SYS_LOADAVG_H=0
17230fi
17231ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
17232 # include <sys/loadavg.h>
17233 #endif
17234 #include <stdlib.h>
17235"
17236if test "x$ac_cv_have_decl_getloadavg" = x""yes; then :
17237 17200
17238else
17239 HAVE_DECL_GETLOADAVG=0
17240fi
17241 17201
17242 17202
17243 17203
@@ -17245,7 +17205,7 @@ fi
17245 17205
17246 17206
17247 17207
17248 GNULIB_GETLOADAVG=1 17208if test $REPLACE_GETOPT = 1; then
17249 17209
17250 17210
17251 17211
@@ -17254,6 +17214,7 @@ fi
17254 17214
17255 17215
17256 17216
17217 gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
17257 17218
17258 17219
17259 17220
@@ -17262,9 +17223,29 @@ fi
17262 17223
17263 17224
17264 17225
17226
17227 gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
17228
17229
17230
17231
17232fi
17233
17234
17235
17236
17237
17238 REPLACE_GETOPT=0
17239
17240
17265 if test -n "$gl_replace_getopt"; then : 17241 if test -n "$gl_replace_getopt"; then :
17266 17242
17243 REPLACE_GETOPT=1
17244
17245fi
17246
17267 17247
17248 if test $REPLACE_GETOPT = 1; then
17268 17249
17269 GETOPT_H=getopt.h 17250 GETOPT_H=getopt.h
17270 17251
@@ -17272,7 +17253,10 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
17272 17253
17273 17254
17274 17255
17275 GNULIB_UNISTD_H_GETOPT=1 17256 GNULIB_UNISTD_H_GETOPT=1
17257 fi
17258
17259if test $REPLACE_GETOPT = 1; then
17276 17260
17277 17261
17278 17262
@@ -17296,27 +17280,37 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
17296 17280
17297 17281
17298 17282
17299
17300
17301fi 17283fi
17302 17284
17303 17285
17304 17286
17305 17287
17306 17288
17307
17308
17309 if test $ac_cv_func_lstat = yes; then 17289 if test $ac_cv_func_lstat = yes; then
17310 17290
17311 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then 17291 if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
17312 REPLACE_LSTAT=1 17292 REPLACE_LSTAT=1
17313 fi 17293 fi
17314 # Prerequisites of lib/lstat.c.
17315
17316 else 17294 else
17317 HAVE_LSTAT=0 17295 HAVE_LSTAT=0
17318 fi 17296 fi
17319 17297
17298if test $REPLACE_LSTAT = 1; then
17299
17300
17301
17302
17303
17304
17305
17306
17307 gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
17308
17309
17310
17311 :
17312
17313fi
17320 17314
17321 17315
17322 17316
@@ -17333,19 +17327,20 @@ fi
17333 17327
17334 17328
17335 17329
17336if test $APPLE_UNIVERSAL_BUILD = 1; then 17330
17337 # A universal build on Apple MacOS X platforms. 17331 if test $APPLE_UNIVERSAL_BUILD = 1; then
17338 # The test result would be 'yes' in 32-bit mode and 'no' in 64-bit mode. 17332 # A universal build on Apple MacOS X platforms.
17339 # But we need a configuration result that is valid in both modes. 17333 # The test result would be 'yes' in 32-bit mode and 'no' in 64-bit mode.
17340 ac_cv_func_working_mktime=no 17334 # But we need a configuration result that is valid in both modes.
17341fi 17335 gl_cv_func_working_mktime=no
17342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 17336 fi
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
17343$as_echo_n "checking for working mktime... " >&6; } 17338$as_echo_n "checking for working mktime... " >&6; }
17344if test "${ac_cv_func_working_mktime+set}" = set; then : 17339if test "${gl_cv_func_working_mktime+set}" = set; then :
17345 $as_echo_n "(cached) " >&6 17340 $as_echo_n "(cached) " >&6
17346else 17341else
17347 if test "$cross_compiling" = yes; then : 17342 if test "$cross_compiling" = yes; then :
17348 ac_cv_func_working_mktime=no 17343 gl_cv_func_working_mktime=no
17349else 17344else
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351/* end confdefs.h. */ 17346/* end confdefs.h. */
@@ -17542,69 +17537,57 @@ main ()
17542} 17537}
17543_ACEOF 17538_ACEOF
17544if ac_fn_c_try_run "$LINENO"; then : 17539if ac_fn_c_try_run "$LINENO"; then :
17545 ac_cv_func_working_mktime=yes 17540 gl_cv_func_working_mktime=yes
17546else 17541else
17547 ac_cv_func_working_mktime=no 17542 gl_cv_func_working_mktime=no
17548fi 17543fi
17549rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17544rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17550 conftest.$ac_objext conftest.beam conftest.$ac_ext 17545 conftest.$ac_objext conftest.beam conftest.$ac_ext
17551fi 17546fi
17552 17547
17553fi
17554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
17555$as_echo "$ac_cv_func_working_mktime" >&6; }
17556if test $ac_cv_func_working_mktime = no; then
17557
17558
17559
17560
17561
17562
17563
17564
17565 gl_LIBOBJS="$gl_LIBOBJS mktime.$ac_objext"
17566 17548
17567fi 17549fi
17550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mktime" >&5
17551$as_echo "$gl_cv_func_working_mktime" >&6; }
17568 17552
17569 if test $ac_cv_func_working_mktime = no; then 17553 if test $gl_cv_func_working_mktime = no; then
17570 REPLACE_MKTIME=1 17554 REPLACE_MKTIME=1
17571
17572
17573
17574 else 17555 else
17575 REPLACE_MKTIME=0 17556 REPLACE_MKTIME=0
17576 fi 17557 fi
17577 17558
17559if test $REPLACE_MKTIME = 1; then
17578 17560
17579 17561
17580 17562
17581 17563
17582 17564
17583 GNULIB_MKTIME=1
17584 17565
17585 17566
17586 17567
17568 gl_LIBOBJS="$gl_LIBOBJS mktime.$ac_objext"
17587 17569
17588 17570
17589 17571
17590 17572
17573fi
17574
17591 17575
17592 17576
17593 if test $ac_cv_func_readlink = no; then
17594 HAVE_READLINK=0
17595 17577
17596 17578
17579 GNULIB_MKTIME=1
17597 17580
17598 17581
17599 17582
17600 17583
17601 17584
17602 17585
17603 gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext"
17604 17586
17605 17587
17606 :
17607 17588
17589 if test $ac_cv_func_readlink = no; then
17590 HAVE_READLINK=0
17608 else 17591 else
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5 17592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
17610$as_echo_n "checking whether readlink signature is correct... " >&6; } 17593$as_echo_n "checking whether readlink signature is correct... " >&6; }
@@ -17675,18 +17658,12 @@ $as_echo "$gl_cv_func_readlink_works" >&6; }
17675$as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h 17658$as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
17676 17659
17677 REPLACE_READLINK=1 17660 REPLACE_READLINK=1
17678
17679
17680
17681
17682
17683
17684
17685
17686 gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext"
17687
17688 elif test "$gl_cv_decl_readlink_works" != yes; then 17661 elif test "$gl_cv_decl_readlink_works" != yes; then
17689 REPLACE_READLINK=1 17662 REPLACE_READLINK=1
17663 fi
17664 fi
17665
17666if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
17690 17667
17691 17668
17692 17669
@@ -17697,9 +17674,10 @@ $as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
17697 17674
17698 gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext" 17675 gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext"
17699 17676
17700 fi
17701 fi
17702 17677
17678 :
17679
17680fi
17703 17681
17704 17682
17705 17683
@@ -18246,17 +18224,6 @@ $as_echo "$gl_cv_next_stdlib_h" >&6; }
18246 18224
18247 18225
18248 18226
18249
18250
18251
18252
18253
18254
18255
18256
18257 gl_LIBOBJS="$gl_LIBOBJS strftime.$ac_objext"
18258
18259
18260 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. 18227 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
18261 18228
18262 18229
@@ -18276,31 +18243,30 @@ $as_echo "#define my_strftime nstrftime" >>confdefs.h
18276 if test "$ac_cv_have_decl_strtoumax" != yes; then 18243 if test "$ac_cv_have_decl_strtoumax" != yes; then
18277 HAVE_DECL_STRTOUMAX=0 18244 HAVE_DECL_STRTOUMAX=0
18278 18245
18246 for ac_func in strtoumax
18247do :
18248 ac_fn_c_check_func "$LINENO" "strtoumax" "ac_cv_func_strtoumax"
18249if test "x$ac_cv_func_strtoumax" = x""yes; then :
18250 cat >>confdefs.h <<_ACEOF
18251#define HAVE_STRTOUMAX 1
18252_ACEOF
18279 18253
18254fi
18255done
18280 18256
18257 fi
18281 18258
18259if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then
18282 18260
18283 18261
18284 18262
18285 18263
18286 18264
18287 for ac_func in strtoumax
18288do :
18289 ac_fn_c_check_func "$LINENO" "strtoumax" "ac_cv_func_strtoumax"
18290if test "x$ac_cv_func_strtoumax" = x""yes; then :
18291 cat >>confdefs.h <<_ACEOF
18292#define HAVE_STRTOUMAX 1
18293_ACEOF
18294
18295else
18296 18265
18297 gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext"
18298 18266
18299fi
18300done
18301 18267
18268 gl_LIBOBJS="$gl_LIBOBJS strtoumax.$ac_objext"
18302 18269
18303 if test $ac_cv_func_strtoumax = no; then
18304 18270
18305 ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default" 18271 ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default"
18306if test "x$ac_cv_have_decl_strtoull" = x""yes; then : 18272if test "x$ac_cv_have_decl_strtoull" = x""yes; then :
@@ -18315,9 +18281,7 @@ _ACEOF
18315 18281
18316 18282
18317 18283
18318 fi 18284fi
18319 fi
18320
18321 18285
18322 18286
18323 18287
@@ -18333,16 +18297,6 @@ _ACEOF
18333 18297
18334 if test $ac_cv_func_symlink = no; then 18298 if test $ac_cv_func_symlink = no; then
18335 HAVE_SYMLINK=0 18299 HAVE_SYMLINK=0
18336
18337
18338
18339
18340
18341
18342
18343
18344 gl_LIBOBJS="$gl_LIBOBJS symlink.$ac_objext"
18345
18346 else 18300 else
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
18348$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } 18302$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
@@ -18387,7 +18341,10 @@ fi
18387$as_echo "$gl_cv_func_symlink_works" >&6; } 18341$as_echo "$gl_cv_func_symlink_works" >&6; }
18388 if test "$gl_cv_func_symlink_works" != yes; then 18342 if test "$gl_cv_func_symlink_works" != yes; then
18389 REPLACE_SYMLINK=1 18343 REPLACE_SYMLINK=1
18344 fi
18345 fi
18390 18346
18347if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
18391 18348
18392 18349
18393 18350
@@ -18395,11 +18352,10 @@ $as_echo "$gl_cv_func_symlink_works" >&6; }
18395 18352
18396 18353
18397 18354
18398 gl_LIBOBJS="$gl_LIBOBJS symlink.$ac_objext"
18399 18355
18400 fi 18356 gl_LIBOBJS="$gl_LIBOBJS symlink.$ac_objext"
18401 fi
18402 18357
18358fi
18403 18359
18404 18360
18405 18361
@@ -18553,7 +18509,8 @@ $as_echo "$gl_cv_time_r_posix" >&6; }
18553 else 18509 else
18554 HAVE_LOCALTIME_R=0 18510 HAVE_LOCALTIME_R=0
18555 fi 18511 fi
18556 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then 18512
18513if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
18557 18514
18558 18515
18559 18516
@@ -18567,8 +18524,7 @@ $as_echo "$gl_cv_time_r_posix" >&6; }
18567 18524
18568 : 18525 :
18569 18526
18570 fi 18527fi
18571
18572 18528
18573 18529
18574 18530
@@ -18772,7 +18728,8 @@ $as_echo "#define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h
18772$as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h 18728$as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
18773;; 18729;;
18774 esac 18730 esac
18775 if test $REPLACE_STAT = 1; then 18731
18732if test $REPLACE_STAT = 1; then
18776 18733
18777 18734
18778 18735
@@ -18784,8 +18741,10 @@ $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
18784 gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext" 18741 gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
18785 18742
18786 18743
18787 fi
18788 18744
18745 :
18746
18747fi
18789 18748
18790 18749
18791 18750
@@ -18810,15 +18769,7 @@ $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
18810 18769
18811 18770
18812 if test "$ac_cv_type_unsigned_long_long_int" = yes; then 18771 if test "$ac_cv_type_unsigned_long_long_int" = yes; then
18813 18772 for ac_func in strtoull
18814
18815
18816
18817
18818
18819
18820
18821 for ac_func in strtoull
18822do : 18773do :
18823 ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" 18774 ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull"
18824if test "x$ac_cv_func_strtoull" = x""yes; then : 18775if test "x$ac_cv_func_strtoull" = x""yes; then :
@@ -18826,22 +18777,29 @@ if test "x$ac_cv_func_strtoull" = x""yes; then :
18826#define HAVE_STRTOULL 1 18777#define HAVE_STRTOULL 1
18827_ACEOF 18778_ACEOF
18828 18779
18829else
18830
18831 gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext"
18832
18833fi 18780fi
18834done 18781done
18835 18782
18836
18837 if test $ac_cv_func_strtoull = no; then 18783 if test $ac_cv_func_strtoull = no; then
18838 HAVE_STRTOULL=0 18784 HAVE_STRTOULL=0
18839
18840 :
18841
18842 fi 18785 fi
18843 fi 18786 fi
18844 18787
18788if test $HAVE_STRTOULL = 0; then
18789
18790
18791
18792
18793
18794
18795
18796
18797 gl_LIBOBJS="$gl_LIBOBJS strtoull.$ac_objext"
18798
18799
18800 :
18801
18802fi
18845 18803
18846 18804
18847 18805
@@ -18862,7 +18820,7 @@ done
18862 gl_gnulib_enabled_verify=true 18820 gl_gnulib_enabled_verify=true
18863 fi 18821 fi
18864 } 18822 }
18865 if test $GNULIB_UNISTD_H_GETOPT = 1; then 18823 if test $REPLACE_GETOPT = 1; then
18866 func_gl_gnulib_m4code_be453cec5eecf5731a274f2de7f2db36 18824 func_gl_gnulib_m4code_be453cec5eecf5731a274f2de7f2db36
18867 fi 18825 fi
18868 if test $REPLACE_LSTAT = 1; then 18826 if test $REPLACE_LSTAT = 1; then