|
|
@@ -1,5 +1,5 @@
|
|
|
#! /bin/sh
|
|
|
-# From configure.ac Revision: 1.24 .
|
|
|
+# From configure.ac Revision: 1.25 .
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
# Generated by GNU Autoconf 2.59.
|
|
|
#
|
|
|
@@ -6264,6 +6264,7 @@ _ACEOF
|
|
|
fi
|
|
|
|
|
|
|
|
|
+
|
|
|
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
|
|
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
|
|
if test "${ac_cv_c_const+set}" = set; then
|
|
|
@@ -6370,6 +6371,68 @@ _ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
|
+echo "$as_me:$LINENO: checking for working volatile" >&5
|
|
|
+echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
|
|
|
+if test "${ac_cv_c_volatile+set}" = set; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+
|
|
|
+int
|
|
|
+main ()
|
|
|
+{
|
|
|
+
|
|
|
+volatile int x;
|
|
|
+int * volatile y;
|
|
|
+ ;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+_ACEOF
|
|
|
+rm -f conftest.$ac_objext
|
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
+ ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); } &&
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ ac_cv_c_volatile=yes
|
|
|
+else
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
+
|
|
|
+ac_cv_c_volatile=no
|
|
|
+fi
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
|
|
|
+echo "${ECHO_T}$ac_cv_c_volatile" >&6
|
|
|
+if test $ac_cv_c_volatile = no; then
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define volatile
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
|
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
|
|
|
if test "${ac_cv_c_bigendian+set}" = set; then
|
|
|
@@ -6667,6 +6730,159 @@ _ACEOF
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
+
|
|
|
+echo "$as_me:$LINENO: checking whether char is unsigned" >&5
|
|
|
+echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
|
|
|
+if test "${ac_cv_c_char_unsigned+set}" = set; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+$ac_includes_default
|
|
|
+int
|
|
|
+main ()
|
|
|
+{
|
|
|
+static int test_array [1 - 2 * !(((char) -1) < 0)];
|
|
|
+test_array [0] = 0
|
|
|
+
|
|
|
+ ;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+_ACEOF
|
|
|
+rm -f conftest.$ac_objext
|
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
+ ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); } &&
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ ac_cv_c_char_unsigned=no
|
|
|
+else
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
+
|
|
|
+ac_cv_c_char_unsigned=yes
|
|
|
+fi
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
|
|
|
+echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
|
|
|
+if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
|
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
|
+#define __CHAR_UNSIGNED__ 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+echo "$as_me:$LINENO: checking for preprocessor stringizing operator" >&5
|
|
|
+echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" >&6
|
|
|
+if test "${ac_cv_c_stringize+set}" = set; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+#define x(y) #y
|
|
|
+
|
|
|
+char *s = x(teststring);
|
|
|
+_ACEOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ $EGREP "#teststring" >/dev/null 2>&1; then
|
|
|
+ ac_cv_c_stringize=no
|
|
|
+else
|
|
|
+ ac_cv_c_stringize=yes
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_c_stringize" >&5
|
|
|
+echo "${ECHO_T}$ac_cv_c_stringize" >&6
|
|
|
+if test $ac_cv_c_stringize = yes; then
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define HAVE_STRINGIZE 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
+#checkpoint
|
|
|
+cat >confcache <<\_ACEOF
|
|
|
+# This file is a shell script that caches the results of configure
|
|
|
+# tests run on this system so they can be shared between configure
|
|
|
+# scripts and configure runs, see configure's option --config-cache.
|
|
|
+# It is not useful on other systems. If it contains results you don't
|
|
|
+# want to keep, you may remove or edit it.
|
|
|
+#
|
|
|
+# config.status only pays attention to the cache file if you give it
|
|
|
+# the --recheck option to rerun configure.
|
|
|
+#
|
|
|
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
|
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
|
+# following values.
|
|
|
+
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+# The following way of writing the cache mishandles newlines in values,
|
|
|
+# but we know of no workaround that is simple, portable, and efficient.
|
|
|
+# So, don't put newlines in cache variables' values.
|
|
|
+# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
+# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
+{
|
|
|
+ (set) 2>&1 |
|
|
|
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
+ *ac_space=\ *)
|
|
|
+ # `set' does not quote correctly, so add quotes (double-quote
|
|
|
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
|
+ sed -n \
|
|
|
+ "s/'/'\\\\''/g;
|
|
|
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
|
+ ;;
|
|
|
+ *)
|
|
|
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
+ sed -n \
|
|
|
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
+ ;;
|
|
|
+ esac;
|
|
|
+} |
|
|
|
+ sed '
|
|
|
+ t clear
|
|
|
+ : clear
|
|
|
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
|
+ t end
|
|
|
+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
|
+ : end' >>confcache
|
|
|
+if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
|
+ if test -w $cache_file; then
|
|
|
+ test "x$cache_file" != "x/dev/null"
|
|
|
+ cat confcache >$cache_file
|
|
|
+ else
|
|
|
+ echo "not updating unwritable cache $cache_file"
|
|
|
+ fi
|
|
|
+fi
|
|
|
+rm -f confcache
|
|
|
+
|
|
|
echo "$as_me:$LINENO: checking for int" >&5
|
|
|
echo $ECHO_N "checking for int... $ECHO_C" >&6
|
|
|
if test "${ac_cv_type_int+set}" = set; then
|
|
|
@@ -8293,124 +8509,6 @@ _ACEOF
|
|
|
|
|
|
|
|
|
|
|
|
-#checkpoint
|
|
|
-cat >confcache <<\_ACEOF
|
|
|
-# This file is a shell script that caches the results of configure
|
|
|
-# tests run on this system so they can be shared between configure
|
|
|
-# scripts and configure runs, see configure's option --config-cache.
|
|
|
-# It is not useful on other systems. If it contains results you don't
|
|
|
-# want to keep, you may remove or edit it.
|
|
|
-#
|
|
|
-# config.status only pays attention to the cache file if you give it
|
|
|
-# the --recheck option to rerun configure.
|
|
|
-#
|
|
|
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
|
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
|
-# following values.
|
|
|
-
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-# The following way of writing the cache mishandles newlines in values,
|
|
|
-# but we know of no workaround that is simple, portable, and efficient.
|
|
|
-# So, don't put newlines in cache variables' values.
|
|
|
-# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
-# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
-{
|
|
|
- (set) 2>&1 |
|
|
|
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
- *ac_space=\ *)
|
|
|
- # `set' does not quote correctly, so add quotes (double-quote
|
|
|
- # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
|
- sed -n \
|
|
|
- "s/'/'\\\\''/g;
|
|
|
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
|
- ;;
|
|
|
- *)
|
|
|
- # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
- sed -n \
|
|
|
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
- ;;
|
|
|
- esac;
|
|
|
-} |
|
|
|
- sed '
|
|
|
- t clear
|
|
|
- : clear
|
|
|
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
|
- t end
|
|
|
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
|
- : end' >>confcache
|
|
|
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
|
- if test -w $cache_file; then
|
|
|
- test "x$cache_file" != "x/dev/null"
|
|
|
- cat confcache >$cache_file
|
|
|
- else
|
|
|
- echo "not updating unwritable cache $cache_file"
|
|
|
- fi
|
|
|
-fi
|
|
|
-rm -f confcache
|
|
|
-
|
|
|
-echo "$as_me:$LINENO: checking for working volatile" >&5
|
|
|
-echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
|
|
|
-if test "${ac_cv_c_volatile+set}" = set; then
|
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
-else
|
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
-/* confdefs.h. */
|
|
|
-_ACEOF
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
-/* end confdefs.h. */
|
|
|
-
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-
|
|
|
-volatile int x;
|
|
|
-int * volatile y;
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-rm -f conftest.$ac_objext
|
|
|
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>conftest.er1
|
|
|
- ac_status=$?
|
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
- rm -f conftest.er1
|
|
|
- cat conftest.err >&5
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); } &&
|
|
|
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
- (eval $ac_try) 2>&5
|
|
|
- ac_status=$?
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); }; } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
- (eval $ac_try) 2>&5
|
|
|
- ac_status=$?
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); }; }; then
|
|
|
- ac_cv_c_volatile=yes
|
|
|
-else
|
|
|
- echo "$as_me: failed program was:" >&5
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
-
|
|
|
-ac_cv_c_volatile=no
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-fi
|
|
|
-echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
|
|
|
-echo "${ECHO_T}$ac_cv_c_volatile" >&6
|
|
|
-if test $ac_cv_c_volatile = no; then
|
|
|
-
|
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
|
-#define volatile
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
if test $ac_cv_c_compiler_gnu = yes; then
|
|
|
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
|
|
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
|