aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2011-09-07 01:42:17 +0200
committerJoakim Verona2011-09-07 01:42:17 +0200
commitbe81ea9a3709c042369aa6ffc6fee83448677251 (patch)
tree2f74495859302056045b03a2284ff6110951d2a3
parent1b07d72dd2687ebddf2f5d8c5538a2b43bc6d13a (diff)
parentc8199d0f9eb45a99de074ec10b893f737f738cd8 (diff)
downloademacs-be81ea9a3709c042369aa6ffc6fee83448677251.tar.gz
emacs-be81ea9a3709c042369aa6ffc6fee83448677251.zip
upstream
-rw-r--r--ChangeLog52
-rw-r--r--Makefile.in7
-rw-r--r--admin/ChangeLog9
-rw-r--r--admin/notes/copyright21
-rw-r--r--autogen/Makefile.in120
-rw-r--r--autogen/README12
-rw-r--r--autogen/aclocal.m46
-rw-r--r--autogen/config.in36
-rwxr-xr-xautogen/configure2894
-rwxr-xr-xautogen/copy_autogen2
-rwxr-xr-xautogen/update_autogen6
-rwxr-xr-xbuild-aux/move-if-change (renamed from move-if-change)0
-rw-r--r--build-aux/snippet/_Noreturn.h10
-rw-r--r--build-aux/snippet/arg-nonnull.h (renamed from arg-nonnull.h)0
-rw-r--r--build-aux/snippet/c++defs.h (renamed from c++defs.h)0
-rw-r--r--build-aux/snippet/warn-on-use.h (renamed from warn-on-use.h)0
-rw-r--r--config.bat4
-rw-r--r--configure.in3
-rw-r--r--doc/misc/texinfo.tex14
-rw-r--r--leim/ChangeLog4
-rw-r--r--leim/Makefile.in2
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/Makefile.in4
-rw-r--r--lib/gnulib.mk154
-rw-r--r--lib/lstat.c5
-rw-r--r--lib/makefile.w32-in2
-rw-r--r--lib/pthread_sigmask.c40
-rw-r--r--lib/stat.c5
-rw-r--r--lib/stdlib.in.h8
-rw-r--r--lib/unistd.in.h3
-rw-r--r--m4/dup2.m423
-rw-r--r--m4/extensions.m47
-rw-r--r--m4/getopt.m44
-rw-r--r--m4/gl-comp.m437
-rw-r--r--m4/gnulib-common.m469
-rw-r--r--m4/include_next.m414
-rw-r--r--m4/largefile.m4104
-rw-r--r--m4/nocrash.m4102
-rw-r--r--m4/pthread_sigmask.m4240
-rw-r--r--m4/strtoimax.m46
-rw-r--r--m4/strtoumax.m46
-rwxr-xr-xmake-dist20
-rw-r--r--msdos/ChangeLog5
-rw-r--r--msdos/sedlibmk.inp8
-rw-r--r--src/ChangeLog39
-rw-r--r--src/Makefile.in2
-rw-r--r--src/buffer.h2
-rw-r--r--src/fileio.c92
-rw-r--r--src/floatfns.c7
49 files changed, 3227 insertions, 988 deletions
diff --git a/ChangeLog b/ChangeLog
index aae3e190049..437c6dba2f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,55 @@
12011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 * configure.in (isnan): Remove now-unnecessary check.
4
52011-09-06 Paul Eggert <eggert@cs.ucla.edu>
6
7 Merge from gnulib, using build-aux to remove clutter (Bug#9169).
8 This is to fix the following problems:
9 . On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is
10 configured not to use gtk or any other thread-using library,
11 signals aren't blocked correctly.
12 . On IRIX 6.5 it fixes an unwanted clash between Emacs's
13 and IRIX's signal handling.
14 . On Cygwin 1.7.5 it works around an incompatibility with
15 the system pthread_sigmask.
16 . On MacOS X 10.5 (32-bit), files whose inode numbers
17 exceed 2**31 cannot be read or manipulated.
18 . pthread_sigmask: Actually use results of gl_THREADLIB.
19 . strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc.
20 . find 'ar' program that fits with --host argument.
21 . Allow the user to override the choice of AR, ARFLAGS, RANLIB.
22 * autogen/README: Update destination list.
23 * autogen/copy_autogen, autogen/update_autogen, .bzrignore:
24 The autogenerated files compile, config.guess,
25 config.sub, depcomp, install-sh, and missing are now in build-aux.
26 * m4/largefile.m4: New file, so that Emacs does not mess up when
27 accessing files with large inode numbers in MacOS X 10.5 and later.
28 * m4/nocrash.m4: New file, to avoid triggering background debugger
29 and/or create core dumps during 'configure'.
30 * build-aux/move-if-change: Renamed from move-if-change.
31 * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
32 * build-aux/snippet/c++defs.h: Renamed from c++defs.h.
33 * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
34 * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
35 * Makefile.in (epaths-force, sync-from-gnulib):
36 move-if-change is now in build-aux.
37 (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
38 of gnulib's pthread_sigmask module, but Emacs doesn't need it.
39 (mkdir): install-sh is now in build-aux.
40 * config.bat: c++defs.h is now in build-aux/snippets.
41 * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
42 usual parameter).
43 * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
44 * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
45 to build-aux/snippet.
46 * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
47 * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
48 Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and
49 Solaris, enables MacOS extensions, and enables nocrash during
50 'configure'.
51 * make-dist: Adjust to new build-aux and build-aux/snippit dirs.
52
12011-09-04 Paul Eggert <eggert@cs.ucla.edu> 532011-09-04 Paul Eggert <eggert@cs.ucla.edu>
2 54
3 * configure.in (snprintf): New check. 55 * configure.in (snprintf): New check.
diff --git a/Makefile.in b/Makefile.in
index ce7f3f1a3d8..29e20298daf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -300,7 +300,7 @@ epaths-force: FRC
300 -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \ 300 -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \
301 -e 's;\(#.*PATH_GAME\).*$$;\1 "${gamedir}";' \ 301 -e 's;\(#.*PATH_GAME\).*$$;\1 "${gamedir}";' \
302 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \ 302 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \
303 ${srcdir}/move-if-change epaths.h.$$$$ src/epaths.h 303 ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h
304 304
305# For parallel make, src should be built before leim. 305# For parallel make, src should be built before leim.
306# "export PARALLEL=0" is for SGI's Make, to prevent it from 306# "export PARALLEL=0" is for SGI's Make, to prevent it from
@@ -339,6 +339,7 @@ GNULIB_MODULES = \
339 mktime pthread_sigmask readlink \ 339 mktime pthread_sigmask readlink \
340 socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat 340 socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat
341GNULIB_TOOL_FLAGS = \ 341GNULIB_TOOL_FLAGS = \
342 --avoid=threadlib \
342 --conditional-dependencies --import --no-changelog --no-vc-files \ 343 --conditional-dependencies --import --no-changelog --no-vc-files \
343 --makefile-name=gnulib.mk 344 --makefile-name=gnulib.mk
344sync-from-gnulib: $(gnulib_srcdir) 345sync-from-gnulib: $(gnulib_srcdir)
@@ -350,7 +351,7 @@ sync-from-gnulib: $(gnulib_srcdir)
350 cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc 351 cp $(gnulib_srcdir)/build-aux/texinfo.tex $(srcdir)/doc/misc
351 cp \ 352 cp \
352 $(gnulib_srcdir)/build-aux/move-if-change \ 353 $(gnulib_srcdir)/build-aux/move-if-change \
353 $(srcdir) 354 $(srcdir)/build-aux
354 cd $(srcdir) && autoreconf -i -I m4 355 cd $(srcdir) && autoreconf -i -I m4
355.PHONY: sync-from-gnulib 356.PHONY: sync-from-gnulib
356 357
@@ -688,7 +689,7 @@ mkdir: FRC
688 done ; \ 689 done ; \
689 icondirs=`echo "$${icondirs}" | sed 's,$(srcdir)/etc/images/icons,$(DESTDIR)${icondir},g'` ; \ 690 icondirs=`echo "$${icondirs}" | sed 's,$(srcdir)/etc/images/icons,$(DESTDIR)${icondir},g'` ; \
690 umask 022 ; \ 691 umask 022 ; \
691 $(srcdir)/install-sh -d $(DESTDIR)${datadir} ${COPYDESTS} \ 692 $(srcdir)/build-aux/install-sh -d $(DESTDIR)${datadir} ${COPYDESTS} \
692 $(DESTDIR)${infodir} $(DESTDIR)${man1dir} \ 693 $(DESTDIR)${infodir} $(DESTDIR)${man1dir} \
693 $(DESTDIR)${bindir} $(DESTDIR)${docdir} $(DESTDIR)${libexecdir} \ 694 $(DESTDIR)${bindir} $(DESTDIR)${docdir} $(DESTDIR)${libexecdir} \
694 $(DESTDIR)${datadir}/emacs/site-lisp \ 695 $(DESTDIR)${datadir}/emacs/site-lisp \
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 17cbcbb3bdf..9856f38fabb 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,12 @@
12011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 Merge from gnulib (Bug#9169).
4 * notes/copyright: The files compile, config.guess, config.sub,
5 depcomp, install-sh, missing, and move-if-change are now in the
6 new build-aux subdirectory. The files arg-nonnull.h, c++defs.h,
7 and warn-on-use.h are now in build-aux/snippets. New file
8 build-aux/snippets/_Noreturn.h.
9
12011-08-23 Eli Zaretskii <eliz@gnu.org> 102011-08-23 Eli Zaretskii <eliz@gnu.org>
2 11
3 * unidata/unidata-gen.el (unidata-prop-alist): Update the default 12 * unidata/unidata-gen.el (unidata-prop-alist): Update the default
diff --git a/admin/notes/copyright b/admin/notes/copyright
index 39eb003a07d..f4d22f9b270 100644
--- a/admin/notes/copyright
+++ b/admin/notes/copyright
@@ -143,7 +143,7 @@ m4/*.m4
143lib/Makefile.in 143lib/Makefile.in
144 - copyright FSF, with MIT-like license 144 - copyright FSF, with MIT-like license
145 145
146install-sh 146build-aux/install-sh
147 - this file is copyright MIT, which is OK. Leave the copyright alone. 147 - this file is copyright MIT, which is OK. Leave the copyright alone.
148 148
149etc/refcards/*.tex 149etc/refcards/*.tex
@@ -545,16 +545,17 @@ of writing) GPL >= 2. rms says may as well leave the licenses of these
545alone (may import them from Gnulib again). These are: 545alone (may import them from Gnulib again). These are:
546 546
547 Gnulib: 547 Gnulib:
548 arg-nonnull.h 548 build-aux/compile
549 c++defs.h 549 build-aux/config.guess
550 compile 550 build-aux/config.sub
551 config.guess 551 build-aux/depcomp
552 config.sub 552 build-aux/missing
553 depcomp 553 build-aux/move-if-change
554 build-aux/snippet/_Noreturn.h
555 build-aux/snippet/arg-nonnull.h
556 build-aux/snippet/c++defs.h
557 build-aux/snippet/warn-on-use.h
554 doc/man/texinfo.tex 558 doc/man/texinfo.tex
555 missing
556 move-if-change
557 warn-on-use.h
558 lib/*.[ch] 559 lib/*.[ch]
559 lib/gnulib.mk 560 lib/gnulib.mk
560 src/gmalloc.c 561 src/gmalloc.c
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index 5b28ad0808b..4e4fd344672 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -24,7 +24,7 @@
24# the same distribution terms as the rest of that program. 24# the same distribution terms as the rest of that program.
25# 25#
26# Generated by gnulib-tool. 26# Generated by gnulib-tool.
27# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat 27# 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=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat
28 28
29VPATH = @srcdir@ 29VPATH = @srcdir@
30pkgdatadir = $(datadir)/@PACKAGE@ 30pkgdatadir = $(datadir)/@PACKAGE@
@@ -57,9 +57,10 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
57 $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gl-comp.m4 \ 57 $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gl-comp.m4 \
58 $(top_srcdir)/m4/gnulib-common.m4 \ 58 $(top_srcdir)/m4/gnulib-common.m4 \
59 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inttypes.m4 \ 59 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inttypes.m4 \
60 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lstat.m4 \ 60 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/longlong.m4 \
61 $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/mktime.m4 \ 61 $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/md5.m4 \
62 $(top_srcdir)/m4/multiarch.m4 \ 62 $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/multiarch.m4 \
63 $(top_srcdir)/m4/nocrash.m4 \
63 $(top_srcdir)/m4/pthread_sigmask.m4 \ 64 $(top_srcdir)/m4/pthread_sigmask.m4 \
64 $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/sha1.m4 \ 65 $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/sha1.m4 \
65 $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \ 66 $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \
@@ -83,8 +84,6 @@ CONFIG_HEADER = $(top_builddir)/src/config.h
83CONFIG_CLEAN_FILES = 84CONFIG_CLEAN_FILES =
84CONFIG_CLEAN_VPATH_FILES = 85CONFIG_CLEAN_VPATH_FILES =
85LIBRARIES = $(noinst_LIBRARIES) 86LIBRARIES = $(noinst_LIBRARIES)
86AR = ar
87ARFLAGS = cru
88libgnu_a_AR = $(AR) $(ARFLAGS) 87libgnu_a_AR = $(AR) $(ARFLAGS)
89am__DEPENDENCIES_1 = 88am__DEPENDENCIES_1 =
90am__libgnu_a_SOURCES_DIST = allocator.c careadlinkat.c md5.c sha1.c \ 89am__libgnu_a_SOURCES_DIST = allocator.c careadlinkat.c md5.c sha1.c \
@@ -95,7 +94,7 @@ am_libgnu_a_OBJECTS = allocator.$(OBJEXT) careadlinkat.$(OBJEXT) \
95 dtoastr.$(OBJEXT) filemode.$(OBJEXT) $(am__objects_1) \ 94 dtoastr.$(OBJEXT) filemode.$(OBJEXT) $(am__objects_1) \
96 strftime.$(OBJEXT) 95 strftime.$(OBJEXT)
97libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS) 96libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS)
98depcomp = $(SHELL) $(top_srcdir)/depcomp 97depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
99am__depfiles_maybe = depfiles 98am__depfiles_maybe = depfiles
100am__mv = mv -f 99am__mv = mv -f
101COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 100COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
@@ -114,6 +113,8 @@ ALSA_CFLAGS = @ALSA_CFLAGS@
114ALSA_LIBS = @ALSA_LIBS@ 113ALSA_LIBS = @ALSA_LIBS@
115AMTAR = @AMTAR@ 114AMTAR = @AMTAR@
116APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ 115APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
116AR = @AR@
117ARFLAGS = @ARFLAGS@
117AUTOCONF = @AUTOCONF@ 118AUTOCONF = @AUTOCONF@
118AUTOHEADER = @AUTOHEADER@ 119AUTOHEADER = @AUTOHEADER@
119AUTOMAKE = @AUTOMAKE@ 120AUTOMAKE = @AUTOMAKE@
@@ -759,30 +760,32 @@ x_default_search_path = @x_default_search_path@
759# statements but through direct file reference. Therefore this snippet must be 760# statements but through direct file reference. Therefore this snippet must be
760# present in all Makefile.am that need it. This is ensured by the applicability 761# present in all Makefile.am that need it. This is ensured by the applicability
761# 'all' defined above. 762# 'all' defined above.
762BUILT_SOURCES = $(ALLOCA_H) arg-nonnull.h c++defs.h $(GETOPT_H) \ 763BUILT_SOURCES = $(ALLOCA_H) $(GETOPT_H) inttypes.h signal.h \
763 inttypes.h signal.h $(STDARG_H) $(STDBOOL_H) $(STDDEF_H) \ 764 arg-nonnull.h c++defs.h warn-on-use.h $(STDARG_H) $(STDBOOL_H) \
764 $(STDINT_H) stdio.h stdlib.h sys/stat.h time.h unistd.h \ 765 $(STDDEF_H) $(STDINT_H) stdio.h stdlib.h sys/stat.h time.h \
765 warn-on-use.h 766 unistd.h
766EXTRA_DIST = alloca.in.h allocator.h $(top_srcdir)/./arg-nonnull.h \ 767EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h md5.h sha1.h \
767 $(top_srcdir)/./c++defs.h careadlinkat.h md5.h sha1.h sha256.h \ 768 sha256.h sha512.h dosname.h ftoastr.c ftoastr.h dup2.c \
768 sha512.h dosname.h ftoastr.c ftoastr.h dup2.c filemode.h \ 769 filemode.h getloadavg.c getopt.c getopt.in.h getopt1.c \
769 getloadavg.c getopt.c getopt.in.h getopt1.c getopt_int.h \ 770 getopt_int.h ignore-value.h intprops.h inttypes.in.h lstat.c \
770 ignore-value.h intprops.h inttypes.in.h lstat.c \
771 mktime-internal.h mktime.c pthread_sigmask.c readlink.c \ 771 mktime-internal.h mktime.c pthread_sigmask.c readlink.c \
772 signal.in.h sigprocmask.c stat.c stdarg.in.h stdbool.in.h \ 772 signal.in.h sigprocmask.c \
773 stddef.in.h stdint.in.h stdio.in.h stdlib.in.h strftime.h \ 773 $(top_srcdir)/build-aux/snippet/_Noreturn.h \
774 strtoimax.c strtol.c strtoll.c strtol.c strtoul.c strtoull.c \ 774 $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
775 strtoimax.c strtoumax.c symlink.c sys_stat.in.h time.in.h \ 775 $(top_srcdir)/build-aux/snippet/c++defs.h \
776 time_r.c u64.h unistd.in.h verify.h \ 776 $(top_srcdir)/build-aux/snippet/warn-on-use.h stat.c \
777 $(top_srcdir)/./warn-on-use.h 777 stdarg.in.h stdbool.in.h stddef.in.h stdint.in.h stdio.in.h \
778 stdlib.in.h strftime.h strtoimax.c strtol.c strtoll.c strtol.c \
779 strtoul.c strtoull.c strtoimax.c strtoumax.c symlink.c \
780 sys_stat.in.h time.in.h time_r.c u64.h unistd.in.h verify.h
778MOSTLYCLEANDIRS = sys 781MOSTLYCLEANDIRS = sys
779MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t arg-nonnull.h \ 782MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t getopt.h \
780 arg-nonnull.h-t c++defs.h c++defs.h-t getopt.h getopt.h-t \ 783 getopt.h-t inttypes.h inttypes.h-t signal.h signal.h-t \
781 inttypes.h inttypes.h-t signal.h signal.h-t stdarg.h \ 784 arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t \
782 stdarg.h-t stdbool.h stdbool.h-t stddef.h stddef.h-t stdint.h \ 785 warn-on-use.h warn-on-use.h-t stdarg.h stdarg.h-t stdbool.h \
783 stdint.h-t stdio.h stdio.h-t stdlib.h stdlib.h-t sys/stat.h \ 786 stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h \
784 sys/stat.h-t time.h time.h-t unistd.h unistd.h-t warn-on-use.h \ 787 stdio.h-t stdlib.h stdlib.h-t sys/stat.h sys/stat.h-t time.h \
785 warn-on-use.h-t 788 time.h-t unistd.h unistd.h-t
786noinst_LIBRARIES = libgnu.a 789noinst_LIBRARIES = libgnu.a
787DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src 790DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src
788libgnu_a_SOURCES = allocator.c careadlinkat.c md5.c sha1.c sha256.c \ 791libgnu_a_SOURCES = allocator.c careadlinkat.c md5.c sha1.c sha256.c \
@@ -794,6 +797,11 @@ EXTRA_libgnu_a_SOURCES = ftoastr.c dup2.c getloadavg.c getopt.c \
794 sigprocmask.c stat.c strtoimax.c strtol.c strtoll.c strtol.c \ 797 sigprocmask.c stat.c strtoimax.c strtol.c strtoll.c strtol.c \
795 strtoul.c strtoull.c strtoimax.c strtoumax.c symlink.c \ 798 strtoul.c strtoull.c strtoimax.c strtoumax.c symlink.c \
796 time_r.c 799 time_r.c
800
801# Because this Makefile snippet defines a variable used by other
802# gnulib Makefile snippets, it must be present in all Makefile.am that
803# need it. This is ensured by the applicability 'all' defined above.
804_NORETURN_H = $(top_srcdir)/build-aux/snippet/_Noreturn.h
797ARG_NONNULL_H = arg-nonnull.h 805ARG_NONNULL_H = arg-nonnull.h
798CXXDEFS_H = c++defs.h 806CXXDEFS_H = c++defs.h
799WARN_ON_USE_H = warn-on-use.h 807WARN_ON_USE_H = warn-on-use.h
@@ -1100,22 +1108,6 @@ uninstall-am:
1100@GL_GENERATE_ALLOCA_H_TRUE@ mv -f $@-t $@ 1108@GL_GENERATE_ALLOCA_H_TRUE@ mv -f $@-t $@
1101@GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status 1109@GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status
1102@GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ 1110@GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@
1103# The arg-nonnull.h that gets inserted into generated .h files is the same as
1104# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
1105arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
1106 $(AM_V_GEN)rm -f $@-t $@ && \
1107 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1108 < $(top_srcdir)/./arg-nonnull.h \
1109 > $@-t && \
1110 mv $@-t $@
1111# The c++defs.h that gets inserted into generated .h files is the same as
1112# build-aux/c++defs.h, except that it has the copyright header cut off.
1113c++defs.h: $(top_srcdir)/./c++defs.h
1114 $(AM_V_GEN)rm -f $@-t $@ && \
1115 sed -n -e '/_GL_CXXDEFS/,$$p' \
1116 < $(top_srcdir)/./c++defs.h \
1117 > $@-t && \
1118 mv $@-t $@
1119 1111
1120# We need the following in order to create <getopt.h> when the system 1112# We need the following in order to create <getopt.h> when the system
1121# doesn't have one that works with the given compiler. 1113# doesn't have one that works with the given compiler.
@@ -1195,6 +1187,32 @@ signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1195 < $(srcdir)/signal.in.h; \ 1187 < $(srcdir)/signal.in.h; \
1196 } > $@-t && \ 1188 } > $@-t && \
1197 mv $@-t $@ 1189 mv $@-t $@
1190# The arg-nonnull.h that gets inserted into generated .h files is the same as
1191# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1192# off.
1193arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1194 $(AM_V_GEN)rm -f $@-t $@ && \
1195 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1196 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1197 > $@-t && \
1198 mv $@-t $@
1199# The c++defs.h that gets inserted into generated .h files is the same as
1200# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1201c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1202 $(AM_V_GEN)rm -f $@-t $@ && \
1203 sed -n -e '/_GL_CXXDEFS/,$$p' \
1204 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1205 > $@-t && \
1206 mv $@-t $@
1207# The warn-on-use.h that gets inserted into generated .h files is the same as
1208# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1209# off.
1210warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1211 $(AM_V_GEN)rm -f $@-t $@ && \
1212 sed -n -e '/^.ifndef/,$$p' \
1213 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1214 > $@-t && \
1215 mv $@-t $@
1198 1216
1199# We need the following in order to create <stdarg.h> when the system 1217# We need the following in order to create <stdarg.h> when the system
1200# doesn't have one that works with the given compiler. 1218# doesn't have one that works with the given compiler.
@@ -1396,7 +1414,8 @@ stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H)
1396 1414
1397# We need the following in order to create <stdlib.h> when the system 1415# We need the following in order to create <stdlib.h> when the system
1398# doesn't have one that works with the given compiler. 1416# doesn't have one that works with the given compiler.
1399stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1417stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1418 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1400 $(AM_V_GEN)rm -f $@-t $@ && \ 1419 $(AM_V_GEN)rm -f $@-t $@ && \
1401 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1420 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1402 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1421 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
@@ -1470,6 +1489,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1470 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ 1489 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1471 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ 1490 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1472 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 1491 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1492 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1473 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 1493 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1474 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 1494 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1475 } > $@-t && \ 1495 } > $@-t && \
@@ -1686,14 +1706,6 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
1686 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 1706 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1687 } > $@-t && \ 1707 } > $@-t && \
1688 mv $@-t $@ 1708 mv $@-t $@
1689# The warn-on-use.h that gets inserted into generated .h files is the same as
1690# build-aux/warn-on-use.h, except that it has the copyright header cut off.
1691warn-on-use.h: $(top_srcdir)/./warn-on-use.h
1692 $(AM_V_GEN)rm -f $@-t $@ && \
1693 sed -n -e '/^.ifndef/,$$p' \
1694 < $(top_srcdir)/./warn-on-use.h \
1695 > $@-t && \
1696 mv $@-t $@
1697 1709
1698mostlyclean-local: mostlyclean-generic 1710mostlyclean-local: mostlyclean-generic
1699 @for dir in '' $(MOSTLYCLEANDIRS); do \ 1711 @for dir in '' $(MOSTLYCLEANDIRS); do \
diff --git a/autogen/README b/autogen/README
index fd574c41cd6..d4c2236581b 100644
--- a/autogen/README
+++ b/autogen/README
@@ -7,12 +7,12 @@ configure ../ autoconf
7config.in ../src autoheader * also used by MSDOS bzr build 7config.in ../src autoheader * also used by MSDOS bzr build
8aclocal.m4 ../ aclocal 8aclocal.m4 ../ aclocal
9Makefile.in ../lib automake 9Makefile.in ../lib automake
10compile ../ automake 10compile ../build-aux automake
11config.guess ../ automake 11config.guess ../build-aux automake
12config.sub ../ automake 12config.sub ../build-aux automake
13depcomp ../ automake 13depcomp ../build-aux automake
14install-sh ../ automake 14install-sh ../build-aux automake
15missing ../ automake 15missing ../build-aux automake
16 16
17There are also some scripts: 17There are also some scripts:
18 18
diff --git a/autogen/aclocal.m4 b/autogen/aclocal.m4
index 90ed7c0a99f..1947c35212a 100644
--- a/autogen/aclocal.m4
+++ b/autogen/aclocal.m4
@@ -13,8 +13,8 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.68.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
@@ -996,11 +996,13 @@ m4_include([m4/gl-comp.m4])
996m4_include([m4/gnulib-common.m4]) 996m4_include([m4/gnulib-common.m4])
997m4_include([m4/include_next.m4]) 997m4_include([m4/include_next.m4])
998m4_include([m4/inttypes.m4]) 998m4_include([m4/inttypes.m4])
999m4_include([m4/largefile.m4])
999m4_include([m4/longlong.m4]) 1000m4_include([m4/longlong.m4])
1000m4_include([m4/lstat.m4]) 1001m4_include([m4/lstat.m4])
1001m4_include([m4/md5.m4]) 1002m4_include([m4/md5.m4])
1002m4_include([m4/mktime.m4]) 1003m4_include([m4/mktime.m4])
1003m4_include([m4/multiarch.m4]) 1004m4_include([m4/multiarch.m4])
1005m4_include([m4/nocrash.m4])
1004m4_include([m4/pthread_sigmask.m4]) 1006m4_include([m4/pthread_sigmask.m4])
1005m4_include([m4/readlink.m4]) 1007m4_include([m4/readlink.m4])
1006m4_include([m4/sha1.m4]) 1008m4_include([m4/sha1.m4])
diff --git a/autogen/config.in b/autogen/config.in
index 5a53b240ef8..a22b2afb721 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -200,7 +200,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
200/* Define to 1 if you have the <dirent.h> header file. */ 200/* Define to 1 if you have the <dirent.h> header file. */
201#undef HAVE_DIRENT_H 201#undef HAVE_DIRENT_H
202 202
203/* Define to 1 if you have the `dup2' function. */ 203/* Define to 1 if you have the 'dup2' function. */
204#undef HAVE_DUP2 204#undef HAVE_DUP2
205 205
206/* Define to 1 if you have the `euidaccess' function. */ 206/* Define to 1 if you have the `euidaccess' function. */
@@ -597,7 +597,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
597/* Define to 1 if you have the <pthread.h> header file. */ 597/* Define to 1 if you have the <pthread.h> header file. */
598#undef HAVE_PTHREAD_H 598#undef HAVE_PTHREAD_H
599 599
600/* Define to 1 if you have the `pthread_sigmask' function. */ 600/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
601#undef HAVE_PTHREAD_SIGMASK 601#undef HAVE_PTHREAD_SIGMASK
602 602
603/* Define to 1 if you have the <pty.h> header file. */ 603/* Define to 1 if you have the <pty.h> header file. */
@@ -1025,6 +1025,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1025/* Define to 1 if the C compiler supports function prototypes. */ 1025/* Define to 1 if the C compiler supports function prototypes. */
1026#undef PROTOTYPES 1026#undef PROTOTYPES
1027 1027
1028/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
1029 */
1030#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
1031
1032/* Define to 1 if pthread_sigmask() may returns 0 and have no effect. */
1033#undef PTHREAD_SIGMASK_INEFFECTIVE
1034
1035/* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */
1036#undef PTHREAD_SIGMASK_UNBLOCK_BUG
1037
1028/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1038/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1029 'ptrdiff_t'. */ 1039 'ptrdiff_t'. */
1030#undef PTRDIFF_T_SUFFIX 1040#undef PTRDIFF_T_SUFFIX
@@ -1148,6 +1158,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1148 XPointer or XPointer*. */ 1158 XPointer or XPointer*. */
1149#undef XRegisterIMInstantiateCallback_arg6 1159#undef XRegisterIMInstantiateCallback_arg6
1150 1160
1161/* Enable large inode numbers on Mac OS X. */
1162#ifndef _DARWIN_USE_64_BIT_INODE
1163# define _DARWIN_USE_64_BIT_INODE 1
1164#endif
1165
1151/* Number of bits in a file offset, on hosts where this is settable. */ 1166/* Number of bits in a file offset, on hosts where this is settable. */
1152#undef _FILE_OFFSET_BITS 1167#undef _FILE_OFFSET_BITS
1153 1168
@@ -1160,6 +1175,19 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1160/* Define to 1 if on MINIX. */ 1175/* Define to 1 if on MINIX. */
1161#undef _MINIX 1176#undef _MINIX
1162 1177
1178/* The _Noreturn keyword of draft C1X. */
1179#ifndef _Noreturn
1180# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
1181 || 0x5110 <= __SUNPRO_C)
1182# define _Noreturn __attribute__ ((__noreturn__))
1183# elif 1200 <= _MSC_VER
1184# define _Noreturn __declspec (noreturn)
1185# else
1186# define _Noreturn
1187# endif
1188#endif
1189
1190
1163/* Define to 2 if the system does not provide POSIX.1 features except with 1191/* Define to 2 if the system does not provide POSIX.1 features except with
1164 this defined. */ 1192 this defined. */
1165#undef _POSIX_1_SOURCE 1193#undef _POSIX_1_SOURCE
@@ -1174,6 +1202,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1174#ifndef _ALL_SOURCE 1202#ifndef _ALL_SOURCE
1175# undef _ALL_SOURCE 1203# undef _ALL_SOURCE
1176#endif 1204#endif
1205/* Enable general extensions on MacOS X. */
1206#ifndef _DARWIN_C_SOURCE
1207# undef _DARWIN_C_SOURCE
1208#endif
1177/* Enable GNU extensions on systems that have them. */ 1209/* Enable GNU extensions on systems that have them. */
1178#ifndef _GNU_SOURCE 1210#ifndef _GNU_SOURCE
1179# undef _GNU_SOURCE 1211# undef _GNU_SOURCE
diff --git a/autogen/configure b/autogen/configure
index 0bf9783fb67..962529ab8a6 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -1,11 +1,11 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for emacs 24.0.50. 3# Generated by GNU Autoconf 2.68 for emacs 24.0.50.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Inc. 8# Foundation, Inc.
9# 9#
10# 10#
11# This configure script is free software; the Free Software Foundation 11# This configure script is free software; the Free Software Foundation
@@ -89,6 +89,7 @@ fi
89IFS=" "" $as_nl" 89IFS=" "" $as_nl"
90 90
91# Find who we are. Look in the path if we contain no directory separator. 91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
92case $0 in #(( 93case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 94 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -214,11 +215,18 @@ IFS=$as_save_IFS
214 # We cannot yet assume a decent shell, so we have to provide a 215 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 216 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 219 BASH_ENV=/dev/null
218 ENV=/dev/null 220 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 222 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222fi 230fi
223 231
224 if test x$as_have_required = xno; then : 232 if test x$as_have_required = xno; then :
@@ -316,7 +324,7 @@ $as_echo X"$as_dir" |
316 test -d "$as_dir" && break 324 test -d "$as_dir" && break
317 done 325 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 326 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 328
321 329
322} # as_fn_mkdir_p 330} # as_fn_mkdir_p
@@ -356,19 +364,19 @@ else
356fi # as_fn_arith 364fi # as_fn_arith
357 365
358 366
359# as_fn_error ERROR [LINENO LOG_FD] 367# as_fn_error STATUS ERROR [LINENO LOG_FD]
360# --------------------------------- 368# ----------------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0. 371# script with STATUS, using 1 if that was 0.
364as_fn_error () 372as_fn_error ()
365{ 373{
366 as_status=$?; test $as_status -eq 0 && as_status=1 374 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$3"; then 375 if test "$4"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi 378 fi
371 $as_echo "$as_me: error: $1" >&2 379 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status 380 as_fn_exit $as_status
373} # as_fn_error 381} # as_fn_error
374 382
@@ -530,7 +538,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1 538exec 6>&1
531 539
532# Name of the host. 540# Name of the host.
533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534# so uname gets run too. 542# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 544
@@ -1146,10 +1154,12 @@ HAVE_MAKEINFO
1146GZIP_PROG 1154GZIP_PROG
1147INSTALL_INFO 1155INSTALL_INFO
1148C_WARNINGS_SWITCH 1156C_WARNINGS_SWITCH
1157RANLIB
1158ARFLAGS
1159AR
1149EGREP 1160EGREP
1150GREP 1161GREP
1151CPP 1162CPP
1152RANLIB
1153am__fastdepCC_FALSE 1163am__fastdepCC_FALSE
1154am__fastdepCC_TRUE 1164am__fastdepCC_TRUE
1155CCDEPMODE 1165CCDEPMODE
@@ -1364,8 +1374,9 @@ do
1364 fi 1374 fi
1365 1375
1366 case $ac_option in 1376 case $ac_option in
1367 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1377 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1368 *) ac_optarg=yes ;; 1378 *=) ac_optarg= ;;
1379 *) ac_optarg=yes ;;
1369 esac 1380 esac
1370 1381
1371 # Accept the important Cygnus configure options, so we can diagnose typos. 1382 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1410,7 +1421,7 @@ do
1410 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1421 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1411 # Reject names that are not valid shell variable names. 1422 # Reject names that are not valid shell variable names.
1412 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1423 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1413 as_fn_error "invalid feature name: $ac_useropt" 1424 as_fn_error $? "invalid feature name: $ac_useropt"
1414 ac_useropt_orig=$ac_useropt 1425 ac_useropt_orig=$ac_useropt
1415 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1426 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1416 case $ac_user_opts in 1427 case $ac_user_opts in
@@ -1436,7 +1447,7 @@ do
1436 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1447 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1437 # Reject names that are not valid shell variable names. 1448 # Reject names that are not valid shell variable names.
1438 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1449 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1439 as_fn_error "invalid feature name: $ac_useropt" 1450 as_fn_error $? "invalid feature name: $ac_useropt"
1440 ac_useropt_orig=$ac_useropt 1451 ac_useropt_orig=$ac_useropt
1441 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1452 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1442 case $ac_user_opts in 1453 case $ac_user_opts in
@@ -1640,7 +1651,7 @@ do
1640 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1651 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1641 # Reject names that are not valid shell variable names. 1652 # Reject names that are not valid shell variable names.
1642 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1653 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1643 as_fn_error "invalid package name: $ac_useropt" 1654 as_fn_error $? "invalid package name: $ac_useropt"
1644 ac_useropt_orig=$ac_useropt 1655 ac_useropt_orig=$ac_useropt
1645 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1656 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1646 case $ac_user_opts in 1657 case $ac_user_opts in
@@ -1656,7 +1667,7 @@ do
1656 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1667 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1657 # Reject names that are not valid shell variable names. 1668 # Reject names that are not valid shell variable names.
1658 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1669 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1659 as_fn_error "invalid package name: $ac_useropt" 1670 as_fn_error $? "invalid package name: $ac_useropt"
1660 ac_useropt_orig=$ac_useropt 1671 ac_useropt_orig=$ac_useropt
1661 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1672 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1662 case $ac_user_opts in 1673 case $ac_user_opts in
@@ -1686,8 +1697,8 @@ do
1686 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1697 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1687 x_libraries=$ac_optarg ;; 1698 x_libraries=$ac_optarg ;;
1688 1699
1689 -*) as_fn_error "unrecognized option: \`$ac_option' 1700 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1690Try \`$0 --help' for more information." 1701Try \`$0 --help' for more information"
1691 ;; 1702 ;;
1692 1703
1693 *=*) 1704 *=*)
@@ -1695,7 +1706,7 @@ Try \`$0 --help' for more information."
1695 # Reject names that are not valid shell variable names. 1706 # Reject names that are not valid shell variable names.
1696 case $ac_envvar in #( 1707 case $ac_envvar in #(
1697 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1708 '' | [0-9]* | *[!_$as_cr_alnum]* )
1698 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1709 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1699 esac 1710 esac
1700 eval $ac_envvar=\$ac_optarg 1711 eval $ac_envvar=\$ac_optarg
1701 export $ac_envvar ;; 1712 export $ac_envvar ;;
@@ -1705,7 +1716,7 @@ Try \`$0 --help' for more information."
1705 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1716 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1706 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1717 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1707 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1718 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1708 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1719 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1709 ;; 1720 ;;
1710 1721
1711 esac 1722 esac
@@ -1713,13 +1724,13 @@ done
1713 1724
1714if test -n "$ac_prev"; then 1725if test -n "$ac_prev"; then
1715 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1726 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1716 as_fn_error "missing argument to $ac_option" 1727 as_fn_error $? "missing argument to $ac_option"
1717fi 1728fi
1718 1729
1719if test -n "$ac_unrecognized_opts"; then 1730if test -n "$ac_unrecognized_opts"; then
1720 case $enable_option_checking in 1731 case $enable_option_checking in
1721 no) ;; 1732 no) ;;
1722 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1733 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1723 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1734 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1724 esac 1735 esac
1725fi 1736fi
@@ -1742,7 +1753,7 @@ do
1742 [\\/$]* | ?:[\\/]* ) continue;; 1753 [\\/$]* | ?:[\\/]* ) continue;;
1743 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1754 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1744 esac 1755 esac
1745 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1756 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1746done 1757done
1747 1758
1748# There might be people who depend on the old broken behavior: `$host' 1759# There might be people who depend on the old broken behavior: `$host'
@@ -1756,8 +1767,8 @@ target=$target_alias
1756if test "x$host_alias" != x; then 1767if test "x$host_alias" != x; then
1757 if test "x$build_alias" = x; then 1768 if test "x$build_alias" = x; then
1758 cross_compiling=maybe 1769 cross_compiling=maybe
1759 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1770 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1760 If a cross compiler is detected then cross compile mode will be used." >&2 1771 If a cross compiler is detected then cross compile mode will be used" >&2
1761 elif test "x$build_alias" != "x$host_alias"; then 1772 elif test "x$build_alias" != "x$host_alias"; then
1762 cross_compiling=yes 1773 cross_compiling=yes
1763 fi 1774 fi
@@ -1772,9 +1783,9 @@ test "$silent" = yes && exec 6>/dev/null
1772ac_pwd=`pwd` && test -n "$ac_pwd" && 1783ac_pwd=`pwd` && test -n "$ac_pwd" &&
1773ac_ls_di=`ls -di .` && 1784ac_ls_di=`ls -di .` &&
1774ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1785ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1775 as_fn_error "working directory cannot be determined" 1786 as_fn_error $? "working directory cannot be determined"
1776test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1787test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1777 as_fn_error "pwd does not report name of working directory" 1788 as_fn_error $? "pwd does not report name of working directory"
1778 1789
1779 1790
1780# Find the source files, if location was not specified. 1791# Find the source files, if location was not specified.
@@ -1813,11 +1824,11 @@ else
1813fi 1824fi
1814if test ! -r "$srcdir/$ac_unique_file"; then 1825if test ! -r "$srcdir/$ac_unique_file"; then
1815 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1826 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1816 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1827 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1817fi 1828fi
1818ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1829ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1819ac_abs_confdir=`( 1830ac_abs_confdir=`(
1820 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1831 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1821 pwd)` 1832 pwd)`
1822# When building in place, set srcdir=. 1833# When building in place, set srcdir=.
1823if test "$ac_abs_confdir" = "$ac_pwd"; then 1834if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1857,7 +1868,7 @@ Configuration:
1857 --help=short display options specific to this package 1868 --help=short display options specific to this package
1858 --help=recursive display the short help of all the included packages 1869 --help=recursive display the short help of all the included packages
1859 -V, --version display version information and exit 1870 -V, --version display version information and exit
1860 -q, --quiet, --silent do not print \`checking...' messages 1871 -q, --quiet, --silent do not print \`checking ...' messages
1861 --cache-file=FILE cache test results in FILE [disabled] 1872 --cache-file=FILE cache test results in FILE [disabled]
1862 -C, --config-cache alias for \`--cache-file=config.cache' 1873 -C, --config-cache alias for \`--cache-file=config.cache'
1863 -n, --no-create do not create output files 1874 -n, --no-create do not create output files
@@ -2080,9 +2091,9 @@ test -n "$ac_init_help" && exit $ac_status
2080if $ac_init_version; then 2091if $ac_init_version; then
2081 cat <<\_ACEOF 2092 cat <<\_ACEOF
2082emacs configure 24.0.50 2093emacs configure 24.0.50
2083generated by GNU Autoconf 2.65 2094generated by GNU Autoconf 2.68
2084 2095
2085Copyright (C) 2009 Free Software Foundation, Inc. 2096Copyright (C) 2010 Free Software Foundation, Inc.
2086This configure script is free software; the Free Software Foundation 2097This configure script is free software; the Free Software Foundation
2087gives unlimited permission to copy, distribute and modify it. 2098gives unlimited permission to copy, distribute and modify it.
2088_ACEOF 2099_ACEOF
@@ -2126,7 +2137,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2126 2137
2127 ac_retval=1 2138 ac_retval=1
2128fi 2139fi
2129 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2130 as_fn_set_status $ac_retval 2141 as_fn_set_status $ac_retval
2131 2142
2132} # ac_fn_c_try_compile 2143} # ac_fn_c_try_compile
@@ -2152,7 +2163,7 @@ $as_echo "$ac_try_echo"; } >&5
2152 mv -f conftest.er1 conftest.err 2163 mv -f conftest.er1 conftest.err
2153 fi 2164 fi
2154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155 test $ac_status = 0; } >/dev/null && { 2166 test $ac_status = 0; } > conftest.i && {
2156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2157 test ! -s conftest.err 2168 test ! -s conftest.err
2158 }; then : 2169 }; then :
@@ -2163,7 +2174,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2163 2174
2164 ac_retval=1 2175 ac_retval=1
2165fi 2176fi
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2167 as_fn_set_status $ac_retval 2178 as_fn_set_status $ac_retval
2168 2179
2169} # ac_fn_c_try_cpp 2180} # ac_fn_c_try_cpp
@@ -2176,10 +2187,10 @@ fi
2176ac_fn_c_check_header_mongrel () 2187ac_fn_c_check_header_mongrel ()
2177{ 2188{
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2190 if eval \${$3+:} false; then :
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181$as_echo_n "checking for $2... " >&6; } 2192$as_echo_n "checking for $2... " >&6; }
2182if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2193if eval \${$3+:} false; then :
2183 $as_echo_n "(cached) " >&6 2194 $as_echo_n "(cached) " >&6
2184fi 2195fi
2185eval ac_res=\$$3 2196eval ac_res=\$$3
@@ -2215,7 +2226,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
2215else 2226else
2216 ac_header_preproc=no 2227 ac_header_preproc=no
2217fi 2228fi
2218rm -f conftest.err conftest.$ac_ext 2229rm -f conftest.err conftest.i conftest.$ac_ext
2219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2220$as_echo "$ac_header_preproc" >&6; } 2231$as_echo "$ac_header_preproc" >&6; }
2221 2232
@@ -2242,7 +2253,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242esac 2253esac
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2244$as_echo_n "checking for $2... " >&6; } 2255$as_echo_n "checking for $2... " >&6; }
2245if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2256if eval \${$3+:} false; then :
2246 $as_echo_n "(cached) " >&6 2257 $as_echo_n "(cached) " >&6
2247else 2258else
2248 eval "$3=\$ac_header_compiler" 2259 eval "$3=\$ac_header_compiler"
@@ -2251,7 +2262,7 @@ eval ac_res=\$$3
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2252$as_echo "$ac_res" >&6; } 2263$as_echo "$ac_res" >&6; }
2253fi 2264fi
2254 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 2266
2256} # ac_fn_c_check_header_mongrel 2267} # ac_fn_c_check_header_mongrel
2257 2268
@@ -2292,7 +2303,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2292 ac_retval=$ac_status 2303 ac_retval=$ac_status
2293fi 2304fi
2294 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2305 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2295 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2296 as_fn_set_status $ac_retval 2307 as_fn_set_status $ac_retval
2297 2308
2298} # ac_fn_c_try_run 2309} # ac_fn_c_try_run
@@ -2306,7 +2317,7 @@ ac_fn_c_check_header_compile ()
2306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308$as_echo_n "checking for $2... " >&6; } 2319$as_echo_n "checking for $2... " >&6; }
2309if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2320if eval \${$3+:} false; then :
2310 $as_echo_n "(cached) " >&6 2321 $as_echo_n "(cached) " >&6
2311else 2322else
2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2324,7 +2335,7 @@ fi
2324eval ac_res=\$$3 2335eval ac_res=\$$3
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2326$as_echo "$ac_res" >&6; } 2337$as_echo "$ac_res" >&6; }
2327 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2328 2339
2329} # ac_fn_c_check_header_compile 2340} # ac_fn_c_check_header_compile
2330 2341
@@ -2369,20 +2380,23 @@ fi
2369 # interfere with the next link command; also delete a directory that is 2380 # interfere with the next link command; also delete a directory that is
2370 # left behind by Apple's compiler. We do this before executing the actions. 2381 # left behind by Apple's compiler. We do this before executing the actions.
2371 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2382 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2372 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2373 as_fn_set_status $ac_retval 2384 as_fn_set_status $ac_retval
2374 2385
2375} # ac_fn_c_try_link 2386} # ac_fn_c_try_link
2376 2387
2377# ac_fn_c_check_decl LINENO SYMBOL VAR 2388# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2378# ------------------------------------ 2389# ---------------------------------------------
2379# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 2390# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2391# accordingly.
2380ac_fn_c_check_decl () 2392ac_fn_c_check_decl ()
2381{ 2393{
2382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 2395 as_decl_name=`echo $2|sed 's/ *(.*//'`
2384$as_echo_n "checking whether $2 is declared... " >&6; } 2396 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2385if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2398$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2399if eval \${$3+:} false; then :
2386 $as_echo_n "(cached) " >&6 2400 $as_echo_n "(cached) " >&6
2387else 2401else
2388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2391,8 +2405,12 @@ $4
2391int 2405int
2392main () 2406main ()
2393{ 2407{
2394#ifndef $2 2408#ifndef $as_decl_name
2395 (void) $2; 2409#ifdef __cplusplus
2410 (void) $as_decl_use;
2411#else
2412 (void) $as_decl_name;
2413#endif
2396#endif 2414#endif
2397 2415
2398 ; 2416 ;
@@ -2409,7 +2427,7 @@ fi
2409eval ac_res=\$$3 2427eval ac_res=\$$3
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2411$as_echo "$ac_res" >&6; } 2429$as_echo "$ac_res" >&6; }
2412 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2413 2431
2414} # ac_fn_c_check_decl 2432} # ac_fn_c_check_decl
2415 2433
@@ -2421,7 +2439,7 @@ ac_fn_c_check_header_preproc ()
2421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2439 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2423$as_echo_n "checking for $2... " >&6; } 2441$as_echo_n "checking for $2... " >&6; }
2424if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2442if eval \${$3+:} false; then :
2425 $as_echo_n "(cached) " >&6 2443 $as_echo_n "(cached) " >&6
2426else 2444else
2427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2433,12 +2451,12 @@ if ac_fn_c_try_cpp "$LINENO"; then :
2433else 2451else
2434 eval "$3=no" 2452 eval "$3=no"
2435fi 2453fi
2436rm -f conftest.err conftest.$ac_ext 2454rm -f conftest.err conftest.i conftest.$ac_ext
2437fi 2455fi
2438eval ac_res=\$$3 2456eval ac_res=\$$3
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440$as_echo "$ac_res" >&6; } 2458$as_echo "$ac_res" >&6; }
2441 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442 2460
2443} # ac_fn_c_check_header_preproc 2461} # ac_fn_c_check_header_preproc
2444 2462
@@ -2507,7 +2525,7 @@ ac_fn_c_check_func ()
2507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2509$as_echo_n "checking for $2... " >&6; } 2527$as_echo_n "checking for $2... " >&6; }
2510if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2528if eval \${$3+:} false; then :
2511 $as_echo_n "(cached) " >&6 2529 $as_echo_n "(cached) " >&6
2512else 2530else
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2562,10 +2580,124 @@ fi
2562eval ac_res=\$$3 2580eval ac_res=\$$3
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2564$as_echo "$ac_res" >&6; } 2582$as_echo "$ac_res" >&6; }
2565 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 2584
2567} # ac_fn_c_check_func 2585} # ac_fn_c_check_func
2568 2586
2587<<<<<<< TREE
2588=======
2589# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2590# ----------------------------------------------------
2591# Tries to find if the field MEMBER exists in type AGGR, after including
2592# INCLUDES, setting cache variable VAR accordingly.
2593ac_fn_c_check_member ()
2594{
2595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2597$as_echo_n "checking for $2.$3... " >&6; }
2598if eval \${$4+:} false; then :
2599 $as_echo_n "(cached) " >&6
2600else
2601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602/* end confdefs.h. */
2603$5
2604int
2605main ()
2606{
2607static $2 ac_aggr;
2608if (ac_aggr.$3)
2609return 0;
2610 ;
2611 return 0;
2612}
2613_ACEOF
2614if ac_fn_c_try_compile "$LINENO"; then :
2615 eval "$4=yes"
2616else
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618/* end confdefs.h. */
2619$5
2620int
2621main ()
2622{
2623static $2 ac_aggr;
2624if (sizeof ac_aggr.$3)
2625return 0;
2626 ;
2627 return 0;
2628}
2629_ACEOF
2630if ac_fn_c_try_compile "$LINENO"; then :
2631 eval "$4=yes"
2632else
2633 eval "$4=no"
2634fi
2635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2636fi
2637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2638fi
2639eval ac_res=\$$4
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2641$as_echo "$ac_res" >&6; }
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643
2644} # ac_fn_c_check_member
2645
2646# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2647# -------------------------------------------
2648# Tests whether TYPE exists after having included INCLUDES, setting cache
2649# variable VAR accordingly.
2650ac_fn_c_check_type ()
2651{
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2654$as_echo_n "checking for $2... " >&6; }
2655if eval \${$3+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657else
2658 eval "$3=no"
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660/* end confdefs.h. */
2661$4
2662int
2663main ()
2664{
2665if (sizeof ($2))
2666 return 0;
2667 ;
2668 return 0;
2669}
2670_ACEOF
2671if ac_fn_c_try_compile "$LINENO"; then :
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673/* end confdefs.h. */
2674$4
2675int
2676main ()
2677{
2678if (sizeof (($2)))
2679 return 0;
2680 ;
2681 return 0;
2682}
2683_ACEOF
2684if ac_fn_c_try_compile "$LINENO"; then :
2685
2686else
2687 eval "$3=yes"
2688fi
2689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2690fi
2691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692fi
2693eval ac_res=\$$3
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2695$as_echo "$ac_res" >&6; }
2696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2697
2698} # ac_fn_c_check_type
2699
2700>>>>>>> MERGE-SOURCE
2569# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2701# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2570# -------------------------------------------- 2702# --------------------------------------------
2571# Tries to find the compile-time value of EXPR in a program that includes 2703# Tries to find the compile-time value of EXPR in a program that includes
@@ -2739,7 +2871,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2739rm -f conftest.val 2871rm -f conftest.val
2740 2872
2741 fi 2873 fi
2742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status $ac_retval 2875 as_fn_set_status $ac_retval
2744 2876
2745} # ac_fn_c_compute_int 2877} # ac_fn_c_compute_int
@@ -2802,7 +2934,7 @@ This file contains any messages produced by compilers while
2802running configure, to aid debugging if configure makes a mistake. 2934running configure, to aid debugging if configure makes a mistake.
2803 2935
2804It was created by emacs $as_me 24.0.50, which was 2936It was created by emacs $as_me 24.0.50, which was
2805generated by GNU Autoconf 2.65. Invocation command line was 2937generated by GNU Autoconf 2.68. Invocation command line was
2806 2938
2807 $ $0 $@ 2939 $ $0 $@
2808 2940
@@ -2912,11 +3044,9 @@ trap 'exit_status=$?
2912 { 3044 {
2913 echo 3045 echo
2914 3046
2915 cat <<\_ASBOX 3047 $as_echo "## ---------------- ##
2916## ---------------- ##
2917## Cache variables. ## 3048## Cache variables. ##
2918## ---------------- ## 3049## ---------------- ##"
2919_ASBOX
2920 echo 3050 echo
2921 # The following way of writing the cache mishandles newlines in values, 3051 # The following way of writing the cache mishandles newlines in values,
2922( 3052(
@@ -2950,11 +3080,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2950) 3080)
2951 echo 3081 echo
2952 3082
2953 cat <<\_ASBOX 3083 $as_echo "## ----------------- ##
2954## ----------------- ##
2955## Output variables. ## 3084## Output variables. ##
2956## ----------------- ## 3085## ----------------- ##"
2957_ASBOX
2958 echo 3086 echo
2959 for ac_var in $ac_subst_vars 3087 for ac_var in $ac_subst_vars
2960 do 3088 do
@@ -2967,11 +3095,9 @@ _ASBOX
2967 echo 3095 echo
2968 3096
2969 if test -n "$ac_subst_files"; then 3097 if test -n "$ac_subst_files"; then
2970 cat <<\_ASBOX 3098 $as_echo "## ------------------- ##
2971## ------------------- ##
2972## File substitutions. ## 3099## File substitutions. ##
2973## ------------------- ## 3100## ------------------- ##"
2974_ASBOX
2975 echo 3101 echo
2976 for ac_var in $ac_subst_files 3102 for ac_var in $ac_subst_files
2977 do 3103 do
@@ -2985,11 +3111,9 @@ _ASBOX
2985 fi 3111 fi
2986 3112
2987 if test -s confdefs.h; then 3113 if test -s confdefs.h; then
2988 cat <<\_ASBOX 3114 $as_echo "## ----------- ##
2989## ----------- ##
2990## confdefs.h. ## 3115## confdefs.h. ##
2991## ----------- ## 3116## ----------- ##"
2992_ASBOX
2993 echo 3117 echo
2994 cat confdefs.h 3118 cat confdefs.h
2995 echo 3119 echo
@@ -3044,7 +3168,12 @@ _ACEOF
3044ac_site_file1=NONE 3168ac_site_file1=NONE
3045ac_site_file2=NONE 3169ac_site_file2=NONE
3046if test -n "$CONFIG_SITE"; then 3170if test -n "$CONFIG_SITE"; then
3047 ac_site_file1=$CONFIG_SITE 3171 # We do not want a PATH search for config.site.
3172 case $CONFIG_SITE in #((
3173 -*) ac_site_file1=./$CONFIG_SITE;;
3174 */*) ac_site_file1=$CONFIG_SITE;;
3175 *) ac_site_file1=./$CONFIG_SITE;;
3176 esac
3048elif test "x$prefix" != xNONE; then 3177elif test "x$prefix" != xNONE; then
3049 ac_site_file1=$prefix/share/config.site 3178 ac_site_file1=$prefix/share/config.site
3050 ac_site_file2=$prefix/etc/config.site 3179 ac_site_file2=$prefix/etc/config.site
@@ -3059,7 +3188,11 @@ do
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3060$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3189$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3061 sed 's/^/| /' "$ac_site_file" >&5 3190 sed 's/^/| /' "$ac_site_file" >&5
3062 . "$ac_site_file" 3191 . "$ac_site_file" \
3192 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194as_fn_error $? "failed to load site script $ac_site_file
3195See \`config.log' for more details" "$LINENO" 5; }
3063 fi 3196 fi
3064done 3197done
3065 3198
@@ -3084,7 +3217,6 @@ as_fn_append ac_header_list " stdlib.h"
3084as_fn_append ac_header_list " unistd.h" 3217as_fn_append ac_header_list " unistd.h"
3085as_fn_append ac_header_list " sys/param.h" 3218as_fn_append ac_header_list " sys/param.h"
3086as_fn_append ac_func_list " readlinkat" 3219as_fn_append ac_func_list " readlinkat"
3087as_fn_append ac_func_list " dup2"
3088gl_getopt_required=GNU 3220gl_getopt_required=GNU
3089as_fn_append ac_header_list " getopt.h" 3221as_fn_append ac_header_list " getopt.h"
3090as_fn_append ac_header_list " wchar.h" 3222as_fn_append ac_header_list " wchar.h"
@@ -3095,6 +3227,8 @@ as_fn_append ac_func_list " alarm"
3095as_fn_append ac_func_list " readlink" 3227as_fn_append ac_func_list " readlink"
3096as_fn_append ac_header_list " sys/socket.h" 3228as_fn_append ac_header_list " sys/socket.h"
3097as_fn_append ac_func_list " tzset" 3229as_fn_append ac_func_list " tzset"
3230as_fn_append ac_func_list " strtoimax"
3231as_fn_append ac_func_list " strtoumax"
3098as_fn_append ac_func_list " symlink" 3232as_fn_append ac_func_list " symlink"
3099as_fn_append ac_header_list " sys/stat.h" 3233as_fn_append ac_header_list " sys/stat.h"
3100as_fn_append ac_header_list " sys/time.h" 3234as_fn_append ac_header_list " sys/time.h"
@@ -3154,7 +3288,7 @@ if $ac_cache_corrupted; then
3154$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3156$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3290$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3157 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3291 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3158fi 3292fi
3159## -------------------- ## 3293## -------------------- ##
3160## Main body of script. ## 3294## Main body of script. ##
@@ -3170,20 +3304,24 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3170ac_config_headers="$ac_config_headers src/config.h:src/config.in" 3304ac_config_headers="$ac_config_headers src/config.h:src/config.in"
3171 3305
3172 3306
3173am__api_version='1.11'
3174
3175ac_aux_dir= 3307ac_aux_dir=
3176for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3308for ac_dir in build-aux "$srcdir"/build-aux; do
3177 for ac_t in install-sh install.sh shtool; do 3309 if test -f "$ac_dir/install-sh"; then
3178 if test -f "$ac_dir/$ac_t"; then 3310 ac_aux_dir=$ac_dir
3179 ac_aux_dir=$ac_dir 3311 ac_install_sh="$ac_aux_dir/install-sh -c"
3180 ac_install_sh="$ac_aux_dir/$ac_t -c" 3312 break
3181 break 2 3313 elif test -f "$ac_dir/install.sh"; then
3182 fi 3314 ac_aux_dir=$ac_dir
3183 done 3315 ac_install_sh="$ac_aux_dir/install.sh -c"
3316 break
3317 elif test -f "$ac_dir/shtool"; then
3318 ac_aux_dir=$ac_dir
3319 ac_install_sh="$ac_aux_dir/shtool install -c"
3320 break
3321 fi
3184done 3322done
3185if test -z "$ac_aux_dir"; then 3323if test -z "$ac_aux_dir"; then
3186 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3324 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
3187fi 3325fi
3188 3326
3189# These three variables are undocumented and unsupported, 3327# These three variables are undocumented and unsupported,
@@ -3195,6 +3333,8 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3195ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3333ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3196 3334
3197 3335
3336am__api_version='1.11'
3337
3198# Find a good install program. We prefer a C program (faster), 3338# Find a good install program. We prefer a C program (faster),
3199# so one script is as good as another. But avoid the broken or 3339# so one script is as good as another. But avoid the broken or
3200# incompatible versions: 3340# incompatible versions:
@@ -3212,7 +3352,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3213$as_echo_n "checking for a BSD-compatible install... " >&6; } 3353$as_echo_n "checking for a BSD-compatible install... " >&6; }
3214if test -z "$INSTALL"; then 3354if test -z "$INSTALL"; then
3215if test "${ac_cv_path_install+set}" = set; then : 3355if ${ac_cv_path_install+:} false; then :
3216 $as_echo_n "(cached) " >&6 3356 $as_echo_n "(cached) " >&6
3217else 3357else
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3299,11 +3439,11 @@ am_lf='
3299' 3439'
3300case `pwd` in 3440case `pwd` in
3301 *[\\\"\#\$\&\'\`$am_lf]*) 3441 *[\\\"\#\$\&\'\`$am_lf]*)
3302 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 3442 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3303esac 3443esac
3304case $srcdir in 3444case $srcdir in
3305 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3445 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3306 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3446 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3307esac 3447esac
3308 3448
3309# Do `set' in a subshell so we don't clobber the current shell's 3449# Do `set' in a subshell so we don't clobber the current shell's
@@ -3325,7 +3465,7 @@ if (
3325 # if, for instance, CONFIG_SHELL is bash and it inherits a 3465 # if, for instance, CONFIG_SHELL is bash and it inherits a
3326 # broken ls alias from the environment. This has actually 3466 # broken ls alias from the environment. This has actually
3327 # happened. Such a system could not be considered "sane". 3467 # happened. Such a system could not be considered "sane".
3328 as_fn_error "ls -t appears to fail. Make sure there is not a broken 3468 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3329alias in your environment" "$LINENO" 5 3469alias in your environment" "$LINENO" 5
3330 fi 3470 fi
3331 3471
@@ -3335,7 +3475,7 @@ then
3335 # Ok. 3475 # Ok.
3336 : 3476 :
3337else 3477else
3338 as_fn_error "newly created file is older than distributed files! 3478 as_fn_error $? "newly created file is older than distributed files!
3339Check your system clock" "$LINENO" 5 3479Check your system clock" "$LINENO" 5
3340fi 3480fi
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -3389,7 +3529,7 @@ if test "$cross_compiling" != no; then
3389set dummy ${ac_tool_prefix}strip; ac_word=$2 3529set dummy ${ac_tool_prefix}strip; ac_word=$2
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391$as_echo_n "checking for $ac_word... " >&6; } 3531$as_echo_n "checking for $ac_word... " >&6; }
3392if test "${ac_cv_prog_STRIP+set}" = set; then : 3532if ${ac_cv_prog_STRIP+:} false; then :
3393 $as_echo_n "(cached) " >&6 3533 $as_echo_n "(cached) " >&6
3394else 3534else
3395 if test -n "$STRIP"; then 3535 if test -n "$STRIP"; then
@@ -3429,7 +3569,7 @@ if test -z "$ac_cv_prog_STRIP"; then
3429set dummy strip; ac_word=$2 3569set dummy strip; ac_word=$2
3430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431$as_echo_n "checking for $ac_word... " >&6; } 3571$as_echo_n "checking for $ac_word... " >&6; }
3432if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3572if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3433 $as_echo_n "(cached) " >&6 3573 $as_echo_n "(cached) " >&6
3434else 3574else
3435 if test -n "$ac_ct_STRIP"; then 3575 if test -n "$ac_ct_STRIP"; then
@@ -3482,7 +3622,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3483$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3623$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3484if test -z "$MKDIR_P"; then 3624if test -z "$MKDIR_P"; then
3485 if test "${ac_cv_path_mkdir+set}" = set; then : 3625 if ${ac_cv_path_mkdir+:} false; then :
3486 $as_echo_n "(cached) " >&6 3626 $as_echo_n "(cached) " >&6
3487else 3627else
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3534,7 +3674,7 @@ do
3534set dummy $ac_prog; ac_word=$2 3674set dummy $ac_prog; ac_word=$2
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536$as_echo_n "checking for $ac_word... " >&6; } 3676$as_echo_n "checking for $ac_word... " >&6; }
3537if test "${ac_cv_prog_AWK+set}" = set; then : 3677if ${ac_cv_prog_AWK+:} false; then :
3538 $as_echo_n "(cached) " >&6 3678 $as_echo_n "(cached) " >&6
3539else 3679else
3540 if test -n "$AWK"; then 3680 if test -n "$AWK"; then
@@ -3574,7 +3714,7 @@ done
3574$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3714$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3575set x ${MAKE-make} 3715set x ${MAKE-make}
3576ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3716ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3577if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3717if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3578 $as_echo_n "(cached) " >&6 3718 $as_echo_n "(cached) " >&6
3579else 3719else
3580 cat >conftest.make <<\_ACEOF 3720 cat >conftest.make <<\_ACEOF
@@ -3582,7 +3722,7 @@ SHELL = /bin/sh
3582all: 3722all:
3583 @echo '@@@%%%=$(MAKE)=@@@%%%' 3723 @echo '@@@%%%=$(MAKE)=@@@%%%'
3584_ACEOF 3724_ACEOF
3585# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3725# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3586case `${MAKE-make} -f conftest.make 2>/dev/null` in 3726case `${MAKE-make} -f conftest.make 2>/dev/null` in
3587 *@@@%%%=?*=@@@%%%*) 3727 *@@@%%%=?*=@@@%%%*)
3588 eval ac_cv_prog_make_${ac_make}_set=yes;; 3728 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -3616,7 +3756,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
3616 am__isrc=' -I$(srcdir)' 3756 am__isrc=' -I$(srcdir)'
3617 # test to see if srcdir already configured 3757 # test to see if srcdir already configured
3618 if test -f $srcdir/config.status; then 3758 if test -f $srcdir/config.status; then
3619 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3759 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3620 fi 3760 fi
3621fi 3761fi
3622 3762
@@ -3819,7 +3959,7 @@ if test "${with_x_toolkit+set}" = set; then :
3819 g | gt | gtk ) val=gtk ;; 3959 g | gt | gtk ) val=gtk ;;
3820 gtk3 ) val=gtk3 ;; 3960 gtk3 ) val=gtk3 ;;
3821 * ) 3961 * )
3822as_fn_error "\`--with-x-toolkit=$withval' is invalid; 3962as_fn_error $? "\`--with-x-toolkit=$withval' is invalid;
3823this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 3963this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or
3824\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 3964\`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
3825 ;; 3965 ;;
@@ -4146,7 +4286,7 @@ do
4146 stringfreelist) ac_gc_check_string_free_list=1 ;; 4286 stringfreelist) ac_gc_check_string_free_list=1 ;;
4147 xmallocoverrun) ac_xmalloc_overrun=1 ;; 4287 xmallocoverrun) ac_xmalloc_overrun=1 ;;
4148 conslist) ac_gc_check_cons_list=1 ;; 4288 conslist) ac_gc_check_cons_list=1 ;;
4149 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 4289 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
4150 esac 4290 esac
4151done 4291done
4152IFS="$ac_save_IFS" 4292IFS="$ac_save_IFS"
@@ -4244,27 +4384,27 @@ esac
4244 4384
4245# Make sure we can run config.sub. 4385# Make sure we can run config.sub.
4246$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4386$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4247 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4387 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4248 4388
4249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4250$as_echo_n "checking build system type... " >&6; } 4390$as_echo_n "checking build system type... " >&6; }
4251if test "${ac_cv_build+set}" = set; then : 4391if ${ac_cv_build+:} false; then :
4252 $as_echo_n "(cached) " >&6 4392 $as_echo_n "(cached) " >&6
4253else 4393else
4254 ac_build_alias=$build_alias 4394 ac_build_alias=$build_alias
4255test "x$ac_build_alias" = x && 4395test "x$ac_build_alias" = x &&
4256 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4396 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4257test "x$ac_build_alias" = x && 4397test "x$ac_build_alias" = x &&
4258 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 4398 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4259ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4399ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4260 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4400 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4261 4401
4262fi 4402fi
4263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4264$as_echo "$ac_cv_build" >&6; } 4404$as_echo "$ac_cv_build" >&6; }
4265case $ac_cv_build in 4405case $ac_cv_build in
4266*-*-*) ;; 4406*-*-*) ;;
4267*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 4407*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4268esac 4408esac
4269build=$ac_cv_build 4409build=$ac_cv_build
4270ac_save_IFS=$IFS; IFS='-' 4410ac_save_IFS=$IFS; IFS='-'
@@ -4282,14 +4422,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4282 4422
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4284$as_echo_n "checking host system type... " >&6; } 4424$as_echo_n "checking host system type... " >&6; }
4285if test "${ac_cv_host+set}" = set; then : 4425if ${ac_cv_host+:} false; then :
4286 $as_echo_n "(cached) " >&6 4426 $as_echo_n "(cached) " >&6
4287else 4427else
4288 if test "x$host_alias" = x; then 4428 if test "x$host_alias" = x; then
4289 ac_cv_host=$ac_cv_build 4429 ac_cv_host=$ac_cv_build
4290else 4430else
4291 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4431 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4292 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4432 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4293fi 4433fi
4294 4434
4295fi 4435fi
@@ -4297,7 +4437,7 @@ fi
4297$as_echo "$ac_cv_host" >&6; } 4437$as_echo "$ac_cv_host" >&6; }
4298case $ac_cv_host in 4438case $ac_cv_host in
4299*-*-*) ;; 4439*-*-*) ;;
4300*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 4440*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4301esac 4441esac
4302host=$ac_cv_host 4442host=$ac_cv_host
4303ac_save_IFS=$IFS; IFS='-' 4443ac_save_IFS=$IFS; IFS='-'
@@ -4540,7 +4680,7 @@ fi
4540 4680
4541 4681
4542if test $unported = yes; then 4682if test $unported = yes; then
4543 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 4683 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems.
4544Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 4684Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
4545fi 4685fi
4546 4686
@@ -4568,7 +4708,7 @@ if test -n "$ac_tool_prefix"; then
4568set dummy ${ac_tool_prefix}gcc; ac_word=$2 4708set dummy ${ac_tool_prefix}gcc; ac_word=$2
4569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570$as_echo_n "checking for $ac_word... " >&6; } 4710$as_echo_n "checking for $ac_word... " >&6; }
4571if test "${ac_cv_prog_CC+set}" = set; then : 4711if ${ac_cv_prog_CC+:} false; then :
4572 $as_echo_n "(cached) " >&6 4712 $as_echo_n "(cached) " >&6
4573else 4713else
4574 if test -n "$CC"; then 4714 if test -n "$CC"; then
@@ -4608,7 +4748,7 @@ if test -z "$ac_cv_prog_CC"; then
4608set dummy gcc; ac_word=$2 4748set dummy gcc; ac_word=$2
4609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610$as_echo_n "checking for $ac_word... " >&6; } 4750$as_echo_n "checking for $ac_word... " >&6; }
4611if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4751if ${ac_cv_prog_ac_ct_CC+:} false; then :
4612 $as_echo_n "(cached) " >&6 4752 $as_echo_n "(cached) " >&6
4613else 4753else
4614 if test -n "$ac_ct_CC"; then 4754 if test -n "$ac_ct_CC"; then
@@ -4661,7 +4801,7 @@ if test -z "$CC"; then
4661set dummy ${ac_tool_prefix}cc; ac_word=$2 4801set dummy ${ac_tool_prefix}cc; ac_word=$2
4662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663$as_echo_n "checking for $ac_word... " >&6; } 4803$as_echo_n "checking for $ac_word... " >&6; }
4664if test "${ac_cv_prog_CC+set}" = set; then : 4804if ${ac_cv_prog_CC+:} false; then :
4665 $as_echo_n "(cached) " >&6 4805 $as_echo_n "(cached) " >&6
4666else 4806else
4667 if test -n "$CC"; then 4807 if test -n "$CC"; then
@@ -4701,7 +4841,7 @@ if test -z "$CC"; then
4701set dummy cc; ac_word=$2 4841set dummy cc; ac_word=$2
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703$as_echo_n "checking for $ac_word... " >&6; } 4843$as_echo_n "checking for $ac_word... " >&6; }
4704if test "${ac_cv_prog_CC+set}" = set; then : 4844if ${ac_cv_prog_CC+:} false; then :
4705 $as_echo_n "(cached) " >&6 4845 $as_echo_n "(cached) " >&6
4706else 4846else
4707 if test -n "$CC"; then 4847 if test -n "$CC"; then
@@ -4760,7 +4900,7 @@ if test -z "$CC"; then
4760set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4900set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762$as_echo_n "checking for $ac_word... " >&6; } 4902$as_echo_n "checking for $ac_word... " >&6; }
4763if test "${ac_cv_prog_CC+set}" = set; then : 4903if ${ac_cv_prog_CC+:} false; then :
4764 $as_echo_n "(cached) " >&6 4904 $as_echo_n "(cached) " >&6
4765else 4905else
4766 if test -n "$CC"; then 4906 if test -n "$CC"; then
@@ -4804,7 +4944,7 @@ do
4804set dummy $ac_prog; ac_word=$2 4944set dummy $ac_prog; ac_word=$2
4805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806$as_echo_n "checking for $ac_word... " >&6; } 4946$as_echo_n "checking for $ac_word... " >&6; }
4807if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4947if ${ac_cv_prog_ac_ct_CC+:} false; then :
4808 $as_echo_n "(cached) " >&6 4948 $as_echo_n "(cached) " >&6
4809else 4949else
4810 if test -n "$ac_ct_CC"; then 4950 if test -n "$ac_ct_CC"; then
@@ -4858,8 +4998,8 @@ fi
4858 4998
4859test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4999test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4861as_fn_error "no acceptable C compiler found in \$PATH 5001as_fn_error $? "no acceptable C compiler found in \$PATH
4862See \`config.log' for more details." "$LINENO" 5; } 5002See \`config.log' for more details" "$LINENO" 5; }
4863 5003
4864# Provide some information about the compiler. 5004# Provide some information about the compiler.
4865$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5005$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4973,9 +5113,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4973 5113
4974{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5114{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4975$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4976{ as_fn_set_status 77 5116as_fn_error 77 "C compiler cannot create executables
4977as_fn_error "C compiler cannot create executables 5117See \`config.log' for more details" "$LINENO" 5; }
4978See \`config.log' for more details." "$LINENO" 5; }; }
4979else 5118else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4981$as_echo "yes" >&6; } 5120$as_echo "yes" >&6; }
@@ -5017,8 +5156,8 @@ done
5017else 5156else
5018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5019$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5158$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5020as_fn_error "cannot compute suffix of executables: cannot compile and link 5159as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5021See \`config.log' for more details." "$LINENO" 5; } 5160See \`config.log' for more details" "$LINENO" 5; }
5022fi 5161fi
5023rm -f conftest conftest$ac_cv_exeext 5162rm -f conftest conftest$ac_cv_exeext
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 5163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -5075,9 +5214,9 @@ $as_echo "$ac_try_echo"; } >&5
5075 else 5214 else
5076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5216$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5078as_fn_error "cannot run C compiled programs. 5217as_fn_error $? "cannot run C compiled programs.
5079If you meant to cross compile, use \`--host'. 5218If you meant to cross compile, use \`--host'.
5080See \`config.log' for more details." "$LINENO" 5; } 5219See \`config.log' for more details" "$LINENO" 5; }
5081 fi 5220 fi
5082 fi 5221 fi
5083fi 5222fi
@@ -5088,7 +5227,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5088ac_clean_files=$ac_clean_files_save 5227ac_clean_files=$ac_clean_files_save
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 5228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5090$as_echo_n "checking for suffix of object files... " >&6; } 5229$as_echo_n "checking for suffix of object files... " >&6; }
5091if test "${ac_cv_objext+set}" = set; then : 5230if ${ac_cv_objext+:} false; then :
5092 $as_echo_n "(cached) " >&6 5231 $as_echo_n "(cached) " >&6
5093else 5232else
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5128,8 +5267,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
5128 5267
5129{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5268{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5130$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5131as_fn_error "cannot compute suffix of object files: cannot compile 5270as_fn_error $? "cannot compute suffix of object files: cannot compile
5132See \`config.log' for more details." "$LINENO" 5; } 5271See \`config.log' for more details" "$LINENO" 5; }
5133fi 5272fi
5134rm -f conftest.$ac_cv_objext conftest.$ac_ext 5273rm -f conftest.$ac_cv_objext conftest.$ac_ext
5135fi 5274fi
@@ -5139,7 +5278,7 @@ OBJEXT=$ac_cv_objext
5139ac_objext=$OBJEXT 5278ac_objext=$OBJEXT
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5141$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5280$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5142if test "${ac_cv_c_compiler_gnu+set}" = set; then : 5281if ${ac_cv_c_compiler_gnu+:} false; then :
5143 $as_echo_n "(cached) " >&6 5282 $as_echo_n "(cached) " >&6
5144else 5283else
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5176,7 +5315,7 @@ ac_test_CFLAGS=${CFLAGS+set}
5176ac_save_CFLAGS=$CFLAGS 5315ac_save_CFLAGS=$CFLAGS
5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5178$as_echo_n "checking whether $CC accepts -g... " >&6; } 5317$as_echo_n "checking whether $CC accepts -g... " >&6; }
5179if test "${ac_cv_prog_cc_g+set}" = set; then : 5318if ${ac_cv_prog_cc_g+:} false; then :
5180 $as_echo_n "(cached) " >&6 5319 $as_echo_n "(cached) " >&6
5181else 5320else
5182 ac_save_c_werror_flag=$ac_c_werror_flag 5321 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -5254,7 +5393,7 @@ else
5254fi 5393fi
5255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5256$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5395$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5257if test "${ac_cv_prog_cc_c89+set}" = set; then : 5396if ${ac_cv_prog_cc_c89+:} false; then :
5258 $as_echo_n "(cached) " >&6 5397 $as_echo_n "(cached) " >&6
5259else 5398else
5260 ac_cv_prog_cc_c89=no 5399 ac_cv_prog_cc_c89=no
@@ -5415,7 +5554,7 @@ depcc="$CC" am_compiler_list=
5415 5554
5416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5417$as_echo_n "checking dependency style of $depcc... " >&6; } 5556$as_echo_n "checking dependency style of $depcc... " >&6; }
5418if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 5557if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5419 $as_echo_n "(cached) " >&6 5558 $as_echo_n "(cached) " >&6
5420else 5559else
5421 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5560 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -5547,7 +5686,7 @@ $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5547fi 5686fi
5548set dummy $CC; ac_cc=`$as_echo "$2" | 5687set dummy $CC; ac_cc=`$as_echo "$2" |
5549 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5688 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5550if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : 5689if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5551 $as_echo_n "(cached) " >&6 5690 $as_echo_n "(cached) " >&6
5552else 5691else
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5666,98 +5805,6 @@ fi
5666 5805
5667 5806
5668# Initialize gnulib right after verifying that the C compiler works. 5807# Initialize gnulib right after verifying that the C compiler works.
5669if test -n "$ac_tool_prefix"; then
5670 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5671set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673$as_echo_n "checking for $ac_word... " >&6; }
5674if test "${ac_cv_prog_RANLIB+set}" = set; then :
5675 $as_echo_n "(cached) " >&6
5676else
5677 if test -n "$RANLIB"; then
5678 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5679else
5680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681for as_dir in $PATH
5682do
5683 IFS=$as_save_IFS
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 break 2
5690 fi
5691done
5692 done
5693IFS=$as_save_IFS
5694
5695fi
5696fi
5697RANLIB=$ac_cv_prog_RANLIB
5698if test -n "$RANLIB"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5700$as_echo "$RANLIB" >&6; }
5701else
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703$as_echo "no" >&6; }
5704fi
5705
5706
5707fi
5708if test -z "$ac_cv_prog_RANLIB"; then
5709 ac_ct_RANLIB=$RANLIB
5710 # Extract the first word of "ranlib", so it can be a program name with args.
5711set dummy ranlib; ac_word=$2
5712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713$as_echo_n "checking for $ac_word... " >&6; }
5714if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5715 $as_echo_n "(cached) " >&6
5716else
5717 if test -n "$ac_ct_RANLIB"; then
5718 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5719else
5720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721for as_dir in $PATH
5722do
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_ac_ct_RANLIB="ranlib"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5730 fi
5731done
5732 done
5733IFS=$as_save_IFS
5734
5735fi
5736fi
5737ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5738if test -n "$ac_ct_RANLIB"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5740$as_echo "$ac_ct_RANLIB" >&6; }
5741else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743$as_echo "no" >&6; }
5744fi
5745
5746 if test "x$ac_ct_RANLIB" = x; then
5747 RANLIB=":"
5748 else
5749 case $cross_compiling:$ac_tool_warned in
5750yes:)
5751{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753ac_tool_warned=yes ;;
5754esac
5755 RANLIB=$ac_ct_RANLIB
5756 fi
5757else
5758 RANLIB="$ac_cv_prog_RANLIB"
5759fi
5760
5761 5808
5762ac_ext=c 5809ac_ext=c
5763ac_cpp='$CPP $CPPFLAGS' 5810ac_cpp='$CPP $CPPFLAGS'
@@ -5771,7 +5818,7 @@ if test -n "$CPP" && test -d "$CPP"; then
5771 CPP= 5818 CPP=
5772fi 5819fi
5773if test -z "$CPP"; then 5820if test -z "$CPP"; then
5774 if test "${ac_cv_prog_CPP+set}" = set; then : 5821 if ${ac_cv_prog_CPP+:} false; then :
5775 $as_echo_n "(cached) " >&6 5822 $as_echo_n "(cached) " >&6
5776else 5823else
5777 # Double quotes because CPP needs to be expanded 5824 # Double quotes because CPP needs to be expanded
@@ -5801,7 +5848,7 @@ else
5801 # Broken: fails on valid input. 5848 # Broken: fails on valid input.
5802continue 5849continue
5803fi 5850fi
5804rm -f conftest.err conftest.$ac_ext 5851rm -f conftest.err conftest.i conftest.$ac_ext
5805 5852
5806 # OK, works on sane cases. Now check whether nonexistent headers 5853 # OK, works on sane cases. Now check whether nonexistent headers
5807 # can be detected and how. 5854 # can be detected and how.
@@ -5817,11 +5864,11 @@ else
5817ac_preproc_ok=: 5864ac_preproc_ok=:
5818break 5865break
5819fi 5866fi
5820rm -f conftest.err conftest.$ac_ext 5867rm -f conftest.err conftest.i conftest.$ac_ext
5821 5868
5822done 5869done
5823# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5870# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5824rm -f conftest.err conftest.$ac_ext 5871rm -f conftest.i conftest.err conftest.$ac_ext
5825if $ac_preproc_ok; then : 5872if $ac_preproc_ok; then :
5826 break 5873 break
5827fi 5874fi
@@ -5860,7 +5907,7 @@ else
5860 # Broken: fails on valid input. 5907 # Broken: fails on valid input.
5861continue 5908continue
5862fi 5909fi
5863rm -f conftest.err conftest.$ac_ext 5910rm -f conftest.err conftest.i conftest.$ac_ext
5864 5911
5865 # OK, works on sane cases. Now check whether nonexistent headers 5912 # OK, works on sane cases. Now check whether nonexistent headers
5866 # can be detected and how. 5913 # can be detected and how.
@@ -5876,18 +5923,18 @@ else
5876ac_preproc_ok=: 5923ac_preproc_ok=:
5877break 5924break
5878fi 5925fi
5879rm -f conftest.err conftest.$ac_ext 5926rm -f conftest.err conftest.i conftest.$ac_ext
5880 5927
5881done 5928done
5882# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5929# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5883rm -f conftest.err conftest.$ac_ext 5930rm -f conftest.i conftest.err conftest.$ac_ext
5884if $ac_preproc_ok; then : 5931if $ac_preproc_ok; then :
5885 5932
5886else 5933else
5887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5888$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5889as_fn_error "C preprocessor \"$CPP\" fails sanity check 5936as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5890See \`config.log' for more details." "$LINENO" 5; } 5937See \`config.log' for more details" "$LINENO" 5; }
5891fi 5938fi
5892 5939
5893ac_ext=c 5940ac_ext=c
@@ -5899,7 +5946,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5899 5946
5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5901$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5948$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5902if test "${ac_cv_path_GREP+set}" = set; then : 5949if ${ac_cv_path_GREP+:} false; then :
5903 $as_echo_n "(cached) " >&6 5950 $as_echo_n "(cached) " >&6
5904else 5951else
5905 if test -z "$GREP"; then 5952 if test -z "$GREP"; then
@@ -5948,7 +5995,7 @@ esac
5948 done 5995 done
5949IFS=$as_save_IFS 5996IFS=$as_save_IFS
5950 if test -z "$ac_cv_path_GREP"; then 5997 if test -z "$ac_cv_path_GREP"; then
5951 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5998 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5952 fi 5999 fi
5953else 6000else
5954 ac_cv_path_GREP=$GREP 6001 ac_cv_path_GREP=$GREP
@@ -5962,7 +6009,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
5962 6009
5963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5964$as_echo_n "checking for egrep... " >&6; } 6011$as_echo_n "checking for egrep... " >&6; }
5965if test "${ac_cv_path_EGREP+set}" = set; then : 6012if ${ac_cv_path_EGREP+:} false; then :
5966 $as_echo_n "(cached) " >&6 6013 $as_echo_n "(cached) " >&6
5967else 6014else
5968 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6015 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -6014,7 +6061,7 @@ esac
6014 done 6061 done
6015IFS=$as_save_IFS 6062IFS=$as_save_IFS
6016 if test -z "$ac_cv_path_EGREP"; then 6063 if test -z "$ac_cv_path_EGREP"; then
6017 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6064 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6018 fi 6065 fi
6019else 6066else
6020 ac_cv_path_EGREP=$EGREP 6067 ac_cv_path_EGREP=$EGREP
@@ -6027,9 +6074,247 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
6027 EGREP="$ac_cv_path_EGREP" 6074 EGREP="$ac_cv_path_EGREP"
6028 6075
6029 6076
6077
6078
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
6080$as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
6081if ${gl_cv_c_amsterdam_compiler+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083else
6084
6085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6086/* end confdefs.h. */
6087
6088#ifdef __ACK__
6089Amsterdam
6090#endif
6091
6092_ACEOF
6093if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6094 $EGREP "Amsterdam" >/dev/null 2>&1; then :
6095 gl_cv_c_amsterdam_compiler=yes
6096else
6097 gl_cv_c_amsterdam_compiler=no
6098fi
6099rm -f conftest*
6100
6101
6102fi
6103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
6104$as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
6105 if test -z "$AR"; then
6106 if test $gl_cv_c_amsterdam_compiler = yes; then
6107 AR='cc -c.a'
6108 if test -z "$ARFLAGS"; then
6109 ARFLAGS='-o'
6110 fi
6111 else
6112 if test -n "$ac_tool_prefix"; then
6113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6114set dummy ${ac_tool_prefix}ar; ac_word=$2
6115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116$as_echo_n "checking for $ac_word... " >&6; }
6117if ${ac_cv_prog_AR+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119else
6120 if test -n "$AR"; then
6121 ac_cv_prog_AR="$AR" # Let the user override the test.
6122else
6123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124for as_dir in $PATH
6125do
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130 ac_cv_prog_AR="${ac_tool_prefix}ar"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6133 fi
6134done
6135 done
6136IFS=$as_save_IFS
6137
6138fi
6139fi
6140AR=$ac_cv_prog_AR
6141if test -n "$AR"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6143$as_echo "$AR" >&6; }
6144else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146$as_echo "no" >&6; }
6147fi
6148
6149
6150fi
6151if test -z "$ac_cv_prog_AR"; then
6152 ac_ct_AR=$AR
6153 # Extract the first word of "ar", so it can be a program name with args.
6154set dummy ar; ac_word=$2
6155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156$as_echo_n "checking for $ac_word... " >&6; }
6157if ${ac_cv_prog_ac_ct_AR+:} false; then :
6158 $as_echo_n "(cached) " >&6
6159else
6160 if test -n "$ac_ct_AR"; then
6161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6162else
6163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164for as_dir in $PATH
6165do
6166 IFS=$as_save_IFS
6167 test -z "$as_dir" && as_dir=.
6168 for ac_exec_ext in '' $ac_executable_extensions; do
6169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170 ac_cv_prog_ac_ct_AR="ar"
6171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 break 2
6173 fi
6174done
6175 done
6176IFS=$as_save_IFS
6177
6178fi
6179fi
6180ac_ct_AR=$ac_cv_prog_ac_ct_AR
6181if test -n "$ac_ct_AR"; then
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6183$as_echo "$ac_ct_AR" >&6; }
6184else
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186$as_echo "no" >&6; }
6187fi
6188
6189 if test "x$ac_ct_AR" = x; then
6190 AR="ar"
6191 else
6192 case $cross_compiling:$ac_tool_warned in
6193yes:)
6194{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6195$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6196ac_tool_warned=yes ;;
6197esac
6198 AR=$ac_ct_AR
6199 fi
6200else
6201 AR="$ac_cv_prog_AR"
6202fi
6203
6204 if test -z "$ARFLAGS"; then
6205 ARFLAGS='cru'
6206 fi
6207 fi
6208 else
6209 if test -z "$ARFLAGS"; then
6210 ARFLAGS='cru'
6211 fi
6212 fi
6213
6214
6215 if test -z "$RANLIB"; then
6216 if test $gl_cv_c_amsterdam_compiler = yes; then
6217 RANLIB=':'
6218 else
6219 if test -n "$ac_tool_prefix"; then
6220 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6221set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223$as_echo_n "checking for $ac_word... " >&6; }
6224if ${ac_cv_prog_RANLIB+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226else
6227 if test -n "$RANLIB"; then
6228 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6229else
6230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231for as_dir in $PATH
6232do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241done
6242 done
6243IFS=$as_save_IFS
6244
6245fi
6246fi
6247RANLIB=$ac_cv_prog_RANLIB
6248if test -n "$RANLIB"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6250$as_echo "$RANLIB" >&6; }
6251else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253$as_echo "no" >&6; }
6254fi
6255
6256
6257fi
6258if test -z "$ac_cv_prog_RANLIB"; then
6259 ac_ct_RANLIB=$RANLIB
6260 # Extract the first word of "ranlib", so it can be a program name with args.
6261set dummy ranlib; ac_word=$2
6262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263$as_echo_n "checking for $ac_word... " >&6; }
6264if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6265 $as_echo_n "(cached) " >&6
6266else
6267 if test -n "$ac_ct_RANLIB"; then
6268 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6269else
6270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271for as_dir in $PATH
6272do
6273 IFS=$as_save_IFS
6274 test -z "$as_dir" && as_dir=.
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277 ac_cv_prog_ac_ct_RANLIB="ranlib"
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 break 2
6280 fi
6281done
6282 done
6283IFS=$as_save_IFS
6284
6285fi
6286fi
6287ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6288if test -n "$ac_ct_RANLIB"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6290$as_echo "$ac_ct_RANLIB" >&6; }
6291else
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293$as_echo "no" >&6; }
6294fi
6295
6296 if test "x$ac_ct_RANLIB" = x; then
6297 RANLIB=":"
6298 else
6299 case $cross_compiling:$ac_tool_warned in
6300yes:)
6301{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6302$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6303ac_tool_warned=yes ;;
6304esac
6305 RANLIB=$ac_ct_RANLIB
6306 fi
6307else
6308 RANLIB="$ac_cv_prog_RANLIB"
6309fi
6310
6311 fi
6312 fi
6313
6314
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6031$as_echo_n "checking for ANSI C header files... " >&6; } 6316$as_echo_n "checking for ANSI C header files... " >&6; }
6032if test "${ac_cv_header_stdc+set}" = set; then : 6317if ${ac_cv_header_stdc+:} false; then :
6033 $as_echo_n "(cached) " >&6 6318 $as_echo_n "(cached) " >&6
6034else 6319else
6035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6146,8 +6431,7 @@ do :
6146 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6147ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6432ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6148" 6433"
6149eval as_val=\$$as_ac_Header 6434if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6150 if test "x$as_val" = x""yes; then :
6151 cat >>confdefs.h <<_ACEOF 6435 cat >>confdefs.h <<_ACEOF
6152#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6436#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6153_ACEOF 6437_ACEOF
@@ -6161,7 +6445,7 @@ done
6161 6445
6162 6446
6163 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 6447 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
6164if test "x$ac_cv_header_minix_config_h" = x""yes; then : 6448if test "x$ac_cv_header_minix_config_h" = xyes; then :
6165 MINIX=yes 6449 MINIX=yes
6166else 6450else
6167 MINIX= 6451 MINIX=
@@ -6191,7 +6475,7 @@ $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
6191 6475
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6193$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 6477$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
6194if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 6478if ${ac_cv_safe_to_define___extensions__+:} false; then :
6195 $as_echo_n "(cached) " >&6 6479 $as_echo_n "(cached) " >&6
6196else 6480else
6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6221,6 +6505,8 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
6221 6505
6222 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 6506 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
6223 6507
6508 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
6509
6224 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 6510 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
6225 6511
6226 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 6512 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
@@ -6234,13 +6520,213 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
6234 6520
6235 6521
6236 6522
6523# Check whether --enable-largefile was given.
6524if test "${enable_largefile+set}" = set; then :
6525 enableval=$enable_largefile;
6526fi
6527
6528if test "$enable_largefile" != no; then
6529
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6531$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6532if ${ac_cv_sys_largefile_CC+:} false; then :
6533 $as_echo_n "(cached) " >&6
6534else
6535 ac_cv_sys_largefile_CC=no
6536 if test "$GCC" != yes; then
6537 ac_save_CC=$CC
6538 while :; do
6539 # IRIX 6.2 and later do not support large files by default,
6540 # so use the C compiler's -n32 option if that helps.
6541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6542/* end confdefs.h. */
6543#include <sys/types.h>
6544 /* Check that off_t can represent 2**63 - 1 correctly.
6545 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6546 since some C++ compilers masquerading as C compilers
6547 incorrectly reject 9223372036854775807. */
6548#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6549 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6550 && LARGE_OFF_T % 2147483647 == 1)
6551 ? 1 : -1];
6552int
6553main ()
6554{
6555
6556 ;
6557 return 0;
6558}
6559_ACEOF
6560 if ac_fn_c_try_compile "$LINENO"; then :
6561 break
6562fi
6563rm -f core conftest.err conftest.$ac_objext
6564 CC="$CC -n32"
6565 if ac_fn_c_try_compile "$LINENO"; then :
6566 ac_cv_sys_largefile_CC=' -n32'; break
6567fi
6568rm -f core conftest.err conftest.$ac_objext
6569 break
6570 done
6571 CC=$ac_save_CC
6572 rm -f conftest.$ac_ext
6573 fi
6574fi
6575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6576$as_echo "$ac_cv_sys_largefile_CC" >&6; }
6577 if test "$ac_cv_sys_largefile_CC" != no; then
6578 CC=$CC$ac_cv_sys_largefile_CC
6579 fi
6580
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6582$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6583if ${ac_cv_sys_file_offset_bits+:} false; then :
6584 $as_echo_n "(cached) " >&6
6585else
6586 while :; do
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588/* end confdefs.h. */
6589#include <sys/types.h>
6590 /* Check that off_t can represent 2**63 - 1 correctly.
6591 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6592 since some C++ compilers masquerading as C compilers
6593 incorrectly reject 9223372036854775807. */
6594#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6595 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6596 && LARGE_OFF_T % 2147483647 == 1)
6597 ? 1 : -1];
6598int
6599main ()
6600{
6601
6602 ;
6603 return 0;
6604}
6605_ACEOF
6606if ac_fn_c_try_compile "$LINENO"; then :
6607 ac_cv_sys_file_offset_bits=no; break
6608fi
6609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611/* end confdefs.h. */
6612#define _FILE_OFFSET_BITS 64
6613#include <sys/types.h>
6614 /* Check that off_t can represent 2**63 - 1 correctly.
6615 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6616 since some C++ compilers masquerading as C compilers
6617 incorrectly reject 9223372036854775807. */
6618#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6619 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6620 && LARGE_OFF_T % 2147483647 == 1)
6621 ? 1 : -1];
6622int
6623main ()
6624{
6625
6626 ;
6627 return 0;
6628}
6629_ACEOF
6630if ac_fn_c_try_compile "$LINENO"; then :
6631 ac_cv_sys_file_offset_bits=64; break
6632fi
6633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6634 ac_cv_sys_file_offset_bits=unknown
6635 break
6636done
6637fi
6638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6639$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6640case $ac_cv_sys_file_offset_bits in #(
6641 no | unknown) ;;
6642 *)
6643cat >>confdefs.h <<_ACEOF
6644#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6645_ACEOF
6646;;
6647esac
6648rm -rf conftest*
6649 if test $ac_cv_sys_file_offset_bits = unknown; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6651$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6652if ${ac_cv_sys_large_files+:} false; then :
6653 $as_echo_n "(cached) " >&6
6654else
6655 while :; do
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657/* end confdefs.h. */
6658#include <sys/types.h>
6659 /* Check that off_t can represent 2**63 - 1 correctly.
6660 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6661 since some C++ compilers masquerading as C compilers
6662 incorrectly reject 9223372036854775807. */
6663#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6664 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6665 && LARGE_OFF_T % 2147483647 == 1)
6666 ? 1 : -1];
6667int
6668main ()
6669{
6670
6671 ;
6672 return 0;
6673}
6674_ACEOF
6675if ac_fn_c_try_compile "$LINENO"; then :
6676 ac_cv_sys_large_files=no; break
6677fi
6678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680/* end confdefs.h. */
6681#define _LARGE_FILES 1
6682#include <sys/types.h>
6683 /* Check that off_t can represent 2**63 - 1 correctly.
6684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6685 since some C++ compilers masquerading as C compilers
6686 incorrectly reject 9223372036854775807. */
6687#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6689 && LARGE_OFF_T % 2147483647 == 1)
6690 ? 1 : -1];
6691int
6692main ()
6693{
6694
6695 ;
6696 return 0;
6697}
6698_ACEOF
6699if ac_fn_c_try_compile "$LINENO"; then :
6700 ac_cv_sys_large_files=1; break
6701fi
6702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 ac_cv_sys_large_files=unknown
6704 break
6705done
6706fi
6707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6708$as_echo "$ac_cv_sys_large_files" >&6; }
6709case $ac_cv_sys_large_files in #(
6710 no | unknown) ;;
6711 *)
6712cat >>confdefs.h <<_ACEOF
6713#define _LARGE_FILES $ac_cv_sys_large_files
6714_ACEOF
6715;;
6716esac
6717rm -rf conftest*
6718 fi
6719
6720
6721fi
6722
6237 case $ac_cv_prog_cc_stdc in #( 6723 case $ac_cv_prog_cc_stdc in #(
6238 no) : 6724 no) :
6239 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( 6725 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
6240 *) : 6726 *) :
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
6242$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 6728$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
6243if test "${ac_cv_prog_cc_c99+set}" = set; then : 6729if ${ac_cv_prog_cc_c99+:} false; then :
6244 $as_echo_n "(cached) " >&6 6730 $as_echo_n "(cached) " >&6
6245else 6731else
6246 ac_cv_prog_cc_c99=no 6732 ac_cv_prog_cc_c99=no
@@ -6415,7 +6901,7 @@ if test "x$ac_cv_prog_cc_c99" != xno; then :
6415else 6901else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6417$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6903$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6418if test "${ac_cv_prog_cc_c89+set}" = set; then : 6904if ${ac_cv_prog_cc_c89+:} false; then :
6419 $as_echo_n "(cached) " >&6 6905 $as_echo_n "(cached) " >&6
6420else 6906else
6421 ac_cv_prog_cc_c89=no 6907 ac_cv_prog_cc_c89=no
@@ -6511,7 +6997,7 @@ fi
6511esac 6997esac
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
6513$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } 6999$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
6514 if test "${ac_cv_prog_cc_stdc+set}" = set; then : 7000 if ${ac_cv_prog_cc_stdc+:} false; then :
6515 $as_echo_n "(cached) " >&6 7001 $as_echo_n "(cached) " >&6
6516fi 7002fi
6517 7003
@@ -6531,8 +7017,6 @@ esac
6531 7017
6532 # Code from module alloca-opt: 7018 # Code from module alloca-opt:
6533 # Code from module allocator: 7019 # Code from module allocator:
6534 # Code from module arg-nonnull:
6535 # Code from module c++defs:
6536 # Code from module careadlinkat: 7020 # Code from module careadlinkat:
6537 # Code from module crypto/md5: 7021 # Code from module crypto/md5:
6538 # Code from module crypto/sha1: 7022 # Code from module crypto/sha1:
@@ -6552,10 +7036,26 @@ esac
6552 # Code from module include_next: 7036 # Code from module include_next:
6553 # Code from module intprops: 7037 # Code from module intprops:
6554 # Code from module inttypes-incomplete: 7038 # Code from module inttypes-incomplete:
7039 # Code from module largefile:
7040
6555 # Code from module lstat: 7041 # Code from module lstat:
6556 # Code from module mktime: 7042 # Code from module mktime:
6557 # Code from module multiarch: 7043 # Code from module multiarch:
7044<<<<<<< TREE
7045=======
7046 # Code from module nocrash:
7047 # Code from module pthread_sigmask:
7048>>>>>>> MERGE-SOURCE
6558 # Code from module readlink: 7049 # Code from module readlink:
7050<<<<<<< TREE
7051=======
7052 # Code from module signal:
7053 # Code from module sigprocmask:
7054 # Code from module snippet/_Noreturn:
7055 # Code from module snippet/arg-nonnull:
7056 # Code from module snippet/c++defs:
7057 # Code from module snippet/warn-on-use:
7058>>>>>>> MERGE-SOURCE
6559 # Code from module socklen: 7059 # Code from module socklen:
6560 # Code from module ssize_t: 7060 # Code from module ssize_t:
6561 # Code from module stat: 7061 # Code from module stat:
@@ -6576,7 +7076,6 @@ esac
6576 # Code from module u64: 7076 # Code from module u64:
6577 # Code from module unistd: 7077 # Code from module unistd:
6578 # Code from module verify: 7078 # Code from module verify:
6579 # Code from module warn-on-use:
6580 7079
6581 7080
6582# On Suns, sometimes $CPP names a directory. 7081# On Suns, sometimes $CPP names a directory.
@@ -6590,7 +7089,7 @@ if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
6590 test x"$CPP" = x; then 7089 test x"$CPP" = x; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
6592$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 7091$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
6593 if test "${emacs_cv_sunpro_c+set}" = set; then : 7092 if ${emacs_cv_sunpro_c+:} false; then :
6594 $as_echo_n "(cached) " >&6 7093 $as_echo_n "(cached) " >&6
6595else 7094else
6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6758,7 +7257,7 @@ if test -n "$CPP" && test -d "$CPP"; then
6758 CPP= 7257 CPP=
6759fi 7258fi
6760if test -z "$CPP"; then 7259if test -z "$CPP"; then
6761 if test "${ac_cv_prog_CPP+set}" = set; then : 7260 if ${ac_cv_prog_CPP+:} false; then :
6762 $as_echo_n "(cached) " >&6 7261 $as_echo_n "(cached) " >&6
6763else 7262else
6764 # Double quotes because CPP needs to be expanded 7263 # Double quotes because CPP needs to be expanded
@@ -6788,7 +7287,7 @@ else
6788 # Broken: fails on valid input. 7287 # Broken: fails on valid input.
6789continue 7288continue
6790fi 7289fi
6791rm -f conftest.err conftest.$ac_ext 7290rm -f conftest.err conftest.i conftest.$ac_ext
6792 7291
6793 # OK, works on sane cases. Now check whether nonexistent headers 7292 # OK, works on sane cases. Now check whether nonexistent headers
6794 # can be detected and how. 7293 # can be detected and how.
@@ -6804,11 +7303,11 @@ else
6804ac_preproc_ok=: 7303ac_preproc_ok=:
6805break 7304break
6806fi 7305fi
6807rm -f conftest.err conftest.$ac_ext 7306rm -f conftest.err conftest.i conftest.$ac_ext
6808 7307
6809done 7308done
6810# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7309# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6811rm -f conftest.err conftest.$ac_ext 7310rm -f conftest.i conftest.err conftest.$ac_ext
6812if $ac_preproc_ok; then : 7311if $ac_preproc_ok; then :
6813 break 7312 break
6814fi 7313fi
@@ -6847,7 +7346,7 @@ else
6847 # Broken: fails on valid input. 7346 # Broken: fails on valid input.
6848continue 7347continue
6849fi 7348fi
6850rm -f conftest.err conftest.$ac_ext 7349rm -f conftest.err conftest.i conftest.$ac_ext
6851 7350
6852 # OK, works on sane cases. Now check whether nonexistent headers 7351 # OK, works on sane cases. Now check whether nonexistent headers
6853 # can be detected and how. 7352 # can be detected and how.
@@ -6863,18 +7362,18 @@ else
6863ac_preproc_ok=: 7362ac_preproc_ok=:
6864break 7363break
6865fi 7364fi
6866rm -f conftest.err conftest.$ac_ext 7365rm -f conftest.err conftest.i conftest.$ac_ext
6867 7366
6868done 7367done
6869# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7368# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6870rm -f conftest.err conftest.$ac_ext 7369rm -f conftest.i conftest.err conftest.$ac_ext
6871if $ac_preproc_ok; then : 7370if $ac_preproc_ok; then :
6872 7371
6873else 7372else
6874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6875$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6876as_fn_error "C preprocessor \"$CPP\" fails sanity check 7375as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6877See \`config.log' for more details." "$LINENO" 5; } 7376See \`config.log' for more details" "$LINENO" 5; }
6878fi 7377fi
6879 7378
6880ac_ext=c 7379ac_ext=c
@@ -6890,7 +7389,7 @@ if test "x$RANLIB" = x; then
6890set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7389set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892$as_echo_n "checking for $ac_word... " >&6; } 7391$as_echo_n "checking for $ac_word... " >&6; }
6893if test "${ac_cv_prog_RANLIB+set}" = set; then : 7392if ${ac_cv_prog_RANLIB+:} false; then :
6894 $as_echo_n "(cached) " >&6 7393 $as_echo_n "(cached) " >&6
6895else 7394else
6896 if test -n "$RANLIB"; then 7395 if test -n "$RANLIB"; then
@@ -6930,7 +7429,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
6930set dummy ranlib; ac_word=$2 7429set dummy ranlib; ac_word=$2
6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932$as_echo_n "checking for $ac_word... " >&6; } 7431$as_echo_n "checking for $ac_word... " >&6; }
6933if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 7432if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6934 $as_echo_n "(cached) " >&6 7433 $as_echo_n "(cached) " >&6
6935else 7434else
6936 if test -n "$ac_ct_RANLIB"; then 7435 if test -n "$ac_ct_RANLIB"; then
@@ -6985,7 +7484,7 @@ fi
6985## is running in i386 mode, we can help them out. 7484## is running in i386 mode, we can help them out.
6986if test "$machine" = "amdx86-64"; then 7485if test "$machine" = "amdx86-64"; then
6987 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" 7486 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
6988if test "x$ac_cv_have_decl_i386" = x""yes; then : 7487if test "x$ac_cv_have_decl_i386" = xyes; then :
6989 7488
6990fi 7489fi
6991 7490
@@ -7000,7 +7499,7 @@ fi
7000set dummy install-info; ac_word=$2 7499set dummy install-info; ac_word=$2
7001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002$as_echo_n "checking for $ac_word... " >&6; } 7501$as_echo_n "checking for $ac_word... " >&6; }
7003if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 7502if ${ac_cv_path_INSTALL_INFO+:} false; then :
7004 $as_echo_n "(cached) " >&6 7503 $as_echo_n "(cached) " >&6
7005else 7504else
7006 case $INSTALL_INFO in 7505 case $INSTALL_INFO in
@@ -7040,7 +7539,7 @@ fi
7040set dummy install-info; ac_word=$2 7539set dummy install-info; ac_word=$2
7041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042$as_echo_n "checking for $ac_word... " >&6; } 7541$as_echo_n "checking for $ac_word... " >&6; }
7043if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 7542if ${ac_cv_path_INSTALL_INFO+:} false; then :
7044 $as_echo_n "(cached) " >&6 7543 $as_echo_n "(cached) " >&6
7045else 7544else
7046 case $INSTALL_INFO in 7545 case $INSTALL_INFO in
@@ -7080,7 +7579,7 @@ fi
7080set dummy install-info; ac_word=$2 7579set dummy install-info; ac_word=$2
7081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082$as_echo_n "checking for $ac_word... " >&6; } 7581$as_echo_n "checking for $ac_word... " >&6; }
7083if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 7582if ${ac_cv_path_INSTALL_INFO+:} false; then :
7084 $as_echo_n "(cached) " >&6 7583 $as_echo_n "(cached) " >&6
7085else 7584else
7086 case $INSTALL_INFO in 7585 case $INSTALL_INFO in
@@ -7121,7 +7620,7 @@ fi
7121set dummy gzip; ac_word=$2 7620set dummy gzip; ac_word=$2
7122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123$as_echo_n "checking for $ac_word... " >&6; } 7622$as_echo_n "checking for $ac_word... " >&6; }
7124if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 7623if ${ac_cv_path_GZIP_PROG+:} false; then :
7125 $as_echo_n "(cached) " >&6 7624 $as_echo_n "(cached) " >&6
7126else 7625else
7127 case $GZIP_PROG in 7626 case $GZIP_PROG in
@@ -7164,7 +7663,7 @@ fi
7164set dummy makeinfo; ac_word=$2 7663set dummy makeinfo; ac_word=$2
7165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166$as_echo_n "checking for $ac_word... " >&6; } 7665$as_echo_n "checking for $ac_word... " >&6; }
7167if test "${ac_cv_path_MAKEINFO+set}" = set; then : 7666if ${ac_cv_path_MAKEINFO+:} false; then :
7168 $as_echo_n "(cached) " >&6 7667 $as_echo_n "(cached) " >&6
7169else 7668else
7170 case $MAKEINFO in 7669 case $MAKEINFO in
@@ -7222,7 +7721,7 @@ if test "$MAKEINFO" = "no"; then
7222 if test "x${with_makeinfo}" = "xno"; then 7721 if test "x${with_makeinfo}" = "xno"; then
7223 HAVE_MAKEINFO=no 7722 HAVE_MAKEINFO=no
7224 elif test ! -e $srcdir/info/emacs; then 7723 elif test ! -e $srcdir/info/emacs; then
7225 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 7724 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your
7226source tree does not seem to have pre-built manuals in the \`info' directory. 7725source tree does not seem to have pre-built manuals in the \`info' directory.
7227Either install a suitable version of makeinfo, or re-run configure 7726Either install a suitable version of makeinfo, or re-run configure
7228with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 7727with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
@@ -7370,7 +7869,7 @@ esac
7370C_SWITCH_MACHINE= 7869C_SWITCH_MACHINE=
7371if test "$machine" = "alpha"; then 7870if test "$machine" = "alpha"; then
7372 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" 7871 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
7373if test "x$ac_cv_have_decl___ELF__" = x""yes; then : 7872if test "x$ac_cv_have_decl___ELF__" = xyes; then :
7374 7873
7375fi 7874fi
7376 7875
@@ -7383,7 +7882,7 @@ fi
7383 if test "x$GCC" = "xyes"; then 7882 if test "x$GCC" = "xyes"; then
7384 C_SWITCH_MACHINE="-fno-common" 7883 C_SWITCH_MACHINE="-fno-common"
7385 else 7884 else
7386 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 7885 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
7387 fi 7886 fi
7388 else 7887 else
7389 UNEXEC_OBJ=unexalpha.o 7888 UNEXEC_OBJ=unexalpha.o
@@ -7441,16 +7940,16 @@ if test "$enable_largefile" != no; then
7441 7940
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7443$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 7942$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7444if test "${ac_cv_sys_largefile_CC+set}" = set; then : 7943if ${ac_cv_sys_largefile_CC+:} false; then :
7445 $as_echo_n "(cached) " >&6 7944 $as_echo_n "(cached) " >&6
7446else 7945else
7447 ac_cv_sys_largefile_CC=no 7946 ac_cv_sys_largefile_CC=no
7448 if test "$GCC" != yes; then 7947 if test "$GCC" != yes; then
7449 ac_save_CC=$CC 7948 ac_save_CC=$CC
7450 while :; do 7949 while :; do
7451 # IRIX 6.2 and later do not support large files by default, 7950 # IRIX 6.2 and later do not support large files by default,
7452 # so use the C compiler's -n32 option if that helps. 7951 # so use the C compiler's -n32 option if that helps.
7453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7454/* end confdefs.h. */ 7953/* end confdefs.h. */
7455#include <sys/types.h> 7954#include <sys/types.h>
7456 /* Check that off_t can represent 2**63 - 1 correctly. 7955 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -7459,8 +7958,8 @@ else
7459 incorrectly reject 9223372036854775807. */ 7958 incorrectly reject 9223372036854775807. */
7460#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 7959#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7461 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7960 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7462 && LARGE_OFF_T % 2147483647 == 1) 7961 && LARGE_OFF_T % 2147483647 == 1)
7463 ? 1 : -1]; 7962 ? 1 : -1];
7464int 7963int
7465main () 7964main ()
7466{ 7965{
@@ -7469,16 +7968,16 @@ main ()
7469 return 0; 7968 return 0;
7470} 7969}
7471_ACEOF 7970_ACEOF
7472 if ac_fn_c_try_compile "$LINENO"; then : 7971 if ac_fn_c_try_compile "$LINENO"; then :
7473 break 7972 break
7474fi 7973fi
7475rm -f core conftest.err conftest.$ac_objext 7974rm -f core conftest.err conftest.$ac_objext
7476 CC="$CC -n32" 7975 CC="$CC -n32"
7477 if ac_fn_c_try_compile "$LINENO"; then : 7976 if ac_fn_c_try_compile "$LINENO"; then :
7478 ac_cv_sys_largefile_CC=' -n32'; break 7977 ac_cv_sys_largefile_CC=' -n32'; break
7479fi 7978fi
7480rm -f core conftest.err conftest.$ac_objext 7979rm -f core conftest.err conftest.$ac_objext
7481 break 7980 break
7482 done 7981 done
7483 CC=$ac_save_CC 7982 CC=$ac_save_CC
7484 rm -f conftest.$ac_ext 7983 rm -f conftest.$ac_ext
@@ -7492,7 +7991,7 @@ $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7492 7991
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7494$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 7993$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7495if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 7994if ${ac_cv_sys_file_offset_bits+:} false; then :
7496 $as_echo_n "(cached) " >&6 7995 $as_echo_n "(cached) " >&6
7497else 7996else
7498 while :; do 7997 while :; do
@@ -7505,8 +8004,8 @@ else
7505 incorrectly reject 9223372036854775807. */ 8004 incorrectly reject 9223372036854775807. */
7506#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8005#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7507 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8006 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7508 && LARGE_OFF_T % 2147483647 == 1) 8007 && LARGE_OFF_T % 2147483647 == 1)
7509 ? 1 : -1]; 8008 ? 1 : -1];
7510int 8009int
7511main () 8010main ()
7512{ 8011{
@@ -7529,8 +8028,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7529 incorrectly reject 9223372036854775807. */ 8028 incorrectly reject 9223372036854775807. */
7530#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8029#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7531 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7532 && LARGE_OFF_T % 2147483647 == 1) 8031 && LARGE_OFF_T % 2147483647 == 1)
7533 ? 1 : -1]; 8032 ? 1 : -1];
7534int 8033int
7535main () 8034main ()
7536{ 8035{
@@ -7561,7 +8060,7 @@ rm -rf conftest*
7561 if test $ac_cv_sys_file_offset_bits = unknown; then 8060 if test $ac_cv_sys_file_offset_bits = unknown; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7563$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 8062$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7564if test "${ac_cv_sys_large_files+set}" = set; then : 8063if ${ac_cv_sys_large_files+:} false; then :
7565 $as_echo_n "(cached) " >&6 8064 $as_echo_n "(cached) " >&6
7566else 8065else
7567 while :; do 8066 while :; do
@@ -7574,8 +8073,8 @@ else
7574 incorrectly reject 9223372036854775807. */ 8073 incorrectly reject 9223372036854775807. */
7575#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8074#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7576 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8075 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7577 && LARGE_OFF_T % 2147483647 == 1) 8076 && LARGE_OFF_T % 2147483647 == 1)
7578 ? 1 : -1]; 8077 ? 1 : -1];
7579int 8078int
7580main () 8079main ()
7581{ 8080{
@@ -7598,8 +8097,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7598 incorrectly reject 9223372036854775807. */ 8097 incorrectly reject 9223372036854775807. */
7599#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 8098#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7600 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 8099 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7601 && LARGE_OFF_T % 2147483647 == 1) 8100 && LARGE_OFF_T % 2147483647 == 1)
7602 ? 1 : -1]; 8101 ? 1 : -1];
7603int 8102int
7604main () 8103main ()
7605{ 8104{
@@ -7628,6 +8127,8 @@ _ACEOF
7628esac 8127esac
7629rm -rf conftest* 8128rm -rf conftest*
7630 fi 8129 fi
8130
8131
7631fi 8132fi
7632 8133
7633 8134
@@ -7742,6 +8243,102 @@ esac
7742 8243
7743 8244
7744 8245
8246<<<<<<< TREE
8247=======
8248crt_files=
8249
8250for file in x $LIB_STANDARD $START_FILES; do
8251 case "$file" in
8252 *CRT_DIR*) crt_files="$crt_files `echo $file | sed -e 's|.*/||'`" ;;
8253 esac
8254done
8255
8256if test "x$crt_files" != x; then
8257
8258 ## If user specified a crt-dir, use that unconditionally.
8259 crt_gcc=no
8260
8261 if test "X$CRT_DIR" = "X"; then
8262
8263 CRT_DIR=/usr/lib # default
8264
8265 case "$canonical" in
8266 x86_64-*-linux-gnu* | s390x-*-linux-gnu*)
8267 ## On x86-64 and s390x GNU/Linux distributions, the standard library
8268 ## can be in a variety of places. We only try /usr/lib64 and /usr/lib.
8269 ## For anything else (eg /usr/lib32), it is up the user to specify
8270 ## the location (bug#5655).
8271 ## Test for crtn.o, not just the directory, because sometimes the
8272 ## directory exists but does not have the relevant files (bug#1287).
8273 ## FIXME better to test for binary compatibility somehow.
8274 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64
8275 ;;
8276
8277 powerpc64-*-linux-gnu* | sparc64-*-linux-gnu*) CRT_DIR=/usr/lib64 ;;
8278 esac
8279
8280 case "$opsys" in
8281 hpux10-20) CRT_DIR=/lib ;;
8282 esac
8283
8284 test "x${GCC}" = xyes && crt_gcc=yes
8285
8286 fi # CRT_DIR = ""
8287
8288 crt_missing=
8289
8290 for file in $crt_files; do
8291
8292 ## If we're using gcc, try to determine it automatically by asking
8293 ## gcc. [If this doesn't work, CRT_DIR will remain at the
8294 ## system-dependent default from above.]
8295 if test $crt_gcc = yes && test ! -e $CRT_DIR/$file; then
8296
8297 crt_file=`$CC --print-file-name=$file 2>/dev/null`
8298 case "$crt_file" in
8299 */*)
8300 CRT_DIR=`$as_dirname -- "$crt_file" ||
8301$as_expr X"$crt_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8302 X"$crt_file" : 'X\(//\)[^/]' \| \
8303 X"$crt_file" : 'X\(//\)$' \| \
8304 X"$crt_file" : 'X\(/\)' \| . 2>/dev/null ||
8305$as_echo X"$crt_file" |
8306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8307 s//\1/
8308 q
8309 }
8310 /^X\(\/\/\)[^/].*/{
8311 s//\1/
8312 q
8313 }
8314 /^X\(\/\/\)$/{
8315 s//\1/
8316 q
8317 }
8318 /^X\(\/\).*/{
8319 s//\1/
8320 q
8321 }
8322 s/.*/./; q'`
8323 ;;
8324 esac
8325 fi
8326
8327 crt_gcc=no
8328
8329 test -e $CRT_DIR/$file || crt_missing="$crt_missing $file"
8330 done # $crt_files
8331
8332 test "x$crt_missing" = x || \
8333 as_fn_error $? "Required file(s) not found:$crt_missing
8334Try using the --with-crt-dir option." "$LINENO" 5
8335
8336fi # crt_files != ""
8337
8338
8339
8340
8341>>>>>>> MERGE-SOURCE
7745 8342
7746 8343
7747 8344
@@ -7751,8 +8348,7 @@ if test "${with_sound}" != "no"; then
7751do : 8348do :
7752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7753ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8350ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7754eval as_val=\$$as_ac_Header 8351if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7755 if test "x$as_val" = x""yes; then :
7756 cat >>confdefs.h <<_ACEOF 8352 cat >>confdefs.h <<_ACEOF
7757#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8353#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7758_ACEOF 8354_ACEOF
@@ -7764,7 +8360,7 @@ done
7764 # Emulation library used on NetBSD. 8360 # Emulation library used on NetBSD.
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
7766$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 8362$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
7767if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 8363if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
7768 $as_echo_n "(cached) " >&6 8364 $as_echo_n "(cached) " >&6
7769else 8365else
7770 ac_check_lib_save_LIBS=$LIBS 8366 ac_check_lib_save_LIBS=$LIBS
@@ -7798,7 +8394,7 @@ LIBS=$ac_check_lib_save_LIBS
7798fi 8394fi
7799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 8395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7800$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 8396$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7801if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 8397if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
7802 LIBSOUND=-lossaudio 8398 LIBSOUND=-lossaudio
7803else 8399else
7804 LIBSOUND= 8400 LIBSOUND=
@@ -7815,7 +8411,7 @@ fi
7815set dummy pkg-config; ac_word=$2 8411set dummy pkg-config; ac_word=$2
7816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7817$as_echo_n "checking for $ac_word... " >&6; } 8413$as_echo_n "checking for $ac_word... " >&6; }
7818if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8414if ${ac_cv_path_PKG_CONFIG+:} false; then :
7819 $as_echo_n "(cached) " >&6 8415 $as_echo_n "(cached) " >&6
7820else 8416else
7821 case $PKG_CONFIG in 8417 case $PKG_CONFIG in
@@ -7943,7 +8539,7 @@ else
7943fi 8539fi
7944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7945 if test "$emacs_alsa_subdir" != yes; then 8541 if test "$emacs_alsa_subdir" != yes; then
7946 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 8542 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
7947 fi 8543 fi
7948 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 8544 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
7949 fi 8545 fi
@@ -7978,8 +8574,7 @@ for ac_header in sys/select.h sys/time.h unistd.h utime.h \
7978do : 8574do :
7979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7980ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8576ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7981eval as_val=\$$as_ac_Header 8577if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7982 if test "x$as_val" = x""yes; then :
7983 cat >>confdefs.h <<_ACEOF 8578 cat >>confdefs.h <<_ACEOF
7984#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8579#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7985_ACEOF 8580_ACEOF
@@ -8020,7 +8615,7 @@ fi
8020for ac_header in term.h 8615for ac_header in term.h
8021do : 8616do :
8022 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 8617 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
8023if test "x$ac_cv_header_term_h" = x""yes; then : 8618if test "x$ac_cv_header_term_h" = xyes; then :
8024 cat >>confdefs.h <<_ACEOF 8619 cat >>confdefs.h <<_ACEOF
8025#define HAVE_TERM_H 1 8620#define HAVE_TERM_H 1
8026_ACEOF 8621_ACEOF
@@ -8031,7 +8626,7 @@ done
8031 8626
8032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 8627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8033$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 8628$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8034if test "${ac_cv_header_time+set}" = set; then : 8629if ${ac_cv_header_time+:} false; then :
8035 $as_echo_n "(cached) " >&6 8630 $as_echo_n "(cached) " >&6
8036else 8631else
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8065,7 +8660,7 @@ $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8065fi 8660fi
8066 8661
8067ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 8662ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
8068if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 8663if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
8069 ac_have_decl=1 8664 ac_have_decl=1
8070else 8665else
8071 ac_have_decl=0 8666 ac_have_decl=0
@@ -8078,7 +8673,7 @@ _ACEOF
8078if test $ac_cv_have_decl_sys_siglist != yes; then 8673if test $ac_cv_have_decl_sys_siglist != yes; then
8079 # For Tru64, at least: 8674 # For Tru64, at least:
8080 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 8675 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
8081if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 8676if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
8082 ac_have_decl=1 8677 ac_have_decl=1
8083else 8678else
8084 ac_have_decl=0 8679 ac_have_decl=0
@@ -8096,7 +8691,7 @@ $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h
8096fi 8691fi
8097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 8692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
8098$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 8693$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
8099if test "${ac_cv_header_sys_wait_h+set}" = set; then : 8694if ${ac_cv_header_sys_wait_h+:} false; then :
8100 $as_echo_n "(cached) " >&6 8695 $as_echo_n "(cached) " >&6
8101else 8696else
8102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8138,7 +8733,7 @@ fi
8138 8733
8139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 8734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
8140$as_echo_n "checking for struct utimbuf... " >&6; } 8735$as_echo_n "checking for struct utimbuf... " >&6; }
8141if test "${emacs_cv_struct_utimbuf+set}" = set; then : 8736if ${emacs_cv_struct_utimbuf+:} false; then :
8142 $as_echo_n "(cached) " >&6 8737 $as_echo_n "(cached) " >&6
8143else 8738else
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8181,7 +8776,7 @@ fi
8181 8776
8182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 8777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
8183$as_echo_n "checking for speed_t... " >&6; } 8778$as_echo_n "checking for speed_t... " >&6; }
8184if test "${emacs_cv_speed_t+set}" = set; then : 8779if ${emacs_cv_speed_t+:} false; then :
8185 $as_echo_n "(cached) " >&6 8780 $as_echo_n "(cached) " >&6
8186else 8781else
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8212,7 +8807,7 @@ fi
8212 8807
8213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 8808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
8214$as_echo_n "checking for struct timeval... " >&6; } 8809$as_echo_n "checking for struct timeval... " >&6; }
8215if test "${emacs_cv_struct_timeval+set}" = set; then : 8810if ${emacs_cv_struct_timeval+:} false; then :
8216 $as_echo_n "(cached) " >&6 8811 $as_echo_n "(cached) " >&6
8217else 8812else
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8253,7 +8848,7 @@ fi
8253 8848
8254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 8849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
8255$as_echo_n "checking for struct exception... " >&6; } 8850$as_echo_n "checking for struct exception... " >&6; }
8256if test "${emacs_cv_struct_exception+set}" = set; then : 8851if ${emacs_cv_struct_exception+:} false; then :
8257 $as_echo_n "(cached) " >&6 8852 $as_echo_n "(cached) " >&6
8258else 8853else
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8283,6 +8878,21 @@ $as_echo "#define NO_MATHERR 1" >>confdefs.h
8283 8878
8284fi 8879fi
8285 8880
8881<<<<<<< TREE
8882=======
8883for ac_header in sys/socket.h
8884do :
8885 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8886if test "x$ac_cv_header_sys_socket_h" = xyes; then :
8887 cat >>confdefs.h <<_ACEOF
8888#define HAVE_SYS_SOCKET_H 1
8889_ACEOF
8890
8891fi
8892
8893done
8894
8895>>>>>>> MERGE-SOURCE
8286for ac_header in net/if.h 8896for ac_header in net/if.h
8287do : 8897do :
8288 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default 8898 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default
@@ -8290,7 +8900,7 @@ do :
8290#include <sys/socket.h> 8900#include <sys/socket.h>
8291#endif 8901#endif
8292" 8902"
8293if test "x$ac_cv_header_net_if_h" = x""yes; then : 8903if test "x$ac_cv_header_net_if_h" = xyes; then :
8294 cat >>confdefs.h <<_ACEOF 8904 cat >>confdefs.h <<_ACEOF
8295#define HAVE_NET_IF_H 1 8905#define HAVE_NET_IF_H 1
8296_ACEOF 8906_ACEOF
@@ -8299,10 +8909,57 @@ fi
8299 8909
8300done 8910done
8301 8911
8912<<<<<<< TREE
8913=======
8914for ac_header in ifaddrs.h
8915do :
8916 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default
8917#if HAVE_SYS_SOCKET_H
8918#include <sys/socket.h>
8919#endif
8920"
8921if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
8922 cat >>confdefs.h <<_ACEOF
8923#define HAVE_IFADDRS_H 1
8924_ACEOF
8925
8926fi
8927
8928done
8929
8930for ac_header in net/if_dl.h
8931do :
8932 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "$ac_includes_default
8933#if HAVE_SYS_SOCKET_H
8934#include <sys/socket.h>
8935#endif
8936"
8937if test "x$ac_cv_header_net_if_dl_h" = xyes; then :
8938 cat >>confdefs.h <<_ACEOF
8939#define HAVE_NET_IF_DL_H 1
8940_ACEOF
8941
8942fi
8943
8944done
8945
8946for ac_func in getifaddrs freeifaddrs
8947do :
8948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8949ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8950if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8951 cat >>confdefs.h <<_ACEOF
8952#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8953_ACEOF
8954
8955fi
8956done
8957
8958>>>>>>> MERGE-SOURCE
8302 8959
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 8960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8304$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 8961$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8305if test "${ac_cv_struct_tm+set}" = set; then : 8962if ${ac_cv_struct_tm+:} false; then :
8306 $as_echo_n "(cached) " >&6 8963 $as_echo_n "(cached) " >&6
8307else 8964else
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8339,7 +8996,7 @@ ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_
8339#include <$ac_cv_struct_tm> 8996#include <$ac_cv_struct_tm>
8340 8997
8341" 8998"
8342if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 8999if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
8343 9000
8344cat >>confdefs.h <<_ACEOF 9001cat >>confdefs.h <<_ACEOF
8345#define HAVE_STRUCT_TM_TM_ZONE 1 9002#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -8355,7 +9012,7 @@ $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8355else 9012else
8356 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 9013 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8357" 9014"
8358if test "x$ac_cv_have_decl_tzname" = x""yes; then : 9015if test "x$ac_cv_have_decl_tzname" = xyes; then :
8359 ac_have_decl=1 9016 ac_have_decl=1
8360else 9017else
8361 ac_have_decl=0 9018 ac_have_decl=0
@@ -8367,7 +9024,7 @@ _ACEOF
8367 9024
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8369$as_echo_n "checking for tzname... " >&6; } 9026$as_echo_n "checking for tzname... " >&6; }
8370if test "${ac_cv_var_tzname+set}" = set; then : 9027if ${ac_cv_var_tzname+:} false; then :
8371 $as_echo_n "(cached) " >&6 9028 $as_echo_n "(cached) " >&6
8372else 9029else
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8404,7 +9061,7 @@ fi
8404 9061
8405ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 9062ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
8406" 9063"
8407if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 9064if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
8408 9065
8409$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 9066$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
8410 9067
@@ -8418,7 +9075,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_i
8418#include <net/if.h> 9075#include <net/if.h>
8419#endif 9076#endif
8420" 9077"
8421if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 9078if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then :
8422 9079
8423cat >>confdefs.h <<_ACEOF 9080cat >>confdefs.h <<_ACEOF
8424#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 9081#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -8434,7 +9091,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_
8434#include <net/if.h> 9091#include <net/if.h>
8435#endif 9092#endif
8436" 9093"
8437if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 9094if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
8438 9095
8439cat >>confdefs.h <<_ACEOF 9096cat >>confdefs.h <<_ACEOF
8440#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 9097#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -8450,7 +9107,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct
8450#include <net/if.h> 9107#include <net/if.h>
8451#endif 9108#endif
8452" 9109"
8453if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 9110if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then :
8454 9111
8455cat >>confdefs.h <<_ACEOF 9112cat >>confdefs.h <<_ACEOF
8456#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 9113#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -8466,7 +9123,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_stru
8466#include <net/if.h> 9123#include <net/if.h>
8467#endif 9124#endif
8468" 9125"
8469if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 9126if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then :
8470 9127
8471cat >>confdefs.h <<_ACEOF 9128cat >>confdefs.h <<_ACEOF
8472#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 9129#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -8482,7 +9139,7 @@ ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_if
8482#include <net/if.h> 9139#include <net/if.h>
8483#endif 9140#endif
8484" 9141"
8485if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 9142if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then :
8486 9143
8487cat >>confdefs.h <<_ACEOF 9144cat >>confdefs.h <<_ACEOF
8488#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 9145#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -8490,6 +9147,25 @@ _ACEOF
8490 9147
8491 9148
8492fi 9149fi
9150<<<<<<< TREE
9151=======
9152ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr.sa_len" "ac_cv_member_struct_ifreq_ifr_addr_sa_len" "$ac_includes_default
9153#if HAVE_SYS_SOCKET_H
9154#include <sys/socket.h>
9155#endif
9156#if HAVE_NET_IF_H
9157#include <net/if.h>
9158#endif
9159"
9160if test "x$ac_cv_member_struct_ifreq_ifr_addr_sa_len" = xyes; then :
9161
9162cat >>confdefs.h <<_ACEOF
9163#define HAVE_STRUCT_IFREQ_IFR_ADDR_SA_LEN 1
9164_ACEOF
9165
9166
9167fi
9168>>>>>>> MERGE-SOURCE
8493 9169
8494 9170
8495 9171
@@ -8511,7 +9187,7 @@ fi
8511 9187
8512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 9188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
8513$as_echo_n "checking for working volatile... " >&6; } 9189$as_echo_n "checking for working volatile... " >&6; }
8514if test "${ac_cv_c_volatile+set}" = set; then : 9190if ${ac_cv_c_volatile+:} false; then :
8515 $as_echo_n "(cached) " >&6 9191 $as_echo_n "(cached) " >&6
8516else 9192else
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8545,7 +9221,7 @@ fi
8545 9221
8546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 9222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8547$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 9223$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8548if test "${ac_cv_c_const+set}" = set; then : 9224if ${ac_cv_c_const+:} false; then :
8549 $as_echo_n "(cached) " >&6 9225 $as_echo_n "(cached) " >&6
8550else 9226else
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8625,7 +9301,7 @@ fi
8625 9301
8626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 9302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
8627$as_echo_n "checking for void * support... " >&6; } 9303$as_echo_n "checking for void * support... " >&6; }
8628if test "${emacs_cv_void_star+set}" = set; then : 9304if ${emacs_cv_void_star+:} false; then :
8629 $as_echo_n "(cached) " >&6 9305 $as_echo_n "(cached) " >&6
8630else 9306else
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8658,7 +9334,7 @@ fi
8658 9334
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
8660$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 9336$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
8661if test "${ac_cv_c_bigendian+set}" = set; then : 9337if ${ac_cv_c_bigendian+:} false; then :
8662 $as_echo_n "(cached) " >&6 9338 $as_echo_n "(cached) " >&6
8663else 9339else
8664 ac_cv_c_bigendian=unknown 9340 ac_cv_c_bigendian=unknown
@@ -8876,14 +9552,14 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
8876 9552
8877 ;; #( 9553 ;; #(
8878 *) 9554 *)
8879 as_fn_error "unknown endianness 9555 as_fn_error $? "unknown endianness
8880 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 9556 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
8881 esac 9557 esac
8882 9558
8883 9559
8884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__aligned__ (expr)))" >&5 9560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__aligned__ (expr)))" >&5
8885$as_echo_n "checking for __attribute__ ((__aligned__ (expr)))... " >&6; } 9561$as_echo_n "checking for __attribute__ ((__aligned__ (expr)))... " >&6; }
8886if test "${emacs_cv_attribute_aligned+set}" = set; then : 9562if ${emacs_cv_attribute_aligned+:} false; then :
8887 $as_echo_n "(cached) " >&6 9563 $as_echo_n "(cached) " >&6
8888else 9564else
8889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8916,7 +9592,7 @@ fi
8916$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 9592$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8917set x ${MAKE-make} 9593set x ${MAKE-make}
8918ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 9594ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8919if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 9595if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
8920 $as_echo_n "(cached) " >&6 9596 $as_echo_n "(cached) " >&6
8921else 9597else
8922 cat >conftest.make <<\_ACEOF 9598 cat >conftest.make <<\_ACEOF
@@ -8924,7 +9600,7 @@ SHELL = /bin/sh
8924all: 9600all:
8925 @echo '@@@%%%=$(MAKE)=@@@%%%' 9601 @echo '@@@%%%=$(MAKE)=@@@%%%'
8926_ACEOF 9602_ACEOF
8927# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 9603# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8928case `${MAKE-make} -f conftest.make 2>/dev/null` in 9604case `${MAKE-make} -f conftest.make 2>/dev/null` in
8929 *@@@%%%=?*=@@@%%%*) 9605 *@@@%%%=?*=@@@%%%*)
8930 eval ac_cv_prog_make_${ac_make}_set=yes;; 9606 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -9008,7 +9684,7 @@ lisp_frag=$srcdir/src/lisp.mk
9008 9684
9009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 9685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
9010$as_echo_n "checking for long file names... " >&6; } 9686$as_echo_n "checking for long file names... " >&6; }
9011if test "${ac_cv_sys_long_file_names+set}" = set; then : 9687if ${ac_cv_sys_long_file_names+:} false; then :
9012 $as_echo_n "(cached) " >&6 9688 $as_echo_n "(cached) " >&6
9013else 9689else
9014 ac_cv_sys_long_file_names=yes 9690 ac_cv_sys_long_file_names=yes
@@ -9064,8 +9740,8 @@ if test "x$with_x" = xno; then
9064 have_x=disabled 9740 have_x=disabled
9065else 9741else
9066 case $x_includes,$x_libraries in #( 9742 case $x_includes,$x_libraries in #(
9067 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 9743 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9068 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 9744 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9069 $as_echo_n "(cached) " >&6 9745 $as_echo_n "(cached) " >&6
9070else 9746else
9071 # One or both of the vars are not set, and there is no cached value. 9747 # One or both of the vars are not set, and there is no cached value.
@@ -9082,7 +9758,7 @@ libdir:
9082 @echo libdir='${LIBDIR}' 9758 @echo libdir='${LIBDIR}'
9083_ACEOF 9759_ACEOF
9084 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 9760 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9085 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 9761 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9086 for ac_var in incroot usrlibdir libdir; do 9762 for ac_var in incroot usrlibdir libdir; do
9087 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 9763 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9088 done 9764 done
@@ -9168,7 +9844,7 @@ else
9168 fi 9844 fi
9169done 9845done
9170fi 9846fi
9171rm -f conftest.err conftest.$ac_ext 9847rm -f conftest.err conftest.i conftest.$ac_ext
9172fi # $ac_x_includes = no 9848fi # $ac_x_includes = no
9173 9849
9174if test "$ac_x_libraries" = no; then 9850if test "$ac_x_libraries" = no; then
@@ -9348,10 +10024,10 @@ if test "${with_ns}" != no; then
9348 TEMACS_LDFLAGS2= 10024 TEMACS_LDFLAGS2=
9349 fi 10025 fi
9350 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 10026 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
9351if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 10027if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
9352 HAVE_NS=yes 10028 HAVE_NS=yes
9353else 10029else
9354 as_fn_error "\`--with-ns' was specified, but the include 10030 as_fn_error $? "\`--with-ns' was specified, but the include
9355 files are missing or cannot be compiled." "$LINENO" 5 10031 files are missing or cannot be compiled." "$LINENO" 5
9356fi 10032fi
9357 10033
@@ -9430,7 +10106,7 @@ if test "$window_system" = none && test "X$with_x" != "Xno"; then
9430set dummy X; ac_word=$2 10106set dummy X; ac_word=$2
9431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9432$as_echo_n "checking for $ac_word... " >&6; } 10108$as_echo_n "checking for $ac_word... " >&6; }
9433if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 10109if ${ac_cv_prog_HAVE_XSERVER+:} false; then :
9434 $as_echo_n "(cached) " >&6 10110 $as_echo_n "(cached) " >&6
9435else 10111else
9436 if test -n "$HAVE_XSERVER"; then 10112 if test -n "$HAVE_XSERVER"; then
@@ -9467,7 +10143,7 @@ fi
9467 if test "$HAVE_XSERVER" = true || 10143 if test "$HAVE_XSERVER" = true ||
9468 test -n "$DISPLAY" || 10144 test -n "$DISPLAY" ||
9469 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 10145 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
9470 as_fn_error "You seem to be running X, but no X development libraries 10146 as_fn_error $? "You seem to be running X, but no X development libraries
9471were found. You should install the relevant development files for X 10147were found. You should install the relevant development files for X
9472and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 10148and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9473sure you have development files for image handling, i.e. 10149sure you have development files for image handling, i.e.
@@ -9489,14 +10165,14 @@ esac
9489GNU_MALLOC=yes 10165GNU_MALLOC=yes
9490doug_lea_malloc=yes 10166doug_lea_malloc=yes
9491ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 10167ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
9492if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 10168if test "x$ac_cv_func_malloc_get_state" = xyes; then :
9493 10169
9494else 10170else
9495 doug_lea_malloc=no 10171 doug_lea_malloc=no
9496fi 10172fi
9497 10173
9498ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 10174ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
9499if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 10175if test "x$ac_cv_func_malloc_set_state" = xyes; then :
9500 10176
9501else 10177else
9502 doug_lea_malloc=no 10178 doug_lea_malloc=no
@@ -9504,7 +10180,7 @@ fi
9504 10180
9505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 10181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
9506$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 10182$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
9507if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 10183if ${emacs_cv_var___after_morecore_hook+:} false; then :
9508 $as_echo_n "(cached) " >&6 10184 $as_echo_n "(cached) " >&6
9509else 10185else
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9590,8 +10266,7 @@ do :
9590 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9591ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 10267ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9592" 10268"
9593eval as_val=\$$as_ac_Header 10269if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9594 if test "x$as_val" = x""yes; then :
9595 cat >>confdefs.h <<_ACEOF 10270 cat >>confdefs.h <<_ACEOF
9596#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10271#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9597_ACEOF 10272_ACEOF
@@ -9610,7 +10285,7 @@ done
9610for ac_func in getpagesize 10285for ac_func in getpagesize
9611do : 10286do :
9612 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 10287 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
9613if test "x$ac_cv_func_getpagesize" = x""yes; then : 10288if test "x$ac_cv_func_getpagesize" = xyes; then :
9614 cat >>confdefs.h <<_ACEOF 10289 cat >>confdefs.h <<_ACEOF
9615#define HAVE_GETPAGESIZE 1 10290#define HAVE_GETPAGESIZE 1
9616_ACEOF 10291_ACEOF
@@ -9620,7 +10295,7 @@ done
9620 10295
9621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 10296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
9622$as_echo_n "checking for working mmap... " >&6; } 10297$as_echo_n "checking for working mmap... " >&6; }
9623if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 10298if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
9624 $as_echo_n "(cached) " >&6 10299 $as_echo_n "(cached) " >&6
9625else 10300else
9626 if test "$cross_compiling" = yes; then : 10301 if test "$cross_compiling" = yes; then :
@@ -9795,7 +10470,7 @@ LIBS="$LIBS_SYSTEM $LIBS"
9795 10470
9796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 10471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9797$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 10472$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9798if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 10473if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9799 $as_echo_n "(cached) " >&6 10474 $as_echo_n "(cached) " >&6
9800else 10475else
9801 ac_check_lib_save_LIBS=$LIBS 10476 ac_check_lib_save_LIBS=$LIBS
@@ -9829,7 +10504,7 @@ LIBS=$ac_check_lib_save_LIBS
9829fi 10504fi
9830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9831$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10506$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9832if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 10507if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9833 cat >>confdefs.h <<_ACEOF 10508 cat >>confdefs.h <<_ACEOF
9834#define HAVE_LIBDNET 1 10509#define HAVE_LIBDNET 1
9835_ACEOF 10510_ACEOF
@@ -9841,7 +10516,7 @@ fi
9841 10516
9842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 10517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
9843$as_echo_n "checking for main in -lXbsd... " >&6; } 10518$as_echo_n "checking for main in -lXbsd... " >&6; }
9844if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 10519if ${ac_cv_lib_Xbsd_main+:} false; then :
9845 $as_echo_n "(cached) " >&6 10520 $as_echo_n "(cached) " >&6
9846else 10521else
9847 ac_check_lib_save_LIBS=$LIBS 10522 ac_check_lib_save_LIBS=$LIBS
@@ -9869,7 +10544,7 @@ LIBS=$ac_check_lib_save_LIBS
9869fi 10544fi
9870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 10545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
9871$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 10546$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
9872if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 10547if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
9873 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10548 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
9874fi 10549fi
9875 10550
@@ -9878,7 +10553,7 @@ LIB_PTHREAD=
9878for ac_header in pthread.h 10553for ac_header in pthread.h
9879do : 10554do :
9880 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 10555 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
9881if test "x$ac_cv_header_pthread_h" = x""yes; then : 10556if test "x$ac_cv_header_pthread_h" = xyes; then :
9882 cat >>confdefs.h <<_ACEOF 10557 cat >>confdefs.h <<_ACEOF
9883#define HAVE_PTHREAD_H 1 10558#define HAVE_PTHREAD_H 1
9884_ACEOF 10559_ACEOF
@@ -9890,7 +10565,7 @@ done
9890if test "$ac_cv_header_pthread_h"; then 10565if test "$ac_cv_header_pthread_h"; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
9892$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 10567$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
9893if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 10568if ${ac_cv_lib_pthread_pthread_self+:} false; then :
9894 $as_echo_n "(cached) " >&6 10569 $as_echo_n "(cached) " >&6
9895else 10570else
9896 ac_check_lib_save_LIBS=$LIBS 10571 ac_check_lib_save_LIBS=$LIBS
@@ -9924,7 +10599,7 @@ LIBS=$ac_check_lib_save_LIBS
9924fi 10599fi
9925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 10600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
9926$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 10601$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
9927if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 10602if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then :
9928 HAVE_PTHREAD=yes 10603 HAVE_PTHREAD=yes
9929fi 10604fi
9930 10605
@@ -9942,7 +10617,7 @@ fi
9942 10617
9943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 10618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
9944$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 10619$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
9945if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 10620if ${ac_cv_lib_pthreads_cma_open+:} false; then :
9946 $as_echo_n "(cached) " >&6 10621 $as_echo_n "(cached) " >&6
9947else 10622else
9948 ac_check_lib_save_LIBS=$LIBS 10623 ac_check_lib_save_LIBS=$LIBS
@@ -9976,7 +10651,7 @@ LIBS=$ac_check_lib_save_LIBS
9976fi 10651fi
9977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 10652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
9978$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 10653$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
9979if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 10654if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then :
9980 cat >>confdefs.h <<_ACEOF 10655 cat >>confdefs.h <<_ACEOF
9981#define HAVE_LIBPTHREADS 1 10656#define HAVE_LIBPTHREADS 1
9982_ACEOF 10657_ACEOF
@@ -10003,7 +10678,7 @@ case ${host_os} in
10003aix*) 10678aix*)
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
10005$as_echo_n "checking for -bbigtoc option... " >&6; } 10680$as_echo_n "checking for -bbigtoc option... " >&6; }
10006if test "${gdb_cv_bigtoc+set}" = set; then : 10681if ${gdb_cv_bigtoc+:} false; then :
10007 $as_echo_n "(cached) " >&6 10682 $as_echo_n "(cached) " >&6
10008else 10683else
10009 10684
@@ -10164,8 +10839,7 @@ XScreenNumberOfScreen XSetWMProtocols
10164do : 10839do :
10165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10166ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 10841ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10167eval as_val=\$$as_ac_var 10842if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10168 if test "x$as_val" = x""yes; then :
10169 cat >>confdefs.h <<_ACEOF 10843 cat >>confdefs.h <<_ACEOF
10170#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10844#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10171_ACEOF 10845_ACEOF
@@ -10178,7 +10852,7 @@ fi
10178if test "${window_system}" = "x11"; then 10852if test "${window_system}" = "x11"; then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
10180$as_echo_n "checking X11 version 6... " >&6; } 10854$as_echo_n "checking X11 version 6... " >&6; }
10181 if test "${emacs_cv_x11_version_6+set}" = set; then : 10855 if ${emacs_cv_x11_version_6+:} false; then :
10182 $as_echo_n "(cached) " >&6 10856 $as_echo_n "(cached) " >&6
10183else 10857else
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10243,7 +10917,7 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then
10243set dummy pkg-config; ac_word=$2 10917set dummy pkg-config; ac_word=$2
10244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10245$as_echo_n "checking for $ac_word... " >&6; } 10919$as_echo_n "checking for $ac_word... " >&6; }
10246if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10920if ${ac_cv_path_PKG_CONFIG+:} false; then :
10247 $as_echo_n "(cached) " >&6 10921 $as_echo_n "(cached) " >&6
10248else 10922else
10249 case $PKG_CONFIG in 10923 case $PKG_CONFIG in
@@ -10357,7 +11031,7 @@ if test "${HAVE_X11}" = "yes"; then
10357set dummy pkg-config; ac_word=$2 11031set dummy pkg-config; ac_word=$2
10358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10359$as_echo_n "checking for $ac_word... " >&6; } 11033$as_echo_n "checking for $ac_word... " >&6; }
10360if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11034if ${ac_cv_path_PKG_CONFIG+:} false; then :
10361 $as_echo_n "(cached) " >&6 11035 $as_echo_n "(cached) " >&6
10362else 11036else
10363 case $PKG_CONFIG in 11037 case $PKG_CONFIG in
@@ -10456,7 +11130,7 @@ $as_echo "#define HAVE_IMAGEMAGICK 1" >>confdefs.h
10456 for ac_func in MagickExportImagePixels 11130 for ac_func in MagickExportImagePixels
10457do : 11131do :
10458 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" 11132 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
10459if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : 11133if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
10460 cat >>confdefs.h <<_ACEOF 11134 cat >>confdefs.h <<_ACEOF
10461#define HAVE_MAGICKEXPORTIMAGEPIXELS 1 11135#define HAVE_MAGICKEXPORTIMAGEPIXELS 1
10462_ACEOF 11136_ACEOF
@@ -10483,7 +11157,7 @@ if test "${with_gtk3}" = "yes"; then
10483set dummy pkg-config; ac_word=$2 11157set dummy pkg-config; ac_word=$2
10484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10485$as_echo_n "checking for $ac_word... " >&6; } 11159$as_echo_n "checking for $ac_word... " >&6; }
10486if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11160if ${ac_cv_path_PKG_CONFIG+:} false; then :
10487 $as_echo_n "(cached) " >&6 11161 $as_echo_n "(cached) " >&6
10488else 11162else
10489 case $PKG_CONFIG in 11163 case $PKG_CONFIG in
@@ -10571,7 +11245,7 @@ $as_echo "no" >&6; }
10571 fi 11245 fi
10572 11246
10573 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11247 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
10574 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 11248 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
10575 fi 11249 fi
10576 11250
10577$as_echo "#define HAVE_GTK3 1" >>confdefs.h 11251$as_echo "#define HAVE_GTK3 1" >>confdefs.h
@@ -10593,7 +11267,7 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
10593set dummy pkg-config; ac_word=$2 11267set dummy pkg-config; ac_word=$2
10594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10595$as_echo_n "checking for $ac_word... " >&6; } 11269$as_echo_n "checking for $ac_word... " >&6; }
10596if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11270if ${ac_cv_path_PKG_CONFIG+:} false; then :
10597 $as_echo_n "(cached) " >&6 11271 $as_echo_n "(cached) " >&6
10598else 11272else
10599 case $PKG_CONFIG in 11273 case $PKG_CONFIG in
@@ -10681,7 +11355,7 @@ $as_echo "no" >&6; }
10681 fi 11355 fi
10682 11356
10683 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11357 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
10684 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 11358 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
10685 fi 11359 fi
10686fi 11360fi
10687fi 11361fi
@@ -10697,7 +11371,7 @@ if test x"$pkg_check_gtk" = xyes; then
10697 for ac_func in gtk_main 11371 for ac_func in gtk_main
10698do : 11372do :
10699 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 11373 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
10700if test "x$ac_cv_func_gtk_main" = x""yes; then : 11374if test "x$ac_cv_func_gtk_main" = xyes; then :
10701 cat >>confdefs.h <<_ACEOF 11375 cat >>confdefs.h <<_ACEOF
10702#define HAVE_GTK_MAIN 1 11376#define HAVE_GTK_MAIN 1
10703_ACEOF 11377_ACEOF
@@ -10707,7 +11381,7 @@ done
10707 11381
10708 if test "${GTK_COMPILES}" != "yes"; then 11382 if test "${GTK_COMPILES}" != "yes"; then
10709 if test "$USE_X_TOOLKIT" != "maybe"; then 11383 if test "$USE_X_TOOLKIT" != "maybe"; then
10710 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 11384 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
10711 fi 11385 fi
10712 else 11386 else
10713 HAVE_GTK=yes 11387 HAVE_GTK=yes
@@ -10745,7 +11419,7 @@ if test "${HAVE_GTK}" = "yes"; then
10745 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 11419 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
10746#include <gtk/gtk.h> 11420#include <gtk/gtk.h>
10747" 11421"
10748if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 11422if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then :
10749 HAVE_GTK_FILE_SELECTION=yes 11423 HAVE_GTK_FILE_SELECTION=yes
10750else 11424else
10751 HAVE_GTK_FILE_SELECTION=no 11425 HAVE_GTK_FILE_SELECTION=no
@@ -10755,7 +11429,7 @@ fi
10755 for ac_func in gtk_file_selection_new 11429 for ac_func in gtk_file_selection_new
10756do : 11430do :
10757 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 11431 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
10758if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 11432if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then :
10759 cat >>confdefs.h <<_ACEOF 11433 cat >>confdefs.h <<_ACEOF
10760#define HAVE_GTK_FILE_SELECTION_NEW 1 11434#define HAVE_GTK_FILE_SELECTION_NEW 1
10761_ACEOF 11435_ACEOF
@@ -10773,8 +11447,7 @@ done
10773do : 11447do :
10774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10775ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11449ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10776eval as_val=\$$as_ac_var 11450if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10777 if test "x$as_val" = x""yes; then :
10778 cat >>confdefs.h <<_ACEOF 11451 cat >>confdefs.h <<_ACEOF
10779#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11452#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10780_ACEOF 11453_ACEOF
@@ -10795,7 +11468,7 @@ if test "${with_dbus}" = "yes"; then
10795set dummy pkg-config; ac_word=$2 11468set dummy pkg-config; ac_word=$2
10796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10797$as_echo_n "checking for $ac_word... " >&6; } 11470$as_echo_n "checking for $ac_word... " >&6; }
10798if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11471if ${ac_cv_path_PKG_CONFIG+:} false; then :
10799 $as_echo_n "(cached) " >&6 11472 $as_echo_n "(cached) " >&6
10800else 11473else
10801 case $PKG_CONFIG in 11474 case $PKG_CONFIG in
@@ -10890,7 +11563,7 @@ $as_echo "#define HAVE_DBUS 1" >>confdefs.h
10890 for ac_func in dbus_watch_get_unix_fd 11563 for ac_func in dbus_watch_get_unix_fd
10891do : 11564do :
10892 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 11565 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
10893if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 11566if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
10894 cat >>confdefs.h <<_ACEOF 11567 cat >>confdefs.h <<_ACEOF
10895#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 11568#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
10896_ACEOF 11569_ACEOF
@@ -10903,6 +11576,114 @@ done
10903fi 11576fi
10904 11577
10905 11578
11579<<<<<<< TREE
11580=======
11581HAVE_GSETTINGS=no
11582if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then
11583
11584 succeeded=no
11585
11586 # Extract the first word of "pkg-config", so it can be a program name with args.
11587set dummy pkg-config; ac_word=$2
11588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11589$as_echo_n "checking for $ac_word... " >&6; }
11590if ${ac_cv_path_PKG_CONFIG+:} false; then :
11591 $as_echo_n "(cached) " >&6
11592else
11593 case $PKG_CONFIG in
11594 [\\/]* | ?:[\\/]*)
11595 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11596 ;;
11597 *)
11598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11599for as_dir in $PATH
11600do
11601 IFS=$as_save_IFS
11602 test -z "$as_dir" && as_dir=.
11603 for ac_exec_ext in '' $ac_executable_extensions; do
11604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11605 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11607 break 2
11608 fi
11609done
11610 done
11611IFS=$as_save_IFS
11612
11613 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11614 ;;
11615esac
11616fi
11617PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11618if test -n "$PKG_CONFIG"; then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11620$as_echo "$PKG_CONFIG" >&6; }
11621else
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623$as_echo "no" >&6; }
11624fi
11625
11626
11627
11628 if test "$PKG_CONFIG" = "no" ; then
11629 HAVE_GSETTINGS=no
11630 else
11631 PKG_CONFIG_MIN_VERSION=0.9.0
11632 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.26" >&5
11634$as_echo_n "checking for gio-2.0 >= 2.26... " >&6; }
11635
11636 if $PKG_CONFIG --exists "gio-2.0 >= 2.26" 2>&5; then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11638$as_echo "yes" >&6; }
11639 succeeded=yes
11640
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSETTINGS_CFLAGS" >&5
11642$as_echo_n "checking GSETTINGS_CFLAGS... " >&6; }
11643 GSETTINGS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26"|sed -e 's,///*,/,g'`
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSETTINGS_CFLAGS" >&5
11645$as_echo "$GSETTINGS_CFLAGS" >&6; }
11646
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSETTINGS_LIBS" >&5
11648$as_echo_n "checking GSETTINGS_LIBS... " >&6; }
11649 GSETTINGS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26"|sed -e 's,///*,/,g'`
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSETTINGS_LIBS" >&5
11651$as_echo "$GSETTINGS_LIBS" >&6; }
11652 else
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654$as_echo "no" >&6; }
11655 GSETTINGS_CFLAGS=""
11656 GSETTINGS_LIBS=""
11657 ## If we have a custom action on failure, don't print errors, but
11658 ## do set a variable so people can do so.
11659 GSETTINGS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.26"`
11660
11661 fi
11662
11663
11664
11665 else
11666 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11667 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11668 fi
11669 fi
11670
11671 if test $succeeded = yes; then
11672 HAVE_GSETTINGS=yes
11673 else
11674 HAVE_GSETTINGS=no
11675 fi
11676
11677 if test "$HAVE_GSETTINGS" = "yes"; then
11678
11679$as_echo "#define HAVE_GSETTINGS 1" >>confdefs.h
11680
11681 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
11682 SETTINGS_LIBS="$GSETTINGS_LIBS"
11683 fi
11684fi
11685
11686>>>>>>> MERGE-SOURCE
10906HAVE_GCONF=no 11687HAVE_GCONF=no
10907if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then 11688if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
10908 11689
@@ -10912,7 +11693,7 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
10912set dummy pkg-config; ac_word=$2 11693set dummy pkg-config; ac_word=$2
10913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10914$as_echo_n "checking for $ac_word... " >&6; } 11695$as_echo_n "checking for $ac_word... " >&6; }
10915if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11696if ${ac_cv_path_PKG_CONFIG+:} false; then :
10916 $as_echo_n "(cached) " >&6 11697 $as_echo_n "(cached) " >&6
10917else 11698else
10918 case $PKG_CONFIG in 11699 case $PKG_CONFIG in
@@ -11006,7 +11787,7 @@ $as_echo "#define HAVE_GCONF 1" >>confdefs.h
11006 for ac_func in g_type_init 11787 for ac_func in g_type_init
11007do : 11788do :
11008 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 11789 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
11009if test "x$ac_cv_func_g_type_init" = x""yes; then : 11790if test "x$ac_cv_func_g_type_init" = xyes; then :
11010 cat >>confdefs.h <<_ACEOF 11791 cat >>confdefs.h <<_ACEOF
11011#define HAVE_G_TYPE_INIT 1 11792#define HAVE_G_TYPE_INIT 1
11012_ACEOF 11793_ACEOF
@@ -11022,7 +11803,7 @@ LIBSELINUX_LIBS=
11022if test "${with_selinux}" = "yes"; then 11803if test "${with_selinux}" = "yes"; then
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
11024$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 11805$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
11025if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 11806if ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
11026 $as_echo_n "(cached) " >&6 11807 $as_echo_n "(cached) " >&6
11027else 11808else
11028 ac_check_lib_save_LIBS=$LIBS 11809 ac_check_lib_save_LIBS=$LIBS
@@ -11056,7 +11837,7 @@ LIBS=$ac_check_lib_save_LIBS
11056fi 11837fi
11057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 11838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
11058$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 11839$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
11059if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 11840if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then :
11060 HAVE_LIBSELINUX=yes 11841 HAVE_LIBSELINUX=yes
11061else 11842else
11062 HAVE_LIBSELINUX=no 11843 HAVE_LIBSELINUX=no
@@ -11081,7 +11862,7 @@ if test "${with_gnutls}" = "yes" ; then
11081set dummy pkg-config; ac_word=$2 11862set dummy pkg-config; ac_word=$2
11082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11083$as_echo_n "checking for $ac_word... " >&6; } 11864$as_echo_n "checking for $ac_word... " >&6; }
11084if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11865if ${ac_cv_path_PKG_CONFIG+:} false; then :
11085 $as_echo_n "(cached) " >&6 11866 $as_echo_n "(cached) " >&6
11086else 11867else
11087 case $PKG_CONFIG in 11868 case $PKG_CONFIG in
@@ -11179,7 +11960,7 @@ $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
11179 for ac_func in gnutls_certificate_set_verify_function 11960 for ac_func in gnutls_certificate_set_verify_function
11180do : 11961do :
11181 ac_fn_c_check_func "$LINENO" "gnutls_certificate_set_verify_function" "ac_cv_func_gnutls_certificate_set_verify_function" 11962 ac_fn_c_check_func "$LINENO" "gnutls_certificate_set_verify_function" "ac_cv_func_gnutls_certificate_set_verify_function"
11182if test "x$ac_cv_func_gnutls_certificate_set_verify_function" = x""yes; then : 11963if test "x$ac_cv_func_gnutls_certificate_set_verify_function" = xyes; then :
11183 cat >>confdefs.h <<_ACEOF 11964 cat >>confdefs.h <<_ACEOF
11184#define HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION 1 11965#define HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION 1
11185_ACEOF 11966_ACEOF
@@ -11204,7 +11985,7 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
11204 if test "$with_xaw3d" != no; then 11985 if test "$with_xaw3d" != no; then
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
11206$as_echo_n "checking for xaw3d... " >&6; } 11987$as_echo_n "checking for xaw3d... " >&6; }
11207 if test "${emacs_cv_xaw3d+set}" = set; then : 11988 if ${emacs_cv_xaw3d+:} false; then :
11208 $as_echo_n "(cached) " >&6 11989 $as_echo_n "(cached) " >&6
11209else 11990else
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11223,7 +12004,7 @@ _ACEOF
11223if ac_fn_c_try_link "$LINENO"; then : 12004if ac_fn_c_try_link "$LINENO"; then :
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -lXaw3d" >&5 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -lXaw3d" >&5
11225$as_echo_n "checking for XawScrollbarSetThumb in -lXaw3d... " >&6; } 12006$as_echo_n "checking for XawScrollbarSetThumb in -lXaw3d... " >&6; }
11226if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then : 12007if ${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+:} false; then :
11227 $as_echo_n "(cached) " >&6 12008 $as_echo_n "(cached) " >&6
11228else 12009else
11229 ac_check_lib_save_LIBS=$LIBS 12010 ac_check_lib_save_LIBS=$LIBS
@@ -11257,7 +12038,7 @@ LIBS=$ac_check_lib_save_LIBS
11257fi 12038fi
11258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11259$as_echo "$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; } 12040$as_echo "$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
11260if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = x""yes; then : 12041if test "x$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" = xyes; then :
11261 emacs_cv_xaw3d=yes 12042 emacs_cv_xaw3d=yes
11262else 12043else
11263 emacs_cv_xaw3d=no 12044 emacs_cv_xaw3d=no
@@ -11287,7 +12068,7 @@ $as_echo "#define HAVE_XAW3D 1" >>confdefs.h
11287$as_echo "no" >&6; } 12068$as_echo "no" >&6; }
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
11289$as_echo_n "checking for libXaw... " >&6; } 12070$as_echo_n "checking for libXaw... " >&6; }
11290 if test "${emacs_cv_xaw+set}" = set; then : 12071 if ${emacs_cv_xaw+:} false; then :
11291 $as_echo_n "(cached) " >&6 12072 $as_echo_n "(cached) " >&6
11292else 12073else
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11318,9 +12099,9 @@ $as_echo "yes; using Lucid toolkit" >&6; }
11318 USE_X_TOOLKIT=LUCID 12099 USE_X_TOOLKIT=LUCID
11319 LUCID_LIBW=-lXaw 12100 LUCID_LIBW=-lXaw
11320 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 12101 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
11321 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 12102 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
11322 else 12103 else
11323 as_fn_error "No X toolkit could be found. 12104 as_fn_error $? "No X toolkit could be found.
11324If you are sure you want Emacs compiled without an X toolkit, pass 12105If you are sure you want Emacs compiled without an X toolkit, pass
11325 --with-x-toolkit=no 12106 --with-x-toolkit=no
11326to configure. Otherwise, install the development libraries for the toolkit 12107to configure. Otherwise, install the development libraries for the toolkit
@@ -11335,7 +12116,7 @@ LIBXTR6=
11335if test "${USE_X_TOOLKIT}" != "none"; then 12116if test "${USE_X_TOOLKIT}" != "none"; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
11337$as_echo_n "checking X11 toolkit version... " >&6; } 12118$as_echo_n "checking X11 toolkit version... " >&6; }
11338 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 12119 if ${emacs_cv_x11_toolkit_version_6+:} false; then :
11339 $as_echo_n "(cached) " >&6 12120 $as_echo_n "(cached) " >&6
11340else 12121else
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11386,7 +12167,7 @@ $as_echo "before 6" >&6; }
11386 fi 12167 fi
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
11388$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 12169$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
11389if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 12170if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then :
11390 $as_echo_n "(cached) " >&6 12171 $as_echo_n "(cached) " >&6
11391else 12172else
11392 ac_check_lib_save_LIBS=$LIBS 12173 ac_check_lib_save_LIBS=$LIBS
@@ -11420,7 +12201,7 @@ LIBS=$ac_check_lib_save_LIBS
11420fi 12201fi
11421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 12202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
11422$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 12203$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
11423if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 12204if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then :
11424 cat >>confdefs.h <<_ACEOF 12205 cat >>confdefs.h <<_ACEOF
11425#define HAVE_LIBXMU 1 12206#define HAVE_LIBXMU 1
11426_ACEOF 12207_ACEOF
@@ -11447,7 +12228,7 @@ if test "${HAVE_X11}" = "yes"; then
11447 if test "${USE_X_TOOLKIT}" != "none"; then 12228 if test "${USE_X_TOOLKIT}" != "none"; then
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11449$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 12230$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11450if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 12231if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11451 $as_echo_n "(cached) " >&6 12232 $as_echo_n "(cached) " >&6
11452else 12233else
11453 ac_check_lib_save_LIBS=$LIBS 12234 ac_check_lib_save_LIBS=$LIBS
@@ -11481,7 +12262,7 @@ LIBS=$ac_check_lib_save_LIBS
11481fi 12262fi
11482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 12263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11483$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 12264$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11484if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 12265if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11485 cat >>confdefs.h <<_ACEOF 12266 cat >>confdefs.h <<_ACEOF
11486#define HAVE_LIBXEXT 1 12267#define HAVE_LIBXEXT 1
11487_ACEOF 12268_ACEOF
@@ -11497,7 +12278,7 @@ LIBXP=
11497if test "${USE_X_TOOLKIT}" = "MOTIF"; then 12278if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
11499$as_echo_n "checking for Motif version 2.1... " >&6; } 12280$as_echo_n "checking for Motif version 2.1... " >&6; }
11500if test "${emacs_cv_motif_version_2_1+set}" = set; then : 12281if ${emacs_cv_motif_version_2_1+:} false; then :
11501 $as_echo_n "(cached) " >&6 12282 $as_echo_n "(cached) " >&6
11502else 12283else
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11527,7 +12308,7 @@ $as_echo "$emacs_cv_motif_version_2_1" >&6; }
11527 if test $emacs_cv_motif_version_2_1 = yes; then 12308 if test $emacs_cv_motif_version_2_1 = yes; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
11529$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 12310$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
11530if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 12311if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
11531 $as_echo_n "(cached) " >&6 12312 $as_echo_n "(cached) " >&6
11532else 12313else
11533 ac_check_lib_save_LIBS=$LIBS 12314 ac_check_lib_save_LIBS=$LIBS
@@ -11561,14 +12342,14 @@ LIBS=$ac_check_lib_save_LIBS
11561fi 12342fi
11562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 12343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
11563$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 12344$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
11564if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 12345if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
11565 LIBXP=-lXp 12346 LIBXP=-lXp
11566fi 12347fi
11567 12348
11568 else 12349 else
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
11570$as_echo_n "checking for LessTif where some systems put it... " >&6; } 12351$as_echo_n "checking for LessTif where some systems put it... " >&6; }
11571if test "${emacs_cv_lesstif+set}" = set; then : 12352if ${emacs_cv_lesstif+:} false; then :
11572 $as_echo_n "(cached) " >&6 12353 $as_echo_n "(cached) " >&6
11573else 12354else
11574 # We put this in CFLAGS temporarily to precede other -I options 12355 # We put this in CFLAGS temporarily to precede other -I options
@@ -11727,7 +12508,7 @@ if test "${HAVE_X11}" = "yes"; then
11727set dummy pkg-config; ac_word=$2 12508set dummy pkg-config; ac_word=$2
11728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11729$as_echo_n "checking for $ac_word... " >&6; } 12510$as_echo_n "checking for $ac_word... " >&6; }
11730if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12511if ${ac_cv_path_PKG_CONFIG+:} false; then :
11731 $as_echo_n "(cached) " >&6 12512 $as_echo_n "(cached) " >&6
11732else 12513else
11733 case $PKG_CONFIG in 12514 case $PKG_CONFIG in
@@ -11829,7 +12610,7 @@ $as_echo "no" >&6; }
11829set dummy pkg-config; ac_word=$2 12610set dummy pkg-config; ac_word=$2
11830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11831$as_echo_n "checking for $ac_word... " >&6; } 12612$as_echo_n "checking for $ac_word... " >&6; }
11832if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12613if ${ac_cv_path_PKG_CONFIG+:} false; then :
11833 $as_echo_n "(cached) " >&6 12614 $as_echo_n "(cached) " >&6
11834else 12615else
11835 case $PKG_CONFIG in 12616 case $PKG_CONFIG in
@@ -11921,7 +12702,7 @@ $as_echo "no" >&6; }
11921 HAVE_XRENDER=no 12702 HAVE_XRENDER=no
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
11923$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 12704$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
11924if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 12705if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
11925 $as_echo_n "(cached) " >&6 12706 $as_echo_n "(cached) " >&6
11926else 12707else
11927 ac_check_lib_save_LIBS=$LIBS 12708 ac_check_lib_save_LIBS=$LIBS
@@ -11955,7 +12736,7 @@ LIBS=$ac_check_lib_save_LIBS
11955fi 12736fi
11956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 12737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
11957$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 12738$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
11958if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 12739if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
11959 HAVE_XRENDER=yes 12740 HAVE_XRENDER=yes
11960fi 12741fi
11961 12742
@@ -11968,10 +12749,10 @@ fi
11968 XFT_LIBS="-lXrender $XFT_LIBS" 12749 XFT_LIBS="-lXrender $XFT_LIBS"
11969 LIBS="$XFT_LIBS $LIBS" 12750 LIBS="$XFT_LIBS $LIBS"
11970 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 12751 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
11971if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 12752if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
11973$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 12754$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
11974if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 12755if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
11975 $as_echo_n "(cached) " >&6 12756 $as_echo_n "(cached) " >&6
11976else 12757else
11977 ac_check_lib_save_LIBS=$LIBS 12758 ac_check_lib_save_LIBS=$LIBS
@@ -12005,7 +12786,7 @@ LIBS=$ac_check_lib_save_LIBS
12005fi 12786fi
12006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 12787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
12007$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 12788$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
12008if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 12789if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
12009 HAVE_XFT=yes 12790 HAVE_XFT=yes
12010fi 12791fi
12011 12792
@@ -12040,7 +12821,7 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h
12040set dummy pkg-config; ac_word=$2 12821set dummy pkg-config; ac_word=$2
12041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12042$as_echo_n "checking for $ac_word... " >&6; } 12823$as_echo_n "checking for $ac_word... " >&6; }
12043if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12824if ${ac_cv_path_PKG_CONFIG+:} false; then :
12044 $as_echo_n "(cached) " >&6 12825 $as_echo_n "(cached) " >&6
12045else 12826else
12046 case $PKG_CONFIG in 12827 case $PKG_CONFIG in
@@ -12128,7 +12909,7 @@ $as_echo "no" >&6; }
12128 fi 12909 fi
12129 12910
12130 12911
12131 test "$HAVE_FREETYPE" = "no" && as_fn_error "libxft requires libfreetype" "$LINENO" 5 12912 test "$HAVE_FREETYPE" = "no" && as_fn_error $? "libxft requires libfreetype" "$LINENO" 5
12132 fi 12913 fi
12133 12914
12134 HAVE_LIBOTF=no 12915 HAVE_LIBOTF=no
@@ -12144,7 +12925,7 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12144set dummy pkg-config; ac_word=$2 12925set dummy pkg-config; ac_word=$2
12145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12146$as_echo_n "checking for $ac_word... " >&6; } 12927$as_echo_n "checking for $ac_word... " >&6; }
12147if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12928if ${ac_cv_path_PKG_CONFIG+:} false; then :
12148 $as_echo_n "(cached) " >&6 12929 $as_echo_n "(cached) " >&6
12149else 12930else
12150 case $PKG_CONFIG in 12931 case $PKG_CONFIG in
@@ -12237,7 +13018,7 @@ $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
12237 13018
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
12239$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 13020$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
12240if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 13021if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then :
12241 $as_echo_n "(cached) " >&6 13022 $as_echo_n "(cached) " >&6
12242else 13023else
12243 ac_check_lib_save_LIBS=$LIBS 13024 ac_check_lib_save_LIBS=$LIBS
@@ -12271,7 +13052,7 @@ LIBS=$ac_check_lib_save_LIBS
12271fi 13052fi
12272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 13053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
12273$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 13054$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
12274if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 13055if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then :
12275 HAVE_OTF_GET_VARIATION_GLYPHS=yes 13056 HAVE_OTF_GET_VARIATION_GLYPHS=yes
12276else 13057else
12277 HAVE_OTF_GET_VARIATION_GLYPHS=no 13058 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -12296,7 +13077,7 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
12296set dummy pkg-config; ac_word=$2 13077set dummy pkg-config; ac_word=$2
12297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12298$as_echo_n "checking for $ac_word... " >&6; } 13079$as_echo_n "checking for $ac_word... " >&6; }
12299if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13080if ${ac_cv_path_PKG_CONFIG+:} false; then :
12300 $as_echo_n "(cached) " >&6 13081 $as_echo_n "(cached) " >&6
12301else 13082else
12302 case $PKG_CONFIG in 13083 case $PKG_CONFIG in
@@ -12414,10 +13195,10 @@ LIBXPM=
12414if test "${HAVE_X11}" = "yes"; then 13195if test "${HAVE_X11}" = "yes"; then
12415 if test "${with_xpm}" != "no"; then 13196 if test "${with_xpm}" != "no"; then
12416 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 13197 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
12417if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 13198if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
12419$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 13200$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
12420if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 13201if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then :
12421 $as_echo_n "(cached) " >&6 13202 $as_echo_n "(cached) " >&6
12422else 13203else
12423 ac_check_lib_save_LIBS=$LIBS 13204 ac_check_lib_save_LIBS=$LIBS
@@ -12451,7 +13232,7 @@ LIBS=$ac_check_lib_save_LIBS
12451fi 13232fi
12452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 13233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
12453$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 13234$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
12454if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 13235if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then :
12455 HAVE_XPM=yes 13236 HAVE_XPM=yes
12456fi 13237fi
12457 13238
@@ -12503,10 +13284,10 @@ LIBJPEG=
12503if test "${HAVE_X11}" = "yes"; then 13284if test "${HAVE_X11}" = "yes"; then
12504 if test "${with_jpeg}" != "no"; then 13285 if test "${with_jpeg}" != "no"; then
12505 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 13286 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
12506if test "x$ac_cv_header_jerror_h" = x""yes; then : 13287if test "x$ac_cv_header_jerror_h" = xyes; then :
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
12508$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 13289$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
12509if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 13290if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then :
12510 $as_echo_n "(cached) " >&6 13291 $as_echo_n "(cached) " >&6
12511else 13292else
12512 ac_check_lib_save_LIBS=$LIBS 13293 ac_check_lib_save_LIBS=$LIBS
@@ -12540,7 +13321,7 @@ LIBS=$ac_check_lib_save_LIBS
12540fi 13321fi
12541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 13322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
12542$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 13323$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
12543if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 13324if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then :
12544 HAVE_JPEG=yes 13325 HAVE_JPEG=yes
12545fi 13326fi
12546 13327
@@ -12587,8 +13368,7 @@ if test "${HAVE_X11}" = "yes"; then
12587do : 13368do :
12588 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12589ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13370ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12590eval as_val=\$$as_ac_Header 13371if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12591 if test "x$as_val" = x""yes; then :
12592 cat >>confdefs.h <<_ACEOF 13372 cat >>confdefs.h <<_ACEOF
12593#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13373#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12594_ACEOF 13374_ACEOF
@@ -12600,7 +13380,7 @@ done
12600 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 13380 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
12602$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 13382$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
12603if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 13383if ${ac_cv_lib_png_png_get_channels+:} false; then :
12604 $as_echo_n "(cached) " >&6 13384 $as_echo_n "(cached) " >&6
12605else 13385else
12606 ac_check_lib_save_LIBS=$LIBS 13386 ac_check_lib_save_LIBS=$LIBS
@@ -12634,7 +13414,7 @@ LIBS=$ac_check_lib_save_LIBS
12634fi 13414fi
12635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 13415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
12636$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 13416$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
12637if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 13417if test "x$ac_cv_lib_png_png_get_channels" = xyes; then :
12638 HAVE_PNG=yes 13418 HAVE_PNG=yes
12639fi 13419fi
12640 13420
@@ -12656,13 +13436,13 @@ LIBTIFF=
12656if test "${HAVE_X11}" = "yes"; then 13436if test "${HAVE_X11}" = "yes"; then
12657 if test "${with_tiff}" != "no"; then 13437 if test "${with_tiff}" != "no"; then
12658 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 13438 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12659if test "x$ac_cv_header_tiffio_h" = x""yes; then : 13439if test "x$ac_cv_header_tiffio_h" = xyes; then :
12660 tifflibs="-lz -lm" 13440 tifflibs="-lz -lm"
12661 # At least one tiff package requires the jpeg library. 13441 # At least one tiff package requires the jpeg library.
12662 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 13442 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
12664$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 13444$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
12665if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 13445if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then :
12666 $as_echo_n "(cached) " >&6 13446 $as_echo_n "(cached) " >&6
12667else 13447else
12668 ac_check_lib_save_LIBS=$LIBS 13448 ac_check_lib_save_LIBS=$LIBS
@@ -12696,7 +13476,7 @@ LIBS=$ac_check_lib_save_LIBS
12696fi 13476fi
12697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 13477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12698$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 13478$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
12699if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 13479if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then :
12700 HAVE_TIFF=yes 13480 HAVE_TIFF=yes
12701fi 13481fi
12702 13482
@@ -12719,12 +13499,12 @@ HAVE_GIF=no
12719LIBGIF= 13499LIBGIF=
12720if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 13500if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
12721 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 13501 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
12722if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 13502if test "x$ac_cv_header_gif_lib_h" = xyes; then :
12723 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 13503 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12724# Earlier versions can crash Emacs. 13504# Earlier versions can crash Emacs.
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
12726$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 13506$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
12727if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 13507if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
12728 $as_echo_n "(cached) " >&6 13508 $as_echo_n "(cached) " >&6
12729else 13509else
12730 ac_check_lib_save_LIBS=$LIBS 13510 ac_check_lib_save_LIBS=$LIBS
@@ -12758,7 +13538,7 @@ LIBS=$ac_check_lib_save_LIBS
12758fi 13538fi
12759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 13539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
12760$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 13540$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
12761if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 13541if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
12762 HAVE_GIF=yes 13542 HAVE_GIF=yes
12763else 13543else
12764 HAVE_GIF=maybe 13544 HAVE_GIF=maybe
@@ -12774,7 +13554,7 @@ fi
12774# If gif_lib.h but no libgif, try libungif. 13554# If gif_lib.h but no libgif, try libungif.
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
12776$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 13556$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
12777if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 13557if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
12778 $as_echo_n "(cached) " >&6 13558 $as_echo_n "(cached) " >&6
12779else 13559else
12780 ac_check_lib_save_LIBS=$LIBS 13560 ac_check_lib_save_LIBS=$LIBS
@@ -12808,7 +13588,7 @@ LIBS=$ac_check_lib_save_LIBS
12808fi 13588fi
12809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 13589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12810$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 13590$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
12811if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 13591if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
12812 HAVE_GIF=yes 13592 HAVE_GIF=yes
12813else 13593else
12814 HAVE_GIF=no 13594 HAVE_GIF=no
@@ -12840,7 +13620,7 @@ if test "${HAVE_X11}" = "yes"; then
12840 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 13620 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
12841 13621
12842 if test "X${MISSING}" != X; then 13622 if test "X${MISSING}" != X; then
12843 as_fn_error "The following required libraries were not found: 13623 as_fn_error $? "The following required libraries were not found:
12844 $MISSING 13624 $MISSING
12845Maybe some development libraries/packages are missing? 13625Maybe some development libraries/packages are missing?
12846If you don't want to link with them give 13626If you don't want to link with them give
@@ -12854,10 +13634,10 @@ HAVE_GPM=no
12854LIBGPM= 13634LIBGPM=
12855if test "${with_gpm}" != "no"; then 13635if test "${with_gpm}" != "no"; then
12856 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 13636 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
12857if test "x$ac_cv_header_gpm_h" = x""yes; then : 13637if test "x$ac_cv_header_gpm_h" = xyes; then :
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
12859$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 13639$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
12860if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 13640if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
12861 $as_echo_n "(cached) " >&6 13641 $as_echo_n "(cached) " >&6
12862else 13642else
12863 ac_check_lib_save_LIBS=$LIBS 13643 ac_check_lib_save_LIBS=$LIBS
@@ -12891,7 +13671,7 @@ LIBS=$ac_check_lib_save_LIBS
12891fi 13671fi
12892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 13672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
12893$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 13673$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
12894if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 13674if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
12895 HAVE_GPM=yes 13675 HAVE_GPM=yes
12896fi 13676fi
12897 13677
@@ -12909,7 +13689,7 @@ fi
12909 13689
12910 13690
12911ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 13691ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
12912if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 13692if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
12913 13693
12914$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 13694$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
12915 13695
@@ -12954,10 +13734,10 @@ HAVE_X_SM=no
12954LIBXSM= 13734LIBXSM=
12955if test "${HAVE_X11}" = "yes"; then 13735if test "${HAVE_X11}" = "yes"; then
12956 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 13736 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
12957if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 13737if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
12959$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 13739$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
12960if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 13740if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
12961 $as_echo_n "(cached) " >&6 13741 $as_echo_n "(cached) " >&6
12962else 13742else
12963 ac_check_lib_save_LIBS=$LIBS 13743 ac_check_lib_save_LIBS=$LIBS
@@ -12991,7 +13771,7 @@ LIBS=$ac_check_lib_save_LIBS
12991fi 13771fi
12992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 13772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
12993$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 13773$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
12994if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 13774if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
12995 HAVE_X_SM=yes 13775 HAVE_X_SM=yes
12996fi 13776fi
12997 13777
@@ -13022,7 +13802,7 @@ if test "${with_xml2}" != "no"; then
13022set dummy pkg-config; ac_word=$2 13802set dummy pkg-config; ac_word=$2
13023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13024$as_echo_n "checking for $ac_word... " >&6; } 13804$as_echo_n "checking for $ac_word... " >&6; }
13025if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13805if ${ac_cv_path_PKG_CONFIG+:} false; then :
13026 $as_echo_n "(cached) " >&6 13806 $as_echo_n "(cached) " >&6
13027else 13807else
13028 case $PKG_CONFIG in 13808 case $PKG_CONFIG in
@@ -13113,7 +13893,7 @@ $as_echo "no" >&6; }
13113 LIBS="$LIBXML2_LIBS $LIBS" 13893 LIBS="$LIBXML2_LIBS $LIBS"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
13115$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } 13895$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
13116if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : 13896if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
13117 $as_echo_n "(cached) " >&6 13897 $as_echo_n "(cached) " >&6
13118else 13898else
13119 ac_check_lib_save_LIBS=$LIBS 13899 ac_check_lib_save_LIBS=$LIBS
@@ -13147,7 +13927,7 @@ LIBS=$ac_check_lib_save_LIBS
13147fi 13927fi
13148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 13928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5
13149$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } 13929$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
13150if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : 13930if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
13151 HAVE_LIBXML2=yes 13931 HAVE_LIBXML2=yes
13152else 13932else
13153 HAVE_LIBXML2=no 13933 HAVE_LIBXML2=no
@@ -13169,7 +13949,7 @@ fi
13169# If netdb.h doesn't declare h_errno, we must declare it by hand. 13949# If netdb.h doesn't declare h_errno, we must declare it by hand.
13170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 13950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
13171$as_echo_n "checking whether netdb declares h_errno... " >&6; } 13951$as_echo_n "checking whether netdb declares h_errno... " >&6; }
13172if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 13952if ${emacs_cv_netdb_declares_h_errno+:} false; then :
13173 $as_echo_n "(cached) " >&6 13953 $as_echo_n "(cached) " >&6
13174else 13954else
13175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13203,7 +13983,7 @@ fi
13203# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 13983# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 13984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13205$as_echo_n "checking for sqrt in -lm... " >&6; } 13985$as_echo_n "checking for sqrt in -lm... " >&6; }
13206if test "${ac_cv_lib_m_sqrt+set}" = set; then : 13986if ${ac_cv_lib_m_sqrt+:} false; then :
13207 $as_echo_n "(cached) " >&6 13987 $as_echo_n "(cached) " >&6
13208else 13988else
13209 ac_check_lib_save_LIBS=$LIBS 13989 ac_check_lib_save_LIBS=$LIBS
@@ -13237,7 +14017,7 @@ LIBS=$ac_check_lib_save_LIBS
13237fi 14017fi
13238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 14018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13239$as_echo "$ac_cv_lib_m_sqrt" >&6; } 14019$as_echo "$ac_cv_lib_m_sqrt" >&6; }
13240if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 14020if test "x$ac_cv_lib_m_sqrt" = xyes; then :
13241 cat >>confdefs.h <<_ACEOF 14021 cat >>confdefs.h <<_ACEOF
13242#define HAVE_LIBM 1 14022#define HAVE_LIBM 1
13243_ACEOF 14023_ACEOF
@@ -13251,7 +14031,7 @@ fi
13251# have the same check as for liblockfile below. 14031# have the same check as for liblockfile below.
13252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 14032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
13253$as_echo_n "checking for maillock in -lmail... " >&6; } 14033$as_echo_n "checking for maillock in -lmail... " >&6; }
13254if test "${ac_cv_lib_mail_maillock+set}" = set; then : 14034if ${ac_cv_lib_mail_maillock+:} false; then :
13255 $as_echo_n "(cached) " >&6 14035 $as_echo_n "(cached) " >&6
13256else 14036else
13257 ac_check_lib_save_LIBS=$LIBS 14037 ac_check_lib_save_LIBS=$LIBS
@@ -13285,7 +14065,7 @@ LIBS=$ac_check_lib_save_LIBS
13285fi 14065fi
13286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 14066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
13287$as_echo "$ac_cv_lib_mail_maillock" >&6; } 14067$as_echo "$ac_cv_lib_mail_maillock" >&6; }
13288if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 14068if test "x$ac_cv_lib_mail_maillock" = xyes; then :
13289 have_mail=yes 14069 have_mail=yes
13290else 14070else
13291 have_mail=no 14071 have_mail=no
@@ -13302,7 +14082,7 @@ else
13302fi 14082fi
13303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 14083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
13304$as_echo_n "checking for maillock in -llockfile... " >&6; } 14084$as_echo_n "checking for maillock in -llockfile... " >&6; }
13305if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 14085if ${ac_cv_lib_lockfile_maillock+:} false; then :
13306 $as_echo_n "(cached) " >&6 14086 $as_echo_n "(cached) " >&6
13307else 14087else
13308 ac_check_lib_save_LIBS=$LIBS 14088 ac_check_lib_save_LIBS=$LIBS
@@ -13336,7 +14116,7 @@ LIBS=$ac_check_lib_save_LIBS
13336fi 14116fi
13337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 14117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
13338$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 14118$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
13339if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 14119if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
13340 have_lockfile=yes 14120 have_lockfile=yes
13341else 14121else
13342 have_lockfile=no 14122 have_lockfile=no
@@ -13356,7 +14136,7 @@ else
13356set dummy liblockfile.so; ac_word=$2 14136set dummy liblockfile.so; ac_word=$2
13357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13358$as_echo_n "checking for $ac_word... " >&6; } 14138$as_echo_n "checking for $ac_word... " >&6; }
13359if test "${ac_cv_prog_liblockfile+set}" = set; then : 14139if ${ac_cv_prog_liblockfile+:} false; then :
13360 $as_echo_n "(cached) " >&6 14140 $as_echo_n "(cached) " >&6
13361else 14141else
13362 if test -n "$liblockfile"; then 14142 if test -n "$liblockfile"; then
@@ -13392,7 +14172,7 @@ fi
13392 14172
13393 14173
13394 if test $ac_cv_prog_liblockfile = yes; then 14174 if test $ac_cv_prog_liblockfile = yes; then
13395 as_fn_error "Shared liblockfile found but can't link against it. 14175 as_fn_error $? "Shared liblockfile found but can't link against it.
13396This probably means that movemail could lose mail. 14176This probably means that movemail could lose mail.
13397There may be a \`development' package to install containing liblockfile." "$LINENO" 5 14177There may be a \`development' package to install containing liblockfile." "$LINENO" 5
13398 fi 14178 fi
@@ -13400,7 +14180,7 @@ fi
13400for ac_func in touchlock 14180for ac_func in touchlock
13401do : 14181do :
13402 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 14182 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
13403if test "x$ac_cv_func_touchlock" = x""yes; then : 14183if test "x$ac_cv_func_touchlock" = xyes; then :
13404 cat >>confdefs.h <<_ACEOF 14184 cat >>confdefs.h <<_ACEOF
13405#define HAVE_TOUCHLOCK 1 14185#define HAVE_TOUCHLOCK 1
13406_ACEOF 14186_ACEOF
@@ -13411,7 +14191,7 @@ done
13411for ac_header in maillock.h 14191for ac_header in maillock.h
13412do : 14192do :
13413 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 14193 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
13414if test "x$ac_cv_header_maillock_h" = x""yes; then : 14194if test "x$ac_cv_header_maillock_h" = xyes; then :
13415 cat >>confdefs.h <<_ACEOF 14195 cat >>confdefs.h <<_ACEOF
13416#define HAVE_MAILLOCK_H 1 14196#define HAVE_MAILLOCK_H 1
13417_ACEOF 14197_ACEOF
@@ -13481,8 +14261,7 @@ cfmakeraw cfsetspeed isnan copysign __executable_start
13481do : 14261do :
13482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13483ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14263ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13484eval as_val=\$$as_ac_var 14264if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13485 if test "x$as_val" = x""yes; then :
13486 cat >>confdefs.h <<_ACEOF 14265 cat >>confdefs.h <<_ACEOF
13487#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14266#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13488_ACEOF 14267_ACEOF
@@ -13493,7 +14272,7 @@ done
13493 14272
13494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5 14273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unwind_init" >&5
13495$as_echo_n "checking for __builtin_unwind_init... " >&6; } 14274$as_echo_n "checking for __builtin_unwind_init... " >&6; }
13496if test "${emacs_cv_func___builtin_unwind_init+set}" = set; then : 14275if ${emacs_cv_func___builtin_unwind_init+:} false; then :
13497 $as_echo_n "(cached) " >&6 14276 $as_echo_n "(cached) " >&6
13498else 14277else
13499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13526,7 +14305,7 @@ fi
13526for ac_header in sys/un.h 14305for ac_header in sys/un.h
13527do : 14306do :
13528 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 14307 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
13529if test "x$ac_cv_header_sys_un_h" = x""yes; then : 14308if test "x$ac_cv_header_sys_un_h" = xyes; then :
13530 cat >>confdefs.h <<_ACEOF 14309 cat >>confdefs.h <<_ACEOF
13531#define HAVE_SYS_UN_H 1 14310#define HAVE_SYS_UN_H 1
13532_ACEOF 14311_ACEOF
@@ -13538,7 +14317,7 @@ done
13538 14317
13539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 14318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
13540$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 14319$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
13541if test "${ac_cv_sys_largefile_source+set}" = set; then : 14320if ${ac_cv_sys_largefile_source+:} false; then :
13542 $as_echo_n "(cached) " >&6 14321 $as_echo_n "(cached) " >&6
13543else 14322else
13544 while :; do 14323 while :; do
@@ -13607,7 +14386,7 @@ fi
13607 14386
13608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 14387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
13609$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 14388$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
13610if test "${ac_cv_func_getpgrp_void+set}" = set; then : 14389if ${ac_cv_func_getpgrp_void+:} false; then :
13611 $as_echo_n "(cached) " >&6 14390 $as_echo_n "(cached) " >&6
13612else 14391else
13613 # Use it with a single arg. 14392 # Use it with a single arg.
@@ -13646,7 +14425,7 @@ fi
13646for ac_func in grantpt 14425for ac_func in grantpt
13647do : 14426do :
13648 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 14427 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
13649if test "x$ac_cv_func_grantpt" = x""yes; then : 14428if test "x$ac_cv_func_grantpt" = xyes; then :
13650 cat >>confdefs.h <<_ACEOF 14429 cat >>confdefs.h <<_ACEOF
13651#define HAVE_GRANTPT 1 14430#define HAVE_GRANTPT 1
13652_ACEOF 14431_ACEOF
@@ -13659,7 +14438,7 @@ done
13659for ac_func in getpt 14438for ac_func in getpt
13660do : 14439do :
13661 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 14440 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
13662if test "x$ac_cv_func_getpt" = x""yes; then : 14441if test "x$ac_cv_func_getpt" = xyes; then :
13663 cat >>confdefs.h <<_ACEOF 14442 cat >>confdefs.h <<_ACEOF
13664#define HAVE_GETPT 1 14443#define HAVE_GETPT 1
13665_ACEOF 14444_ACEOF
@@ -13676,7 +14455,7 @@ done
13676have_tputs_et_al=true 14455have_tputs_et_al=true
13677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 14456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
13678$as_echo_n "checking for library containing tputs... " >&6; } 14457$as_echo_n "checking for library containing tputs... " >&6; }
13679if test "${ac_cv_search_tputs+set}" = set; then : 14458if ${ac_cv_search_tputs+:} false; then :
13680 $as_echo_n "(cached) " >&6 14459 $as_echo_n "(cached) " >&6
13681else 14460else
13682 ac_func_search_save_LIBS=$LIBS 14461 ac_func_search_save_LIBS=$LIBS
@@ -13710,11 +14489,11 @@ for ac_lib in '' ncurses terminfo termcap; do
13710fi 14489fi
13711rm -f core conftest.err conftest.$ac_objext \ 14490rm -f core conftest.err conftest.$ac_objext \
13712 conftest$ac_exeext 14491 conftest$ac_exeext
13713 if test "${ac_cv_search_tputs+set}" = set; then : 14492 if ${ac_cv_search_tputs+:} false; then :
13714 break 14493 break
13715fi 14494fi
13716done 14495done
13717if test "${ac_cv_search_tputs+set}" = set; then : 14496if ${ac_cv_search_tputs+:} false; then :
13718 14497
13719else 14498else
13720 ac_cv_search_tputs=no 14499 ac_cv_search_tputs=no
@@ -13733,7 +14512,7 @@ else
13733fi 14512fi
13734 14513
13735if test "$have_tputs_et_al" != true; then 14514if test "$have_tputs_et_al" != true; then
13736 as_fn_error "I couldn't find termcap functions (tputs and friends). 14515 as_fn_error $? "I couldn't find termcap functions (tputs and friends).
13737Maybe some development libraries/packages are missing? Try installing 14516Maybe some development libraries/packages are missing? Try installing
13738libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 14517libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
13739fi 14518fi
@@ -13773,7 +14552,7 @@ case "$opsys" in
13773 freebsd) 14552 freebsd)
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
13775$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 14554$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
13776 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : 14555 if ${emacs_cv_freebsd_terminfo+:} false; then :
13777 $as_echo_n "(cached) " >&6 14556 $as_echo_n "(cached) " >&6
13778else 14557else
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13915,16 +14694,16 @@ LIBHESIOD=
13915if test "$with_hesiod" != no ; then 14694if test "$with_hesiod" != no ; then
13916 # Don't set $LIBS here -- see comments above. FIXME which comments? 14695 # Don't set $LIBS here -- see comments above. FIXME which comments?
13917 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 14696 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
13918if test "x$ac_cv_func_res_send" = x""yes; then : 14697if test "x$ac_cv_func_res_send" = xyes; then :
13919 14698
13920else 14699else
13921 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 14700 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
13922if test "x$ac_cv_func___res_send" = x""yes; then : 14701if test "x$ac_cv_func___res_send" = xyes; then :
13923 14702
13924else 14703else
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
13926$as_echo_n "checking for res_send in -lresolv... " >&6; } 14705$as_echo_n "checking for res_send in -lresolv... " >&6; }
13927if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 14706if ${ac_cv_lib_resolv_res_send+:} false; then :
13928 $as_echo_n "(cached) " >&6 14707 $as_echo_n "(cached) " >&6
13929else 14708else
13930 ac_check_lib_save_LIBS=$LIBS 14709 ac_check_lib_save_LIBS=$LIBS
@@ -13958,12 +14737,12 @@ LIBS=$ac_check_lib_save_LIBS
13958fi 14737fi
13959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 14738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
13960$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 14739$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
13961if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 14740if test "x$ac_cv_lib_resolv_res_send" = xyes; then :
13962 resolv=yes 14741 resolv=yes
13963else 14742else
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
13965$as_echo_n "checking for __res_send in -lresolv... " >&6; } 14744$as_echo_n "checking for __res_send in -lresolv... " >&6; }
13966if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 14745if ${ac_cv_lib_resolv___res_send+:} false; then :
13967 $as_echo_n "(cached) " >&6 14746 $as_echo_n "(cached) " >&6
13968else 14747else
13969 ac_check_lib_save_LIBS=$LIBS 14748 ac_check_lib_save_LIBS=$LIBS
@@ -13997,7 +14776,7 @@ LIBS=$ac_check_lib_save_LIBS
13997fi 14776fi
13998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 14777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
13999$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 14778$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
14000if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 14779if test "x$ac_cv_lib_resolv___res_send" = xyes; then :
14001 resolv=yes 14780 resolv=yes
14002fi 14781fi
14003 14782
@@ -14013,12 +14792,12 @@ fi
14013 RESOLVLIB= 14792 RESOLVLIB=
14014 fi 14793 fi
14015 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 14794 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
14016if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 14795if test "x$ac_cv_func_hes_getmailhost" = xyes; then :
14017 14796
14018else 14797else
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
14020$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 14799$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
14021if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 14800if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then :
14022 $as_echo_n "(cached) " >&6 14801 $as_echo_n "(cached) " >&6
14023else 14802else
14024 ac_check_lib_save_LIBS=$LIBS 14803 ac_check_lib_save_LIBS=$LIBS
@@ -14052,7 +14831,7 @@ LIBS=$ac_check_lib_save_LIBS
14052fi 14831fi
14053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 14832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
14054$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 14833$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
14055if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 14834if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
14056 hesiod=yes 14835 hesiod=yes
14057else 14836else
14058 : 14837 :
@@ -14091,7 +14870,7 @@ KRB4LIB=
14091if test "${with_kerberos}" != no; then 14870if test "${with_kerberos}" != no; then
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
14093$as_echo_n "checking for com_err in -lcom_err... " >&6; } 14872$as_echo_n "checking for com_err in -lcom_err... " >&6; }
14094if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 14873if ${ac_cv_lib_com_err_com_err+:} false; then :
14095 $as_echo_n "(cached) " >&6 14874 $as_echo_n "(cached) " >&6
14096else 14875else
14097 ac_check_lib_save_LIBS=$LIBS 14876 ac_check_lib_save_LIBS=$LIBS
@@ -14125,7 +14904,7 @@ LIBS=$ac_check_lib_save_LIBS
14125fi 14904fi
14126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 14905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
14127$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 14906$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
14128if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 14907if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
14129 have_com_err=yes 14908 have_com_err=yes
14130else 14909else
14131 have_com_err=no 14910 have_com_err=no
@@ -14140,7 +14919,7 @@ $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
14140 fi 14919 fi
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
14142$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 14921$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
14143if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 14922if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
14144 $as_echo_n "(cached) " >&6 14923 $as_echo_n "(cached) " >&6
14145else 14924else
14146 ac_check_lib_save_LIBS=$LIBS 14925 ac_check_lib_save_LIBS=$LIBS
@@ -14174,7 +14953,7 @@ LIBS=$ac_check_lib_save_LIBS
14174fi 14953fi
14175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 14954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
14176$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 14955$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
14177if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 14956if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
14178 have_crypto=yes 14957 have_crypto=yes
14179else 14958else
14180 have_crypto=no 14959 have_crypto=no
@@ -14189,7 +14968,7 @@ $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
14189 fi 14968 fi
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
14191$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 14970$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
14192if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 14971if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
14193 $as_echo_n "(cached) " >&6 14972 $as_echo_n "(cached) " >&6
14194else 14973else
14195 ac_check_lib_save_LIBS=$LIBS 14974 ac_check_lib_save_LIBS=$LIBS
@@ -14223,7 +15002,7 @@ LIBS=$ac_check_lib_save_LIBS
14223fi 15002fi
14224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 15003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
14225$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 15004$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
14226if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 15005if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
14227 have_k5crypto=yes 15006 have_k5crypto=yes
14228else 15007else
14229 have_k5crypto=no 15008 have_k5crypto=no
@@ -14238,7 +15017,7 @@ $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
14238 fi 15017 fi
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
14240$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 15019$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
14241if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 15020if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
14242 $as_echo_n "(cached) " >&6 15021 $as_echo_n "(cached) " >&6
14243else 15022else
14244 ac_check_lib_save_LIBS=$LIBS 15023 ac_check_lib_save_LIBS=$LIBS
@@ -14272,7 +15051,7 @@ LIBS=$ac_check_lib_save_LIBS
14272fi 15051fi
14273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 15052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
14274$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 15053$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
14275if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 15054if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
14276 have_krb5=yes 15055 have_krb5=yes
14277else 15056else
14278 have_krb5=no 15057 have_krb5=no
@@ -14288,7 +15067,7 @@ $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
14288 if test "${with_kerberos5}" = no; then 15067 if test "${with_kerberos5}" = no; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
14290$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 15069$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
14291if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 15070if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
14292 $as_echo_n "(cached) " >&6 15071 $as_echo_n "(cached) " >&6
14293else 15072else
14294 ac_check_lib_save_LIBS=$LIBS 15073 ac_check_lib_save_LIBS=$LIBS
@@ -14322,7 +15101,7 @@ LIBS=$ac_check_lib_save_LIBS
14322fi 15101fi
14323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 15102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
14324$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 15103$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
14325if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 15104if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
14326 have_des425=yes 15105 have_des425=yes
14327else 15106else
14328 have_des425=no 15107 have_des425=no
@@ -14337,7 +15116,7 @@ $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
14337 else 15116 else
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
14339$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 15118$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
14340if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 15119if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
14341 $as_echo_n "(cached) " >&6 15120 $as_echo_n "(cached) " >&6
14342else 15121else
14343 ac_check_lib_save_LIBS=$LIBS 15122 ac_check_lib_save_LIBS=$LIBS
@@ -14371,7 +15150,7 @@ LIBS=$ac_check_lib_save_LIBS
14371fi 15150fi
14372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 15151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
14373$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 15152$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
14374if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 15153if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
14375 have_des=yes 15154 have_des=yes
14376else 15155else
14377 have_des=no 15156 have_des=no
@@ -14387,7 +15166,7 @@ $as_echo "#define HAVE_LIBDES 1" >>confdefs.h
14387 fi 15166 fi
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
14389$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 15168$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
14390if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 15169if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
14391 $as_echo_n "(cached) " >&6 15170 $as_echo_n "(cached) " >&6
14392else 15171else
14393 ac_check_lib_save_LIBS=$LIBS 15172 ac_check_lib_save_LIBS=$LIBS
@@ -14421,7 +15200,7 @@ LIBS=$ac_check_lib_save_LIBS
14421fi 15200fi
14422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 15201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
14423$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 15202$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
14424if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 15203if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
14425 have_krb4=yes 15204 have_krb4=yes
14426else 15205else
14427 have_krb4=no 15206 have_krb4=no
@@ -14436,7 +15215,7 @@ $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
14436 else 15215 else
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
14438$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 15217$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
14439if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 15218if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
14440 $as_echo_n "(cached) " >&6 15219 $as_echo_n "(cached) " >&6
14441else 15220else
14442 ac_check_lib_save_LIBS=$LIBS 15221 ac_check_lib_save_LIBS=$LIBS
@@ -14470,7 +15249,7 @@ LIBS=$ac_check_lib_save_LIBS
14470fi 15249fi
14471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 15250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
14472$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 15251$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
14473if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 15252if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
14474 have_krb=yes 15253 have_krb=yes
14475else 15254else
14476 have_krb=no 15255 have_krb=no
@@ -14490,13 +15269,13 @@ $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
14490 for ac_header in krb5.h 15269 for ac_header in krb5.h
14491do : 15270do :
14492 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 15271 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
14493if test "x$ac_cv_header_krb5_h" = x""yes; then : 15272if test "x$ac_cv_header_krb5_h" = xyes; then :
14494 cat >>confdefs.h <<_ACEOF 15273 cat >>confdefs.h <<_ACEOF
14495#define HAVE_KRB5_H 1 15274#define HAVE_KRB5_H 1
14496_ACEOF 15275_ACEOF
14497 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 15276 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
14498" 15277"
14499if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 15278if test "x$ac_cv_member_krb5_error_text" = xyes; then :
14500 15279
14501cat >>confdefs.h <<_ACEOF 15280cat >>confdefs.h <<_ACEOF
14502#define HAVE_KRB5_ERROR_TEXT 1 15281#define HAVE_KRB5_ERROR_TEXT 1
@@ -14506,7 +15285,7 @@ _ACEOF
14506fi 15285fi
14507ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 15286ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
14508" 15287"
14509if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 15288if test "x$ac_cv_member_krb5_error_e_text" = xyes; then :
14510 15289
14511cat >>confdefs.h <<_ACEOF 15290cat >>confdefs.h <<_ACEOF
14512#define HAVE_KRB5_ERROR_E_TEXT 1 15291#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -14523,7 +15302,7 @@ done
14523 for ac_header in des.h 15302 for ac_header in des.h
14524do : 15303do :
14525 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 15304 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
14526if test "x$ac_cv_header_des_h" = x""yes; then : 15305if test "x$ac_cv_header_des_h" = xyes; then :
14527 cat >>confdefs.h <<_ACEOF 15306 cat >>confdefs.h <<_ACEOF
14528#define HAVE_DES_H 1 15307#define HAVE_DES_H 1
14529_ACEOF 15308_ACEOF
@@ -14532,7 +15311,7 @@ else
14532 for ac_header in kerberosIV/des.h 15311 for ac_header in kerberosIV/des.h
14533do : 15312do :
14534 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 15313 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
14535if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 15314if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then :
14536 cat >>confdefs.h <<_ACEOF 15315 cat >>confdefs.h <<_ACEOF
14537#define HAVE_KERBEROSIV_DES_H 1 15316#define HAVE_KERBEROSIV_DES_H 1
14538_ACEOF 15317_ACEOF
@@ -14541,7 +15320,7 @@ else
14541 for ac_header in kerberos/des.h 15320 for ac_header in kerberos/des.h
14542do : 15321do :
14543 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 15322 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
14544if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 15323if test "x$ac_cv_header_kerberos_des_h" = xyes; then :
14545 cat >>confdefs.h <<_ACEOF 15324 cat >>confdefs.h <<_ACEOF
14546#define HAVE_KERBEROS_DES_H 1 15325#define HAVE_KERBEROS_DES_H 1
14547_ACEOF 15326_ACEOF
@@ -14561,7 +15340,7 @@ done
14561 for ac_header in krb.h 15340 for ac_header in krb.h
14562do : 15341do :
14563 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 15342 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
14564if test "x$ac_cv_header_krb_h" = x""yes; then : 15343if test "x$ac_cv_header_krb_h" = xyes; then :
14565 cat >>confdefs.h <<_ACEOF 15344 cat >>confdefs.h <<_ACEOF
14566#define HAVE_KRB_H 1 15345#define HAVE_KRB_H 1
14567_ACEOF 15346_ACEOF
@@ -14570,7 +15349,7 @@ else
14570 for ac_header in kerberosIV/krb.h 15349 for ac_header in kerberosIV/krb.h
14571do : 15350do :
14572 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 15351 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
14573if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 15352if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then :
14574 cat >>confdefs.h <<_ACEOF 15353 cat >>confdefs.h <<_ACEOF
14575#define HAVE_KERBEROSIV_KRB_H 1 15354#define HAVE_KERBEROSIV_KRB_H 1
14576_ACEOF 15355_ACEOF
@@ -14579,7 +15358,7 @@ else
14579 for ac_header in kerberos/krb.h 15358 for ac_header in kerberos/krb.h
14580do : 15359do :
14581 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 15360 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
14582if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 15361if test "x$ac_cv_header_kerberos_krb_h" = xyes; then :
14583 cat >>confdefs.h <<_ACEOF 15362 cat >>confdefs.h <<_ACEOF
14584#define HAVE_KERBEROS_KRB_H 1 15363#define HAVE_KERBEROS_KRB_H 1
14585_ACEOF 15364_ACEOF
@@ -14600,7 +15379,7 @@ done
14600 for ac_header in com_err.h 15379 for ac_header in com_err.h
14601do : 15380do :
14602 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 15381 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
14603if test "x$ac_cv_header_com_err_h" = x""yes; then : 15382if test "x$ac_cv_header_com_err_h" = xyes; then :
14604 cat >>confdefs.h <<_ACEOF 15383 cat >>confdefs.h <<_ACEOF
14605#define HAVE_COM_ERR_H 1 15384#define HAVE_COM_ERR_H 1
14606_ACEOF 15385_ACEOF
@@ -14621,7 +15400,7 @@ fi
14621# to return localized messages. 15400# to return localized messages.
14622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 15401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14623$as_echo_n "checking for dgettext in -lintl... " >&6; } 15402$as_echo_n "checking for dgettext in -lintl... " >&6; }
14624if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 15403if ${ac_cv_lib_intl_dgettext+:} false; then :
14625 $as_echo_n "(cached) " >&6 15404 $as_echo_n "(cached) " >&6
14626else 15405else
14627 ac_check_lib_save_LIBS=$LIBS 15406 ac_check_lib_save_LIBS=$LIBS
@@ -14655,7 +15434,7 @@ LIBS=$ac_check_lib_save_LIBS
14655fi 15434fi
14656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 15435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14657$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 15436$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14658if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 15437if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14659 cat >>confdefs.h <<_ACEOF 15438 cat >>confdefs.h <<_ACEOF
14660#define HAVE_LIBINTL 1 15439#define HAVE_LIBINTL 1
14661_ACEOF 15440_ACEOF
@@ -14667,7 +15446,7 @@ fi
14667 15446
14668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 15447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
14669$as_echo_n "checking whether localtime caches TZ... " >&6; } 15448$as_echo_n "checking whether localtime caches TZ... " >&6; }
14670if test "${emacs_cv_localtime_cache+set}" = set; then : 15449if ${emacs_cv_localtime_cache+:} false; then :
14671 $as_echo_n "(cached) " >&6 15450 $as_echo_n "(cached) " >&6
14672else 15451else
14673 if test x$ac_cv_func_tzset = xyes; then 15452 if test x$ac_cv_func_tzset = xyes; then
@@ -14726,7 +15505,7 @@ if test "x$HAVE_TIMEVAL" = xyes; then
14726 for ac_func in gettimeofday 15505 for ac_func in gettimeofday
14727do : 15506do :
14728 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 15507 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
14729if test "x$ac_cv_func_gettimeofday" = x""yes; then : 15508if test "x$ac_cv_func_gettimeofday" = xyes; then :
14730 cat >>confdefs.h <<_ACEOF 15509 cat >>confdefs.h <<_ACEOF
14731#define HAVE_GETTIMEOFDAY 1 15510#define HAVE_GETTIMEOFDAY 1
14732_ACEOF 15511_ACEOF
@@ -14737,7 +15516,7 @@ done
14737 if test $ac_cv_func_gettimeofday = yes; then 15516 if test $ac_cv_func_gettimeofday = yes; then
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
14739$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 15518$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
14740if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 15519if ${emacs_cv_gettimeofday_two_arguments+:} false; then :
14741 $as_echo_n "(cached) " >&6 15520 $as_echo_n "(cached) " >&6
14742else 15521else
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14781,7 +15560,7 @@ fi
14781 15560
14782ok_so_far=yes 15561ok_so_far=yes
14783ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 15562ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
14784if test "x$ac_cv_func_socket" = x""yes; then : 15563if test "x$ac_cv_func_socket" = xyes; then :
14785 15564
14786else 15565else
14787 ok_so_far=no 15566 ok_so_far=no
@@ -14789,7 +15568,7 @@ fi
14789 15568
14790if test $ok_so_far = yes; then 15569if test $ok_so_far = yes; then
14791 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 15570 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
14792if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 15571if test "x$ac_cv_header_netinet_in_h" = xyes; then :
14793 15572
14794else 15573else
14795 ok_so_far=no 15574 ok_so_far=no
@@ -14799,7 +15578,7 @@ fi
14799fi 15578fi
14800if test $ok_so_far = yes; then 15579if test $ok_so_far = yes; then
14801 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 15580 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
14802if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 15581if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
14803 15582
14804else 15583else
14805 ok_so_far=no 15584 ok_so_far=no
@@ -14833,7 +15612,7 @@ $as_echo "no" >&6; }
14833fi 15612fi
14834 15613
14835ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 15614ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14836if test "x$ac_cv_type_pid_t" = x""yes; then : 15615if test "x$ac_cv_type_pid_t" = xyes; then :
14837 15616
14838else 15617else
14839 15618
@@ -14846,7 +15625,7 @@ fi
14846for ac_header in vfork.h 15625for ac_header in vfork.h
14847do : 15626do :
14848 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 15627 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14849if test "x$ac_cv_header_vfork_h" = x""yes; then : 15628if test "x$ac_cv_header_vfork_h" = xyes; then :
14850 cat >>confdefs.h <<_ACEOF 15629 cat >>confdefs.h <<_ACEOF
14851#define HAVE_VFORK_H 1 15630#define HAVE_VFORK_H 1
14852_ACEOF 15631_ACEOF
@@ -14859,8 +15638,7 @@ for ac_func in fork vfork
14859do : 15638do :
14860 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14861ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15640ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14862eval as_val=\$$as_ac_var 15641if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14863 if test "x$as_val" = x""yes; then :
14864 cat >>confdefs.h <<_ACEOF 15642 cat >>confdefs.h <<_ACEOF
14865#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15643#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14866_ACEOF 15644_ACEOF
@@ -14871,7 +15649,7 @@ done
14871if test "x$ac_cv_func_fork" = xyes; then 15649if test "x$ac_cv_func_fork" = xyes; then
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14873$as_echo_n "checking for working fork... " >&6; } 15651$as_echo_n "checking for working fork... " >&6; }
14874if test "${ac_cv_func_fork_works+set}" = set; then : 15652if ${ac_cv_func_fork_works+:} false; then :
14875 $as_echo_n "(cached) " >&6 15653 $as_echo_n "(cached) " >&6
14876else 15654else
14877 if test "$cross_compiling" = yes; then : 15655 if test "$cross_compiling" = yes; then :
@@ -14924,7 +15702,7 @@ ac_cv_func_vfork_works=$ac_cv_func_vfork
14924if test "x$ac_cv_func_vfork" = xyes; then 15702if test "x$ac_cv_func_vfork" = xyes; then
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14926$as_echo_n "checking for working vfork... " >&6; } 15704$as_echo_n "checking for working vfork... " >&6; }
14927if test "${ac_cv_func_vfork_works+set}" = set; then : 15705if ${ac_cv_func_vfork_works+:} false; then :
14928 $as_echo_n "(cached) " >&6 15706 $as_echo_n "(cached) " >&6
14929else 15707else
14930 if test "$cross_compiling" = yes; then : 15708 if test "$cross_compiling" = yes; then :
@@ -15061,7 +15839,7 @@ fi
15061for ac_func in snprintf 15839for ac_func in snprintf
15062do : 15840do :
15063 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" 15841 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
15064if test "x$ac_cv_func_snprintf" = x""yes; then : 15842if test "x$ac_cv_func_snprintf" = xyes; then :
15065 cat >>confdefs.h <<_ACEOF 15843 cat >>confdefs.h <<_ACEOF
15066#define HAVE_SNPRINTF 1 15844#define HAVE_SNPRINTF 1
15067_ACEOF 15845_ACEOF
@@ -15072,7 +15850,7 @@ done
15072 15850
15073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 15851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
15074$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 15852$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
15075if test "${emacs_cv_langinfo_codeset+set}" = set; then : 15853if ${emacs_cv_langinfo_codeset+:} false; then :
15076 $as_echo_n "(cached) " >&6 15854 $as_echo_n "(cached) " >&6
15077else 15855else
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15105,7 +15883,7 @@ fi
15105 15883
15106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 15884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
15107$as_echo_n "checking for mbstate_t... " >&6; } 15885$as_echo_n "checking for mbstate_t... " >&6; }
15108if test "${ac_cv_type_mbstate_t+set}" = set; then : 15886if ${ac_cv_type_mbstate_t+:} false; then :
15109 $as_echo_n "(cached) " >&6 15887 $as_echo_n "(cached) " >&6
15110else 15888else
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15141,7 +15919,7 @@ $as_echo "#define mbstate_t int" >>confdefs.h
15141 15919
15142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 15920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
15143$as_echo_n "checking for C restricted array declarations... " >&6; } 15921$as_echo_n "checking for C restricted array declarations... " >&6; }
15144if test "${emacs_cv_c_restrict_arr+set}" = set; then : 15922if ${emacs_cv_c_restrict_arr+:} false; then :
15145 $as_echo_n "(cached) " >&6 15923 $as_echo_n "(cached) " >&6
15146else 15924else
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15180,7 +15958,7 @@ if test "x$GCC" = xyes \
15180 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 15958 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
15181 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 15959 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
15182 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 15960 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
15183 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 15961 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
15184fi 15962fi
15185 15963
15186version=$PACKAGE_VERSION 15964version=$PACKAGE_VERSION
@@ -15424,14 +16202,16 @@ fi
15424 16202
15425 16203
15426 16204
16205
15427 LIBC_FATAL_STDERR_=1 16206 LIBC_FATAL_STDERR_=1
15428 export LIBC_FATAL_STDERR_ 16207 export LIBC_FATAL_STDERR_
15429 16208
16209
15430# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 16210# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15431# for constant arguments. Useless! 16211# for constant arguments. Useless!
15432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 16212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15433$as_echo_n "checking for working alloca.h... " >&6; } 16213$as_echo_n "checking for working alloca.h... " >&6; }
15434if test "${ac_cv_working_alloca_h+set}" = set; then : 16214if ${ac_cv_working_alloca_h+:} false; then :
15435 $as_echo_n "(cached) " >&6 16215 $as_echo_n "(cached) " >&6
15436else 16216else
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15464,7 +16244,7 @@ fi
15464 16244
15465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 16245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15466$as_echo_n "checking for alloca... " >&6; } 16246$as_echo_n "checking for alloca... " >&6; }
15467if test "${ac_cv_func_alloca_works+set}" = set; then : 16247if ${ac_cv_func_alloca_works+:} false; then :
15468 $as_echo_n "(cached) " >&6 16248 $as_echo_n "(cached) " >&6
15469else 16249else
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15483,7 +16263,7 @@ else
15483 #pragma alloca 16263 #pragma alloca
15484# else 16264# else
15485# ifndef alloca /* predefined by HP cc +Olibcalls */ 16265# ifndef alloca /* predefined by HP cc +Olibcalls */
15486char *alloca (); 16266void *alloca (size_t);
15487# endif 16267# endif
15488# endif 16268# endif
15489# endif 16269# endif
@@ -15531,7 +16311,7 @@ $as_echo "#define C_ALLOCA 1" >>confdefs.h
15531 16311
15532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 16312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15533$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 16313$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15534if test "${ac_cv_os_cray+set}" = set; then : 16314if ${ac_cv_os_cray+:} false; then :
15535 $as_echo_n "(cached) " >&6 16315 $as_echo_n "(cached) " >&6
15536else 16316else
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15558,8 +16338,7 @@ if test $ac_cv_os_cray = yes; then
15558 for ac_func in _getb67 GETB67 getb67; do 16338 for ac_func in _getb67 GETB67 getb67; do
15559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15560ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16340ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15561eval as_val=\$$as_ac_var 16341if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15562 if test "x$as_val" = x""yes; then :
15563 16342
15564cat >>confdefs.h <<_ACEOF 16343cat >>confdefs.h <<_ACEOF
15565#define CRAY_STACKSEG_END $ac_func 16344#define CRAY_STACKSEG_END $ac_func
@@ -15573,7 +16352,7 @@ fi
15573 16352
15574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 16353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15575$as_echo_n "checking stack direction for C alloca... " >&6; } 16354$as_echo_n "checking stack direction for C alloca... " >&6; }
15576if test "${ac_cv_c_stack_direction+set}" = set; then : 16355if ${ac_cv_c_stack_direction+:} false; then :
15577 $as_echo_n "(cached) " >&6 16356 $as_echo_n "(cached) " >&6
15578else 16357else
15579 if test "$cross_compiling" = yes; then : 16358 if test "$cross_compiling" = yes; then :
@@ -15625,8 +16404,7 @@ fi
15625do : 16404do :
15626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15627ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16406ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15628eval as_val=\$$as_ac_var 16407if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15629 if test "x$as_val" = x""yes; then :
15630 cat >>confdefs.h <<_ACEOF 16408 cat >>confdefs.h <<_ACEOF
15631#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16409#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15632_ACEOF 16410_ACEOF
@@ -15639,7 +16417,7 @@ done
15639 16417
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15641$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 16419$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15642if test "${ac_cv_c_bigendian+set}" = set; then : 16420if ${ac_cv_c_bigendian+:} false; then :
15643 $as_echo_n "(cached) " >&6 16421 $as_echo_n "(cached) " >&6
15644else 16422else
15645 ac_cv_c_bigendian=unknown 16423 ac_cv_c_bigendian=unknown
@@ -15857,14 +16635,14 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15857 16635
15858 ;; #( 16636 ;; #(
15859 *) 16637 *)
15860 as_fn_error "unknown endianness 16638 as_fn_error $? "unknown endianness
15861 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 16639 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15862 esac 16640 esac
15863 16641
15864 16642
15865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 16643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15866$as_echo_n "checking for inline... " >&6; } 16644$as_echo_n "checking for inline... " >&6; }
15867if test "${ac_cv_c_inline+set}" = set; then : 16645if ${ac_cv_c_inline+:} false; then :
15868 $as_echo_n "(cached) " >&6 16646 $as_echo_n "(cached) " >&6
15869else 16647else
15870 ac_cv_c_inline=no 16648 ac_cv_c_inline=no
@@ -15907,7 +16685,7 @@ esac
15907 16685
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5 16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5
15909$as_echo_n "checking whether strtold conforms to C99... " >&6; } 16687$as_echo_n "checking whether strtold conforms to C99... " >&6; }
15910if test "${gl_cv_func_c99_strtold+set}" = set; then : 16688if ${gl_cv_func_c99_strtold+:} false; then :
15911 $as_echo_n "(cached) " >&6 16689 $as_echo_n "(cached) " >&6
15912else 16690else
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16061,11 +16839,9 @@ $as_echo "#define HAVE_C99_STRTOLD 1" >>confdefs.h
16061 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; 16839 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
16062 16840
16063 16841
16064
16065
16066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5 16842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5
16067$as_echo_n "checking for st_dm_mode in struct stat... " >&6; } 16843$as_echo_n "checking for st_dm_mode in struct stat... " >&6; }
16068if test "${ac_cv_struct_st_dm_mode+set}" = set; then : 16844if ${ac_cv_struct_st_dm_mode+:} false; then :
16069 $as_echo_n "(cached) " >&6 16845 $as_echo_n "(cached) " >&6
16070else 16846else
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16099,7 +16875,7 @@ $as_echo "#define HAVE_ST_DM_MODE 1" >>confdefs.h
16099 16875
16100 16876
16101ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default" 16877ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default"
16102if test "x$ac_cv_have_decl_strmode" = x""yes; then : 16878if test "x$ac_cv_have_decl_strmode" = xyes; then :
16103 ac_have_decl=1 16879 ac_have_decl=1
16104else 16880else
16105 ac_have_decl=0 16881 ac_have_decl=0
@@ -16180,7 +16956,7 @@ _ACEOF
16180 16956
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
16182$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } 16958$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
16183if test "${gl_cv_have_include_next+set}" = set; then : 16959if ${gl_cv_have_include_next+:} false; then :
16184 $as_echo_n "(cached) " >&6 16960 $as_echo_n "(cached) " >&6
16185else 16961else
16186 rm -rf conftestd1a conftestd1b conftestd2 16962 rm -rf conftestd1a conftestd1b conftestd2
@@ -16260,7 +17036,7 @@ $as_echo "$gl_cv_have_include_next" >&6; }
16260 17036
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
16262$as_echo_n "checking whether system header files limit the line length... " >&6; } 17038$as_echo_n "checking whether system header files limit the line length... " >&6; }
16263if test "${gl_cv_pragma_columns+set}" = set; then : 17039if ${gl_cv_pragma_columns+:} false; then :
16264 $as_echo_n "(cached) " >&6 17040 $as_echo_n "(cached) " >&6
16265else 17041else
16266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16310,7 +17086,7 @@ $as_echo "$gl_cv_pragma_columns" >&6; }
16310 else 17086 else
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5 17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
16312$as_echo_n "checking absolute name of <getopt.h>... " >&6; } 17088$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
16313if test "${gl_cv_next_getopt_h+set}" = set; then : 17089if ${gl_cv_next_getopt_h+:} false; then :
16314 $as_echo_n "(cached) " >&6 17090 $as_echo_n "(cached) " >&6
16315else 17091else
16316 17092
@@ -16369,7 +17145,7 @@ $as_echo "$gl_cv_next_getopt_h" >&6; }
16369 for ac_header in getopt.h 17145 for ac_header in getopt.h
16370do : 17146do :
16371 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 17147 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
16372if test "x$ac_cv_header_getopt_h" = x""yes; then : 17148if test "x$ac_cv_header_getopt_h" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF 17149 cat >>confdefs.h <<_ACEOF
16374#define HAVE_GETOPT_H 1 17150#define HAVE_GETOPT_H 1
16375_ACEOF 17151_ACEOF
@@ -16386,7 +17162,7 @@ done
16386 for ac_func in getopt_long_only 17162 for ac_func in getopt_long_only
16387do : 17163do :
16388 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 17164 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
16389if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 17165if test "x$ac_cv_func_getopt_long_only" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF 17166 cat >>confdefs.h <<_ACEOF
16391#define HAVE_GETOPT_LONG_ONLY 1 17167#define HAVE_GETOPT_LONG_ONLY 1
16392_ACEOF 17168_ACEOF
@@ -16401,7 +17177,7 @@ done
16401 if test -z "$gl_replace_getopt"; then 17177 if test -z "$gl_replace_getopt"; then
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
16403$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } 17179$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
16404if test "${gl_cv_func_getopt_posix+set}" = set; then : 17180if ${gl_cv_func_getopt_posix+:} false; then :
16405 $as_echo_n "(cached) " >&6 17181 $as_echo_n "(cached) " >&6
16406else 17182else
16407 17183
@@ -16559,7 +17335,7 @@ $as_echo "$gl_cv_func_getopt_posix" >&6; }
16559 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then 17335 if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
16561$as_echo_n "checking for working GNU getopt function... " >&6; } 17337$as_echo_n "checking for working GNU getopt function... " >&6; }
16562if test "${gl_cv_func_getopt_gnu+set}" = set; then : 17338if ${gl_cv_func_getopt_gnu+:} false; then :
16563 $as_echo_n "(cached) " >&6 17339 $as_echo_n "(cached) " >&6
16564else 17340else
16565 # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the 17341 # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
@@ -16590,11 +17366,99 @@ else
16590 #include <stddef.h> 17366 #include <stddef.h>
16591 #include <string.h> 17367 #include <string.h>
16592 17368
17369#include <stdlib.h>
17370#if defined __MACH__ && defined __APPLE__
17371/* Avoid a crash on MacOS X. */
17372#include <mach/mach.h>
17373#include <mach/mach_error.h>
17374#include <mach/thread_status.h>
17375#include <mach/exception.h>
17376#include <mach/task.h>
17377#include <pthread.h>
17378/* The exception port on which our thread listens. */
17379static mach_port_t our_exception_port;
17380/* The main function of the thread listening for exceptions of type
17381 EXC_BAD_ACCESS. */
17382static void *
17383mach_exception_thread (void *arg)
17384{
17385 /* Buffer for a message to be received. */
17386 struct {
17387 mach_msg_header_t head;
17388 mach_msg_body_t msgh_body;
17389 char data[1024];
17390 } msg;
17391 mach_msg_return_t retval;
17392 /* Wait for a message on the exception port. */
17393 retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
17394 our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
17395 if (retval != MACH_MSG_SUCCESS)
17396 abort ();
17397 exit (1);
17398}
17399static void
17400nocrash_init (void)
17401{
17402 mach_port_t self = mach_task_self ();
17403 /* Allocate a port on which the thread shall listen for exceptions. */
17404 if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
17405 == KERN_SUCCESS) {
17406 /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
17407 if (mach_port_insert_right (self, our_exception_port, our_exception_port,
17408 MACH_MSG_TYPE_MAKE_SEND)
17409 == KERN_SUCCESS) {
17410 /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
17411 for us. */
17412 exception_mask_t mask = EXC_MASK_BAD_ACCESS;
17413 /* Create the thread listening on the exception port. */
17414 pthread_attr_t attr;
17415 pthread_t thread;
17416 if (pthread_attr_init (&attr) == 0
17417 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
17418 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
17419 pthread_attr_destroy (&attr);
17420 /* Replace the exception port info for these exceptions with our own.
17421 Note that we replace the exception port for the entire task, not only
17422 for a particular thread. This has the effect that when our exception
17423 port gets the message, the thread specific exception port has already
17424 been asked, and we don't need to bother about it.
17425 See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
17426 task_set_exception_ports (self, mask, our_exception_port,
17427 EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
17428 }
17429 }
17430 }
17431}
17432#else
17433/* Avoid a crash on POSIX systems. */
17434#include <signal.h>
17435/* A POSIX signal handler. */
17436static void
17437exception_handler (int sig)
17438{
17439 exit (1);
17440}
17441static void
17442nocrash_init (void)
17443{
17444#ifdef SIGSEGV
17445 signal (SIGSEGV, exception_handler);
17446#endif
17447#ifdef SIGBUS
17448 signal (SIGBUS, exception_handler);
17449#endif
17450}
17451#endif
17452
17453
16593int 17454int
16594main () 17455main ()
16595{ 17456{
16596 17457
16597 int result = 0; 17458 int result = 0;
17459
17460 nocrash_init();
17461
16598 /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, 17462 /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
16599 and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, 17463 and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
16600 OSF/1 5.1, Solaris 10. */ 17464 OSF/1 5.1, Solaris 10. */
@@ -16696,7 +17560,7 @@ $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
16696 fi 17560 fi
16697 17561
16698ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" 17562ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
16699if test "x$ac_cv_have_decl_getenv" = x""yes; then : 17563if test "x$ac_cv_have_decl_getenv" = xyes; then :
16700 ac_have_decl=1 17564 ac_have_decl=1
16701else 17565else
16702 ac_have_decl=0 17566 ac_have_decl=0
@@ -16709,7 +17573,7 @@ _ACEOF
16709 17573
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
16711$as_echo_n "checking for unsigned long long int... " >&6; } 17575$as_echo_n "checking for unsigned long long int... " >&6; }
16712if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : 17576if ${ac_cv_type_unsigned_long_long_int+:} false; then :
16713 $as_echo_n "(cached) " >&6 17577 $as_echo_n "(cached) " >&6
16714else 17578else
16715 ac_cv_type_unsigned_long_long_int=yes 17579 ac_cv_type_unsigned_long_long_int=yes
@@ -16767,7 +17631,7 @@ $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
16767 17631
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
16769$as_echo_n "checking for long long int... " >&6; } 17633$as_echo_n "checking for long long int... " >&6; }
16770if test "${ac_cv_type_long_long_int+set}" = set; then : 17634if ${ac_cv_type_long_long_int+:} false; then :
16771 $as_echo_n "(cached) " >&6 17635 $as_echo_n "(cached) " >&6
16772else 17636else
16773 ac_cv_type_long_long_int=yes 17637 ac_cv_type_long_long_int=yes
@@ -16922,7 +17786,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16922 else 17786 else
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5 17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
16924$as_echo_n "checking absolute name of <stdint.h>... " >&6; } 17788$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
16925if test "${gl_cv_next_stdint_h+set}" = set; then : 17789if ${gl_cv_next_stdint_h+:} false; then :
16926 $as_echo_n "(cached) " >&6 17790 $as_echo_n "(cached) " >&6
16927else 17791else
16928 17792
@@ -16978,7 +17842,7 @@ $as_echo "$gl_cv_next_stdint_h" >&6; }
16978 if test $ac_cv_header_stdint_h = yes; then 17842 if test $ac_cv_header_stdint_h = yes; then
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 17843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
16980$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } 17844$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
16981if test "${gl_cv_header_working_stdint_h+set}" = set; then : 17845if ${gl_cv_header_working_stdint_h+:} false; then :
16982 $as_echo_n "(cached) " >&6 17846 $as_echo_n "(cached) " >&6
16983else 17847else
16984 gl_cv_header_working_stdint_h=no 17848 gl_cv_header_working_stdint_h=no
@@ -17251,8 +18115,7 @@ $as_echo "$gl_cv_header_working_stdint_h" >&6; }
17251do : 18115do :
17252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18116 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17253ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 18117ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17254eval as_val=\$$as_ac_Header 18118if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17255 if test "x$as_val" = x""yes; then :
17256 cat >>confdefs.h <<_ACEOF 18119 cat >>confdefs.h <<_ACEOF
17257#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18120#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17258_ACEOF 18121_ACEOF
@@ -17282,7 +18145,7 @@ done
17282 for gltype in ptrdiff_t size_t ; do 18145 for gltype in ptrdiff_t size_t ; do
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
17284$as_echo_n "checking for bit size of $gltype... " >&6; } 18147$as_echo_n "checking for bit size of $gltype... " >&6; }
17285if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : 18148if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
17286 $as_echo_n "(cached) " >&6 18149 $as_echo_n "(cached) " >&6
17287else 18150else
17288 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 18151 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
@@ -17327,7 +18190,7 @@ _ACEOF
17327 for gltype in sig_atomic_t wchar_t wint_t ; do 18190 for gltype in sig_atomic_t wchar_t wint_t ; do
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
17329$as_echo_n "checking for bit size of $gltype... " >&6; } 18192$as_echo_n "checking for bit size of $gltype... " >&6; }
17330if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : 18193if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
17331 $as_echo_n "(cached) " >&6 18194 $as_echo_n "(cached) " >&6
17332else 18195else
17333 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 18196 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
@@ -17371,7 +18234,7 @@ _ACEOF
17371 for gltype in sig_atomic_t wchar_t wint_t ; do 18234 for gltype in sig_atomic_t wchar_t wint_t ; do
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
17373$as_echo_n "checking whether $gltype is signed... " >&6; } 18236$as_echo_n "checking whether $gltype is signed... " >&6; }
17374if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then : 18237if eval \${gl_cv_type_${gltype}_signed+:} false; then :
17375 $as_echo_n "(cached) " >&6 18238 $as_echo_n "(cached) " >&6
17376else 18239else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17430,7 +18293,7 @@ _ACEOF
17430 for gltype in ptrdiff_t size_t ; do 18293 for gltype in ptrdiff_t size_t ; do
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
17432$as_echo_n "checking for $gltype integer literal suffix... " >&6; } 18295$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
17433if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : 18296if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
17434 $as_echo_n "(cached) " >&6 18297 $as_echo_n "(cached) " >&6
17435else 18298else
17436 eval gl_cv_type_${gltype}_suffix=no 18299 eval gl_cv_type_${gltype}_suffix=no
@@ -17502,7 +18365,7 @@ _ACEOF
17502 for gltype in sig_atomic_t wchar_t wint_t ; do 18365 for gltype in sig_atomic_t wchar_t wint_t ; do
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
17504$as_echo_n "checking for $gltype integer literal suffix... " >&6; } 18367$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
17505if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : 18368if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
17506 $as_echo_n "(cached) " >&6 18369 $as_echo_n "(cached) " >&6
17507else 18370else
17508 eval gl_cv_type_${gltype}_suffix=no 18371 eval gl_cv_type_${gltype}_suffix=no
@@ -17618,7 +18481,7 @@ fi
17618 else 18481 else
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5 18482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
17620$as_echo_n "checking absolute name of <inttypes.h>... " >&6; } 18483$as_echo_n "checking absolute name of <inttypes.h>... " >&6; }
17621if test "${gl_cv_next_inttypes_h+set}" = set; then : 18484if ${gl_cv_next_inttypes_h+:} false; then :
17622 $as_echo_n "(cached) " >&6 18485 $as_echo_n "(cached) " >&6
17623else 18486else
17624 18487
@@ -17713,7 +18576,7 @@ $as_echo "#define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h
17713 18576
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
17715$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 18578$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
17716if test "${gl_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : 18579if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
17717 $as_echo_n "(cached) " >&6 18580 $as_echo_n "(cached) " >&6
17718else 18581else
17719 rm -f conftest.sym conftest.file 18582 rm -f conftest.sym conftest.file
@@ -17788,13 +18651,58 @@ _ACEOF
17788 18651
17789 18652
17790 18653
18654<<<<<<< TREE
18655=======
18656 GNULIB_PTHREAD_SIGMASK=0;
18657 GNULIB_SIGNAL_H_SIGPIPE=0;
18658 GNULIB_SIGPROCMASK=0;
18659 GNULIB_SIGACTION=0;
18660 HAVE_POSIX_SIGNALBLOCKING=1;
18661 HAVE_PTHREAD_SIGMASK=1;
18662 HAVE_SIGSET_T=1;
18663 HAVE_SIGINFO_T=1;
18664 HAVE_SIGACTION=1;
18665 HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
18666
18667 HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
18668
18669 HAVE_SIGHANDLER_T=1;
18670 REPLACE_PTHREAD_SIGMASK=0;
18671
18672
18673
18674
18675 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
18676 #include <signal.h>
18677 /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
18678 #include <sys/types.h>
18679
18680"
18681if test "x$ac_cv_type_sigset_t" = xyes; then :
18682
18683cat >>confdefs.h <<_ACEOF
18684#define HAVE_SIGSET_T 1
18685_ACEOF
18686
18687gl_cv_type_sigset_t=yes
18688else
18689 gl_cv_type_sigset_t=no
18690fi
18691
18692 if test $gl_cv_type_sigset_t != yes; then
18693 HAVE_SIGSET_T=0
18694 fi
18695
18696
18697
18698>>>>>>> MERGE-SOURCE
17791 18699
17792 18700
17793 if test $ac_cv_header_sys_socket_h = no; then 18701 if test $ac_cv_header_sys_socket_h = no; then
17794 for ac_header in ws2tcpip.h 18702 for ac_header in ws2tcpip.h
17795do : 18703do :
17796 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 18704 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default"
17797if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 18705if test "x$ac_cv_header_ws2tcpip_h" = xyes; then :
17798 cat >>confdefs.h <<_ACEOF 18706 cat >>confdefs.h <<_ACEOF
17799#define HAVE_WS2TCPIP_H 1 18707#define HAVE_WS2TCPIP_H 1
17800_ACEOF 18708_ACEOF
@@ -17807,7 +18715,7 @@ done
17807 18715
17808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 18716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
17809$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 18717$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
17810if test "${ac_cv_header_stdbool_h+set}" = set; then : 18718if ${ac_cv_header_stdbool_h+:} false; then :
17811 $as_echo_n "(cached) " >&6 18719 $as_echo_n "(cached) " >&6
17812else 18720else
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17882,7 +18790,7 @@ fi
17882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 18790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
17883$as_echo "$ac_cv_header_stdbool_h" >&6; } 18791$as_echo "$ac_cv_header_stdbool_h" >&6; }
17884 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 18792 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
17885if test "x$ac_cv_type__Bool" = x""yes; then : 18793if test "x$ac_cv_type__Bool" = xyes; then :
17886 18794
17887cat >>confdefs.h <<_ACEOF 18795cat >>confdefs.h <<_ACEOF
17888#define HAVE__BOOL 1 18796#define HAVE__BOOL 1
@@ -17899,7 +18807,7 @@ fi
17899 18807
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
17901$as_echo_n "checking for wchar_t... " >&6; } 18809$as_echo_n "checking for wchar_t... " >&6; }
17902if test "${gt_cv_c_wchar_t+set}" = set; then : 18810if ${gt_cv_c_wchar_t+:} false; then :
17903 $as_echo_n "(cached) " >&6 18811 $as_echo_n "(cached) " >&6
17904else 18812else
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18031,7 +18939,7 @@ $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
18031 18939
18032 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 18940 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
18033" 18941"
18034if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 18942if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
18035 18943
18036$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 18944$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
18037 18945
@@ -18040,8 +18948,26 @@ fi
18040 18948
18041 18949
18042 18950
18951<<<<<<< TREE
18952=======
18953
18954
18955ac_fn_c_check_decl "$LINENO" "strtoimax" "ac_cv_have_decl_strtoimax" "$ac_includes_default"
18956if test "x$ac_cv_have_decl_strtoimax" = xyes; then :
18957 ac_have_decl=1
18958else
18959 ac_have_decl=0
18960fi
18961
18962cat >>confdefs.h <<_ACEOF
18963#define HAVE_DECL_STRTOIMAX $ac_have_decl
18964_ACEOF
18965
18966
18967
18968>>>>>>> MERGE-SOURCE
18043ac_fn_c_check_decl "$LINENO" "strtoumax" "ac_cv_have_decl_strtoumax" "$ac_includes_default" 18969ac_fn_c_check_decl "$LINENO" "strtoumax" "ac_cv_have_decl_strtoumax" "$ac_includes_default"
18044if test "x$ac_cv_have_decl_strtoumax" = x""yes; then : 18970if test "x$ac_cv_have_decl_strtoumax" = xyes; then :
18045 ac_have_decl=1 18971 ac_have_decl=1
18046else 18972else
18047 ac_have_decl=0 18973 ac_have_decl=0
@@ -18055,7 +18981,7 @@ _ACEOF
18055 18981
18056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 18982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
18057$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } 18983$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
18058if test "${ac_cv_header_stat_broken+set}" = set; then : 18984if ${ac_cv_header_stat_broken+:} false; then :
18059 $as_echo_n "(cached) " >&6 18985 $as_echo_n "(cached) " >&6
18060else 18986else
18061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18099,7 +19025,7 @@ fi
18099 19025
18100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 19026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
18101$as_echo_n "checking for C/C++ restrict keyword... " >&6; } 19027$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
18102if test "${ac_cv_c_restrict+set}" = set; then : 19028if ${ac_cv_c_restrict+:} false; then :
18103 $as_echo_n "(cached) " >&6 19029 $as_echo_n "(cached) " >&6
18104else 19030else
18105 ac_cv_c_restrict=no 19031 ac_cv_c_restrict=no
@@ -18149,7 +19075,7 @@ _ACEOF
18149 19075
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5 19076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
18151$as_echo_n "checking for struct timespec in <time.h>... " >&6; } 19077$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
18152if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then : 19078if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
18153 $as_echo_n "(cached) " >&6 19079 $as_echo_n "(cached) " >&6
18154else 19080else
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18182,7 +19108,7 @@ $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
18182 else 19108 else
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5 19109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
18184$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; } 19110$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
18185if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then : 19111if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
18186 $as_echo_n "(cached) " >&6 19112 $as_echo_n "(cached) " >&6
18187else 19113else
18188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18211,7 +19137,7 @@ $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
18211 else 19137 else
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5 19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
18213$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; } 19139$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
18214if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then : 19140if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
18215 $as_echo_n "(cached) " >&6 19141 $as_echo_n "(cached) " >&6
18216else 19142else
18217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -18260,7 +19186,7 @@ $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
18260 else 19186 else
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5 19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
18262$as_echo_n "checking absolute name of <time.h>... " >&6; } 19188$as_echo_n "checking absolute name of <time.h>... " >&6; }
18263if test "${gl_cv_next_time_h+set}" = set; then : 19189if ${gl_cv_next_time_h+:} false; then :
18264 $as_echo_n "(cached) " >&6 19190 $as_echo_n "(cached) " >&6
18265else 19191else
18266 19192
@@ -18303,7 +19229,7 @@ $as_echo "$gl_cv_next_time_h" >&6; }
18303 19229
18304 19230
18305ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default" 19231ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default"
18306if test "x$ac_cv_have_decl_localtime_r" = x""yes; then : 19232if test "x$ac_cv_have_decl_localtime_r" = xyes; then :
18307 ac_have_decl=1 19233 ac_have_decl=1
18308else 19234else
18309 ac_have_decl=0 19235 ac_have_decl=0
@@ -18348,7 +19274,7 @@ fi
18348 if test $ac_cv_working_alloca_h = yes; then 19274 if test $ac_cv_working_alloca_h = yes; then
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
18350$as_echo_n "checking for alloca as a compiler built-in... " >&6; } 19276$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
18351if test "${gl_cv_rpl_alloca+set}" = set; then : 19277if ${gl_cv_rpl_alloca+:} false; then :
18352 $as_echo_n "(cached) " >&6 19278 $as_echo_n "(cached) " >&6
18353else 19279else
18354 19280
@@ -18424,7 +19350,7 @@ $as_echo "#define HAVE_DUP2 1" >>confdefs.h
18424 if test $HAVE_DUP2 = 1; then 19350 if test $HAVE_DUP2 = 1; then
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
18426$as_echo_n "checking whether dup2 works... " >&6; } 19352$as_echo_n "checking whether dup2 works... " >&6; }
18427if test "${gl_cv_func_dup2_works+set}" = set; then : 19353if ${gl_cv_func_dup2_works+:} false; then :
18428 $as_echo_n "(cached) " >&6 19354 $as_echo_n "(cached) " >&6
18429else 19355else
18430 if test "$cross_compiling" = yes; then : 19356 if test "$cross_compiling" = yes; then :
@@ -18490,26 +19416,23 @@ fi
18490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 19416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
18491$as_echo "$gl_cv_func_dup2_works" >&6; } 19417$as_echo "$gl_cv_func_dup2_works" >&6; }
18492 if test "$gl_cv_func_dup2_works" = no; then 19418 if test "$gl_cv_func_dup2_works" = no; then
18493 19419 REPLACE_DUP2=1
18494 19420 fi
18495
18496 if test $ac_cv_func_dup2 = yes; then
18497 REPLACE_DUP2=1
18498 fi 19421 fi
18499 19422
18500 19423
19424if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
18501 19425
18502 19426
18503 19427
18504 19428
18505 19429
18506 19430
18507 gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
18508 19431
18509 19432
18510 fi 19433 gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
18511 fi
18512 19434
19435fi
18513 19436
18514 19437
18515 19438
@@ -18536,7 +19459,7 @@ gl_save_LIBS=$LIBS
18536# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7. 19459# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
18537HAVE_GETLOADAVG=1 19460HAVE_GETLOADAVG=1
18538ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 19461ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
18539if test "x$ac_cv_func_getloadavg" = x""yes; then : 19462if test "x$ac_cv_func_getloadavg" = xyes; then :
18540 19463
18541else 19464else
18542 gl_func_getloadavg_done=no 19465 gl_func_getloadavg_done=no
@@ -18549,7 +19472,7 @@ else
18549 if test $gl_func_getloadavg_done = no; then 19472 if test $gl_func_getloadavg_done = no; then
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
18551$as_echo_n "checking for elf_begin in -lelf... " >&6; } 19474$as_echo_n "checking for elf_begin in -lelf... " >&6; }
18552if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 19475if ${ac_cv_lib_elf_elf_begin+:} false; then :
18553 $as_echo_n "(cached) " >&6 19476 $as_echo_n "(cached) " >&6
18554else 19477else
18555 ac_check_lib_save_LIBS=$LIBS 19478 ac_check_lib_save_LIBS=$LIBS
@@ -18583,13 +19506,13 @@ LIBS=$ac_check_lib_save_LIBS
18583fi 19506fi
18584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 19507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
18585$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 19508$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
18586if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 19509if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
18587 LIBS="-lelf $LIBS" 19510 LIBS="-lelf $LIBS"
18588fi 19511fi
18589 19512
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
18591$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 19514$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
18592if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 19515if ${ac_cv_lib_kvm_kvm_open+:} false; then :
18593 $as_echo_n "(cached) " >&6 19516 $as_echo_n "(cached) " >&6
18594else 19517else
18595 ac_check_lib_save_LIBS=$LIBS 19518 ac_check_lib_save_LIBS=$LIBS
@@ -18623,14 +19546,14 @@ LIBS=$ac_check_lib_save_LIBS
18623fi 19546fi
18624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 19547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
18625$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 19548$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
18626if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 19549if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
18627 LIBS="-lkvm $LIBS" 19550 LIBS="-lkvm $LIBS"
18628fi 19551fi
18629 19552
18630 # Check for the 4.4BSD definition of getloadavg. 19553 # Check for the 4.4BSD definition of getloadavg.
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
18632$as_echo_n "checking for getloadavg in -lutil... " >&6; } 19555$as_echo_n "checking for getloadavg in -lutil... " >&6; }
18633if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 19556if ${ac_cv_lib_util_getloadavg+:} false; then :
18634 $as_echo_n "(cached) " >&6 19557 $as_echo_n "(cached) " >&6
18635else 19558else
18636 ac_check_lib_save_LIBS=$LIBS 19559 ac_check_lib_save_LIBS=$LIBS
@@ -18664,7 +19587,7 @@ LIBS=$ac_check_lib_save_LIBS
18664fi 19587fi
18665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 19588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
18666$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 19589$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
18667if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 19590if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
18668 LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes 19591 LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes
18669fi 19592fi
18670 19593
@@ -18677,7 +19600,7 @@ fi
18677 LIBS="-L/usr/local/lib $LIBS" 19600 LIBS="-L/usr/local/lib $LIBS"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
18679$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 19602$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
18680if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 19603if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
18681 $as_echo_n "(cached) " >&6 19604 $as_echo_n "(cached) " >&6
18682else 19605else
18683 ac_check_lib_save_LIBS=$LIBS 19606 ac_check_lib_save_LIBS=$LIBS
@@ -18711,7 +19634,7 @@ LIBS=$ac_check_lib_save_LIBS
18711fi 19634fi
18712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 19635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
18713$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 19636$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
18714if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 19637if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
18715 LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes 19638 LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes
18716else 19639else
18717 LIBS=$gl_getloadavg_LIBS 19640 LIBS=$gl_getloadavg_LIBS
@@ -18726,7 +19649,7 @@ fi
18726 # Solaris has libkstat which does not require root. 19649 # Solaris has libkstat which does not require root.
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
18728$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 19651$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
18729if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 19652if ${ac_cv_lib_kstat_kstat_open+:} false; then :
18730 $as_echo_n "(cached) " >&6 19653 $as_echo_n "(cached) " >&6
18731else 19654else
18732 ac_check_lib_save_LIBS=$LIBS 19655 ac_check_lib_save_LIBS=$LIBS
@@ -18760,7 +19683,7 @@ LIBS=$ac_check_lib_save_LIBS
18760fi 19683fi
18761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 19684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
18762$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 19685$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
18763if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 19686if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
18764 cat >>confdefs.h <<_ACEOF 19687 cat >>confdefs.h <<_ACEOF
18765#define HAVE_LIBKSTAT 1 19688#define HAVE_LIBKSTAT 1
18766_ACEOF 19689_ACEOF
@@ -18775,7 +19698,7 @@ fi
18775 if test $gl_func_getloadavg_done = no; then 19698 if test $gl_func_getloadavg_done = no; then
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5 19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
18777$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; } 19700$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; }
18778if test "${ac_cv_lib_perfstat_perfstat_cpu_total+set}" = set; then : 19701if ${ac_cv_lib_perfstat_perfstat_cpu_total+:} false; then :
18779 $as_echo_n "(cached) " >&6 19702 $as_echo_n "(cached) " >&6
18780else 19703else
18781 ac_check_lib_save_LIBS=$LIBS 19704 ac_check_lib_save_LIBS=$LIBS
@@ -18809,7 +19732,7 @@ LIBS=$ac_check_lib_save_LIBS
18809fi 19732fi
18810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5 19733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5
18811$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; } 19734$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; }
18812if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = x""yes; then : 19735if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = xyes; then :
18813 cat >>confdefs.h <<_ACEOF 19736 cat >>confdefs.h <<_ACEOF
18814#define HAVE_LIBPERFSTAT 1 19737#define HAVE_LIBPERFSTAT 1
18815_ACEOF 19738_ACEOF
@@ -18823,14 +19746,14 @@ fi
18823 19746
18824 if test $gl_func_getloadavg_done = no; then 19747 if test $gl_func_getloadavg_done = no; then
18825 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 19748 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
18826if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 19749if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
18827 gl_func_getloadavg_done=yes 19750 gl_func_getloadavg_done=yes
18828 19751
18829$as_echo "#define DGUX 1" >>confdefs.h 19752$as_echo "#define DGUX 1" >>confdefs.h
18830 19753
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 19754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
18832$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 19755$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
18833if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 19756if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
18834 $as_echo_n "(cached) " >&6 19757 $as_echo_n "(cached) " >&6
18835else 19758else
18836 ac_check_lib_save_LIBS=$LIBS 19759 ac_check_lib_save_LIBS=$LIBS
@@ -18864,7 +19787,7 @@ LIBS=$ac_check_lib_save_LIBS
18864fi 19787fi
18865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 19788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
18866$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 19789$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
18867if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 19790if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
18868 cat >>confdefs.h <<_ACEOF 19791 cat >>confdefs.h <<_ACEOF
18869#define HAVE_LIBDGC 1 19792#define HAVE_LIBDGC 1
18870_ACEOF 19793_ACEOF
@@ -18894,7 +19817,7 @@ LIBS=$gl_save_LIBS
18894for ac_header in sys/loadavg.h 19817for ac_header in sys/loadavg.h
18895do : 19818do :
18896 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default" 19819 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
18897if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then : 19820if test "x$ac_cv_header_sys_loadavg_h" = xyes; then :
18898 cat >>confdefs.h <<_ACEOF 19821 cat >>confdefs.h <<_ACEOF
18899#define HAVE_SYS_LOADAVG_H 1 19822#define HAVE_SYS_LOADAVG_H 1
18900_ACEOF 19823_ACEOF
@@ -18913,7 +19836,7 @@ ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE
18913 #endif 19836 #endif
18914 #include <stdlib.h> 19837 #include <stdlib.h>
18915" 19838"
18916if test "x$ac_cv_have_decl_getloadavg" = x""yes; then : 19839if test "x$ac_cv_have_decl_getloadavg" = xyes; then :
18917 19840
18918else 19841else
18919 HAVE_DECL_GETLOADAVG=0 19842 HAVE_DECL_GETLOADAVG=0
@@ -18939,7 +19862,7 @@ if test $gl_func_getloadavg_done = no; then
18939 for ac_func in pstat_getdynamic 19862 for ac_func in pstat_getdynamic
18940do : 19863do :
18941 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 19864 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
18942if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 19865if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
18943 cat >>confdefs.h <<_ACEOF 19866 cat >>confdefs.h <<_ACEOF
18944#define HAVE_PSTAT_GETDYNAMIC 1 19867#define HAVE_PSTAT_GETDYNAMIC 1
18945_ACEOF 19868_ACEOF
@@ -18962,7 +19885,7 @@ fi
18962 19885
18963if test $gl_func_getloadavg_done = no; then 19886if test $gl_func_getloadavg_done = no; then
18964 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 19887 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
18965if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 19888if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
18966 gl_func_getloadavg_done=yes 19889 gl_func_getloadavg_done=yes
18967 19890
18968$as_echo "#define UMAX 1" >>confdefs.h 19891$as_echo "#define UMAX 1" >>confdefs.h
@@ -18977,7 +19900,7 @@ fi
18977 19900
18978if test $gl_func_getloadavg_done = no; then 19901if test $gl_func_getloadavg_done = no; then
18979 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 19902 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
18980if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 19903if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
18981 gl_func_getloadavg_done=yes; $as_echo "#define UMAX 1" >>confdefs.h 19904 gl_func_getloadavg_done=yes; $as_echo "#define UMAX 1" >>confdefs.h
18982 19905
18983fi 19906fi
@@ -18989,7 +19912,7 @@ if test $gl_func_getloadavg_done = no; then
18989 for ac_header in mach/mach.h 19912 for ac_header in mach/mach.h
18990do : 19913do :
18991 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 19914 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
18992if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 19915if test "x$ac_cv_header_mach_mach_h" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF 19916 cat >>confdefs.h <<_ACEOF
18994#define HAVE_MACH_MACH_H 1 19917#define HAVE_MACH_MACH_H 1
18995_ACEOF 19918_ACEOF
@@ -19003,13 +19926,13 @@ fi
19003for ac_header in nlist.h 19926for ac_header in nlist.h
19004do : 19927do :
19005 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 19928 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
19006if test "x$ac_cv_header_nlist_h" = x""yes; then : 19929if test "x$ac_cv_header_nlist_h" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF 19930 cat >>confdefs.h <<_ACEOF
19008#define HAVE_NLIST_H 1 19931#define HAVE_NLIST_H 1
19009_ACEOF 19932_ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 19933 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
19011" 19934"
19012if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 19935if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
19013 19936
19014cat >>confdefs.h <<_ACEOF 19937cat >>confdefs.h <<_ACEOF
19015#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 19938#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
@@ -19194,7 +20117,7 @@ fi
19194 fi 20117 fi
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
19196$as_echo_n "checking for working mktime... " >&6; } 20119$as_echo_n "checking for working mktime... " >&6; }
19197if test "${gl_cv_func_working_mktime+set}" = set; then : 20120if ${gl_cv_func_working_mktime+:} false; then :
19198 $as_echo_n "(cached) " >&6 20121 $as_echo_n "(cached) " >&6
19199else 20122else
19200 if test "$cross_compiling" = yes; then : 20123 if test "$cross_compiling" = yes; then :
@@ -19443,13 +20366,250 @@ fi
19443 20366
19444 20367
19445 20368
20369<<<<<<< TREE
20370=======
20371 LIB_PTHREAD_SIGMASK=
20372
20373
20374 if test $ac_cv_func_pthread_sigmask = yes; then
20375 :
20376 else
20377 HAVE_PTHREAD_SIGMASK=0
20378 REPLACE_PTHREAD_SIGMASK=1
20379 fi
20380
20381
20382
20383
20384 if test $HAVE_PTHREAD_SIGMASK = 1; then
20385
20386
20387 if test -z "$LIB_PTHREAD_SIGMASK"; then
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask works without -lpthread" >&5
20389$as_echo_n "checking whether pthread_sigmask works without -lpthread... " >&6; }
20390if ${gl_cv_func_pthread_sigmask_in_libc_works+:} false; then :
20391 $as_echo_n "(cached) " >&6
20392else
20393
20394 if test "$cross_compiling" = yes; then :
20395
20396 case "$host_os" in
20397 freebsd* | hpux* | solaris | solaris2.[2-9]*)
20398 gl_cv_func_pthread_sigmask_in_libc_works="guessing no";;
20399 *)
20400 gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";;
20401 esac
20402
20403else
20404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20405/* end confdefs.h. */
20406
20407#include <pthread.h>
20408#include <signal.h>
20409#include <stddef.h>
20410int main ()
20411{
20412 sigset_t set;
20413 sigemptyset (&set);
20414 return pthread_sigmask (1729, &set, NULL) != 0;
20415}
20416_ACEOF
20417if ac_fn_c_try_run "$LINENO"; then :
20418 gl_cv_func_pthread_sigmask_in_libc_works=no
20419else
20420 gl_cv_func_pthread_sigmask_in_libc_works=yes
20421fi
20422rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20423 conftest.$ac_objext conftest.beam conftest.$ac_ext
20424fi
20425
20426
20427fi
20428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_in_libc_works" >&5
20429$as_echo "$gl_cv_func_pthread_sigmask_in_libc_works" >&6; }
20430 case "$gl_cv_func_pthread_sigmask_in_libc_works" in
20431 *no)
20432 REPLACE_PTHREAD_SIGMASK=1
20433
20434$as_echo "#define PTHREAD_SIGMASK_INEFFECTIVE 1" >>confdefs.h
20435
20436 ;;
20437 esac
20438 fi
20439
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask returns error numbers" >&5
20441$as_echo_n "checking whether pthread_sigmask returns error numbers... " >&6; }
20442if ${gl_cv_func_pthread_sigmask_return_works+:} false; then :
20443 $as_echo_n "(cached) " >&6
20444else
20445
20446 gl_save_LIBS="$LIBS"
20447 LIBS="$LIBS $LIB_PTHREAD_SIGMASK"
20448 if test "$cross_compiling" = yes; then :
20449 case "$host_os" in
20450 cygwin*)
20451 gl_cv_func_pthread_sigmask_return_works="guessing no";;
20452 *)
20453 gl_cv_func_pthread_sigmask_return_works="guessing yes";;
20454 esac
20455
20456else
20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458/* end confdefs.h. */
20459
20460#include <pthread.h>
20461#include <signal.h>
20462#include <stddef.h>
20463int main ()
20464{
20465 sigset_t set;
20466 sigemptyset (&set);
20467 if (pthread_sigmask (1729, &set, NULL) == -1)
20468 return 1;
20469 return 0;
20470}
20471_ACEOF
20472if ac_fn_c_try_run "$LINENO"; then :
20473 gl_cv_func_pthread_sigmask_return_works=yes
20474else
20475 gl_cv_func_pthread_sigmask_return_works=no
20476fi
20477rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20478 conftest.$ac_objext conftest.beam conftest.$ac_ext
20479fi
20480
20481 LIBS="$gl_save_LIBS"
20482
20483fi
20484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_return_works" >&5
20485$as_echo "$gl_cv_func_pthread_sigmask_return_works" >&6; }
20486 case "$gl_cv_func_pthread_sigmask_return_works" in
20487 *no)
20488 REPLACE_PTHREAD_SIGMASK=1
20489
20490$as_echo "#define PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1" >>confdefs.h
20491
20492 ;;
20493 esac
20494
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_sigmask unblocks signals correctly" >&5
20496$as_echo_n "checking whether pthread_sigmask unblocks signals correctly... " >&6; }
20497if ${gl_cv_func_pthread_sigmask_unblock_works+:} false; then :
20498 $as_echo_n "(cached) " >&6
20499else
20500
20501 case "$host_os" in
20502 irix*)
20503 gl_cv_func_pthread_sigmask_unblock_works="guessing no";;
20504 *)
20505 gl_cv_func_pthread_sigmask_unblock_works="guessing yes";;
20506 esac
20507 gl_save_LIBS="$LIBS"
20508 LIBS="$LIBS $LIBMULTITHREAD"
20509 if test "$cross_compiling" = yes; then :
20510 :
20511else
20512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20513/* end confdefs.h. */
20514
20515#include <pthread.h>
20516#include <signal.h>
20517#include <stdio.h>
20518#include <stdlib.h>
20519#include <unistd.h>
20520static volatile int sigint_occurred;
20521static void
20522sigint_handler (int sig)
20523{
20524 sigint_occurred++;
20525}
20526int main ()
20527{
20528 sigset_t set;
20529 int pid = getpid ();
20530 char command[80];
20531 signal (SIGINT, sigint_handler);
20532 sigemptyset (&set);
20533 sigaddset (&set, SIGINT);
20534 if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0))
20535 return 1;
20536 sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
20537 if (!(system (command) == 0))
20538 return 2;
20539 sleep (2);
20540 if (!(sigint_occurred == 0))
20541 return 3;
20542 if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0))
20543 return 4;
20544 if (!(sigint_occurred == 1)) /* This fails on IRIX. */
20545 return 5;
20546 return 0;
20547}
20548_ACEOF
20549if ac_fn_c_try_run "$LINENO"; then :
20550 :
20551else
20552 gl_cv_func_pthread_sigmask_unblock_works=no
20553fi
20554rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20555 conftest.$ac_objext conftest.beam conftest.$ac_ext
20556fi
20557
20558 LIBS="$gl_save_LIBS"
20559
20560fi
20561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_sigmask_unblock_works" >&5
20562$as_echo "$gl_cv_func_pthread_sigmask_unblock_works" >&6; }
20563 case "$gl_cv_func_pthread_sigmask_unblock_works" in
20564 *no)
20565 REPLACE_PTHREAD_SIGMASK=1
20566
20567$as_echo "#define PTHREAD_SIGMASK_UNBLOCK_BUG 1" >>confdefs.h
20568
20569 ;;
20570 esac
20571 fi
20572
20573if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then
20574
20575
20576
20577
20578
20579
20580
20581
20582 gl_LIBOBJS="$gl_LIBOBJS pthread_sigmask.$ac_objext"
20583
20584
20585 if test $HAVE_PTHREAD_SIGMASK = 1; then
20586
20587$as_echo "#define HAVE_PTHREAD_SIGMASK 1" >>confdefs.h
20588
20589 fi
20590
20591fi
20592
20593
20594
20595
20596
20597 GNULIB_PTHREAD_SIGMASK=1
20598
20599
20600
20601
20602
20603
20604
20605>>>>>>> MERGE-SOURCE
19446 20606
19447 if test $ac_cv_func_readlink = no; then 20607 if test $ac_cv_func_readlink = no; then
19448 HAVE_READLINK=0 20608 HAVE_READLINK=0
19449 else 20609 else
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5 20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
19451$as_echo_n "checking whether readlink signature is correct... " >&6; } 20611$as_echo_n "checking whether readlink signature is correct... " >&6; }
19452if test "${gl_cv_decl_readlink_works+set}" = set; then : 20612if ${gl_cv_decl_readlink_works+:} false; then :
19453 $as_echo_n "(cached) " >&6 20613 $as_echo_n "(cached) " >&6
19454else 20614else
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -19476,7 +20636,7 @@ fi
19476$as_echo "$gl_cv_decl_readlink_works" >&6; } 20636$as_echo "$gl_cv_decl_readlink_works" >&6; }
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5 20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
19478$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; } 20638$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
19479if test "${gl_cv_func_readlink_works+set}" = set; then : 20639if ${gl_cv_func_readlink_works+:} false; then :
19480 $as_echo_n "(cached) " >&6 20640 $as_echo_n "(cached) " >&6
19481else 20641else
19482 # We have readlink, so assume ln -s works. 20642 # We have readlink, so assume ln -s works.
@@ -19547,6 +20707,95 @@ fi
19547 20707
19548 20708
19549 20709
20710<<<<<<< TREE
20711=======
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723 if test $gl_cv_have_include_next = yes; then
20724 gl_cv_next_signal_h='<'signal.h'>'
20725 else
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
20727$as_echo_n "checking absolute name of <signal.h>... " >&6; }
20728if ${gl_cv_next_signal_h+:} false; then :
20729 $as_echo_n "(cached) " >&6
20730else
20731
20732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20733/* end confdefs.h. */
20734#include <signal.h>
20735
20736_ACEOF
20737 case "$host_os" in
20738 aix*) gl_absname_cpp="$ac_cpp -C" ;;
20739 *) gl_absname_cpp="$ac_cpp" ;;
20740 esac
20741 gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20742 sed -n '\#/signal.h#{
20743 s#.*"\(.*/signal.h\)".*#\1#
20744 s#^/[^/]#//&#
20745 p
20746 q
20747 }'`'"'
20748
20749
20750fi
20751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
20752$as_echo "$gl_cv_next_signal_h" >&6; }
20753 fi
20754 NEXT_SIGNAL_H=$gl_cv_next_signal_h
20755
20756 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
20757 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20758 gl_next_as_first_directive='<'signal.h'>'
20759 else
20760 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20761 gl_next_as_first_directive=$gl_cv_next_signal_h
20762 fi
20763 NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
20764
20765
20766
20767
20768
20769# AIX declares sig_atomic_t to already include volatile, and C89 compilers
20770# then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
20771 ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
20772#include <signal.h>
20773
20774"
20775if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
20776
20777else
20778 HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
20779fi
20780
20781
20782
20783
20784
20785 ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
20786#include <signal.h>
20787
20788"
20789if test "x$ac_cv_type_sighandler_t" = xyes; then :
20790
20791else
20792 HAVE_SIGHANDLER_T=0
20793fi
20794
20795
20796
20797
20798>>>>>>> MERGE-SOURCE
19550 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " 20799 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
19551/* <sys/types.h> is not needed according to POSIX, but the 20800/* <sys/types.h> is not needed according to POSIX, but the
19552 <sys/socket.h> in i386-unknown-freebsd4.10 and 20801 <sys/socket.h> in i386-unknown-freebsd4.10 and
@@ -19559,12 +20808,12 @@ fi
19559#endif 20808#endif
19560 20809
19561" 20810"
19562if test "x$ac_cv_type_socklen_t" = x""yes; then : 20811if test "x$ac_cv_type_socklen_t" = xyes; then :
19563 20812
19564else 20813else
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
19566$as_echo_n "checking for socklen_t equivalent... " >&6; } 20815$as_echo_n "checking for socklen_t equivalent... " >&6; }
19567 if test "${gl_cv_socklen_t_equiv+set}" = set; then : 20816 if ${gl_cv_socklen_t_equiv+:} false; then :
19568 $as_echo_n "(cached) " >&6 20817 $as_echo_n "(cached) " >&6
19569else 20818else
19570 # Systems have either "struct sockaddr *" or 20819 # Systems have either "struct sockaddr *" or
@@ -19599,7 +20848,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599fi 20848fi
19600 20849
19601 if test "$gl_cv_socklen_t_equiv" = ""; then 20850 if test "$gl_cv_socklen_t_equiv" = ""; then
19602 as_fn_error "Cannot find a type to use in place of socklen_t" "$LINENO" 5 20851 as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
19603 fi 20852 fi
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 20853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5
19605$as_echo "$gl_cv_socklen_t_equiv" >&6; } 20854$as_echo "$gl_cv_socklen_t_equiv" >&6; }
@@ -19613,7 +20862,7 @@ fi
19613 20862
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 20863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
19615$as_echo_n "checking for ssize_t... " >&6; } 20864$as_echo_n "checking for ssize_t... " >&6; }
19616if test "${gt_cv_ssize_t+set}" = set; then : 20865if ${gt_cv_ssize_t+:} false; then :
19617 $as_echo_n "(cached) " >&6 20866 $as_echo_n "(cached) " >&6
19618else 20867else
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -19648,7 +20897,7 @@ $as_echo "#define ssize_t int" >>confdefs.h
19648 NEXT_STDARG_H='<stdarg.h>' 20897 NEXT_STDARG_H='<stdarg.h>'
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
19650$as_echo_n "checking for va_copy... " >&6; } 20899$as_echo_n "checking for va_copy... " >&6; }
19651 if test "${gl_cv_func_va_copy+set}" = set; then : 20900 if ${gl_cv_func_va_copy+:} false; then :
19652 $as_echo_n "(cached) " >&6 20901 $as_echo_n "(cached) " >&6
19653else 20902else
19654 20903
@@ -19708,7 +20957,7 @@ rm -f conftest*
19708 else 20957 else
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5 20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
19710$as_echo_n "checking absolute name of <stdarg.h>... " >&6; } 20959$as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
19711if test "${gl_cv_next_stdarg_h+set}" = set; then : 20960if ${gl_cv_next_stdarg_h+:} false; then :
19712 $as_echo_n "(cached) " >&6 20961 $as_echo_n "(cached) " >&6
19713else 20962else
19714 20963
@@ -19756,7 +21005,7 @@ $as_echo "$gl_cv_next_stdarg_h" >&6; }
19756 21005
19757 saved_as_echo_n="$as_echo_n" 21006 saved_as_echo_n="$as_echo_n"
19758 as_echo_n=':' 21007 as_echo_n=':'
19759 if test "${gl_cv_func___va_copy+set}" = set; then : 21008 if ${gl_cv_func___va_copy+:} false; then :
19760 $as_echo_n "(cached) " >&6 21009 $as_echo_n "(cached) " >&6
19761else 21010else
19762 21011
@@ -19845,7 +21094,7 @@ fi
19845 fi 21094 fi
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
19847$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } 21096$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
19848if test "${gl_cv_decl_null_works+set}" = set; then : 21097if ${gl_cv_decl_null_works+:} false; then :
19849 $as_echo_n "(cached) " >&6 21098 $as_echo_n "(cached) " >&6
19850else 21099else
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -19897,7 +21146,7 @@ fi
19897 else 21146 else
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5 21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
19899$as_echo_n "checking absolute name of <stddef.h>... " >&6; } 21148$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
19900if test "${gl_cv_next_stddef_h+set}" = set; then : 21149if ${gl_cv_next_stddef_h+:} false; then :
19901 $as_echo_n "(cached) " >&6 21150 $as_echo_n "(cached) " >&6
19902else 21151else
19903 21152
@@ -19956,7 +21205,7 @@ $as_echo "$gl_cv_next_stddef_h" >&6; }
19956 else 21205 else
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5 21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
19958$as_echo_n "checking absolute name of <stdio.h>... " >&6; } 21207$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
19959if test "${gl_cv_next_stdio_h+set}" = set; then : 21208if ${gl_cv_next_stdio_h+:} false; then :
19960 $as_echo_n "(cached) " >&6 21209 $as_echo_n "(cached) " >&6
19961else 21210else
19962 21211
@@ -20037,7 +21286,7 @@ $as_echo "$gl_cv_next_stdio_h" >&6; }
20037 else 21286 else
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5 21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
20039$as_echo_n "checking absolute name of <stdlib.h>... " >&6; } 21288$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
20040if test "${gl_cv_next_stdlib_h+set}" = set; then : 21289if ${gl_cv_next_stdlib_h+:} false; then :
20041 $as_echo_n "(cached) " >&6 21290 $as_echo_n "(cached) " >&6
20042else 21291else
20043 21292
@@ -20098,23 +21347,60 @@ $as_echo "#define my_strftime nstrftime" >>confdefs.h
20098 21347
20099 21348
20100 21349
20101 if test "$ac_cv_have_decl_strtoumax" != yes; then 21350<<<<<<< TREE
20102 HAVE_DECL_STRTOUMAX=0 21351=======
20103 21352
20104 for ac_func in strtoumax 21353 if test "$ac_cv_have_decl_strtoimax" != yes; then
20105do : 21354 HAVE_DECL_STRTOIMAX=0
20106 ac_fn_c_check_func "$LINENO" "strtoumax" "ac_cv_func_strtoumax" 21355 fi
20107if test "x$ac_cv_func_strtoumax" = x""yes; then : 21356
20108 cat >>confdefs.h <<_ACEOF 21357if test $ac_cv_func_strtoimax = no; then
20109#define HAVE_STRTOUMAX 1 21358
21359
21360
21361
21362
21363
21364
21365
21366 gl_LIBOBJS="$gl_LIBOBJS strtoimax.$ac_objext"
21367
21368
21369 ac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "$ac_includes_default"
21370if test "x$ac_cv_have_decl_strtoll" = xyes; then :
21371 ac_have_decl=1
21372else
21373 ac_have_decl=0
21374fi
21375
21376cat >>confdefs.h <<_ACEOF
21377#define HAVE_DECL_STRTOLL $ac_have_decl
20110_ACEOF 21378_ACEOF
20111 21379
21380
21381
20112fi 21382fi
20113done
20114 21383
21384
21385
21386
21387
21388 GNULIB_STRTOIMAX=1
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398>>>>>>> MERGE-SOURCE
21399 if test "$ac_cv_have_decl_strtoumax" != yes; then
21400 HAVE_DECL_STRTOUMAX=0
20115 fi 21401 fi
20116 21402
20117if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then 21403if test $ac_cv_func_strtoumax = no; then
20118 21404
20119 21405
20120 21406
@@ -20127,7 +21413,7 @@ if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no;
20127 21413
20128 21414
20129 ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default" 21415 ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default"
20130if test "x$ac_cv_have_decl_strtoull" = x""yes; then : 21416if test "x$ac_cv_have_decl_strtoull" = xyes; then :
20131 ac_have_decl=1 21417 ac_have_decl=1
20132else 21418else
20133 ac_have_decl=0 21419 ac_have_decl=0
@@ -20158,7 +21444,7 @@ fi
20158 else 21444 else
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5 21445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
20160$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; } 21446$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
20161if test "${gl_cv_func_symlink_works+set}" = set; then : 21447if ${gl_cv_func_symlink_works+:} false; then :
20162 $as_echo_n "(cached) " >&6 21448 $as_echo_n "(cached) " >&6
20163else 21449else
20164 if test "$cross_compiling" = yes; then : 21450 if test "$cross_compiling" = yes; then :
@@ -20246,7 +21532,7 @@ fi
20246 else 21532 else
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5 21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
20248$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; } 21534$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
20249if test "${gl_cv_next_sys_stat_h+set}" = set; then : 21535if ${gl_cv_next_sys_stat_h+:} false; then :
20250 $as_echo_n "(cached) " >&6 21536 $as_echo_n "(cached) " >&6
20251else 21537else
20252 21538
@@ -20296,7 +21582,7 @@ $as_echo "$gl_cv_next_sys_stat_h" >&6; }
20296 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h> 21582 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
20297 #include <sys/stat.h> 21583 #include <sys/stat.h>
20298" 21584"
20299if test "x$ac_cv_type_nlink_t" = x""yes; then : 21585if test "x$ac_cv_type_nlink_t" = xyes; then :
20300 21586
20301else 21587else
20302 21588
@@ -20327,7 +21613,7 @@ fi
20327 HAVE_LOCALTIME_R=1 21613 HAVE_LOCALTIME_R=1
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5 21614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
20329$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; } 21615$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
20330if test "${gl_cv_time_r_posix+set}" = set; then : 21616if ${gl_cv_time_r_posix+:} false; then :
20331 $as_echo_n "(cached) " >&6 21617 $as_echo_n "(cached) " >&6
20332else 21618else
20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -20413,7 +21699,7 @@ fi
20413 else 21699 else
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5 21700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
20415$as_echo_n "checking absolute name of <unistd.h>... " >&6; } 21701$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
20416if test "${gl_cv_next_unistd_h+set}" = set; then : 21702if ${gl_cv_next_unistd_h+:} false; then :
20417 $as_echo_n "(cached) " >&6 21703 $as_echo_n "(cached) " >&6
20418else 21704else
20419 21705
@@ -20487,6 +21773,53 @@ $as_echo "$gl_cv_next_unistd_h" >&6; }
20487 gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36=true 21773 gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36=true
20488 fi 21774 fi
20489 } 21775 }
21776<<<<<<< TREE
21777=======
21778 func_gl_gnulib_m4code_sigprocmask ()
21779 {
21780 if ! $gl_gnulib_enabled_sigprocmask; then
21781
21782
21783
21784 if test $gl_cv_type_sigset_t = yes; then
21785 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
21786if test "x$ac_cv_func_sigprocmask" = xyes; then :
21787 gl_cv_func_sigprocmask=1
21788fi
21789
21790 fi
21791 if test -z "$gl_cv_func_sigprocmask"; then
21792 HAVE_POSIX_SIGNALBLOCKING=0
21793 fi
21794
21795if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
21796
21797
21798
21799
21800
21801
21802
21803
21804 gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext"
21805
21806 :
21807fi
21808
21809
21810
21811
21812
21813 GNULIB_SIGPROCMASK=1
21814
21815
21816
21817
21818
21819 gl_gnulib_enabled_sigprocmask=true
21820 fi
21821 }
21822>>>>>>> MERGE-SOURCE
20490 func_gl_gnulib_m4code_stat () 21823 func_gl_gnulib_m4code_stat ()
20491 { 21824 {
20492 if ! $gl_gnulib_enabled_stat; then 21825 if ! $gl_gnulib_enabled_stat; then
@@ -20495,7 +21828,7 @@ $as_echo "$gl_cv_next_unistd_h" >&6; }
20495 21828
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 21829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
20497$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; } 21830$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
20498if test "${gl_cv_func_stat_dir_slash+set}" = set; then : 21831if ${gl_cv_func_stat_dir_slash+:} false; then :
20499 $as_echo_n "(cached) " >&6 21832 $as_echo_n "(cached) " >&6
20500else 21833else
20501 if test "$cross_compiling" = yes; then : 21834 if test "$cross_compiling" = yes; then :
@@ -20530,7 +21863,7 @@ fi
20530$as_echo "$gl_cv_func_stat_dir_slash" >&6; } 21863$as_echo "$gl_cv_func_stat_dir_slash" >&6; }
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 21864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
20532$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } 21865$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
20533if test "${gl_cv_func_stat_file_slash+set}" = set; then : 21866if ${gl_cv_func_stat_file_slash+:} false; then :
20534 $as_echo_n "(cached) " >&6 21867 $as_echo_n "(cached) " >&6
20535else 21868else
20536 touch conftest.tmp 21869 touch conftest.tmp
@@ -20624,6 +21957,61 @@ fi
20624 fi 21957 fi
20625 fi 21958 fi
20626 } 21959 }
21960<<<<<<< TREE
21961=======
21962 func_gl_gnulib_m4code_strtoll ()
21963 {
21964 if ! $gl_gnulib_enabled_strtoll; then
21965
21966
21967
21968 if test "$ac_cv_type_long_long_int" = yes; then
21969 for ac_func in strtoll
21970do :
21971 ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll"
21972if test "x$ac_cv_func_strtoll" = xyes; then :
21973 cat >>confdefs.h <<_ACEOF
21974#define HAVE_STRTOLL 1
21975_ACEOF
21976
21977fi
21978done
21979
21980 if test $ac_cv_func_strtoll = no; then
21981 HAVE_STRTOLL=0
21982 fi
21983 fi
21984
21985if test $HAVE_STRTOLL = 0; then
21986
21987
21988
21989
21990
21991
21992
21993
21994 gl_LIBOBJS="$gl_LIBOBJS strtoll.$ac_objext"
21995
21996
21997 :
21998
21999fi
22000
22001
22002
22003
22004
22005 GNULIB_STRTOLL=1
22006
22007
22008
22009
22010
22011 gl_gnulib_enabled_strtoll=true
22012 fi
22013 }
22014>>>>>>> MERGE-SOURCE
20627 func_gl_gnulib_m4code_strtoull () 22015 func_gl_gnulib_m4code_strtoull ()
20628 { 22016 {
20629 if ! $gl_gnulib_enabled_strtoull; then 22017 if ! $gl_gnulib_enabled_strtoull; then
@@ -20634,7 +22022,7 @@ fi
20634 for ac_func in strtoull 22022 for ac_func in strtoull
20635do : 22023do :
20636 ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" 22024 ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull"
20637if test "x$ac_cv_func_strtoull" = x""yes; then : 22025if test "x$ac_cv_func_strtoull" = xyes; then :
20638 cat >>confdefs.h <<_ACEOF 22026 cat >>confdefs.h <<_ACEOF
20639#define HAVE_STRTOULL 1 22027#define HAVE_STRTOULL 1
20640_ACEOF 22028_ACEOF
@@ -20694,10 +22082,20 @@ fi
20694 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then 22082 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
20695 func_gl_gnulib_m4code_stat 22083 func_gl_gnulib_m4code_stat
20696 fi 22084 fi
22085<<<<<<< TREE
20697 if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then 22086 if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then
22087=======
22088 if test $ac_cv_func_strtoimax = no; then
20698 func_gl_gnulib_m4code_verify 22089 func_gl_gnulib_m4code_verify
20699 fi 22090 fi
20700 if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes; then 22091 if test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes; then
22092 func_gl_gnulib_m4code_strtoll
22093 fi
22094 if test $ac_cv_func_strtoumax = no; then
22095>>>>>>> MERGE-SOURCE
22096 func_gl_gnulib_m4code_verify
22097 fi
22098 if test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes; then
20701 func_gl_gnulib_m4code_strtoull 22099 func_gl_gnulib_m4code_strtoull
20702 fi 22100 fi
20703 22101
@@ -22868,10 +24266,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22868 :end' >>confcache 24266 :end' >>confcache
22869if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 24267if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22870 if test -w "$cache_file"; then 24268 if test -w "$cache_file"; then
22871 test "x$cache_file" != "x/dev/null" && 24269 if test "x$cache_file" != "x/dev/null"; then
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 24270 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22873$as_echo "$as_me: updating cache $cache_file" >&6;} 24271$as_echo "$as_me: updating cache $cache_file" >&6;}
22874 cat confcache >$cache_file 24272 if test ! -f "$cache_file" || test -h "$cache_file"; then
24273 cat confcache >"$cache_file"
24274 else
24275 case $cache_file in #(
24276 */* | ?:*)
24277 mv -f confcache "$cache_file"$$ &&
24278 mv -f "$cache_file"$$ "$cache_file" ;; #(
24279 *)
24280 mv -f confcache "$cache_file" ;;
24281 esac
24282 fi
24283 fi
22875 else 24284 else
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 24285 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22877$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 24286$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -22887,6 +24296,7 @@ DEFS=-DHAVE_CONFIG_H
22887 24296
22888ac_libobjs= 24297ac_libobjs=
22889ac_ltlibobjs= 24298ac_ltlibobjs=
24299U=
22890for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24300for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22891 # 1. Remove the extension, and $U if already installed. 24301 # 1. Remove the extension, and $U if already installed.
22892 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 24302 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -22910,57 +24320,71 @@ else
22910fi 24320fi
22911 24321
22912if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 24322if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22913 as_fn_error "conditional \"AMDEP\" was never defined. 24323 as_fn_error $? "conditional \"AMDEP\" was never defined.
22914Usually this means the macro was only invoked conditionally." "$LINENO" 5 24324Usually this means the macro was only invoked conditionally." "$LINENO" 5
22915fi 24325fi
22916if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 24326if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22917 as_fn_error "conditional \"am__fastdepCC\" was never defined. 24327 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22918Usually this means the macro was only invoked conditionally." "$LINENO" 5 24328Usually this means the macro was only invoked conditionally." "$LINENO" 5
22919fi 24329fi
22920 24330
22921if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then 24331if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
22922 as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined. 24332 as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
22923Usually this means the macro was only invoked conditionally." "$LINENO" 5 24333Usually this means the macro was only invoked conditionally." "$LINENO" 5
22924fi 24334fi
22925if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then 24335if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
22926 as_fn_error "conditional \"GL_GENERATE_ALLOCA_H\" was never defined. 24336 as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
22927Usually this means the macro was only invoked conditionally." "$LINENO" 5 24337Usually this means the macro was only invoked conditionally." "$LINENO" 5
22928fi 24338fi
22929 24339
22930if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then 24340if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
22931 as_fn_error "conditional \"GL_GENERATE_STDINT_H\" was never defined. 24341 as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
22932Usually this means the macro was only invoked conditionally." "$LINENO" 5 24342Usually this means the macro was only invoked conditionally." "$LINENO" 5
22933fi 24343fi
22934if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then 24344if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then
22935 as_fn_error "conditional \"GL_GENERATE_STDARG_H\" was never defined. 24345 as_fn_error $? "conditional \"GL_GENERATE_STDARG_H\" was never defined.
22936Usually this means the macro was only invoked conditionally." "$LINENO" 5 24346Usually this means the macro was only invoked conditionally." "$LINENO" 5
22937fi 24347fi
22938if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then 24348if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
22939 as_fn_error "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. 24349 as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
22940Usually this means the macro was only invoked conditionally." "$LINENO" 5 24350Usually this means the macro was only invoked conditionally." "$LINENO" 5
22941fi 24351fi
22942if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then 24352if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
22943 as_fn_error "conditional \"GL_GENERATE_STDDEF_H\" was never defined. 24353 as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
22944Usually this means the macro was only invoked conditionally." "$LINENO" 5 24354Usually this means the macro was only invoked conditionally." "$LINENO" 5
22945fi 24355fi
22946if test -z "${gl_GNULIB_ENABLED_dosname_TRUE}" && test -z "${gl_GNULIB_ENABLED_dosname_FALSE}"; then 24356if test -z "${gl_GNULIB_ENABLED_dosname_TRUE}" && test -z "${gl_GNULIB_ENABLED_dosname_FALSE}"; then
22947 as_fn_error "conditional \"gl_GNULIB_ENABLED_dosname\" was never defined. 24357 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_dosname\" was never defined.
22948Usually this means the macro was only invoked conditionally." "$LINENO" 5 24358Usually this means the macro was only invoked conditionally." "$LINENO" 5
22949fi 24359fi
22950if test -z "${gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36_TRUE}" && test -z "${gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36_FALSE}"; then 24360if test -z "${gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36_TRUE}" && test -z "${gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36_FALSE}"; then
22951 as_fn_error "conditional \"gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36\" was never defined. 24361 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36\" was never defined.
24362Usually this means the macro was only invoked conditionally." "$LINENO" 5
24363fi
24364<<<<<<< TREE
24365=======
24366if test -z "${gl_GNULIB_ENABLED_sigprocmask_TRUE}" && test -z "${gl_GNULIB_ENABLED_sigprocmask_FALSE}"; then
24367 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_sigprocmask\" was never defined.
22952Usually this means the macro was only invoked conditionally." "$LINENO" 5 24368Usually this means the macro was only invoked conditionally." "$LINENO" 5
22953fi 24369fi
24370>>>>>>> MERGE-SOURCE
22954if test -z "${gl_GNULIB_ENABLED_stat_TRUE}" && test -z "${gl_GNULIB_ENABLED_stat_FALSE}"; then 24371if test -z "${gl_GNULIB_ENABLED_stat_TRUE}" && test -z "${gl_GNULIB_ENABLED_stat_FALSE}"; then
22955 as_fn_error "conditional \"gl_GNULIB_ENABLED_stat\" was never defined. 24372 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_stat\" was never defined.
24373Usually this means the macro was only invoked conditionally." "$LINENO" 5
24374fi
24375<<<<<<< TREE
24376=======
24377if test -z "${gl_GNULIB_ENABLED_strtoll_TRUE}" && test -z "${gl_GNULIB_ENABLED_strtoll_FALSE}"; then
24378 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_strtoll\" was never defined.
22956Usually this means the macro was only invoked conditionally." "$LINENO" 5 24379Usually this means the macro was only invoked conditionally." "$LINENO" 5
22957fi 24380fi
24381>>>>>>> MERGE-SOURCE
22958if test -z "${gl_GNULIB_ENABLED_strtoull_TRUE}" && test -z "${gl_GNULIB_ENABLED_strtoull_FALSE}"; then 24382if test -z "${gl_GNULIB_ENABLED_strtoull_TRUE}" && test -z "${gl_GNULIB_ENABLED_strtoull_FALSE}"; then
22959 as_fn_error "conditional \"gl_GNULIB_ENABLED_strtoull\" was never defined. 24383 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_strtoull\" was never defined.
22960Usually this means the macro was only invoked conditionally." "$LINENO" 5 24384Usually this means the macro was only invoked conditionally." "$LINENO" 5
22961fi 24385fi
22962if test -z "${gl_GNULIB_ENABLED_verify_TRUE}" && test -z "${gl_GNULIB_ENABLED_verify_FALSE}"; then 24386if test -z "${gl_GNULIB_ENABLED_verify_TRUE}" && test -z "${gl_GNULIB_ENABLED_verify_FALSE}"; then
22963 as_fn_error "conditional \"gl_GNULIB_ENABLED_verify\" was never defined. 24387 as_fn_error $? "conditional \"gl_GNULIB_ENABLED_verify\" was never defined.
22964Usually this means the macro was only invoked conditionally." "$LINENO" 5 24388Usually this means the macro was only invoked conditionally." "$LINENO" 5
22965fi 24389fi
22966 24390
@@ -22996,7 +24420,7 @@ fi
22996 24420
22997 24421
22998 24422
22999: ${CONFIG_STATUS=./config.status} 24423: "${CONFIG_STATUS=./config.status}"
23000ac_write_fail=0 24424ac_write_fail=0
23001ac_clean_files_save=$ac_clean_files 24425ac_clean_files_save=$ac_clean_files
23002ac_clean_files="$ac_clean_files $CONFIG_STATUS" 24426ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -23097,6 +24521,7 @@ fi
23097IFS=" "" $as_nl" 24521IFS=" "" $as_nl"
23098 24522
23099# Find who we are. Look in the path if we contain no directory separator. 24523# Find who we are. Look in the path if we contain no directory separator.
24524as_myself=
23100case $0 in #(( 24525case $0 in #((
23101 *[\\/]* ) as_myself=$0 ;; 24526 *[\\/]* ) as_myself=$0 ;;
23102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24527 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -23142,19 +24567,19 @@ export LANGUAGE
23142(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 24567(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23143 24568
23144 24569
23145# as_fn_error ERROR [LINENO LOG_FD] 24570# as_fn_error STATUS ERROR [LINENO LOG_FD]
23146# --------------------------------- 24571# ----------------------------------------
23147# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 24572# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23148# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 24573# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23149# script with status $?, using 1 if that was 0. 24574# script with STATUS, using 1 if that was 0.
23150as_fn_error () 24575as_fn_error ()
23151{ 24576{
23152 as_status=$?; test $as_status -eq 0 && as_status=1 24577 as_status=$1; test $as_status -eq 0 && as_status=1
23153 if test "$3"; then 24578 if test "$4"; then
23154 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 24579 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23155 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 24580 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23156 fi 24581 fi
23157 $as_echo "$as_me: error: $1" >&2 24582 $as_echo "$as_me: error: $2" >&2
23158 as_fn_exit $as_status 24583 as_fn_exit $as_status
23159} # as_fn_error 24584} # as_fn_error
23160 24585
@@ -23350,7 +24775,7 @@ $as_echo X"$as_dir" |
23350 test -d "$as_dir" && break 24775 test -d "$as_dir" && break
23351 done 24776 done
23352 test -z "$as_dirs" || eval "mkdir $as_dirs" 24777 test -z "$as_dirs" || eval "mkdir $as_dirs"
23353 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 24778 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23354 24779
23355 24780
23356} # as_fn_mkdir_p 24781} # as_fn_mkdir_p
@@ -23404,7 +24829,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23404# values after options handling. 24829# values after options handling.
23405ac_log=" 24830ac_log="
23406This file was extended by emacs $as_me 24.0.50, which was 24831This file was extended by emacs $as_me 24.0.50, which was
23407generated by GNU Autoconf 2.65. Invocation command line was 24832generated by GNU Autoconf 2.68. Invocation command line was
23408 24833
23409 CONFIG_FILES = $CONFIG_FILES 24834 CONFIG_FILES = $CONFIG_FILES
23410 CONFIG_HEADERS = $CONFIG_HEADERS 24835 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -23470,10 +24895,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23470ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 24895ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23471ac_cs_version="\\ 24896ac_cs_version="\\
23472emacs config.status 24.0.50 24897emacs config.status 24.0.50
23473configured by $0, generated by GNU Autoconf 2.65, 24898configured by $0, generated by GNU Autoconf 2.68,
23474 with options \\"\$ac_cs_config\\" 24899 with options \\"\$ac_cs_config\\"
23475 24900
23476Copyright (C) 2009 Free Software Foundation, Inc. 24901Copyright (C) 2010 Free Software Foundation, Inc.
23477This config.status script is free software; the Free Software Foundation 24902This config.status script is free software; the Free Software Foundation
23478gives unlimited permission to copy, distribute and modify it." 24903gives unlimited permission to copy, distribute and modify it."
23479 24904
@@ -23491,11 +24916,16 @@ ac_need_defaults=:
23491while test $# != 0 24916while test $# != 0
23492do 24917do
23493 case $1 in 24918 case $1 in
23494 --*=*) 24919 --*=?*)
23495 ac_option=`expr "X$1" : 'X\([^=]*\)='` 24920 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23496 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 24921 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23497 ac_shift=: 24922 ac_shift=:
23498 ;; 24923 ;;
24924 --*=)
24925 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24926 ac_optarg=
24927 ac_shift=:
24928 ;;
23499 *) 24929 *)
23500 ac_option=$1 24930 ac_option=$1
23501 ac_optarg=$2 24931 ac_optarg=$2
@@ -23517,6 +24947,7 @@ do
23517 $ac_shift 24947 $ac_shift
23518 case $ac_optarg in 24948 case $ac_optarg in
23519 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 24949 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24950 '') as_fn_error $? "missing file argument" ;;
23520 esac 24951 esac
23521 as_fn_append CONFIG_FILES " '$ac_optarg'" 24952 as_fn_append CONFIG_FILES " '$ac_optarg'"
23522 ac_need_defaults=false;; 24953 ac_need_defaults=false;;
@@ -23529,7 +24960,7 @@ do
23529 ac_need_defaults=false;; 24960 ac_need_defaults=false;;
23530 --he | --h) 24961 --he | --h)
23531 # Conflict between --help and --header 24962 # Conflict between --help and --header
23532 as_fn_error "ambiguous option: \`$1' 24963 as_fn_error $? "ambiguous option: \`$1'
23533Try \`$0 --help' for more information.";; 24964Try \`$0 --help' for more information.";;
23534 --help | --hel | -h ) 24965 --help | --hel | -h )
23535 $as_echo "$ac_cs_usage"; exit ;; 24966 $as_echo "$ac_cs_usage"; exit ;;
@@ -23538,7 +24969,7 @@ Try \`$0 --help' for more information.";;
23538 ac_cs_silent=: ;; 24969 ac_cs_silent=: ;;
23539 24970
23540 # This is an error. 24971 # This is an error.
23541 -*) as_fn_error "unrecognized option: \`$1' 24972 -*) as_fn_error $? "unrecognized option: \`$1'
23542Try \`$0 --help' for more information." ;; 24973Try \`$0 --help' for more information." ;;
23543 24974
23544 *) as_fn_append ac_config_targets " $1" 24975 *) as_fn_append ac_config_targets " $1"
@@ -23612,7 +25043,7 @@ do
23612 "epaths") CONFIG_COMMANDS="$CONFIG_COMMANDS epaths" ;; 25043 "epaths") CONFIG_COMMANDS="$CONFIG_COMMANDS epaths" ;;
23613 "gdbinit") CONFIG_COMMANDS="$CONFIG_COMMANDS gdbinit" ;; 25044 "gdbinit") CONFIG_COMMANDS="$CONFIG_COMMANDS gdbinit" ;;
23614 25045
23615 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 25046 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23616 esac 25047 esac
23617done 25048done
23618 25049
@@ -23635,9 +25066,10 @@ fi
23635# after its creation but before its name has been assigned to `$tmp'. 25066# after its creation but before its name has been assigned to `$tmp'.
23636$debug || 25067$debug ||
23637{ 25068{
23638 tmp= 25069 tmp= ac_tmp=
23639 trap 'exit_status=$? 25070 trap 'exit_status=$?
23640 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 25071 : "${ac_tmp:=$tmp}"
25072 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23641' 0 25073' 0
23642 trap 'as_fn_exit 1' 1 2 13 15 25074 trap 'as_fn_exit 1' 1 2 13 15
23643} 25075}
@@ -23645,12 +25077,13 @@ $debug ||
23645 25077
23646{ 25078{
23647 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 25079 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23648 test -n "$tmp" && test -d "$tmp" 25080 test -d "$tmp"
23649} || 25081} ||
23650{ 25082{
23651 tmp=./conf$$-$RANDOM 25083 tmp=./conf$$-$RANDOM
23652 (umask 077 && mkdir "$tmp") 25084 (umask 077 && mkdir "$tmp")
23653} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 25085} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
25086ac_tmp=$tmp
23654 25087
23655# Set up the scripts for CONFIG_FILES section. 25088# Set up the scripts for CONFIG_FILES section.
23656# No need to generate them if there are no CONFIG_FILES. 25089# No need to generate them if there are no CONFIG_FILES.
@@ -23684,24 +25117,24 @@ if test "x$ac_cr" = x; then
23684fi 25117fi
23685ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 25118ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23686if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 25119if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23687 ac_cs_awk_cr='\r' 25120 ac_cs_awk_cr='\\r'
23688else 25121else
23689 ac_cs_awk_cr=$ac_cr 25122 ac_cs_awk_cr=$ac_cr
23690fi 25123fi
23691 25124
23692echo 'BEGIN {' >"$tmp/subs1.awk" && 25125echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23693_ACEOF 25126_ACEOF
23694 25127
23695# Create commands to substitute file output variables. 25128# Create commands to substitute file output variables.
23696{ 25129{
23697 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && 25130 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
23698 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && 25131 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
23699 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 25132 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
23700 echo "_ACAWK" && 25133 echo "_ACAWK" &&
23701 echo "_ACEOF" 25134 echo "_ACEOF"
23702} >conf$$files.sh && 25135} >conf$$files.sh &&
23703. ./conf$$files.sh || 25136. ./conf$$files.sh ||
23704 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 25137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23705rm -f conf$$files.sh 25138rm -f conf$$files.sh
23706 25139
23707{ 25140{
@@ -23709,18 +25142,18 @@ rm -f conf$$files.sh
23709 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 25142 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23710 echo "_ACEOF" 25143 echo "_ACEOF"
23711} >conf$$subs.sh || 25144} >conf$$subs.sh ||
23712 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 25145 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23713ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 25146ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23714ac_delim='%!_!# ' 25147ac_delim='%!_!# '
23715for ac_last_try in false false false false false :; do 25148for ac_last_try in false false false false false :; do
23716 . ./conf$$subs.sh || 25149 . ./conf$$subs.sh ||
23717 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 25150 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23718 25151
23719 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 25152 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23720 if test $ac_delim_n = $ac_delim_num; then 25153 if test $ac_delim_n = $ac_delim_num; then
23721 break 25154 break
23722 elif $ac_last_try; then 25155 elif $ac_last_try; then
23723 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 25156 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23724 else 25157 else
23725 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25158 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23726 fi 25159 fi
@@ -23728,7 +25161,7 @@ done
23728rm -f conf$$subs.sh 25161rm -f conf$$subs.sh
23729 25162
23730cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25163cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23731cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 25164cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23732_ACEOF 25165_ACEOF
23733sed -n ' 25166sed -n '
23734h 25167h
@@ -23776,7 +25209,7 @@ t delim
23776rm -f conf$$subs.awk 25209rm -f conf$$subs.awk
23777cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25210cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23778_ACAWK 25211_ACAWK
23779cat >>"\$tmp/subs1.awk" <<_ACAWK && 25212cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23780 for (key in S) S_is_set[key] = 1 25213 for (key in S) S_is_set[key] = 1
23781 FS = "" 25214 FS = ""
23782 \$ac_cs_awk_pipe_init 25215 \$ac_cs_awk_pipe_init
@@ -23814,21 +25247,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23814 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 25247 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23815else 25248else
23816 cat 25249 cat
23817fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 25250fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
23818 || as_fn_error "could not setup config files machinery" "$LINENO" 5 25251 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23819_ACEOF 25252_ACEOF
23820 25253
23821# VPATH may cause trouble with some makes, so we remove $(srcdir), 25254# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23822# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 25255# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
23823# trailing colons and then remove the whole line if VPATH becomes empty 25256# trailing colons and then remove the whole line if VPATH becomes empty
23824# (actually we leave an empty line to preserve line numbers). 25257# (actually we leave an empty line to preserve line numbers).
23825if test "x$srcdir" = x.; then 25258if test "x$srcdir" = x.; then
23826 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 25259 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23827s/:*\$(srcdir):*/:/ 25260h
23828s/:*\${srcdir}:*/:/ 25261s///
23829s/:*@srcdir@:*/:/ 25262s/^/:/
23830s/^\([^=]*=[ ]*\):*/\1/ 25263s/[ ]*$/:/
25264s/:\$(srcdir):/:/g
25265s/:\${srcdir}:/:/g
25266s/:@srcdir@:/:/g
25267s/^:*//
23831s/:*$// 25268s/:*$//
25269x
25270s/\(=[ ]*\).*/\1/
25271G
25272s/\n//
23832s/^[^=]*=[ ]*$// 25273s/^[^=]*=[ ]*$//
23833}' 25274}'
23834fi 25275fi
@@ -23840,7 +25281,7 @@ fi # test -n "$CONFIG_FILES"
23840# No need to generate them if there are no CONFIG_HEADERS. 25281# No need to generate them if there are no CONFIG_HEADERS.
23841# This happens for instance with `./config.status Makefile'. 25282# This happens for instance with `./config.status Makefile'.
23842if test -n "$CONFIG_HEADERS"; then 25283if test -n "$CONFIG_HEADERS"; then
23843cat >"$tmp/defines.awk" <<\_ACAWK || 25284cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23844BEGIN { 25285BEGIN {
23845_ACEOF 25286_ACEOF
23846 25287
@@ -23852,11 +25293,11 @@ _ACEOF
23852# handling of long lines. 25293# handling of long lines.
23853ac_delim='%!_!# ' 25294ac_delim='%!_!# '
23854for ac_last_try in false false :; do 25295for ac_last_try in false false :; do
23855 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 25296 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23856 if test -z "$ac_t"; then 25297 if test -z "$ac_tt"; then
23857 break 25298 break
23858 elif $ac_last_try; then 25299 elif $ac_last_try; then
23859 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 25300 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23860 else 25301 else
23861 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25302 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23862 fi 25303 fi
@@ -23941,7 +25382,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23941_ACAWK 25382_ACAWK
23942_ACEOF 25383_ACEOF
23943cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25384cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23944 as_fn_error "could not setup config headers machinery" "$LINENO" 5 25385 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23945fi # test -n "$CONFIG_HEADERS" 25386fi # test -n "$CONFIG_HEADERS"
23946 25387
23947 25388
@@ -23954,7 +25395,7 @@ do
23954 esac 25395 esac
23955 case $ac_mode$ac_tag in 25396 case $ac_mode$ac_tag in
23956 :[FHL]*:*);; 25397 :[FHL]*:*);;
23957 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 25398 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23958 :[FH]-) ac_tag=-:-;; 25399 :[FH]-) ac_tag=-:-;;
23959 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 25400 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23960 esac 25401 esac
@@ -23973,7 +25414,7 @@ do
23973 for ac_f 25414 for ac_f
23974 do 25415 do
23975 case $ac_f in 25416 case $ac_f in
23976 -) ac_f="$tmp/stdin";; 25417 -) ac_f="$ac_tmp/stdin";;
23977 *) # Look for the file first in the build tree, then in the source tree 25418 *) # Look for the file first in the build tree, then in the source tree
23978 # (if the path is not absolute). The absolute path cannot be DOS-style, 25419 # (if the path is not absolute). The absolute path cannot be DOS-style,
23979 # because $ac_f cannot contain `:'. 25420 # because $ac_f cannot contain `:'.
@@ -23982,7 +25423,7 @@ do
23982 [\\/$]*) false;; 25423 [\\/$]*) false;;
23983 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 25424 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23984 esac || 25425 esac ||
23985 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 25426 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23986 esac 25427 esac
23987 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 25428 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23988 as_fn_append ac_file_inputs " '$ac_f'" 25429 as_fn_append ac_file_inputs " '$ac_f'"
@@ -24008,8 +25449,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
24008 esac 25449 esac
24009 25450
24010 case $ac_tag in 25451 case $ac_tag in
24011 *:-:* | *:-) cat >"$tmp/stdin" \ 25452 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24012 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 25453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24013 esac 25454 esac
24014 ;; 25455 ;;
24015 esac 25456 esac
@@ -24147,26 +25588,27 @@ $ac_datarootdir_hack
24147" 25588"
24148eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | 25589eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
24149if $ac_cs_awk_getline; then 25590if $ac_cs_awk_getline; then
24150 $AWK -f "$tmp/subs.awk" 25591 $AWK -f "$ac_tmp/subs.awk"
24151else 25592else
24152 $AWK -f "$tmp/subs.awk" | $SHELL 25593 $AWK -f "$ac_tmp/subs.awk" | $SHELL
24153fi >$tmp/out \ 25594fi \
24154 || as_fn_error "could not create $ac_file" "$LINENO" 5 25595 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24155 25596
24156test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 25597test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24157 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 25598 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24158 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 25599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25600 "$ac_tmp/out"`; test -z "$ac_out"; } &&
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 25601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24160which seems to be undefined. Please make sure it is defined." >&5 25602which seems to be undefined. Please make sure it is defined" >&5
24161$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 25603$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24162which seems to be undefined. Please make sure it is defined." >&2;} 25604which seems to be undefined. Please make sure it is defined" >&2;}
24163 25605
24164 rm -f "$tmp/stdin" 25606 rm -f "$ac_tmp/stdin"
24165 case $ac_file in 25607 case $ac_file in
24166 -) cat "$tmp/out" && rm -f "$tmp/out";; 25608 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24167 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 25609 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24168 esac \ 25610 esac \
24169 || as_fn_error "could not create $ac_file" "$LINENO" 5 25611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24170 ;; 25612 ;;
24171 :H) 25613 :H)
24172 # 25614 #
@@ -24175,21 +25617,21 @@ which seems to be undefined. Please make sure it is defined." >&2;}
24175 if test x"$ac_file" != x-; then 25617 if test x"$ac_file" != x-; then
24176 { 25618 {
24177 $as_echo "/* $configure_input */" \ 25619 $as_echo "/* $configure_input */" \
24178 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 25620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24179 } >"$tmp/config.h" \ 25621 } >"$ac_tmp/config.h" \
24180 || as_fn_error "could not create $ac_file" "$LINENO" 5 25622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24181 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 25623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 25624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24183$as_echo "$as_me: $ac_file is unchanged" >&6;} 25625$as_echo "$as_me: $ac_file is unchanged" >&6;}
24184 else 25626 else
24185 rm -f "$ac_file" 25627 rm -f "$ac_file"
24186 mv "$tmp/config.h" "$ac_file" \ 25628 mv "$ac_tmp/config.h" "$ac_file" \
24187 || as_fn_error "could not create $ac_file" "$LINENO" 5 25629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24188 fi 25630 fi
24189 else 25631 else
24190 $as_echo "/* $configure_input */" \ 25632 $as_echo "/* $configure_input */" \
24191 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 25633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24192 || as_fn_error "could not create -" "$LINENO" 5 25634 || as_fn_error $? "could not create -" "$LINENO" 5
24193 fi 25635 fi
24194# Compute "$ac_file"'s index in $config_headers. 25636# Compute "$ac_file"'s index in $config_headers.
24195_am_arg="$ac_file" 25637_am_arg="$ac_file"
@@ -24354,7 +25796,7 @@ _ACEOF
24354ac_clean_files=$ac_clean_files_save 25796ac_clean_files=$ac_clean_files_save
24355 25797
24356test $ac_write_fail = 0 || 25798test $ac_write_fail = 0 ||
24357 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 25799 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24358 25800
24359 25801
24360# configure is writing to config.log, and then calls config.status. 25802# configure is writing to config.log, and then calls config.status.
@@ -24375,7 +25817,7 @@ if test "$no_create" != yes; then
24375 exec 5>>config.log 25817 exec 5>>config.log
24376 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 25818 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24377 # would make configure fail if this is the last instruction. 25819 # would make configure fail if this is the last instruction.
24378 $ac_cs_success || as_fn_exit $? 25820 $ac_cs_success || as_fn_exit 1
24379fi 25821fi
24380if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 25822if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 25823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/autogen/copy_autogen b/autogen/copy_autogen
index a0daf9f02e5..c9f04ad6253 100755
--- a/autogen/copy_autogen
+++ b/autogen/copy_autogen
@@ -16,7 +16,7 @@ if test ! -e config.in; then
16fi 16fi
17 17
18## Order implied by top-level Makefile's rules, for time-stamps. 18## Order implied by top-level Makefile's rules, for time-stamps.
19cp compile config.guess config.sub depcomp install-sh missing ../ 19cp compile config.guess config.sub depcomp install-sh missing ../build-aux
20cp aclocal.m4 ../ 20cp aclocal.m4 ../
21cp configure ../ 21cp configure ../
22touch ../src/stamp-h.in 22touch ../src/stamp-h.in
diff --git a/autogen/update_autogen b/autogen/update_autogen
index c134609356c..e406f346ede 100755
--- a/autogen/update_autogen
+++ b/autogen/update_autogen
@@ -80,7 +80,11 @@ lboot_flag=
80ldefs_in=lisp/loaddefs.el 80ldefs_in=lisp/loaddefs.el
81ldefs_out=lisp/ldefs-boot.el 81ldefs_out=lisp/ldefs-boot.el
82sources="configure.in lib/Makefile.am" 82sources="configure.in lib/Makefile.am"
83genfiles="configure aclocal.m4 src/config.in lib/Makefile.in compile config.guess config.sub depcomp install-sh missing" 83genfiles="
84 configure aclocal.m4 src/config.in lib/Makefile.in
85 build-aux/compile build-aux/config.guess build-aux/config.sub
86 build-aux/depcomp build-aux/install-sh build-aux/missing
87"
84 88
85for g in $genfiles; do 89for g in $genfiles; do
86 basegen="$basegen ${g##*/}" 90 basegen="$basegen ${g##*/}"
diff --git a/move-if-change b/build-aux/move-if-change
index e7ba25e3127..e7ba25e3127 100755
--- a/move-if-change
+++ b/build-aux/move-if-change
diff --git a/build-aux/snippet/_Noreturn.h b/build-aux/snippet/_Noreturn.h
new file mode 100644
index 00000000000..1a7b4daed0a
--- /dev/null
+++ b/build-aux/snippet/_Noreturn.h
@@ -0,0 +1,10 @@
1#ifndef _Noreturn
2# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
3 || 0x5110 <= __SUNPRO_C)
4# define _Noreturn __attribute__ ((__noreturn__))
5# elif 1200 <= _MSC_VER
6# define _Noreturn __declspec (noreturn)
7# else
8# define _Noreturn
9# endif
10#endif
diff --git a/arg-nonnull.h b/build-aux/snippet/arg-nonnull.h
index 6c2f1e82d06..6c2f1e82d06 100644
--- a/arg-nonnull.h
+++ b/build-aux/snippet/arg-nonnull.h
diff --git a/c++defs.h b/build-aux/snippet/c++defs.h
index b6821a64ac4..b6821a64ac4 100644
--- a/c++defs.h
+++ b/build-aux/snippet/c++defs.h
diff --git a/warn-on-use.h b/build-aux/snippet/warn-on-use.h
index 2cdeec3e663..2cdeec3e663 100644
--- a/warn-on-use.h
+++ b/build-aux/snippet/warn-on-use.h
diff --git a/config.bat b/config.bat
index dba3600e0d9..a3660d577cd 100644
--- a/config.bat
+++ b/config.bat
@@ -275,10 +275,10 @@ for %%d in (emacs lispref lispintro lispintr misc) do sed -f ../msdos/sed6.inp <
275cd .. 275cd ..
276rem ---------------------------------------------------------------------- 276rem ----------------------------------------------------------------------
277Echo Configuring the lib directory... 277Echo Configuring the lib directory...
278If Exist c++defs.h update c++defs.h cxxdefs.h 278If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-aux/snippet/cxxdefs.h
279cd lib 279cd lib
280Rem Rename files like djtar on plain DOS filesystem would. 280Rem Rename files like djtar on plain DOS filesystem would.
281If Exist c++defs.h update c++defs.h cxxdefs.h 281If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-aux/snippet/cxxdefs.h
282If Exist getopt.in.h update getopt.in.h getopt.in-h 282If Exist getopt.in.h update getopt.in.h getopt.in-h
283If Exist stdbool.in.h update stdbool.in.h stdbool.in-h 283If Exist stdbool.in.h update stdbool.in.h stdbool.in-h
284If Exist stddef.in.h update stddef.in.h stddef.in-h 284If Exist stddef.in.h update stddef.in.h stddef.in-h
diff --git a/configure.in b/configure.in
index feaf047b5ab..07fad40944d 100644
--- a/configure.in
+++ b/configure.in
@@ -25,6 +25,7 @@ AC_PREREQ(2.65)
25AC_INIT(emacs, 24.0.50) 25AC_INIT(emacs, 24.0.50)
26AC_CONFIG_HEADER(src/config.h:src/config.in) 26AC_CONFIG_HEADER(src/config.h:src/config.in)
27AC_CONFIG_SRCDIR(src/lisp.h) 27AC_CONFIG_SRCDIR(src/lisp.h)
28AC_CONFIG_AUX_DIR(build-aux)
28AM_INIT_AUTOMAKE 29AM_INIT_AUTOMAKE
29 30
30dnl Support for --program-prefix, --program-suffix and 31dnl Support for --program-prefix, --program-suffix and
@@ -2757,7 +2758,7 @@ __fpending mblen mbrlen mbsinit strsignal setitimer ualarm \
2757sendto recvfrom getsockopt setsockopt getsockname getpeername \ 2758sendto recvfrom getsockopt setsockopt getsockname getpeername \
2758gai_strerror mkstemp getline getdelim mremap fsync sync \ 2759gai_strerror mkstemp getline getdelim mremap fsync sync \
2759difftime mempcpy mblen mbrlen posix_memalign \ 2760difftime mempcpy mblen mbrlen posix_memalign \
2760cfmakeraw cfsetspeed isnan copysign __executable_start) 2761cfmakeraw cfsetspeed copysign __executable_start)
2761 2762
2762dnl Cannot use AC_CHECK_FUNCS 2763dnl Cannot use AC_CHECK_FUNCS
2763AC_CACHE_CHECK([for __builtin_unwind_init], 2764AC_CACHE_CHECK([for __builtin_unwind_init],
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index 6f593d76639..a7f94f96daa 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2011-08-15.20} 6\def\texinfoversion{2011-08-14.17}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -5855,7 +5855,6 @@ end
5855 % This is purely so the last item on the list is a known \penalty > 5855 % This is purely so the last item on the list is a known \penalty >
5856 % 10000. This is so \startdefun can avoid allowing breakpoints after 5856 % 10000. This is so \startdefun can avoid allowing breakpoints after
5857 % section headings. Otherwise, it would insert a valid breakpoint between: 5857 % section headings. Otherwise, it would insert a valid breakpoint between:
5858 %
5859 % @section sec-whatever 5858 % @section sec-whatever
5860 % @deffn def-whatever 5859 % @deffn def-whatever
5861 \penalty 10001 5860 \penalty 10001
@@ -6273,6 +6272,12 @@ end
6273 \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip 6272 \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
6274 % Flag to tell @lisp, etc., not to narrow margin. 6273 % Flag to tell @lisp, etc., not to narrow margin.
6275 \let\nonarrowing = t% 6274 \let\nonarrowing = t%
6275 %
6276 % If this cartouche directly follows a sectioning command, we need the
6277 % \parskip glue (backspaced over by default) or the cartouche can
6278 % collide with the section heading.
6279 \ifnum\lastpenalty>10000 \vskip\parskip \fi
6280 %
6276 \vbox\bgroup 6281 \vbox\bgroup
6277 \baselineskip=0pt\parskip=0pt\lineskip=0pt 6282 \baselineskip=0pt\parskip=0pt\lineskip=0pt
6278 \carttop 6283 \carttop
@@ -6286,7 +6291,7 @@ end
6286 \lineskip=\normlskip 6291 \lineskip=\normlskip
6287 \parskip=\normpskip 6292 \parskip=\normpskip
6288 \vskip -\parskip 6293 \vskip -\parskip
6289 \comment % For explanation, see the end of \def\group. 6294 \comment % For explanation, see the end of def\group.
6290} 6295}
6291\def\Ecartouche{% 6296\def\Ecartouche{%
6292 \ifhmode\par\fi 6297 \ifhmode\par\fi
@@ -9620,3 +9625,6 @@ directory should work if nowhere else does.}
9620 9625
9621@c vim:sw=2: 9626@c vim:sw=2:
9622 9627
9628@ignore
9629 arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115
9630@end ignore
diff --git a/leim/ChangeLog b/leim/ChangeLog
index 426c679fe1f..23050bf791a 100644
--- a/leim/ChangeLog
+++ b/leim/ChangeLog
@@ -1,3 +1,7 @@
12011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 * Makefile.in (install): install-sh is now in build-aux (Bug#9169).
4
12011-08-29 Stefan Monnier <monnier@iro.umontreal.ca> 52011-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * quail/latin-ltx.el: Complete the super and subscript letters. 7 * quail/latin-ltx.el: Complete the super and subscript letters.
diff --git a/leim/Makefile.in b/leim/Makefile.in
index 87020616a57..23eaf215e2e 100644
--- a/leim/Makefile.in
+++ b/leim/Makefile.in
@@ -222,7 +222,7 @@ MV_DIRS = for i in $$dir; do rm -fr `basename "$$i"` ; mv "$$i" . ; done
222 222
223install: all 223install: all
224 if [ ! -d ${INSTALLDIR} ] ; then \ 224 if [ ! -d ${INSTALLDIR} ] ; then \
225 umask 022; ${srcdir}/../install-sh -d ${INSTALLDIR}; \ 225 umask 022; ${srcdir}/../build-aux/install-sh -d ${INSTALLDIR}; \
226 else true; fi 226 else true; fi
227 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \ 227 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
228 rm -f ${INSTALLDIR}/leim-list.el; \ 228 rm -f ${INSTALLDIR}/leim-list.el; \
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 9041eae8bbe..65ca56b17a8 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
4 to build-aux (Bug#9169).
5
12011-09-04 Paul Eggert <eggert@cs.ucla.edu> 62011-09-04 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Integer and memory overflow issues (Bug#9397). 8 Integer and memory overflow issues (Bug#9397).
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index f619febbb2b..499305ec512 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -229,13 +229,13 @@ maybe-blessmail: $(BLESSMAIL_TARGET)
229$(DESTDIR)${archlibdir}: all 229$(DESTDIR)${archlibdir}: all
230 @echo 230 @echo
231 @echo "Installing utilities run internally by Emacs." 231 @echo "Installing utilities run internally by Emacs."
232 umask 022; $(top_srcdir)/install-sh -d $(DESTDIR)${archlibdir} 232 umask 022; $(top_srcdir)/build-aux/install-sh -d $(DESTDIR)${archlibdir}
233 if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 233 if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
234 for file in ${UTILITIES}; do \ 234 for file in ${UTILITIES}; do \
235 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ 235 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \
236 done ; \ 236 done ; \
237 fi 237 fi
238 umask 022; $(top_srcdir)/install-sh -d $(DESTDIR)${gamedir}; \ 238 umask 022; $(top_srcdir)/build-aux/install-sh -d $(DESTDIR)${gamedir}; \
239 touch $(DESTDIR)${gamedir}/snake-scores; \ 239 touch $(DESTDIR)${gamedir}/snake-scores; \
240 touch $(DESTDIR)${gamedir}/tetris-scores 240 touch $(DESTDIR)${gamedir}/tetris-scores
241 -if chown ${gameuser} $(DESTDIR)${archlibdir}/update-game-score && chmod u+s $(DESTDIR)${archlibdir}/update-game-score; then \ 241 -if chown ${gameuser} $(DESTDIR)${archlibdir}/update-game-score && chmod u+s $(DESTDIR)${archlibdir}/update-game-score; then \
diff --git a/lib/gnulib.mk b/lib/gnulib.mk
index 4341a5d184d..5163269db41 100644
--- a/lib/gnulib.mk
+++ b/lib/gnulib.mk
@@ -9,7 +9,7 @@
9# the same distribution terms as the rest of that program. 9# the same distribution terms as the rest of that program.
10# 10#
11# Generated by gnulib-tool. 11# Generated by gnulib-tool.
12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat 12# 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=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat
13 13
14 14
15MOSTLYCLEANFILES += core *.stackdump 15MOSTLYCLEANFILES += core *.stackdump
@@ -52,54 +52,6 @@ EXTRA_DIST += allocator.h
52 52
53## end gnulib module allocator 53## end gnulib module allocator
54 54
55## begin gnulib module arg-nonnull
56
57# The BUILT_SOURCES created by this Makefile snippet are not used via #include
58# statements but through direct file reference. Therefore this snippet must be
59# present in all Makefile.am that need it. This is ensured by the applicability
60# 'all' defined above.
61
62BUILT_SOURCES += arg-nonnull.h
63# The arg-nonnull.h that gets inserted into generated .h files is the same as
64# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
65arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
66 $(AM_V_GEN)rm -f $@-t $@ && \
67 sed -n -e '/GL_ARG_NONNULL/,$$p' \
68 < $(top_srcdir)/./arg-nonnull.h \
69 > $@-t && \
70 mv $@-t $@
71MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
72
73ARG_NONNULL_H=arg-nonnull.h
74
75EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
76
77## end gnulib module arg-nonnull
78
79## begin gnulib module c++defs
80
81# The BUILT_SOURCES created by this Makefile snippet are not used via #include
82# statements but through direct file reference. Therefore this snippet must be
83# present in all Makefile.am that need it. This is ensured by the applicability
84# 'all' defined above.
85
86BUILT_SOURCES += c++defs.h
87# The c++defs.h that gets inserted into generated .h files is the same as
88# build-aux/c++defs.h, except that it has the copyright header cut off.
89c++defs.h: $(top_srcdir)/./c++defs.h
90 $(AM_V_GEN)rm -f $@-t $@ && \
91 sed -n -e '/_GL_CXXDEFS/,$$p' \
92 < $(top_srcdir)/./c++defs.h \
93 > $@-t && \
94 mv $@-t $@
95MOSTLYCLEANFILES += c++defs.h c++defs.h-t
96
97CXXDEFS_H=c++defs.h
98
99EXTRA_DIST += $(top_srcdir)/./c++defs.h
100
101## end gnulib module c++defs
102
103## begin gnulib module careadlinkat 55## begin gnulib module careadlinkat
104 56
105libgnu_a_SOURCES += careadlinkat.c 57libgnu_a_SOURCES += careadlinkat.c
@@ -362,6 +314,87 @@ EXTRA_libgnu_a_SOURCES += sigprocmask.c
362 314
363## end gnulib module sigprocmask 315## end gnulib module sigprocmask
364 316
317## begin gnulib module snippet/_Noreturn
318
319# Because this Makefile snippet defines a variable used by other
320# gnulib Makefile snippets, it must be present in all Makefile.am that
321# need it. This is ensured by the applicability 'all' defined above.
322
323_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
324
325EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
326
327## end gnulib module snippet/_Noreturn
328
329## begin gnulib module snippet/arg-nonnull
330
331# The BUILT_SOURCES created by this Makefile snippet are not used via #include
332# statements but through direct file reference. Therefore this snippet must be
333# present in all Makefile.am that need it. This is ensured by the applicability
334# 'all' defined above.
335
336BUILT_SOURCES += arg-nonnull.h
337# The arg-nonnull.h that gets inserted into generated .h files is the same as
338# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
339# off.
340arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
341 $(AM_V_GEN)rm -f $@-t $@ && \
342 sed -n -e '/GL_ARG_NONNULL/,$$p' \
343 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
344 > $@-t && \
345 mv $@-t $@
346MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
347
348ARG_NONNULL_H=arg-nonnull.h
349
350EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
351
352## end gnulib module snippet/arg-nonnull
353
354## begin gnulib module snippet/c++defs
355
356# The BUILT_SOURCES created by this Makefile snippet are not used via #include
357# statements but through direct file reference. Therefore this snippet must be
358# present in all Makefile.am that need it. This is ensured by the applicability
359# 'all' defined above.
360
361BUILT_SOURCES += c++defs.h
362# The c++defs.h that gets inserted into generated .h files is the same as
363# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
364c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
365 $(AM_V_GEN)rm -f $@-t $@ && \
366 sed -n -e '/_GL_CXXDEFS/,$$p' \
367 < $(top_srcdir)/build-aux/snippet/c++defs.h \
368 > $@-t && \
369 mv $@-t $@
370MOSTLYCLEANFILES += c++defs.h c++defs.h-t
371
372CXXDEFS_H=c++defs.h
373
374EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
375
376## end gnulib module snippet/c++defs
377
378## begin gnulib module snippet/warn-on-use
379
380BUILT_SOURCES += warn-on-use.h
381# The warn-on-use.h that gets inserted into generated .h files is the same as
382# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
383# off.
384warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
385 $(AM_V_GEN)rm -f $@-t $@ && \
386 sed -n -e '/^.ifndef/,$$p' \
387 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
388 > $@-t && \
389 mv $@-t $@
390MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
391
392WARN_ON_USE_H=warn-on-use.h
393
394EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
395
396## end gnulib module snippet/warn-on-use
397
365## begin gnulib module stat 398## begin gnulib module stat
366 399
367if gl_GNULIB_ENABLED_stat 400if gl_GNULIB_ENABLED_stat
@@ -634,7 +667,8 @@ BUILT_SOURCES += stdlib.h
634 667
635# We need the following in order to create <stdlib.h> when the system 668# We need the following in order to create <stdlib.h> when the system
636# doesn't have one that works with the given compiler. 669# doesn't have one that works with the given compiler.
637stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 670stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
671 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
638 $(AM_V_GEN)rm -f $@-t $@ && \ 672 $(AM_V_GEN)rm -f $@-t $@ && \
639 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 673 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
640 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 674 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
@@ -708,6 +742,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
708 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ 742 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
709 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ 743 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
710 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ 744 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
745 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
711 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ 746 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
712 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 747 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
713 } > $@-t && \ 748 } > $@-t && \
@@ -1040,25 +1075,6 @@ EXTRA_DIST += verify.h
1040 1075
1041## end gnulib module verify 1076## end gnulib module verify
1042 1077
1043## begin gnulib module warn-on-use
1044
1045BUILT_SOURCES += warn-on-use.h
1046# The warn-on-use.h that gets inserted into generated .h files is the same as
1047# build-aux/warn-on-use.h, except that it has the copyright header cut off.
1048warn-on-use.h: $(top_srcdir)/./warn-on-use.h
1049 $(AM_V_GEN)rm -f $@-t $@ && \
1050 sed -n -e '/^.ifndef/,$$p' \
1051 < $(top_srcdir)/./warn-on-use.h \
1052 > $@-t && \
1053 mv $@-t $@
1054MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1055
1056WARN_ON_USE_H=warn-on-use.h
1057
1058EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
1059
1060## end gnulib module warn-on-use
1061
1062 1078
1063mostlyclean-local: mostlyclean-generic 1079mostlyclean-local: mostlyclean-generic
1064 @for dir in '' $(MOSTLYCLEANDIRS); do \ 1080 @for dir in '' $(MOSTLYCLEANDIRS); do \
diff --git a/lib/lstat.c b/lib/lstat.c
index b26065ede28..29fc6d25f90 100644
--- a/lib/lstat.c
+++ b/lib/lstat.c
@@ -17,6 +17,10 @@
17 17
18/* written by Jim Meyering */ 18/* written by Jim Meyering */
19 19
20/* If the user's config.h happens to include <sys/stat.h>, let it include only
21 the system's <sys/stat.h> here, so that orig_lstat doesn't recurse to
22 rpl_lstat. */
23#define __need_system_sys_stat_h
20#include <config.h> 24#include <config.h>
21 25
22#if !HAVE_LSTAT 26#if !HAVE_LSTAT
@@ -27,7 +31,6 @@ typedef int dummy;
27#else /* HAVE_LSTAT */ 31#else /* HAVE_LSTAT */
28 32
29/* Get the original definition of lstat. It might be defined as a macro. */ 33/* Get the original definition of lstat. It might be defined as a macro. */
30# define __need_system_sys_stat_h
31# include <sys/types.h> 34# include <sys/types.h>
32# include <sys/stat.h> 35# include <sys/stat.h>
33# undef __need_system_sys_stat_h 36# undef __need_system_sys_stat_h
diff --git a/lib/makefile.w32-in b/lib/makefile.w32-in
index df7f8e274f0..6b451dd14e1 100644
--- a/lib/makefile.w32-in
+++ b/lib/makefile.w32-in
@@ -213,7 +213,7 @@ INCLUDE_NEXT = include_next
213PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header 213PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header
214PRAGMA_COLUMNS = 214PRAGMA_COLUMNS =
215NEXT_GETOPT_H = <getopt.h> 215NEXT_GETOPT_H = <getopt.h>
216ARG_NONNULL_H = ../arg-nonnull.h 216ARG_NONNULL_H = ../build-aux/snippet/arg-nonnull.h
217 217
218getopt_h: 218getopt_h:
219 - $(DEL) getopt_.h-t getopt_.h 219 - $(DEL) getopt_.h-t getopt_.h
diff --git a/lib/pthread_sigmask.c b/lib/pthread_sigmask.c
index 1f460f13c48..11d549cad41 100644
--- a/lib/pthread_sigmask.c
+++ b/lib/pthread_sigmask.c
@@ -20,10 +20,50 @@
20#include <signal.h> 20#include <signal.h>
21 21
22#include <errno.h> 22#include <errno.h>
23#include <stddef.h>
24
25#if PTHREAD_SIGMASK_UNBLOCK_BUG
26# include <unistd.h>
27#endif
23 28
24int 29int
25pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask) 30pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
31#undef pthread_sigmask
26{ 32{
33#if HAVE_PTHREAD_SIGMASK
34 int ret = pthread_sigmask (how, new_mask, old_mask);
35# if PTHREAD_SIGMASK_INEFFECTIVE
36 if (ret == 0)
37 {
38 /* Detect whether pthread_sigmask is currently ineffective.
39 Don't cache the information: libpthread.so could be dynamically
40 loaded after the program started and after pthread_sigmask was
41 called for the first time. */
42 if (pthread_sigmask (1729, NULL, NULL) == 0)
43 {
44 /* pthread_sigmask is currently ineffective. The program is not
45 linked to -lpthread. So use sigprocmask instead. */
46 return (sigprocmask (how, new_mask, old_mask) < 0 ? errno : 0);
47 }
48 }
49# endif
50# if PTHREAD_SIGMASK_FAILS_WITH_ERRNO
51 if (ret == -1)
52 return errno;
53# endif
54# if PTHREAD_SIGMASK_UNBLOCK_BUG
55 if (ret == 0
56 && new_mask != NULL
57 && (how == SIG_UNBLOCK || how == SIG_SETMASK))
58 {
59 /* Give the OS the opportunity to raise signals that were pending before
60 the pthread_sigmask call and have now been unblocked. */
61 usleep (1);
62 }
63# endif
64 return ret;
65#else
27 int ret = sigprocmask (how, new_mask, old_mask); 66 int ret = sigprocmask (how, new_mask, old_mask);
28 return (ret < 0 ? errno : 0); 67 return (ret < 0 ? errno : 0);
68#endif
29} 69}
diff --git a/lib/stat.c b/lib/stat.c
index f07370dd06b..6c354d1d357 100644
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -16,10 +16,13 @@
16 16
17/* written by Eric Blake */ 17/* written by Eric Blake */
18 18
19/* If the user's config.h happens to include <sys/stat.h>, let it include only
20 the system's <sys/stat.h> here, so that orig_stat doesn't recurse to
21 rpl_stat. */
22#define __need_system_sys_stat_h
19#include <config.h> 23#include <config.h>
20 24
21/* Get the original definition of stat. It might be defined as a macro. */ 25/* Get the original definition of stat. It might be defined as a macro. */
22#define __need_system_sys_stat_h
23#include <sys/types.h> 26#include <sys/types.h>
24#include <sys/stat.h> 27#include <sys/stat.h>
25#undef __need_system_sys_stat_h 28#undef __need_system_sys_stat_h
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h
index 62a2ce920e6..047fac18b83 100644
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -89,11 +89,7 @@ struct random_data
89# include <unistd.h> 89# include <unistd.h>
90#endif 90#endif
91 91
92#if 3 <= __GNUC__ || __GNUC__ == 2 && 8 <= __GNUC_MINOR__ 92/* The definition of _Noreturn is copied here. */
93# define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
94#else
95# define _GL_ATTRIBUTE_NORETURN
96#endif
97 93
98/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ 94/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
99 95
@@ -120,7 +116,7 @@ struct random_data
120/* Terminate the current process with the given return code, without running 116/* Terminate the current process with the given return code, without running
121 the 'atexit' handlers. */ 117 the 'atexit' handlers. */
122# if !@HAVE__EXIT@ 118# if !@HAVE__EXIT@
123_GL_FUNCDECL_SYS (_Exit, void, (int status) _GL_ATTRIBUTE_NORETURN); 119_GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status));
124# endif 120# endif
125_GL_CXXALIAS_SYS (_Exit, void, (int status)); 121_GL_CXXALIAS_SYS (_Exit, void, (int status));
126_GL_CXXALIASWARN (_Exit); 122_GL_CXXALIASWARN (_Exit);
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index 769ecf0d43f..119cd142f43 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -85,7 +85,8 @@
85/* mingw declares getcwd in <io.h>, not in <unistd.h>. */ 85/* mingw declares getcwd in <io.h>, not in <unistd.h>. */
86#if ((@GNULIB_GETCWD@ || defined GNULIB_POSIXCHECK) \ 86#if ((@GNULIB_GETCWD@ || defined GNULIB_POSIXCHECK) \
87 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) 87 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
88# include <io.h> 88# include <io.h> /* mingw32, mingw64 */
89# include <direct.h> /* mingw64 */
89#endif 90#endif
90 91
91/* AIX and OSF/1 5.1 declare getdomainname in <netdb.h>, not in <unistd.h>. 92/* AIX and OSF/1 5.1 declare getdomainname in <netdb.h>, not in <unistd.h>.
diff --git a/m4/dup2.m4 b/m4/dup2.m4
index 8d7f62c8876..5c2cc9674c1 100644
--- a/m4/dup2.m4
+++ b/m4/dup2.m4
@@ -1,4 +1,4 @@
1#serial 13 1#serial 14
2dnl Copyright (C) 2002, 2005, 2007, 2009-2011 Free Software Foundation, Inc. 2dnl Copyright (C) 2002, 2005, 2007, 2009-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -12,7 +12,6 @@ AC_DEFUN([gl_FUNC_DUP2],
12 AC_CHECK_FUNCS_ONCE([dup2]) 12 AC_CHECK_FUNCS_ONCE([dup2])
13 if test $ac_cv_func_dup2 = no; then 13 if test $ac_cv_func_dup2 = no; then
14 HAVE_DUP2=0 14 HAVE_DUP2=0
15 AC_LIBOBJ([dup2])
16 fi 15 fi
17 ], [ 16 ], [
18 AC_DEFINE([HAVE_DUP2], [1], [Define to 1 if you have the 'dup2' function.]) 17 AC_DEFINE([HAVE_DUP2], [1], [Define to 1 if you have the 'dup2' function.])
@@ -60,17 +59,15 @@ AC_DEFUN([gl_FUNC_DUP2],
60 esac]) 59 esac])
61 ]) 60 ])
62 if test "$gl_cv_func_dup2_works" = no; then 61 if test "$gl_cv_func_dup2_works" = no; then
63 gl_REPLACE_DUP2 62 REPLACE_DUP2=1
64 fi 63 fi
65 fi 64 fi
66]) 65 dnl Replace dup2() for supporting the gnulib-defined fchdir() function,
67 66 dnl to keep fchdir's bookkeeping up-to-date.
68AC_DEFUN([gl_REPLACE_DUP2], 67 m4_ifdef([gl_FUNC_FCHDIR], [
69[ 68 gl_TEST_FCHDIR
70 AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) 69 if test $HAVE_FCHDIR = 0; then
71 AC_CHECK_FUNCS_ONCE([dup2]) 70 REPLACE_DUP2=1
72 if test $ac_cv_func_dup2 = yes; then 71 fi
73 REPLACE_DUP2=1 72 ])
74 fi
75 AC_LIBOBJ([dup2])
76]) 73])
diff --git a/m4/extensions.m4 b/m4/extensions.m4
index 1330503f0d7..22156e068c6 100644
--- a/m4/extensions.m4
+++ b/m4/extensions.m4
@@ -1,4 +1,4 @@
1# serial 9 -*- Autoconf -*- 1# serial 10 -*- Autoconf -*-
2# Enable extensions on systems that normally disable them. 2# Enable extensions on systems that normally disable them.
3 3
4# Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc. 4# Copyright (C) 2003, 2006-2011 Free Software Foundation, Inc.
@@ -67,6 +67,10 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
67#ifndef _ALL_SOURCE 67#ifndef _ALL_SOURCE
68# undef _ALL_SOURCE 68# undef _ALL_SOURCE
69#endif 69#endif
70/* Enable general extensions on MacOS X. */
71#ifndef _DARWIN_C_SOURCE
72# undef _DARWIN_C_SOURCE
73#endif
70/* Enable GNU extensions on systems that have them. */ 74/* Enable GNU extensions on systems that have them. */
71#ifndef _GNU_SOURCE 75#ifndef _GNU_SOURCE
72# undef _GNU_SOURCE 76# undef _GNU_SOURCE
@@ -95,6 +99,7 @@ AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
95 test $ac_cv_safe_to_define___extensions__ = yes && 99 test $ac_cv_safe_to_define___extensions__ = yes &&
96 AC_DEFINE([__EXTENSIONS__]) 100 AC_DEFINE([__EXTENSIONS__])
97 AC_DEFINE([_ALL_SOURCE]) 101 AC_DEFINE([_ALL_SOURCE])
102 AC_DEFINE([_DARWIN_C_SOURCE])
98 AC_DEFINE([_GNU_SOURCE]) 103 AC_DEFINE([_GNU_SOURCE])
99 AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) 104 AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
100 AC_DEFINE([_TANDEM_SOURCE]) 105 AC_DEFINE([_TANDEM_SOURCE])
diff --git a/m4/getopt.m4 b/m4/getopt.m4
index 7e49ddde9f6..047a3db0221 100644
--- a/m4/getopt.m4
+++ b/m4/getopt.m4
@@ -231,8 +231,12 @@ dnl is ambiguous with environment values that contain newlines.
231 [AC_LANG_PROGRAM([[#include <getopt.h> 231 [AC_LANG_PROGRAM([[#include <getopt.h>
232 #include <stddef.h> 232 #include <stddef.h>
233 #include <string.h> 233 #include <string.h>
234 ]GL_NOCRASH[
234 ]], [[ 235 ]], [[
235 int result = 0; 236 int result = 0;
237
238 nocrash_init();
239
236 /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, 240 /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
237 and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, 241 and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
238 OSF/1 5.1, Solaris 10. */ 242 OSF/1 5.1, Solaris 10. */
diff --git a/m4/gl-comp.m4 b/m4/gl-comp.m4
index 8370c571655..f7d99ca6f44 100644
--- a/m4/gl-comp.m4
+++ b/m4/gl-comp.m4
@@ -25,11 +25,9 @@ AC_DEFUN([gl_EARLY],
25 m4_pattern_allow([^gl_ES$])dnl a valid locale name 25 m4_pattern_allow([^gl_ES$])dnl a valid locale name
26 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable 26 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
27 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable 27 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
28 AC_REQUIRE([AC_PROG_RANLIB]) 28 AC_REQUIRE([gl_PROG_AR_RANLIB])
29 # Code from module alloca-opt: 29 # Code from module alloca-opt:
30 # Code from module allocator: 30 # Code from module allocator:
31 # Code from module arg-nonnull:
32 # Code from module c++defs:
33 # Code from module careadlinkat: 31 # Code from module careadlinkat:
34 # Code from module crypto/md5: 32 # Code from module crypto/md5:
35 # Code from module crypto/sha1: 33 # Code from module crypto/sha1:
@@ -49,13 +47,20 @@ AC_DEFUN([gl_EARLY],
49 # Code from module include_next: 47 # Code from module include_next:
50 # Code from module intprops: 48 # Code from module intprops:
51 # Code from module inttypes-incomplete: 49 # Code from module inttypes-incomplete:
50 # Code from module largefile:
51 AC_REQUIRE([AC_SYS_LARGEFILE])
52 # Code from module lstat: 52 # Code from module lstat:
53 # Code from module mktime: 53 # Code from module mktime:
54 # Code from module multiarch: 54 # Code from module multiarch:
55 # Code from module nocrash:
55 # Code from module pthread_sigmask: 56 # Code from module pthread_sigmask:
56 # Code from module readlink: 57 # Code from module readlink:
57 # Code from module signal: 58 # Code from module signal:
58 # Code from module sigprocmask: 59 # Code from module sigprocmask:
60 # Code from module snippet/_Noreturn:
61 # Code from module snippet/arg-nonnull:
62 # Code from module snippet/c++defs:
63 # Code from module snippet/warn-on-use:
59 # Code from module socklen: 64 # Code from module socklen:
60 # Code from module ssize_t: 65 # Code from module ssize_t:
61 # Code from module stat: 66 # Code from module stat:
@@ -82,7 +87,6 @@ AC_DEFUN([gl_EARLY],
82 # Code from module u64: 87 # Code from module u64:
83 # Code from module unistd: 88 # Code from module unistd:
84 # Code from module verify: 89 # Code from module verify:
85 # Code from module warn-on-use:
86]) 90])
87 91
88# This macro should be invoked from ./configure.in, in the section 92# This macro should be invoked from ./configure.in, in the section
@@ -109,6 +113,9 @@ gl_SHA256
109gl_SHA512 113gl_SHA512
110AC_REQUIRE([gl_C99_STRTOLD]) 114AC_REQUIRE([gl_C99_STRTOLD])
111gl_FUNC_DUP2 115gl_FUNC_DUP2
116if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
117 AC_LIBOBJ([dup2])
118fi
112gl_UNISTD_MODULE_INDICATOR([dup2]) 119gl_UNISTD_MODULE_INDICATOR([dup2])
113gl_FILEMODE 120gl_FILEMODE
114gl_GETLOADAVG 121gl_GETLOADAVG
@@ -148,6 +155,7 @@ gl_MULTIARCH
148gl_FUNC_PTHREAD_SIGMASK 155gl_FUNC_PTHREAD_SIGMASK
149if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then 156if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then
150 AC_LIBOBJ([pthread_sigmask]) 157 AC_LIBOBJ([pthread_sigmask])
158 gl_PREREQ_PTHREAD_SIGMASK
151fi 159fi
152gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask]) 160gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])
153gl_FUNC_READLINK 161gl_FUNC_READLINK
@@ -167,13 +175,13 @@ gl_STDIO_H
167gl_STDLIB_H 175gl_STDLIB_H
168gl_FUNC_GNU_STRFTIME 176gl_FUNC_GNU_STRFTIME
169gl_FUNC_STRTOIMAX 177gl_FUNC_STRTOIMAX
170if test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no; then 178if test $ac_cv_func_strtoimax = no; then
171 AC_LIBOBJ([strtoimax]) 179 AC_LIBOBJ([strtoimax])
172 gl_PREREQ_STRTOIMAX 180 gl_PREREQ_STRTOIMAX
173fi 181fi
174gl_INTTYPES_MODULE_INDICATOR([strtoimax]) 182gl_INTTYPES_MODULE_INDICATOR([strtoimax])
175gl_FUNC_STRTOUMAX 183gl_FUNC_STRTOUMAX
176if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then 184if test $ac_cv_func_strtoumax = no; then
177 AC_LIBOBJ([strtoumax]) 185 AC_LIBOBJ([strtoumax])
178 gl_PREREQ_STRTOUMAX 186 gl_PREREQ_STRTOUMAX
179fi 187fi
@@ -290,16 +298,16 @@ gl_STDLIB_MODULE_INDICATOR([strtoull])
290 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then 298 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
291 func_gl_gnulib_m4code_stat 299 func_gl_gnulib_m4code_stat
292 fi 300 fi
293 if test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no; then 301 if test $ac_cv_func_strtoimax = no; then
294 func_gl_gnulib_m4code_verify 302 func_gl_gnulib_m4code_verify
295 fi 303 fi
296 if test "$ac_cv_have_decl_strtoimax" != yes && test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes; then 304 if test $ac_cv_func_strtoimax = no && test $ac_cv_type_long_long_int = yes; then
297 func_gl_gnulib_m4code_strtoll 305 func_gl_gnulib_m4code_strtoll
298 fi 306 fi
299 if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no; then 307 if test $ac_cv_func_strtoumax = no; then
300 func_gl_gnulib_m4code_verify 308 func_gl_gnulib_m4code_verify
301 fi 309 fi
302 if test "$ac_cv_have_decl_strtoumax" != yes && test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes; then 310 if test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes; then
303 func_gl_gnulib_m4code_strtoull 311 func_gl_gnulib_m4code_strtoull
304 fi 312 fi
305 m4_pattern_allow([^gl_GNULIB_ENABLED_]) 313 m4_pattern_allow([^gl_GNULIB_ENABLED_])
@@ -451,9 +459,10 @@ AC_DEFUN([gltests_LIBSOURCES], [
451# This macro records the list of files which have been installed by 459# This macro records the list of files which have been installed by
452# gnulib-tool and may be removed by future gnulib-tool invocations. 460# gnulib-tool and may be removed by future gnulib-tool invocations.
453AC_DEFUN([gl_FILE_LIST], [ 461AC_DEFUN([gl_FILE_LIST], [
454 build-aux/arg-nonnull.h 462 build-aux/snippet/_Noreturn.h
455 build-aux/c++defs.h 463 build-aux/snippet/arg-nonnull.h
456 build-aux/warn-on-use.h 464 build-aux/snippet/c++defs.h
465 build-aux/snippet/warn-on-use.h
457 lib/alloca.in.h 466 lib/alloca.in.h
458 lib/allocator.c 467 lib/allocator.c
459 lib/allocator.h 468 lib/allocator.h
@@ -523,11 +532,13 @@ AC_DEFUN([gl_FILE_LIST], [
523 m4/gnulib-common.m4 532 m4/gnulib-common.m4
524 m4/include_next.m4 533 m4/include_next.m4
525 m4/inttypes.m4 534 m4/inttypes.m4
535 m4/largefile.m4
526 m4/longlong.m4 536 m4/longlong.m4
527 m4/lstat.m4 537 m4/lstat.m4
528 m4/md5.m4 538 m4/md5.m4
529 m4/mktime.m4 539 m4/mktime.m4
530 m4/multiarch.m4 540 m4/multiarch.m4
541 m4/nocrash.m4
531 m4/pthread_sigmask.m4 542 m4/pthread_sigmask.m4
532 m4/readlink.m4 543 m4/readlink.m4
533 m4/sha1.m4 544 m4/sha1.m4
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index 843efe05181..8fc448fdc8f 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,4 +1,4 @@
1# gnulib-common.m4 serial 26 1# gnulib-common.m4 serial 30
2dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. 2dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -12,6 +12,19 @@ AC_DEFUN([gl_COMMON], [
12 AC_REQUIRE([gl_COMMON_BODY]) 12 AC_REQUIRE([gl_COMMON_BODY])
13]) 13])
14AC_DEFUN([gl_COMMON_BODY], [ 14AC_DEFUN([gl_COMMON_BODY], [
15 AH_VERBATIM([_Noreturn],
16[/* The _Noreturn keyword of draft C1X. */
17#ifndef _Noreturn
18# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
19 || 0x5110 <= __SUNPRO_C)
20# define _Noreturn __attribute__ ((__noreturn__))
21# elif 1200 <= _MSC_VER
22# define _Noreturn __declspec (noreturn)
23# else
24# define _Noreturn
25# endif
26#endif
27])
15 AH_VERBATIM([isoc99_inline], 28 AH_VERBATIM([isoc99_inline],
16[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 29[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
17 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 30 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
@@ -198,6 +211,60 @@ m4_ifndef([AS_VAR_IF],
198[m4_define([AS_VAR_IF], 211[m4_define([AS_VAR_IF],
199[AS_IF([test x"AS_VAR_GET([$1])" = x""$2], [$3], [$4])])]) 212[AS_IF([test x"AS_VAR_GET([$1])" = x""$2], [$3], [$4])])])
200 213
214# gl_PROG_AR_RANLIB
215# Determines the values for AR, ARFLAGS, RANLIB that fit with the compiler.
216# The user can set the variables AR, ARFLAGS, RANLIB if he wants to override
217# the values.
218AC_DEFUN([gl_PROG_AR_RANLIB],
219[
220 dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler
221 dnl as "cc", and GCC as "gcc". They have different object file formats and
222 dnl library formats. In particular, the GNU binutils programs ar, ranlib
223 dnl produce libraries that work only with gcc, not with cc.
224 AC_REQUIRE([AC_PROG_CC])
225 AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler],
226 [
227 AC_EGREP_CPP([Amsterdam],
228 [
229#ifdef __ACK__
230Amsterdam
231#endif
232 ],
233 [gl_cv_c_amsterdam_compiler=yes],
234 [gl_cv_c_amsterdam_compiler=no])
235 ])
236 if test -z "$AR"; then
237 if test $gl_cv_c_amsterdam_compiler = yes; then
238 AR='cc -c.a'
239 if test -z "$ARFLAGS"; then
240 ARFLAGS='-o'
241 fi
242 else
243 dnl Use the Automake-documented default values for AR and ARFLAGS,
244 dnl but prefer ${host}-ar over ar (useful for cross-compiling).
245 AC_CHECK_TOOL([AR], [ar], [ar])
246 if test -z "$ARFLAGS"; then
247 ARFLAGS='cru'
248 fi
249 fi
250 else
251 if test -z "$ARFLAGS"; then
252 ARFLAGS='cru'
253 fi
254 fi
255 AC_SUBST([AR])
256 AC_SUBST([ARFLAGS])
257 if test -z "$RANLIB"; then
258 if test $gl_cv_c_amsterdam_compiler = yes; then
259 RANLIB=':'
260 else
261 dnl Use the ranlib program if it is available.
262 AC_PROG_RANLIB
263 fi
264 fi
265 AC_SUBST([RANLIB])
266])
267
201# AC_PROG_MKDIR_P 268# AC_PROG_MKDIR_P
202# is a backport of autoconf-2.60's AC_PROG_MKDIR_P, with a fix 269# is a backport of autoconf-2.60's AC_PROG_MKDIR_P, with a fix
203# for interoperability with automake-1.9.6 from autoconf-2.62. 270# for interoperability with automake-1.9.6 from autoconf-2.62.
diff --git a/m4/include_next.m4 b/m4/include_next.m4
index b3c78491855..ebf081a1101 100644
--- a/m4/include_next.m4
+++ b/m4/include_next.m4
@@ -1,4 +1,4 @@
1# include_next.m4 serial 18 1# include_next.m4 serial 20
2dnl Copyright (C) 2006-2011 Free Software Foundation, Inc. 2dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -175,11 +175,13 @@ AC_DEFUN([gl_NEXT_HEADERS_INTERNAL],
175 [AC_CHECK_HEADERS_ONCE([$1]) 175 [AC_CHECK_HEADERS_ONCE([$1])
176 ]) 176 ])
177 177
178dnl FIXME: gl_next_header and gl_header_exists must be used unquoted
179dnl until we can assume autoconf 2.64 or newer.
178 m4_foreach_w([gl_HEADER_NAME], [$1], 180 m4_foreach_w([gl_HEADER_NAME], [$1],
179 [AS_VAR_PUSHDEF([gl_next_header], 181 [AS_VAR_PUSHDEF([gl_next_header],
180 [gl_cv_next_]m4_defn([gl_HEADER_NAME])) 182 [gl_cv_next_]m4_defn([gl_HEADER_NAME]))
181 if test $gl_cv_have_include_next = yes; then 183 if test $gl_cv_have_include_next = yes; then
182 AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) 184 AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>'])
183 else 185 else
184 AC_CACHE_CHECK( 186 AC_CACHE_CHECK(
185 [absolute name of <]m4_defn([gl_HEADER_NAME])[>], 187 [absolute name of <]m4_defn([gl_HEADER_NAME])[>],
@@ -208,7 +210,7 @@ AC_DEFUN([gl_NEXT_HEADERS_INTERNAL],
208 dnl eval is necessary to expand gl_absname_cpp. 210 dnl eval is necessary to expand gl_absname_cpp.
209 dnl Ultrix and Pyramid sh refuse to redirect output of eval, 211 dnl Ultrix and Pyramid sh refuse to redirect output of eval,
210 dnl so use subshell. 212 dnl so use subshell.
211 AS_VAR_SET([gl_next_header], 213 AS_VAR_SET(gl_next_header,
212 ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | 214 ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
213 sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{ 215 sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{
214 s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1# 216 s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1#
@@ -218,20 +220,20 @@ AC_DEFUN([gl_NEXT_HEADERS_INTERNAL],
218 }'`'"']) 220 }'`'"'])
219 m4_if([$2], [check], 221 m4_if([$2], [check],
220 [else 222 [else
221 AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) 223 AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>'])
222 fi 224 fi
223 ]) 225 ])
224 ]) 226 ])
225 fi 227 fi
226 AC_SUBST( 228 AC_SUBST(
227 AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), 229 AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])),
228 [AS_VAR_GET([gl_next_header])]) 230 [AS_VAR_GET(gl_next_header)])
229 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then 231 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
230 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' 232 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
231 gl_next_as_first_directive='<'gl_HEADER_NAME'>' 233 gl_next_as_first_directive='<'gl_HEADER_NAME'>'
232 else 234 else
233 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' 235 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
234 gl_next_as_first_directive=AS_VAR_GET([gl_next_header]) 236 gl_next_as_first_directive=AS_VAR_GET(gl_next_header)
235 fi 237 fi
236 AC_SUBST( 238 AC_SUBST(
237 AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), 239 AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])),
diff --git a/m4/largefile.m4 b/m4/largefile.m4
new file mode 100644
index 00000000000..d83fea1233d
--- /dev/null
+++ b/m4/largefile.m4
@@ -0,0 +1,104 @@
1# Enable large files on systems where this is not the default.
2
3# Copyright 1992-1996, 1998-2011 Free Software Foundation, Inc.
4# This file is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# The following implementation works around a problem in autoconf <= 2.68;
9# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5.
10m4_version_prereq([2.69], [] ,[
11
12# _AC_SYS_LARGEFILE_TEST_INCLUDES
13# -------------------------------
14m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES],
15[@%:@include <sys/types.h>
16 /* Check that off_t can represent 2**63 - 1 correctly.
17 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18 since some C++ compilers masquerading as C compilers
19 incorrectly reject 9223372036854775807. */
20@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
21 int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
22 && LARGE_OFF_T % 2147483647 == 1)
23 ? 1 : -1]];[]dnl
24])
25
26
27# _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE,
28# CACHE-VAR,
29# DESCRIPTION,
30# PROLOGUE, [FUNCTION-BODY])
31# --------------------------------------------------------
32m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE],
33[AC_CACHE_CHECK([for $1 value needed for large files], [$3],
34[while :; do
35 m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])(
36 [AC_LANG_PROGRAM([$5], [$6])],
37 [$3=no; break])
38 m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])(
39 [AC_LANG_PROGRAM([@%:@define $1 $2
40$5], [$6])],
41 [$3=$2; break])
42 $3=unknown
43 break
44done])
45case $$3 in #(
46 no | unknown) ;;
47 *) AC_DEFINE_UNQUOTED([$1], [$$3], [$4]);;
48esac
49rm -rf conftest*[]dnl
50])# _AC_SYS_LARGEFILE_MACRO_VALUE
51
52
53# AC_SYS_LARGEFILE
54# ----------------
55# By default, many hosts won't let programs access large files;
56# one must use special compiler options to get large-file access to work.
57# For more details about this brain damage please see:
58# http://www.unix-systems.org/version2/whatsnew/lfs20mar.html
59AC_DEFUN([AC_SYS_LARGEFILE],
60[AC_ARG_ENABLE(largefile,
61 [ --disable-largefile omit support for large files])
62if test "$enable_largefile" != no; then
63
64 AC_CACHE_CHECK([for special C compiler options needed for large files],
65 ac_cv_sys_largefile_CC,
66 [ac_cv_sys_largefile_CC=no
67 if test "$GCC" != yes; then
68 ac_save_CC=$CC
69 while :; do
70 # IRIX 6.2 and later do not support large files by default,
71 # so use the C compiler's -n32 option if that helps.
72 AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
73 AC_COMPILE_IFELSE([], [break])
74 CC="$CC -n32"
75 AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
76 break
77 done
78 CC=$ac_save_CC
79 rm -f conftest.$ac_ext
80 fi])
81 if test "$ac_cv_sys_largefile_CC" != no; then
82 CC=$CC$ac_cv_sys_largefile_CC
83 fi
84
85 _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
86 ac_cv_sys_file_offset_bits,
87 [Number of bits in a file offset, on hosts where this is settable.],
88 [_AC_SYS_LARGEFILE_TEST_INCLUDES])
89 if test $ac_cv_sys_file_offset_bits = unknown; then
90 _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
91 ac_cv_sys_large_files,
92 [Define for large files, on AIX-style hosts.],
93 [_AC_SYS_LARGEFILE_TEST_INCLUDES])
94 fi
95
96 AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],
97[/* Enable large inode numbers on Mac OS X. */
98#ifndef _DARWIN_USE_64_BIT_INODE
99# define _DARWIN_USE_64_BIT_INODE 1
100#endif])
101fi
102])# AC_SYS_LARGEFILE
103
104])# m4_version_prereq 2.69
diff --git a/m4/nocrash.m4 b/m4/nocrash.m4
new file mode 100644
index 00000000000..0cc0d53ebf7
--- /dev/null
+++ b/m4/nocrash.m4
@@ -0,0 +1,102 @@
1# nocrash.m4 serial 2
2dnl Copyright (C) 2005, 2009-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7dnl Based on libsigsegv, from Bruno Haible and Paolo Bonzini.
8
9AC_PREREQ([2.13])
10
11dnl Expands to some code for use in .c programs that will cause the configure
12dnl test to exit instead of crashing. This is useful to avoid triggering
13dnl action from a background debugger and to avoid core dumps.
14dnl Usage: ...
15dnl ]GL_NOCRASH[
16dnl ...
17dnl int main() { nocrash_init(); ... }
18AC_DEFUN([GL_NOCRASH],[[
19#include <stdlib.h>
20#if defined __MACH__ && defined __APPLE__
21/* Avoid a crash on MacOS X. */
22#include <mach/mach.h>
23#include <mach/mach_error.h>
24#include <mach/thread_status.h>
25#include <mach/exception.h>
26#include <mach/task.h>
27#include <pthread.h>
28/* The exception port on which our thread listens. */
29static mach_port_t our_exception_port;
30/* The main function of the thread listening for exceptions of type
31 EXC_BAD_ACCESS. */
32static void *
33mach_exception_thread (void *arg)
34{
35 /* Buffer for a message to be received. */
36 struct {
37 mach_msg_header_t head;
38 mach_msg_body_t msgh_body;
39 char data[1024];
40 } msg;
41 mach_msg_return_t retval;
42 /* Wait for a message on the exception port. */
43 retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
44 our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
45 if (retval != MACH_MSG_SUCCESS)
46 abort ();
47 exit (1);
48}
49static void
50nocrash_init (void)
51{
52 mach_port_t self = mach_task_self ();
53 /* Allocate a port on which the thread shall listen for exceptions. */
54 if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
55 == KERN_SUCCESS) {
56 /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
57 if (mach_port_insert_right (self, our_exception_port, our_exception_port,
58 MACH_MSG_TYPE_MAKE_SEND)
59 == KERN_SUCCESS) {
60 /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
61 for us. */
62 exception_mask_t mask = EXC_MASK_BAD_ACCESS;
63 /* Create the thread listening on the exception port. */
64 pthread_attr_t attr;
65 pthread_t thread;
66 if (pthread_attr_init (&attr) == 0
67 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
68 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
69 pthread_attr_destroy (&attr);
70 /* Replace the exception port info for these exceptions with our own.
71 Note that we replace the exception port for the entire task, not only
72 for a particular thread. This has the effect that when our exception
73 port gets the message, the thread specific exception port has already
74 been asked, and we don't need to bother about it.
75 See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
76 task_set_exception_ports (self, mask, our_exception_port,
77 EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
78 }
79 }
80 }
81}
82#else
83/* Avoid a crash on POSIX systems. */
84#include <signal.h>
85/* A POSIX signal handler. */
86static void
87exception_handler (int sig)
88{
89 exit (1);
90}
91static void
92nocrash_init (void)
93{
94#ifdef SIGSEGV
95 signal (SIGSEGV, exception_handler);
96#endif
97#ifdef SIGBUS
98 signal (SIGBUS, exception_handler);
99#endif
100}
101#endif
102]])
diff --git a/m4/pthread_sigmask.m4 b/m4/pthread_sigmask.m4
index e98d8e0f4ea..f06bc119ff3 100644
--- a/m4/pthread_sigmask.m4
+++ b/m4/pthread_sigmask.m4
@@ -1,4 +1,4 @@
1# pthread_sigmask.m4 serial 7-emacs1 1# pthread_sigmask.m4 serial 12
2dnl Copyright (C) 2011 Free Software Foundation, Inc. 2dnl Copyright (C) 2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -8,20 +8,240 @@ AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK],
8[ 8[
9 AC_CHECK_FUNCS_ONCE([pthread_sigmask]) 9 AC_CHECK_FUNCS_ONCE([pthread_sigmask])
10 LIB_PTHREAD_SIGMASK= 10 LIB_PTHREAD_SIGMASK=
11 dnl gl_THREADLIB is not in use. Assume the application wants 11
12 dnl POSIX semantics. 12 dnl Test whether the gnulib module 'threadlib' is in use.
13 if test $ac_cv_func_pthread_sigmask != yes; then 13 dnl Some packages like Emacs use --avoid=threadlib.
14 gl_save_LIBS=$LIBS 14 dnl Write the symbol in such a way that it does not cause 'aclocal' to pick
15 AC_SEARCH_LIBS([pthread_sigmask], [pthread c_r]) 15 dnl the threadlib.m4 file that is installed in $PREFIX/share/aclocal/.
16 LIBS=$gl_save_LIBS 16 m4_ifdef([gl_][THREADLIB], [
17 if test "$ac_cv_search_pthread_sigmask" = no; then 17 AC_REQUIRE([gl_][THREADLIB])
18
19 if test "$gl_threads_api" = posix; then
20 if test $ac_cv_func_pthread_sigmask = yes; then
21 dnl pthread_sigmask is available without -lpthread.
22 :
23 else
24 if test -n "$LIBMULTITHREAD"; then
25 AC_CACHE_CHECK([for pthread_sigmask in $LIBMULTITHREAD],
26 [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD],
27 [gl_save_LIBS="$LIBS"
28 LIBS="$LIBS $LIBMULTITHREAD"
29 AC_LINK_IFELSE(
30 [AC_LANG_PROGRAM(
31 [[#include <pthread.h>
32 #include <signal.h>
33 ]],
34 [[return pthread_sigmask (0, (sigset_t *) 0, (sigset_t *) 0);]])
35 ],
36 [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=yes],
37 [gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD=no])
38 LIBS="$gl_save_LIBS"
39 ])
40 if test $gl_cv_func_pthread_sigmask_in_LIBMULTITHREAD = yes; then
41 dnl pthread_sigmask is available with -lpthread.
42 LIB_PTHREAD_SIGMASK="$LIBMULTITHREAD"
43 else
44 dnl pthread_sigmask is not available at all.
45 HAVE_PTHREAD_SIGMASK=0
46 fi
47 else
48 dnl pthread_sigmask is not available at all.
49 HAVE_PTHREAD_SIGMASK=0
50 fi
51 fi
52 else
53 dnl pthread_sigmask may exist but does not interoperate with the chosen
54 dnl multithreading facility.
55 dnl If "$gl_threads_api" = pth, we could use the function pth_sigmask,
56 dnl but it is equivalent to sigprocmask, so we choose to emulate
57 dnl pthread_sigmask with sigprocmask also in this case. This yields fewer
58 dnl link dependencies.
59 if test $ac_cv_func_pthread_sigmask = yes; then
60 REPLACE_PTHREAD_SIGMASK=1
61 else
18 HAVE_PTHREAD_SIGMASK=0 62 HAVE_PTHREAD_SIGMASK=0
19 elif test "$ac_cv_search_pthread_sigmask" != 'none required'; then
20 LIB_PTHREAD_SIGMASK=$ac_cv_search_pthread_sigmask
21 fi 63 fi
22 fi 64 fi
65 ], [
66 dnl The module 'threadlib' is not in use, due to --avoid=threadlib being
67 dnl specified.
68 dnl The package either has prepared CPPFLAGS and LIBS for use of POSIX:2008
69 dnl threads, or wants to build single-threaded programs.
70 if test $ac_cv_func_pthread_sigmask = yes; then
71 dnl pthread_sigmask exists and does not require extra libraries.
72 dnl Assume that it is declared.
73 :
74 else
75 dnl pthread_sigmask either does not exist or needs extra libraries.
76 HAVE_PTHREAD_SIGMASK=0
77 dnl Define the symbol rpl_pthread_sigmask, not pthread_sigmask,
78 dnl so as to not accidentally override the system's pthread_sigmask
79 dnl symbol from libpthread. This is necessary on IRIX 6.5.
80 REPLACE_PTHREAD_SIGMASK=1
81 fi
82 ])
83
23 AC_SUBST([LIB_PTHREAD_SIGMASK]) 84 AC_SUBST([LIB_PTHREAD_SIGMASK])
24 dnl We don't need a variable LTLIB_PTHREAD_SIGMASK, because when 85 dnl We don't need a variable LTLIB_PTHREAD_SIGMASK, because when
25 dnl "$gl_threads_api" = posix, $LTLIBMULTITHREAD and $LIBMULTITHREAD are the 86 dnl "$gl_threads_api" = posix, $LTLIBMULTITHREAD and $LIBMULTITHREAD are the
26 dnl same: either both empty or both "-lpthread". 87 dnl same: either both empty or both "-lpthread".
88
89 dnl Now test for some bugs in the system function.
90 if test $HAVE_PTHREAD_SIGMASK = 1; then
91 AC_REQUIRE([AC_PROG_CC])
92 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
93
94 dnl On FreeBSD 6.4, HP-UX 11.31, Solaris 9, in programs that are not linked
95 dnl with -lpthread, the pthread_sigmask() function always returns 0 and has
96 dnl no effect.
97 if test -z "$LIB_PTHREAD_SIGMASK"; then
98 AC_CACHE_CHECK([whether pthread_sigmask works without -lpthread],
99 [gl_cv_func_pthread_sigmask_in_libc_works],
100 [
101 AC_RUN_IFELSE(
102 [AC_LANG_SOURCE([[
103#include <pthread.h>
104#include <signal.h>
105#include <stddef.h>
106int main ()
107{
108 sigset_t set;
109 sigemptyset (&set);
110 return pthread_sigmask (1729, &set, NULL) != 0;
111}]])],
112 [gl_cv_func_pthread_sigmask_in_libc_works=no],
113 [gl_cv_func_pthread_sigmask_in_libc_works=yes],
114 [
115changequote(,)dnl
116 case "$host_os" in
117 freebsd* | hpux* | solaris | solaris2.[2-9]*)
118 gl_cv_func_pthread_sigmask_in_libc_works="guessing no";;
119 *)
120 gl_cv_func_pthread_sigmask_in_libc_works="guessing yes";;
121 esac
122changequote([,])dnl
123 ])
124 ])
125 case "$gl_cv_func_pthread_sigmask_in_libc_works" in
126 *no)
127 REPLACE_PTHREAD_SIGMASK=1
128 AC_DEFINE([PTHREAD_SIGMASK_INEFFECTIVE], [1],
129 [Define to 1 if pthread_sigmask() may returns 0 and have no effect.])
130 ;;
131 esac
132 fi
133
134 dnl On Cygwin 1.7.5, the pthread_sigmask() has a wrong return value
135 dnl convention: Upon failure, it returns -1 and sets errno.
136 AC_CACHE_CHECK([whether pthread_sigmask returns error numbers],
137 [gl_cv_func_pthread_sigmask_return_works],
138 [
139 gl_save_LIBS="$LIBS"
140 LIBS="$LIBS $LIB_PTHREAD_SIGMASK"
141 AC_RUN_IFELSE(
142 [AC_LANG_SOURCE([[
143#include <pthread.h>
144#include <signal.h>
145#include <stddef.h>
146int main ()
147{
148 sigset_t set;
149 sigemptyset (&set);
150 if (pthread_sigmask (1729, &set, NULL) == -1)
151 return 1;
152 return 0;
153}]])],
154 [gl_cv_func_pthread_sigmask_return_works=yes],
155 [gl_cv_func_pthread_sigmask_return_works=no],
156 [case "$host_os" in
157 cygwin*)
158 gl_cv_func_pthread_sigmask_return_works="guessing no";;
159 *)
160 gl_cv_func_pthread_sigmask_return_works="guessing yes";;
161 esac
162 ])
163 LIBS="$gl_save_LIBS"
164 ])
165 case "$gl_cv_func_pthread_sigmask_return_works" in
166 *no)
167 REPLACE_PTHREAD_SIGMASK=1
168 AC_DEFINE([PTHREAD_SIGMASK_FAILS_WITH_ERRNO], [1],
169 [Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.])
170 ;;
171 esac
172
173 dnl On IRIX 6.5, in a single-threaded program, pending signals are not
174 dnl immediately delivered when they are unblocked through pthread_sigmask,
175 dnl only a little while later.
176 AC_CACHE_CHECK([whether pthread_sigmask unblocks signals correctly],
177 [gl_cv_func_pthread_sigmask_unblock_works],
178 [
179 case "$host_os" in
180 irix*)
181 gl_cv_func_pthread_sigmask_unblock_works="guessing no";;
182 *)
183 gl_cv_func_pthread_sigmask_unblock_works="guessing yes";;
184 esac
185 dnl Here we link against $LIBMULTITHREAD, not only $LIB_PTHREAD_SIGMASK,
186 dnl otherwise we get a false positive on those platforms where
187 dnl $gl_cv_func_pthread_sigmask_in_libc_works is "no".
188 gl_save_LIBS="$LIBS"
189 LIBS="$LIBS $LIBMULTITHREAD"
190 AC_RUN_IFELSE(
191 [AC_LANG_SOURCE([[
192#include <pthread.h>
193#include <signal.h>
194#include <stdio.h>
195#include <stdlib.h>
196#include <unistd.h>
197static volatile int sigint_occurred;
198static void
199sigint_handler (int sig)
200{
201 sigint_occurred++;
202}
203int main ()
204{
205 sigset_t set;
206 int pid = getpid ();
207 char command[80];
208 signal (SIGINT, sigint_handler);
209 sigemptyset (&set);
210 sigaddset (&set, SIGINT);
211 if (!(pthread_sigmask (SIG_BLOCK, &set, NULL) == 0))
212 return 1;
213 sprintf (command, "sh -c 'sleep 1; kill -%d %d' &", SIGINT, pid);
214 if (!(system (command) == 0))
215 return 2;
216 sleep (2);
217 if (!(sigint_occurred == 0))
218 return 3;
219 if (!(pthread_sigmask (SIG_UNBLOCK, &set, NULL) == 0))
220 return 4;
221 if (!(sigint_occurred == 1)) /* This fails on IRIX. */
222 return 5;
223 return 0;
224}]])],
225 [:],
226 [gl_cv_func_pthread_sigmask_unblock_works=no],
227 [:])
228 LIBS="$gl_save_LIBS"
229 ])
230 case "$gl_cv_func_pthread_sigmask_unblock_works" in
231 *no)
232 REPLACE_PTHREAD_SIGMASK=1
233 AC_DEFINE([PTHREAD_SIGMASK_UNBLOCK_BUG], [1],
234 [Define to 1 if pthread_sigmask() unblocks signals incorrectly.])
235 ;;
236 esac
237 fi
238])
239
240# Prerequisite of lib/pthread_sigmask.c.
241AC_DEFUN([gl_PREREQ_PTHREAD_SIGMASK],
242[
243 if test $HAVE_PTHREAD_SIGMASK = 1; then
244 AC_DEFINE([HAVE_PTHREAD_SIGMASK], [1],
245 [Define to 1 if the pthread_sigmask function can be used (despite bugs).])
246 fi
27]) 247])
diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4
index 47fb1bc9c38..a8d0b69c205 100644
--- a/m4/strtoimax.m4
+++ b/m4/strtoimax.m4
@@ -1,4 +1,4 @@
1# strtoimax.m4 serial 10 1# strtoimax.m4 serial 11
2dnl Copyright (C) 2002-2004, 2006, 2009-2011 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2004, 2006, 2009-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -8,11 +8,11 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
8[ 8[
9 AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) 9 AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
10 10
11 dnl On OSF/1 5.1 with cc, this function is declared but not defined.
12 AC_CHECK_FUNCS_ONCE([strtoimax])
11 AC_CHECK_DECLS_ONCE([strtoimax]) 13 AC_CHECK_DECLS_ONCE([strtoimax])
12 if test "$ac_cv_have_decl_strtoimax" != yes; then 14 if test "$ac_cv_have_decl_strtoimax" != yes; then
13 HAVE_DECL_STRTOIMAX=0 15 HAVE_DECL_STRTOIMAX=0
14
15 AC_CHECK_FUNCS([strtoimax])
16 fi 16 fi
17]) 17])
18 18
diff --git a/m4/strtoumax.m4 b/m4/strtoumax.m4
index 58b310de85a..1ddf6820e3f 100644
--- a/m4/strtoumax.m4
+++ b/m4/strtoumax.m4
@@ -1,4 +1,4 @@
1# strtoumax.m4 serial 10 1# strtoumax.m4 serial 11
2dnl Copyright (C) 2002-2004, 2006, 2009-2011 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2004, 2006, 2009-2011 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -8,11 +8,11 @@ AC_DEFUN([gl_FUNC_STRTOUMAX],
8[ 8[
9 AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) 9 AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
10 10
11 dnl On OSF/1 5.1 with cc, this function is declared but not defined.
12 AC_CHECK_FUNCS_ONCE([strtoumax])
11 AC_CHECK_DECLS_ONCE([strtoumax]) 13 AC_CHECK_DECLS_ONCE([strtoumax])
12 if test "$ac_cv_have_decl_strtoumax" != yes; then 14 if test "$ac_cv_have_decl_strtoumax" != yes; then
13 HAVE_DECL_STRTOUMAX=0 15 HAVE_DECL_STRTOUMAX=0
14
15 AC_CHECK_FUNCS([strtoumax])
16 fi 16 fi
17]) 17])
18 18
diff --git a/make-dist b/make-dist
index e069c71a762..c15fecfd111 100755
--- a/make-dist
+++ b/make-dist
@@ -283,18 +283,16 @@ mkdir ${tempdir}
283### tar file; this means that people can start reading the INSTALL and 283### tar file; this means that people can start reading the INSTALL and
284### README while the rest of the tar file is still unpacking. Whoopee. 284### README while the rest of the tar file is still unpacking. Whoopee.
285echo "Making links to top-level files" 285echo "Making links to top-level files"
286ln INSTALL README BUGS move-if-change ${tempdir} 286ln INSTALL README BUGS ${tempdir}
287ln ChangeLog Makefile.in configure configure.in ${tempdir} 287ln ChangeLog Makefile.in configure configure.in ${tempdir}
288ln config.bat make-dist update-subdirs vpath.sed .dir-locals.el ${tempdir} 288ln config.bat make-dist update-subdirs vpath.sed .dir-locals.el ${tempdir}
289ln config.sub config.guess install-sh ${tempdir}
290ln aclocal.m4 ${tempdir} 289ln aclocal.m4 ${tempdir}
291ln compile depcomp missing ${tempdir}
292ln arg-nonnull.h c++defs.h warn-on-use.h ${tempdir}
293 290
294echo "Creating subdirectories" 291echo "Creating subdirectories"
295for subdir in site-lisp \ 292for subdir in site-lisp \
296 leim leim/CXTERM-DIC leim/MISC-DIC \ 293 leim leim/CXTERM-DIC leim/MISC-DIC \
297 leim/SKK-DIC leim/ja-dic leim/quail \ 294 leim/SKK-DIC leim/ja-dic leim/quail \
295 build-aux build-aux/snippet \
298 src src/m src/s src/bitmaps lib lib-src oldXMenu lwlib \ 296 src src/m src/s src/bitmaps lib lib-src oldXMenu lwlib \
299 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ 297 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
300 `find etc lisp admin -type d` \ 298 `find etc lisp admin -type d` \
@@ -346,6 +344,15 @@ echo "Making links to \`leim' and its subdirectories"
346 rm -f ../${tempdir}/leim/quail/tsang-b5.* 344 rm -f ../${tempdir}/leim/quail/tsang-b5.*
347 rm -f ../${tempdir}/leim/quail/tsang-cns.*) 345 rm -f ../${tempdir}/leim/quail/tsang-cns.*)
348 346
347echo "Making links to \`build-aux'"
348(cd build-aux
349 ln compile config.guess config.sub depcomp ../${tempdir}/build-aux
350 ln install-sh missing move-if-change ../${tempdir}/build-aux)
351
352echo "Making links to \`build-aux/snippet'"
353(cd build-aux/snippet
354 ln *.h ../../${tempdir}/build-aux/snippet)
355
349echo "Making links to \`src'" 356echo "Making links to \`src'"
350### Don't distribute the configured versions of 357### Don't distribute the configured versions of
351### config.in, paths.in, buildobj.h, or Makefile.in. 358### config.in, paths.in, buildobj.h, or Makefile.in.
@@ -373,12 +380,13 @@ echo "Making links to \`src/s'"
373 ln README [a-zA-Z0-9]*.h ../../${tempdir}/src/s) 380 ln README [a-zA-Z0-9]*.h ../../${tempdir}/src/s)
374 381
375echo "Making links to \`lib'" 382echo "Making links to \`lib'"
376(build_aux_h=`(ls *.h)` 383(snippet_h=`(cd build-aux/snippet && ls *.h)`
377 cd lib 384 cd lib
378 ln [a-zA-Z]*.[ch] ../${tempdir}/lib 385 ln [a-zA-Z]*.[ch] ../${tempdir}/lib
379 ln gnulib.mk Makefile.am Makefile.in ../${tempdir}/lib 386 ln gnulib.mk Makefile.am Makefile.in ../${tempdir}/lib
380 cd ../${tempdir}/lib 387 cd ../${tempdir}/lib
381 rm -f `(echo "$build_aux_h"; ls *.in.h) | sed '/[*]/d; s/.in.h$/.h/'`) 388 script='/[*]/d; s/\.in\.h$/.h/'
389 rm -f `(echo "$snippet_h"; ls *.in.h) | sed "$script"`)
382 390
383echo "Making links to \`lib-src'" 391echo "Making links to \`lib-src'"
384(cd lib-src 392(cd lib-src
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index e1ce2a312e0..46a5b69cc16 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,8 @@
12011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
4 from top level to build-aux/snippet (Bug#9169).
5
12011-06-07 Eli Zaretskii <eliz@gnu.org> 62011-06-07 Eli Zaretskii <eliz@gnu.org>
2 7
3 * sedlibmk.inp (PTRDIFF_T_SUFFIX): Edit to nothing. 8 * sedlibmk.inp (PTRDIFF_T_SUFFIX): Edit to nothing.
diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp
index 3860203d2bf..a97ec7cb5f6 100644
--- a/msdos/sedlibmk.inp
+++ b/msdos/sedlibmk.inp
@@ -569,11 +569,11 @@ s/^@GL_GENERATE_STDDEF_H_FALSE@/\#/
569s/^@GL_GENERATE_STDINT_H_TRUE@// 569s/^@GL_GENERATE_STDINT_H_TRUE@//
570s/^@GL_GENERATE_STDINT_H_FALSE@/\#/ 570s/^@GL_GENERATE_STDINT_H_FALSE@/\#/
571/^arg-nonnull\.h:/,/^[ ][ ]*mv /c\ 571/^arg-nonnull\.h:/,/^[ ][ ]*mv /c\
572arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h\ 572arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h\
573 sed -n -e '/GL_ARG_NONNULL/,$$p' < $(top_srcdir)/./arg-nonnull.h > $@ 573 sed -n -e '/GL_ARG_NONNULL/,$$p' < $(top_srcdir)/build-aux/snippet/arg-nonnull.h > $@
574/^cxxdefs\.h:/,/^[ ][ ]*mv /c\ 574/^cxxdefs\.h:/,/^[ ][ ]*mv /c\
575cxxdefs.h: $(top_srcdir)/./cxxdefs.h\ 575cxxdefs.h: $(top_srcdir)/build-aux/snippet/cxxdefs.h\
576 sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/./cxxdefs.h > $@ 576 sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/build-aux/snippet/cxxdefs.h > $@
577s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/ 577s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/
578s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/ 578s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/
579s/ \&\& \\ *$// 579s/ \&\& \\ *$//
diff --git a/src/ChangeLog b/src/ChangeLog
index 6319c53209c..f1691252778 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,40 @@
12011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 isnan: Fix porting problem to Solaris 10 with bundled gcc.
4 Without this fix, the command to link temacs failed due to an
5 undefined symbol __builtin_isnan. This is because
6 /usr/include/iso/math_c99.h #defines isnan(x) to
7 __builtin_isnan(x), but the bundled gcc, which identifies itself
8 as gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath), does not have
9 a __builtin_isnan.
10 * floatfns.c (isnan): #undef, and then #define to a clone of
11 what's in data.c.
12 (Fisnan): Always define, since it's always available now.
13 (syms_of_floatfns): Always define isnan at the Lisp level.
14
152011-09-06 Paul Eggert <eggert@cs.ucla.edu>
16
17 * Makefile.in (gl-stamp): move-if-change now in build-aux (Bug#9169).
18
192011-09-06 Paul Eggert <eggert@cs.ucla.edu>
20
21 * fileio.c: Fix bugs with large file offsets (Bug#9428).
22 The previous code assumed that file offsets (off_t values) fit in
23 EMACS_INT variables, which is not true on typical 32-bit hosts.
24 The code messed up by falsely reporting buffer overflow in cases
25 such as (insert-file-contents "big" nil 1 2) into an empty buffer
26 when "big" contains more than 2**29 bytes, even though this
27 inserts just one byte and does not overflow the buffer.
28 (Finsert_file_contents): Store file offsets as off_t
29 values, not as EMACS_INT values. Check for overflow when
30 converting between EMACS_INT and off_t. When checking for
31 buffer overflow or for overlap, take the offsets into account.
32 Don't use EMACS_INT for small values where int suffices.
33 When checking for overlap, fix a typo: ZV was used where
34 ZV_BYTE was intended.
35 (Fwrite_region): Don't assume off_t fits into 'long'.
36 * buffer.h (struct buffer.modtime_size): Now off_t, not EMACS_INT.
37
12011-09-05 Michael Albinus <michael.albinus@gmx.de> 382011-09-05 Michael Albinus <michael.albinus@gmx.de>
2 39
3 * dbusbind.c (xd_signature_cat): Rename from signature_cat. 40 * dbusbind.c (xd_signature_cat): Rename from signature_cat.
@@ -1056,7 +1093,7 @@
1056 (re_exec): Fix return type. 1093 (re_exec): Fix return type.
1057 (regexec): Fix type of `ret'. (Bug#9203) 1094 (regexec): Fix type of `ret'. (Bug#9203)
1058 1095
10592011-07-29 Paul Eggert <eggert@cs.ucla.edu> 10962011-07-28 Paul Eggert <eggert@cs.ucla.edu>
1060 1097
1061 * image.c (check_image_size): Use 1024x1024 if unknown frame (Bug#9189). 1098 * image.c (check_image_size): Use 1024x1024 if unknown frame (Bug#9189).
1062 This is needed if max-image-size is a floating-point number. 1099 This is needed if max-image-size is a floating-point number.
diff --git a/src/Makefile.in b/src/Makefile.in
index e5b1c5b4eb8..76101a68f1a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -452,7 +452,7 @@ GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m)
452gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES) 452gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES)
453 @rm -f gl-tmp 453 @rm -f gl-tmp
454 $(libsrc)/make-docfile -d $(srcdir) -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp 454 $(libsrc)/make-docfile -d $(srcdir) -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
455 $(srcdir)/../move-if-change gl-tmp globals.h 455 $(srcdir)/../build-aux/move-if-change gl-tmp globals.h
456 echo timestamp > $@ 456 echo timestamp > $@
457 457
458$(obj) $(otherobj): globals.h 458$(obj) $(otherobj): globals.h
diff --git a/src/buffer.h b/src/buffer.h
index 06864dd5789..c50cfe56c77 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -559,7 +559,7 @@ struct buffer
559 is still the same (since it's rounded up to seconds) but we're actually 559 is still the same (since it's rounded up to seconds) but we're actually
560 not up-to-date. -1 means the size is unknown. Only meaningful if 560 not up-to-date. -1 means the size is unknown. Only meaningful if
561 modtime is actually set. */ 561 modtime is actually set. */
562 EMACS_INT modtime_size; 562 off_t modtime_size;
563 /* The value of text->modiff at the last auto-save. */ 563 /* The value of text->modiff at the last auto-save. */
564 int auto_save_modified; 564 int auto_save_modified;
565 /* The value of text->modiff at the last display error. 565 /* The value of text->modiff at the last display error.
diff --git a/src/fileio.c b/src/fileio.c
index 60ee35bb399..fe0fb593208 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3179,6 +3179,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3179 EMACS_INT inserted = 0; 3179 EMACS_INT inserted = 0;
3180 int nochange = 0; 3180 int nochange = 0;
3181 register EMACS_INT how_much; 3181 register EMACS_INT how_much;
3182 off_t beg_offset, end_offset;
3182 register EMACS_INT unprocessed; 3183 register EMACS_INT unprocessed;
3183 int count = SPECPDL_INDEX (); 3184 int count = SPECPDL_INDEX ();
3184 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; 3185 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5;
@@ -3284,15 +3285,6 @@ variable `last-coding-system-used' to the coding system actually used. */)
3284 record_unwind_protect (close_file_unwind, make_number (fd)); 3285 record_unwind_protect (close_file_unwind, make_number (fd));
3285 3286
3286 3287
3287 /* Check whether the size is too large or negative, which can happen on a
3288 platform that allows file sizes greater than the maximum off_t value. */
3289 if (! not_regular
3290 && ! (0 <= st.st_size && st.st_size <= BUF_BYTES_MAX))
3291 buffer_overflow ();
3292
3293 /* Prevent redisplay optimizations. */
3294 current_buffer->clip_changed = 1;
3295
3296 if (!NILP (visit)) 3288 if (!NILP (visit))
3297 { 3289 {
3298 if (!NILP (beg) || !NILP (end)) 3290 if (!NILP (beg) || !NILP (end))
@@ -3302,26 +3294,64 @@ variable `last-coding-system-used' to the coding system actually used. */)
3302 } 3294 }
3303 3295
3304 if (!NILP (beg)) 3296 if (!NILP (beg))
3305 CHECK_NUMBER (beg); 3297 {
3298 if (! (RANGED_INTEGERP (0, beg, TYPE_MAXIMUM (off_t))))
3299 wrong_type_argument (intern ("file-offset"), beg);
3300 beg_offset = XFASTINT (beg);
3301 }
3306 else 3302 else
3307 XSETFASTINT (beg, 0); 3303 beg_offset = 0;
3308 3304
3309 if (!NILP (end)) 3305 if (!NILP (end))
3310 CHECK_NUMBER (end); 3306 {
3307 if (! (RANGED_INTEGERP (0, end, TYPE_MAXIMUM (off_t))))
3308 wrong_type_argument (intern ("file-offset"), end);
3309 end_offset = XFASTINT (end);
3310 }
3311 else 3311 else
3312 { 3312 {
3313 if (! not_regular) 3313 if (not_regular)
3314 end_offset = TYPE_MAXIMUM (off_t);
3315 else
3314 { 3316 {
3315 XSETINT (end, st.st_size); 3317 end_offset = st.st_size;
3318
3319 /* A negative size can happen on a platform that allows file
3320 sizes greater than the maximum off_t value. */
3321 if (end_offset < 0)
3322 buffer_overflow ();
3316 3323
3317 /* The file size returned from stat may be zero, but data 3324 /* The file size returned from stat may be zero, but data
3318 may be readable nonetheless, for example when this is a 3325 may be readable nonetheless, for example when this is a
3319 file in the /proc filesystem. */ 3326 file in the /proc filesystem. */
3320 if (st.st_size == 0) 3327 if (end_offset == 0)
3321 XSETINT (end, READ_BUF_SIZE); 3328 end_offset = READ_BUF_SIZE;
3322 } 3329 }
3323 } 3330 }
3324 3331
3332 /* Check now whether the buffer will become too large,
3333 in the likely case where the file's length is not changing.
3334 This saves a lot of needless work before a buffer overflow. */
3335 if (! not_regular)
3336 {
3337 /* The likely offset where we will stop reading. We could read
3338 more (or less), if the file grows (or shrinks) as we read it. */
3339 off_t likely_end = min (end_offset, st.st_size);
3340
3341 if (beg_offset < likely_end)
3342 {
3343 ptrdiff_t buf_bytes =
3344 Z_BYTE - (!NILP (replace) ? ZV_BYTE - BEGV_BYTE : 0);
3345 ptrdiff_t buf_growth_max = BUF_BYTES_MAX - buf_bytes;
3346 off_t likely_growth = likely_end - beg_offset;
3347 if (buf_growth_max < likely_growth)
3348 buffer_overflow ();
3349 }
3350 }
3351
3352 /* Prevent redisplay optimizations. */
3353 current_buffer->clip_changed = 1;
3354
3325 if (EQ (Vcoding_system_for_read, Qauto_save_coding)) 3355 if (EQ (Vcoding_system_for_read, Qauto_save_coding))
3326 { 3356 {
3327 coding_system = coding_inherit_eol_type (Qutf_8_emacs, Qunix); 3357 coding_system = coding_inherit_eol_type (Qutf_8_emacs, Qunix);
@@ -3465,9 +3495,9 @@ variable `last-coding-system-used' to the coding system actually used. */)
3465 give up on handling REPLACE in the optimized way. */ 3495 give up on handling REPLACE in the optimized way. */
3466 int giveup_match_end = 0; 3496 int giveup_match_end = 0;
3467 3497
3468 if (XINT (beg) != 0) 3498 if (beg_offset != 0)
3469 { 3499 {
3470 if (emacs_lseek (fd, XINT (beg), SEEK_SET) < 0) 3500 if (lseek (fd, beg_offset, SEEK_SET) < 0)
3471 report_file_error ("Setting file position", 3501 report_file_error ("Setting file position",
3472 Fcons (orig_filename, Qnil)); 3502 Fcons (orig_filename, Qnil));
3473 } 3503 }
@@ -3515,7 +3545,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3515 immediate_quit = 0; 3545 immediate_quit = 0;
3516 /* If the file matches the buffer completely, 3546 /* If the file matches the buffer completely,
3517 there's no need to replace anything. */ 3547 there's no need to replace anything. */
3518 if (same_at_start - BEGV_BYTE == XINT (end)) 3548 if (same_at_start - BEGV_BYTE == end_offset)
3519 { 3549 {
3520 emacs_close (fd); 3550 emacs_close (fd);
3521 specpdl_ptr--; 3551 specpdl_ptr--;
@@ -3530,16 +3560,17 @@ variable `last-coding-system-used' to the coding system actually used. */)
3530 already found that decoding is necessary, don't waste time. */ 3560 already found that decoding is necessary, don't waste time. */
3531 while (!giveup_match_end) 3561 while (!giveup_match_end)
3532 { 3562 {
3533 EMACS_INT total_read, nread, bufpos, curpos, trial; 3563 int total_read, nread, bufpos, trial;
3564 off_t curpos;
3534 3565
3535 /* At what file position are we now scanning? */ 3566 /* At what file position are we now scanning? */
3536 curpos = XINT (end) - (ZV_BYTE - same_at_end); 3567 curpos = end_offset - (ZV_BYTE - same_at_end);
3537 /* If the entire file matches the buffer tail, stop the scan. */ 3568 /* If the entire file matches the buffer tail, stop the scan. */
3538 if (curpos == 0) 3569 if (curpos == 0)
3539 break; 3570 break;
3540 /* How much can we scan in the next step? */ 3571 /* How much can we scan in the next step? */
3541 trial = min (curpos, sizeof buffer); 3572 trial = min (curpos, sizeof buffer);
3542 if (emacs_lseek (fd, curpos - trial, SEEK_SET) < 0) 3573 if (lseek (fd, curpos - trial, SEEK_SET) < 0)
3543 report_file_error ("Setting file position", 3574 report_file_error ("Setting file position",
3544 Fcons (orig_filename, Qnil)); 3575 Fcons (orig_filename, Qnil));
3545 3576
@@ -3606,13 +3637,14 @@ variable `last-coding-system-used' to the coding system actually used. */)
3606 3637
3607 /* Don't try to reuse the same piece of text twice. */ 3638 /* Don't try to reuse the same piece of text twice. */
3608 overlap = (same_at_start - BEGV_BYTE 3639 overlap = (same_at_start - BEGV_BYTE
3609 - (same_at_end + st.st_size - ZV)); 3640 - (same_at_end
3641 + (! NILP (end) ? end_offset : st.st_size) - ZV_BYTE));
3610 if (overlap > 0) 3642 if (overlap > 0)
3611 same_at_end += overlap; 3643 same_at_end += overlap;
3612 3644
3613 /* Arrange to read only the nonmatching middle part of the file. */ 3645 /* Arrange to read only the nonmatching middle part of the file. */
3614 XSETFASTINT (beg, XINT (beg) + (same_at_start - BEGV_BYTE)); 3646 beg_offset += same_at_start - BEGV_BYTE;
3615 XSETFASTINT (end, XINT (end) - (ZV_BYTE - same_at_end)); 3647 end_offset -= ZV_BYTE - same_at_end;
3616 3648
3617 del_range_byte (same_at_start, same_at_end, 0); 3649 del_range_byte (same_at_start, same_at_end, 0);
3618 /* Insert from the file at the proper position. */ 3650 /* Insert from the file at the proper position. */
@@ -3657,7 +3689,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3657 /* First read the whole file, performing code conversion into 3689 /* First read the whole file, performing code conversion into
3658 CONVERSION_BUFFER. */ 3690 CONVERSION_BUFFER. */
3659 3691
3660 if (emacs_lseek (fd, XINT (beg), SEEK_SET) < 0) 3692 if (lseek (fd, beg_offset, SEEK_SET) < 0)
3661 report_file_error ("Setting file position", 3693 report_file_error ("Setting file position",
3662 Fcons (orig_filename, Qnil)); 3694 Fcons (orig_filename, Qnil));
3663 3695
@@ -3824,7 +3856,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3824 } 3856 }
3825 3857
3826 if (! not_regular) 3858 if (! not_regular)
3827 total = XINT (end) - XINT (beg); 3859 total = end_offset - beg_offset;
3828 else 3860 else
3829 /* For a special file, all we can do is guess. */ 3861 /* For a special file, all we can do is guess. */
3830 total = READ_BUF_SIZE; 3862 total = READ_BUF_SIZE;
@@ -3845,9 +3877,9 @@ variable `last-coding-system-used' to the coding system actually used. */)
3845 if (GAP_SIZE < total) 3877 if (GAP_SIZE < total)
3846 make_gap (total - GAP_SIZE); 3878 make_gap (total - GAP_SIZE);
3847 3879
3848 if (XINT (beg) != 0 || !NILP (replace)) 3880 if (beg_offset != 0 || !NILP (replace))
3849 { 3881 {
3850 if (emacs_lseek (fd, XINT (beg), SEEK_SET) < 0) 3882 if (lseek (fd, beg_offset, SEEK_SET) < 0)
3851 report_file_error ("Setting file position", 3883 report_file_error ("Setting file position",
3852 Fcons (orig_filename, Qnil)); 3884 Fcons (orig_filename, Qnil));
3853 } 3885 }
@@ -4576,7 +4608,7 @@ This calls `write-region-annotate-functions' at the start, and
4576 4608
4577 if (!NILP (append) && !NILP (Ffile_regular_p (filename))) 4609 if (!NILP (append) && !NILP (Ffile_regular_p (filename)))
4578 { 4610 {
4579 long ret; 4611 off_t ret;
4580 4612
4581 if (NUMBERP (append)) 4613 if (NUMBERP (append))
4582 ret = emacs_lseek (desc, XINT (append), SEEK_CUR); 4614 ret = emacs_lseek (desc, XINT (append), SEEK_CUR);
diff --git a/src/floatfns.c b/src/floatfns.c
index 89aa052e8b1..81cf6bdb61f 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -282,7 +282,9 @@ DEFUN ("tan", Ftan, Stan, 1, 1, 0,
282 return make_float (d); 282 return make_float (d);
283} 283}
284 284
285#if defined HAVE_ISNAN && defined HAVE_COPYSIGN 285#undef isnan
286#define isnan(x) ((x) != (x))
287
286DEFUN ("isnan", Fisnan, Sisnan, 1, 1, 0, 288DEFUN ("isnan", Fisnan, Sisnan, 1, 1, 0,
287 doc: /* Return non nil iff argument X is a NaN. */) 289 doc: /* Return non nil iff argument X is a NaN. */)
288 (Lisp_Object x) 290 (Lisp_Object x)
@@ -291,6 +293,7 @@ DEFUN ("isnan", Fisnan, Sisnan, 1, 1, 0,
291 return isnan (XFLOAT_DATA (x)) ? Qt : Qnil; 293 return isnan (XFLOAT_DATA (x)) ? Qt : Qnil;
292} 294}
293 295
296#ifdef HAVE_COPYSIGN
294DEFUN ("copysign", Fcopysign, Scopysign, 1, 2, 0, 297DEFUN ("copysign", Fcopysign, Scopysign, 1, 2, 0,
295 doc: /* Copy sign of X2 to value of X1, and return the result. 298 doc: /* Copy sign of X2 to value of X1, and return the result.
296Cause an error if X1 or X2 is not a float. */) 299Cause an error if X1 or X2 is not a float. */)
@@ -1030,8 +1033,8 @@ syms_of_floatfns (void)
1030 defsubr (&Scos); 1033 defsubr (&Scos);
1031 defsubr (&Ssin); 1034 defsubr (&Ssin);
1032 defsubr (&Stan); 1035 defsubr (&Stan);
1033#if defined HAVE_ISNAN && defined HAVE_COPYSIGN
1034 defsubr (&Sisnan); 1036 defsubr (&Sisnan);
1037#ifdef HAVE_COPYSIGN
1035 defsubr (&Scopysign); 1038 defsubr (&Scopysign);
1036 defsubr (&Sfrexp); 1039 defsubr (&Sfrexp);
1037 defsubr (&Sldexp); 1040 defsubr (&Sldexp);