summaryrefslogtreecommitdiff
path: root/lib/libXScrnSaver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-03-14 11:24:45 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-03-14 11:24:45 +0000
commitd19a7d2ef02e91d862238a9b5e73da71d836ad0f (patch)
tree74c32391cd83b03d227ad8f0f98b828a660cca17 /lib/libXScrnSaver
parent9494fbb65d7a7d3908831159367708bc17a26251 (diff)
Regen with util-macros 1.17. Fixes configure on landisk (and probably the
other gcc3 architectures).
Diffstat (limited to 'lib/libXScrnSaver')
-rw-r--r--lib/libXScrnSaver/aclocal.m479
-rw-r--r--lib/libXScrnSaver/configure2554
2 files changed, 1383 insertions, 1250 deletions
diff --git a/lib/libXScrnSaver/aclocal.m4 b/lib/libXScrnSaver/aclocal.m4
index 7ef0faf63..861dfa816 100644
--- a/lib/libXScrnSaver/aclocal.m4
+++ b/lib/libXScrnSaver/aclocal.m4
@@ -10628,6 +10628,39 @@ AC_MSG_CHECKING([whether to build unit test cases])
AC_MSG_RESULT([$enable_unit_tests])
]) # XORG_ENABLE_UNIT_TESTS
+# XORG_ENABLE_INTEGRATION_TESTS (enable_unit_tests=auto)
+# ------------------------------------------------------
+# Minimum version: 1.17.0
+#
+# This macro enables a builder to enable/disable integration testing
+# It makes no assumption about the test cases' implementation
+# Test cases may or may not use Automake "Support for test suites"
+#
+# Please see XORG_ENABLE_UNIT_TESTS for unit test support. Unit test support
+# usually requires less dependencies and may be built and run under less
+# stringent environments than integration tests.
+#
+# Interface to module:
+# ENABLE_INTEGRATION_TESTS: used in makefiles to conditionally build tests
+# enable_integration_tests: used in configure.ac for additional configuration
+# --enable-integration-tests: 'yes' user instructs the module to build tests
+# 'no' user instructs the module not to build tests
+# parm1: specify the default value, yes or no.
+#
+AC_DEFUN([XORG_ENABLE_INTEGRATION_TESTS],[
+AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS])
+m4_define([_defopt], m4_default([$1], [auto]))
+AC_ARG_ENABLE(integration-tests, AS_HELP_STRING([--enable-integration-tests],
+ [Enable building integration test cases (default: ]_defopt[)]),
+ [enable_integration_tests=$enableval],
+ [enable_integration_tests=]_defopt)
+m4_undefine([_defopt])
+AM_CONDITIONAL([ENABLE_INTEGRATION_TESTS],
+ [test "x$enable_integration_tests" != xno])
+AC_MSG_CHECKING([whether to build unit test cases])
+AC_MSG_RESULT([$enable_integration_tests])
+]) # XORG_ENABLE_INTEGRATION_TESTS
+
# XORG_WITH_GLIB([MIN-VERSION], [DEFAULT])
# ----------------------------------------
# Minimum version: 1.13.0
@@ -10638,6 +10671,10 @@ AC_MSG_RESULT([$enable_unit_tests])
# When used with ENABLE_UNIT_TESTS, it is assumed GLib is used for unit testing.
# Otherwise the value of $enable_unit_tests is blank.
#
+# Please see XORG_ENABLE_INTEGRATION_TESTS for integration test support. Unit
+# test support usually requires less dependencies and may be built and run under
+# less stringent environments than integration tests.
+#
# Interface to module:
# HAVE_GLIB: used in makefiles to conditionally build targets
# with_glib: used in configure.ac to know if GLib has been found
@@ -11038,36 +11075,40 @@ AC_LANG_CASE(
[C], [
AC_REQUIRE([AC_PROG_CC_C99])
define([PREFIX], [C])
+ define([CACHE_PREFIX], [cc])
+ define([COMPILER], [$CC])
],
[C++], [
define([PREFIX], [CXX])
+ define([CACHE_PREFIX], [cxx])
+ define([COMPILER], [$CXX])
]
)
[xorg_testset_save_]PREFIX[FLAGS]="$PREFIX[FLAGS]"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "x" ; then
PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
- AC_CACHE_CHECK([if compiler supports -Werror=unknown-warning-option],
- xorg_cv_compiler_flag_unknown_warning_option,
+ AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unknown-warning-option],
+ [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option],
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
- [xorg_cv_compiler_flag_unknown_warning_option=yes],
- [xorg_cv_compiler_flag_unknown_warning_option=no]))
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+ [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=yes],
+ [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=no]))
+ [xorg_testset_]CACHE_PREFIX[_unknown_warning_option]=$[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option]
PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]" = "x" ; then
+ if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "xyes" ; then
PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
fi
PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument"
- AC_CACHE_CHECK([if compiler supports -Werror=unused-command-line-argument],
- xorg_cv_compiler_flag_unused_command_line_argument,
+ AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unused-command-line-argument],
+ [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument],
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
- [xorg_cv_compiler_flag_unused_command_line_argument=yes],
- [xorg_cv_compiler_flag_unused_command_line_argument=no]))
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+ [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=yes],
+ [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=no]))
+ [xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]=$[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument]
PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
fi
@@ -11085,16 +11126,16 @@ m4_foreach([flag], m4_cdr($@), [
PREFIX[FLAGS]="$PREFIX[FLAGS] ]flag["
dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname
- AC_MSG_CHECKING([if $CC supports ]flag[])
- cacheid=`AS_ECHO([xorg_cv_cc_flag_]flag[])`
- AC_CACHE_VAL(AS_TR_SH($cacheid),
+ AC_MSG_CHECKING([if ]COMPILER[ supports]flag[])
+ cacheid=AS_TR_SH([xorg_cv_]CACHE_PREFIX[_flag_]flag[])
+ AC_CACHE_VAL($cacheid,
[AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])],
- [eval AS_TR_SH($cacheid)=yes],
- [eval AS_TR_SH($cacheid)=no])])
+ [eval $cacheid=yes],
+ [eval $cacheid=no])])
PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
- eval supported=$AS_TR_SH($cacheid)
+ eval supported=\$$cacheid
AC_MSG_RESULT([$supported])
if test "$supported" = "yes" ; then
$1="$$1 ]flag["
diff --git a/lib/libXScrnSaver/configure b/lib/libXScrnSaver/configure
index f24049938..d49ebd62f 100644
--- a/lib/libXScrnSaver/configure
+++ b/lib/libXScrnSaver/configure
@@ -12508,13 +12508,15 @@ fi
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12543,30 +12545,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12595,19 +12597,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -12624,10 +12626,10 @@ found="no"
CFLAGS="$CFLAGS -Wall"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wall" >&5
-$as_echo_n "checking if $CC supports -Wall... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wall" >&5
+$as_echo_n "checking if $CC supports-Wall... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wall
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12666,12 +12668,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -12682,7 +12684,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12703,13 +12705,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12738,30 +12742,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12790,19 +12794,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -12819,10 +12823,10 @@ found="no"
CFLAGS="$CFLAGS -Wpointer-arith"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wpointer-arith" >&5
-$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wpointer-arith" >&5
+$as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wpointer_arith
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12861,12 +12865,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -12877,7 +12881,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12898,13 +12902,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12933,30 +12939,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -12985,19 +12991,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -13014,10 +13020,10 @@ found="no"
CFLAGS="$CFLAGS -Wmissing-declarations"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wmissing-declarations" >&5
-$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wmissing-declarations" >&5
+$as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wmissing_declarations
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13056,12 +13062,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -13072,7 +13078,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13093,13 +13099,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13128,30 +13136,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13180,19 +13188,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -13209,10 +13217,10 @@ found="no"
CFLAGS="$CFLAGS -Wformat=2"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wformat=2" >&5
-$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wformat=2" >&5
+$as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wformat_2
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13251,12 +13259,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -13267,7 +13275,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13287,10 +13295,10 @@ $as_echo "$supported" >&6; }
CFLAGS="$CFLAGS -Wformat"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wformat" >&5
-$as_echo_n "checking if $CC supports -Wformat... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wformat" >&5
+$as_echo_n "checking if $CC supports-Wformat... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wformat
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13329,12 +13337,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -13345,7 +13353,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13368,13 +13376,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13403,30 +13413,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13455,19 +13465,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -13484,10 +13494,10 @@ found="no"
CFLAGS="$CFLAGS -Wstrict-prototypes"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wstrict-prototypes" >&5
-$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wstrict-prototypes" >&5
+$as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wstrict_prototypes
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13526,12 +13536,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -13542,7 +13552,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13563,13 +13573,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13598,30 +13610,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13650,19 +13662,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -13679,10 +13691,10 @@ found="no"
CFLAGS="$CFLAGS -Wmissing-prototypes"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wmissing-prototypes" >&5
-$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wmissing-prototypes" >&5
+$as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wmissing_prototypes
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13721,12 +13733,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -13737,7 +13749,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13758,13 +13770,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13793,30 +13807,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13845,19 +13859,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -13874,10 +13888,10 @@ found="no"
CFLAGS="$CFLAGS -Wnested-externs"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wnested-externs" >&5
-$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wnested-externs" >&5
+$as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wnested_externs
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13916,12 +13930,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -13932,7 +13946,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13953,13 +13967,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -13988,30 +14004,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14040,19 +14056,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -14069,10 +14085,10 @@ found="no"
CFLAGS="$CFLAGS -Wbad-function-cast"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wbad-function-cast" >&5
-$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wbad-function-cast" >&5
+$as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wbad_function_cast
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14111,12 +14127,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -14127,7 +14143,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14148,13 +14164,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14183,30 +14201,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14235,19 +14253,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -14264,10 +14282,10 @@ found="no"
CFLAGS="$CFLAGS -Wold-style-definition"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wold-style-definition" >&5
-$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wold-style-definition" >&5
+$as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wold_style_definition
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14306,12 +14324,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -14322,7 +14340,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14343,13 +14361,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14378,30 +14398,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14430,19 +14450,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -14459,10 +14479,10 @@ found="no"
CFLAGS="$CFLAGS -Wdeclaration-after-statement"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wdeclaration-after-statement" >&5
-$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wdeclaration-after-statement" >&5
+$as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14501,12 +14521,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -14517,7 +14537,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14542,13 +14562,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14577,30 +14599,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14629,19 +14651,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -14658,10 +14680,10 @@ found="no"
CFLAGS="$CFLAGS -Wunused"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wunused" >&5
-$as_echo_n "checking if $CC supports -Wunused... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wunused" >&5
+$as_echo_n "checking if $CC supports-Wunused... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wunused
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14700,12 +14722,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -14716,7 +14738,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14737,13 +14759,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14772,30 +14796,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14824,19 +14848,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -14853,10 +14877,10 @@ found="no"
CFLAGS="$CFLAGS -Wuninitialized"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wuninitialized" >&5
-$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wuninitialized" >&5
+$as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wuninitialized
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14895,12 +14919,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -14911,7 +14935,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14932,13 +14956,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -14967,30 +14993,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15019,19 +15045,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -15048,10 +15074,10 @@ found="no"
CFLAGS="$CFLAGS -Wshadow"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wshadow" >&5
-$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wshadow" >&5
+$as_echo_n "checking if $CC supports-Wshadow... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wshadow
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15090,12 +15116,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -15106,7 +15132,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15127,13 +15153,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15162,30 +15190,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15214,19 +15242,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -15243,10 +15271,10 @@ found="no"
CFLAGS="$CFLAGS -Wcast-qual"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wcast-qual" >&5
-$as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wcast-qual" >&5
+$as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wcast_qual
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15285,12 +15313,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -15301,7 +15329,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15322,13 +15350,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15357,30 +15387,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15409,19 +15439,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -15438,10 +15468,10 @@ found="no"
CFLAGS="$CFLAGS -Wmissing-noreturn"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wmissing-noreturn" >&5
-$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wmissing-noreturn" >&5
+$as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wmissing_noreturn
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15480,12 +15510,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -15496,7 +15526,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15517,13 +15547,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15552,30 +15584,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15604,19 +15636,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -15633,10 +15665,10 @@ found="no"
CFLAGS="$CFLAGS -Wmissing-format-attribute"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wmissing-format-attribute" >&5
-$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wmissing-format-attribute" >&5
+$as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15675,12 +15707,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -15691,7 +15723,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15712,13 +15744,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15747,30 +15781,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15799,19 +15833,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -15828,10 +15862,10 @@ found="no"
CFLAGS="$CFLAGS -Wredundant-decls"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wredundant-decls" >&5
-$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wredundant-decls" >&5
+$as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wredundant_decls
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15870,12 +15904,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -15886,7 +15920,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15919,13 +15953,15 @@ if test "x$SELECTIVE_WERROR" = "xyes" ; then
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -15954,30 +15990,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16006,19 +16042,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -16035,10 +16071,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=implicit"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=implicit" >&5
-$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=implicit" >&5
+$as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_implicit
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16077,12 +16113,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -16093,7 +16129,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16113,10 +16149,10 @@ $as_echo "$supported" >&6; }
CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
-$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
+$as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
+ cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16155,12 +16191,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -16171,7 +16207,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16192,13 +16228,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16227,30 +16265,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16279,19 +16317,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -16308,10 +16346,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=nonnull"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=nonnull" >&5
-$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=nonnull" >&5
+$as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_nonnull
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16350,12 +16388,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -16366,7 +16404,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16387,13 +16425,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16422,30 +16462,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16474,19 +16514,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -16503,10 +16543,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=init-self"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=init-self" >&5
-$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=init-self" >&5
+$as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_init_self
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16545,12 +16585,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -16561,7 +16601,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16582,13 +16622,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16617,30 +16659,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16669,19 +16711,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -16698,10 +16740,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=main"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=main" >&5
-$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=main" >&5
+$as_echo_n "checking if $CC supports-Werror=main... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_main
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16740,12 +16782,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -16756,7 +16798,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16777,13 +16819,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16812,30 +16856,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16864,19 +16908,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -16893,10 +16937,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=missing-braces"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=missing-braces" >&5
-$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=missing-braces" >&5
+$as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_missing_braces
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -16935,12 +16979,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -16951,7 +16995,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16972,13 +17016,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17007,30 +17053,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17059,19 +17105,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -17088,10 +17134,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=sequence-point"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=sequence-point" >&5
-$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=sequence-point" >&5
+$as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_sequence_point
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17130,12 +17176,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -17146,7 +17192,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17167,13 +17213,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17202,30 +17250,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17254,19 +17302,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -17283,10 +17331,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=return-type"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=return-type" >&5
-$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=return-type" >&5
+$as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_return_type
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17325,12 +17373,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -17341,7 +17389,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17361,10 +17409,10 @@ $as_echo "$supported" >&6; }
CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
-$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
+$as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
+ cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17403,12 +17451,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -17419,7 +17467,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17440,13 +17488,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17475,30 +17525,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17527,19 +17577,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -17556,10 +17606,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=trigraphs"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=trigraphs" >&5
-$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=trigraphs" >&5
+$as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_trigraphs
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17598,12 +17648,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -17614,7 +17664,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17635,13 +17685,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17670,30 +17722,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17722,19 +17774,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -17751,10 +17803,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=array-bounds"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=array-bounds" >&5
-$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=array-bounds" >&5
+$as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_array_bounds
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17793,12 +17845,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -17809,7 +17861,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17830,13 +17882,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17865,30 +17919,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17917,19 +17971,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -17946,10 +18000,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=write-strings"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=write-strings" >&5
-$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=write-strings" >&5
+$as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_write_strings
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -17988,12 +18042,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -18004,7 +18058,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -18025,13 +18079,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18060,30 +18116,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18112,19 +18168,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -18141,10 +18197,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=address"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=address" >&5
-$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=address" >&5
+$as_echo_n "checking if $CC supports-Werror=address... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_address
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18183,12 +18239,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -18199,7 +18255,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -18220,13 +18276,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18255,30 +18313,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18307,19 +18365,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -18336,10 +18394,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=int-to-pointer-cast" >&5
-$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=int-to-pointer-cast" >&5
+$as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18378,12 +18436,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -18394,7 +18452,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -18414,10 +18472,10 @@ $as_echo "$supported" >&6; }
CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
-$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
+$as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
+ cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18456,12 +18514,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -18472,7 +18530,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -18493,13 +18551,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18528,30 +18588,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18580,19 +18640,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -18609,10 +18669,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=pointer-to-int-cast" >&5
-$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=pointer-to-int-cast" >&5
+$as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18651,12 +18711,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -18667,7 +18727,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -18691,13 +18751,15 @@ $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warn
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18726,30 +18788,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18778,19 +18840,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -18807,10 +18869,10 @@ found="no"
CFLAGS="$CFLAGS -Wimplicit"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wimplicit" >&5
-$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wimplicit" >&5
+$as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wimplicit
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18849,12 +18911,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -18865,7 +18927,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -18886,13 +18948,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18921,30 +18985,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -18973,19 +19037,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -19002,10 +19066,10 @@ found="no"
CFLAGS="$CFLAGS -Wnonnull"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wnonnull" >&5
-$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wnonnull" >&5
+$as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wnonnull
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19044,12 +19108,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -19060,7 +19124,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -19081,13 +19145,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19116,30 +19182,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19168,19 +19234,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -19197,10 +19263,10 @@ found="no"
CFLAGS="$CFLAGS -Winit-self"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Winit-self" >&5
-$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Winit-self" >&5
+$as_echo_n "checking if $CC supports-Winit-self... " >&6; }
+ cacheid=xorg_cv_cc_flag__Winit_self
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19239,12 +19305,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -19255,7 +19321,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -19276,13 +19342,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19311,30 +19379,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19363,19 +19431,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -19392,10 +19460,10 @@ found="no"
CFLAGS="$CFLAGS -Wmain"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wmain" >&5
-$as_echo_n "checking if $CC supports -Wmain... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wmain" >&5
+$as_echo_n "checking if $CC supports-Wmain... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wmain
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19434,12 +19502,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -19450,7 +19518,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -19471,13 +19539,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19506,30 +19576,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19558,19 +19628,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -19587,10 +19657,10 @@ found="no"
CFLAGS="$CFLAGS -Wmissing-braces"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wmissing-braces" >&5
-$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wmissing-braces" >&5
+$as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wmissing_braces
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19629,12 +19699,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -19645,7 +19715,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -19666,13 +19736,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19701,30 +19773,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19753,19 +19825,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -19782,10 +19854,10 @@ found="no"
CFLAGS="$CFLAGS -Wsequence-point"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wsequence-point" >&5
-$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wsequence-point" >&5
+$as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wsequence_point
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19824,12 +19896,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -19840,7 +19912,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -19861,13 +19933,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19896,30 +19970,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -19948,19 +20022,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -19977,10 +20051,10 @@ found="no"
CFLAGS="$CFLAGS -Wreturn-type"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wreturn-type" >&5
-$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wreturn-type" >&5
+$as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wreturn_type
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20019,12 +20093,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -20035,7 +20109,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -20056,13 +20130,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20091,30 +20167,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20143,19 +20219,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -20172,10 +20248,10 @@ found="no"
CFLAGS="$CFLAGS -Wtrigraphs"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wtrigraphs" >&5
-$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wtrigraphs" >&5
+$as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wtrigraphs
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20214,12 +20290,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -20230,7 +20306,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -20251,13 +20327,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20286,30 +20364,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20338,19 +20416,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -20367,10 +20445,10 @@ found="no"
CFLAGS="$CFLAGS -Warray-bounds"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Warray-bounds" >&5
-$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Warray-bounds" >&5
+$as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
+ cacheid=xorg_cv_cc_flag__Warray_bounds
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20409,12 +20487,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -20425,7 +20503,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -20446,13 +20524,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20481,30 +20561,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20533,19 +20613,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -20562,10 +20642,10 @@ found="no"
CFLAGS="$CFLAGS -Wwrite-strings"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wwrite-strings" >&5
-$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wwrite-strings" >&5
+$as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wwrite_strings
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20604,12 +20684,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -20620,7 +20700,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -20641,13 +20721,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20676,30 +20758,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20728,19 +20810,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -20757,10 +20839,10 @@ found="no"
CFLAGS="$CFLAGS -Waddress"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Waddress" >&5
-$as_echo_n "checking if $CC supports -Waddress... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Waddress" >&5
+$as_echo_n "checking if $CC supports-Waddress... " >&6; }
+ cacheid=xorg_cv_cc_flag__Waddress
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20799,12 +20881,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -20815,7 +20897,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -20836,13 +20918,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20871,30 +20955,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20923,19 +21007,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -20952,10 +21036,10 @@ found="no"
CFLAGS="$CFLAGS -Wint-to-pointer-cast"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wint-to-pointer-cast" >&5
-$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wint-to-pointer-cast" >&5
+$as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -20994,12 +21078,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -21010,7 +21094,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -21031,13 +21115,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21066,30 +21152,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21118,19 +21204,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -21147,10 +21233,10 @@ found="no"
CFLAGS="$CFLAGS -Wpointer-to-int-cast"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Wpointer-to-int-cast" >&5
-$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Wpointer-to-int-cast" >&5
+$as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
+ cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21189,12 +21275,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -21205,7 +21291,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -21259,13 +21345,15 @@ STRICT_CFLAGS=""
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21294,30 +21382,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21346,19 +21434,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -21375,10 +21463,10 @@ found="no"
CFLAGS="$CFLAGS -pedantic"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -pedantic" >&5
-$as_echo_n "checking if $CC supports -pedantic... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-pedantic" >&5
+$as_echo_n "checking if $CC supports-pedantic... " >&6; }
+ cacheid=xorg_cv_cc_flag__pedantic
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21417,12 +21505,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -21433,7 +21521,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -21454,13 +21542,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21489,30 +21579,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21541,19 +21631,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -21570,10 +21660,10 @@ found="no"
CFLAGS="$CFLAGS -Werror"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror" >&5
-$as_echo_n "checking if $CC supports -Werror... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror" >&5
+$as_echo_n "checking if $CC supports-Werror... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21612,12 +21702,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -21628,7 +21718,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -21648,10 +21738,10 @@ $as_echo "$supported" >&6; }
CFLAGS="$CFLAGS -errwarn"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -errwarn" >&5
-$as_echo_n "checking if $CC supports -errwarn... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-errwarn" >&5
+$as_echo_n "checking if $CC supports-errwarn... " >&6; }
+ cacheid=xorg_cv_cc_flag__errwarn
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21690,12 +21780,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -21706,7 +21796,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -21730,13 +21820,15 @@ $as_echo "$supported" >&6; }
+
+
xorg_testset_save_CFLAGS="$CFLAGS"
-if test "x$xorg_testset_unknown_warning_option" = "x" ; then
+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if test "${xorg_cv_compiler_flag_unknown_warning_option+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if test "${xorg_cv_cc_flag_unknown_warning_option+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21765,30 +21857,30 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unknown_warning_option=no
+ xorg_cv_cc_flag_unknown_warning_option=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
-$as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
- xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
CFLAGS="$xorg_testset_save_CFLAGS"
fi
-if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
- { $as_echo "$as_me:$LINENO: checking if compiler supports -Werror=unused-command-line-argument" >&5
-$as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
-if test "${xorg_cv_compiler_flag_unused_command_line_argument+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=unused-command-line-argument" >&5
+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
+if test "${xorg_cv_cc_flag_unused_command_line_argument+set}" = set; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21817,19 +21909,19 @@ $as_echo "$ac_try_echo") >&5
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- xorg_cv_compiler_flag_unused_command_line_argument=no
+ xorg_cv_cc_flag_unused_command_line_argument=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ $as_echo "$as_me:$LINENO: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
-$as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
- xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
+{ $as_echo "$as_me:$LINENO: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
CFLAGS="$xorg_testset_save_CFLAGS"
fi
@@ -21846,10 +21938,10 @@ found="no"
CFLAGS="$CFLAGS -Werror=attributes"
- { $as_echo "$as_me:$LINENO: checking if $CC supports -Werror=attributes" >&5
-$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
- cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
- if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then
+ { $as_echo "$as_me:$LINENO: checking if $CC supports-Werror=attributes" >&5
+$as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
+ cacheid=xorg_cv_cc_flag__Werror_attributes
+ if { as_var=$cacheid; eval "test \"\${$as_var+set}\" = set"; }; then
$as_echo_n "(cached) " >&6
else
cat >conftest.$ac_ext <<_ACEOF
@@ -21888,12 +21980,12 @@ $as_echo "$ac_try_echo") >&5
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -rf conftest.dSYM
@@ -21904,7 +21996,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:$LINENO: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then