diff options
| author | Joakim Verona | 2012-12-09 12:26:27 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-09 12:26:27 +0100 |
| commit | d88f355b51768f31960c7e2bdda55bedfbb39f51 (patch) | |
| tree | 6edd53f1b47302271fed8fc781df802b2c4a53d1 | |
| parent | 3d9057e069605bbf9a0e70af34aea6af5ffe2ab8 (diff) | |
| parent | b5591ebb3b37bd9809b7775d1c297093cac0311d (diff) | |
| download | emacs-d88f355b51768f31960c7e2bdda55bedfbb39f51.tar.gz emacs-d88f355b51768f31960c7e2bdda55bedfbb39f51.zip | |
auto upstream
| -rw-r--r-- | autogen/Makefile.in | 45 | ||||
| -rw-r--r-- | autogen/aclocal.m4 | 2 | ||||
| -rw-r--r-- | autogen/config.in | 10 | ||||
| -rwxr-xr-x | autogen/configure | 451 |
4 files changed, 389 insertions, 119 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index d616d4ef12d..266371621ce 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | # the same distribution terms as the rest of that program. | 36 | # the same distribution terms as the rest of that program. |
| 37 | # | 37 | # |
| 38 | # Generated by gnulib-tool. | 38 | # Generated by gnulib-tool. |
| 39 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=at-internal --avoid=errno --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=openat-die --avoid=openat-h --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask readlink sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub utimens warnings | 39 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=at-internal --avoid=errno --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=openat-die --avoid=openat-h --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask putenv readlink sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings |
| 40 | 40 | ||
| 41 | VPATH = @srcdir@ | 41 | VPATH = @srcdir@ |
| 42 | pkgdatadir = $(datadir)/@PACKAGE@ | 42 | pkgdatadir = $(datadir)/@PACKAGE@ |
| @@ -84,20 +84,20 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ | |||
| 84 | $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/nocrash.m4 \ | 84 | $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/nocrash.m4 \ |
| 85 | $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/pathmax.m4 \ | 85 | $(top_srcdir)/m4/off_t.m4 $(top_srcdir)/m4/pathmax.m4 \ |
| 86 | $(top_srcdir)/m4/pselect.m4 \ | 86 | $(top_srcdir)/m4/pselect.m4 \ |
| 87 | $(top_srcdir)/m4/pthread_sigmask.m4 \ | 87 | $(top_srcdir)/m4/pthread_sigmask.m4 $(top_srcdir)/m4/putenv.m4 \ |
| 88 | $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/sha1.m4 \ | 88 | $(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/setenv.m4 \ |
| 89 | $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \ | 89 | $(top_srcdir)/m4/sha1.m4 $(top_srcdir)/m4/sha256.m4 \ |
| 90 | $(top_srcdir)/m4/sig2str.m4 $(top_srcdir)/m4/signal_h.m4 \ | 90 | $(top_srcdir)/m4/sha512.m4 $(top_srcdir)/m4/sig2str.m4 \ |
| 91 | $(top_srcdir)/m4/socklen.m4 $(top_srcdir)/m4/ssize_t.m4 \ | 91 | $(top_srcdir)/m4/signal_h.m4 $(top_srcdir)/m4/socklen.m4 \ |
| 92 | $(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat-time.m4 \ | 92 | $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/st_dm_mode.m4 \ |
| 93 | $(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdalign.m4 \ | 93 | $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ |
| 94 | $(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \ | 94 | $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ |
| 95 | $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ | 95 | $(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \ |
| 96 | $(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \ | 96 | $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \ |
| 97 | $(top_srcdir)/m4/strftime.m4 $(top_srcdir)/m4/strtoimax.m4 \ | 97 | $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strftime.m4 \ |
| 98 | $(top_srcdir)/m4/strtoll.m4 $(top_srcdir)/m4/strtoull.m4 \ | 98 | $(top_srcdir)/m4/strtoimax.m4 $(top_srcdir)/m4/strtoll.m4 \ |
| 99 | $(top_srcdir)/m4/strtoumax.m4 $(top_srcdir)/m4/symlink.m4 \ | 99 | $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/strtoumax.m4 \ |
| 100 | $(top_srcdir)/m4/sys_select_h.m4 \ | 100 | $(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_select_h.m4 \ |
| 101 | $(top_srcdir)/m4/sys_socket_h.m4 \ | 101 | $(top_srcdir)/m4/sys_socket_h.m4 \ |
| 102 | $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ | 102 | $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \ |
| 103 | $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \ | 103 | $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \ |
| @@ -888,8 +888,8 @@ EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h close-stream.h \ | |||
| 888 | getgroups.c getloadavg.c getopt.c getopt.in.h getopt1.c \ | 888 | getgroups.c getloadavg.c getopt.c getopt.in.h getopt1.c \ |
| 889 | getopt_int.h gettimeofday.c group-member.c ignore-value.h \ | 889 | getopt_int.h gettimeofday.c group-member.c ignore-value.h \ |
| 890 | intprops.h inttypes.in.h lstat.c mktime-internal.h mktime.c \ | 890 | intprops.h inttypes.in.h lstat.c mktime-internal.h mktime.c \ |
| 891 | pathmax.h pselect.c pthread_sigmask.c readlink.c root-uid.h \ | 891 | pathmax.h pselect.c pthread_sigmask.c putenv.c readlink.c \ |
| 892 | sig2str.c sig2str.h signal.in.h \ | 892 | root-uid.h sig2str.c sig2str.h signal.in.h \ |
| 893 | $(top_srcdir)/build-aux/snippet/_Noreturn.h \ | 893 | $(top_srcdir)/build-aux/snippet/_Noreturn.h \ |
| 894 | $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ | 894 | $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ |
| 895 | $(top_srcdir)/build-aux/snippet/c++defs.h \ | 895 | $(top_srcdir)/build-aux/snippet/c++defs.h \ |
| @@ -899,7 +899,7 @@ EXTRA_DIST = alloca.in.h allocator.h careadlinkat.h close-stream.h \ | |||
| 899 | strtol.c strtoll.c strtol.c strtoul.c strtoull.c strtoimax.c \ | 899 | strtol.c strtoll.c strtol.c strtoul.c strtoull.c strtoimax.c \ |
| 900 | strtoumax.c symlink.c sys_select.in.h sys_stat.in.h \ | 900 | strtoumax.c symlink.c sys_select.in.h sys_stat.in.h \ |
| 901 | sys_time.in.h time.in.h time_r.c timespec.h u64.h unistd.in.h \ | 901 | sys_time.in.h time.in.h time_r.c timespec.h u64.h unistd.in.h \ |
| 902 | utimens.h verify.h xalloc-oversized.h | 902 | unsetenv.c utimens.h verify.h xalloc-oversized.h |
| 903 | MOSTLYCLEANDIRS = sys sys | 903 | MOSTLYCLEANDIRS = sys sys |
| 904 | MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t execinfo.h \ | 904 | MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t execinfo.h \ |
| 905 | execinfo.h-t fcntl.h fcntl.h-t getopt.h getopt.h-t inttypes.h \ | 905 | execinfo.h-t fcntl.h fcntl.h-t getopt.h getopt.h-t inttypes.h \ |
| @@ -924,9 +924,10 @@ libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | |||
| 924 | EXTRA_libgnu_a_SOURCES = ftoastr.c dup2.c euidaccess.c execinfo.c \ | 924 | EXTRA_libgnu_a_SOURCES = ftoastr.c dup2.c euidaccess.c execinfo.c \ |
| 925 | at-func.c faccessat.c fpending.c getgroups.c getloadavg.c \ | 925 | at-func.c faccessat.c fpending.c getgroups.c getloadavg.c \ |
| 926 | getopt.c getopt1.c gettimeofday.c group-member.c lstat.c \ | 926 | getopt.c getopt1.c gettimeofday.c group-member.c lstat.c \ |
| 927 | mktime.c pselect.c pthread_sigmask.c readlink.c sig2str.c \ | 927 | mktime.c pselect.c pthread_sigmask.c putenv.c readlink.c \ |
| 928 | stat.c strtoimax.c strtol.c strtoll.c strtol.c strtoul.c \ | 928 | sig2str.c stat.c strtoimax.c strtol.c strtoll.c strtol.c \ |
| 929 | strtoull.c strtoimax.c strtoumax.c symlink.c time_r.c | 929 | strtoul.c strtoull.c strtoimax.c strtoumax.c symlink.c \ |
| 930 | time_r.c unsetenv.c | ||
| 930 | 931 | ||
| 931 | # Because this Makefile snippet defines a variable used by other | 932 | # Because this Makefile snippet defines a variable used by other |
| 932 | # gnulib Makefile snippets, it must be present in all Makefile.am that | 933 | # gnulib Makefile snippets, it must be present in all Makefile.am that |
| @@ -1012,6 +1013,7 @@ distclean-compile: | |||
| 1012 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mktime.Po@am__quote@ | 1013 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mktime.Po@am__quote@ |
| 1013 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect.Po@am__quote@ | 1014 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect.Po@am__quote@ |
| 1014 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread_sigmask.Po@am__quote@ | 1015 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pthread_sigmask.Po@am__quote@ |
| 1016 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/putenv.Po@am__quote@ | ||
| 1015 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Po@am__quote@ | 1017 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readlink.Po@am__quote@ |
| 1016 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Po@am__quote@ | 1018 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Po@am__quote@ |
| 1017 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha256.Po@am__quote@ | 1019 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha256.Po@am__quote@ |
| @@ -1034,6 +1036,7 @@ distclean-compile: | |||
| 1034 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timespec.Po@am__quote@ | 1036 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timespec.Po@am__quote@ |
| 1035 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/u64.Po@am__quote@ | 1037 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/u64.Po@am__quote@ |
| 1036 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Po@am__quote@ | 1038 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unistd.Po@am__quote@ |
| 1039 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unsetenv.Po@am__quote@ | ||
| 1037 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utimens.Po@am__quote@ | 1040 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utimens.Po@am__quote@ |
| 1038 | 1041 | ||
| 1039 | .c.o: | 1042 | .c.o: |
diff --git a/autogen/aclocal.m4 b/autogen/aclocal.m4 index ee880a2cca5..148086dcd93 100644 --- a/autogen/aclocal.m4 +++ b/autogen/aclocal.m4 | |||
| @@ -1021,7 +1021,9 @@ m4_include([m4/off_t.m4]) | |||
| 1021 | m4_include([m4/pathmax.m4]) | 1021 | m4_include([m4/pathmax.m4]) |
| 1022 | m4_include([m4/pselect.m4]) | 1022 | m4_include([m4/pselect.m4]) |
| 1023 | m4_include([m4/pthread_sigmask.m4]) | 1023 | m4_include([m4/pthread_sigmask.m4]) |
| 1024 | m4_include([m4/putenv.m4]) | ||
| 1024 | m4_include([m4/readlink.m4]) | 1025 | m4_include([m4/readlink.m4]) |
| 1026 | m4_include([m4/setenv.m4]) | ||
| 1025 | m4_include([m4/sha1.m4]) | 1027 | m4_include([m4/sha1.m4]) |
| 1026 | m4_include([m4/sha256.m4]) | 1028 | m4_include([m4/sha256.m4]) |
| 1027 | m4_include([m4/sha512.m4]) | 1029 | m4_include([m4/sha512.m4]) |
diff --git a/autogen/config.in b/autogen/config.in index 0ba05d911eb..89c43b075de 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -319,6 +319,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 319 | */ | 319 | */ |
| 320 | #undef HAVE_DECL_TZNAME | 320 | #undef HAVE_DECL_TZNAME |
| 321 | 321 | ||
| 322 | /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you | ||
| 323 | don't. */ | ||
| 324 | #undef HAVE_DECL_UNSETENV | ||
| 325 | |||
| 322 | /* Define to 1 if you have the declaration of `__fpending', and to 0 if you | 326 | /* Define to 1 if you have the declaration of `__fpending', and to 0 if you |
| 323 | don't. */ | 327 | don't. */ |
| 324 | #undef HAVE_DECL___FPENDING | 328 | #undef HAVE_DECL___FPENDING |
| @@ -986,6 +990,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 986 | /* Define to 1 if you have the <unistd.h> header file. */ | 990 | /* Define to 1 if you have the <unistd.h> header file. */ |
| 987 | #undef HAVE_UNISTD_H | 991 | #undef HAVE_UNISTD_H |
| 988 | 992 | ||
| 993 | /* Define to 1 if you have the `unsetenv' function. */ | ||
| 994 | #undef HAVE_UNSETENV | ||
| 995 | |||
| 989 | /* Define to 1 if the system has the type 'unsigned long long int'. */ | 996 | /* Define to 1 if the system has the type 'unsigned long long int'. */ |
| 990 | #undef HAVE_UNSIGNED_LONG_LONG_INT | 997 | #undef HAVE_UNSIGNED_LONG_LONG_INT |
| 991 | 998 | ||
| @@ -1387,6 +1394,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1387 | /* Version number of package */ | 1394 | /* Version number of package */ |
| 1388 | #undef VERSION | 1395 | #undef VERSION |
| 1389 | 1396 | ||
| 1397 | /* Define to 1 if unsetenv returns void instead of int. */ | ||
| 1398 | #undef VOID_UNSETENV | ||
| 1399 | |||
| 1390 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type | 1400 | /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type |
| 1391 | 'wchar_t'. */ | 1401 | 'wchar_t'. */ |
| 1392 | #undef WCHAR_T_SUFFIX | 1402 | #undef WCHAR_T_SUFFIX |
diff --git a/autogen/configure b/autogen/configure index b678a0ba62c..3e6ae12da76 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -2117,13 +2117,13 @@ Optional Packages: | |||
| 2117 | --without-gnutls don't use -lgnutls for SSL/TLS support | 2117 | --without-gnutls don't use -lgnutls for SSL/TLS support |
| 2118 | --without-makeinfo don't require makeinfo for building manuals | 2118 | --without-makeinfo don't require makeinfo for building manuals |
| 2119 | --without-compress-info don't compress the installed Info pages | 2119 | --without-compress-info don't compress the installed Info pages |
| 2120 | --with-pkg-config-prog=PATH | 2120 | --with-pkg-config-prog=FILENAME |
| 2121 | path to pkg-config for finding GTK and librsvg | 2121 | file name of pkg-config for finding GTK and librsvg |
| 2122 | --with-crt-dir=DIR directory containing crtn.o etc. The default is | 2122 | --with-crt-dir=DIR directory containing crtn.o etc. The default is |
| 2123 | /usr/lib, or /usr/lib64 on some platforms. | 2123 | /usr/lib, or /usr/lib64 on some platforms. |
| 2124 | --with-gameuser=USER user for shared game score files | 2124 | --with-gameuser=USER user for shared game score files |
| 2125 | --with-gnustep-conf=PATH | 2125 | --with-gnustep-conf=FILENAME |
| 2126 | path to GNUstep.conf; default $GNUSTEP_CONFIG_FILE, | 2126 | name of GNUstep.conf; default $GNUSTEP_CONFIG_FILE, |
| 2127 | or /etc/GNUstep/GNUstep.conf | 2127 | or /etc/GNUstep/GNUstep.conf |
| 2128 | --with-x use the X Window System | 2128 | --with-x use the X Window System |
| 2129 | 2129 | ||
| @@ -4373,7 +4373,7 @@ fi | |||
| 4373 | 4373 | ||
| 4374 | 4374 | ||
| 4375 | #### Make srcdir absolute, if it isn't already. It's important to | 4375 | #### Make srcdir absolute, if it isn't already. It's important to |
| 4376 | #### avoid running the path through pwd unnecessarily, since pwd can | 4376 | #### avoid running the file name through pwd unnecessarily, since pwd can |
| 4377 | #### give you automounter prefixes, which can go away. We do all this | 4377 | #### give you automounter prefixes, which can go away. We do all this |
| 4378 | #### so Emacs can find its files when run uninstalled. | 4378 | #### so Emacs can find its files when run uninstalled. |
| 4379 | ## Make sure CDPATH doesn't affect cd (in case PWD is relative). | 4379 | ## Make sure CDPATH doesn't affect cd (in case PWD is relative). |
| @@ -4383,17 +4383,17 @@ case "${srcdir}" in | |||
| 4383 | . ) | 4383 | . ) |
| 4384 | ## We may be able to use the $PWD environment variable to make this | 4384 | ## We may be able to use the $PWD environment variable to make this |
| 4385 | ## absolute. But sometimes PWD is inaccurate. | 4385 | ## absolute. But sometimes PWD is inaccurate. |
| 4386 | ## Note: we used to use ${PWD} at the end instead of `pwd`, | 4386 | ## Note: we used to use $PWD at the end instead of `pwd`, |
| 4387 | ## but that tested only for a well-formed and valid PWD, | 4387 | ## but that tested only for a well-formed and valid PWD, |
| 4388 | ## it did not object when PWD was well-formed and valid but just wrong. | 4388 | ## it did not object when PWD was well-formed and valid but just wrong. |
| 4389 | if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ; | 4389 | if test ".$PWD" != "." && test ".`(cd "$PWD" ; sh -c pwd)`" = ".`pwd`" ; |
| 4390 | then | 4390 | then |
| 4391 | srcdir="$PWD" | 4391 | srcdir="$PWD" |
| 4392 | else | 4392 | else |
| 4393 | srcdir="`(cd ${srcdir}; pwd)`" | 4393 | srcdir=`(cd "$srcdir"; pwd)` |
| 4394 | fi | 4394 | fi |
| 4395 | ;; | 4395 | ;; |
| 4396 | * ) srcdir="`(cd ${srcdir}; pwd)`" ;; | 4396 | * ) srcdir=`(cd "$srcdir"; pwd)` ;; |
| 4397 | esac | 4397 | esac |
| 4398 | 4398 | ||
| 4399 | ### Canonicalize the configuration name. | 4399 | ### Canonicalize the configuration name. |
| @@ -7024,6 +7024,7 @@ esac | |||
| 7024 | # Code from module pathmax: | 7024 | # Code from module pathmax: |
| 7025 | # Code from module pselect: | 7025 | # Code from module pselect: |
| 7026 | # Code from module pthread_sigmask: | 7026 | # Code from module pthread_sigmask: |
| 7027 | # Code from module putenv: | ||
| 7027 | # Code from module readlink: | 7028 | # Code from module readlink: |
| 7028 | # Code from module root-uid: | 7029 | # Code from module root-uid: |
| 7029 | # Code from module sig2str: | 7030 | # Code from module sig2str: |
| @@ -7063,6 +7064,7 @@ esac | |||
| 7063 | # Code from module timespec-sub: | 7064 | # Code from module timespec-sub: |
| 7064 | # Code from module u64: | 7065 | # Code from module u64: |
| 7065 | # Code from module unistd: | 7066 | # Code from module unistd: |
| 7067 | # Code from module unsetenv: | ||
| 7066 | # Code from module utimens: | 7068 | # Code from module utimens: |
| 7067 | # Code from module verify: | 7069 | # Code from module verify: |
| 7068 | # Code from module warnings: | 7070 | # Code from module warnings: |
| @@ -8146,9 +8148,13 @@ $as_echo "no" >&6; } | |||
| 8146 | fi | 8148 | fi |
| 8147 | 8149 | ||
| 8148 | 8150 | ||
| 8149 | if test "$MAKEINFO" != "no" && \ | 8151 | if test "$MAKEINFO" != "no"; then |
| 8150 | test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([1-4][0-9]+|[5-9]|4\.[7-9]|4\.[1-6][0-9]+)'`" = x; then | 8152 | case ` |
| 8151 | MAKEINFO=no | 8153 | $MAKEINFO --version 2> /dev/null | |
| 8154 | $EGREP 'texinfo[^0-9]*([1-4][0-9]+|[5-9]|4\.[7-9]|4\.[1-6][0-9]+)' | ||
| 8155 | ` in | ||
| 8156 | '') MAKEINFO=no;; | ||
| 8157 | esac | ||
| 8152 | fi | 8158 | fi |
| 8153 | 8159 | ||
| 8154 | ## Makeinfo is unusual. For a released Emacs, the manuals are | 8160 | ## Makeinfo is unusual. For a released Emacs, the manuals are |
| @@ -8166,7 +8172,7 @@ if test "$MAKEINFO" = "no"; then | |||
| 8166 | MAKEINFO=makeinfo | 8172 | MAKEINFO=makeinfo |
| 8167 | if test "x${with_makeinfo}" = "xno"; then | 8173 | if test "x${with_makeinfo}" = "xno"; then |
| 8168 | HAVE_MAKEINFO=no | 8174 | HAVE_MAKEINFO=no |
| 8169 | elif test ! -e $srcdir/info/emacs && test ! -e $srcdir/info/emacs.info; then | 8175 | elif test ! -e "$srcdir/info/emacs" && test ! -e "$srcdir/info/emacs.info"; then |
| 8170 | as_fn_error "You do not seem to have makeinfo >= 4.7, and your | 8176 | as_fn_error "You do not seem to have makeinfo >= 4.7, and your |
| 8171 | source tree does not seem to have pre-built manuals in the \`info' directory. | 8177 | source tree does not seem to have pre-built manuals in the \`info' directory. |
| 8172 | Either install a suitable version of makeinfo, or re-run configure | 8178 | Either install a suitable version of makeinfo, or re-run configure |
| @@ -8657,13 +8663,13 @@ fi | |||
| 8657 | HAVE_ALSA=no | 8663 | HAVE_ALSA=no |
| 8658 | else | 8664 | else |
| 8659 | PKG_CONFIG_MIN_VERSION=0.9.0 | 8665 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8660 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8666 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 | 8667 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 |
| 8662 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 8668 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
| 8663 | 8669 | ||
| 8664 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5 && | 8670 | if "$PKG_CONFIG" --exists "$ALSA_MODULES" 2>&5 && |
| 8665 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES" 2>&5` && | 8671 | ALSA_CFLAGS=`"$PKG_CONFIG" --cflags "$ALSA_MODULES" 2>&5` && |
| 8666 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES" 2>&5`; then | 8672 | ALSA_LIBS=`"$PKG_CONFIG" --libs "$ALSA_MODULES" 2>&5`; then |
| 8667 | edit_cflags=" | 8673 | edit_cflags=" |
| 8668 | s,///*,/,g | 8674 | s,///*,/,g |
| 8669 | s/^/ / | 8675 | s/^/ / |
| @@ -8683,7 +8689,7 @@ $as_echo "no" >&6; } | |||
| 8683 | ## If we have a custom action on failure, don't print errors, but | 8689 | ## If we have a custom action on failure, don't print errors, but |
| 8684 | ## do set a variable so people can do so. Do it in a subshell | 8690 | ## do set a variable so people can do so. Do it in a subshell |
| 8685 | ## to capture any diagnostics in invoking pkg-config. | 8691 | ## to capture any diagnostics in invoking pkg-config. |
| 8686 | ALSA_PKG_ERRORS=`($PKG_CONFIG --print-errors "$ALSA_MODULES") 2>&1` | 8692 | ALSA_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "$ALSA_MODULES") 2>&1` |
| 8687 | 8693 | ||
| 8688 | fi | 8694 | fi |
| 8689 | 8695 | ||
| @@ -10538,13 +10544,13 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then | |||
| 10538 | : | 10544 | : |
| 10539 | else | 10545 | else |
| 10540 | PKG_CONFIG_MIN_VERSION=0.9.0 | 10546 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 10541 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10547 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 10542 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 | 10548 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 |
| 10543 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 10549 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
| 10544 | 10550 | ||
| 10545 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5 && | 10551 | if "$PKG_CONFIG" --exists "$RSVG_MODULE" 2>&5 && |
| 10546 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE" 2>&5` && | 10552 | RSVG_CFLAGS=`"$PKG_CONFIG" --cflags "$RSVG_MODULE" 2>&5` && |
| 10547 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE" 2>&5`; then | 10553 | RSVG_LIBS=`"$PKG_CONFIG" --libs "$RSVG_MODULE" 2>&5`; then |
| 10548 | edit_cflags=" | 10554 | edit_cflags=" |
| 10549 | s,///*,/,g | 10555 | s,///*,/,g |
| 10550 | s/^/ / | 10556 | s/^/ / |
| @@ -10564,7 +10570,7 @@ $as_echo "no" >&6; } | |||
| 10564 | ## If we have a custom action on failure, don't print errors, but | 10570 | ## If we have a custom action on failure, don't print errors, but |
| 10565 | ## do set a variable so people can do so. Do it in a subshell | 10571 | ## do set a variable so people can do so. Do it in a subshell |
| 10566 | ## to capture any diagnostics in invoking pkg-config. | 10572 | ## to capture any diagnostics in invoking pkg-config. |
| 10567 | RSVG_PKG_ERRORS=`($PKG_CONFIG --print-errors "$RSVG_MODULE") 2>&1` | 10573 | RSVG_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "$RSVG_MODULE") 2>&1` |
| 10568 | 10574 | ||
| 10569 | fi | 10575 | fi |
| 10570 | 10576 | ||
| @@ -10609,13 +10615,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 10609 | : | 10615 | : |
| 10610 | else | 10616 | else |
| 10611 | PKG_CONFIG_MIN_VERSION=0.9.0 | 10617 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 10612 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10618 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 10613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $IMAGEMAGICK_MODULE" >&5 | 10619 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $IMAGEMAGICK_MODULE" >&5 |
| 10614 | $as_echo_n "checking for $IMAGEMAGICK_MODULE... " >&6; } | 10620 | $as_echo_n "checking for $IMAGEMAGICK_MODULE... " >&6; } |
| 10615 | 10621 | ||
| 10616 | if $PKG_CONFIG --exists "$IMAGEMAGICK_MODULE" 2>&5 && | 10622 | if "$PKG_CONFIG" --exists "$IMAGEMAGICK_MODULE" 2>&5 && |
| 10617 | IMAGEMAGICK_CFLAGS=`$PKG_CONFIG --cflags "$IMAGEMAGICK_MODULE" 2>&5` && | 10623 | IMAGEMAGICK_CFLAGS=`"$PKG_CONFIG" --cflags "$IMAGEMAGICK_MODULE" 2>&5` && |
| 10618 | IMAGEMAGICK_LIBS=`$PKG_CONFIG --libs "$IMAGEMAGICK_MODULE" 2>&5`; then | 10624 | IMAGEMAGICK_LIBS=`"$PKG_CONFIG" --libs "$IMAGEMAGICK_MODULE" 2>&5`; then |
| 10619 | edit_cflags=" | 10625 | edit_cflags=" |
| 10620 | s,///*,/,g | 10626 | s,///*,/,g |
| 10621 | s/^/ / | 10627 | s/^/ / |
| @@ -10635,7 +10641,7 @@ $as_echo "no" >&6; } | |||
| 10635 | ## If we have a custom action on failure, don't print errors, but | 10641 | ## If we have a custom action on failure, don't print errors, but |
| 10636 | ## do set a variable so people can do so. Do it in a subshell | 10642 | ## do set a variable so people can do so. Do it in a subshell |
| 10637 | ## to capture any diagnostics in invoking pkg-config. | 10643 | ## to capture any diagnostics in invoking pkg-config. |
| 10638 | IMAGEMAGICK_PKG_ERRORS=`($PKG_CONFIG --print-errors "$IMAGEMAGICK_MODULE") 2>&1` | 10644 | IMAGEMAGICK_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "$IMAGEMAGICK_MODULE") 2>&1` |
| 10639 | 10645 | ||
| 10640 | fi | 10646 | fi |
| 10641 | 10647 | ||
| @@ -10696,13 +10702,13 @@ if test "${with_gtk3}" = "yes" || test "${with_gtk}" = "yes" || test "$USE_X_TOO | |||
| 10696 | pkg_check_gtk=no | 10702 | pkg_check_gtk=no |
| 10697 | else | 10703 | else |
| 10698 | PKG_CONFIG_MIN_VERSION=0.9.0 | 10704 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 10699 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10705 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 10700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 10706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 |
| 10701 | $as_echo_n "checking for $GTK_MODULES... " >&6; } | 10707 | $as_echo_n "checking for $GTK_MODULES... " >&6; } |
| 10702 | 10708 | ||
| 10703 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5 && | 10709 | if "$PKG_CONFIG" --exists "$GTK_MODULES" 2>&5 && |
| 10704 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES" 2>&5` && | 10710 | GTK_CFLAGS=`"$PKG_CONFIG" --cflags "$GTK_MODULES" 2>&5` && |
| 10705 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES" 2>&5`; then | 10711 | GTK_LIBS=`"$PKG_CONFIG" --libs "$GTK_MODULES" 2>&5`; then |
| 10706 | edit_cflags=" | 10712 | edit_cflags=" |
| 10707 | s,///*,/,g | 10713 | s,///*,/,g |
| 10708 | s/^/ / | 10714 | s/^/ / |
| @@ -10722,7 +10728,7 @@ $as_echo "no" >&6; } | |||
| 10722 | ## If we have a custom action on failure, don't print errors, but | 10728 | ## If we have a custom action on failure, don't print errors, but |
| 10723 | ## do set a variable so people can do so. Do it in a subshell | 10729 | ## do set a variable so people can do so. Do it in a subshell |
| 10724 | ## to capture any diagnostics in invoking pkg-config. | 10730 | ## to capture any diagnostics in invoking pkg-config. |
| 10725 | GTK_PKG_ERRORS=`($PKG_CONFIG --print-errors "$GTK_MODULES") 2>&1` | 10731 | GTK_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "$GTK_MODULES") 2>&1` |
| 10726 | 10732 | ||
| 10727 | fi | 10733 | fi |
| 10728 | 10734 | ||
| @@ -10768,13 +10774,13 @@ if test "${with_gtk2}" = "yes" || test "$check_gtk2" = "yes"; then | |||
| 10768 | pkg_check_gtk=no | 10774 | pkg_check_gtk=no |
| 10769 | else | 10775 | else |
| 10770 | PKG_CONFIG_MIN_VERSION=0.9.0 | 10776 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 10771 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10777 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 10772 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 10778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 |
| 10773 | $as_echo_n "checking for $GTK_MODULES... " >&6; } | 10779 | $as_echo_n "checking for $GTK_MODULES... " >&6; } |
| 10774 | 10780 | ||
| 10775 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5 && | 10781 | if "$PKG_CONFIG" --exists "$GTK_MODULES" 2>&5 && |
| 10776 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES" 2>&5` && | 10782 | GTK_CFLAGS=`"$PKG_CONFIG" --cflags "$GTK_MODULES" 2>&5` && |
| 10777 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES" 2>&5`; then | 10783 | GTK_LIBS=`"$PKG_CONFIG" --libs "$GTK_MODULES" 2>&5`; then |
| 10778 | edit_cflags=" | 10784 | edit_cflags=" |
| 10779 | s,///*,/,g | 10785 | s,///*,/,g |
| 10780 | s/^/ / | 10786 | s/^/ / |
| @@ -10794,7 +10800,7 @@ $as_echo "no" >&6; } | |||
| 10794 | ## If we have a custom action on failure, don't print errors, but | 10800 | ## If we have a custom action on failure, don't print errors, but |
| 10795 | ## do set a variable so people can do so. Do it in a subshell | 10801 | ## do set a variable so people can do so. Do it in a subshell |
| 10796 | ## to capture any diagnostics in invoking pkg-config. | 10802 | ## to capture any diagnostics in invoking pkg-config. |
| 10797 | GTK_PKG_ERRORS=`($PKG_CONFIG --print-errors "$GTK_MODULES") 2>&1` | 10803 | GTK_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "$GTK_MODULES") 2>&1` |
| 10798 | 10804 | ||
| 10799 | fi | 10805 | fi |
| 10800 | 10806 | ||
| @@ -10850,7 +10856,7 @@ $as_echo "#define USE_GTK 1" >>confdefs.h | |||
| 10850 | 10856 | ||
| 10851 | GTK_OBJ="gtkutil.o $GTK_OBJ" | 10857 | GTK_OBJ="gtkutil.o $GTK_OBJ" |
| 10852 | USE_X_TOOLKIT=none | 10858 | USE_X_TOOLKIT=none |
| 10853 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 10859 | if "$PKG_CONFIG" --atleast-version=2.10 gtk+-2.0; then |
| 10854 | : | 10860 | : |
| 10855 | else | 10861 | else |
| 10856 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with | 10862 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with |
| @@ -10931,13 +10937,13 @@ if test "${with_dbus}" = "yes"; then | |||
| 10931 | HAVE_DBUS=no | 10937 | HAVE_DBUS=no |
| 10932 | else | 10938 | else |
| 10933 | PKG_CONFIG_MIN_VERSION=0.9.0 | 10939 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 10934 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10940 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 10935 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 | 10941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 |
| 10936 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 10942 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
| 10937 | 10943 | ||
| 10938 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5 && | 10944 | if "$PKG_CONFIG" --exists "dbus-1 >= 1.0" 2>&5 && |
| 10939 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>&5` && | 10945 | DBUS_CFLAGS=`"$PKG_CONFIG" --cflags "dbus-1 >= 1.0" 2>&5` && |
| 10940 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>&5`; then | 10946 | DBUS_LIBS=`"$PKG_CONFIG" --libs "dbus-1 >= 1.0" 2>&5`; then |
| 10941 | edit_cflags=" | 10947 | edit_cflags=" |
| 10942 | s,///*,/,g | 10948 | s,///*,/,g |
| 10943 | s/^/ / | 10949 | s/^/ / |
| @@ -10957,7 +10963,7 @@ $as_echo "no" >&6; } | |||
| 10957 | ## If we have a custom action on failure, don't print errors, but | 10963 | ## If we have a custom action on failure, don't print errors, but |
| 10958 | ## do set a variable so people can do so. Do it in a subshell | 10964 | ## do set a variable so people can do so. Do it in a subshell |
| 10959 | ## to capture any diagnostics in invoking pkg-config. | 10965 | ## to capture any diagnostics in invoking pkg-config. |
| 10960 | DBUS_PKG_ERRORS=`($PKG_CONFIG --print-errors "dbus-1 >= 1.0") 2>&1` | 10966 | DBUS_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "dbus-1 >= 1.0") 2>&1` |
| 10961 | 10967 | ||
| 10962 | fi | 10968 | fi |
| 10963 | 10969 | ||
| @@ -11012,13 +11018,13 @@ if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then | |||
| 11012 | HAVE_GSETTINGS=no | 11018 | HAVE_GSETTINGS=no |
| 11013 | else | 11019 | else |
| 11014 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11020 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11015 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11021 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11016 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.26" >&5 | 11022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.26" >&5 |
| 11017 | $as_echo_n "checking for gio-2.0 >= 2.26... " >&6; } | 11023 | $as_echo_n "checking for gio-2.0 >= 2.26... " >&6; } |
| 11018 | 11024 | ||
| 11019 | if $PKG_CONFIG --exists "gio-2.0 >= 2.26" 2>&5 && | 11025 | if "$PKG_CONFIG" --exists "gio-2.0 >= 2.26" 2>&5 && |
| 11020 | GSETTINGS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>&5` && | 11026 | GSETTINGS_CFLAGS=`"$PKG_CONFIG" --cflags "gio-2.0 >= 2.26" 2>&5` && |
| 11021 | GSETTINGS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>&5`; then | 11027 | GSETTINGS_LIBS=`"$PKG_CONFIG" --libs "gio-2.0 >= 2.26" 2>&5`; then |
| 11022 | edit_cflags=" | 11028 | edit_cflags=" |
| 11023 | s,///*,/,g | 11029 | s,///*,/,g |
| 11024 | s/^/ / | 11030 | s/^/ / |
| @@ -11038,7 +11044,7 @@ $as_echo "no" >&6; } | |||
| 11038 | ## If we have a custom action on failure, don't print errors, but | 11044 | ## If we have a custom action on failure, don't print errors, but |
| 11039 | ## do set a variable so people can do so. Do it in a subshell | 11045 | ## do set a variable so people can do so. Do it in a subshell |
| 11040 | ## to capture any diagnostics in invoking pkg-config. | 11046 | ## to capture any diagnostics in invoking pkg-config. |
| 11041 | GSETTINGS_PKG_ERRORS=`($PKG_CONFIG --print-errors "gio-2.0 >= 2.26") 2>&1` | 11047 | GSETTINGS_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "gio-2.0 >= 2.26") 2>&1` |
| 11042 | 11048 | ||
| 11043 | fi | 11049 | fi |
| 11044 | 11050 | ||
| @@ -11074,13 +11080,13 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then | |||
| 11074 | HAVE_GCONF=no | 11080 | HAVE_GCONF=no |
| 11075 | else | 11081 | else |
| 11076 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11082 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11077 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11083 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11078 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 | 11084 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 |
| 11079 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 11085 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
| 11080 | 11086 | ||
| 11081 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5 && | 11087 | if "$PKG_CONFIG" --exists "gconf-2.0 >= 2.13" 2>&5 && |
| 11082 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13" 2>&5` && | 11088 | GCONF_CFLAGS=`"$PKG_CONFIG" --cflags "gconf-2.0 >= 2.13" 2>&5` && |
| 11083 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13" 2>&5`; then | 11089 | GCONF_LIBS=`"$PKG_CONFIG" --libs "gconf-2.0 >= 2.13" 2>&5`; then |
| 11084 | edit_cflags=" | 11090 | edit_cflags=" |
| 11085 | s,///*,/,g | 11091 | s,///*,/,g |
| 11086 | s/^/ / | 11092 | s/^/ / |
| @@ -11100,7 +11106,7 @@ $as_echo "no" >&6; } | |||
| 11100 | ## If we have a custom action on failure, don't print errors, but | 11106 | ## If we have a custom action on failure, don't print errors, but |
| 11101 | ## do set a variable so people can do so. Do it in a subshell | 11107 | ## do set a variable so people can do so. Do it in a subshell |
| 11102 | ## to capture any diagnostics in invoking pkg-config. | 11108 | ## to capture any diagnostics in invoking pkg-config. |
| 11103 | GCONF_PKG_ERRORS=`($PKG_CONFIG --print-errors "gconf-2.0 >= 2.13") 2>&1` | 11109 | GCONF_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "gconf-2.0 >= 2.13") 2>&1` |
| 11104 | 11110 | ||
| 11105 | fi | 11111 | fi |
| 11106 | 11112 | ||
| @@ -11135,13 +11141,13 @@ if test "$HAVE_GSETTINGS" = "yes" || test "$HAVE_GCONF" = "yes"; then | |||
| 11135 | HAVE_GOBJECT=no | 11141 | HAVE_GOBJECT=no |
| 11136 | else | 11142 | else |
| 11137 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11143 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11138 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11144 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11139 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.0" >&5 | 11145 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.0" >&5 |
| 11140 | $as_echo_n "checking for gobject-2.0 >= 2.0... " >&6; } | 11146 | $as_echo_n "checking for gobject-2.0 >= 2.0... " >&6; } |
| 11141 | 11147 | ||
| 11142 | if $PKG_CONFIG --exists "gobject-2.0 >= 2.0" 2>&5 && | 11148 | if "$PKG_CONFIG" --exists "gobject-2.0 >= 2.0" 2>&5 && |
| 11143 | GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0" 2>&5` && | 11149 | GOBJECT_CFLAGS=`"$PKG_CONFIG" --cflags "gobject-2.0 >= 2.0" 2>&5` && |
| 11144 | GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0" 2>&5`; then | 11150 | GOBJECT_LIBS=`"$PKG_CONFIG" --libs "gobject-2.0 >= 2.0" 2>&5`; then |
| 11145 | edit_cflags=" | 11151 | edit_cflags=" |
| 11146 | s,///*,/,g | 11152 | s,///*,/,g |
| 11147 | s/^/ / | 11153 | s/^/ / |
| @@ -11161,7 +11167,7 @@ $as_echo "no" >&6; } | |||
| 11161 | ## If we have a custom action on failure, don't print errors, but | 11167 | ## If we have a custom action on failure, don't print errors, but |
| 11162 | ## do set a variable so people can do so. Do it in a subshell | 11168 | ## do set a variable so people can do so. Do it in a subshell |
| 11163 | ## to capture any diagnostics in invoking pkg-config. | 11169 | ## to capture any diagnostics in invoking pkg-config. |
| 11164 | GOBJECT_PKG_ERRORS=`($PKG_CONFIG --print-errors "gobject-2.0 >= 2.0") 2>&1` | 11170 | GOBJECT_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "gobject-2.0 >= 2.0") 2>&1` |
| 11165 | 11171 | ||
| 11166 | fi | 11172 | fi |
| 11167 | 11173 | ||
| @@ -11269,13 +11275,13 @@ if test "${with_gnutls}" = "yes" ; then | |||
| 11269 | HAVE_GNUTLS=no | 11275 | HAVE_GNUTLS=no |
| 11270 | else | 11276 | else |
| 11271 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11277 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11272 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11278 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.6.6" >&5 | 11279 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.6.6" >&5 |
| 11274 | $as_echo_n "checking for gnutls >= 2.6.6... " >&6; } | 11280 | $as_echo_n "checking for gnutls >= 2.6.6... " >&6; } |
| 11275 | 11281 | ||
| 11276 | if $PKG_CONFIG --exists "gnutls >= 2.6.6" 2>&5 && | 11282 | if "$PKG_CONFIG" --exists "gnutls >= 2.6.6" 2>&5 && |
| 11277 | LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.6.6" 2>&5` && | 11283 | LIBGNUTLS_CFLAGS=`"$PKG_CONFIG" --cflags "gnutls >= 2.6.6" 2>&5` && |
| 11278 | LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.6.6" 2>&5`; then | 11284 | LIBGNUTLS_LIBS=`"$PKG_CONFIG" --libs "gnutls >= 2.6.6" 2>&5`; then |
| 11279 | edit_cflags=" | 11285 | edit_cflags=" |
| 11280 | s,///*,/,g | 11286 | s,///*,/,g |
| 11281 | s/^/ / | 11287 | s/^/ / |
| @@ -11295,7 +11301,7 @@ $as_echo "no" >&6; } | |||
| 11295 | ## If we have a custom action on failure, don't print errors, but | 11301 | ## If we have a custom action on failure, don't print errors, but |
| 11296 | ## do set a variable so people can do so. Do it in a subshell | 11302 | ## do set a variable so people can do so. Do it in a subshell |
| 11297 | ## to capture any diagnostics in invoking pkg-config. | 11303 | ## to capture any diagnostics in invoking pkg-config. |
| 11298 | LIBGNUTLS_PKG_ERRORS=`($PKG_CONFIG --print-errors "gnutls >= 2.6.6") 2>&1` | 11304 | LIBGNUTLS_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "gnutls >= 2.6.6") 2>&1` |
| 11299 | 11305 | ||
| 11300 | fi | 11306 | fi |
| 11301 | 11307 | ||
| @@ -11903,13 +11909,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 11903 | HAVE_FC=no | 11909 | HAVE_FC=no |
| 11904 | else | 11910 | else |
| 11905 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11911 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11906 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11912 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11907 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 | 11913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 |
| 11908 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 11914 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
| 11909 | 11915 | ||
| 11910 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5 && | 11916 | if "$PKG_CONFIG" --exists "fontconfig >= 2.2.0" 2>&5 && |
| 11911 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0" 2>&5` && | 11917 | FONTCONFIG_CFLAGS=`"$PKG_CONFIG" --cflags "fontconfig >= 2.2.0" 2>&5` && |
| 11912 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0" 2>&5`; then | 11918 | FONTCONFIG_LIBS=`"$PKG_CONFIG" --libs "fontconfig >= 2.2.0" 2>&5`; then |
| 11913 | edit_cflags=" | 11919 | edit_cflags=" |
| 11914 | s,///*,/,g | 11920 | s,///*,/,g |
| 11915 | s/^/ / | 11921 | s/^/ / |
| @@ -11929,7 +11935,7 @@ $as_echo "no" >&6; } | |||
| 11929 | ## If we have a custom action on failure, don't print errors, but | 11935 | ## If we have a custom action on failure, don't print errors, but |
| 11930 | ## do set a variable so people can do so. Do it in a subshell | 11936 | ## do set a variable so people can do so. Do it in a subshell |
| 11931 | ## to capture any diagnostics in invoking pkg-config. | 11937 | ## to capture any diagnostics in invoking pkg-config. |
| 11932 | FONTCONFIG_PKG_ERRORS=`($PKG_CONFIG --print-errors "fontconfig >= 2.2.0") 2>&1` | 11938 | FONTCONFIG_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "fontconfig >= 2.2.0") 2>&1` |
| 11933 | 11939 | ||
| 11934 | fi | 11940 | fi |
| 11935 | 11941 | ||
| @@ -11962,13 +11968,13 @@ $as_echo "no" >&6; } | |||
| 11962 | HAVE_XFT=no | 11968 | HAVE_XFT=no |
| 11963 | else | 11969 | else |
| 11964 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11970 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 11965 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11971 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 11966 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 | 11972 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 |
| 11967 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 11973 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
| 11968 | 11974 | ||
| 11969 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5 && | 11975 | if "$PKG_CONFIG" --exists "xft >= 0.13.0" 2>&5 && |
| 11970 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0" 2>&5` && | 11976 | XFT_CFLAGS=`"$PKG_CONFIG" --cflags "xft >= 0.13.0" 2>&5` && |
| 11971 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0" 2>&5`; then | 11977 | XFT_LIBS=`"$PKG_CONFIG" --libs "xft >= 0.13.0" 2>&5`; then |
| 11972 | edit_cflags=" | 11978 | edit_cflags=" |
| 11973 | s,///*,/,g | 11979 | s,///*,/,g |
| 11974 | s/^/ / | 11980 | s/^/ / |
| @@ -11988,7 +11994,7 @@ $as_echo "no" >&6; } | |||
| 11988 | ## If we have a custom action on failure, don't print errors, but | 11994 | ## If we have a custom action on failure, don't print errors, but |
| 11989 | ## do set a variable so people can do so. Do it in a subshell | 11995 | ## do set a variable so people can do so. Do it in a subshell |
| 11990 | ## to capture any diagnostics in invoking pkg-config. | 11996 | ## to capture any diagnostics in invoking pkg-config. |
| 11991 | XFT_PKG_ERRORS=`($PKG_CONFIG --print-errors "xft >= 0.13.0") 2>&1` | 11997 | XFT_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "xft >= 0.13.0") 2>&1` |
| 11992 | 11998 | ||
| 11993 | fi | 11999 | fi |
| 11994 | 12000 | ||
| @@ -12130,13 +12136,13 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h | |||
| 12130 | HAVE_FREETYPE=no | 12136 | HAVE_FREETYPE=no |
| 12131 | else | 12137 | else |
| 12132 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12138 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 12133 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12139 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 12134 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5 | 12140 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5 |
| 12135 | $as_echo_n "checking for freetype2... " >&6; } | 12141 | $as_echo_n "checking for freetype2... " >&6; } |
| 12136 | 12142 | ||
| 12137 | if $PKG_CONFIG --exists "freetype2" 2>&5 && | 12143 | if "$PKG_CONFIG" --exists "freetype2" 2>&5 && |
| 12138 | FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>&5` && | 12144 | FREETYPE_CFLAGS=`"$PKG_CONFIG" --cflags "freetype2" 2>&5` && |
| 12139 | FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>&5`; then | 12145 | FREETYPE_LIBS=`"$PKG_CONFIG" --libs "freetype2" 2>&5`; then |
| 12140 | edit_cflags=" | 12146 | edit_cflags=" |
| 12141 | s,///*,/,g | 12147 | s,///*,/,g |
| 12142 | s/^/ / | 12148 | s/^/ / |
| @@ -12156,7 +12162,7 @@ $as_echo "no" >&6; } | |||
| 12156 | ## If we have a custom action on failure, don't print errors, but | 12162 | ## If we have a custom action on failure, don't print errors, but |
| 12157 | ## do set a variable so people can do so. Do it in a subshell | 12163 | ## do set a variable so people can do so. Do it in a subshell |
| 12158 | ## to capture any diagnostics in invoking pkg-config. | 12164 | ## to capture any diagnostics in invoking pkg-config. |
| 12159 | FREETYPE_PKG_ERRORS=`($PKG_CONFIG --print-errors "freetype2") 2>&1` | 12165 | FREETYPE_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "freetype2") 2>&1` |
| 12160 | 12166 | ||
| 12161 | fi | 12167 | fi |
| 12162 | 12168 | ||
| @@ -12191,13 +12197,13 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | |||
| 12191 | HAVE_LIBOTF=no | 12197 | HAVE_LIBOTF=no |
| 12192 | else | 12198 | else |
| 12193 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12199 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 12194 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12200 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 12195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 | 12201 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 |
| 12196 | $as_echo_n "checking for libotf... " >&6; } | 12202 | $as_echo_n "checking for libotf... " >&6; } |
| 12197 | 12203 | ||
| 12198 | if $PKG_CONFIG --exists "libotf" 2>&5 && | 12204 | if "$PKG_CONFIG" --exists "libotf" 2>&5 && |
| 12199 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf" 2>&5` && | 12205 | LIBOTF_CFLAGS=`"$PKG_CONFIG" --cflags "libotf" 2>&5` && |
| 12200 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf" 2>&5`; then | 12206 | LIBOTF_LIBS=`"$PKG_CONFIG" --libs "libotf" 2>&5`; then |
| 12201 | edit_cflags=" | 12207 | edit_cflags=" |
| 12202 | s,///*,/,g | 12208 | s,///*,/,g |
| 12203 | s/^/ / | 12209 | s/^/ / |
| @@ -12217,7 +12223,7 @@ $as_echo "no" >&6; } | |||
| 12217 | ## If we have a custom action on failure, don't print errors, but | 12223 | ## If we have a custom action on failure, don't print errors, but |
| 12218 | ## do set a variable so people can do so. Do it in a subshell | 12224 | ## do set a variable so people can do so. Do it in a subshell |
| 12219 | ## to capture any diagnostics in invoking pkg-config. | 12225 | ## to capture any diagnostics in invoking pkg-config. |
| 12220 | LIBOTF_PKG_ERRORS=`($PKG_CONFIG --print-errors "libotf") 2>&1` | 12226 | LIBOTF_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "libotf") 2>&1` |
| 12221 | 12227 | ||
| 12222 | fi | 12228 | fi |
| 12223 | 12229 | ||
| @@ -12300,13 +12306,13 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | |||
| 12300 | HAVE_M17N_FLT=no | 12306 | HAVE_M17N_FLT=no |
| 12301 | else | 12307 | else |
| 12302 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12308 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 12303 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12309 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 12304 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 | 12310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 |
| 12305 | $as_echo_n "checking for m17n-flt... " >&6; } | 12311 | $as_echo_n "checking for m17n-flt... " >&6; } |
| 12306 | 12312 | ||
| 12307 | if $PKG_CONFIG --exists "m17n-flt" 2>&5 && | 12313 | if "$PKG_CONFIG" --exists "m17n-flt" 2>&5 && |
| 12308 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt" 2>&5` && | 12314 | M17N_FLT_CFLAGS=`"$PKG_CONFIG" --cflags "m17n-flt" 2>&5` && |
| 12309 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt" 2>&5`; then | 12315 | M17N_FLT_LIBS=`"$PKG_CONFIG" --libs "m17n-flt" 2>&5`; then |
| 12310 | edit_cflags=" | 12316 | edit_cflags=" |
| 12311 | s,///*,/,g | 12317 | s,///*,/,g |
| 12312 | s/^/ / | 12318 | s/^/ / |
| @@ -12326,7 +12332,7 @@ $as_echo "no" >&6; } | |||
| 12326 | ## If we have a custom action on failure, don't print errors, but | 12332 | ## If we have a custom action on failure, don't print errors, but |
| 12327 | ## do set a variable so people can do so. Do it in a subshell | 12333 | ## do set a variable so people can do so. Do it in a subshell |
| 12328 | ## to capture any diagnostics in invoking pkg-config. | 12334 | ## to capture any diagnostics in invoking pkg-config. |
| 12329 | M17N_FLT_PKG_ERRORS=`($PKG_CONFIG --print-errors "m17n-flt") 2>&1` | 12335 | M17N_FLT_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "m17n-flt") 2>&1` |
| 12330 | 12336 | ||
| 12331 | fi | 12337 | fi |
| 12332 | 12338 | ||
| @@ -13088,13 +13094,13 @@ if test "${with_xml2}" != "no"; then | |||
| 13088 | HAVE_LIBXML2=no | 13094 | HAVE_LIBXML2=no |
| 13089 | else | 13095 | else |
| 13090 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13096 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 13091 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13097 | if "$PKG_CONFIG" --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 13092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 > 2.6.17" >&5 | 13098 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 > 2.6.17" >&5 |
| 13093 | $as_echo_n "checking for libxml-2.0 > 2.6.17... " >&6; } | 13099 | $as_echo_n "checking for libxml-2.0 > 2.6.17... " >&6; } |
| 13094 | 13100 | ||
| 13095 | if $PKG_CONFIG --exists "libxml-2.0 > 2.6.17" 2>&5 && | 13101 | if "$PKG_CONFIG" --exists "libxml-2.0 > 2.6.17" 2>&5 && |
| 13096 | LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 > 2.6.17" 2>&5` && | 13102 | LIBXML2_CFLAGS=`"$PKG_CONFIG" --cflags "libxml-2.0 > 2.6.17" 2>&5` && |
| 13097 | LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 > 2.6.17" 2>&5`; then | 13103 | LIBXML2_LIBS=`"$PKG_CONFIG" --libs "libxml-2.0 > 2.6.17" 2>&5`; then |
| 13098 | edit_cflags=" | 13104 | edit_cflags=" |
| 13099 | s,///*,/,g | 13105 | s,///*,/,g |
| 13100 | s/^/ / | 13106 | s/^/ / |
| @@ -13114,7 +13120,7 @@ $as_echo "no" >&6; } | |||
| 13114 | ## If we have a custom action on failure, don't print errors, but | 13120 | ## If we have a custom action on failure, don't print errors, but |
| 13115 | ## do set a variable so people can do so. Do it in a subshell | 13121 | ## do set a variable so people can do so. Do it in a subshell |
| 13116 | ## to capture any diagnostics in invoking pkg-config. | 13122 | ## to capture any diagnostics in invoking pkg-config. |
| 13117 | LIBXML2_PKG_ERRORS=`($PKG_CONFIG --print-errors "libxml-2.0 > 2.6.17") 2>&1` | 13123 | LIBXML2_PKG_ERRORS=`("$PKG_CONFIG" --print-errors "libxml-2.0 > 2.6.17") 2>&1` |
| 13118 | 13124 | ||
| 13119 | fi | 13125 | fi |
| 13120 | 13126 | ||
| @@ -19908,6 +19914,17 @@ $as_echo "$gl_cv_next_time_h" >&6; } | |||
| 19908 | 19914 | ||
| 19909 | 19915 | ||
| 19910 | 19916 | ||
| 19917 | ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default" | ||
| 19918 | if test "x$ac_cv_have_decl_unsetenv" = x""yes; then : | ||
| 19919 | ac_have_decl=1 | ||
| 19920 | else | ||
| 19921 | ac_have_decl=0 | ||
| 19922 | fi | ||
| 19923 | |||
| 19924 | cat >>confdefs.h <<_ACEOF | ||
| 19925 | #define HAVE_DECL_UNSETENV $ac_have_decl | ||
| 19926 | _ACEOF | ||
| 19927 | |||
| 19911 | 19928 | ||
| 19912 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the utimes function works" >&5 | 19929 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the utimes function works" >&5 |
| 19913 | $as_echo_n "checking whether the utimes function works... " >&6; } | 19930 | $as_echo_n "checking whether the utimes function works... " >&6; } |
| @@ -22354,6 +22371,90 @@ $as_echo "#define HAVE_PTHREAD_SIGMASK 1" >>confdefs.h | |||
| 22354 | 22371 | ||
| 22355 | 22372 | ||
| 22356 | 22373 | ||
| 22374 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5 | ||
| 22375 | $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; } | ||
| 22376 | if test "${gl_cv_func_svid_putenv+set}" = set; then : | ||
| 22377 | $as_echo_n "(cached) " >&6 | ||
| 22378 | else | ||
| 22379 | if test "$cross_compiling" = yes; then : | ||
| 22380 | case "$host_os" in | ||
| 22381 | # Guess yes on glibc systems. | ||
| 22382 | *-gnu*) gl_cv_func_svid_putenv="guessing yes" ;; | ||
| 22383 | # If we don't know, assume the worst. | ||
| 22384 | *) gl_cv_func_svid_putenv="guessing no" ;; | ||
| 22385 | esac | ||
| 22386 | |||
| 22387 | else | ||
| 22388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 22389 | /* end confdefs.h. */ | ||
| 22390 | $ac_includes_default | ||
| 22391 | int | ||
| 22392 | main () | ||
| 22393 | { | ||
| 22394 | |||
| 22395 | /* Put it in env. */ | ||
| 22396 | if (putenv ("CONFTEST_putenv=val")) | ||
| 22397 | return 1; | ||
| 22398 | |||
| 22399 | /* Try to remove it. */ | ||
| 22400 | if (putenv ("CONFTEST_putenv")) | ||
| 22401 | return 2; | ||
| 22402 | |||
| 22403 | /* Make sure it was deleted. */ | ||
| 22404 | if (getenv ("CONFTEST_putenv") != 0) | ||
| 22405 | return 3; | ||
| 22406 | |||
| 22407 | return 0; | ||
| 22408 | |||
| 22409 | ; | ||
| 22410 | return 0; | ||
| 22411 | } | ||
| 22412 | _ACEOF | ||
| 22413 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 22414 | gl_cv_func_svid_putenv=yes | ||
| 22415 | else | ||
| 22416 | gl_cv_func_svid_putenv=no | ||
| 22417 | fi | ||
| 22418 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 22419 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 22420 | fi | ||
| 22421 | |||
| 22422 | |||
| 22423 | fi | ||
| 22424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5 | ||
| 22425 | $as_echo "$gl_cv_func_svid_putenv" >&6; } | ||
| 22426 | case "$gl_cv_func_svid_putenv" in | ||
| 22427 | *yes) ;; | ||
| 22428 | *) | ||
| 22429 | REPLACE_PUTENV=1 | ||
| 22430 | ;; | ||
| 22431 | esac | ||
| 22432 | |||
| 22433 | if test $REPLACE_PUTENV = 1; then | ||
| 22434 | |||
| 22435 | |||
| 22436 | |||
| 22437 | |||
| 22438 | |||
| 22439 | |||
| 22440 | |||
| 22441 | |||
| 22442 | gl_LIBOBJS="$gl_LIBOBJS putenv.$ac_objext" | ||
| 22443 | |||
| 22444 | fi | ||
| 22445 | |||
| 22446 | |||
| 22447 | |||
| 22448 | |||
| 22449 | |||
| 22450 | GNULIB_PUTENV=1 | ||
| 22451 | |||
| 22452 | |||
| 22453 | |||
| 22454 | |||
| 22455 | |||
| 22456 | |||
| 22457 | |||
| 22357 | 22458 | ||
| 22358 | if test $ac_cv_func_readlink = no; then | 22459 | if test $ac_cv_func_readlink = no; then |
| 22359 | HAVE_READLINK=0 | 22460 | HAVE_READLINK=0 |
| @@ -24261,6 +24362,160 @@ $as_echo "$gl_cv_next_unistd_h" >&6; } | |||
| 24261 | 24362 | ||
| 24262 | 24363 | ||
| 24263 | 24364 | ||
| 24365 | if test $ac_cv_have_decl_unsetenv = no; then | ||
| 24366 | HAVE_DECL_UNSETENV=0 | ||
| 24367 | fi | ||
| 24368 | for ac_func in unsetenv | ||
| 24369 | do : | ||
| 24370 | ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" | ||
| 24371 | if test "x$ac_cv_func_unsetenv" = x""yes; then : | ||
| 24372 | cat >>confdefs.h <<_ACEOF | ||
| 24373 | #define HAVE_UNSETENV 1 | ||
| 24374 | _ACEOF | ||
| 24375 | |||
| 24376 | fi | ||
| 24377 | done | ||
| 24378 | |||
| 24379 | if test $ac_cv_func_unsetenv = no; then | ||
| 24380 | HAVE_UNSETENV=0 | ||
| 24381 | else | ||
| 24382 | HAVE_UNSETENV=1 | ||
| 24383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5 | ||
| 24384 | $as_echo_n "checking for unsetenv() return type... " >&6; } | ||
| 24385 | if test "${gt_cv_func_unsetenv_ret+set}" = set; then : | ||
| 24386 | $as_echo_n "(cached) " >&6 | ||
| 24387 | else | ||
| 24388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 24389 | /* end confdefs.h. */ | ||
| 24390 | |||
| 24391 | #undef _BSD | ||
| 24392 | #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */ | ||
| 24393 | #include <stdlib.h> | ||
| 24394 | extern | ||
| 24395 | #ifdef __cplusplus | ||
| 24396 | "C" | ||
| 24397 | #endif | ||
| 24398 | int unsetenv (const char *name); | ||
| 24399 | |||
| 24400 | int | ||
| 24401 | main () | ||
| 24402 | { | ||
| 24403 | |||
| 24404 | ; | ||
| 24405 | return 0; | ||
| 24406 | } | ||
| 24407 | _ACEOF | ||
| 24408 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 24409 | gt_cv_func_unsetenv_ret='int' | ||
| 24410 | else | ||
| 24411 | gt_cv_func_unsetenv_ret='void' | ||
| 24412 | fi | ||
| 24413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24414 | fi | ||
| 24415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5 | ||
| 24416 | $as_echo "$gt_cv_func_unsetenv_ret" >&6; } | ||
| 24417 | if test $gt_cv_func_unsetenv_ret = 'void'; then | ||
| 24418 | |||
| 24419 | $as_echo "#define VOID_UNSETENV 1" >>confdefs.h | ||
| 24420 | |||
| 24421 | REPLACE_UNSETENV=1 | ||
| 24422 | fi | ||
| 24423 | |||
| 24424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5 | ||
| 24425 | $as_echo_n "checking whether unsetenv obeys POSIX... " >&6; } | ||
| 24426 | if test "${gl_cv_func_unsetenv_works+set}" = set; then : | ||
| 24427 | $as_echo_n "(cached) " >&6 | ||
| 24428 | else | ||
| 24429 | if test "$cross_compiling" = yes; then : | ||
| 24430 | case "$host_os" in | ||
| 24431 | # Guess yes on glibc systems. | ||
| 24432 | *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; | ||
| 24433 | # If we don't know, assume the worst. | ||
| 24434 | *) gl_cv_func_unsetenv_works="guessing no" ;; | ||
| 24435 | esac | ||
| 24436 | |||
| 24437 | else | ||
| 24438 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 24439 | /* end confdefs.h. */ | ||
| 24440 | |||
| 24441 | #include <stdlib.h> | ||
| 24442 | #include <errno.h> | ||
| 24443 | extern char **environ; | ||
| 24444 | |||
| 24445 | int | ||
| 24446 | main () | ||
| 24447 | { | ||
| 24448 | |||
| 24449 | char entry1[] = "a=1"; | ||
| 24450 | char entry2[] = "b=2"; | ||
| 24451 | char *env[] = { entry1, entry2, NULL }; | ||
| 24452 | if (putenv ((char *) "a=1")) return 1; | ||
| 24453 | if (putenv (entry2)) return 2; | ||
| 24454 | entry2[0] = 'a'; | ||
| 24455 | unsetenv ("a"); | ||
| 24456 | if (getenv ("a")) return 3; | ||
| 24457 | if (!unsetenv ("") || errno != EINVAL) return 4; | ||
| 24458 | entry2[0] = 'b'; | ||
| 24459 | environ = env; | ||
| 24460 | if (!getenv ("a")) return 5; | ||
| 24461 | entry2[0] = 'a'; | ||
| 24462 | unsetenv ("a"); | ||
| 24463 | if (getenv ("a")) return 6; | ||
| 24464 | |||
| 24465 | ; | ||
| 24466 | return 0; | ||
| 24467 | } | ||
| 24468 | _ACEOF | ||
| 24469 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 24470 | gl_cv_func_unsetenv_works=yes | ||
| 24471 | else | ||
| 24472 | gl_cv_func_unsetenv_works=no | ||
| 24473 | fi | ||
| 24474 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 24475 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 24476 | fi | ||
| 24477 | |||
| 24478 | fi | ||
| 24479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5 | ||
| 24480 | $as_echo "$gl_cv_func_unsetenv_works" >&6; } | ||
| 24481 | case "$gl_cv_func_unsetenv_works" in | ||
| 24482 | *yes) ;; | ||
| 24483 | *) | ||
| 24484 | REPLACE_UNSETENV=1 | ||
| 24485 | ;; | ||
| 24486 | esac | ||
| 24487 | fi | ||
| 24488 | |||
| 24489 | if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then | ||
| 24490 | |||
| 24491 | |||
| 24492 | |||
| 24493 | |||
| 24494 | |||
| 24495 | |||
| 24496 | |||
| 24497 | |||
| 24498 | gl_LIBOBJS="$gl_LIBOBJS unsetenv.$ac_objext" | ||
| 24499 | |||
| 24500 | |||
| 24501 | |||
| 24502 | |||
| 24503 | |||
| 24504 | fi | ||
| 24505 | |||
| 24506 | |||
| 24507 | |||
| 24508 | |||
| 24509 | |||
| 24510 | GNULIB_UNSETENV=1 | ||
| 24511 | |||
| 24512 | |||
| 24513 | |||
| 24514 | |||
| 24515 | |||
| 24516 | |||
| 24517 | |||
| 24518 | |||
| 24264 | 24519 | ||
| 24265 | 24520 | ||
| 24266 | 24521 | ||
| @@ -25557,7 +25812,7 @@ ac_config_files="$ac_config_files Makefile lib/Makefile lib-src/Makefile oldXMen | |||
| 25557 | 25812 | ||
| 25558 | opt_makefile=test/automated/Makefile | 25813 | opt_makefile=test/automated/Makefile |
| 25559 | 25814 | ||
| 25560 | if test -f $srcdir/${opt_makefile}.in; then | 25815 | if test -f "$srcdir/$opt_makefile.in"; then |
| 25561 | SUBDIR_MAKEFILES="$SUBDIR_MAKEFILES $opt_makefile" | 25816 | SUBDIR_MAKEFILES="$SUBDIR_MAKEFILES $opt_makefile" |
| 25562 | ac_config_files="$ac_config_files test/automated/Makefile" | 25817 | ac_config_files="$ac_config_files test/automated/Makefile" |
| 25563 | 25818 | ||
| @@ -25566,7 +25821,7 @@ fi | |||
| 25566 | 25821 | ||
| 25567 | opt_makefile=admin/unidata/Makefile | 25822 | opt_makefile=admin/unidata/Makefile |
| 25568 | 25823 | ||
| 25569 | if test -f $srcdir/${opt_makefile}.in; then | 25824 | if test -f "$srcdir/$opt_makefile.in"; then |
| 25570 | SUBDIR_MAKEFILES="$SUBDIR_MAKEFILES $opt_makefile" | 25825 | SUBDIR_MAKEFILES="$SUBDIR_MAKEFILES $opt_makefile" |
| 25571 | ac_config_files="$ac_config_files admin/unidata/Makefile" | 25826 | ac_config_files="$ac_config_files admin/unidata/Makefile" |
| 25572 | 25827 | ||
| @@ -27162,9 +27417,9 @@ echo creating src/epaths.h | |||
| 27162 | ${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force | 27417 | ${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force |
| 27163 | ;; | 27418 | ;; |
| 27164 | "gdbinit":C) | 27419 | "gdbinit":C) |
| 27165 | if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then | 27420 | if test ! -f src/.gdbinit && test -f "$srcdir/src/.gdbinit"; then |
| 27166 | echo creating src/.gdbinit | 27421 | echo creating src/.gdbinit |
| 27167 | echo source $srcdir/src/.gdbinit > src/.gdbinit | 27422 | echo "source $srcdir/src/.gdbinit" > src/.gdbinit |
| 27168 | fi | 27423 | fi |
| 27169 | ;; | 27424 | ;; |
| 27170 | 27425 | ||