|
@@ -1,6 +1,6 @@
|
|
|
#! /bin/sh
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
-# Generated by GNU Autoconf 2.69 for file 5.39.
|
|
|
+# Generated by GNU Autoconf 2.69 for file 5.41.
|
|
|
#
|
|
|
# Report bugs to <christos@astron.com>.
|
|
|
#
|
|
@@ -590,8 +590,8 @@ MAKEFLAGS=
|
|
|
# Identity of this package.
|
|
|
PACKAGE_NAME='file'
|
|
|
PACKAGE_TARNAME='file'
|
|
|
-PACKAGE_VERSION='5.39'
|
|
|
-PACKAGE_STRING='file 5.39'
|
|
|
+PACKAGE_VERSION='5.41'
|
|
|
+PACKAGE_STRING='file 5.41'
|
|
|
PACKAGE_BUGREPORT='christos@astron.com'
|
|
|
PACKAGE_URL=''
|
|
|
|
|
@@ -1334,7 +1334,7 @@ if test "$ac_init_help" = "long"; then
|
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
cat <<_ACEOF
|
|
|
-\`configure' configures file 5.39 to adapt to many kinds of systems.
|
|
|
+\`configure' configures file 5.41 to adapt to many kinds of systems.
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
@@ -1404,7 +1404,7 @@ fi
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
case $ac_init_help in
|
|
|
- short | recursive ) echo "Configuration of file 5.39:";;
|
|
|
+ short | recursive ) echo "Configuration of file 5.41:";;
|
|
|
esac
|
|
|
cat <<\_ACEOF
|
|
|
|
|
@@ -1524,7 +1524,7 @@ fi
|
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
|
if $ac_init_version; then
|
|
|
cat <<\_ACEOF
|
|
|
-file configure 5.39
|
|
|
+file configure 5.41
|
|
|
generated by GNU Autoconf 2.69
|
|
|
|
|
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
@@ -2180,7 +2180,7 @@ cat >config.log <<_ACEOF
|
|
|
This file contains any messages produced by compilers while
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
-It was created by file $as_me 5.39, which was
|
|
|
+It was created by file $as_me 5.41, which was
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
$ $0 $@
|
|
@@ -3046,7 +3046,7 @@ fi
|
|
|
|
|
|
# Define the identity of the package.
|
|
|
PACKAGE='file'
|
|
|
- VERSION='5.39'
|
|
|
+ VERSION='5.41'
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
@@ -3401,69 +3401,6 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
-DEPDIR="${am__leading_dot}deps"
|
|
|
-
|
|
|
-ac_config_commands="$ac_config_commands depfiles"
|
|
|
-
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
|
-$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
|
-cat > confinc.mk << 'END'
|
|
|
-am__doit:
|
|
|
- @echo this is the am__doit target >confinc.out
|
|
|
-.PHONY: am__doit
|
|
|
-END
|
|
|
-am__include="#"
|
|
|
-am__quote=
|
|
|
-# BSD make does it like this.
|
|
|
-echo '.include "confinc.mk" # ignored' > confmf.BSD
|
|
|
-# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
|
|
-echo 'include confinc.mk # ignored' > confmf.GNU
|
|
|
-_am_result=no
|
|
|
-for s in GNU BSD; do
|
|
|
- { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
|
|
|
- (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
|
|
|
- ac_status=$?
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); }
|
|
|
- case $?:`cat confinc.out 2>/dev/null` in #(
|
|
|
- '0:this is the am__doit target') :
|
|
|
- case $s in #(
|
|
|
- BSD) :
|
|
|
- am__include='.include' am__quote='"' ;; #(
|
|
|
- *) :
|
|
|
- am__include='include' am__quote='' ;;
|
|
|
-esac ;; #(
|
|
|
- *) :
|
|
|
- ;;
|
|
|
-esac
|
|
|
- if test "$am__include" != "#"; then
|
|
|
- _am_result="yes ($s style)"
|
|
|
- break
|
|
|
- fi
|
|
|
-done
|
|
|
-rm -f confinc.* confmf.*
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
|
|
-$as_echo "${_am_result}" >&6; }
|
|
|
-
|
|
|
-# Check whether --enable-dependency-tracking was given.
|
|
|
-if test "${enable_dependency_tracking+set}" = set; then :
|
|
|
- enableval=$enable_dependency_tracking;
|
|
|
-fi
|
|
|
-
|
|
|
-if test "x$enable_dependency_tracking" != xno; then
|
|
|
- am_depcomp="$ac_aux_dir/depcomp"
|
|
|
- AMDEPBACKSLASH='\'
|
|
|
- am__nodep='_no'
|
|
|
-fi
|
|
|
- if test "x$enable_dependency_tracking" != xno; then
|
|
|
- AMDEP_TRUE=
|
|
|
- AMDEP_FALSE='#'
|
|
|
-else
|
|
|
- AMDEP_TRUE='#'
|
|
|
- AMDEP_FALSE=
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
ac_ext=c
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
@@ -4311,6 +4248,69 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
+DEPDIR="${am__leading_dot}deps"
|
|
|
+
|
|
|
+ac_config_commands="$ac_config_commands depfiles"
|
|
|
+
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
|
+$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
|
+cat > confinc.mk << 'END'
|
|
|
+am__doit:
|
|
|
+ @echo this is the am__doit target >confinc.out
|
|
|
+.PHONY: am__doit
|
|
|
+END
|
|
|
+am__include="#"
|
|
|
+am__quote=
|
|
|
+# BSD make does it like this.
|
|
|
+echo '.include "confinc.mk" # ignored' > confmf.BSD
|
|
|
+# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
|
|
+echo 'include confinc.mk # ignored' > confmf.GNU
|
|
|
+_am_result=no
|
|
|
+for s in GNU BSD; do
|
|
|
+ { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
|
|
|
+ (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }
|
|
|
+ case $?:`cat confinc.out 2>/dev/null` in #(
|
|
|
+ '0:this is the am__doit target') :
|
|
|
+ case $s in #(
|
|
|
+ BSD) :
|
|
|
+ am__include='.include' am__quote='"' ;; #(
|
|
|
+ *) :
|
|
|
+ am__include='include' am__quote='' ;;
|
|
|
+esac ;; #(
|
|
|
+ *) :
|
|
|
+ ;;
|
|
|
+esac
|
|
|
+ if test "$am__include" != "#"; then
|
|
|
+ _am_result="yes ($s style)"
|
|
|
+ break
|
|
|
+ fi
|
|
|
+done
|
|
|
+rm -f confinc.* confmf.*
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
|
|
|
+$as_echo "${_am_result}" >&6; }
|
|
|
+
|
|
|
+# Check whether --enable-dependency-tracking was given.
|
|
|
+if test "${enable_dependency_tracking+set}" = set; then :
|
|
|
+ enableval=$enable_dependency_tracking;
|
|
|
+fi
|
|
|
+
|
|
|
+if test "x$enable_dependency_tracking" != xno; then
|
|
|
+ am_depcomp="$ac_aux_dir/depcomp"
|
|
|
+ AMDEPBACKSLASH='\'
|
|
|
+ am__nodep='_no'
|
|
|
+fi
|
|
|
+ if test "x$enable_dependency_tracking" != xno; then
|
|
|
+ AMDEP_TRUE=
|
|
|
+ AMDEP_FALSE='#'
|
|
|
+else
|
|
|
+ AMDEP_TRUE='#'
|
|
|
+ AMDEP_FALSE=
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
|
|
|
depcc="$CC" am_compiler_list=
|
|
|
|
|
@@ -4440,298 +4440,6 @@ else
|
|
|
fi
|
|
|
|
|
|
|
|
|
- case $ac_cv_prog_cc_stdc in #(
|
|
|
- no) :
|
|
|
- ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
|
|
|
- *) :
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
|
|
|
-$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
|
|
|
-if ${ac_cv_prog_cc_c99+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- ac_cv_prog_cc_c99=no
|
|
|
-ac_save_CC=$CC
|
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <stdarg.h>
|
|
|
-#include <stdbool.h>
|
|
|
-#include <stdlib.h>
|
|
|
-#include <wchar.h>
|
|
|
-#include <stdio.h>
|
|
|
-
|
|
|
-// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
|
|
-#define debug(...) fprintf (stderr, __VA_ARGS__)
|
|
|
-#define showlist(...) puts (#__VA_ARGS__)
|
|
|
-#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
|
|
|
-static void
|
|
|
-test_varargs_macros (void)
|
|
|
-{
|
|
|
- int x = 1234;
|
|
|
- int y = 5678;
|
|
|
- debug ("Flag");
|
|
|
- debug ("X = %d\n", x);
|
|
|
- showlist (The first, second, and third items.);
|
|
|
- report (x>y, "x is %d but y is %d", x, y);
|
|
|
-}
|
|
|
-
|
|
|
-// Check long long types.
|
|
|
-#define BIG64 18446744073709551615ull
|
|
|
-#define BIG32 4294967295ul
|
|
|
-#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
|
|
|
-#if !BIG_OK
|
|
|
- your preprocessor is broken;
|
|
|
-#endif
|
|
|
-#if BIG_OK
|
|
|
-#else
|
|
|
- your preprocessor is broken;
|
|
|
-#endif
|
|
|
-static long long int bignum = -9223372036854775807LL;
|
|
|
-static unsigned long long int ubignum = BIG64;
|
|
|
-
|
|
|
-struct incomplete_array
|
|
|
-{
|
|
|
- int datasize;
|
|
|
- double data[];
|
|
|
-};
|
|
|
-
|
|
|
-struct named_init {
|
|
|
- int number;
|
|
|
- const wchar_t *name;
|
|
|
- double average;
|
|
|
-};
|
|
|
-
|
|
|
-typedef const char *ccp;
|
|
|
-
|
|
|
-static inline int
|
|
|
-test_restrict (ccp restrict text)
|
|
|
-{
|
|
|
- // See if C++-style comments work.
|
|
|
- // Iterate through items via the restricted pointer.
|
|
|
- // Also check for declarations in for loops.
|
|
|
- for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|
|
|
- continue;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
-// Check varargs and va_copy.
|
|
|
-static void
|
|
|
-test_varargs (const char *format, ...)
|
|
|
-{
|
|
|
- va_list args;
|
|
|
- va_start (args, format);
|
|
|
- va_list args_copy;
|
|
|
- va_copy (args_copy, args);
|
|
|
-
|
|
|
- const char *str;
|
|
|
- int number;
|
|
|
- float fnumber;
|
|
|
-
|
|
|
- while (*format)
|
|
|
- {
|
|
|
- switch (*format++)
|
|
|
- {
|
|
|
- case 's': // string
|
|
|
- str = va_arg (args_copy, const char *);
|
|
|
- break;
|
|
|
- case 'd': // int
|
|
|
- number = va_arg (args_copy, int);
|
|
|
- break;
|
|
|
- case 'f': // float
|
|
|
- fnumber = va_arg (args_copy, double);
|
|
|
- break;
|
|
|
- default:
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- va_end (args_copy);
|
|
|
- va_end (args);
|
|
|
-}
|
|
|
-
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-
|
|
|
- // Check bool.
|
|
|
- _Bool success = false;
|
|
|
-
|
|
|
- // Check restrict.
|
|
|
- if (test_restrict ("String literal") == 0)
|
|
|
- success = true;
|
|
|
- char *restrict newvar = "Another string";
|
|
|
-
|
|
|
- // Check varargs.
|
|
|
- test_varargs ("s, d' f .", "string", 65, 34.234);
|
|
|
- test_varargs_macros ();
|
|
|
-
|
|
|
- // Check flexible array members.
|
|
|
- struct incomplete_array *ia =
|
|
|
- malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|
|
|
- ia->datasize = 10;
|
|
|
- for (int i = 0; i < ia->datasize; ++i)
|
|
|
- ia->data[i] = i * 1.234;
|
|
|
-
|
|
|
- // Check named initializers.
|
|
|
- struct named_init ni = {
|
|
|
- .number = 34,
|
|
|
- .name = L"Test wide string",
|
|
|
- .average = 543.34343,
|
|
|
- };
|
|
|
-
|
|
|
- ni.number = 58;
|
|
|
-
|
|
|
- int dynamic_array[ni.number];
|
|
|
- dynamic_array[ni.number - 1] = 543;
|
|
|
-
|
|
|
- // work around unused variable warnings
|
|
|
- return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|
|
|
- || dynamic_array[ni.number - 1] != 543);
|
|
|
-
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
|
|
|
-do
|
|
|
- CC="$ac_save_CC $ac_arg"
|
|
|
- if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
- ac_cv_prog_cc_c99=$ac_arg
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext
|
|
|
- test "x$ac_cv_prog_cc_c99" != "xno" && break
|
|
|
-done
|
|
|
-rm -f conftest.$ac_ext
|
|
|
-CC=$ac_save_CC
|
|
|
-
|
|
|
-fi
|
|
|
-# AC_CACHE_VAL
|
|
|
-case "x$ac_cv_prog_cc_c99" in
|
|
|
- x)
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
|
-$as_echo "none needed" >&6; } ;;
|
|
|
- xno)
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
|
-$as_echo "unsupported" >&6; } ;;
|
|
|
- *)
|
|
|
- CC="$CC $ac_cv_prog_cc_c99"
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
|
|
|
-$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
|
|
|
-esac
|
|
|
-if test "x$ac_cv_prog_cc_c99" != xno; then :
|
|
|
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
|
|
|
-else
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
|
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
|
-if ${ac_cv_prog_cc_c89+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- ac_cv_prog_cc_c89=no
|
|
|
-ac_save_CC=$CC
|
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <stdarg.h>
|
|
|
-#include <stdio.h>
|
|
|
-struct stat;
|
|
|
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
|
-struct buf { int x; };
|
|
|
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
|
-static char *e (p, i)
|
|
|
- char **p;
|
|
|
- int i;
|
|
|
-{
|
|
|
- return p[i];
|
|
|
-}
|
|
|
-static char *f (char * (*g) (char **, int), char **p, ...)
|
|
|
-{
|
|
|
- char *s;
|
|
|
- va_list v;
|
|
|
- va_start (v,p);
|
|
|
- s = g (p, va_arg (v,int));
|
|
|
- va_end (v);
|
|
|
- return s;
|
|
|
-}
|
|
|
-
|
|
|
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
|
- function prototypes and stuff, but not '\xHH' hex character constants.
|
|
|
- These don't provoke an error unfortunately, instead are silently treated
|
|
|
- as 'x'. The following induces an error, until -std is added to get
|
|
|
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
|
- array size at least. It's necessary to write '\x00'==0 to get something
|
|
|
- that's true only with -std. */
|
|
|
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
|
-
|
|
|
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
|
- inside strings and character constants. */
|
|
|
-#define FOO(x) 'x'
|
|
|
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
|
-
|
|
|
-int test (int i, double x);
|
|
|
-struct s1 {int (*f) (int a);};
|
|
|
-struct s2 {int (*f) (double a);};
|
|
|
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
|
-int argc;
|
|
|
-char **argv;
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
|
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
|
-do
|
|
|
- CC="$ac_save_CC $ac_arg"
|
|
|
- if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
- ac_cv_prog_cc_c89=$ac_arg
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext
|
|
|
- test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
|
-done
|
|
|
-rm -f conftest.$ac_ext
|
|
|
-CC=$ac_save_CC
|
|
|
-
|
|
|
-fi
|
|
|
-# AC_CACHE_VAL
|
|
|
-case "x$ac_cv_prog_cc_c89" in
|
|
|
- x)
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
|
-$as_echo "none needed" >&6; } ;;
|
|
|
- xno)
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
|
-$as_echo "unsupported" >&6; } ;;
|
|
|
- *)
|
|
|
- CC="$CC $ac_cv_prog_cc_c89"
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
|
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
|
-esac
|
|
|
-if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
|
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
|
|
|
-else
|
|
|
- ac_cv_prog_cc_stdc=no
|
|
|
-fi
|
|
|
-
|
|
|
-fi
|
|
|
- ;;
|
|
|
-esac
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
|
|
|
-$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
|
|
|
- if ${ac_cv_prog_cc_stdc+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-fi
|
|
|
-
|
|
|
- case $ac_cv_prog_cc_stdc in #(
|
|
|
- no) :
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
|
-$as_echo "unsupported" >&6; } ;; #(
|
|
|
- '') :
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
|
-$as_echo "none needed" >&6; } ;; #(
|
|
|
- *) :
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
|
|
-$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
|
|
-esac
|
|
|
-
|
|
|
|
|
|
ac_ext=c
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
@@ -13022,12 +12730,13 @@ CC=$lt_save_CC
|
|
|
if test -n "$GCC"; then
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
|
|
|
$as_echo_n "checking whether the -Werror option is usable... " >&6; }
|
|
|
-if ${gl_cv_cc_vis_werror+:} false; then :
|
|
|
+ if ${gl_cv_cc_vis_werror+:} false; then :
|
|
|
$as_echo_n "(cached) " >&6
|
|
|
else
|
|
|
- gl_save_CFLAGS="$CFLAGS"
|
|
|
- CFLAGS="$CFLAGS -Werror"
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
+
|
|
|
+ gl_save_CFLAGS="$CFLAGS"
|
|
|
+ CFLAGS="$CFLAGS -Werror"
|
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
|
|
|
int
|
|
@@ -13044,28 +12753,29 @@ else
|
|
|
gl_cv_cc_vis_werror=no
|
|
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
- CFLAGS="$gl_save_CFLAGS"
|
|
|
-
|
|
|
+ CFLAGS="$gl_save_CFLAGS"
|
|
|
fi
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
|
|
|
+
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
|
|
|
$as_echo "$gl_cv_cc_vis_werror" >&6; }
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
|
|
|
$as_echo_n "checking for simple visibility declarations... " >&6; }
|
|
|
-if ${gl_cv_cc_visibility+:} false; then :
|
|
|
+ if ${gl_cv_cc_visibility+:} false; then :
|
|
|
$as_echo_n "(cached) " >&6
|
|
|
else
|
|
|
- gl_save_CFLAGS="$CFLAGS"
|
|
|
- CFLAGS="$CFLAGS -fvisibility=hidden"
|
|
|
- if test $gl_cv_cc_vis_werror = yes; then
|
|
|
- CFLAGS="$CFLAGS -Werror"
|
|
|
- fi
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
+
|
|
|
+ gl_save_CFLAGS="$CFLAGS"
|
|
|
+ CFLAGS="$CFLAGS -fvisibility=hidden"
|
|
|
+ if test $gl_cv_cc_vis_werror = yes; then
|
|
|
+ CFLAGS="$CFLAGS -Werror"
|
|
|
+ fi
|
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
extern __attribute__((__visibility__("hidden"))) int hiddenvar;
|
|
|
- extern __attribute__((__visibility__("default"))) int exportedvar;
|
|
|
- extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
|
|
|
- extern __attribute__((__visibility__("default"))) int exportedfunc (void);
|
|
|
- void dummyfunc (void) {}
|
|
|
+ extern __attribute__((__visibility__("default"))) int exportedvar;
|
|
|
+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
|
|
|
+ extern __attribute__((__visibility__("default"))) int exportedfunc (void);
|
|
|
+ void dummyfunc (void) {}
|
|
|
|
|
|
int
|
|
|
main ()
|
|
@@ -13081,10 +12791,10 @@ else
|
|
|
gl_cv_cc_visibility=no
|
|
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
- CFLAGS="$gl_save_CFLAGS"
|
|
|
-
|
|
|
+ CFLAGS="$gl_save_CFLAGS"
|
|
|
fi
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
|
|
|
+
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
|
|
|
$as_echo "$gl_cv_cc_visibility" >&6; }
|
|
|
if test $gl_cv_cc_visibility = yes; then
|
|
|
CFLAG_VISIBILITY="-fvisibility=hidden"
|
|
@@ -13099,118 +12809,6 @@ cat >>confdefs.h <<_ACEOF
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
|
|
-$as_echo_n "checking for ANSI C header files... " >&6; }
|
|
|
-if ${ac_cv_header_stdc+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <stdlib.h>
|
|
|
-#include <stdarg.h>
|
|
|
-#include <string.h>
|
|
|
-#include <float.h>
|
|
|
-
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
- ac_cv_header_stdc=yes
|
|
|
-else
|
|
|
- ac_cv_header_stdc=no
|
|
|
-fi
|
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-
|
|
|
-if test $ac_cv_header_stdc = yes; then
|
|
|
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <string.h>
|
|
|
-
|
|
|
-_ACEOF
|
|
|
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
- $EGREP "memchr" >/dev/null 2>&1; then :
|
|
|
-
|
|
|
-else
|
|
|
- ac_cv_header_stdc=no
|
|
|
-fi
|
|
|
-rm -f conftest*
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-if test $ac_cv_header_stdc = yes; then
|
|
|
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <stdlib.h>
|
|
|
-
|
|
|
-_ACEOF
|
|
|
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
- $EGREP "free" >/dev/null 2>&1; then :
|
|
|
-
|
|
|
-else
|
|
|
- ac_cv_header_stdc=no
|
|
|
-fi
|
|
|
-rm -f conftest*
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-if test $ac_cv_header_stdc = yes; then
|
|
|
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
|
- if test "$cross_compiling" = yes; then :
|
|
|
- :
|
|
|
-else
|
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <ctype.h>
|
|
|
-#include <stdlib.h>
|
|
|
-#if ((' ' & 0x0FF) == 0x020)
|
|
|
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
-#else
|
|
|
-# define ISLOWER(c) \
|
|
|
- (('a' <= (c) && (c) <= 'i') \
|
|
|
- || ('j' <= (c) && (c) <= 'r') \
|
|
|
- || ('s' <= (c) && (c) <= 'z'))
|
|
|
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
|
-#endif
|
|
|
-
|
|
|
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
- int i;
|
|
|
- for (i = 0; i < 256; i++)
|
|
|
- if (XOR (islower (i), ISLOWER (i))
|
|
|
- || toupper (i) != TOUPPER (i))
|
|
|
- return 2;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_run "$LINENO"; then :
|
|
|
-
|
|
|
-else
|
|
|
- ac_cv_header_stdc=no
|
|
|
-fi
|
|
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
|
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
|
-fi
|
|
|
-
|
|
|
-fi
|
|
|
-fi
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
|
-$as_echo "$ac_cv_header_stdc" >&6; }
|
|
|
-if test $ac_cv_header_stdc = yes; then
|
|
|
-
|
|
|
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
|
|
|
$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
|
|
|
if ${ac_cv_header_sys_types_h_makedev+:} false; then :
|
|
@@ -13605,12 +13203,12 @@ else
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
#include <time.h>
|
|
|
-#if !HAVE_DECL_TZNAME
|
|
|
-extern char *tzname[];
|
|
|
-#endif
|
|
|
int
|
|
|
main ()
|
|
|
{
|
|
|
+#if !HAVE_DECL_TZNAME
|
|
|
+extern char *tzname[];
|
|
|
+#endif
|
|
|
return tzname[0][0];
|
|
|
;
|
|
|
return 0;
|
|
@@ -13685,12 +13283,12 @@ else
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
#include <time.h>
|
|
|
-#if !HAVE_DECL_DAYLIGHT
|
|
|
-extern int daylight;
|
|
|
-#endif
|
|
|
int
|
|
|
main ()
|
|
|
{
|
|
|
+#if !HAVE_DECL_DAYLIGHT
|
|
|
+extern int daylight;
|
|
|
+#endif
|
|
|
atoi(daylight);
|
|
|
;
|
|
|
return 0;
|
|
@@ -14692,7 +14290,7 @@ fi
|
|
|
fi
|
|
|
|
|
|
|
|
|
-for ac_func in strndup mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem
|
|
|
+for ac_func in strndup mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem pipe2
|
|
|
do :
|
|
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
@@ -15712,7 +15310,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
# values after options handling.
|
|
|
ac_log="
|
|
|
-This file was extended by file $as_me 5.39, which was
|
|
|
+This file was extended by file $as_me 5.41, which was
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
@@ -15778,7 +15376,7 @@ _ACEOF
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
ac_cs_version="\\
|
|
|
-file config.status 5.39
|
|
|
+file config.status 5.41
|
|
|
configured by $0, generated by GNU Autoconf 2.69,
|
|
|
with options \\"\$ac_cs_config\\"
|
|
|
|