diff options
| author | Glenn Morris | 2012-08-25 06:17:28 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-08-25 06:17:28 -0400 |
| commit | 8966cbffe86e91f5eb47fdf88f0377ba10a9726c (patch) | |
| tree | 2ba102e3bc25a627c8df6b7a042d340c6c910b8f | |
| parent | f06029796a945db531c69f8764e2813d0744650d (diff) | |
| download | emacs-8966cbffe86e91f5eb47fdf88f0377ba10a9726c.tar.gz emacs-8966cbffe86e91f5eb47fdf88f0377ba10a9726c.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/Makefile.in | 53 | ||||
| -rw-r--r-- | autogen/aclocal.m4 | 1 | ||||
| -rw-r--r-- | autogen/config.in | 3 | ||||
| -rwxr-xr-x | autogen/configure | 105 |
4 files changed, 144 insertions, 18 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index ebcbed86fc7..58462459d6f 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | # the same distribution terms as the rest of that program. | 36 | # the same distribution terms as the rest of that program. |
| 37 | # | 37 | # |
| 38 | # Generated by gnulib-tool. | 38 | # Generated by gnulib-tool. |
| 39 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=errno --avoid=fcntl --avoid=fcntl-h --avoid=fstat --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask readlink socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timespec-add timespec-sub utimens warnings | 39 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=errno --avoid=fcntl --avoid=fcntl-h --avoid=fstat --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask readlink socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timespec-add timespec-sub utimens warnings |
| 40 | 40 | ||
| 41 | VPATH = @srcdir@ | 41 | VPATH = @srcdir@ |
| 42 | pkgdatadir = $(datadir)/@PACKAGE@ | 42 | pkgdatadir = $(datadir)/@PACKAGE@ |
| @@ -65,7 +65,8 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |||
| 65 | am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ | 65 | am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ |
| 66 | $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/c-strtod.m4 \ | 66 | $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/c-strtod.m4 \ |
| 67 | $(top_srcdir)/m4/clock_time.m4 $(top_srcdir)/m4/dup2.m4 \ | 67 | $(top_srcdir)/m4/clock_time.m4 $(top_srcdir)/m4/dup2.m4 \ |
| 68 | $(top_srcdir)/m4/environ.m4 $(top_srcdir)/m4/extensions.m4 \ | 68 | $(top_srcdir)/m4/environ.m4 $(top_srcdir)/m4/execinfo.m4 \ |
| 69 | $(top_srcdir)/m4/extensions.m4 \ | ||
| 69 | $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/filemode.m4 \ | 70 | $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/filemode.m4 \ |
| 70 | $(top_srcdir)/m4/getloadavg.m4 $(top_srcdir)/m4/getopt.m4 \ | 71 | $(top_srcdir)/m4/getloadavg.m4 $(top_srcdir)/m4/getopt.m4 \ |
| 71 | $(top_srcdir)/m4/gettime.m4 $(top_srcdir)/m4/gettimeofday.m4 \ | 72 | $(top_srcdir)/m4/gettime.m4 $(top_srcdir)/m4/gettimeofday.m4 \ |
| @@ -180,6 +181,7 @@ ECHO_C = @ECHO_C@ | |||
| 180 | ECHO_N = @ECHO_N@ | 181 | ECHO_N = @ECHO_N@ |
| 181 | ECHO_T = @ECHO_T@ | 182 | ECHO_T = @ECHO_T@ |
| 182 | EGREP = @EGREP@ | 183 | EGREP = @EGREP@ |
| 184 | EXECINFO_H = @EXECINFO_H@ | ||
| 183 | EXEEXT = @EXEEXT@ | 185 | EXEEXT = @EXEEXT@ |
| 184 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ | 186 | FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ |
| 185 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ | 187 | FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ |
| @@ -556,6 +558,7 @@ LIBXTR6 = @LIBXTR6@ | |||
| 556 | LIBXT_OTHER = @LIBXT_OTHER@ | 558 | LIBXT_OTHER = @LIBXT_OTHER@ |
| 557 | LIBX_OTHER = @LIBX_OTHER@ | 559 | LIBX_OTHER = @LIBX_OTHER@ |
| 558 | LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ | 560 | LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ |
| 561 | LIB_EXECINFO = @LIB_EXECINFO@ | ||
| 559 | LIB_GCC = @LIB_GCC@ | 562 | LIB_GCC = @LIB_GCC@ |
| 560 | LIB_MATH = @LIB_MATH@ | 563 | LIB_MATH = @LIB_MATH@ |
| 561 | LIB_PTHREAD = @LIB_PTHREAD@ | 564 | LIB_PTHREAD = @LIB_PTHREAD@ |
| @@ -845,16 +848,17 @@ x_default_search_path = @x_default_search_path@ | |||
| 845 | # statements but through direct file reference. Therefore this snippet must be | 848 | # statements but through direct file reference. Therefore this snippet must be |
| 846 | # present in all Makefile.am that need it. This is ensured by the applicability | 849 | # present in all Makefile.am that need it. This is ensured by the applicability |
| 847 | # 'all' defined above. | 850 | # 'all' defined above. |
| 848 | BUILT_SOURCES = $(ALLOCA_H) $(GETOPT_H) inttypes.h signal.h \ | 851 | BUILT_SOURCES = $(ALLOCA_H) $(EXECINFO_H) $(GETOPT_H) inttypes.h \ |
| 849 | arg-nonnull.h c++defs.h warn-on-use.h $(STDALIGN_H) \ | 852 | signal.h arg-nonnull.h c++defs.h warn-on-use.h $(STDALIGN_H) \ |
| 850 | $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h \ | 853 | $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h \ |
| 851 | stdlib.h sys/select.h sys/stat.h sys/time.h time.h unistd.h | 854 | stdlib.h sys/select.h sys/stat.h sys/time.h time.h unistd.h |
| 852 | EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \ | 855 | EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \ |
| 853 | sha256.h sha512.h dosname.h ftoastr.c ftoastr.h dup2.c \ | 856 | sha256.h sha512.h dosname.h ftoastr.c ftoastr.h dup2.c \ |
| 854 | filemode.h getloadavg.c getopt.c getopt.in.h getopt1.c \ | 857 | execinfo.c execinfo.in.h filemode.h getloadavg.c getopt.c \ |
| 855 | getopt_int.h gettimeofday.c ignore-value.h intprops.h \ | 858 | getopt.in.h getopt1.c getopt_int.h gettimeofday.c \ |
| 856 | inttypes.in.h lstat.c mktime-internal.h mktime.c pathmax.h \ | 859 | ignore-value.h intprops.h inttypes.in.h lstat.c \ |
| 857 | pselect.c pthread_sigmask.c readlink.c signal.in.h \ | 860 | mktime-internal.h mktime.c pathmax.h pselect.c \ |
| 861 | pthread_sigmask.c readlink.c signal.in.h \ | ||
| 858 | $(top_srcdir)/build-aux/snippet/_Noreturn.h \ | 862 | $(top_srcdir)/build-aux/snippet/_Noreturn.h \ |
| 859 | $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ | 863 | $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ |
| 860 | $(top_srcdir)/build-aux/snippet/c++defs.h \ | 864 | $(top_srcdir)/build-aux/snippet/c++defs.h \ |
| @@ -866,14 +870,15 @@ EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \ | |||
| 866 | sys_time.in.h time.in.h time_r.c timespec.h u64.h unistd.in.h \ | 870 | sys_time.in.h time.in.h time_r.c timespec.h u64.h unistd.in.h \ |
| 867 | utimens.h verify.h | 871 | utimens.h verify.h |
| 868 | MOSTLYCLEANDIRS = sys sys | 872 | MOSTLYCLEANDIRS = sys sys |
| 869 | MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t getopt.h \ | 873 | MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t execinfo.h \ |
| 870 | getopt.h-t inttypes.h inttypes.h-t signal.h signal.h-t \ | 874 | execinfo.h-t getopt.h getopt.h-t inttypes.h inttypes.h-t \ |
| 871 | arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t \ | 875 | signal.h signal.h-t arg-nonnull.h arg-nonnull.h-t c++defs.h \ |
| 872 | warn-on-use.h warn-on-use.h-t stdalign.h stdalign.h-t stdarg.h \ | 876 | c++defs.h-t warn-on-use.h warn-on-use.h-t stdalign.h \ |
| 873 | stdarg.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t stdint.h \ | 877 | stdalign.h-t stdarg.h stdarg.h-t stdbool.h stdbool.h-t \ |
| 874 | stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t sys/select.h \ | 878 | stddef.h stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t \ |
| 875 | sys/select.h-t sys/stat.h sys/stat.h-t sys/time.h sys/time.h-t \ | 879 | stdlib.h stdlib.h-t sys/select.h sys/select.h-t sys/stat.h \ |
| 876 | time.h time.h-t unistd.h unistd.h-t | 880 | sys/stat.h-t sys/time.h sys/time.h-t time.h time.h-t unistd.h \ |
| 881 | unistd.h-t | ||
| 877 | noinst_LIBRARIES = libgnu.a | 882 | noinst_LIBRARIES = libgnu.a |
| 878 | AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) | 883 | AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) |
| 879 | DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src | 884 | DEFAULT_INCLUDES = -I. -I$(top_srcdir)/lib -I../src -I$(top_srcdir)/src |
| @@ -884,8 +889,8 @@ libgnu_a_SOURCES = allocator.c c-ctype.h c-ctype.c c-strcase.h \ | |||
| 884 | timespec-add.c timespec-sub.c u64.c utimens.c | 889 | timespec-add.c timespec-sub.c u64.c utimens.c |
| 885 | libgnu_a_LIBADD = $(gl_LIBOBJS) | 890 | libgnu_a_LIBADD = $(gl_LIBOBJS) |
| 886 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | 891 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) |
| 887 | EXTRA_libgnu_a_SOURCES = ftoastr.c dup2.c getloadavg.c getopt.c \ | 892 | EXTRA_libgnu_a_SOURCES = ftoastr.c dup2.c execinfo.c getloadavg.c \ |
| 888 | getopt1.c gettimeofday.c lstat.c mktime.c pselect.c \ | 893 | getopt.c getopt1.c gettimeofday.c lstat.c mktime.c pselect.c \ |
| 889 | pthread_sigmask.c readlink.c stat.c strtoimax.c strtol.c \ | 894 | pthread_sigmask.c readlink.c stat.c strtoimax.c strtol.c \ |
| 890 | strtoll.c strtol.c strtoul.c strtoull.c strtoimax.c \ | 895 | strtoll.c strtol.c strtoul.c strtoull.c strtoimax.c \ |
| 891 | strtoumax.c symlink.c time_r.c | 896 | strtoumax.c symlink.c time_r.c |
| @@ -954,6 +959,7 @@ distclean-compile: | |||
| 954 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dtoastr.Po@am__quote@ | 959 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dtoastr.Po@am__quote@ |
| 955 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dtotimespec.Po@am__quote@ | 960 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dtotimespec.Po@am__quote@ |
| 956 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Po@am__quote@ | 961 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dup2.Po@am__quote@ |
| 962 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execinfo.Po@am__quote@ | ||
| 957 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemode.Po@am__quote@ | 963 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemode.Po@am__quote@ |
| 958 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftoastr.Po@am__quote@ | 964 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftoastr.Po@am__quote@ |
| 959 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getloadavg.Po@am__quote@ | 965 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getloadavg.Po@am__quote@ |
| @@ -1213,6 +1219,17 @@ uninstall-am: | |||
| 1213 | @GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status | 1219 | @GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status |
| 1214 | @GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ | 1220 | @GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ |
| 1215 | 1221 | ||
| 1222 | # We need the following in order to create <execinfo.h> when the system | ||
| 1223 | # doesn't have one that works. | ||
| 1224 | @GL_GENERATE_EXECINFO_H_TRUE@execinfo.h: execinfo.in.h $(top_builddir)/config.status | ||
| 1225 | @GL_GENERATE_EXECINFO_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 1226 | @GL_GENERATE_EXECINFO_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 1227 | @GL_GENERATE_EXECINFO_H_TRUE@ cat $(srcdir)/execinfo.in.h; \ | ||
| 1228 | @GL_GENERATE_EXECINFO_H_TRUE@ } > $@-t && \ | ||
| 1229 | @GL_GENERATE_EXECINFO_H_TRUE@ mv $@-t $@ | ||
| 1230 | @GL_GENERATE_EXECINFO_H_FALSE@execinfo.h: $(top_builddir)/config.status | ||
| 1231 | @GL_GENERATE_EXECINFO_H_FALSE@ rm -f $@ | ||
| 1232 | |||
| 1216 | # We need the following in order to create <getopt.h> when the system | 1233 | # We need the following in order to create <getopt.h> when the system |
| 1217 | # doesn't have one that works with the given compiler. | 1234 | # doesn't have one that works with the given compiler. |
| 1218 | getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) | 1235 | getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) |
diff --git a/autogen/aclocal.m4 b/autogen/aclocal.m4 index f7ef80bb805..38f7863ba9d 100644 --- a/autogen/aclocal.m4 +++ b/autogen/aclocal.m4 | |||
| @@ -990,6 +990,7 @@ m4_include([m4/c-strtod.m4]) | |||
| 990 | m4_include([m4/clock_time.m4]) | 990 | m4_include([m4/clock_time.m4]) |
| 991 | m4_include([m4/dup2.m4]) | 991 | m4_include([m4/dup2.m4]) |
| 992 | m4_include([m4/environ.m4]) | 992 | m4_include([m4/environ.m4]) |
| 993 | m4_include([m4/execinfo.m4]) | ||
| 993 | m4_include([m4/extensions.m4]) | 994 | m4_include([m4/extensions.m4]) |
| 994 | m4_include([m4/extern-inline.m4]) | 995 | m4_include([m4/extern-inline.m4]) |
| 995 | m4_include([m4/filemode.m4]) | 996 | m4_include([m4/filemode.m4]) |
diff --git a/autogen/config.in b/autogen/config.in index 9b208cc513a..8cda73e6cbe 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -358,6 +358,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 358 | /* Define to 1 if you have the `euidaccess' function. */ | 358 | /* Define to 1 if you have the `euidaccess' function. */ |
| 359 | #undef HAVE_EUIDACCESS | 359 | #undef HAVE_EUIDACCESS |
| 360 | 360 | ||
| 361 | /* Define to 1 if you have the <execinfo.h> header file. */ | ||
| 362 | #undef HAVE_EXECINFO_H | ||
| 363 | |||
| 361 | /* Define to 1 if you have the <fcntl.h> header file. */ | 364 | /* Define to 1 if you have the <fcntl.h> header file. */ |
| 362 | #undef HAVE_FCNTL_H | 365 | #undef HAVE_FCNTL_H |
| 363 | 366 | ||
diff --git a/autogen/configure b/autogen/configure index 7a94dcb7598..7c22a3fbece 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -971,6 +971,10 @@ GNULIB_CANONICALIZE_FILE_NAME | |||
| 971 | GNULIB_CALLOC_POSIX | 971 | GNULIB_CALLOC_POSIX |
| 972 | GNULIB_ATOLL | 972 | GNULIB_ATOLL |
| 973 | GNULIB__EXIT | 973 | GNULIB__EXIT |
| 974 | GL_GENERATE_EXECINFO_H_FALSE | ||
| 975 | GL_GENERATE_EXECINFO_H_TRUE | ||
| 976 | LIB_EXECINFO | ||
| 977 | EXECINFO_H | ||
| 974 | UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS | 978 | UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS |
| 975 | UNISTD_H_HAVE_WINSOCK2_H | 979 | UNISTD_H_HAVE_WINSOCK2_H |
| 976 | REPLACE_WRITE | 980 | REPLACE_WRITE |
| @@ -3194,6 +3198,7 @@ as_fn_append ac_header_list " maillock.h" | |||
| 3194 | as_fn_append ac_header_list " sys/un.h" | 3198 | as_fn_append ac_header_list " sys/un.h" |
| 3195 | as_fn_append ac_func_list " tzset" | 3199 | as_fn_append ac_func_list " tzset" |
| 3196 | as_fn_append ac_func_list " readlinkat" | 3200 | as_fn_append ac_func_list " readlinkat" |
| 3201 | as_fn_append ac_header_list " execinfo.h" | ||
| 3197 | gl_getopt_required=GNU | 3202 | gl_getopt_required=GNU |
| 3198 | as_fn_append ac_header_list " getopt.h" | 3203 | as_fn_append ac_header_list " getopt.h" |
| 3199 | as_fn_append ac_func_list " gettimeofday" | 3204 | as_fn_append ac_func_list " gettimeofday" |
| @@ -6956,6 +6961,7 @@ esac | |||
| 6956 | # Code from module dtotimespec: | 6961 | # Code from module dtotimespec: |
| 6957 | # Code from module dup2: | 6962 | # Code from module dup2: |
| 6958 | # Code from module environ: | 6963 | # Code from module environ: |
| 6964 | # Code from module execinfo: | ||
| 6959 | # Code from module extensions: | 6965 | # Code from module extensions: |
| 6960 | 6966 | ||
| 6961 | # Code from module extern-inline: | 6967 | # Code from module extern-inline: |
| @@ -16464,6 +16470,8 @@ $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h | |||
| 16464 | 16470 | ||
| 16465 | 16471 | ||
| 16466 | 16472 | ||
| 16473 | |||
| 16474 | |||
| 16467 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5 | 16475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5 |
| 16468 | $as_echo_n "checking for st_dm_mode in struct stat... " >&6; } | 16476 | $as_echo_n "checking for st_dm_mode in struct stat... " >&6; } |
| 16469 | if test "${ac_cv_struct_st_dm_mode+set}" = set; then : | 16477 | if test "${ac_cv_struct_st_dm_mode+set}" = set; then : |
| @@ -20100,6 +20108,99 @@ $as_echo "$gl_cv_func_dup2_works" >&6; } | |||
| 20100 | 20108 | ||
| 20101 | 20109 | ||
| 20102 | 20110 | ||
| 20111 | LIB_EXECINFO='' | ||
| 20112 | EXECINFO_H='execinfo.h' | ||
| 20113 | |||
| 20114 | if test $ac_cv_header_execinfo_h = yes; then | ||
| 20115 | gl_saved_libs=$LIBS | ||
| 20116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace_symbols_fd" >&5 | ||
| 20117 | $as_echo_n "checking for library containing backtrace_symbols_fd... " >&6; } | ||
| 20118 | if test "${ac_cv_search_backtrace_symbols_fd+set}" = set; then : | ||
| 20119 | $as_echo_n "(cached) " >&6 | ||
| 20120 | else | ||
| 20121 | ac_func_search_save_LIBS=$LIBS | ||
| 20122 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 20123 | /* end confdefs.h. */ | ||
| 20124 | |||
| 20125 | /* Override any GCC internal prototype to avoid an error. | ||
| 20126 | Use char because int might match the return type of a GCC | ||
| 20127 | builtin and then its argument prototype would still apply. */ | ||
| 20128 | #ifdef __cplusplus | ||
| 20129 | extern "C" | ||
| 20130 | #endif | ||
| 20131 | char backtrace_symbols_fd (); | ||
| 20132 | int | ||
| 20133 | main () | ||
| 20134 | { | ||
| 20135 | return backtrace_symbols_fd (); | ||
| 20136 | ; | ||
| 20137 | return 0; | ||
| 20138 | } | ||
| 20139 | _ACEOF | ||
| 20140 | for ac_lib in '' execinfo; do | ||
| 20141 | if test -z "$ac_lib"; then | ||
| 20142 | ac_res="none required" | ||
| 20143 | else | ||
| 20144 | ac_res=-l$ac_lib | ||
| 20145 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
| 20146 | fi | ||
| 20147 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 20148 | ac_cv_search_backtrace_symbols_fd=$ac_res | ||
| 20149 | fi | ||
| 20150 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 20151 | conftest$ac_exeext | ||
| 20152 | if test "${ac_cv_search_backtrace_symbols_fd+set}" = set; then : | ||
| 20153 | break | ||
| 20154 | fi | ||
| 20155 | done | ||
| 20156 | if test "${ac_cv_search_backtrace_symbols_fd+set}" = set; then : | ||
| 20157 | |||
| 20158 | else | ||
| 20159 | ac_cv_search_backtrace_symbols_fd=no | ||
| 20160 | fi | ||
| 20161 | rm conftest.$ac_ext | ||
| 20162 | LIBS=$ac_func_search_save_LIBS | ||
| 20163 | fi | ||
| 20164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace_symbols_fd" >&5 | ||
| 20165 | $as_echo "$ac_cv_search_backtrace_symbols_fd" >&6; } | ||
| 20166 | ac_res=$ac_cv_search_backtrace_symbols_fd | ||
| 20167 | if test "$ac_res" != no; then : | ||
| 20168 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
| 20169 | test "$ac_cv_search_backtrace_symbols_fd" = "none required" || | ||
| 20170 | LIB_EXECINFO=$ac_cv_search_backtrace_symbols_fd | ||
| 20171 | fi | ||
| 20172 | |||
| 20173 | LIBS=$gl_saved_libs | ||
| 20174 | test "$ac_cv_search_backtrace_symbols_fd" = no || EXECINFO_H='' | ||
| 20175 | fi | ||
| 20176 | |||
| 20177 | if test -n "$EXECINFO_H"; then | ||
| 20178 | |||
| 20179 | |||
| 20180 | |||
| 20181 | |||
| 20182 | |||
| 20183 | |||
| 20184 | |||
| 20185 | |||
| 20186 | gl_LIBOBJS="$gl_LIBOBJS execinfo.$ac_objext" | ||
| 20187 | |||
| 20188 | fi | ||
| 20189 | |||
| 20190 | |||
| 20191 | |||
| 20192 | if test -n "$EXECINFO_H"; then | ||
| 20193 | GL_GENERATE_EXECINFO_H_TRUE= | ||
| 20194 | GL_GENERATE_EXECINFO_H_FALSE='#' | ||
| 20195 | else | ||
| 20196 | GL_GENERATE_EXECINFO_H_TRUE='#' | ||
| 20197 | GL_GENERATE_EXECINFO_H_FALSE= | ||
| 20198 | fi | ||
| 20199 | |||
| 20200 | |||
| 20201 | |||
| 20202 | |||
| 20203 | |||
| 20103 | 20204 | ||
| 20104 | 20205 | ||
| 20105 | 20206 | ||
| @@ -24190,6 +24291,10 @@ if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FAL | |||
| 24190 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 24291 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 24191 | fi | 24292 | fi |
| 24192 | 24293 | ||
| 24294 | if test -z "${GL_GENERATE_EXECINFO_H_TRUE}" && test -z "${GL_GENERATE_EXECINFO_H_FALSE}"; then | ||
| 24295 | as_fn_error "conditional \"GL_GENERATE_EXECINFO_H\" was never defined. | ||
| 24296 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 24297 | fi | ||
| 24193 | if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then | 24298 | if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then |
| 24194 | as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined. | 24299 | as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined. |
| 24195 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 24300 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |