diff options
| author | Glenn Morris | 2011-05-18 06:19:25 -0400 |
|---|---|---|
| committer | Glenn Morris | 2011-05-18 06:19:25 -0400 |
| commit | da6c8463b3d6ed436d6f76327dea0db647eb60b4 (patch) | |
| tree | d2ae0158f67b155e7d917fe921c67bbe15e344d7 | |
| parent | 8f906c4048944e78fff960ed5b37ebeaa77059c2 (diff) | |
| download | emacs-da6c8463b3d6ed436d6f76327dea0db647eb60b4.tar.gz emacs-da6c8463b3d6ed436d6f76327dea0db647eb60b4.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/Makefile.in | 25 | ||||
| -rwxr-xr-x | autogen/configure | 868 |
2 files changed, 93 insertions, 800 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index 16b2aeb92a0..b8b06d5ffd5 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -48,7 +48,6 @@ host_triplet = @host@ | |||
| 48 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | 48 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ |
| 49 | $(srcdir)/gnulib.mk COPYING | 49 | $(srcdir)/gnulib.mk COPYING |
| 50 | @gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36_TRUE@am__append_1 = gettext.h | 50 | @gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36_TRUE@am__append_1 = gettext.h |
| 51 | @gl_GNULIB_ENABLED_verify_TRUE@am__append_2 = verify.h | ||
| 52 | subdir = lib | 51 | subdir = lib |
| 53 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | 52 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 54 | am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ | 53 | am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ |
| @@ -83,10 +82,10 @@ ARFLAGS = cru | |||
| 83 | libgnu_a_AR = $(AR) $(ARFLAGS) | 82 | libgnu_a_AR = $(AR) $(ARFLAGS) |
| 84 | am__DEPENDENCIES_1 = | 83 | am__DEPENDENCIES_1 = |
| 85 | am__libgnu_a_SOURCES_DIST = allocator.c careadlinkat.c dtoastr.c \ | 84 | am__libgnu_a_SOURCES_DIST = allocator.c careadlinkat.c dtoastr.c \ |
| 86 | gettext.h ignore-value.h verify.h | 85 | gettext.h |
| 87 | am__objects_1 = | 86 | am__objects_1 = |
| 88 | am_libgnu_a_OBJECTS = allocator.$(OBJEXT) careadlinkat.$(OBJEXT) \ | 87 | am_libgnu_a_OBJECTS = allocator.$(OBJEXT) careadlinkat.$(OBJEXT) \ |
| 89 | dtoastr.$(OBJEXT) $(am__objects_1) $(am__objects_1) | 88 | dtoastr.$(OBJEXT) $(am__objects_1) |
| 90 | libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS) | 89 | libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS) |
| 91 | depcomp = $(SHELL) $(top_srcdir)/depcomp | 90 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
| 92 | am__depfiles_maybe = depfiles | 91 | am__depfiles_maybe = depfiles |
| @@ -208,6 +207,7 @@ GNULIB_GETS = @GNULIB_GETS@ | |||
| 208 | GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ | 207 | GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ |
| 209 | GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ | 208 | GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ |
| 210 | GNULIB_GRANTPT = @GNULIB_GRANTPT@ | 209 | GNULIB_GRANTPT = @GNULIB_GRANTPT@ |
| 210 | GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ | ||
| 211 | GNULIB_IMAXABS = @GNULIB_IMAXABS@ | 211 | GNULIB_IMAXABS = @GNULIB_IMAXABS@ |
| 212 | GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ | 212 | GNULIB_IMAXDIV = @GNULIB_IMAXDIV@ |
| 213 | GNULIB_LCHMOD = @GNULIB_LCHMOD@ | 213 | GNULIB_LCHMOD = @GNULIB_LCHMOD@ |
| @@ -354,6 +354,7 @@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ | |||
| 354 | HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ | 354 | HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ |
| 355 | HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ | 355 | HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ |
| 356 | HAVE_GRANTPT = @HAVE_GRANTPT@ | 356 | HAVE_GRANTPT = @HAVE_GRANTPT@ |
| 357 | HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ | ||
| 357 | HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ | 358 | HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ |
| 358 | HAVE_LCHMOD = @HAVE_LCHMOD@ | 359 | HAVE_LCHMOD = @HAVE_LCHMOD@ |
| 359 | HAVE_LCHOWN = @HAVE_LCHOWN@ | 360 | HAVE_LCHOWN = @HAVE_LCHOWN@ |
| @@ -737,13 +738,13 @@ BUILT_SOURCES = arg-nonnull.h c++defs.h $(GETOPT_H) inttypes.h \ | |||
| 737 | EXTRA_DIST = allocator.h $(top_srcdir)/./arg-nonnull.h \ | 738 | EXTRA_DIST = allocator.h $(top_srcdir)/./arg-nonnull.h \ |
| 738 | $(top_srcdir)/./c++defs.h careadlinkat.h md5.c md5.h dosname.h \ | 739 | $(top_srcdir)/./c++defs.h careadlinkat.h md5.c md5.h dosname.h \ |
| 739 | ftoastr.c ftoastr.h filemode.c filemode.h getloadavg.c \ | 740 | ftoastr.c ftoastr.h filemode.c filemode.h getloadavg.c \ |
| 740 | getopt.c getopt.in.h getopt1.c getopt_int.h intprops.h \ | 741 | getopt.c getopt.in.h getopt1.c getopt_int.h ignore-value.h \ |
| 741 | inttypes.in.h lstat.c mktime-internal.h mktime.c readlink.c \ | 742 | intprops.h inttypes.in.h lstat.c mktime-internal.h mktime.c \ |
| 742 | stat.c stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h \ | 743 | readlink.c stat.c stdarg.in.h stdbool.in.h stddef.in.h \ |
| 743 | stdio.in.h stdlib.in.h strftime.c strftime.h strtol.c \ | 744 | stdint.in.h stdio.in.h stdlib.in.h strftime.c strftime.h \ |
| 744 | strtoul.c strtoull.c strtoimax.c strtoumax.c symlink.c \ | 745 | strtol.c strtoul.c strtoull.c strtoimax.c strtoumax.c \ |
| 745 | sys_stat.in.h time.in.h time_r.c unistd.in.h \ | 746 | symlink.c sys_stat.in.h time.in.h time_r.c unistd.in.h \ |
| 746 | $(top_srcdir)/./warn-on-use.h | 747 | verify.h $(top_srcdir)/./warn-on-use.h |
| 747 | MOSTLYCLEANDIRS = sys | 748 | MOSTLYCLEANDIRS = sys |
| 748 | MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ | 749 | MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ |
| 749 | c++defs.h c++defs.h-t getopt.h getopt.h-t inttypes.h \ | 750 | c++defs.h c++defs.h-t getopt.h getopt.h-t inttypes.h \ |
| @@ -754,7 +755,7 @@ MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ | |||
| 754 | noinst_LIBRARIES = libgnu.a | 755 | noinst_LIBRARIES = libgnu.a |
| 755 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src | 756 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src |
| 756 | libgnu_a_SOURCES = allocator.c careadlinkat.c dtoastr.c \ | 757 | libgnu_a_SOURCES = allocator.c careadlinkat.c dtoastr.c \ |
| 757 | $(am__append_1) ignore-value.h $(am__append_2) | 758 | $(am__append_1) |
| 758 | libgnu_a_LIBADD = $(gl_LIBOBJS) | 759 | libgnu_a_LIBADD = $(gl_LIBOBJS) |
| 759 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | 760 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) |
| 760 | EXTRA_libgnu_a_SOURCES = md5.c ftoastr.c filemode.c getloadavg.c \ | 761 | EXTRA_libgnu_a_SOURCES = md5.c ftoastr.c filemode.c getloadavg.c \ |
| @@ -1499,6 +1500,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H | |||
| 1499 | -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ | 1500 | -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ |
| 1500 | -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ | 1501 | -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ |
| 1501 | -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ | 1502 | -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ |
| 1503 | -e 's|@''GNULIB_GROUP_MEMBER''@|$(GNULIB_GROUP_MEMBER)|g' \ | ||
| 1502 | -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ | 1504 | -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ |
| 1503 | -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ | 1505 | -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ |
| 1504 | -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \ | 1506 | -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \ |
| @@ -1537,6 +1539,7 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H | |||
| 1537 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ | 1539 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ |
| 1538 | -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ | 1540 | -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ |
| 1539 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ | 1541 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ |
| 1542 | -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ | ||
| 1540 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ | 1543 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ |
| 1541 | -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ | 1544 | -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ |
| 1542 | -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ | 1545 | -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ |
diff --git a/autogen/configure b/autogen/configure index e4edf2851ae..b3051c9558e 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -947,6 +947,7 @@ HAVE_PIPE | |||
| 947 | HAVE_LINKAT | 947 | HAVE_LINKAT |
| 948 | HAVE_LINK | 948 | HAVE_LINK |
| 949 | HAVE_LCHOWN | 949 | HAVE_LCHOWN |
| 950 | HAVE_GROUP_MEMBER | ||
| 950 | HAVE_GETPAGESIZE | 951 | HAVE_GETPAGESIZE |
| 951 | HAVE_GETLOGIN | 952 | HAVE_GETLOGIN |
| 952 | HAVE_GETHOSTNAME | 953 | HAVE_GETHOSTNAME |
| @@ -984,6 +985,7 @@ GNULIB_LSEEK | |||
| 984 | GNULIB_LINKAT | 985 | GNULIB_LINKAT |
| 985 | GNULIB_LINK | 986 | GNULIB_LINK |
| 986 | GNULIB_LCHOWN | 987 | GNULIB_LCHOWN |
| 988 | GNULIB_GROUP_MEMBER | ||
| 987 | GNULIB_GETUSERSHELL | 989 | GNULIB_GETUSERSHELL |
| 988 | GNULIB_GETPAGESIZE | 990 | GNULIB_GETPAGESIZE |
| 989 | GNULIB_GETLOGIN_R | 991 | GNULIB_GETLOGIN_R |
| @@ -14390,6 +14392,7 @@ _ACEOF | |||
| 14390 | GNULIB_GETLOGIN_R=0; | 14392 | GNULIB_GETLOGIN_R=0; |
| 14391 | GNULIB_GETPAGESIZE=0; | 14393 | GNULIB_GETPAGESIZE=0; |
| 14392 | GNULIB_GETUSERSHELL=0; | 14394 | GNULIB_GETUSERSHELL=0; |
| 14395 | GNULIB_GROUP_MEMBER=0; | ||
| 14393 | GNULIB_LCHOWN=0; | 14396 | GNULIB_LCHOWN=0; |
| 14394 | GNULIB_LINK=0; | 14397 | GNULIB_LINK=0; |
| 14395 | GNULIB_LINKAT=0; | 14398 | GNULIB_LINKAT=0; |
| @@ -14427,6 +14430,7 @@ _ACEOF | |||
| 14427 | HAVE_GETHOSTNAME=1; | 14430 | HAVE_GETHOSTNAME=1; |
| 14428 | HAVE_GETLOGIN=1; | 14431 | HAVE_GETLOGIN=1; |
| 14429 | HAVE_GETPAGESIZE=1; | 14432 | HAVE_GETPAGESIZE=1; |
| 14433 | HAVE_GROUP_MEMBER=1; | ||
| 14430 | HAVE_LCHOWN=1; | 14434 | HAVE_LCHOWN=1; |
| 14431 | HAVE_LINK=1; | 14435 | HAVE_LINK=1; |
| 14432 | HAVE_LINKAT=1; | 14436 | HAVE_LINKAT=1; |
| @@ -15923,6 +15927,81 @@ fi | |||
| 15923 | UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; | 15927 | UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; |
| 15924 | 15928 | ||
| 15925 | 15929 | ||
| 15930 | |||
| 15931 | |||
| 15932 | |||
| 15933 | |||
| 15934 | |||
| 15935 | |||
| 15936 | |||
| 15937 | |||
| 15938 | |||
| 15939 | |||
| 15940 | |||
| 15941 | |||
| 15942 | |||
| 15943 | if test $gl_cv_have_include_next = yes; then | ||
| 15944 | gl_cv_next_inttypes_h='<'inttypes.h'>' | ||
| 15945 | else | ||
| 15946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5 | ||
| 15947 | $as_echo_n "checking absolute name of <inttypes.h>... " >&6; } | ||
| 15948 | if test "${gl_cv_next_inttypes_h+set}" = set; then : | ||
| 15949 | $as_echo_n "(cached) " >&6 | ||
| 15950 | else | ||
| 15951 | |||
| 15952 | if test $ac_cv_header_inttypes_h = yes; then | ||
| 15953 | |||
| 15954 | |||
| 15955 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 15956 | /* end confdefs.h. */ | ||
| 15957 | #include <inttypes.h> | ||
| 15958 | |||
| 15959 | _ACEOF | ||
| 15960 | case "$host_os" in | ||
| 15961 | aix*) gl_absname_cpp="$ac_cpp -C" ;; | ||
| 15962 | *) gl_absname_cpp="$ac_cpp" ;; | ||
| 15963 | esac | ||
| 15964 | gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | | ||
| 15965 | sed -n '\#/inttypes.h#{ | ||
| 15966 | s#.*"\(.*/inttypes.h\)".*#\1# | ||
| 15967 | s#^/[^/]#//&# | ||
| 15968 | p | ||
| 15969 | q | ||
| 15970 | }'`'"' | ||
| 15971 | else | ||
| 15972 | gl_cv_next_inttypes_h='<'inttypes.h'>' | ||
| 15973 | fi | ||
| 15974 | |||
| 15975 | |||
| 15976 | fi | ||
| 15977 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 | ||
| 15978 | $as_echo "$gl_cv_next_inttypes_h" >&6; } | ||
| 15979 | fi | ||
| 15980 | NEXT_INTTYPES_H=$gl_cv_next_inttypes_h | ||
| 15981 | |||
| 15982 | if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then | ||
| 15983 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | ||
| 15984 | gl_next_as_first_directive='<'inttypes.h'>' | ||
| 15985 | else | ||
| 15986 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | ||
| 15987 | gl_next_as_first_directive=$gl_cv_next_inttypes_h | ||
| 15988 | fi | ||
| 15989 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive | ||
| 15990 | |||
| 15991 | |||
| 15992 | |||
| 15993 | |||
| 15994 | |||
| 15995 | |||
| 15996 | |||
| 15997 | |||
| 15998 | $as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h | ||
| 15999 | |||
| 16000 | |||
| 16001 | |||
| 16002 | |||
| 16003 | |||
| 16004 | |||
| 15926 | GNULIB_FCHMODAT=0; | 16005 | GNULIB_FCHMODAT=0; |
| 15927 | GNULIB_FSTATAT=0; | 16006 | GNULIB_FSTATAT=0; |
| 15928 | GNULIB_FUTIMENS=0; | 16007 | GNULIB_FUTIMENS=0; |
| @@ -17214,80 +17293,6 @@ fi | |||
| 17214 | 17293 | ||
| 17215 | 17294 | ||
| 17216 | 17295 | ||
| 17217 | |||
| 17218 | |||
| 17219 | |||
| 17220 | |||
| 17221 | |||
| 17222 | |||
| 17223 | |||
| 17224 | |||
| 17225 | |||
| 17226 | |||
| 17227 | if test $gl_cv_have_include_next = yes; then | ||
| 17228 | gl_cv_next_inttypes_h='<'inttypes.h'>' | ||
| 17229 | else | ||
| 17230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5 | ||
| 17231 | $as_echo_n "checking absolute name of <inttypes.h>... " >&6; } | ||
| 17232 | if test "${gl_cv_next_inttypes_h+set}" = set; then : | ||
| 17233 | $as_echo_n "(cached) " >&6 | ||
| 17234 | else | ||
| 17235 | |||
| 17236 | if test $ac_cv_header_inttypes_h = yes; then | ||
| 17237 | |||
| 17238 | |||
| 17239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 17240 | /* end confdefs.h. */ | ||
| 17241 | #include <inttypes.h> | ||
| 17242 | |||
| 17243 | _ACEOF | ||
| 17244 | case "$host_os" in | ||
| 17245 | aix*) gl_absname_cpp="$ac_cpp -C" ;; | ||
| 17246 | *) gl_absname_cpp="$ac_cpp" ;; | ||
| 17247 | esac | ||
| 17248 | gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | | ||
| 17249 | sed -n '\#/inttypes.h#{ | ||
| 17250 | s#.*"\(.*/inttypes.h\)".*#\1# | ||
| 17251 | s#^/[^/]#//&# | ||
| 17252 | p | ||
| 17253 | q | ||
| 17254 | }'`'"' | ||
| 17255 | else | ||
| 17256 | gl_cv_next_inttypes_h='<'inttypes.h'>' | ||
| 17257 | fi | ||
| 17258 | |||
| 17259 | |||
| 17260 | fi | ||
| 17261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 | ||
| 17262 | $as_echo "$gl_cv_next_inttypes_h" >&6; } | ||
| 17263 | fi | ||
| 17264 | NEXT_INTTYPES_H=$gl_cv_next_inttypes_h | ||
| 17265 | |||
| 17266 | if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then | ||
| 17267 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | ||
| 17268 | gl_next_as_first_directive='<'inttypes.h'>' | ||
| 17269 | else | ||
| 17270 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | ||
| 17271 | gl_next_as_first_directive=$gl_cv_next_inttypes_h | ||
| 17272 | fi | ||
| 17273 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive | ||
| 17274 | |||
| 17275 | |||
| 17276 | |||
| 17277 | |||
| 17278 | |||
| 17279 | |||
| 17280 | |||
| 17281 | |||
| 17282 | $as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h | ||
| 17283 | |||
| 17284 | |||
| 17285 | |||
| 17286 | |||
| 17287 | |||
| 17288 | |||
| 17289 | |||
| 17290 | |||
| 17291 | if test $ac_cv_func_lstat = yes; then | 17296 | if test $ac_cv_func_lstat = yes; then |
| 17292 | 17297 | ||
| 17293 | if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then | 17298 | if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then |
| @@ -18076,717 +18081,6 @@ $as_echo "$gl_cv_next_stddef_h" >&6; } | |||
| 18076 | 18081 | ||
| 18077 | 18082 | ||
| 18078 | 18083 | ||
| 18079 | if test $ac_cv_type_long_long_int = yes; then | ||
| 18080 | HAVE_LONG_LONG_INT=1 | ||
| 18081 | else | ||
| 18082 | HAVE_LONG_LONG_INT=0 | ||
| 18083 | fi | ||
| 18084 | |||
| 18085 | |||
| 18086 | if test $ac_cv_type_unsigned_long_long_int = yes; then | ||
| 18087 | HAVE_UNSIGNED_LONG_LONG_INT=1 | ||
| 18088 | else | ||
| 18089 | HAVE_UNSIGNED_LONG_LONG_INT=0 | ||
| 18090 | fi | ||
| 18091 | |||
| 18092 | |||
| 18093 | |||
| 18094 | if test $ac_cv_header_wchar_h = yes; then | ||
| 18095 | HAVE_WCHAR_H=1 | ||
| 18096 | else | ||
| 18097 | HAVE_WCHAR_H=0 | ||
| 18098 | fi | ||
| 18099 | |||
| 18100 | |||
| 18101 | if test $ac_cv_header_inttypes_h = yes; then | ||
| 18102 | HAVE_INTTYPES_H=1 | ||
| 18103 | else | ||
| 18104 | HAVE_INTTYPES_H=0 | ||
| 18105 | fi | ||
| 18106 | |||
| 18107 | |||
| 18108 | if test $ac_cv_header_sys_types_h = yes; then | ||
| 18109 | HAVE_SYS_TYPES_H=1 | ||
| 18110 | else | ||
| 18111 | HAVE_SYS_TYPES_H=0 | ||
| 18112 | fi | ||
| 18113 | |||
| 18114 | |||
| 18115 | |||
| 18116 | |||
| 18117 | |||
| 18118 | |||
| 18119 | |||
| 18120 | |||
| 18121 | |||
| 18122 | |||
| 18123 | |||
| 18124 | if test $gl_cv_have_include_next = yes; then | ||
| 18125 | gl_cv_next_stdint_h='<'stdint.h'>' | ||
| 18126 | else | ||
| 18127 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5 | ||
| 18128 | $as_echo_n "checking absolute name of <stdint.h>... " >&6; } | ||
| 18129 | if test "${gl_cv_next_stdint_h+set}" = set; then : | ||
| 18130 | $as_echo_n "(cached) " >&6 | ||
| 18131 | else | ||
| 18132 | |||
| 18133 | if test $ac_cv_header_stdint_h = yes; then | ||
| 18134 | |||
| 18135 | |||
| 18136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 18137 | /* end confdefs.h. */ | ||
| 18138 | #include <stdint.h> | ||
| 18139 | |||
| 18140 | _ACEOF | ||
| 18141 | case "$host_os" in | ||
| 18142 | aix*) gl_absname_cpp="$ac_cpp -C" ;; | ||
| 18143 | *) gl_absname_cpp="$ac_cpp" ;; | ||
| 18144 | esac | ||
| 18145 | gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | | ||
| 18146 | sed -n '\#/stdint.h#{ | ||
| 18147 | s#.*"\(.*/stdint.h\)".*#\1# | ||
| 18148 | s#^/[^/]#//&# | ||
| 18149 | p | ||
| 18150 | q | ||
| 18151 | }'`'"' | ||
| 18152 | else | ||
| 18153 | gl_cv_next_stdint_h='<'stdint.h'>' | ||
| 18154 | fi | ||
| 18155 | |||
| 18156 | |||
| 18157 | fi | ||
| 18158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 | ||
| 18159 | $as_echo "$gl_cv_next_stdint_h" >&6; } | ||
| 18160 | fi | ||
| 18161 | NEXT_STDINT_H=$gl_cv_next_stdint_h | ||
| 18162 | |||
| 18163 | if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then | ||
| 18164 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | ||
| 18165 | gl_next_as_first_directive='<'stdint.h'>' | ||
| 18166 | else | ||
| 18167 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | ||
| 18168 | gl_next_as_first_directive=$gl_cv_next_stdint_h | ||
| 18169 | fi | ||
| 18170 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive | ||
| 18171 | |||
| 18172 | |||
| 18173 | |||
| 18174 | |||
| 18175 | if test $ac_cv_header_stdint_h = yes; then | ||
| 18176 | HAVE_STDINT_H=1 | ||
| 18177 | else | ||
| 18178 | HAVE_STDINT_H=0 | ||
| 18179 | fi | ||
| 18180 | |||
| 18181 | |||
| 18182 | if test $ac_cv_header_stdint_h = yes; then | ||
| 18183 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 | ||
| 18184 | $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } | ||
| 18185 | if test "${gl_cv_header_working_stdint_h+set}" = set; then : | ||
| 18186 | $as_echo_n "(cached) " >&6 | ||
| 18187 | else | ||
| 18188 | gl_cv_header_working_stdint_h=no | ||
| 18189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 18190 | /* end confdefs.h. */ | ||
| 18191 | |||
| 18192 | |||
| 18193 | #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 18194 | #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 18195 | #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ | ||
| 18196 | #include <stdint.h> | ||
| 18197 | /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */ | ||
| 18198 | #if !(defined WCHAR_MIN && defined WCHAR_MAX) | ||
| 18199 | #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>" | ||
| 18200 | #endif | ||
| 18201 | |||
| 18202 | |||
| 18203 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18204 | included before <wchar.h>. */ | ||
| 18205 | #include <stddef.h> | ||
| 18206 | #include <signal.h> | ||
| 18207 | #if HAVE_WCHAR_H | ||
| 18208 | # include <stdio.h> | ||
| 18209 | # include <time.h> | ||
| 18210 | # include <wchar.h> | ||
| 18211 | #endif | ||
| 18212 | |||
| 18213 | |||
| 18214 | #ifdef INT8_MAX | ||
| 18215 | int8_t a1 = INT8_MAX; | ||
| 18216 | int8_t a1min = INT8_MIN; | ||
| 18217 | #endif | ||
| 18218 | #ifdef INT16_MAX | ||
| 18219 | int16_t a2 = INT16_MAX; | ||
| 18220 | int16_t a2min = INT16_MIN; | ||
| 18221 | #endif | ||
| 18222 | #ifdef INT32_MAX | ||
| 18223 | int32_t a3 = INT32_MAX; | ||
| 18224 | int32_t a3min = INT32_MIN; | ||
| 18225 | #endif | ||
| 18226 | #ifdef INT64_MAX | ||
| 18227 | int64_t a4 = INT64_MAX; | ||
| 18228 | int64_t a4min = INT64_MIN; | ||
| 18229 | #endif | ||
| 18230 | #ifdef UINT8_MAX | ||
| 18231 | uint8_t b1 = UINT8_MAX; | ||
| 18232 | #else | ||
| 18233 | typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; | ||
| 18234 | #endif | ||
| 18235 | #ifdef UINT16_MAX | ||
| 18236 | uint16_t b2 = UINT16_MAX; | ||
| 18237 | #endif | ||
| 18238 | #ifdef UINT32_MAX | ||
| 18239 | uint32_t b3 = UINT32_MAX; | ||
| 18240 | #endif | ||
| 18241 | #ifdef UINT64_MAX | ||
| 18242 | uint64_t b4 = UINT64_MAX; | ||
| 18243 | #endif | ||
| 18244 | int_least8_t c1 = INT8_C (0x7f); | ||
| 18245 | int_least8_t c1max = INT_LEAST8_MAX; | ||
| 18246 | int_least8_t c1min = INT_LEAST8_MIN; | ||
| 18247 | int_least16_t c2 = INT16_C (0x7fff); | ||
| 18248 | int_least16_t c2max = INT_LEAST16_MAX; | ||
| 18249 | int_least16_t c2min = INT_LEAST16_MIN; | ||
| 18250 | int_least32_t c3 = INT32_C (0x7fffffff); | ||
| 18251 | int_least32_t c3max = INT_LEAST32_MAX; | ||
| 18252 | int_least32_t c3min = INT_LEAST32_MIN; | ||
| 18253 | int_least64_t c4 = INT64_C (0x7fffffffffffffff); | ||
| 18254 | int_least64_t c4max = INT_LEAST64_MAX; | ||
| 18255 | int_least64_t c4min = INT_LEAST64_MIN; | ||
| 18256 | uint_least8_t d1 = UINT8_C (0xff); | ||
| 18257 | uint_least8_t d1max = UINT_LEAST8_MAX; | ||
| 18258 | uint_least16_t d2 = UINT16_C (0xffff); | ||
| 18259 | uint_least16_t d2max = UINT_LEAST16_MAX; | ||
| 18260 | uint_least32_t d3 = UINT32_C (0xffffffff); | ||
| 18261 | uint_least32_t d3max = UINT_LEAST32_MAX; | ||
| 18262 | uint_least64_t d4 = UINT64_C (0xffffffffffffffff); | ||
| 18263 | uint_least64_t d4max = UINT_LEAST64_MAX; | ||
| 18264 | int_fast8_t e1 = INT_FAST8_MAX; | ||
| 18265 | int_fast8_t e1min = INT_FAST8_MIN; | ||
| 18266 | int_fast16_t e2 = INT_FAST16_MAX; | ||
| 18267 | int_fast16_t e2min = INT_FAST16_MIN; | ||
| 18268 | int_fast32_t e3 = INT_FAST32_MAX; | ||
| 18269 | int_fast32_t e3min = INT_FAST32_MIN; | ||
| 18270 | int_fast64_t e4 = INT_FAST64_MAX; | ||
| 18271 | int_fast64_t e4min = INT_FAST64_MIN; | ||
| 18272 | uint_fast8_t f1 = UINT_FAST8_MAX; | ||
| 18273 | uint_fast16_t f2 = UINT_FAST16_MAX; | ||
| 18274 | uint_fast32_t f3 = UINT_FAST32_MAX; | ||
| 18275 | uint_fast64_t f4 = UINT_FAST64_MAX; | ||
| 18276 | #ifdef INTPTR_MAX | ||
| 18277 | intptr_t g = INTPTR_MAX; | ||
| 18278 | intptr_t gmin = INTPTR_MIN; | ||
| 18279 | #endif | ||
| 18280 | #ifdef UINTPTR_MAX | ||
| 18281 | uintptr_t h = UINTPTR_MAX; | ||
| 18282 | #endif | ||
| 18283 | intmax_t i = INTMAX_MAX; | ||
| 18284 | uintmax_t j = UINTMAX_MAX; | ||
| 18285 | |||
| 18286 | #include <limits.h> /* for CHAR_BIT */ | ||
| 18287 | #define TYPE_MINIMUM(t) \ | ||
| 18288 | ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) | ||
| 18289 | #define TYPE_MAXIMUM(t) \ | ||
| 18290 | ((t) ((t) 0 < (t) -1 \ | ||
| 18291 | ? (t) -1 \ | ||
| 18292 | : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) | ||
| 18293 | struct s { | ||
| 18294 | int check_PTRDIFF: | ||
| 18295 | PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) | ||
| 18296 | && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) | ||
| 18297 | ? 1 : -1; | ||
| 18298 | /* Detect bug in FreeBSD 6.0 / ia64. */ | ||
| 18299 | int check_SIG_ATOMIC: | ||
| 18300 | SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) | ||
| 18301 | && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) | ||
| 18302 | ? 1 : -1; | ||
| 18303 | int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; | ||
| 18304 | int check_WCHAR: | ||
| 18305 | WCHAR_MIN == TYPE_MINIMUM (wchar_t) | ||
| 18306 | && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) | ||
| 18307 | ? 1 : -1; | ||
| 18308 | /* Detect bug in mingw. */ | ||
| 18309 | int check_WINT: | ||
| 18310 | WINT_MIN == TYPE_MINIMUM (wint_t) | ||
| 18311 | && WINT_MAX == TYPE_MAXIMUM (wint_t) | ||
| 18312 | ? 1 : -1; | ||
| 18313 | |||
| 18314 | /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ | ||
| 18315 | int check_UINT8_C: | ||
| 18316 | (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; | ||
| 18317 | int check_UINT16_C: | ||
| 18318 | (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; | ||
| 18319 | |||
| 18320 | /* Detect bugs in OpenBSD 3.9 stdint.h. */ | ||
| 18321 | #ifdef UINT8_MAX | ||
| 18322 | int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; | ||
| 18323 | #endif | ||
| 18324 | #ifdef UINT16_MAX | ||
| 18325 | int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; | ||
| 18326 | #endif | ||
| 18327 | #ifdef UINT32_MAX | ||
| 18328 | int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; | ||
| 18329 | #endif | ||
| 18330 | #ifdef UINT64_MAX | ||
| 18331 | int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; | ||
| 18332 | #endif | ||
| 18333 | int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; | ||
| 18334 | int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; | ||
| 18335 | int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; | ||
| 18336 | int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; | ||
| 18337 | int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; | ||
| 18338 | int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; | ||
| 18339 | int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; | ||
| 18340 | int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; | ||
| 18341 | int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; | ||
| 18342 | int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; | ||
| 18343 | int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; | ||
| 18344 | }; | ||
| 18345 | |||
| 18346 | int | ||
| 18347 | main () | ||
| 18348 | { | ||
| 18349 | |||
| 18350 | ; | ||
| 18351 | return 0; | ||
| 18352 | } | ||
| 18353 | _ACEOF | ||
| 18354 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 18355 | if test "$cross_compiling" = yes; then : | ||
| 18356 | gl_cv_header_working_stdint_h=yes | ||
| 18357 | |||
| 18358 | else | ||
| 18359 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 18360 | /* end confdefs.h. */ | ||
| 18361 | |||
| 18362 | |||
| 18363 | #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 18364 | #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ | ||
| 18365 | #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ | ||
| 18366 | #include <stdint.h> | ||
| 18367 | |||
| 18368 | |||
| 18369 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18370 | included before <wchar.h>. */ | ||
| 18371 | #include <stddef.h> | ||
| 18372 | #include <signal.h> | ||
| 18373 | #if HAVE_WCHAR_H | ||
| 18374 | # include <stdio.h> | ||
| 18375 | # include <time.h> | ||
| 18376 | # include <wchar.h> | ||
| 18377 | #endif | ||
| 18378 | |||
| 18379 | |||
| 18380 | #include <stdio.h> | ||
| 18381 | #include <string.h> | ||
| 18382 | #define MVAL(macro) MVAL1(macro) | ||
| 18383 | #define MVAL1(expression) #expression | ||
| 18384 | static const char *macro_values[] = | ||
| 18385 | { | ||
| 18386 | #ifdef INT8_MAX | ||
| 18387 | MVAL (INT8_MAX), | ||
| 18388 | #endif | ||
| 18389 | #ifdef INT16_MAX | ||
| 18390 | MVAL (INT16_MAX), | ||
| 18391 | #endif | ||
| 18392 | #ifdef INT32_MAX | ||
| 18393 | MVAL (INT32_MAX), | ||
| 18394 | #endif | ||
| 18395 | #ifdef INT64_MAX | ||
| 18396 | MVAL (INT64_MAX), | ||
| 18397 | #endif | ||
| 18398 | #ifdef UINT8_MAX | ||
| 18399 | MVAL (UINT8_MAX), | ||
| 18400 | #endif | ||
| 18401 | #ifdef UINT16_MAX | ||
| 18402 | MVAL (UINT16_MAX), | ||
| 18403 | #endif | ||
| 18404 | #ifdef UINT32_MAX | ||
| 18405 | MVAL (UINT32_MAX), | ||
| 18406 | #endif | ||
| 18407 | #ifdef UINT64_MAX | ||
| 18408 | MVAL (UINT64_MAX), | ||
| 18409 | #endif | ||
| 18410 | NULL | ||
| 18411 | }; | ||
| 18412 | |||
| 18413 | int | ||
| 18414 | main () | ||
| 18415 | { | ||
| 18416 | |||
| 18417 | const char **mv; | ||
| 18418 | for (mv = macro_values; *mv != NULL; mv++) | ||
| 18419 | { | ||
| 18420 | const char *value = *mv; | ||
| 18421 | /* Test whether it looks like a cast expression. */ | ||
| 18422 | if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 | ||
| 18423 | || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 | ||
| 18424 | || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 | ||
| 18425 | || strncmp (value, "((int)"/*)*/, 6) == 0 | ||
| 18426 | || strncmp (value, "((signed short)"/*)*/, 15) == 0 | ||
| 18427 | || strncmp (value, "((signed char)"/*)*/, 14) == 0) | ||
| 18428 | return mv - macro_values + 1; | ||
| 18429 | } | ||
| 18430 | return 0; | ||
| 18431 | |||
| 18432 | ; | ||
| 18433 | return 0; | ||
| 18434 | } | ||
| 18435 | _ACEOF | ||
| 18436 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 18437 | gl_cv_header_working_stdint_h=yes | ||
| 18438 | fi | ||
| 18439 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 18440 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 18441 | fi | ||
| 18442 | |||
| 18443 | |||
| 18444 | fi | ||
| 18445 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18446 | |||
| 18447 | fi | ||
| 18448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 | ||
| 18449 | $as_echo "$gl_cv_header_working_stdint_h" >&6; } | ||
| 18450 | fi | ||
| 18451 | if test "$gl_cv_header_working_stdint_h" = yes; then | ||
| 18452 | STDINT_H= | ||
| 18453 | else | ||
| 18454 | for ac_header in sys/inttypes.h sys/bitypes.h | ||
| 18455 | do : | ||
| 18456 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 18457 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | ||
| 18458 | eval as_val=\$$as_ac_Header | ||
| 18459 | if test "x$as_val" = x""yes; then : | ||
| 18460 | cat >>confdefs.h <<_ACEOF | ||
| 18461 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 18462 | _ACEOF | ||
| 18463 | |||
| 18464 | fi | ||
| 18465 | |||
| 18466 | done | ||
| 18467 | |||
| 18468 | if test $ac_cv_header_sys_inttypes_h = yes; then | ||
| 18469 | HAVE_SYS_INTTYPES_H=1 | ||
| 18470 | else | ||
| 18471 | HAVE_SYS_INTTYPES_H=0 | ||
| 18472 | fi | ||
| 18473 | |||
| 18474 | if test $ac_cv_header_sys_bitypes_h = yes; then | ||
| 18475 | HAVE_SYS_BITYPES_H=1 | ||
| 18476 | else | ||
| 18477 | HAVE_SYS_BITYPES_H=0 | ||
| 18478 | fi | ||
| 18479 | |||
| 18480 | |||
| 18481 | |||
| 18482 | |||
| 18483 | if test $APPLE_UNIVERSAL_BUILD = 0; then | ||
| 18484 | |||
| 18485 | |||
| 18486 | for gltype in ptrdiff_t size_t ; do | ||
| 18487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 | ||
| 18488 | $as_echo_n "checking for bit size of $gltype... " >&6; } | ||
| 18489 | if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 18490 | $as_echo_n "(cached) " >&6 | ||
| 18491 | else | ||
| 18492 | if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " | ||
| 18493 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18494 | included before <wchar.h>. */ | ||
| 18495 | #include <stddef.h> | ||
| 18496 | #include <signal.h> | ||
| 18497 | #if HAVE_WCHAR_H | ||
| 18498 | # include <stdio.h> | ||
| 18499 | # include <time.h> | ||
| 18500 | # include <wchar.h> | ||
| 18501 | #endif | ||
| 18502 | |||
| 18503 | #include <limits.h>"; then : | ||
| 18504 | |||
| 18505 | else | ||
| 18506 | result=unknown | ||
| 18507 | fi | ||
| 18508 | |||
| 18509 | eval gl_cv_bitsizeof_${gltype}=\$result | ||
| 18510 | |||
| 18511 | fi | ||
| 18512 | eval ac_res=\$gl_cv_bitsizeof_${gltype} | ||
| 18513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 18514 | $as_echo "$ac_res" >&6; } | ||
| 18515 | eval result=\$gl_cv_bitsizeof_${gltype} | ||
| 18516 | if test $result = unknown; then | ||
| 18517 | result=0 | ||
| 18518 | fi | ||
| 18519 | GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 18520 | cat >>confdefs.h <<_ACEOF | ||
| 18521 | #define BITSIZEOF_${GLTYPE} $result | ||
| 18522 | _ACEOF | ||
| 18523 | |||
| 18524 | eval BITSIZEOF_${GLTYPE}=\$result | ||
| 18525 | done | ||
| 18526 | |||
| 18527 | |||
| 18528 | fi | ||
| 18529 | |||
| 18530 | |||
| 18531 | for gltype in sig_atomic_t wchar_t wint_t ; do | ||
| 18532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 | ||
| 18533 | $as_echo_n "checking for bit size of $gltype... " >&6; } | ||
| 18534 | if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 18535 | $as_echo_n "(cached) " >&6 | ||
| 18536 | else | ||
| 18537 | if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " | ||
| 18538 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18539 | included before <wchar.h>. */ | ||
| 18540 | #include <stddef.h> | ||
| 18541 | #include <signal.h> | ||
| 18542 | #if HAVE_WCHAR_H | ||
| 18543 | # include <stdio.h> | ||
| 18544 | # include <time.h> | ||
| 18545 | # include <wchar.h> | ||
| 18546 | #endif | ||
| 18547 | |||
| 18548 | #include <limits.h>"; then : | ||
| 18549 | |||
| 18550 | else | ||
| 18551 | result=unknown | ||
| 18552 | fi | ||
| 18553 | |||
| 18554 | eval gl_cv_bitsizeof_${gltype}=\$result | ||
| 18555 | |||
| 18556 | fi | ||
| 18557 | eval ac_res=\$gl_cv_bitsizeof_${gltype} | ||
| 18558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 18559 | $as_echo "$ac_res" >&6; } | ||
| 18560 | eval result=\$gl_cv_bitsizeof_${gltype} | ||
| 18561 | if test $result = unknown; then | ||
| 18562 | result=0 | ||
| 18563 | fi | ||
| 18564 | GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 18565 | cat >>confdefs.h <<_ACEOF | ||
| 18566 | #define BITSIZEOF_${GLTYPE} $result | ||
| 18567 | _ACEOF | ||
| 18568 | |||
| 18569 | eval BITSIZEOF_${GLTYPE}=\$result | ||
| 18570 | done | ||
| 18571 | |||
| 18572 | |||
| 18573 | |||
| 18574 | |||
| 18575 | for gltype in sig_atomic_t wchar_t wint_t ; do | ||
| 18576 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 | ||
| 18577 | $as_echo_n "checking whether $gltype is signed... " >&6; } | ||
| 18578 | if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 18579 | $as_echo_n "(cached) " >&6 | ||
| 18580 | else | ||
| 18581 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 18582 | /* end confdefs.h. */ | ||
| 18583 | |||
| 18584 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18585 | included before <wchar.h>. */ | ||
| 18586 | #include <stddef.h> | ||
| 18587 | #include <signal.h> | ||
| 18588 | #if HAVE_WCHAR_H | ||
| 18589 | # include <stdio.h> | ||
| 18590 | # include <time.h> | ||
| 18591 | # include <wchar.h> | ||
| 18592 | #endif | ||
| 18593 | |||
| 18594 | int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; | ||
| 18595 | int | ||
| 18596 | main () | ||
| 18597 | { | ||
| 18598 | |||
| 18599 | ; | ||
| 18600 | return 0; | ||
| 18601 | } | ||
| 18602 | _ACEOF | ||
| 18603 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 18604 | result=yes | ||
| 18605 | else | ||
| 18606 | result=no | ||
| 18607 | fi | ||
| 18608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18609 | eval gl_cv_type_${gltype}_signed=\$result | ||
| 18610 | |||
| 18611 | fi | ||
| 18612 | eval ac_res=\$gl_cv_type_${gltype}_signed | ||
| 18613 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 18614 | $as_echo "$ac_res" >&6; } | ||
| 18615 | eval result=\$gl_cv_type_${gltype}_signed | ||
| 18616 | GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 18617 | if test "$result" = yes; then | ||
| 18618 | cat >>confdefs.h <<_ACEOF | ||
| 18619 | #define HAVE_SIGNED_${GLTYPE} 1 | ||
| 18620 | _ACEOF | ||
| 18621 | |||
| 18622 | eval HAVE_SIGNED_${GLTYPE}=1 | ||
| 18623 | else | ||
| 18624 | eval HAVE_SIGNED_${GLTYPE}=0 | ||
| 18625 | fi | ||
| 18626 | done | ||
| 18627 | |||
| 18628 | |||
| 18629 | gl_cv_type_ptrdiff_t_signed=yes | ||
| 18630 | gl_cv_type_size_t_signed=no | ||
| 18631 | if test $APPLE_UNIVERSAL_BUILD = 0; then | ||
| 18632 | |||
| 18633 | |||
| 18634 | for gltype in ptrdiff_t size_t ; do | ||
| 18635 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 | ||
| 18636 | $as_echo_n "checking for $gltype integer literal suffix... " >&6; } | ||
| 18637 | if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 18638 | $as_echo_n "(cached) " >&6 | ||
| 18639 | else | ||
| 18640 | eval gl_cv_type_${gltype}_suffix=no | ||
| 18641 | eval result=\$gl_cv_type_${gltype}_signed | ||
| 18642 | if test "$result" = yes; then | ||
| 18643 | glsufu= | ||
| 18644 | else | ||
| 18645 | glsufu=u | ||
| 18646 | fi | ||
| 18647 | for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do | ||
| 18648 | case $glsuf in | ||
| 18649 | '') gltype1='int';; | ||
| 18650 | l) gltype1='long int';; | ||
| 18651 | ll) gltype1='long long int';; | ||
| 18652 | i64) gltype1='__int64';; | ||
| 18653 | u) gltype1='unsigned int';; | ||
| 18654 | ul) gltype1='unsigned long int';; | ||
| 18655 | ull) gltype1='unsigned long long int';; | ||
| 18656 | ui64)gltype1='unsigned __int64';; | ||
| 18657 | esac | ||
| 18658 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 18659 | /* end confdefs.h. */ | ||
| 18660 | |||
| 18661 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18662 | included before <wchar.h>. */ | ||
| 18663 | #include <stddef.h> | ||
| 18664 | #include <signal.h> | ||
| 18665 | #if HAVE_WCHAR_H | ||
| 18666 | # include <stdio.h> | ||
| 18667 | # include <time.h> | ||
| 18668 | # include <wchar.h> | ||
| 18669 | #endif | ||
| 18670 | |||
| 18671 | extern $gltype foo; | ||
| 18672 | extern $gltype1 foo; | ||
| 18673 | int | ||
| 18674 | main () | ||
| 18675 | { | ||
| 18676 | |||
| 18677 | ; | ||
| 18678 | return 0; | ||
| 18679 | } | ||
| 18680 | _ACEOF | ||
| 18681 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 18682 | eval gl_cv_type_${gltype}_suffix=\$glsuf | ||
| 18683 | fi | ||
| 18684 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18685 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 18686 | test "$result" != no && break | ||
| 18687 | done | ||
| 18688 | fi | ||
| 18689 | eval ac_res=\$gl_cv_type_${gltype}_suffix | ||
| 18690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 18691 | $as_echo "$ac_res" >&6; } | ||
| 18692 | GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 18693 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 18694 | test "$result" = no && result= | ||
| 18695 | eval ${GLTYPE}_SUFFIX=\$result | ||
| 18696 | cat >>confdefs.h <<_ACEOF | ||
| 18697 | #define ${GLTYPE}_SUFFIX $result | ||
| 18698 | _ACEOF | ||
| 18699 | |||
| 18700 | done | ||
| 18701 | |||
| 18702 | |||
| 18703 | fi | ||
| 18704 | |||
| 18705 | |||
| 18706 | for gltype in sig_atomic_t wchar_t wint_t ; do | ||
| 18707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 | ||
| 18708 | $as_echo_n "checking for $gltype integer literal suffix... " >&6; } | ||
| 18709 | if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 18710 | $as_echo_n "(cached) " >&6 | ||
| 18711 | else | ||
| 18712 | eval gl_cv_type_${gltype}_suffix=no | ||
| 18713 | eval result=\$gl_cv_type_${gltype}_signed | ||
| 18714 | if test "$result" = yes; then | ||
| 18715 | glsufu= | ||
| 18716 | else | ||
| 18717 | glsufu=u | ||
| 18718 | fi | ||
| 18719 | for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do | ||
| 18720 | case $glsuf in | ||
| 18721 | '') gltype1='int';; | ||
| 18722 | l) gltype1='long int';; | ||
| 18723 | ll) gltype1='long long int';; | ||
| 18724 | i64) gltype1='__int64';; | ||
| 18725 | u) gltype1='unsigned int';; | ||
| 18726 | ul) gltype1='unsigned long int';; | ||
| 18727 | ull) gltype1='unsigned long long int';; | ||
| 18728 | ui64)gltype1='unsigned __int64';; | ||
| 18729 | esac | ||
| 18730 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 18731 | /* end confdefs.h. */ | ||
| 18732 | |||
| 18733 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | ||
| 18734 | included before <wchar.h>. */ | ||
| 18735 | #include <stddef.h> | ||
| 18736 | #include <signal.h> | ||
| 18737 | #if HAVE_WCHAR_H | ||
| 18738 | # include <stdio.h> | ||
| 18739 | # include <time.h> | ||
| 18740 | # include <wchar.h> | ||
| 18741 | #endif | ||
| 18742 | |||
| 18743 | extern $gltype foo; | ||
| 18744 | extern $gltype1 foo; | ||
| 18745 | int | ||
| 18746 | main () | ||
| 18747 | { | ||
| 18748 | |||
| 18749 | ; | ||
| 18750 | return 0; | ||
| 18751 | } | ||
| 18752 | _ACEOF | ||
| 18753 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 18754 | eval gl_cv_type_${gltype}_suffix=\$glsuf | ||
| 18755 | fi | ||
| 18756 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18757 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 18758 | test "$result" != no && break | ||
| 18759 | done | ||
| 18760 | fi | ||
| 18761 | eval ac_res=\$gl_cv_type_${gltype}_suffix | ||
| 18762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 18763 | $as_echo "$ac_res" >&6; } | ||
| 18764 | GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` | ||
| 18765 | eval result=\$gl_cv_type_${gltype}_suffix | ||
| 18766 | test "$result" = no && result= | ||
| 18767 | eval ${GLTYPE}_SUFFIX=\$result | ||
| 18768 | cat >>confdefs.h <<_ACEOF | ||
| 18769 | #define ${GLTYPE}_SUFFIX $result | ||
| 18770 | _ACEOF | ||
| 18771 | |||
| 18772 | done | ||
| 18773 | |||
| 18774 | |||
| 18775 | |||
| 18776 | STDINT_H=stdint.h | ||
| 18777 | fi | ||
| 18778 | |||
| 18779 | if test -n "$STDINT_H"; then | ||
| 18780 | GL_GENERATE_STDINT_H_TRUE= | ||
| 18781 | GL_GENERATE_STDINT_H_FALSE='#' | ||
| 18782 | else | ||
| 18783 | GL_GENERATE_STDINT_H_TRUE='#' | ||
| 18784 | GL_GENERATE_STDINT_H_FALSE= | ||
| 18785 | fi | ||
| 18786 | |||
| 18787 | |||
| 18788 | |||
| 18789 | |||
| 18790 | 18084 | ||
| 18791 | 18085 | ||
| 18792 | 18086 | ||
| @@ -21778,10 +21072,6 @@ if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FAL | |||
| 21778 | as_fn_error "conditional \"GL_GENERATE_STDDEF_H\" was never defined. | 21072 | as_fn_error "conditional \"GL_GENERATE_STDDEF_H\" was never defined. |
| 21779 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 21073 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 21780 | fi | 21074 | fi |
| 21781 | if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then | ||
| 21782 | as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined. | ||
| 21783 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 21784 | fi | ||
| 21785 | if test -z "${gl_GNULIB_ENABLED_dosname_TRUE}" && test -z "${gl_GNULIB_ENABLED_dosname_FALSE}"; then | 21075 | if test -z "${gl_GNULIB_ENABLED_dosname_TRUE}" && test -z "${gl_GNULIB_ENABLED_dosname_FALSE}"; then |
| 21786 | as_fn_error "conditional \"gl_GNULIB_ENABLED_dosname\" was never defined. | 21076 | as_fn_error "conditional \"gl_GNULIB_ENABLED_dosname\" was never defined. |
| 21787 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 21077 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |