aboutsummaryrefslogtreecommitdiff
path: root/libXpm/configure
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-10-01 12:33:20 +0200
committermarha <marha@users.sourceforge.net>2013-10-01 12:33:20 +0200
commitbe0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779 (patch)
tree807b5640d1fedc88ddcda752f101ffdb3071092a /libXpm/configure
parent11b60c4ebaf348b01051bfff19f947b073028a99 (diff)
parent6dd755aa923291db2501cc5c22e409c41a70e3c1 (diff)
downloadvcxsrv-be0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779.tar.gz
vcxsrv-be0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779.tar.bz2
vcxsrv-be0d35a4a1b1dc5bde14d1b027f4f0cb58b5a779.zip
Merge remote-tracking branch 'origin/released'
* origin/released: Update following packages: Conflicts: X11/Xwinsock.h apps/xhost/xhost.c libXaw/src/Vendor.c libXfont/include/X11/fonts/bdfint.h libXfont/src/fontfile/catalogue.c
Diffstat (limited to 'libXpm/configure')
-rw-r--r--libXpm/configure3134
1 files changed, 1728 insertions, 1406 deletions
diff --git a/libXpm/configure b/libXpm/configure
index d2a78c488..7e3c72924 100644
--- a/libXpm/configure
+++ b/libXpm/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for libXpm 3.5.10.
+# Generated by GNU Autoconf 2.68 for libXpm 3.5.11.
#
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
#
@@ -571,8 +571,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libXpm'
PACKAGE_TARNAME='libXpm'
-PACKAGE_VERSION='3.5.10'
-PACKAGE_STRING='libXpm 3.5.10'
+PACKAGE_VERSION='3.5.11'
+PACKAGE_STRING='libXpm 3.5.11'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_URL=''
@@ -626,8 +626,6 @@ SXPM_LIBS
SXPM_CFLAGS
XPM_LIBS
XPM_CFLAGS
-AM_BACKSLASH
-AM_DEFAULT_VERBOSITY
MAN_SUBSTS
XORG_MAN_PAGE
ADMIN_MAN_DIR
@@ -672,6 +670,7 @@ SED
am__fastdepCC_FALSE
am__fastdepCC_TRUE
CCDEPMODE
+am__nodep
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
@@ -694,9 +693,10 @@ build_vendor
build_cpu
build
LIBTOOL
-MAINT
-MAINTAINER_MODE_FALSE
-MAINTAINER_MODE_TRUE
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
am__untar
am__tar
AMTAR
@@ -761,7 +761,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
-enable_maintainer_mode
+enable_silent_rules
enable_shared
enable_static
with_pic
@@ -772,7 +772,6 @@ with_sysroot
enable_libtool_lock
enable_selective_werror
enable_strict_compilation
-enable_silent_rules
with_localedir
enable_stat_zfile
'
@@ -1332,7 +1331,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libXpm 3.5.10 to adapt to many kinds of systems.
+\`configure' configures libXpm 3.5.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1402,7 +1401,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libXpm 3.5.10:";;
+ short | recursive ) echo "Configuration of libXpm 3.5.11:";;
esac
cat <<\_ACEOF
@@ -1410,14 +1409,16 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-selective-werror
Turn off selective compiler errors. (default:
@@ -1425,15 +1426,13 @@ Optional Features:
--enable-strict-compilation
Enable all warnings from compiler and make them
errors (default: disabled)
- --enable-silent-rules less verbose build output (undo: `make V=1')
- --disable-silent-rules verbose build output (undo: `make V=0')
--enable-stat-zfile Search for files with .Z & .gz extensions
automatically [default=yes]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-pic try to use only PIC/non-PIC objects [default=use
+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot=DIR Search for dependent libraries within DIR
@@ -1522,7 +1521,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libXpm configure 3.5.10
+libXpm configure 3.5.11
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1846,7 +1845,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libXpm $as_me 3.5.10, which was
+It was created by libXpm $as_me 3.5.11, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2200,7 +2199,7 @@ ac_config_headers="$ac_config_headers config.h"
# Initialize Automake
-am__api_version='1.11'
+am__api_version='1.14'
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -2326,9 +2325,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
$as_echo_n "checking whether build environment is sane... " >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
@@ -2339,32 +2335,40 @@ case `pwd` in
esac
case $srcdir in
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
esac
-# Do `set' in a subshell so we don't clobber the current shell's
+# Do 'set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
-alias in your environment" "$LINENO" 5
- fi
-
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
test "$2" = conftest.file
)
then
@@ -2376,6 +2380,16 @@ Check your system clock" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
test "$program_prefix" != NONE &&
program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Use a double $ so make ignores it.
@@ -2398,12 +2412,12 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi
if test x"${install_sh}" != xset; then
@@ -2415,10 +2429,10 @@ if test x"${install_sh}" != xset; then
esac
fi
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
+# will honor the 'STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
@@ -2557,12 +2571,6 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
- [\\/$]* | ?:[\\/]*) ;;
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
@@ -2645,6 +2653,45 @@ else
fi
rmdir .tst 2>/dev/null
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
@@ -2667,7 +2714,7 @@ fi
# Define the identity of the package.
PACKAGE='libXpm'
- VERSION='3.5.10'
+ VERSION='3.5.11'
cat >>confdefs.h <<_ACEOF
@@ -2695,41 +2742,70 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
-# Always define AMTAR for backward compatibility.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
- # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
- MAINT=$MAINTAINER_MODE_TRUE
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
# Initialize libtool
case `pwd` in
@@ -2740,8 +2816,8 @@ esac
-macro_version='2.4'
-macro_revision='1.3293'
+macro_version='2.4.2'
+macro_revision='1.3337'
@@ -2916,7 +2992,7 @@ am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
+# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
@@ -2949,6 +3025,7 @@ fi
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
+ am__nodep='_no'
fi
if test "x$enable_dependency_tracking" != xno; then
AMDEP_TRUE=
@@ -3749,6 +3826,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
depcc="$CC" am_compiler_list=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
@@ -3760,8 +3896,9 @@ else
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
@@ -3795,16 +3932,16 @@ else
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
@@ -3813,16 +3950,16 @@ else
test "$am__universal" = false || continue
;;
nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
@@ -4565,6 +4702,11 @@ else
lt_cv_sys_max_cmd_len=196608
;;
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
osf*)
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
@@ -4604,7 +4746,7 @@ else
# If test is not a shell built-in, we'll probably end up computing a
# maximum length that is only half of the actual maximum length, but
# we can't tell.
- while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
test $i != 17 # 1/2 MB should be enough
do
@@ -5033,7 +5175,7 @@ irix5* | irix6* | nonstopux*)
lt_cv_deplibs_check_method=pass_all
;;
-# This must be Linux ELF.
+# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
lt_cv_deplibs_check_method=pass_all
;;
@@ -5674,13 +5816,13 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
case $host_os in
openbsd*)
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
;;
*)
- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
;;
esac
- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
fi
case $host_os in
@@ -5827,6 +5969,7 @@ for ac_symprfx in "" "_"; do
# which start with @ or ?.
lt_cv_sys_global_symbol_pipe="$AWK '"\
" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
" \$ 0!~/External *\|/{next};"\
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
@@ -6215,7 +6358,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
CFLAGS="$SAVE_CFLAGS"
fi
;;
-sparc*-*solaris*)
+*-*solaris*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@@ -6226,7 +6369,20 @@ sparc*-*solaris*)
case `/usr/bin/file conftest.o` in
*64-bit*)
case $lt_cv_prog_gnu_ld in
- yes*) LD="${LD-ld} -m elf64_sparc" ;;
+ yes*)
+ case $host in
+ i?86-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD="${LD-ld}_sol2"
+ fi
+ ;;
*)
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
LD="${LD-ld} -64"
@@ -6866,7 +7022,13 @@ else
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
_lt_result=$?
- if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&5
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then
lt_cv_apple_cc_single_mod=yes
else
cat conftest.err >&5
@@ -6877,6 +7039,7 @@ else
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
if ${lt_cv_ld_exported_symbols_list+:} false; then :
@@ -6909,6 +7072,7 @@ rm -f core conftest.err conftest.$ac_objext \
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
$as_echo_n "checking for -force_load linker flag... " >&6; }
if ${lt_cv_ld_force_load+:} false; then :
@@ -6930,7 +7094,9 @@ _LT_EOF
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
_lt_result=$?
- if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&5
+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
lt_cv_ld_force_load=yes
else
cat conftest.err >&5
@@ -7335,7 +7501,22 @@ fi
# Check whether --with-pic was given.
if test "${with_pic+set}" = set; then :
- withval=$with_pic; pic_mode="$withval"
+ withval=$with_pic; lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for lt_pkg in $withval; do
+ IFS="$lt_save_ifs"
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
else
pic_mode=default
fi
@@ -7413,6 +7594,10 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
test -z "$LN_S" && LN_S="ln -s"
@@ -7868,7 +8053,9 @@ lt_prog_compiler_static=
case $cc_basename in
nvcc*) # Cuda Compiler Driver 2.2
lt_prog_compiler_wl='-Xlinker '
- lt_prog_compiler_pic='-Xcompiler -fPIC'
+ if test -n "$lt_prog_compiler_pic"; then
+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+ fi
;;
esac
else
@@ -7959,18 +8146,33 @@ lt_prog_compiler_static=
;;
*)
case `$CC -V 2>&1 | sed 5q` in
- *Sun\ F* | *Sun*Fortran*)
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
# Sun Fortran 8.3 passes all unrecognized flags to the linker
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
lt_prog_compiler_wl=''
;;
+ *Sun\ F* | *Sun*Fortran*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Qoption ld '
+ ;;
*Sun\ C*)
# Sun C 5.9
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
lt_prog_compiler_wl='-Wl,'
;;
+ *Intel*\ [CF]*Compiler*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ *Portland\ Group*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
esac
;;
esac
@@ -8332,7 +8534,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
hardcode_direct=no
hardcode_direct_absolute=no
hardcode_libdir_flag_spec=
- hardcode_libdir_flag_spec_ld=
hardcode_libdir_separator=
hardcode_minus_L=no
hardcode_shlibpath_var=unsupported
@@ -8582,8 +8783,7 @@ _LT_EOF
xlf* | bgf* | bgxlf* | mpixlf*)
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
- hardcode_libdir_flag_spec=
- hardcode_libdir_flag_spec_ld='-rpath $libdir'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
if test "x$supports_anon_versioning" = xyes; then
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
@@ -8962,6 +9162,7 @@ fi
# The linker will not automatically build a static lib if we build a DLL.
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
enable_shared_with_static_runtimes=yes
+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
# Don't use ranlib
old_postinstall_cmds='chmod 644 $oldlib'
@@ -9007,6 +9208,7 @@ fi
hardcode_shlibpath_var=unsupported
if test "$lt_cv_ld_force_load" = "yes"; then
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
else
whole_archive_flag_spec=''
fi
@@ -9035,10 +9237,6 @@ fi
hardcode_shlibpath_var=no
;;
- freebsd1*)
- ld_shlibs=no
- ;;
-
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
# support. Future versions do this automatically, but an explicit c++rt0.o
# does not break anything, and helps significantly (at the cost of a little
@@ -9051,7 +9249,7 @@ fi
;;
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
+ freebsd2.*)
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_minus_L=yes
@@ -9090,7 +9288,6 @@ fi
fi
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_flag_spec_ld='+b $libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
hardcode_direct_absolute=yes
@@ -9714,11 +9911,6 @@ esac
-
-
-
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
$as_echo_n "checking dynamic linker characteristics... " >&6; }
@@ -9808,7 +10000,7 @@ need_version=unknown
case $host_os in
aix3*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
shlibpath_var=LIBPATH
@@ -9817,7 +10009,7 @@ aix3*)
;;
aix[4-9]*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
hardcode_into_libs=yes
@@ -9882,7 +10074,7 @@ beos*)
;;
bsdi[45]*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
@@ -10021,7 +10213,7 @@ darwin* | rhapsody*)
;;
dgux*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
@@ -10029,10 +10221,6 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
-freebsd1*)
- dynamic_linker=no
- ;;
-
freebsd* | dragonfly*)
# DragonFly does not have aout. When/if they implement a new
# versioning mechanism, adjust this.
@@ -10040,7 +10228,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[123]*) objformat=aout ;;
+ freebsd[23].*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
@@ -10058,7 +10246,7 @@ freebsd* | dragonfly*)
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2.*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
@@ -10078,17 +10266,18 @@ freebsd* | dragonfly*)
;;
gnu*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
haiku*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
dynamic_linker="$host_os runtime_loader"
@@ -10149,7 +10338,7 @@ hpux9* | hpux10* | hpux11*)
;;
interix[3-9]*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
@@ -10165,7 +10354,7 @@ irix5* | irix6* | nonstopux*)
nonstopux*) version_type=nonstopux ;;
*)
if test "$lt_cv_prog_gnu_ld" = yes; then
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
else
version_type=irix
fi ;;
@@ -10202,9 +10391,9 @@ linux*oldld* | linux*aout* | linux*coff*)
dynamic_linker=no
;;
-# This must be Linux ELF.
+# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10286,7 +10475,7 @@ netbsd*)
;;
newsos6)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
@@ -10355,7 +10544,7 @@ rdos*)
;;
solaris*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10380,7 +10569,7 @@ sunos4*)
;;
sysv4 | sysv4.3*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
@@ -10404,7 +10593,7 @@ sysv4 | sysv4.3*)
sysv4*MP*)
if test -d /usr/nec ;then
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
soname_spec='$libname${shared_ext}.$major'
shlibpath_var=LD_LIBRARY_PATH
@@ -10435,7 +10624,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
tpf*)
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -10445,7 +10634,7 @@ tpf*)
;;
uts4*)
- version_type=linux
+ version_type=linux # correct to gnu/linux during the next big refactor
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
@@ -11227,6 +11416,8 @@ CC="$lt_save_CC"
+
+
ac_config_commands="$ac_config_commands libtool"
@@ -11602,13 +11793,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11616,26 +11809,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11643,26 +11836,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -11670,8 +11863,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wall
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11686,9 +11879,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -11697,7 +11890,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -11718,13 +11911,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11732,26 +11927,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11759,26 +11954,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -11786,8 +11981,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wpointer_arith
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11802,9 +11997,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -11813,7 +12008,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -11834,13 +12029,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11848,26 +12045,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11875,26 +12072,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -11902,8 +12099,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wmissing_declarations
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11918,9 +12115,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -11929,7 +12126,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -11950,13 +12147,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11964,26 +12163,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11991,26 +12190,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12018,8 +12217,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12034,9 +12233,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12045,7 +12244,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12055,11 +12254,11 @@ $as_echo "$supported" >&6; }
fi
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12067,8 +12266,8 @@ $as_echo "$supported" >&6; }
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wformat
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12083,9 +12282,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12094,7 +12293,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12117,13 +12316,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12131,26 +12332,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12158,26 +12359,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12185,8 +12386,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wstrict_prototypes
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12201,9 +12402,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12212,7 +12413,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12233,13 +12434,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12247,26 +12450,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12274,26 +12477,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12301,8 +12504,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wmissing_prototypes
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12317,9 +12520,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12328,7 +12531,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12349,13 +12552,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12363,26 +12568,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12390,26 +12595,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12417,8 +12622,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wnested_externs
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12433,9 +12638,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12444,7 +12649,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12465,13 +12670,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12479,26 +12686,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12506,26 +12713,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12533,8 +12740,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wbad_function_cast
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12549,9 +12756,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12560,7 +12767,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12581,13 +12788,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12595,26 +12804,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12622,26 +12831,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12649,8 +12858,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wold_style_definition
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12665,9 +12874,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12676,7 +12885,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12697,13 +12906,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12711,26 +12922,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12738,26 +12949,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12765,8 +12976,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12781,9 +12992,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12792,7 +13003,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12817,13 +13028,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12831,26 +13044,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12858,26 +13071,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -12885,8 +13098,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wunused
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12901,9 +13114,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -12912,7 +13125,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -12933,13 +13146,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12947,26 +13162,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12974,26 +13189,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13001,8 +13216,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wuninitialized
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13017,9 +13232,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13028,7 +13243,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13049,13 +13264,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13063,26 +13280,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13090,26 +13307,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13117,8 +13334,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wshadow
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13133,9 +13350,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13144,7 +13361,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13165,13 +13382,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13179,26 +13398,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13206,26 +13425,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13233,8 +13452,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wcast_qual
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13249,9 +13468,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13260,7 +13479,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13281,13 +13500,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13295,26 +13516,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13322,26 +13543,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13349,8 +13570,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wmissing_noreturn
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13365,9 +13586,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13376,7 +13597,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13397,13 +13618,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13411,26 +13634,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13438,26 +13661,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13465,8 +13688,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13481,9 +13704,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13492,7 +13715,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13513,13 +13736,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13527,26 +13752,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13554,26 +13779,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13581,8 +13806,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wredundant_decls
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13597,9 +13822,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13608,7 +13833,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13641,13 +13866,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13655,26 +13882,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13682,26 +13909,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13709,8 +13936,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13725,9 +13952,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13736,7 +13963,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13746,11 +13973,11 @@ $as_echo "$supported" >&6; }
fi
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13758,8 +13985,8 @@ $as_echo "$supported" >&6; }
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13774,9 +14001,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13785,7 +14012,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13806,13 +14033,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13820,26 +14049,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13847,26 +14076,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13874,8 +14103,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13890,9 +14119,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -13901,7 +14130,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -13922,13 +14151,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13936,26 +14167,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13963,26 +14194,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -13990,8 +14221,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14006,9 +14237,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14017,7 +14248,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14038,13 +14269,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14052,26 +14285,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14079,26 +14312,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14106,8 +14339,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14122,9 +14355,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14133,7 +14366,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14154,13 +14387,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14168,26 +14403,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14195,26 +14430,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14222,8 +14457,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14238,9 +14473,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14249,7 +14484,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14270,13 +14505,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14284,26 +14521,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14311,26 +14548,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14338,8 +14575,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14354,9 +14591,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14365,7 +14602,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14386,13 +14623,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14400,26 +14639,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14427,26 +14666,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14454,8 +14693,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14470,9 +14709,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14481,7 +14720,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14491,11 +14730,11 @@ $as_echo "$supported" >&6; }
fi
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14503,8 +14742,8 @@ $as_echo "$supported" >&6; }
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14519,9 +14758,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14530,7 +14769,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14551,13 +14790,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14565,26 +14806,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14592,26 +14833,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14619,8 +14860,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14635,9 +14876,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14646,7 +14887,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14667,13 +14908,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14681,26 +14924,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14708,26 +14951,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14735,8 +14978,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14751,9 +14994,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14762,7 +15005,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14783,13 +15026,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14797,26 +15042,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14824,26 +15069,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14851,8 +15096,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14867,9 +15112,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14878,7 +15123,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -14899,13 +15144,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14913,26 +15160,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14940,26 +15187,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -14967,8 +15214,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14983,9 +15230,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14994,7 +15241,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15015,13 +15262,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15029,26 +15278,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15056,26 +15305,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15083,8 +15332,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15099,9 +15348,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15110,7 +15359,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15120,11 +15369,11 @@ $as_echo "$supported" >&6; }
fi
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15132,8 +15381,8 @@ $as_echo "$supported" >&6; }
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15148,9 +15397,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15159,7 +15408,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15180,13 +15429,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15194,26 +15445,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15221,26 +15472,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15248,8 +15499,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15264,9 +15515,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15275,7 +15526,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15299,13 +15550,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15313,26 +15566,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15340,26 +15593,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15367,8 +15620,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wimplicit
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15383,9 +15636,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15394,7 +15647,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15415,13 +15668,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15429,26 +15684,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15456,26 +15711,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15483,8 +15738,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wnonnull
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15499,9 +15754,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15510,7 +15765,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15531,13 +15786,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15545,26 +15802,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15572,26 +15829,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15599,8 +15856,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Winit_self
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15615,9 +15872,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15626,7 +15883,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15647,13 +15904,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15661,26 +15920,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15688,26 +15947,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15715,8 +15974,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wmain
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15731,9 +15990,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15742,7 +16001,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15763,13 +16022,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15777,26 +16038,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15804,26 +16065,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15831,8 +16092,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wmissing_braces
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15847,9 +16108,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15858,7 +16119,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15879,13 +16140,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15893,26 +16156,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15920,26 +16183,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -15947,8 +16210,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wsequence_point
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15963,9 +16226,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -15974,7 +16237,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -15995,13 +16258,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16009,26 +16274,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16036,26 +16301,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16063,8 +16328,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wreturn_type
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16079,9 +16344,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16090,7 +16355,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16111,13 +16376,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16125,26 +16392,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16152,26 +16419,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16179,8 +16446,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wtrigraphs
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16195,9 +16462,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16206,7 +16473,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16227,13 +16494,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16241,26 +16510,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16268,26 +16537,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16295,8 +16564,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Warray_bounds
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16311,9 +16580,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16322,7 +16591,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16343,13 +16612,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16357,26 +16628,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16384,26 +16655,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16411,8 +16682,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wwrite_strings
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16427,9 +16698,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16438,7 +16709,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16459,13 +16730,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16473,26 +16746,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16500,26 +16773,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16527,8 +16800,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Waddress
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16543,9 +16816,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16554,7 +16827,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16575,13 +16848,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16589,26 +16864,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16616,26 +16891,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16643,8 +16918,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16659,9 +16934,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16670,7 +16945,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16691,13 +16966,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16705,26 +16982,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16732,26 +17009,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16759,8 +17036,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16775,9 +17052,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16786,7 +17063,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16840,13 +17117,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16854,26 +17133,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16881,26 +17160,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -16908,8 +17187,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__pedantic
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16924,9 +17203,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -16935,7 +17214,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -16956,13 +17235,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16970,26 +17251,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16997,26 +17278,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -17024,8 +17305,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__Werror
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17040,9 +17321,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -17051,7 +17332,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17061,11 +17342,11 @@ $as_echo "$supported" >&6; }
fi
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -17073,8 +17354,8 @@ $as_echo "$supported" >&6; }
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=xorg_cv_cc_flag__errwarn
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17089,9 +17370,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -17100,7 +17381,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17124,13 +17405,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:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
-$as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
-if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17138,26 +17421,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unknown_warning_option=yes
+ xorg_cv_cc_flag_unknown_warning_option=yes
else
- 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:${as_lineno-$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:${as_lineno-$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:${as_lineno-$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 ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$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 ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17165,26 +17448,26 @@ else
int i;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- xorg_cv_compiler_flag_unused_command_line_argument=yes
+ xorg_cv_cc_flag_unused_command_line_argument=yes
else
- 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:${as_lineno-$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:${as_lineno-$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
found="no"
if test $found = "no" ; then
- if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unknown-warning-option"
fi
- if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
fi
@@ -17192,8 +17475,8 @@ found="no"
{ $as_echo "$as_me:${as_lineno-$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 \${$as_var+:} false; }; then :
+ cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
+ if eval \${$cacheid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -17208,9 +17491,9 @@ main ()
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- eval `$as_echo "$cacheid" | $as_tr_sh`=yes
+ eval $cacheid=yes
else
- eval `$as_echo "$cacheid" | $as_tr_sh`=no
+ eval $cacheid=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -17219,7 +17502,7 @@ fi
CFLAGS="$xorg_testset_save_CFLAGS"
- eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
+ eval supported=\$$cacheid
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
$as_echo "$supported" >&6; }
if test "$supported" = "yes" ; then
@@ -17374,11 +17657,38 @@ if test "${enable_silent_rules+set}" = set; then :
enableval=$enable_silent_rules;
fi
-case $enable_silent_rules in
-yes) AM_DEFAULT_VERBOSITY=0;;
-no) AM_DEFAULT_VERBOSITY=1;;
-*) AM_DEFAULT_VERBOSITY=0;;
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=0;;
esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
AM_BACKSLASH='\'
@@ -17492,12 +17802,12 @@ if test -n "$SXPM_CFLAGS"; then
pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto\""; } >&5
- ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto" 2>/dev/null`
+ pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -17508,12 +17818,12 @@ if test -n "$SXPM_LIBS"; then
pkg_cv_SXPM_LIBS="$SXPM_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto\""; } >&5
- ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto" 2>/dev/null`
+ pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -17531,9 +17841,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xt xext xextproto" 2>&1`
+ SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
else
- SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xt xext xextproto" 2>&1`
+ SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$SXPM_PKG_ERRORS" >&5
@@ -17683,6 +17993,17 @@ $as_echo "#define STAT_ZFILE 1" >>confdefs.h
fi
+
+case $host_os in
+ *mingw*)
+
+$as_echo "#define NO_ZPIPE 1" >>confdefs.h
+
+ ;;
+ *)
+ ;;
+esac
+
ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile xpm.pc"
cat >confcache <<\_ACEOF
@@ -17794,6 +18115,14 @@ LIBOBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
if test -n "$EXEEXT"; then
am__EXEEXT_TRUE=
am__EXEEXT_FALSE='#'
@@ -17802,10 +18131,6 @@ else
am__EXEEXT_FALSE=
fi
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
as_fn_error $? "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -18231,7 +18556,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libXpm $as_me 3.5.10, which was
+This file was extended by libXpm $as_me 3.5.11, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -18297,7 +18622,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libXpm config.status 3.5.10
+libXpm config.status 3.5.11
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
@@ -18434,6 +18759,7 @@ pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
@@ -18516,7 +18842,6 @@ with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
-hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
@@ -18572,6 +18897,7 @@ _LTECHO_EOF'
# Quote evaled strings.
for var in SHELL \
ECHO \
+PATH_SEPARATOR \
SED \
GREP \
EGREP \
@@ -18622,7 +18948,6 @@ with_gnu_ld \
allow_undefined_flag \
no_undefined_flag \
hardcode_libdir_flag_spec \
-hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
exclude_expsyms \
include_expsyms \
@@ -19310,7 +19635,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -19323,7 +19648,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
+ # We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
@@ -19357,21 +19682,19 @@ $as_echo X"$mf" |
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
+ # from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
+ test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`$as_dirname -- "$file" ||
@@ -19425,8 +19748,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
-# Inc.
+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
@@ -19480,6 +19803,9 @@ SHELL=$lt_SHELL
# An echo program that protects backslashes.
ECHO=$lt_ECHO
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
# The host system.
host_alias=$host_alias
host=$host
@@ -19781,10 +20107,6 @@ no_undefined_flag=$lt_no_undefined_flag
# This must work even if \$libdir does not exist
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
-# If ld is used when linking, flag to hardcode \$libdir into a binary
-# during linking. This must work even if \$libdir does not exist.
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
-
# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=$lt_hardcode_libdir_separator