summaryrefslogtreecommitdiff
path: root/lib/libXcursor
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/libXcursor
parent9494fbb65d7a7d3908831159367708bc17a26251 (diff)
Regen with util-macros 1.17. Fixes configure on landisk (and probably the
other gcc3 architectures).
Diffstat (limited to 'lib/libXcursor')
-rw-r--r--lib/libXcursor/aclocal.m479
-rw-r--r--lib/libXcursor/configure2554
2 files changed, 1383 insertions, 1250 deletions
diff --git a/lib/libXcursor/aclocal.m4 b/lib/libXcursor/aclocal.m4
index 7ef0faf63..861dfa816 100644
--- a/lib/libXcursor/aclocal.m4
+++ b/lib/libXcursor/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/libXcursor/configure b/lib/libXcursor/configure
index a3bfc78a3..d12481792 100644
--- a/lib/libXcursor/configure
+++ b/lib/libXcursor/configure
@@ -12505,13 +12505,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
@@ -12540,30 +12542,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
@@ -12592,19 +12594,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
@@ -12621,10 +12623,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
@@ -12663,12 +12665,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
@@ -12679,7 +12681,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
@@ -12700,13 +12702,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
@@ -12735,30 +12739,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
@@ -12787,19 +12791,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
@@ -12816,10 +12820,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
@@ -12858,12 +12862,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
@@ -12874,7 +12878,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
@@ -12895,13 +12899,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
@@ -12930,30 +12936,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
@@ -12982,19 +12988,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
@@ -13011,10 +13017,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
@@ -13053,12 +13059,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
@@ -13069,7 +13075,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
@@ -13090,13 +13096,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
@@ -13125,30 +13133,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
@@ -13177,19 +13185,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
@@ -13206,10 +13214,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
@@ -13248,12 +13256,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
@@ -13264,7 +13272,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
@@ -13284,10 +13292,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
@@ -13326,12 +13334,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
@@ -13342,7 +13350,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
@@ -13365,13 +13373,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
@@ -13400,30 +13410,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
@@ -13452,19 +13462,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
@@ -13481,10 +13491,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
@@ -13523,12 +13533,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
@@ -13539,7 +13549,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
@@ -13560,13 +13570,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
@@ -13595,30 +13607,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
@@ -13647,19 +13659,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
@@ -13676,10 +13688,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
@@ -13718,12 +13730,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
@@ -13734,7 +13746,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
@@ -13755,13 +13767,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
@@ -13790,30 +13804,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
@@ -13842,19 +13856,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
@@ -13871,10 +13885,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
@@ -13913,12 +13927,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
@@ -13929,7 +13943,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
@@ -13950,13 +13964,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
@@ -13985,30 +14001,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
@@ -14037,19 +14053,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
@@ -14066,10 +14082,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
@@ -14108,12 +14124,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
@@ -14124,7 +14140,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
@@ -14145,13 +14161,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
@@ -14180,30 +14198,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
@@ -14232,19 +14250,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
@@ -14261,10 +14279,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
@@ -14303,12 +14321,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
@@ -14319,7 +14337,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
@@ -14340,13 +14358,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
@@ -14375,30 +14395,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
@@ -14427,19 +14447,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
@@ -14456,10 +14476,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
@@ -14498,12 +14518,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
@@ -14514,7 +14534,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
@@ -14539,13 +14559,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
@@ -14574,30 +14596,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
@@ -14626,19 +14648,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
@@ -14655,10 +14677,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
@@ -14697,12 +14719,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
@@ -14713,7 +14735,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
@@ -14734,13 +14756,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
@@ -14769,30 +14793,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
@@ -14821,19 +14845,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
@@ -14850,10 +14874,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
@@ -14892,12 +14916,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
@@ -14908,7 +14932,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
@@ -14929,13 +14953,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
@@ -14964,30 +14990,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
@@ -15016,19 +15042,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
@@ -15045,10 +15071,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
@@ -15087,12 +15113,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
@@ -15103,7 +15129,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
@@ -15124,13 +15150,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
@@ -15159,30 +15187,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
@@ -15211,19 +15239,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
@@ -15240,10 +15268,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
@@ -15282,12 +15310,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
@@ -15298,7 +15326,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
@@ -15319,13 +15347,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
@@ -15354,30 +15384,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
@@ -15406,19 +15436,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
@@ -15435,10 +15465,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
@@ -15477,12 +15507,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
@@ -15493,7 +15523,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
@@ -15514,13 +15544,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
@@ -15549,30 +15581,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
@@ -15601,19 +15633,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
@@ -15630,10 +15662,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
@@ -15672,12 +15704,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
@@ -15688,7 +15720,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
@@ -15709,13 +15741,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
@@ -15744,30 +15778,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
@@ -15796,19 +15830,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
@@ -15825,10 +15859,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
@@ -15867,12 +15901,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
@@ -15883,7 +15917,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
@@ -15916,13 +15950,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
@@ -15951,30 +15987,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
@@ -16003,19 +16039,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
@@ -16032,10 +16068,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
@@ -16074,12 +16110,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
@@ -16090,7 +16126,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
@@ -16110,10 +16146,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
@@ -16152,12 +16188,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
@@ -16168,7 +16204,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
@@ -16189,13 +16225,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
@@ -16224,30 +16262,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
@@ -16276,19 +16314,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
@@ -16305,10 +16343,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
@@ -16347,12 +16385,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
@@ -16363,7 +16401,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
@@ -16384,13 +16422,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
@@ -16419,30 +16459,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
@@ -16471,19 +16511,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
@@ -16500,10 +16540,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
@@ -16542,12 +16582,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
@@ -16558,7 +16598,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
@@ -16579,13 +16619,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
@@ -16614,30 +16656,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
@@ -16666,19 +16708,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
@@ -16695,10 +16737,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
@@ -16737,12 +16779,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
@@ -16753,7 +16795,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
@@ -16774,13 +16816,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
@@ -16809,30 +16853,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
@@ -16861,19 +16905,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
@@ -16890,10 +16934,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
@@ -16932,12 +16976,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
@@ -16948,7 +16992,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
@@ -16969,13 +17013,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
@@ -17004,30 +17050,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
@@ -17056,19 +17102,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
@@ -17085,10 +17131,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
@@ -17127,12 +17173,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
@@ -17143,7 +17189,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
@@ -17164,13 +17210,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
@@ -17199,30 +17247,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
@@ -17251,19 +17299,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
@@ -17280,10 +17328,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
@@ -17322,12 +17370,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
@@ -17338,7 +17386,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
@@ -17358,10 +17406,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
@@ -17400,12 +17448,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
@@ -17416,7 +17464,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
@@ -17437,13 +17485,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
@@ -17472,30 +17522,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
@@ -17524,19 +17574,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
@@ -17553,10 +17603,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
@@ -17595,12 +17645,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
@@ -17611,7 +17661,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
@@ -17632,13 +17682,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
@@ -17667,30 +17719,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
@@ -17719,19 +17771,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
@@ -17748,10 +17800,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
@@ -17790,12 +17842,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
@@ -17806,7 +17858,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
@@ -17827,13 +17879,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
@@ -17862,30 +17916,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
@@ -17914,19 +17968,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
@@ -17943,10 +17997,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
@@ -17985,12 +18039,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
@@ -18001,7 +18055,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
@@ -18022,13 +18076,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
@@ -18057,30 +18113,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
@@ -18109,19 +18165,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
@@ -18138,10 +18194,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
@@ -18180,12 +18236,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
@@ -18196,7 +18252,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
@@ -18217,13 +18273,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
@@ -18252,30 +18310,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
@@ -18304,19 +18362,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
@@ -18333,10 +18391,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
@@ -18375,12 +18433,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
@@ -18391,7 +18449,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
@@ -18411,10 +18469,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
@@ -18453,12 +18511,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
@@ -18469,7 +18527,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
@@ -18490,13 +18548,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
@@ -18525,30 +18585,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
@@ -18577,19 +18637,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
@@ -18606,10 +18666,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
@@ -18648,12 +18708,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
@@ -18664,7 +18724,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
@@ -18688,13 +18748,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
@@ -18723,30 +18785,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
@@ -18775,19 +18837,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
@@ -18804,10 +18866,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
@@ -18846,12 +18908,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
@@ -18862,7 +18924,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
@@ -18883,13 +18945,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
@@ -18918,30 +18982,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
@@ -18970,19 +19034,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
@@ -18999,10 +19063,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
@@ -19041,12 +19105,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
@@ -19057,7 +19121,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
@@ -19078,13 +19142,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
@@ -19113,30 +19179,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
@@ -19165,19 +19231,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
@@ -19194,10 +19260,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
@@ -19236,12 +19302,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
@@ -19252,7 +19318,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
@@ -19273,13 +19339,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
@@ -19308,30 +19376,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
@@ -19360,19 +19428,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
@@ -19389,10 +19457,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
@@ -19431,12 +19499,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
@@ -19447,7 +19515,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
@@ -19468,13 +19536,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
@@ -19503,30 +19573,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
@@ -19555,19 +19625,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
@@ -19584,10 +19654,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
@@ -19626,12 +19696,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
@@ -19642,7 +19712,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
@@ -19663,13 +19733,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
@@ -19698,30 +19770,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
@@ -19750,19 +19822,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
@@ -19779,10 +19851,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
@@ -19821,12 +19893,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
@@ -19837,7 +19909,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
@@ -19858,13 +19930,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
@@ -19893,30 +19967,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
@@ -19945,19 +20019,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
@@ -19974,10 +20048,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
@@ -20016,12 +20090,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
@@ -20032,7 +20106,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
@@ -20053,13 +20127,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
@@ -20088,30 +20164,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
@@ -20140,19 +20216,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
@@ -20169,10 +20245,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
@@ -20211,12 +20287,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
@@ -20227,7 +20303,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
@@ -20248,13 +20324,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
@@ -20283,30 +20361,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
@@ -20335,19 +20413,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
@@ -20364,10 +20442,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
@@ -20406,12 +20484,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
@@ -20422,7 +20500,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
@@ -20443,13 +20521,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
@@ -20478,30 +20558,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
@@ -20530,19 +20610,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
@@ -20559,10 +20639,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
@@ -20601,12 +20681,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
@@ -20617,7 +20697,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
@@ -20638,13 +20718,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
@@ -20673,30 +20755,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
@@ -20725,19 +20807,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
@@ -20754,10 +20836,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
@@ -20796,12 +20878,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
@@ -20812,7 +20894,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
@@ -20833,13 +20915,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
@@ -20868,30 +20952,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
@@ -20920,19 +21004,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
@@ -20949,10 +21033,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
@@ -20991,12 +21075,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
@@ -21007,7 +21091,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
@@ -21028,13 +21112,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
@@ -21063,30 +21149,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
@@ -21115,19 +21201,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
@@ -21144,10 +21230,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
@@ -21186,12 +21272,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
@@ -21202,7 +21288,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
@@ -21256,13 +21342,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
@@ -21291,30 +21379,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
@@ -21343,19 +21431,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
@@ -21372,10 +21460,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
@@ -21414,12 +21502,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
@@ -21430,7 +21518,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
@@ -21451,13 +21539,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
@@ -21486,30 +21576,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
@@ -21538,19 +21628,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
@@ -21567,10 +21657,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
@@ -21609,12 +21699,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
@@ -21625,7 +21715,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
@@ -21645,10 +21735,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
@@ -21687,12 +21777,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
@@ -21703,7 +21793,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
@@ -21727,13 +21817,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
@@ -21762,30 +21854,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
@@ -21814,19 +21906,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
@@ -21843,10 +21935,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
@@ -21885,12 +21977,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
@@ -21901,7 +21993,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