···11+commit 6013f24444d576ad263004c45edd52b4e8cec632
22+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
33+Date: Sun Mar 3 09:37:16 2024 -0800
44+55+ editres 1.0.9
66+77+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
88+99+commit d0bc9be0ef9545b8f34a35a766c165bd7fb073f3
1010+Author: Peter Radisson <Radisson97@web.de>
1111+Date: Wed Sep 6 14:46:40 2023 +0200
1212+1313+ fix const error
1414+1515+ missing const causes 'conflicting type' error at initialisation
1616+ and aborted compilation.
1717+1818+commit 6cb5bf04ccdfadef8f7acd81b41b15f0cf053c5f
1919+Author: Walter Harms <xt4ever@web.de>
2020+Date: Fri Apr 7 14:48:42 2023 +0200
2121+2222+ Fix shadowing box
2323+2424+ widgets.c: In function ‘CreateResourceBoxWidgets’:
2525+ widgets.c:473:18: warning: declaration of ‘box’ shadows a global declaration [-Wshadow]
2626+ Widget pane, box, button, viewport, pane_child;
2727+2828+ rename box to rbox
2929+3030+commit c10de6efe50fcd7be57e79274889d11e6845f82e
3131+Author: Walter Harms <xt4ever@web.de>
3232+Date: Fri Apr 7 13:09:26 2023 +0200
3333+3434+ fix initialization discards const
3535+3636+ FIX warnings like:
3737+3838+ initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
3939+ {"debug", "Debug", XtRBoolean, sizeof(Boolean),
4040+4141+commit 316df270e14ce13a3a631cdfd383a5a367fe14b0
4242+Author: Walter Harms <xt4ever@web.de>
4343+Date: Fri Apr 7 13:03:39 2023 +0200
4444+4545+ stop const warnings
4646+4747+ fix passing argument 1 of ‘RebuildMenusAndLabel’ discards ‘const’ qualifier
4848+ from pointer target type
4949+ only user is in comm.c
5050+5151+commit 417f15e05e739e171b36dfa643b6418dc07ab6bc
5252+Author: Walter Harms <xt4ever@web.de>
5353+Date: Fri Apr 7 12:58:05 2023 +0200
5454+5555+ stop const warnings
5656+5757+ most warnings occur because XtSetArg() needs (String) aka char *
5858+ and the "string" is const char * these days.
5959+6060+commit ce2c6484fec8055480cfaf99137bc9922d44373a
6161+Author: Walter Harms <xt4ever@web.de>
6262+Date: Fri Apr 7 12:53:11 2023 +0200
6363+6464+ stop const warnings
6565+6666+ The warning occurs because XtSetArg() needs (String) aka char *
6767+ and the "string" is const char * these days.
6868+6969+commit d3409224807c5d779162f92465d58120c77b7840
7070+Author: Walter Harms <xt4ever@web.de>
7171+Date: Fri Apr 7 12:44:06 2023 +0200
7272+7373+ stop const warnings
7474+7575+ The warning occurs because XtSetArg() needs (String) aka char *
7676+ and the "string" is const char * these days.
7777+7878+commit 07a58318ccd96c644b2748c57b285d5779fed0a8
7979+Author: Walter Harms <xt4ever@web.de>
8080+Date: Fri Apr 7 12:38:09 2023 +0200
8181+8282+ stop const warnings
8383+8484+ The warning occurs because XtSetArg() needs (String) aka char *
8585+ and the "string" is const char * these days.
8686+8787+commit ce35acb5b2a0892863fc63a1315a60cbbb7f553f
8888+Author: Walter Harms <xt4ever@web.de>
8989+Date: Fri Apr 7 12:17:22 2023 +0200
9090+9191+ FIX some const warnings
9292+9393+ make type const char * to avoid warning
9494+9595+commit 16df4dd92868ebc9663aae575df7dc3ce6e73797
9696+Author: Walter Harms <xt4ever@web.de>
9797+Date: Fri Apr 7 11:57:37 2023 +0200
9898+9999+ FIX const warning
100100+101101+ getting a bunch of warnings make i had to see the import ones.
102102+ So reduce the warnings by adding a few "const" no problem
103103+ for internals. For externals function add some casts.
104104+105105+commit e15440c5456c798e2ba5368afcd3b17c752cc44c
106106+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
107107+Date: Thu Feb 9 11:55:52 2023 -0800
108108+109109+ gitlab CI: stop requiring Signed-off-by in commits
110110+111111+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
112112+113113+commit 85a3ccd43c4601c9d80bea8441ec9711af9bd52d
114114+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
115115+Date: Mon Feb 6 18:20:20 2023 -0800
116116+117117+ List which options were unrecognized before printing usage message
118118+119119+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
120120+121121+commit ad1da487b343ffdbeda09563984869cc56ab29a0
122122+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
123123+Date: Mon Feb 6 18:19:29 2023 -0800
124124+125125+ Add -help and -version options
126126+127127+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
128128+129129+commit 80959deec664cd80cd5dbf84af86b52ded4eaee0
130130+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
131131+Date: Mon Feb 6 18:09:37 2023 -0800
132132+133133+ Re-enable code to use XKB Bells
134134+135135+ Enabled by default, use ./configure --without-xkb to disable.
136136+137137+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
138138+139139+commit ca502149fb2abad58446ebf234aa5e1e40ed4517
140140+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
141141+Date: Mon Feb 6 17:55:31 2023 -0800
142142+143143+ Ensure all *.c files include config.h before any other headers
144144+145145+ Makes sure that any flags set in config.h that affect system headers
146146+ are applied equally across all source files.
147147+148148+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
149149+1150commit 2f248e96dcde3be96c21142c032f517aa5a06554
2151Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3152Date: Sun Apr 3 11:30:51 2022 -0700
···758907 fix rules to work with non-GNU make and outside of $srcdir
759908760909commit d15169a6a4c05a63b17ae630c9ade3b14a3d7181
761761-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
910910+Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
762911Date: Mon Jun 27 22:30:58 2005 +0000
763912764913 Use $(foreach ) instead of listing the appdefaults files twice
765914766915commit 349b2847900798cacdfe358eb8eb4773106657e8
767767-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
916916+Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
768917Date: Mon Jun 27 21:35:04 2005 +0000
769918770919 - Fix string test in lib/Xaw/xaw.m4
···13131414m4_ifndef([AC_AUTOCONF_VERSION],
1515 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1616-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
1717-[m4_warning([this file was generated for autoconf 2.69.
1616+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
1717+[m4_warning([this file was generated for autoconf 2.71.
1818You have another version of autoconf. It may work, but is not guaranteed to.
1919If you have problems, you may need to regenerate the build system entirely.
2020To do so, use the procedure documented by the package, typically 'autoreconf'.])])
···1318131813191319dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure.
13201320dnl
13211321-dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
13211321+dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates.
13221322dnl
13231323dnl Permission is hereby granted, free of charge, to any person obtaining a
13241324dnl copy of this software and associated documentation files (the "Software"),
···13551355# See the "minimum version" comment for each macro you use to see what
13561356# version you require.
13571357m4_defun([XORG_MACROS_VERSION],[
13581358-m4_define([vers_have], [1.19.2])
13581358+m4_define([vers_have], [1.20.0])
13591359m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
13601360m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
13611361m4_if(m4_cmp(maj_have, maj_needed), 0,,
···13761376# such as man pages and config files
13771377AC_DEFUN([XORG_PROG_RAWCPP],[
13781378AC_REQUIRE([AC_PROG_CPP])
13791379-AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}],
13791379+AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}],
13801380 [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
1381138113821382# Check for flag to avoid builtin definitions - assumes unix is predefined,
···16861686# Documentation tools are not always available on all platforms and sometimes
16871687# not at the appropriate level. This macro enables a module to test for the
16881688# presence of the tool and obtain it's path in separate variables. Coupled with
16891689-# the --with-xmlto option, it allows maximum flexibilty in making decisions
16891689+# the --with-xmlto option, it allows maximum flexibility in making decisions
16901690# as whether or not to use the xmlto package. When DEFAULT is not specified,
16911691# --with-xmlto assumes 'auto'.
16921692#
···19001900# Documentation tools are not always available on all platforms and sometimes
19011901# not at the appropriate level. This macro enables a module to test for the
19021902# presence of the tool and obtain it's path in separate variables. Coupled with
19031903-# the --with-asciidoc option, it allows maximum flexibilty in making decisions
19031903+# the --with-asciidoc option, it allows maximum flexibility in making decisions
19041904# as whether or not to use the asciidoc package. When DEFAULT is not specified,
19051905# --with-asciidoc assumes 'auto'.
19061906#
···19701970# Documentation tools are not always available on all platforms and sometimes
19711971# not at the appropriate level. This macro enables a module to test for the
19721972# presence of the tool and obtain it's path in separate variables. Coupled with
19731973-# the --with-doxygen option, it allows maximum flexibilty in making decisions
19731973+# the --with-doxygen option, it allows maximum flexibility in making decisions
19741974# as whether or not to use the doxygen package. When DEFAULT is not specified,
19751975# --with-doxygen assumes 'auto'.
19761976#
···20542054# Documentation tools are not always available on all platforms and sometimes
20552055# not at the appropriate level. This macro enables a module to test for the
20562056# presence of the tool and obtain it's path in separate variables. Coupled with
20572057-# the --with-groff option, it allows maximum flexibilty in making decisions
20572057+# the --with-groff option, it allows maximum flexibility in making decisions
20582058# as whether or not to use the groff package. When DEFAULT is not specified,
20592059# --with-groff assumes 'auto'.
20602060#
···21622162# Documentation tools are not always available on all platforms and sometimes
21632163# not at the appropriate level. This macro enables a module to test for the
21642164# presence of the tool and obtain it's path in separate variables. Coupled with
21652165-# the --with-fop option, it allows maximum flexibilty in making decisions
21652165+# the --with-fop option, it allows maximum flexibility in making decisions
21662166# as whether or not to use the fop package. When DEFAULT is not specified,
21672167# --with-fop assumes 'auto'.
21682168#
···22562256# Documentation tools are not always available on all platforms and sometimes
22572257# not at the appropriate level. This macro enables a module to test for the
22582258# presence of the tool and obtain it's path in separate variables. Coupled with
22592259-# the --with-ps2pdf option, it allows maximum flexibilty in making decisions
22592259+# the --with-ps2pdf option, it allows maximum flexibility in making decisions
22602260# as whether or not to use the ps2pdf package. When DEFAULT is not specified,
22612261# --with-ps2pdf assumes 'auto'.
22622262#
···23112311# not at the appropriate level. This macro enables a builder to skip all
23122312# documentation targets except traditional man pages.
23132313# Combined with the specific tool checking macros XORG_WITH_*, it provides
23142314-# maximum flexibilty in controlling documentation building.
23142314+# maximum flexibility in controlling documentation building.
23152315# Refer to:
23162316# XORG_WITH_XMLTO --with-xmlto
23172317# XORG_WITH_ASCIIDOC --with-asciidoc
···23442344#
23452345# This macro enables a builder to skip all developer documentation.
23462346# Combined with the specific tool checking macros XORG_WITH_*, it provides
23472347-# maximum flexibilty in controlling documentation building.
23472347+# maximum flexibility in controlling documentation building.
23482348# Refer to:
23492349# XORG_WITH_XMLTO --with-xmlto
23502350# XORG_WITH_ASCIIDOC --with-asciidoc
···23772377#
23782378# This macro enables a builder to skip all functional specification targets.
23792379# Combined with the specific tool checking macros XORG_WITH_*, it provides
23802380-# maximum flexibilty in controlling documentation building.
23802380+# maximum flexibility in controlling documentation building.
23812381# Refer to:
23822382# XORG_WITH_XMLTO --with-xmlto
23832383# XORG_WITH_ASCIIDOC --with-asciidoc
···28522852AC_DEFUN([XORG_COMPILER_BRAND], [
28532853AC_LANG_CASE(
28542854 [C], [
28552855- AC_REQUIRE([AC_PROG_CC_C99])
28552855+ dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
28562856+ dnl and complains that AC_PROG_CC_C99 is obsolete
28572857+ m4_version_prereq([2.70],
28582858+ [AC_REQUIRE([AC_PROG_CC])],
28592859+ [AC_REQUIRE([AC_PROG_CC_C99])])
28562860 ],
28572861 [C++], [
28582862 AC_REQUIRE([AC_PROG_CXX])
···28682872# Minimum version: 1.16.0
28692873#
28702874# Test if the compiler works when passed the given flag as a command line argument.
28712871-# If it succeeds, the flag is appeneded to the given variable. If not, it tries the
28752875+# If it succeeds, the flag is appended to the given variable. If not, it tries the
28722876# next flag in the list until there are no more options.
28732877#
28742878# Note that this does not guarantee that the compiler supports the flag as some
···2884288828852889AC_LANG_CASE(
28862890 [C], [
28872887- AC_REQUIRE([AC_PROG_CC_C99])
28912891+ dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
28922892+ dnl and complains that AC_PROG_CC_C99 is obsolete
28932893+ m4_version_prereq([2.70],
28942894+ [AC_REQUIRE([AC_PROG_CC])],
28952895+ [AC_REQUIRE([AC_PROG_CC_C99])])
28882896 define([PREFIX], [C])
28892897 define([CACHE_PREFIX], [cc])
28902898 define([COMPILER], [$CC])
···30253033# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
30263034# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
3027303530283028-# Turn some warnings into errors, so we don't accidently get successful builds
30363036+# Turn some warnings into errors, so we don't accidentally get successful builds
30293037# when there are problems that should be fixed.
3030303830313039if test "x$SELECTIVE_WERROR" = "xyes" ; then
···31343142AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS]))
31353143]) # XORG_STRICT_OPTION
3136314431453145+# XORG_DEFAULT_NOCODE_OPTIONS
31463146+# ---------------------------
31473147+# Minimum version: 1.20.0
31483148+#
31493149+# Defines default options for X.Org modules which don't compile code,
31503150+# such as fonts, bitmaps, cursors, and docs.
31513151+#
31523152+AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [
31533153+AC_REQUIRE([AC_PROG_INSTALL])
31543154+XORG_RELEASE_VERSION
31553155+XORG_CHANGELOG
31563156+XORG_INSTALL
31573157+XORG_MANPAGE_SECTIONS
31583158+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
31593159+ [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
31603160+]) # XORG_DEFAULT_NOCODE_OPTIONS
31613161+31373162# XORG_DEFAULT_OPTIONS
31383163# --------------------
31393164# Minimum version: 1.3.0
31403165#
31413141-# Defines default options for X.Org modules.
31663166+# Defines default options for X.Org modules which compile code.
31423167#
31433168AC_DEFUN([XORG_DEFAULT_OPTIONS], [
31443169AC_REQUIRE([AC_PROG_INSTALL])
31453170XORG_COMPILER_FLAGS
31463171XORG_CWARNFLAGS
31473172XORG_STRICT_OPTION
31483148-XORG_RELEASE_VERSION
31493149-XORG_CHANGELOG
31503150-XORG_INSTALL
31513151-XORG_MANPAGE_SECTIONS
31523152-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
31533153- [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
31733173+XORG_DEFAULT_NOCODE_OPTIONS
31543174]) # XORG_DEFAULT_OPTIONS
3155317531563176# XORG_INSTALL()
···3232 * being edited.
3333 */
34343535+#ifdef HAVE_CONFIG_H
3636+# include "config.h"
3737+#endif
3838+3539#include <X11/Intrinsic.h>
3640#include <X11/StringDefs.h> /* Get standard string definitions. */
3741#include <X11/Xatom.h>
+9-4
app/editres/config.h.in
···33/* Define to 1 if you have the <inttypes.h> header file. */
44#undef HAVE_INTTYPES_H
5566-/* Define to 1 if you have the <memory.h> header file. */
77-#undef HAVE_MEMORY_H
88-96/* Define to 1 if you have the <stdint.h> header file. */
107#undef HAVE_STDINT_H
88+99+/* Define to 1 if you have the <stdio.h> header file. */
1010+#undef HAVE_STDIO_H
11111212/* Define to 1 if you have the <stdlib.h> header file. */
1313#undef HAVE_STDLIB_H
···5757/* Patch version of this package */
5858#undef PACKAGE_VERSION_PATCHLEVEL
59596060-/* Define to 1 if you have the ANSI C header files. */
6060+/* Define to 1 if all of the C90 standard headers exist (not just the ones
6161+ required in a freestanding environment). This macro is provided for
6262+ backward compatibility; new code need not use it. */
6163#undef STDC_HEADERS
62646365/* Version number of package */
6466#undef VERSION
6767+6868+/* Define to use XkbStdBell (libxkbfile) */
6969+#undef XKB
+3460-3017
app/editres/configure
···11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
33-# Generated by GNU Autoconf 2.69 for editres 1.0.8.
33+# Generated by GNU Autoconf 2.71 for editres 1.0.9.
44#
55-# Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/issues>.
55+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/-/issues>.
66#
77#
88-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
88+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
99+# Inc.
910#
1011#
1112# This configure script is free software; the Free Software Foundation
···16171718# Be more Bourne compatible
1819DUALCASE=1; export DUALCASE # for MKS sh
1919-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2020+as_nop=:
2121+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2222+then :
2023 emulate sh
2124 NULLCMD=:
2225 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2326 # is contrary to our usage. Disable this feature.
2427 alias -g '${1+"$@"}'='"$@"'
2528 setopt NO_GLOB_SUBST
2626-else
2929+else $as_nop
2730 case `(set -o) 2>/dev/null` in #(
2831 *posix*) :
2932 set -o posix ;; #(
···3336fi
343735383939+4040+# Reset variables that may have inherited troublesome values from
4141+# the environment.
4242+4343+# IFS needs to be set, to space, tab, and newline, in precisely that order.
4444+# (If _AS_PATH_WALK were called with IFS unset, it would have the
4545+# side effect of setting IFS to empty, thus disabling word splitting.)
4646+# Quoting is to prevent editors from complaining about space-tab.
3647as_nl='
3748'
3849export as_nl
3939-# Printing a long string crashes Solaris 7 /usr/bin/printf.
4040-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4141-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4242-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4343-# Prefer a ksh shell builtin over an external printf program on Solaris,
4444-# but without wasting forks for bash or zsh.
4545-if test -z "$BASH_VERSION$ZSH_VERSION" \
4646- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4747- as_echo='print -r --'
4848- as_echo_n='print -rn --'
4949-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5050- as_echo='printf %s\n'
5151- as_echo_n='printf %s'
5252-else
5353- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5454- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5555- as_echo_n='/usr/ucb/echo -n'
5656- else
5757- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5858- as_echo_n_body='eval
5959- arg=$1;
6060- case $arg in #(
6161- *"$as_nl"*)
6262- expr "X$arg" : "X\\(.*\\)$as_nl";
6363- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6464- esac;
6565- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6666- '
6767- export as_echo_n_body
6868- as_echo_n='sh -c $as_echo_n_body as_echo'
6969- fi
7070- export as_echo_body
7171- as_echo='sh -c $as_echo_body as_echo'
7272-fi
5050+IFS=" "" $as_nl"
5151+5252+PS1='$ '
5353+PS2='> '
5454+PS4='+ '
5555+5656+# Ensure predictable behavior from utilities with locale-dependent output.
5757+LC_ALL=C
5858+export LC_ALL
5959+LANGUAGE=C
6060+export LANGUAGE
6161+6262+# We cannot yet rely on "unset" to work, but we need these variables
6363+# to be unset--not just set to an empty or harmless value--now, to
6464+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
6565+# also avoids known problems related to "unset" and subshell syntax
6666+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
6767+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
6868+do eval test \${$as_var+y} \
6969+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7070+done
7171+7272+# Ensure that fds 0, 1, and 2 are open.
7373+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
7474+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
7575+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
73767477# The user is always right.
7575-if test "${PATH_SEPARATOR+set}" != set; then
7878+if ${PATH_SEPARATOR+false} :; then
7679 PATH_SEPARATOR=:
7780 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
···8083 }
8184fi
82858383-8484-# IFS
8585-# We need space, tab and new line, in precisely that order. Quoting is
8686-# there to prevent editors from complaining about space-tab.
8787-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8888-# splitting by setting IFS to empty value.)
8989-IFS=" "" $as_nl"
90869187# Find who we are. Look in the path if we contain no directory separator.
9288as_myself=
···9692for as_dir in $PATH
9793do
9894 IFS=$as_save_IFS
9999- test -z "$as_dir" && as_dir=.
100100- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9595+ case $as_dir in #(((
9696+ '') as_dir=./ ;;
9797+ */) ;;
9898+ *) as_dir=$as_dir/ ;;
9999+ esac
100100+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101101 done
102102IFS=$as_save_IFS
103103···109109 as_myself=$0
110110fi
111111if test ! -f "$as_myself"; then
112112- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112112+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113113 exit 1
114114fi
115115116116-# Unset variables that we do not need and which cause bugs (e.g. in
117117-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118118-# suppresses any "Segmentation fault" message there. '((' could
119119-# trigger a bug in pdksh 5.2.14.
120120-for as_var in BASH_ENV ENV MAIL MAILPATH
121121-do eval test x\${$as_var+set} = xset \
122122- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123123-done
124124-PS1='$ '
125125-PS2='> '
126126-PS4='+ '
127127-128128-# NLS nuisances.
129129-LC_ALL=C
130130-export LC_ALL
131131-LANGUAGE=C
132132-export LANGUAGE
133133-134134-# CDPATH.
135135-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136116137117# Use a proper internal environment variable to ensure we don't fall
138118 # into an infinite loop, continuously re-executing ourselves.
···154134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155135# Admittedly, this is quite paranoid, since all the known shells bail
156136# out after a failed `exec'.
157157-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158158-as_fn_exit 255
137137+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138138+exit 255
159139 fi
160140 # We don't want this to propagate to other subprocesses.
161141 { _as_can_reexec=; unset _as_can_reexec;}
162142if test "x$CONFIG_SHELL" = x; then
163163- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143143+ as_bourne_compatible="as_nop=:
144144+if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145145+then :
164146 emulate sh
165147 NULLCMD=:
166148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167149 # is contrary to our usage. Disable this feature.
168150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169151 setopt NO_GLOB_SUBST
170170-else
152152+else \$as_nop
171153 case \`(set -o) 2>/dev/null\` in #(
172154 *posix*) :
173155 set -o posix ;; #(
···187169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190190-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
172172+if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173173+then :
191174192192-else
175175+else \$as_nop
193176 exitcode=1; echo positional parameters were not saved.
194177fi
195178test x\$exitcode = x0 || exit 1
179179+blah=\$(echo \$(echo blah))
180180+test x\"\$blah\" = xblah || exit 1
196181test -x / || exit 1"
197182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201186test \$(( 1 + 1 )) = 2 || exit 1"
202202- if (eval "$as_required") 2>/dev/null; then :
187187+ if (eval "$as_required") 2>/dev/null
188188+then :
203189 as_have_required=yes
204204-else
190190+else $as_nop
205191 as_have_required=no
206192fi
207207- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193193+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194194+then :
208195209209-else
196196+else $as_nop
210197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211198as_found=false
212199for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213200do
214201 IFS=$as_save_IFS
215215- test -z "$as_dir" && as_dir=.
202202+ case $as_dir in #(((
203203+ '') as_dir=./ ;;
204204+ */) ;;
205205+ *) as_dir=$as_dir/ ;;
206206+ esac
216207 as_found=:
217208 case $as_dir in #(
218209 /*)
219210 for as_base in sh bash ksh sh5; do
220211 # Try only shells that exist, to save several forks.
221221- as_shell=$as_dir/$as_base
212212+ as_shell=$as_dir$as_base
222213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223223- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
214214+ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215215+then :
224216 CONFIG_SHELL=$as_shell as_have_required=yes
225225- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217217+ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218218+then :
226219 break 2
227220fi
228221fi
···230223 esac
231224 as_found=false
232225done
233233-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234234- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
226226+IFS=$as_save_IFS
227227+if $as_found
228228+then :
229229+230230+else $as_nop
231231+ if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232232+ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233233+then :
235234 CONFIG_SHELL=$SHELL as_have_required=yes
236236-fi; }
237237-IFS=$as_save_IFS
235235+fi
236236+fi
238237239238240240- if test "x$CONFIG_SHELL" != x; then :
239239+ if test "x$CONFIG_SHELL" != x
240240+then :
241241 export CONFIG_SHELL
242242 # We cannot yet assume a decent shell, so we have to provide a
243243# neutralization value for shells without unset; and this also
···255255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256256# Admittedly, this is quite paranoid, since all the known shells bail
257257# out after a failed `exec'.
258258-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258258+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259259exit 255
260260fi
261261262262- if test x$as_have_required = xno; then :
263263- $as_echo "$0: This script requires a shell more modern than all"
264264- $as_echo "$0: the shells that I found on your system."
265265- if test x${ZSH_VERSION+set} = xset ; then
266266- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267267- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
262262+ if test x$as_have_required = xno
263263+then :
264264+ printf "%s\n" "$0: This script requires a shell more modern than all"
265265+ printf "%s\n" "$0: the shells that I found on your system."
266266+ if test ${ZSH_VERSION+y} ; then
267267+ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268268+ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268269 else
269269- $as_echo "$0: Please tell bug-autoconf@gnu.org and
270270-$0: https://gitlab.freedesktop.org/xorg/app/editres/issues
270270+ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271271+$0: https://gitlab.freedesktop.org/xorg/app/editres/-/issues
271272$0: about your system, including any error possibly output
272273$0: before this message. Then install a modern shell, or
273274$0: manually run the script under such a shell if you do
···295296}
296297as_unset=as_fn_unset
297298299299+298300# as_fn_set_status STATUS
299301# -----------------------
300302# Set $? to STATUS, without forking.
···312314 as_fn_set_status $1
313315 exit $1
314316} # as_fn_exit
317317+# as_fn_nop
318318+# ---------
319319+# Do nothing but, unlike ":", preserve the value of $?.
320320+as_fn_nop ()
321321+{
322322+ return $?
323323+}
324324+as_nop=as_fn_nop
315325316326# as_fn_mkdir_p
317327# -------------
···326336 as_dirs=
327337 while :; do
328338 case $as_dir in #(
329329- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339339+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330340 *) as_qdir=$as_dir;;
331341 esac
332342 as_dirs="'$as_qdir' $as_dirs"
···335345 X"$as_dir" : 'X\(//\)[^/]' \| \
336346 X"$as_dir" : 'X\(//\)$' \| \
337347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338338-$as_echo X"$as_dir" |
348348+printf "%s\n" X"$as_dir" |
339349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340350 s//\1/
341351 q
···374384# advantage of any shell optimizations that allow amortized linear growth over
375385# repeated appends, instead of the typical quadratic growth present in naive
376386# implementations.
377377-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387387+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388388+then :
378389 eval 'as_fn_append ()
379390 {
380391 eval $1+=\$2
381392 }'
382382-else
393393+else $as_nop
383394 as_fn_append ()
384395 {
385396 eval $1=\$$1\$2
···391402# Perform arithmetic evaluation on the ARGs, and store the result in the
392403# global $as_val. Take advantage of shells that can avoid forks. The arguments
393404# must be portable across $(()) and expr.
394394-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
405405+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
406406+then :
395407 eval 'as_fn_arith ()
396408 {
397409 as_val=$(( $* ))
398410 }'
399399-else
411411+else $as_nop
400412 as_fn_arith ()
401413 {
402414 as_val=`expr "$@" || test $? -eq 1`
403415 }
404416fi # as_fn_arith
405417418418+# as_fn_nop
419419+# ---------
420420+# Do nothing but, unlike ":", preserve the value of $?.
421421+as_fn_nop ()
422422+{
423423+ return $?
424424+}
425425+as_nop=as_fn_nop
406426407427# as_fn_error STATUS ERROR [LINENO LOG_FD]
408428# ----------------------------------------
···414434 as_status=$1; test $as_status -eq 0 && as_status=1
415435 if test "$4"; then
416436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417417- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437437+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418438 fi
419419- $as_echo "$as_me: error: $2" >&2
439439+ printf "%s\n" "$as_me: error: $2" >&2
420440 as_fn_exit $as_status
421441} # as_fn_error
422442···443463$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444464 X"$0" : 'X\(//\)$' \| \
445465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446446-$as_echo X/"$0" |
466466+printf "%s\n" X/"$0" |
447467 sed '/^.*\/\([^/][^/]*\)\/*$/{
448468 s//\1/
449469 q
···487507 s/-\n.*//
488508 ' >$as_me.lineno &&
489509 chmod +x "$as_me.lineno" ||
490490- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510510+ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491511492512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493513 # already done that, so ensure we don't try to do so again and fall
···501521 exit
502522}
503523524524+525525+# Determine whether it's possible to make 'echo' print without a newline.
526526+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527527+# for compatibility with existing Makefiles.
504528ECHO_C= ECHO_N= ECHO_T=
505529case `echo -n x` in #(((((
506530-n*)
···514538 ECHO_N='-n';;
515539esac
516540541541+# For backward compatibility with old third-party macros, we provide
542542+# the shell variables $as_echo and $as_echo_n. New code should use
543543+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544544+as_echo='printf %s\n'
545545+as_echo_n='printf %s'
546546+547547+517548rm -f conf$$ conf$$.exe conf$$.file
518549if test -d conf$$.dir; then
519550 rm -f conf$$.dir/conf$$.file
···581612# Identity of this package.
582613PACKAGE_NAME='editres'
583614PACKAGE_TARNAME='editres'
584584-PACKAGE_VERSION='1.0.8'
585585-PACKAGE_STRING='editres 1.0.8'
586586-PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/editres/issues'
615615+PACKAGE_VERSION='1.0.9'
616616+PACKAGE_STRING='editres 1.0.9'
617617+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/editres/-/issues'
587618PACKAGE_URL=''
588619589620ac_unique_file="Makefile.am"
590621# Factoring default headers for most tests.
591622ac_includes_default="\
592592-#include <stdio.h>
593593-#ifdef HAVE_SYS_TYPES_H
594594-# include <sys/types.h>
623623+#include <stddef.h>
624624+#ifdef HAVE_STDIO_H
625625+# include <stdio.h>
595626#endif
596596-#ifdef HAVE_SYS_STAT_H
597597-# include <sys/stat.h>
598598-#endif
599599-#ifdef STDC_HEADERS
627627+#ifdef HAVE_STDLIB_H
600628# include <stdlib.h>
601601-# include <stddef.h>
602602-#else
603603-# ifdef HAVE_STDLIB_H
604604-# include <stdlib.h>
605605-# endif
606629#endif
607630#ifdef HAVE_STRING_H
608608-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609609-# include <memory.h>
610610-# endif
611631# include <string.h>
612632#endif
613613-#ifdef HAVE_STRINGS_H
614614-# include <strings.h>
615615-#endif
616633#ifdef HAVE_INTTYPES_H
617634# include <inttypes.h>
618635#endif
619636#ifdef HAVE_STDINT_H
620637# include <stdint.h>
621638#endif
639639+#ifdef HAVE_STRINGS_H
640640+# include <strings.h>
641641+#endif
642642+#ifdef HAVE_SYS_TYPES_H
643643+# include <sys/types.h>
644644+#endif
645645+#ifdef HAVE_SYS_STAT_H
646646+# include <sys/stat.h>
647647+#endif
622648#ifdef HAVE_UNISTD_H
623649# include <unistd.h>
624650#endif"
625651652652+ac_header_c_list=
626653ac_subst_vars='am__EXEEXT_FALSE
627654am__EXEEXT_TRUE
628655LTLIBOBJS
···667694STRICT_CFLAGS
668695CWARNFLAGS
669696BASE_CFLAGS
670670-EGREP
671671-GREP
672672-CPP
673697am__fastdepCC_FALSE
674698am__fastdepCC_TRUE
675699CCDEPMODE
···760784enable_selective_werror
761785enable_strict_compilation
762786enable_silent_rules
787787+with_xkb
763788with_appdefaultdir
764789'
765790 ac_precious_vars='build_alias
···770795LDFLAGS
771796LIBS
772797CPPFLAGS
773773-CPP
774798PKG_CONFIG
775799PKG_CONFIG_PATH
776800PKG_CONFIG_LIBDIR
···845869 *=) ac_optarg= ;;
846870 *) ac_optarg=yes ;;
847871 esac
848848-849849- # Accept the important Cygnus configure options, so we can diagnose typos.
850872851873 case $ac_dashdash$ac_option in
852874 --)
···888910 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889911 # Reject names that are not valid shell variable names.
890912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891891- as_fn_error $? "invalid feature name: $ac_useropt"
913913+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
892914 ac_useropt_orig=$ac_useropt
893893- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915915+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
894916 case $ac_user_opts in
895917 *"
896918"enable_$ac_useropt"
···914936 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915937 # Reject names that are not valid shell variable names.
916938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917917- as_fn_error $? "invalid feature name: $ac_useropt"
939939+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
918940 ac_useropt_orig=$ac_useropt
919919- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941941+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
920942 case $ac_user_opts in
921943 *"
922944"enable_$ac_useropt"
···11271149 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11281150 # Reject names that are not valid shell variable names.
11291151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11301130- as_fn_error $? "invalid package name: $ac_useropt"
11521152+ as_fn_error $? "invalid package name: \`$ac_useropt'"
11311153 ac_useropt_orig=$ac_useropt
11321132- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11541154+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11331155 case $ac_user_opts in
11341156 *"
11351157"with_$ac_useropt"
···11431165 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11441166 # Reject names that are not valid shell variable names.
11451167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11461146- as_fn_error $? "invalid package name: $ac_useropt"
11681168+ as_fn_error $? "invalid package name: \`$ac_useropt'"
11471169 ac_useropt_orig=$ac_useropt
11481148- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11701170+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11491171 case $ac_user_opts in
11501172 *"
11511173"with_$ac_useropt"
···1189121111901212 *)
11911213 # FIXME: should be removed in autoconf 3.0.
11921192- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12141214+ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
11931215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11941194- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
12161216+ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11951217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11961218 ;;
11971219···12071229 case $enable_option_checking in
12081230 no) ;;
12091231 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
12101210- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12321232+ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12111233 esac
12121234fi
12131235···12711293 X"$as_myself" : 'X\(//\)[^/]' \| \
12721294 X"$as_myself" : 'X\(//\)$' \| \
12731295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12741274-$as_echo X"$as_myself" |
12961296+printf "%s\n" X"$as_myself" |
12751297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12761298 s//\1/
12771299 q
···13281350 # Omit some internal or obsolete options to make the list less imposing.
13291351 # This message is too long to be a string in the A/UX 3.1 sh.
13301352 cat <<_ACEOF
13311331-\`configure' configures editres 1.0.8 to adapt to many kinds of systems.
13531353+\`configure' configures editres 1.0.9 to adapt to many kinds of systems.
1332135413331355Usage: $0 [OPTION]... [VAR=VALUE]...
13341356···1399142114001422if test -n "$ac_init_help"; then
14011423 case $ac_init_help in
14021402- short | recursive ) echo "Configuration of editres 1.0.8:";;
14241424+ short | recursive ) echo "Configuration of editres 1.0.9:";;
14031425 esac
14041426 cat <<\_ACEOF
14051427···14261448Optional Packages:
14271449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
14281450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
14511451+ --without-xkb Disable use of XKB to sound bells (Default is
14521452+ with-xkb)
14291453 --with-appdefaultdir=<pathname>
14301454 specify directory for app-defaults files (default is
14311455 autodetected)
···14381462 LIBS libraries to pass to the linker, e.g. -l<library>
14391463 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
14401464 you have headers in a nonstandard directory <include dir>
14411441- CPP C preprocessor
14421465 PKG_CONFIG path to pkg-config utility
14431466 PKG_CONFIG_PATH
14441467 directories to add to pkg-config's search path
···14561479Use these variables to override the choices made by `configure' or to help
14571480it to find libraries and programs with nonstandard names/locations.
1458148114591459-Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/issues>.
14821482+Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/-/issues>.
14601483_ACEOF
14611484ac_status=$?
14621485fi
···14721495case "$ac_dir" in
14731496.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14741497*)
14751475- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14981498+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14761499 # A ".." for each directory in $ac_dir_suffix.
14771477- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15001500+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14781501 case $ac_top_builddir_sub in
14791502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14801503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
···15021525ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1503152615041527 cd "$ac_dir" || { ac_status=$?; continue; }
15051505- # Check for guested configure.
15281528+ # Check for configure.gnu first; this name is used for a wrapper for
15291529+ # Metaconfig's "Configure" on case-insensitive file systems.
15061530 if test -f "$ac_srcdir/configure.gnu"; then
15071531 echo &&
15081532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
···15101534 echo &&
15111535 $SHELL "$ac_srcdir/configure" --help=recursive
15121536 else
15131513- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15371537+ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15141538 fi || ac_status=$?
15151539 cd "$ac_pwd" || { ac_status=$?; break; }
15161540 done
···15191543test -n "$ac_init_help" && exit $ac_status
15201544if $ac_init_version; then
15211545 cat <<\_ACEOF
15221522-editres configure 1.0.8
15231523-generated by GNU Autoconf 2.69
15461546+editres configure 1.0.9
15471547+generated by GNU Autoconf 2.71
1524154815251525-Copyright (C) 2012 Free Software Foundation, Inc.
15491549+Copyright (C) 2021 Free Software Foundation, Inc.
15261550This configure script is free software; the Free Software Foundation
15271551gives unlimited permission to copy, distribute and modify it.
15281552_ACEOF
···15391563ac_fn_c_try_compile ()
15401564{
15411565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15421542- rm -f conftest.$ac_objext
15661566+ rm -f conftest.$ac_objext conftest.beam
15431567 if { { ac_try="$ac_compile"
15441568case "(($ac_try" in
15451569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461570 *) ac_try_echo=$ac_try;;
15471571esac
15481572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15491549-$as_echo "$ac_try_echo"; } >&5
15731573+printf "%s\n" "$ac_try_echo"; } >&5
15501574 (eval "$ac_compile") 2>conftest.err
15511575 ac_status=$?
15521576 if test -s conftest.err; then
···15541578 cat conftest.er1 >&5
15551579 mv -f conftest.er1 conftest.err
15561580 fi
15571557- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15811581+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15581582 test $ac_status = 0; } && {
15591583 test -z "$ac_c_werror_flag" ||
15601584 test ! -s conftest.err
15611561- } && test -s conftest.$ac_objext; then :
15851585+ } && test -s conftest.$ac_objext
15861586+then :
15621587 ac_retval=0
15631563-else
15641564- $as_echo "$as_me: failed program was:" >&5
15881588+else $as_nop
15891589+ printf "%s\n" "$as_me: failed program was:" >&5
15651590sed 's/^/| /' conftest.$ac_ext >&5
1566159115671592 ac_retval=1
···1571159615721597} # ac_fn_c_try_compile
1573159815741574-# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
15751575-# ---------------------------------------------
15991599+# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
16001600+# ------------------------------------------------------------------
15761601# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
15771577-# accordingly.
15781578-ac_fn_c_check_decl ()
16021602+# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
16031603+ac_fn_check_decl ()
15791604{
15801605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15811606 as_decl_name=`echo $2|sed 's/ *(.*//'`
16071607+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
16081608+printf %s "checking whether $as_decl_name is declared... " >&6; }
16091609+if eval test \${$3+y}
16101610+then :
16111611+ printf %s "(cached) " >&6
16121612+else $as_nop
15821613 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
15831583- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
15841584-$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
15851585-if eval \${$3+:} false; then :
15861586- $as_echo_n "(cached) " >&6
15871587-else
16141614+ eval ac_save_FLAGS=\$$6
16151615+ as_fn_append $6 " $5"
15881616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891617/* end confdefs.h. */
15901618$4
15911619int
15921592-main ()
16201620+main (void)
15931621{
15941622#ifndef $as_decl_name
15951623#ifdef __cplusplus
···16031631 return 0;
16041632}
16051633_ACEOF
16061606-if ac_fn_c_try_compile "$LINENO"; then :
16341634+if ac_fn_c_try_compile "$LINENO"
16351635+then :
16071636 eval "$3=yes"
16081608-else
16371637+else $as_nop
16091638 eval "$3=no"
16101639fi
16111611-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16121612-fi
16131613-eval ac_res=\$$3
16141614- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16151615-$as_echo "$ac_res" >&6; }
16161616- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16171617-16181618-} # ac_fn_c_check_decl
16191619-16201620-# ac_fn_c_try_cpp LINENO
16211621-# ----------------------
16221622-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
16231623-ac_fn_c_try_cpp ()
16241624-{
16251625- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16261626- if { { ac_try="$ac_cpp conftest.$ac_ext"
16271627-case "(($ac_try" in
16281628- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16291629- *) ac_try_echo=$ac_try;;
16301630-esac
16311631-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16321632-$as_echo "$ac_try_echo"; } >&5
16331633- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
16341634- ac_status=$?
16351635- if test -s conftest.err; then
16361636- grep -v '^ *+' conftest.err >conftest.er1
16371637- cat conftest.er1 >&5
16381638- mv -f conftest.er1 conftest.err
16391639- fi
16401640- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16411641- test $ac_status = 0; } > conftest.i && {
16421642- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16431643- test ! -s conftest.err
16441644- }; then :
16451645- ac_retval=0
16461646-else
16471647- $as_echo "$as_me: failed program was:" >&5
16481648-sed 's/^/| /' conftest.$ac_ext >&5
16491649-16501650- ac_retval=1
16511651-fi
16521652- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16531653- as_fn_set_status $ac_retval
16541654-16551655-} # ac_fn_c_try_cpp
16561656-16571657-# ac_fn_c_try_run LINENO
16581658-# ----------------------
16591659-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
16601660-# that executables *can* be run.
16611661-ac_fn_c_try_run ()
16621662-{
16631663- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16641664- if { { ac_try="$ac_link"
16651665-case "(($ac_try" in
16661666- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671667- *) ac_try_echo=$ac_try;;
16681668-esac
16691669-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16701670-$as_echo "$ac_try_echo"; } >&5
16711671- (eval "$ac_link") 2>&5
16721672- ac_status=$?
16731673- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16741674- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
16751675- { { case "(($ac_try" in
16761676- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771677- *) ac_try_echo=$ac_try;;
16781678-esac
16791679-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16801680-$as_echo "$ac_try_echo"; } >&5
16811681- (eval "$ac_try") 2>&5
16821682- ac_status=$?
16831683- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16841684- test $ac_status = 0; }; }; then :
16851685- ac_retval=0
16861686-else
16871687- $as_echo "$as_me: program exited with status $ac_status" >&5
16881688- $as_echo "$as_me: failed program was:" >&5
16891689-sed 's/^/| /' conftest.$ac_ext >&5
16401640+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16411641+ eval $6=\$ac_save_FLAGS
1690164216911691- ac_retval=$ac_status
16921643fi
16931693- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
16441644+eval ac_res=\$$3
16451645+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16461646+printf "%s\n" "$ac_res" >&6; }
16941647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16951695- as_fn_set_status $ac_retval
1696164816971697-} # ac_fn_c_try_run
16491649+} # ac_fn_check_decl
1698165016991651# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
17001652# -------------------------------------------------------
···17031655ac_fn_c_check_header_compile ()
17041656{
17051657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17061706- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17071707-$as_echo_n "checking for $2... " >&6; }
17081708-if eval \${$3+:} false; then :
17091709- $as_echo_n "(cached) " >&6
17101710-else
16581658+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16591659+printf %s "checking for $2... " >&6; }
16601660+if eval test \${$3+y}
16611661+then :
16621662+ printf %s "(cached) " >&6
16631663+else $as_nop
17111664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121665/* end confdefs.h. */
17131666$4
17141667#include <$2>
17151668_ACEOF
17161716-if ac_fn_c_try_compile "$LINENO"; then :
16691669+if ac_fn_c_try_compile "$LINENO"
16701670+then :
17171671 eval "$3=yes"
17181718-else
16721672+else $as_nop
17191673 eval "$3=no"
17201674fi
17211721-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16751675+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17221676fi
17231677eval ac_res=\$$3
17241724- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17251725-$as_echo "$ac_res" >&6; }
16781678+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16791679+printf "%s\n" "$ac_res" >&6; }
17261680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727168117281682} # ac_fn_c_check_header_compile
···17331687ac_fn_c_try_link ()
17341688{
17351689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17361736- rm -f conftest.$ac_objext conftest$ac_exeext
16901690+ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
17371691 if { { ac_try="$ac_link"
17381692case "(($ac_try" in
17391693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17401694 *) ac_try_echo=$ac_try;;
17411695esac
17421696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17431743-$as_echo "$ac_try_echo"; } >&5
16971697+printf "%s\n" "$ac_try_echo"; } >&5
17441698 (eval "$ac_link") 2>conftest.err
17451699 ac_status=$?
17461700 if test -s conftest.err; then
···17481702 cat conftest.er1 >&5
17491703 mv -f conftest.er1 conftest.err
17501704 fi
17511751- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17051705+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17521706 test $ac_status = 0; } && {
17531707 test -z "$ac_c_werror_flag" ||
17541708 test ! -s conftest.err
17551709 } && test -s conftest$ac_exeext && {
17561710 test "$cross_compiling" = yes ||
17571711 test -x conftest$ac_exeext
17581758- }; then :
17121712+ }
17131713+then :
17591714 ac_retval=0
17601760-else
17611761- $as_echo "$as_me: failed program was:" >&5
17151715+else $as_nop
17161716+ printf "%s\n" "$as_me: failed program was:" >&5
17621717sed 's/^/| /' conftest.$ac_ext >&5
1763171817641719 ac_retval=1
···17721727 as_fn_set_status $ac_retval
1773172817741729} # ac_fn_c_try_link
17301730+ac_configure_args_raw=
17311731+for ac_arg
17321732+do
17331733+ case $ac_arg in
17341734+ *\'*)
17351735+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17361736+ esac
17371737+ as_fn_append ac_configure_args_raw " '$ac_arg'"
17381738+done
17391739+17401740+case $ac_configure_args_raw in
17411741+ *$as_nl*)
17421742+ ac_safe_unquote= ;;
17431743+ *)
17441744+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
17451745+ ac_unsafe_a="$ac_unsafe_z#~"
17461746+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
17471747+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
17481748+esac
17491749+17751750cat >config.log <<_ACEOF
17761751This file contains any messages produced by compilers while
17771752running configure, to aid debugging if configure makes a mistake.
1778175317791779-It was created by editres $as_me 1.0.8, which was
17801780-generated by GNU Autoconf 2.69. Invocation command line was
17541754+It was created by editres $as_me 1.0.9, which was
17551755+generated by GNU Autoconf 2.71. Invocation command line was
1781175617821782- $ $0 $@
17571757+ $ $0$ac_configure_args_raw
1783175817841759_ACEOF
17851760exec 5>>config.log
···18121787for as_dir in $PATH
18131788do
18141789 IFS=$as_save_IFS
18151815- test -z "$as_dir" && as_dir=.
18161816- $as_echo "PATH: $as_dir"
17901790+ case $as_dir in #(((
17911791+ '') as_dir=./ ;;
17921792+ */) ;;
17931793+ *) as_dir=$as_dir/ ;;
17941794+ esac
17951795+ printf "%s\n" "PATH: $as_dir"
18171796 done
18181797IFS=$as_save_IFS
18191798···18481827 | -silent | --silent | --silen | --sile | --sil)
18491828 continue ;;
18501829 *\'*)
18511851- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18301830+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18521831 esac
18531832 case $ac_pass in
18541833 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
···18831862# WARNING: Use '\'' to represent an apostrophe within the trap.
18841863# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
18851864trap 'exit_status=$?
18651865+ # Sanitize IFS.
18661866+ IFS=" "" $as_nl"
18861867 # Save into config.log some information that might help in debugging.
18871868 {
18881869 echo
1889187018901890- $as_echo "## ---------------- ##
18711871+ printf "%s\n" "## ---------------- ##
18911872## Cache variables. ##
18921873## ---------------- ##"
18931874 echo
···18981879 case $ac_val in #(
18991880 *${as_nl}*)
19001881 case $ac_var in #(
19011901- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19021902-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18821882+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18831883+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19031884 esac
19041885 case $ac_var in #(
19051886 _ | IFS | as_nl) ;; #(
···19231904)
19241905 echo
1925190619261926- $as_echo "## ----------------- ##
19071907+ printf "%s\n" "## ----------------- ##
19271908## Output variables. ##
19281909## ----------------- ##"
19291910 echo
···19311912 do
19321913 eval ac_val=\$$ac_var
19331914 case $ac_val in
19341934- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19151915+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19351916 esac
19361936- $as_echo "$ac_var='\''$ac_val'\''"
19171917+ printf "%s\n" "$ac_var='\''$ac_val'\''"
19371918 done | sort
19381919 echo
1939192019401921 if test -n "$ac_subst_files"; then
19411941- $as_echo "## ------------------- ##
19221922+ printf "%s\n" "## ------------------- ##
19421923## File substitutions. ##
19431924## ------------------- ##"
19441925 echo
···19461927 do
19471928 eval ac_val=\$$ac_var
19481929 case $ac_val in
19491949- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19301930+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19501931 esac
19511951- $as_echo "$ac_var='\''$ac_val'\''"
19321932+ printf "%s\n" "$ac_var='\''$ac_val'\''"
19521933 done | sort
19531934 echo
19541935 fi
1955193619561937 if test -s confdefs.h; then
19571957- $as_echo "## ----------- ##
19381938+ printf "%s\n" "## ----------- ##
19581939## confdefs.h. ##
19591940## ----------- ##"
19601941 echo
···19621943 echo
19631944 fi
19641945 test "$ac_signal" != 0 &&
19651965- $as_echo "$as_me: caught signal $ac_signal"
19661966- $as_echo "$as_me: exit $exit_status"
19461946+ printf "%s\n" "$as_me: caught signal $ac_signal"
19471947+ printf "%s\n" "$as_me: exit $exit_status"
19671948 } >&5
19681949 rm -f core *.core core.conftest.* &&
19691950 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
···19771958# confdefs.h avoids OS command line length limits that DEFS can exceed.
19781959rm -f -r conftest* confdefs.h
1979196019801980-$as_echo "/* confdefs.h */" > confdefs.h
19611961+printf "%s\n" "/* confdefs.h */" > confdefs.h
1981196219821963# Predefined preprocessor variables.
1983196419841984-cat >>confdefs.h <<_ACEOF
19851985-#define PACKAGE_NAME "$PACKAGE_NAME"
19861986-_ACEOF
19651965+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1987196619881988-cat >>confdefs.h <<_ACEOF
19891989-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
19901990-_ACEOF
19671967+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1991196819921992-cat >>confdefs.h <<_ACEOF
19931993-#define PACKAGE_VERSION "$PACKAGE_VERSION"
19941994-_ACEOF
19691969+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1995197019961996-cat >>confdefs.h <<_ACEOF
19971997-#define PACKAGE_STRING "$PACKAGE_STRING"
19981998-_ACEOF
19711971+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1999197220002000-cat >>confdefs.h <<_ACEOF
20012001-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
20022002-_ACEOF
19731973+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2003197420042004-cat >>confdefs.h <<_ACEOF
20052005-#define PACKAGE_URL "$PACKAGE_URL"
20062006-_ACEOF
19751975+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
200719762008197720091978# Let the site file select an alternate cache file if it wants to.
20101979# Prefer an explicitly selected file to automatically selected ones.
20112011-ac_site_file1=NONE
20122012-ac_site_file2=NONE
20131980if test -n "$CONFIG_SITE"; then
20142014- # We do not want a PATH search for config.site.
20152015- case $CONFIG_SITE in #((
20162016- -*) ac_site_file1=./$CONFIG_SITE;;
20172017- */*) ac_site_file1=$CONFIG_SITE;;
20182018- *) ac_site_file1=./$CONFIG_SITE;;
20192019- esac
19811981+ ac_site_files="$CONFIG_SITE"
20201982elif test "x$prefix" != xNONE; then
20212021- ac_site_file1=$prefix/share/config.site
20222022- ac_site_file2=$prefix/etc/config.site
19831983+ ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
20231984else
20242024- ac_site_file1=$ac_default_prefix/share/config.site
20252025- ac_site_file2=$ac_default_prefix/etc/config.site
19851985+ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
20261986fi
20272027-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
19871987+19881988+for ac_site_file in $ac_site_files
20281989do
20292029- test "x$ac_site_file" = xNONE && continue
20302030- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
20312031- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
20322032-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
19901990+ case $ac_site_file in #(
19911991+ */*) :
19921992+ ;; #(
19931993+ *) :
19941994+ ac_site_file=./$ac_site_file ;;
19951995+esac
19961996+ if test -f "$ac_site_file" && test -r "$ac_site_file"; then
19971997+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
19981998+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
20331999 sed 's/^/| /' "$ac_site_file" >&5
20342000 . "$ac_site_file" \
20352035- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20362036-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20012001+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20022002+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
20372003as_fn_error $? "failed to load site script $ac_site_file
20382004See \`config.log' for more details" "$LINENO" 5; }
20392005 fi
···20432009 # Some versions of bash will fail to source /dev/null (special files
20442010 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
20452011 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
20462046- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
20472047-$as_echo "$as_me: loading cache $cache_file" >&6;}
20122012+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
20132013+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
20482014 case $cache_file in
20492015 [\\/]* | ?:[\\/]* ) . "$cache_file";;
20502016 *) . "./$cache_file";;
20512017 esac
20522018 fi
20532019else
20542054- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
20552055-$as_echo "$as_me: creating cache $cache_file" >&6;}
20202020+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
20212021+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
20562022 >$cache_file
20572023fi
2058202420252025+# Test code for whether the C compiler supports C89 (global declarations)
20262026+ac_c_conftest_c89_globals='
20272027+/* Does the compiler advertise C89 conformance?
20282028+ Do not test the value of __STDC__, because some compilers set it to 0
20292029+ while being otherwise adequately conformant. */
20302030+#if !defined __STDC__
20312031+# error "Compiler does not advertise C89 conformance"
20322032+#endif
20332033+20342034+#include <stddef.h>
20352035+#include <stdarg.h>
20362036+struct stat;
20372037+/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
20382038+struct buf { int x; };
20392039+struct buf * (*rcsopen) (struct buf *, struct stat *, int);
20402040+static char *e (p, i)
20412041+ char **p;
20422042+ int i;
20432043+{
20442044+ return p[i];
20452045+}
20462046+static char *f (char * (*g) (char **, int), char **p, ...)
20472047+{
20482048+ char *s;
20492049+ va_list v;
20502050+ va_start (v,p);
20512051+ s = g (p, va_arg (v,int));
20522052+ va_end (v);
20532053+ return s;
20542054+}
20552055+20562056+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20572057+ function prototypes and stuff, but not \xHH hex character constants.
20582058+ These do not provoke an error unfortunately, instead are silently treated
20592059+ as an "x". The following induces an error, until -std is added to get
20602060+ proper ANSI mode. Curiously \x00 != x always comes out true, for an
20612061+ array size at least. It is necessary to write \x00 == 0 to get something
20622062+ that is true only with -std. */
20632063+int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
20642064+20652065+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20662066+ inside strings and character constants. */
20672067+#define FOO(x) '\''x'\''
20682068+int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
20692069+20702070+int test (int i, double x);
20712071+struct s1 {int (*f) (int a);};
20722072+struct s2 {int (*f) (double a);};
20732073+int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
20742074+ int, int);'
20752075+20762076+# Test code for whether the C compiler supports C89 (body of main).
20772077+ac_c_conftest_c89_main='
20782078+ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
20792079+'
20802080+20812081+# Test code for whether the C compiler supports C99 (global declarations)
20822082+ac_c_conftest_c99_globals='
20832083+// Does the compiler advertise C99 conformance?
20842084+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
20852085+# error "Compiler does not advertise C99 conformance"
20862086+#endif
20872087+20882088+#include <stdbool.h>
20892089+extern int puts (const char *);
20902090+extern int printf (const char *, ...);
20912091+extern int dprintf (int, const char *, ...);
20922092+extern void *malloc (size_t);
20932093+20942094+// Check varargs macros. These examples are taken from C99 6.10.3.5.
20952095+// dprintf is used instead of fprintf to avoid needing to declare
20962096+// FILE and stderr.
20972097+#define debug(...) dprintf (2, __VA_ARGS__)
20982098+#define showlist(...) puts (#__VA_ARGS__)
20992099+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
21002100+static void
21012101+test_varargs_macros (void)
21022102+{
21032103+ int x = 1234;
21042104+ int y = 5678;
21052105+ debug ("Flag");
21062106+ debug ("X = %d\n", x);
21072107+ showlist (The first, second, and third items.);
21082108+ report (x>y, "x is %d but y is %d", x, y);
21092109+}
21102110+21112111+// Check long long types.
21122112+#define BIG64 18446744073709551615ull
21132113+#define BIG32 4294967295ul
21142114+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
21152115+#if !BIG_OK
21162116+ #error "your preprocessor is broken"
21172117+#endif
21182118+#if BIG_OK
21192119+#else
21202120+ #error "your preprocessor is broken"
21212121+#endif
21222122+static long long int bignum = -9223372036854775807LL;
21232123+static unsigned long long int ubignum = BIG64;
21242124+21252125+struct incomplete_array
21262126+{
21272127+ int datasize;
21282128+ double data[];
21292129+};
21302130+21312131+struct named_init {
21322132+ int number;
21332133+ const wchar_t *name;
21342134+ double average;
21352135+};
21362136+21372137+typedef const char *ccp;
21382138+21392139+static inline int
21402140+test_restrict (ccp restrict text)
21412141+{
21422142+ // See if C++-style comments work.
21432143+ // Iterate through items via the restricted pointer.
21442144+ // Also check for declarations in for loops.
21452145+ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
21462146+ continue;
21472147+ return 0;
21482148+}
21492149+21502150+// Check varargs and va_copy.
21512151+static bool
21522152+test_varargs (const char *format, ...)
21532153+{
21542154+ va_list args;
21552155+ va_start (args, format);
21562156+ va_list args_copy;
21572157+ va_copy (args_copy, args);
21582158+21592159+ const char *str = "";
21602160+ int number = 0;
21612161+ float fnumber = 0;
21622162+21632163+ while (*format)
21642164+ {
21652165+ switch (*format++)
21662166+ {
21672167+ case '\''s'\'': // string
21682168+ str = va_arg (args_copy, const char *);
21692169+ break;
21702170+ case '\''d'\'': // int
21712171+ number = va_arg (args_copy, int);
21722172+ break;
21732173+ case '\''f'\'': // float
21742174+ fnumber = va_arg (args_copy, double);
21752175+ break;
21762176+ default:
21772177+ break;
21782178+ }
21792179+ }
21802180+ va_end (args_copy);
21812181+ va_end (args);
21822182+21832183+ return *str && number && fnumber;
21842184+}
21852185+'
21862186+21872187+# Test code for whether the C compiler supports C99 (body of main).
21882188+ac_c_conftest_c99_main='
21892189+ // Check bool.
21902190+ _Bool success = false;
21912191+ success |= (argc != 0);
21922192+21932193+ // Check restrict.
21942194+ if (test_restrict ("String literal") == 0)
21952195+ success = true;
21962196+ char *restrict newvar = "Another string";
21972197+21982198+ // Check varargs.
21992199+ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
22002200+ test_varargs_macros ();
22012201+22022202+ // Check flexible array members.
22032203+ struct incomplete_array *ia =
22042204+ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
22052205+ ia->datasize = 10;
22062206+ for (int i = 0; i < ia->datasize; ++i)
22072207+ ia->data[i] = i * 1.234;
22082208+22092209+ // Check named initializers.
22102210+ struct named_init ni = {
22112211+ .number = 34,
22122212+ .name = L"Test wide string",
22132213+ .average = 543.34343,
22142214+ };
22152215+22162216+ ni.number = 58;
22172217+22182218+ int dynamic_array[ni.number];
22192219+ dynamic_array[0] = argv[0][0];
22202220+ dynamic_array[ni.number - 1] = 543;
22212221+22222222+ // work around unused variable warnings
22232223+ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
22242224+ || dynamic_array[ni.number - 1] != 543);
22252225+'
22262226+22272227+# Test code for whether the C compiler supports C11 (global declarations)
22282228+ac_c_conftest_c11_globals='
22292229+// Does the compiler advertise C11 conformance?
22302230+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
22312231+# error "Compiler does not advertise C11 conformance"
22322232+#endif
22332233+22342234+// Check _Alignas.
22352235+char _Alignas (double) aligned_as_double;
22362236+char _Alignas (0) no_special_alignment;
22372237+extern char aligned_as_int;
22382238+char _Alignas (0) _Alignas (int) aligned_as_int;
22392239+22402240+// Check _Alignof.
22412241+enum
22422242+{
22432243+ int_alignment = _Alignof (int),
22442244+ int_array_alignment = _Alignof (int[100]),
22452245+ char_alignment = _Alignof (char)
22462246+};
22472247+_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
22482248+22492249+// Check _Noreturn.
22502250+int _Noreturn does_not_return (void) { for (;;) continue; }
22512251+22522252+// Check _Static_assert.
22532253+struct test_static_assert
22542254+{
22552255+ int x;
22562256+ _Static_assert (sizeof (int) <= sizeof (long int),
22572257+ "_Static_assert does not work in struct");
22582258+ long int y;
22592259+};
22602260+22612261+// Check UTF-8 literals.
22622262+#define u8 syntax error!
22632263+char const utf8_literal[] = u8"happens to be ASCII" "another string";
22642264+22652265+// Check duplicate typedefs.
22662266+typedef long *long_ptr;
22672267+typedef long int *long_ptr;
22682268+typedef long_ptr long_ptr;
22692269+22702270+// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
22712271+struct anonymous
22722272+{
22732273+ union {
22742274+ struct { int i; int j; };
22752275+ struct { int k; long int l; } w;
22762276+ };
22772277+ int m;
22782278+} v1;
22792279+'
22802280+22812281+# Test code for whether the C compiler supports C11 (body of main).
22822282+ac_c_conftest_c11_main='
22832283+ _Static_assert ((offsetof (struct anonymous, i)
22842284+ == offsetof (struct anonymous, w.k)),
22852285+ "Anonymous union alignment botch");
22862286+ v1.i = 2;
22872287+ v1.w.k = 5;
22882288+ ok |= v1.i != 5;
22892289+'
22902290+22912291+# Test code for whether the C compiler supports C11 (complete).
22922292+ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
22932293+${ac_c_conftest_c99_globals}
22942294+${ac_c_conftest_c11_globals}
22952295+22962296+int
22972297+main (int argc, char **argv)
22982298+{
22992299+ int ok = 0;
23002300+ ${ac_c_conftest_c89_main}
23012301+ ${ac_c_conftest_c99_main}
23022302+ ${ac_c_conftest_c11_main}
23032303+ return ok;
23042304+}
23052305+"
23062306+23072307+# Test code for whether the C compiler supports C99 (complete).
23082308+ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
23092309+${ac_c_conftest_c99_globals}
23102310+23112311+int
23122312+main (int argc, char **argv)
23132313+{
23142314+ int ok = 0;
23152315+ ${ac_c_conftest_c89_main}
23162316+ ${ac_c_conftest_c99_main}
23172317+ return ok;
23182318+}
23192319+"
23202320+23212321+# Test code for whether the C compiler supports C89 (complete).
23222322+ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
23232323+23242324+int
23252325+main (int argc, char **argv)
23262326+{
23272327+ int ok = 0;
23282328+ ${ac_c_conftest_c89_main}
23292329+ return ok;
23302330+}
23312331+"
23322332+23332333+as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
23342334+as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
23352335+as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
23362336+as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
23372337+as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
23382338+as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
23392339+as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
23402340+as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
23412341+as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
23422342+23432343+# Auxiliary files required by this configure script.
23442344+ac_aux_files="config.guess config.sub missing install-sh"
23452345+23462346+# Locations in which to look for auxiliary files.
23472347+ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
23482348+23492349+# Search for a directory containing all of the required auxiliary files,
23502350+# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
23512351+# If we don't find one directory that contains all the files we need,
23522352+# we report the set of missing files from the *first* directory in
23532353+# $ac_aux_dir_candidates and give up.
23542354+ac_missing_aux_files=""
23552355+ac_first_candidate=:
23562356+printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
23572357+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23582358+as_found=false
23592359+for as_dir in $ac_aux_dir_candidates
23602360+do
23612361+ IFS=$as_save_IFS
23622362+ case $as_dir in #(((
23632363+ '') as_dir=./ ;;
23642364+ */) ;;
23652365+ *) as_dir=$as_dir/ ;;
23662366+ esac
23672367+ as_found=:
23682368+23692369+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
23702370+ ac_aux_dir_found=yes
23712371+ ac_install_sh=
23722372+ for ac_aux in $ac_aux_files
23732373+ do
23742374+ # As a special case, if "install-sh" is required, that requirement
23752375+ # can be satisfied by any of "install-sh", "install.sh", or "shtool",
23762376+ # and $ac_install_sh is set appropriately for whichever one is found.
23772377+ if test x"$ac_aux" = x"install-sh"
23782378+ then
23792379+ if test -f "${as_dir}install-sh"; then
23802380+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
23812381+ ac_install_sh="${as_dir}install-sh -c"
23822382+ elif test -f "${as_dir}install.sh"; then
23832383+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
23842384+ ac_install_sh="${as_dir}install.sh -c"
23852385+ elif test -f "${as_dir}shtool"; then
23862386+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
23872387+ ac_install_sh="${as_dir}shtool install -c"
23882388+ else
23892389+ ac_aux_dir_found=no
23902390+ if $ac_first_candidate; then
23912391+ ac_missing_aux_files="${ac_missing_aux_files} install-sh"
23922392+ else
23932393+ break
23942394+ fi
23952395+ fi
23962396+ else
23972397+ if test -f "${as_dir}${ac_aux}"; then
23982398+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
23992399+ else
24002400+ ac_aux_dir_found=no
24012401+ if $ac_first_candidate; then
24022402+ ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
24032403+ else
24042404+ break
24052405+ fi
24062406+ fi
24072407+ fi
24082408+ done
24092409+ if test "$ac_aux_dir_found" = yes; then
24102410+ ac_aux_dir="$as_dir"
24112411+ break
24122412+ fi
24132413+ ac_first_candidate=false
24142414+24152415+ as_found=false
24162416+done
24172417+IFS=$as_save_IFS
24182418+if $as_found
24192419+then :
24202420+24212421+else $as_nop
24222422+ as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
24232423+fi
24242424+24252425+24262426+# These three variables are undocumented and unsupported,
24272427+# and are intended to be withdrawn in a future Autoconf release.
24282428+# They can cause serious problems if a builder's source tree is in a directory
24292429+# whose full name contains unusual characters.
24302430+if test -f "${ac_aux_dir}config.guess"; then
24312431+ ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
24322432+fi
24332433+if test -f "${ac_aux_dir}config.sub"; then
24342434+ ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
24352435+fi
24362436+if test -f "$ac_aux_dir/configure"; then
24372437+ ac_configure="$SHELL ${ac_aux_dir}configure"
24382438+fi
24392439+20592440# Check that the precious variables saved in the cache have kept the same
20602441# value.
20612442ac_cache_corrupted=false
···20662447 eval ac_new_val=\$ac_env_${ac_var}_value
20672448 case $ac_old_set,$ac_new_set in
20682449 set,)
20692069- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
20702070-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24502450+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
24512451+printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
20712452 ac_cache_corrupted=: ;;
20722453 ,set)
20732073- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
20742074-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24542454+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
24552455+printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
20752456 ac_cache_corrupted=: ;;
20762457 ,);;
20772458 *)
···20802461 ac_old_val_w=`echo x $ac_old_val`
20812462 ac_new_val_w=`echo x $ac_new_val`
20822463 if test "$ac_old_val_w" != "$ac_new_val_w"; then
20832083- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
20842084-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
24642464+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
24652465+printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
20852466 ac_cache_corrupted=:
20862467 else
20872087- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
20882088-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
24682468+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
24692469+printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
20892470 eval $ac_var=\$ac_old_val
20902471 fi
20912091- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
20922092-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
20932093- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
20942094-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
24722472+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
24732473+printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
24742474+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
24752475+printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
20952476 fi;;
20962477 esac
20972478 # Pass precious variables to config.status.
20982479 if test "$ac_new_set" = set; then
20992480 case $ac_new_val in
21002100- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24812481+ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
21012482 *) ac_arg=$ac_var=$ac_new_val ;;
21022483 esac
21032484 case " $ac_configure_args " in
···21072488 fi
21082489done
21092490if $ac_cache_corrupted; then
21102110- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21112111-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21122112- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
21132113-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
21142114- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
24912491+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24922492+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24932493+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
24942494+printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
24952495+ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
24962496+ and start over" "$LINENO" 5
21152497fi
21162498## -------------------- ##
21172499## Main body of script. ##
···21312513# Initialize Automake
21322514am__api_version='1.12'
2133251521342134-ac_aux_dir=
21352135-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
21362136- if test -f "$ac_dir/install-sh"; then
21372137- ac_aux_dir=$ac_dir
21382138- ac_install_sh="$ac_aux_dir/install-sh -c"
21392139- break
21402140- elif test -f "$ac_dir/install.sh"; then
21412141- ac_aux_dir=$ac_dir
21422142- ac_install_sh="$ac_aux_dir/install.sh -c"
21432143- break
21442144- elif test -f "$ac_dir/shtool"; then
21452145- ac_aux_dir=$ac_dir
21462146- ac_install_sh="$ac_aux_dir/shtool install -c"
21472147- break
21482148- fi
21492149-done
21502150-if test -z "$ac_aux_dir"; then
21512151- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
21522152-fi
2153251621542154-# These three variables are undocumented and unsupported,
21552155-# and are intended to be withdrawn in a future Autoconf release.
21562156-# They can cause serious problems if a builder's source tree is in a directory
21572157-# whose full name contains unusual characters.
21582158-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
21592159-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
21602160-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2161251721622162-21632163-# Find a good install program. We prefer a C program (faster),
25182518+ # Find a good install program. We prefer a C program (faster),
21642519# so one script is as good as another. But avoid the broken or
21652520# incompatible versions:
21662521# SysV /etc/install, /usr/sbin/install
···21742529# OS/2's system install, which has a completely different semantic
21752530# ./install, which can be erroneously created by make from ./install.sh.
21762531# Reject install programs that cannot install multiple files.
21772177-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
21782178-$as_echo_n "checking for a BSD-compatible install... " >&6; }
25322532+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
25332533+printf %s "checking for a BSD-compatible install... " >&6; }
21792534if test -z "$INSTALL"; then
21802180-if ${ac_cv_path_install+:} false; then :
21812181- $as_echo_n "(cached) " >&6
21822182-else
25352535+if test ${ac_cv_path_install+y}
25362536+then :
25372537+ printf %s "(cached) " >&6
25382538+else $as_nop
21832539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21842540for as_dir in $PATH
21852541do
21862542 IFS=$as_save_IFS
21872187- test -z "$as_dir" && as_dir=.
21882188- # Account for people who put trailing slashes in PATH elements.
21892189-case $as_dir/ in #((
21902190- ./ | .// | /[cC]/* | \
25432543+ case $as_dir in #(((
25442544+ '') as_dir=./ ;;
25452545+ */) ;;
25462546+ *) as_dir=$as_dir/ ;;
25472547+ esac
25482548+ # Account for fact that we put trailing slashes in our PATH walk.
25492549+case $as_dir in #((
25502550+ ./ | /[cC]/* | \
21912551 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21922552 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
21932553 /usr/ucb/* ) ;;
···21972557 # by default.
21982558 for ac_prog in ginstall scoinst install; do
21992559 for ac_exec_ext in '' $ac_executable_extensions; do
22002200- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
25602560+ if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
22012561 if test $ac_prog = install &&
22022202- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25622562+ grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22032563 # AIX install. It has an incompatible calling convention.
22042564 :
22052565 elif test $ac_prog = install &&
22062206- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25662566+ grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22072567 # program-specific install script used by HP pwplus--don't use.
22082568 :
22092569 else
···22112571 echo one > conftest.one
22122572 echo two > conftest.two
22132573 mkdir conftest.dir
22142214- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
25742574+ if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
22152575 test -s conftest.one && test -s conftest.two &&
22162576 test -s conftest.dir/conftest.one &&
22172577 test -s conftest.dir/conftest.two
22182578 then
22192219- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
25792579+ ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
22202580 break 3
22212581 fi
22222582 fi
···22322592rm -rf conftest.one conftest.two conftest.dir
2233259322342594fi
22352235- if test "${ac_cv_path_install+set}" = set; then
25952595+ if test ${ac_cv_path_install+y}; then
22362596 INSTALL=$ac_cv_path_install
22372597 else
22382598 # As a last resort, use the slow shell script. Don't cache a
···22422602 INSTALL=$ac_install_sh
22432603 fi
22442604fi
22452245-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
22462246-$as_echo "$INSTALL" >&6; }
26052605+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
26062606+printf "%s\n" "$INSTALL" >&6; }
2247260722482608# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22492609# It thinks the first close brace ends the variable substitution.
···2253261322542614test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2255261522562256-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
22572257-$as_echo_n "checking whether build environment is sane... " >&6; }
26162616+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
26172617+printf %s "checking whether build environment is sane... " >&6; }
22582618# Reject unsafe characters in $srcdir or the absolute working directory
22592619# name. Accept space and tab only in the latter.
22602620am_lf='
···23082668 as_fn_error $? "newly created file is older than distributed files!
23092669Check your system clock" "$LINENO" 5
23102670fi
23112311-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23122312-$as_echo "yes" >&6; }
26712671+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26722672+printf "%s\n" "yes" >&6; }
23132673# If we didn't sleep, we still need to ensure time stamps of config.status and
23142674# generated files are strictly newer.
23152675am_sleep_pid=
···23282688# Double any \ or $.
23292689# By default was `s,x,x', remove it if useless.
23302690ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
23312331-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
26912691+program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2332269223332693# expand $ac_aux_dir to an absolute path
23342694am_aux_dir=`cd $ac_aux_dir && pwd`
2335269523362336-if test x"${MISSING+set}" != xset; then
26962696+26972697+ if test x"${MISSING+set}" != xset; then
23372698 case $am_aux_dir in
23382699 *\ * | *\ *)
23392700 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
···23462707 am_missing_run="$MISSING --run "
23472708else
23482709 am_missing_run=
23492349- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
23502350-$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
27102710+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
27112711+printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
23512712fi
2352271323532714if test x"${install_sh}" != xset; then
···23672728 if test -n "$ac_tool_prefix"; then
23682729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
23692730set dummy ${ac_tool_prefix}strip; ac_word=$2
23702370-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23712371-$as_echo_n "checking for $ac_word... " >&6; }
23722372-if ${ac_cv_prog_STRIP+:} false; then :
23732373- $as_echo_n "(cached) " >&6
23742374-else
27312731+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27322732+printf %s "checking for $ac_word... " >&6; }
27332733+if test ${ac_cv_prog_STRIP+y}
27342734+then :
27352735+ printf %s "(cached) " >&6
27362736+else $as_nop
23752737 if test -n "$STRIP"; then
23762738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
23772739else
···23792741for as_dir in $PATH
23802742do
23812743 IFS=$as_save_IFS
23822382- test -z "$as_dir" && as_dir=.
27442744+ case $as_dir in #(((
27452745+ '') as_dir=./ ;;
27462746+ */) ;;
27472747+ *) as_dir=$as_dir/ ;;
27482748+ esac
23832749 for ac_exec_ext in '' $ac_executable_extensions; do
23842384- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27502750+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23852751 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
23862386- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27522752+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23872753 break 2
23882754 fi
23892755done
···23942760fi
23952761STRIP=$ac_cv_prog_STRIP
23962762if test -n "$STRIP"; then
23972397- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
23982398-$as_echo "$STRIP" >&6; }
27632763+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
27642764+printf "%s\n" "$STRIP" >&6; }
23992765else
24002400- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24012401-$as_echo "no" >&6; }
27662766+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27672767+printf "%s\n" "no" >&6; }
24022768fi
2403276924042770···24072773 ac_ct_STRIP=$STRIP
24082774 # Extract the first word of "strip", so it can be a program name with args.
24092775set dummy strip; ac_word=$2
24102410-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24112411-$as_echo_n "checking for $ac_word... " >&6; }
24122412-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
24132413- $as_echo_n "(cached) " >&6
24142414-else
27762776+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27772777+printf %s "checking for $ac_word... " >&6; }
27782778+if test ${ac_cv_prog_ac_ct_STRIP+y}
27792779+then :
27802780+ printf %s "(cached) " >&6
27812781+else $as_nop
24152782 if test -n "$ac_ct_STRIP"; then
24162783 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
24172784else
···24192786for as_dir in $PATH
24202787do
24212788 IFS=$as_save_IFS
24222422- test -z "$as_dir" && as_dir=.
27892789+ case $as_dir in #(((
27902790+ '') as_dir=./ ;;
27912791+ */) ;;
27922792+ *) as_dir=$as_dir/ ;;
27932793+ esac
24232794 for ac_exec_ext in '' $ac_executable_extensions; do
24242424- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27952795+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
24252796 ac_cv_prog_ac_ct_STRIP="strip"
24262426- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27972797+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24272798 break 2
24282799 fi
24292800done
···24342805fi
24352806ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
24362807if test -n "$ac_ct_STRIP"; then
24372437- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
24382438-$as_echo "$ac_ct_STRIP" >&6; }
28082808+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
28092809+printf "%s\n" "$ac_ct_STRIP" >&6; }
24392810else
24402440- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24412441-$as_echo "no" >&6; }
28112811+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28122812+printf "%s\n" "no" >&6; }
24422813fi
2443281424442815 if test "x$ac_ct_STRIP" = x; then
···24462817 else
24472818 case $cross_compiling:$ac_tool_warned in
24482819yes:)
24492449-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24502450-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28202820+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28212821+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24512822ac_tool_warned=yes ;;
24522823esac
24532824 STRIP=$ac_ct_STRIP
···24592830fi
24602831INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2461283224622462-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
24632463-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
28332833+28342834+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
28352835+printf %s "checking for a race-free mkdir -p... " >&6; }
24642836if test -z "$MKDIR_P"; then
24652465- if ${ac_cv_path_mkdir+:} false; then :
24662466- $as_echo_n "(cached) " >&6
24672467-else
28372837+ if test ${ac_cv_path_mkdir+y}
28382838+then :
28392839+ printf %s "(cached) " >&6
28402840+else $as_nop
24682841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24692842for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
24702843do
24712844 IFS=$as_save_IFS
24722472- test -z "$as_dir" && as_dir=.
28452845+ case $as_dir in #(((
28462846+ '') as_dir=./ ;;
28472847+ */) ;;
28482848+ *) as_dir=$as_dir/ ;;
28492849+ esac
24732850 for ac_prog in mkdir gmkdir; do
24742851 for ac_exec_ext in '' $ac_executable_extensions; do
24752475- as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
24762476- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
24772477- 'mkdir (GNU coreutils) '* | \
24782478- 'mkdir (coreutils) '* | \
28522852+ as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
28532853+ case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
28542854+ 'mkdir ('*'coreutils) '* | \
28552855+ 'BusyBox '* | \
24792856 'mkdir (fileutils) '4.1*)
24802480- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
28572857+ ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
24812858 break 3;;
24822859 esac
24832860 done
···24882865fi
2489286624902867 test -d ./--version && rmdir ./--version
24912491- if test "${ac_cv_path_mkdir+set}" = set; then
28682868+ if test ${ac_cv_path_mkdir+y}; then
24922869 MKDIR_P="$ac_cv_path_mkdir -p"
24932870 else
24942871 # As a last resort, use the slow shell script. Don't cache a
···24982875 MKDIR_P="$ac_install_sh -d"
24992876 fi
25002877fi
25012501-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
25022502-$as_echo "$MKDIR_P" >&6; }
28782878+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
28792879+printf "%s\n" "$MKDIR_P" >&6; }
2503288025042881for ac_prog in gawk mawk nawk awk
25052882do
25062883 # Extract the first word of "$ac_prog", so it can be a program name with args.
25072884set dummy $ac_prog; ac_word=$2
25082508-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25092509-$as_echo_n "checking for $ac_word... " >&6; }
25102510-if ${ac_cv_prog_AWK+:} false; then :
25112511- $as_echo_n "(cached) " >&6
25122512-else
28852885+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28862886+printf %s "checking for $ac_word... " >&6; }
28872887+if test ${ac_cv_prog_AWK+y}
28882888+then :
28892889+ printf %s "(cached) " >&6
28902890+else $as_nop
25132891 if test -n "$AWK"; then
25142892 ac_cv_prog_AWK="$AWK" # Let the user override the test.
25152893else
···25172895for as_dir in $PATH
25182896do
25192897 IFS=$as_save_IFS
25202520- test -z "$as_dir" && as_dir=.
28982898+ case $as_dir in #(((
28992899+ '') as_dir=./ ;;
29002900+ */) ;;
29012901+ *) as_dir=$as_dir/ ;;
29022902+ esac
25212903 for ac_exec_ext in '' $ac_executable_extensions; do
25222522- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29042904+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25232905 ac_cv_prog_AWK="$ac_prog"
25242524- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29062906+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25252907 break 2
25262908 fi
25272909done
···25322914fi
25332915AWK=$ac_cv_prog_AWK
25342916if test -n "$AWK"; then
25352535- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
25362536-$as_echo "$AWK" >&6; }
29172917+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
29182918+printf "%s\n" "$AWK" >&6; }
25372919else
25382538- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25392539-$as_echo "no" >&6; }
29202920+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29212921+printf "%s\n" "no" >&6; }
25402922fi
254129232542292425432925 test -n "$AWK" && break
25442926done
2545292725462546-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25472547-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
29282928+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29292929+printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25482930set x ${MAKE-make}
25492549-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
25502550-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
25512551- $as_echo_n "(cached) " >&6
25522552-else
29312931+ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
29322932+if eval test \${ac_cv_prog_make_${ac_make}_set+y}
29332933+then :
29342934+ printf %s "(cached) " >&6
29352935+else $as_nop
25532936 cat >conftest.make <<\_ACEOF
25542937SHELL = /bin/sh
25552938all:
···25652948rm -f conftest.make
25662949fi
25672950if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25682568- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25692569-$as_echo "yes" >&6; }
29512951+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29522952+printf "%s\n" "yes" >&6; }
25702953 SET_MAKE=
25712954else
25722572- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25732573-$as_echo "no" >&6; }
29552955+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29562956+printf "%s\n" "no" >&6; }
25742957 SET_MAKE="MAKE=${MAKE-make}"
25752958fi
25762959···2605298826062989# Define the identity of the package.
26072990 PACKAGE='editres'
26082608- VERSION='1.0.8'
29912991+ VERSION='1.0.9'
260929922610299326112611-cat >>confdefs.h <<_ACEOF
26122612-#define PACKAGE "$PACKAGE"
26132613-_ACEOF
29942994+printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
261429952615299626162616-cat >>confdefs.h <<_ACEOF
26172617-#define VERSION "$VERSION"
26182618-_ACEOF
29972997+printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2619299826202999# Some tools Automake needs.
26213000···26643043266530442666304526672667-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
26682668-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
30463046+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
30473047+printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
26693048 # Check whether --enable-maintainer-mode was given.
26702670-if test "${enable_maintainer_mode+set}" = set; then :
30493049+if test ${enable_maintainer_mode+y}
30503050+then :
26713051 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
26722672-else
30523052+else $as_nop
26733053 USE_MAINTAINER_MODE=no
26743054fi
2675305526762676- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
26772677-$as_echo "$USE_MAINTAINER_MODE" >&6; }
30563056+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
30573057+printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
26783058 if test $USE_MAINTAINER_MODE = yes; then
26793059 MAINTAINER_MODE_TRUE=
26803060 MAINTAINER_MODE_FALSE='#'
···26843064fi
2685306526863066 MAINT=$MAINTAINER_MODE_TRUE
30673067+30683068+30693069+30703070+30713071+30723072+30733073+30743074+30753075+268730762688307726893078···26993088.PHONY: am__doit
27003089END
27013090# If we don't find an include directive, just comment out the code.
27022702-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
27032703-$as_echo_n "checking for style of include used by $am_make... " >&6; }
30913091+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
30923092+printf %s "checking for style of include used by $am_make... " >&6; }
27043093am__include="#"
27053094am__quote=
27063095_am_result=none
···27273116fi
272831172729311827302730-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
27312731-$as_echo "$_am_result" >&6; }
31193119+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
31203120+printf "%s\n" "$_am_result" >&6; }
27323121rm -f confinc confmf
2733312227343123# Check whether --enable-dependency-tracking was given.
27352735-if test "${enable_dependency_tracking+set}" = set; then :
31243124+if test ${enable_dependency_tracking+y}
31253125+then :
27363126 enableval=$enable_dependency_tracking;
27373127fi
27383128···27583148if test -n "$ac_tool_prefix"; then
27593149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
27603150set dummy ${ac_tool_prefix}gcc; ac_word=$2
27612761-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27622762-$as_echo_n "checking for $ac_word... " >&6; }
27632763-if ${ac_cv_prog_CC+:} false; then :
27642764- $as_echo_n "(cached) " >&6
27652765-else
31513151+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31523152+printf %s "checking for $ac_word... " >&6; }
31533153+if test ${ac_cv_prog_CC+y}
31543154+then :
31553155+ printf %s "(cached) " >&6
31563156+else $as_nop
27663157 if test -n "$CC"; then
27673158 ac_cv_prog_CC="$CC" # Let the user override the test.
27683159else
···27703161for as_dir in $PATH
27713162do
27723163 IFS=$as_save_IFS
27732773- test -z "$as_dir" && as_dir=.
31643164+ case $as_dir in #(((
31653165+ '') as_dir=./ ;;
31663166+ */) ;;
31673167+ *) as_dir=$as_dir/ ;;
31683168+ esac
27743169 for ac_exec_ext in '' $ac_executable_extensions; do
27752775- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31703170+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27763171 ac_cv_prog_CC="${ac_tool_prefix}gcc"
27772777- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31723172+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27783173 break 2
27793174 fi
27803175done
···27853180fi
27863181CC=$ac_cv_prog_CC
27873182if test -n "$CC"; then
27882788- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
27892789-$as_echo "$CC" >&6; }
31833183+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
31843184+printf "%s\n" "$CC" >&6; }
27903185else
27912791- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27922792-$as_echo "no" >&6; }
31863186+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31873187+printf "%s\n" "no" >&6; }
27933188fi
2794318927953190···27983193 ac_ct_CC=$CC
27993194 # Extract the first word of "gcc", so it can be a program name with args.
28003195set dummy gcc; ac_word=$2
28012801-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28022802-$as_echo_n "checking for $ac_word... " >&6; }
28032803-if ${ac_cv_prog_ac_ct_CC+:} false; then :
28042804- $as_echo_n "(cached) " >&6
28052805-else
31963196+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31973197+printf %s "checking for $ac_word... " >&6; }
31983198+if test ${ac_cv_prog_ac_ct_CC+y}
31993199+then :
32003200+ printf %s "(cached) " >&6
32013201+else $as_nop
28063202 if test -n "$ac_ct_CC"; then
28073203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28083204else
···28103206for as_dir in $PATH
28113207do
28123208 IFS=$as_save_IFS
28132813- test -z "$as_dir" && as_dir=.
32093209+ case $as_dir in #(((
32103210+ '') as_dir=./ ;;
32113211+ */) ;;
32123212+ *) as_dir=$as_dir/ ;;
32133213+ esac
28143214 for ac_exec_ext in '' $ac_executable_extensions; do
28152815- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32153215+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28163216 ac_cv_prog_ac_ct_CC="gcc"
28172817- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32173217+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28183218 break 2
28193219 fi
28203220done
···28253225fi
28263226ac_ct_CC=$ac_cv_prog_ac_ct_CC
28273227if test -n "$ac_ct_CC"; then
28282828- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
28292829-$as_echo "$ac_ct_CC" >&6; }
32283228+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
32293229+printf "%s\n" "$ac_ct_CC" >&6; }
28303230else
28312831- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28322832-$as_echo "no" >&6; }
32313231+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32323232+printf "%s\n" "no" >&6; }
28333233fi
2834323428353235 if test "x$ac_ct_CC" = x; then
···28373237 else
28383238 case $cross_compiling:$ac_tool_warned in
28393239yes:)
28402840-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28412841-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
32403240+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
32413241+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28423242ac_tool_warned=yes ;;
28433243esac
28443244 CC=$ac_ct_CC
···28513251 if test -n "$ac_tool_prefix"; then
28523252 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
28533253set dummy ${ac_tool_prefix}cc; ac_word=$2
28542854-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28552855-$as_echo_n "checking for $ac_word... " >&6; }
28562856-if ${ac_cv_prog_CC+:} false; then :
28572857- $as_echo_n "(cached) " >&6
28582858-else
32543254+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32553255+printf %s "checking for $ac_word... " >&6; }
32563256+if test ${ac_cv_prog_CC+y}
32573257+then :
32583258+ printf %s "(cached) " >&6
32593259+else $as_nop
28593260 if test -n "$CC"; then
28603261 ac_cv_prog_CC="$CC" # Let the user override the test.
28613262else
···28633264for as_dir in $PATH
28643265do
28653266 IFS=$as_save_IFS
28662866- test -z "$as_dir" && as_dir=.
32673267+ case $as_dir in #(((
32683268+ '') as_dir=./ ;;
32693269+ */) ;;
32703270+ *) as_dir=$as_dir/ ;;
32713271+ esac
28673272 for ac_exec_ext in '' $ac_executable_extensions; do
28682868- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32733273+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28693274 ac_cv_prog_CC="${ac_tool_prefix}cc"
28702870- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32753275+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28713276 break 2
28723277 fi
28733278done
···28783283fi
28793284CC=$ac_cv_prog_CC
28803285if test -n "$CC"; then
28812881- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28822882-$as_echo "$CC" >&6; }
32863286+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
32873287+printf "%s\n" "$CC" >&6; }
28833288else
28842884- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28852885-$as_echo "no" >&6; }
32893289+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32903290+printf "%s\n" "no" >&6; }
28863291fi
2887329228883293···28913296if test -z "$CC"; then
28923297 # Extract the first word of "cc", so it can be a program name with args.
28933298set dummy cc; ac_word=$2
28942894-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28952895-$as_echo_n "checking for $ac_word... " >&6; }
28962896-if ${ac_cv_prog_CC+:} false; then :
28972897- $as_echo_n "(cached) " >&6
28982898-else
32993299+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33003300+printf %s "checking for $ac_word... " >&6; }
33013301+if test ${ac_cv_prog_CC+y}
33023302+then :
33033303+ printf %s "(cached) " >&6
33043304+else $as_nop
28993305 if test -n "$CC"; then
29003306 ac_cv_prog_CC="$CC" # Let the user override the test.
29013307else
···29043310for as_dir in $PATH
29053311do
29063312 IFS=$as_save_IFS
29072907- test -z "$as_dir" && as_dir=.
33133313+ case $as_dir in #(((
33143314+ '') as_dir=./ ;;
33153315+ */) ;;
33163316+ *) as_dir=$as_dir/ ;;
33173317+ esac
29083318 for ac_exec_ext in '' $ac_executable_extensions; do
29092909- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29102910- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
33193319+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33203320+ if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
29113321 ac_prog_rejected=yes
29123322 continue
29133323 fi
29143324 ac_cv_prog_CC="cc"
29152915- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33253325+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29163326 break 2
29173327 fi
29183328done
···29283338 # However, it has the same basename, so the bogon will be chosen
29293339 # first if we set CC to just the basename; use the full file name.
29303340 shift
29312931- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
33413341+ ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
29323342 fi
29333343fi
29343344fi
29353345fi
29363346CC=$ac_cv_prog_CC
29373347if test -n "$CC"; then
29382938- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
29392939-$as_echo "$CC" >&6; }
33483348+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33493349+printf "%s\n" "$CC" >&6; }
29403350else
29412941- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29422942-$as_echo "no" >&6; }
33513351+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33523352+printf "%s\n" "no" >&6; }
29433353fi
2944335429453355···29503360 do
29513361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29523362set dummy $ac_tool_prefix$ac_prog; ac_word=$2
29532953-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29542954-$as_echo_n "checking for $ac_word... " >&6; }
29552955-if ${ac_cv_prog_CC+:} false; then :
29562956- $as_echo_n "(cached) " >&6
29572957-else
33633363+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33643364+printf %s "checking for $ac_word... " >&6; }
33653365+if test ${ac_cv_prog_CC+y}
33663366+then :
33673367+ printf %s "(cached) " >&6
33683368+else $as_nop
29583369 if test -n "$CC"; then
29593370 ac_cv_prog_CC="$CC" # Let the user override the test.
29603371else
···29623373for as_dir in $PATH
29633374do
29643375 IFS=$as_save_IFS
29652965- test -z "$as_dir" && as_dir=.
33763376+ case $as_dir in #(((
33773377+ '') as_dir=./ ;;
33783378+ */) ;;
33793379+ *) as_dir=$as_dir/ ;;
33803380+ esac
29663381 for ac_exec_ext in '' $ac_executable_extensions; do
29672967- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33823382+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
29683383 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
29692969- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33843384+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29703385 break 2
29713386 fi
29723387done
···29773392fi
29783393CC=$ac_cv_prog_CC
29793394if test -n "$CC"; then
29802980- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
29812981-$as_echo "$CC" >&6; }
33953395+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33963396+printf "%s\n" "$CC" >&6; }
29823397else
29832983- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29842984-$as_echo "no" >&6; }
33983398+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33993399+printf "%s\n" "no" >&6; }
29853400fi
2986340129873402···29943409do
29953410 # Extract the first word of "$ac_prog", so it can be a program name with args.
29963411set dummy $ac_prog; ac_word=$2
29972997-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29982998-$as_echo_n "checking for $ac_word... " >&6; }
29992999-if ${ac_cv_prog_ac_ct_CC+:} false; then :
30003000- $as_echo_n "(cached) " >&6
30013001-else
34123412+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34133413+printf %s "checking for $ac_word... " >&6; }
34143414+if test ${ac_cv_prog_ac_ct_CC+y}
34153415+then :
34163416+ printf %s "(cached) " >&6
34173417+else $as_nop
30023418 if test -n "$ac_ct_CC"; then
30033419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30043420else
···30063422for as_dir in $PATH
30073423do
30083424 IFS=$as_save_IFS
30093009- test -z "$as_dir" && as_dir=.
34253425+ case $as_dir in #(((
34263426+ '') as_dir=./ ;;
34273427+ */) ;;
34283428+ *) as_dir=$as_dir/ ;;
34293429+ esac
30103430 for ac_exec_ext in '' $ac_executable_extensions; do
30113011- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34313431+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30123432 ac_cv_prog_ac_ct_CC="$ac_prog"
30133013- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34333433+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30143434 break 2
30153435 fi
30163436done
···30213441fi
30223442ac_ct_CC=$ac_cv_prog_ac_ct_CC
30233443if test -n "$ac_ct_CC"; then
30243024- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
30253025-$as_echo "$ac_ct_CC" >&6; }
34443444+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
34453445+printf "%s\n" "$ac_ct_CC" >&6; }
30263446else
30273027- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30283028-$as_echo "no" >&6; }
34473447+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34483448+printf "%s\n" "no" >&6; }
30293449fi
3030345030313451···30373457 else
30383458 case $cross_compiling:$ac_tool_warned in
30393459yes:)
30403040-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
30413041-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34603460+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34613461+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34623462+ac_tool_warned=yes ;;
34633463+esac
34643464+ CC=$ac_ct_CC
34653465+ fi
34663466+fi
34673467+34683468+fi
34693469+if test -z "$CC"; then
34703470+ if test -n "$ac_tool_prefix"; then
34713471+ # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
34723472+set dummy ${ac_tool_prefix}clang; ac_word=$2
34733473+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34743474+printf %s "checking for $ac_word... " >&6; }
34753475+if test ${ac_cv_prog_CC+y}
34763476+then :
34773477+ printf %s "(cached) " >&6
34783478+else $as_nop
34793479+ if test -n "$CC"; then
34803480+ ac_cv_prog_CC="$CC" # Let the user override the test.
34813481+else
34823482+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34833483+for as_dir in $PATH
34843484+do
34853485+ IFS=$as_save_IFS
34863486+ case $as_dir in #(((
34873487+ '') as_dir=./ ;;
34883488+ */) ;;
34893489+ *) as_dir=$as_dir/ ;;
34903490+ esac
34913491+ for ac_exec_ext in '' $ac_executable_extensions; do
34923492+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
34933493+ ac_cv_prog_CC="${ac_tool_prefix}clang"
34943494+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34953495+ break 2
34963496+ fi
34973497+done
34983498+ done
34993499+IFS=$as_save_IFS
35003500+35013501+fi
35023502+fi
35033503+CC=$ac_cv_prog_CC
35043504+if test -n "$CC"; then
35053505+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
35063506+printf "%s\n" "$CC" >&6; }
35073507+else
35083508+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35093509+printf "%s\n" "no" >&6; }
35103510+fi
35113511+35123512+35133513+fi
35143514+if test -z "$ac_cv_prog_CC"; then
35153515+ ac_ct_CC=$CC
35163516+ # Extract the first word of "clang", so it can be a program name with args.
35173517+set dummy clang; ac_word=$2
35183518+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35193519+printf %s "checking for $ac_word... " >&6; }
35203520+if test ${ac_cv_prog_ac_ct_CC+y}
35213521+then :
35223522+ printf %s "(cached) " >&6
35233523+else $as_nop
35243524+ if test -n "$ac_ct_CC"; then
35253525+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
35263526+else
35273527+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35283528+for as_dir in $PATH
35293529+do
35303530+ IFS=$as_save_IFS
35313531+ case $as_dir in #(((
35323532+ '') as_dir=./ ;;
35333533+ */) ;;
35343534+ *) as_dir=$as_dir/ ;;
35353535+ esac
35363536+ for ac_exec_ext in '' $ac_executable_extensions; do
35373537+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
35383538+ ac_cv_prog_ac_ct_CC="clang"
35393539+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
35403540+ break 2
35413541+ fi
35423542+done
35433543+ done
35443544+IFS=$as_save_IFS
35453545+35463546+fi
35473547+fi
35483548+ac_ct_CC=$ac_cv_prog_ac_ct_CC
35493549+if test -n "$ac_ct_CC"; then
35503550+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
35513551+printf "%s\n" "$ac_ct_CC" >&6; }
35523552+else
35533553+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35543554+printf "%s\n" "no" >&6; }
35553555+fi
35563556+35573557+ if test "x$ac_ct_CC" = x; then
35583558+ CC=""
35593559+ else
35603560+ case $cross_compiling:$ac_tool_warned in
35613561+yes:)
35623562+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
35633563+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30423564ac_tool_warned=yes ;;
30433565esac
30443566 CC=$ac_ct_CC
30453567 fi
35683568+else
35693569+ CC="$ac_cv_prog_CC"
30463570fi
3047357130483572fi
304935733050357430513051-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30523052-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35753575+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35763576+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
30533577as_fn_error $? "no acceptable C compiler found in \$PATH
30543578See \`config.log' for more details" "$LINENO" 5; }
3055357930563580# Provide some information about the compiler.
30573057-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
35813581+printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
30583582set X $ac_compile
30593583ac_compiler=$2
30603060-for ac_option in --version -v -V -qversion; do
35843584+for ac_option in --version -v -V -qversion -version; do
30613585 { { ac_try="$ac_compiler $ac_option >&5"
30623586case "(($ac_try" in
30633587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30643588 *) ac_try_echo=$ac_try;;
30653589esac
30663590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
30673067-$as_echo "$ac_try_echo"; } >&5
35913591+printf "%s\n" "$ac_try_echo"; } >&5
30683592 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
30693593 ac_status=$?
30703594 if test -s conftest.err; then
···30743598 cat conftest.er1 >&5
30753599 fi
30763600 rm -f conftest.er1 conftest.err
30773077- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36013601+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30783602 test $ac_status = 0; }
30793603done
30803604···30823606/* end confdefs.h. */
3083360730843608int
30853085-main ()
36093609+main (void)
30863610{
3087361130883612 ;
···30943618# Try to create an executable without -o first, disregard a.out.
30953619# It will help us diagnose broken compilers, and finding out an intuition
30963620# of exeext.
30973097-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
30983098-$as_echo_n "checking whether the C compiler works... " >&6; }
30993099-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
36213621+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
36223622+printf %s "checking whether the C compiler works... " >&6; }
36233623+ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3100362431013625# The possible output files:
31023626ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
···31173641 *) ac_try_echo=$ac_try;;
31183642esac
31193643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31203120-$as_echo "$ac_try_echo"; } >&5
36443644+printf "%s\n" "$ac_try_echo"; } >&5
31213645 (eval "$ac_link_default") 2>&5
31223646 ac_status=$?
31233123- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31243124- test $ac_status = 0; }; then :
36473647+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36483648+ test $ac_status = 0; }
36493649+then :
31253650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
31263651# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
31273652# in a Makefile. We should not override ac_cv_exeext if it was cached,
···31383663 # certainly right.
31393664 break;;
31403665 *.* )
31413141- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
36663666+ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
31423667 then :; else
31433668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
31443669 fi
···31543679done
31553680test "$ac_cv_exeext" = no && ac_cv_exeext=
3156368131573157-else
36823682+else $as_nop
31583683 ac_file=''
31593684fi
31603160-if test -z "$ac_file"; then :
31613161- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31623162-$as_echo "no" >&6; }
31633163-$as_echo "$as_me: failed program was:" >&5
36853685+if test -z "$ac_file"
36863686+then :
36873687+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36883688+printf "%s\n" "no" >&6; }
36893689+printf "%s\n" "$as_me: failed program was:" >&5
31643690sed 's/^/| /' conftest.$ac_ext >&5
3165369131663166-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31673167-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36923692+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36933693+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
31683694as_fn_error 77 "C compiler cannot create executables
31693695See \`config.log' for more details" "$LINENO" 5; }
31703170-else
31713171- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31723172-$as_echo "yes" >&6; }
36963696+else $as_nop
36973697+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36983698+printf "%s\n" "yes" >&6; }
31733699fi
31743174-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
31753175-$as_echo_n "checking for C compiler default output file name... " >&6; }
31763176-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
31773177-$as_echo "$ac_file" >&6; }
37003700+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
37013701+printf %s "checking for C compiler default output file name... " >&6; }
37023702+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
37033703+printf "%s\n" "$ac_file" >&6; }
31783704ac_exeext=$ac_cv_exeext
3179370531803706rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
31813707ac_clean_files=$ac_clean_files_save
31823182-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
31833183-$as_echo_n "checking for suffix of executables... " >&6; }
37083708+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
37093709+printf %s "checking for suffix of executables... " >&6; }
31843710if { { ac_try="$ac_link"
31853711case "(($ac_try" in
31863712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31873713 *) ac_try_echo=$ac_try;;
31883714esac
31893715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31903190-$as_echo "$ac_try_echo"; } >&5
37163716+printf "%s\n" "$ac_try_echo"; } >&5
31913717 (eval "$ac_link") 2>&5
31923718 ac_status=$?
31933193- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31943194- test $ac_status = 0; }; then :
37193719+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37203720+ test $ac_status = 0; }
37213721+then :
31953722 # If both `conftest.exe' and `conftest' are `present' (well, observable)
31963723# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
31973724# work properly (i.e., refer to `conftest.exe'), while it won't with
···32053732 * ) break;;
32063733 esac
32073734done
32083208-else
32093209- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32103210-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37353735+else $as_nop
37363736+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37373737+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
32113738as_fn_error $? "cannot compute suffix of executables: cannot compile and link
32123739See \`config.log' for more details" "$LINENO" 5; }
32133740fi
32143741rm -f conftest conftest$ac_cv_exeext
32153215-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
32163216-$as_echo "$ac_cv_exeext" >&6; }
37423742+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
37433743+printf "%s\n" "$ac_cv_exeext" >&6; }
3217374432183745rm -f conftest.$ac_ext
32193746EXEEXT=$ac_cv_exeext
···32223749/* end confdefs.h. */
32233750#include <stdio.h>
32243751int
32253225-main ()
37523752+main (void)
32263753{
32273754FILE *f = fopen ("conftest.out", "w");
32283755 return ferror (f) || fclose (f) != 0;
···32343761ac_clean_files="$ac_clean_files conftest.out"
32353762# Check that the compiler produces executables we can run. If not, either
32363763# the compiler is broken, or we cross compile.
32373237-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
32383238-$as_echo_n "checking whether we are cross compiling... " >&6; }
37643764+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
37653765+printf %s "checking whether we are cross compiling... " >&6; }
32393766if test "$cross_compiling" != yes; then
32403767 { { ac_try="$ac_link"
32413768case "(($ac_try" in
···32433770 *) ac_try_echo=$ac_try;;
32443771esac
32453772eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
32463246-$as_echo "$ac_try_echo"; } >&5
37733773+printf "%s\n" "$ac_try_echo"; } >&5
32473774 (eval "$ac_link") 2>&5
32483775 ac_status=$?
32493249- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37763776+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32503777 test $ac_status = 0; }
32513778 if { ac_try='./conftest$ac_cv_exeext'
32523779 { { case "(($ac_try" in
···32543781 *) ac_try_echo=$ac_try;;
32553782esac
32563783eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
32573257-$as_echo "$ac_try_echo"; } >&5
37843784+printf "%s\n" "$ac_try_echo"; } >&5
32583785 (eval "$ac_try") 2>&5
32593786 ac_status=$?
32603260- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37873787+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32613788 test $ac_status = 0; }; }; then
32623789 cross_compiling=no
32633790 else
32643791 if test "$cross_compiling" = maybe; then
32653792 cross_compiling=yes
32663793 else
32673267- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32683268-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32693269-as_fn_error $? "cannot run C compiled programs.
37943794+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37953795+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
37963796+as_fn_error 77 "cannot run C compiled programs.
32703797If you meant to cross compile, use \`--host'.
32713798See \`config.log' for more details" "$LINENO" 5; }
32723799 fi
32733800 fi
32743801fi
32753275-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
32763276-$as_echo "$cross_compiling" >&6; }
38023802+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
38033803+printf "%s\n" "$cross_compiling" >&6; }
3277380432783805rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
32793806ac_clean_files=$ac_clean_files_save
32803280-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
32813281-$as_echo_n "checking for suffix of object files... " >&6; }
32823282-if ${ac_cv_objext+:} false; then :
32833283- $as_echo_n "(cached) " >&6
32843284-else
38073807+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
38083808+printf %s "checking for suffix of object files... " >&6; }
38093809+if test ${ac_cv_objext+y}
38103810+then :
38113811+ printf %s "(cached) " >&6
38123812+else $as_nop
32853813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32863814/* end confdefs.h. */
3287381532883816int
32893289-main ()
38173817+main (void)
32903818{
3291381932923820 ;
···33003828 *) ac_try_echo=$ac_try;;
33013829esac
33023830eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
33033303-$as_echo "$ac_try_echo"; } >&5
38313831+printf "%s\n" "$ac_try_echo"; } >&5
33043832 (eval "$ac_compile") 2>&5
33053833 ac_status=$?
33063306- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33073307- test $ac_status = 0; }; then :
38343834+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38353835+ test $ac_status = 0; }
38363836+then :
33083837 for ac_file in conftest.o conftest.obj conftest.*; do
33093838 test -f "$ac_file" || continue;
33103839 case $ac_file in
···33133842 break;;
33143843 esac
33153844done
33163316-else
33173317- $as_echo "$as_me: failed program was:" >&5
38453845+else $as_nop
38463846+ printf "%s\n" "$as_me: failed program was:" >&5
33183847sed 's/^/| /' conftest.$ac_ext >&5
3319384833203320-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33213321-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38493849+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38503850+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33223851as_fn_error $? "cannot compute suffix of object files: cannot compile
33233852See \`config.log' for more details" "$LINENO" 5; }
33243853fi
33253854rm -f conftest.$ac_cv_objext conftest.$ac_ext
33263855fi
33273327-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
33283328-$as_echo "$ac_cv_objext" >&6; }
38563856+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
38573857+printf "%s\n" "$ac_cv_objext" >&6; }
33293858OBJEXT=$ac_cv_objext
33303859ac_objext=$OBJEXT
33313331-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
33323332-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
33333333-if ${ac_cv_c_compiler_gnu+:} false; then :
33343334- $as_echo_n "(cached) " >&6
33353335-else
38603860+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
38613861+printf %s "checking whether the compiler supports GNU C... " >&6; }
38623862+if test ${ac_cv_c_compiler_gnu+y}
38633863+then :
38643864+ printf %s "(cached) " >&6
38653865+else $as_nop
33363866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33373867/* end confdefs.h. */
3338386833393869int
33403340-main ()
38703870+main (void)
33413871{
33423872#ifndef __GNUC__
33433873 choke me
···33473877 return 0;
33483878}
33493879_ACEOF
33503350-if ac_fn_c_try_compile "$LINENO"; then :
38803880+if ac_fn_c_try_compile "$LINENO"
38813881+then :
33513882 ac_compiler_gnu=yes
33523352-else
38833883+else $as_nop
33533884 ac_compiler_gnu=no
33543885fi
33553355-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863886+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
33563887ac_cv_c_compiler_gnu=$ac_compiler_gnu
3357388833583889fi
33593359-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
33603360-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
38903890+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
38913891+printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
38923892+ac_compiler_gnu=$ac_cv_c_compiler_gnu
38933893+33613894if test $ac_compiler_gnu = yes; then
33623895 GCC=yes
33633896else
33643897 GCC=
33653898fi
33663366-ac_test_CFLAGS=${CFLAGS+set}
38993899+ac_test_CFLAGS=${CFLAGS+y}
33673900ac_save_CFLAGS=$CFLAGS
33683368-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
33693369-$as_echo_n "checking whether $CC accepts -g... " >&6; }
33703370-if ${ac_cv_prog_cc_g+:} false; then :
33713371- $as_echo_n "(cached) " >&6
33723372-else
39013901+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
39023902+printf %s "checking whether $CC accepts -g... " >&6; }
39033903+if test ${ac_cv_prog_cc_g+y}
39043904+then :
39053905+ printf %s "(cached) " >&6
39063906+else $as_nop
33733907 ac_save_c_werror_flag=$ac_c_werror_flag
33743908 ac_c_werror_flag=yes
33753909 ac_cv_prog_cc_g=no
···33783912/* end confdefs.h. */
3379391333803914int
33813381-main ()
39153915+main (void)
33823916{
3383391733843918 ;
33853919 return 0;
33863920}
33873921_ACEOF
33883388-if ac_fn_c_try_compile "$LINENO"; then :
39223922+if ac_fn_c_try_compile "$LINENO"
39233923+then :
33893924 ac_cv_prog_cc_g=yes
33903390-else
39253925+else $as_nop
33913926 CFLAGS=""
33923927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33933928/* end confdefs.h. */
3394392933953930int
33963396-main ()
39313931+main (void)
33973932{
3398393333993934 ;
34003935 return 0;
34013936}
34023937_ACEOF
34033403-if ac_fn_c_try_compile "$LINENO"; then :
39383938+if ac_fn_c_try_compile "$LINENO"
39393939+then :
3404394034053405-else
39413941+else $as_nop
34063942 ac_c_werror_flag=$ac_save_c_werror_flag
34073943 CFLAGS="-g"
34083944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34093945/* end confdefs.h. */
3410394634113947int
34123412-main ()
39483948+main (void)
34133949{
3414395034153951 ;
34163952 return 0;
34173953}
34183954_ACEOF
34193419-if ac_fn_c_try_compile "$LINENO"; then :
39553955+if ac_fn_c_try_compile "$LINENO"
39563956+then :
34203957 ac_cv_prog_cc_g=yes
34213958fi
34223422-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39593959+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34233960fi
34243424-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39613961+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34253962fi
34263426-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633963+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34273964 ac_c_werror_flag=$ac_save_c_werror_flag
34283965fi
34293429-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
34303430-$as_echo "$ac_cv_prog_cc_g" >&6; }
34313431-if test "$ac_test_CFLAGS" = set; then
39663966+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
39673967+printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
39683968+if test $ac_test_CFLAGS; then
34323969 CFLAGS=$ac_save_CFLAGS
34333970elif test $ac_cv_prog_cc_g = yes; then
34343971 if test "$GCC" = yes; then
···34433980 CFLAGS=
34443981 fi
34453982fi
34463446-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
34473447-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
34483448-if ${ac_cv_prog_cc_c89+:} false; then :
34493449- $as_echo_n "(cached) " >&6
34503450-else
34513451- ac_cv_prog_cc_c89=no
39833983+ac_prog_cc_stdc=no
39843984+if test x$ac_prog_cc_stdc = xno
39853985+then :
39863986+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
39873987+printf %s "checking for $CC option to enable C11 features... " >&6; }
39883988+if test ${ac_cv_prog_cc_c11+y}
39893989+then :
39903990+ printf %s "(cached) " >&6
39913991+else $as_nop
39923992+ ac_cv_prog_cc_c11=no
34523993ac_save_CC=$CC
34533994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34543995/* end confdefs.h. */
34553455-#include <stdarg.h>
34563456-#include <stdio.h>
34573457-struct stat;
34583458-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
34593459-struct buf { int x; };
34603460-FILE * (*rcsopen) (struct buf *, struct stat *, int);
34613461-static char *e (p, i)
34623462- char **p;
34633463- int i;
34643464-{
34653465- return p[i];
34663466-}
34673467-static char *f (char * (*g) (char **, int), char **p, ...)
34683468-{
34693469- char *s;
34703470- va_list v;
34713471- va_start (v,p);
34723472- s = g (p, va_arg (v,int));
34733473- va_end (v);
34743474- return s;
34753475-}
34763476-34773477-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
34783478- function prototypes and stuff, but not '\xHH' hex character constants.
34793479- These don't provoke an error unfortunately, instead are silently treated
34803480- as 'x'. The following induces an error, until -std is added to get
34813481- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
34823482- array size at least. It's necessary to write '\x00'==0 to get something
34833483- that's true only with -std. */
34843484-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
39963996+$ac_c_conftest_c11_program
39973997+_ACEOF
39983998+for ac_arg in '' -std=gnu11
39993999+do
40004000+ CC="$ac_save_CC $ac_arg"
40014001+ if ac_fn_c_try_compile "$LINENO"
40024002+then :
40034003+ ac_cv_prog_cc_c11=$ac_arg
40044004+fi
40054005+rm -f core conftest.err conftest.$ac_objext conftest.beam
40064006+ test "x$ac_cv_prog_cc_c11" != "xno" && break
40074007+done
40084008+rm -f conftest.$ac_ext
40094009+CC=$ac_save_CC
40104010+fi
3485401134863486-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
34873487- inside strings and character constants. */
34883488-#define FOO(x) 'x'
34893489-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
40124012+if test "x$ac_cv_prog_cc_c11" = xno
40134013+then :
40144014+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
40154015+printf "%s\n" "unsupported" >&6; }
40164016+else $as_nop
40174017+ if test "x$ac_cv_prog_cc_c11" = x
40184018+then :
40194019+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
40204020+printf "%s\n" "none needed" >&6; }
40214021+else $as_nop
40224022+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
40234023+printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
40244024+ CC="$CC $ac_cv_prog_cc_c11"
40254025+fi
40264026+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
40274027+ ac_prog_cc_stdc=c11
40284028+fi
40294029+fi
40304030+if test x$ac_prog_cc_stdc = xno
40314031+then :
40324032+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
40334033+printf %s "checking for $CC option to enable C99 features... " >&6; }
40344034+if test ${ac_cv_prog_cc_c99+y}
40354035+then :
40364036+ printf %s "(cached) " >&6
40374037+else $as_nop
40384038+ ac_cv_prog_cc_c99=no
40394039+ac_save_CC=$CC
40404040+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40414041+/* end confdefs.h. */
40424042+$ac_c_conftest_c99_program
40434043+_ACEOF
40444044+for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
40454045+do
40464046+ CC="$ac_save_CC $ac_arg"
40474047+ if ac_fn_c_try_compile "$LINENO"
40484048+then :
40494049+ ac_cv_prog_cc_c99=$ac_arg
40504050+fi
40514051+rm -f core conftest.err conftest.$ac_objext conftest.beam
40524052+ test "x$ac_cv_prog_cc_c99" != "xno" && break
40534053+done
40544054+rm -f conftest.$ac_ext
40554055+CC=$ac_save_CC
40564056+fi
3490405734913491-int test (int i, double x);
34923492-struct s1 {int (*f) (int a);};
34933493-struct s2 {int (*f) (double a);};
34943494-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
34953495-int argc;
34963496-char **argv;
34973497-int
34983498-main ()
34993499-{
35003500-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
35013501- ;
35023502- return 0;
35033503-}
40584058+if test "x$ac_cv_prog_cc_c99" = xno
40594059+then :
40604060+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
40614061+printf "%s\n" "unsupported" >&6; }
40624062+else $as_nop
40634063+ if test "x$ac_cv_prog_cc_c99" = x
40644064+then :
40654065+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
40664066+printf "%s\n" "none needed" >&6; }
40674067+else $as_nop
40684068+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
40694069+printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
40704070+ CC="$CC $ac_cv_prog_cc_c99"
40714071+fi
40724072+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
40734073+ ac_prog_cc_stdc=c99
40744074+fi
40754075+fi
40764076+if test x$ac_prog_cc_stdc = xno
40774077+then :
40784078+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
40794079+printf %s "checking for $CC option to enable C89 features... " >&6; }
40804080+if test ${ac_cv_prog_cc_c89+y}
40814081+then :
40824082+ printf %s "(cached) " >&6
40834083+else $as_nop
40844084+ ac_cv_prog_cc_c89=no
40854085+ac_save_CC=$CC
40864086+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40874087+/* end confdefs.h. */
40884088+$ac_c_conftest_c89_program
35044089_ACEOF
35053505-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
35063506- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
40904090+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
35074091do
35084092 CC="$ac_save_CC $ac_arg"
35093509- if ac_fn_c_try_compile "$LINENO"; then :
40934093+ if ac_fn_c_try_compile "$LINENO"
40944094+then :
35104095 ac_cv_prog_cc_c89=$ac_arg
35114096fi
35123512-rm -f core conftest.err conftest.$ac_objext
40974097+rm -f core conftest.err conftest.$ac_objext conftest.beam
35134098 test "x$ac_cv_prog_cc_c89" != "xno" && break
35144099done
35154100rm -f conftest.$ac_ext
35164101CC=$ac_save_CC
35173517-35184102fi
35193519-# AC_CACHE_VAL
35203520-case "x$ac_cv_prog_cc_c89" in
35213521- x)
35223522- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
35233523-$as_echo "none needed" >&6; } ;;
35243524- xno)
35253525- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
35263526-$as_echo "unsupported" >&6; } ;;
35273527- *)
35283528- CC="$CC $ac_cv_prog_cc_c89"
35293529- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
35303530-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
35313531-esac
35323532-if test "x$ac_cv_prog_cc_c89" != xno; then :
3533410341044104+if test "x$ac_cv_prog_cc_c89" = xno
41054105+then :
41064106+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
41074107+printf "%s\n" "unsupported" >&6; }
41084108+else $as_nop
41094109+ if test "x$ac_cv_prog_cc_c89" = x
41104110+then :
41114111+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
41124112+printf "%s\n" "none needed" >&6; }
41134113+else $as_nop
41144114+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
41154115+printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
41164116+ CC="$CC $ac_cv_prog_cc_c89"
41174117+fi
41184118+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
41194119+ ac_prog_cc_stdc=c89
41204120+fi
35344121fi
3535412235364123ac_ext=c
···3541412835424129depcc="$CC" am_compiler_list=
3543413035443544-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
35453545-$as_echo_n "checking dependency style of $depcc... " >&6; }
35463546-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
35473547- $as_echo_n "(cached) " >&6
35483548-else
41314131+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
41324132+printf %s "checking dependency style of $depcc... " >&6; }
41334133+if test ${am_cv_CC_dependencies_compiler_type+y}
41344134+then :
41354135+ printf %s "(cached) " >&6
41364136+else $as_nop
35494137 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
35504138 # We make a subdir and do the tests there. Otherwise we can end up
35514139 # making bogus files that we don't know about and never remove. For
···36524240fi
3653424136544242fi
36553655-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
36563656-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
42434243+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
42444244+printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
36574245CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3658424636594247 if
···36674255fi
366842563669425736703670- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
36713671-$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
36723672-if ${ac_cv_prog_cc_c99+:} false; then :
36733673- $as_echo_n "(cached) " >&6
36743674-else
36753675- ac_cv_prog_cc_c99=no
36763676-ac_save_CC=$CC
36773677-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42584258+42594259+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
42604260+printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
42614261+if test ${ac_cv_c_undeclared_builtin_options+y}
42624262+then :
42634263+ printf %s "(cached) " >&6
42644264+else $as_nop
42654265+ ac_save_CFLAGS=$CFLAGS
42664266+ ac_cv_c_undeclared_builtin_options='cannot detect'
42674267+ for ac_arg in '' -fno-builtin; do
42684268+ CFLAGS="$ac_save_CFLAGS $ac_arg"
42694269+ # This test program should *not* compile successfully.
42704270+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36784271/* end confdefs.h. */
36793679-#include <stdarg.h>
36803680-#include <stdbool.h>
36813681-#include <stdlib.h>
36823682-#include <wchar.h>
36833683-#include <stdio.h>
3684427236853685-// Check varargs macros. These examples are taken from C99 6.10.3.5.
36863686-#define debug(...) fprintf (stderr, __VA_ARGS__)
36873687-#define showlist(...) puts (#__VA_ARGS__)
36883688-#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
36893689-static void
36903690-test_varargs_macros (void)
42734273+int
42744274+main (void)
36914275{
36923692- int x = 1234;
36933693- int y = 5678;
36943694- debug ("Flag");
36953695- debug ("X = %d\n", x);
36963696- showlist (The first, second, and third items.);
36973697- report (x>y, "x is %d but y is %d", x, y);
36983698-}
36993699-37003700-// Check long long types.
37013701-#define BIG64 18446744073709551615ull
37023702-#define BIG32 4294967295ul
37033703-#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
37043704-#if !BIG_OK
37053705- your preprocessor is broken;
37063706-#endif
37073707-#if BIG_OK
37083708-#else
37093709- your preprocessor is broken;
37103710-#endif
37113711-static long long int bignum = -9223372036854775807LL;
37123712-static unsigned long long int ubignum = BIG64;
37133713-37143714-struct incomplete_array
37153715-{
37163716- int datasize;
37173717- double data[];
37183718-};
37193719-37203720-struct named_init {
37213721- int number;
37223722- const wchar_t *name;
37233723- double average;
37243724-};
37253725-37263726-typedef const char *ccp;
37273727-37283728-static inline int
37293729-test_restrict (ccp restrict text)
37303730-{
37313731- // See if C++-style comments work.
37323732- // Iterate through items via the restricted pointer.
37333733- // Also check for declarations in for loops.
37343734- for (unsigned int i = 0; *(text+i) != '\0'; ++i)
37353735- continue;
42764276+(void) strchr;
42774277+ ;
37364278 return 0;
37374279}
42804280+_ACEOF
42814281+if ac_fn_c_try_compile "$LINENO"
42824282+then :
3738428337393739-// Check varargs and va_copy.
37403740-static void
37413741-test_varargs (const char *format, ...)
37423742-{
37433743- va_list args;
37443744- va_start (args, format);
37453745- va_list args_copy;
37463746- va_copy (args_copy, args);
37473747-37483748- const char *str;
37493749- int number;
37503750- float fnumber;
37513751-37523752- while (*format)
37533753- {
37543754- switch (*format++)
37553755- {
37563756- case 's': // string
37573757- str = va_arg (args_copy, const char *);
37583758- break;
37593759- case 'd': // int
37603760- number = va_arg (args_copy, int);
37613761- break;
37623762- case 'f': // float
37633763- fnumber = va_arg (args_copy, double);
37643764- break;
37653765- default:
37663766- break;
37673767- }
37683768- }
37693769- va_end (args_copy);
37703770- va_end (args);
37713771-}
42844284+else $as_nop
42854285+ # This test program should compile successfully.
42864286+ # No library function is consistently available on
42874287+ # freestanding implementations, so test against a dummy
42884288+ # declaration. Include always-available headers on the
42894289+ # off chance that they somehow elicit warnings.
42904290+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42914291+/* end confdefs.h. */
42924292+#include <float.h>
42934293+#include <limits.h>
42944294+#include <stdarg.h>
42954295+#include <stddef.h>
42964296+extern void ac_decl (int, char *);
3772429737734298int
37743774-main ()
42994299+main (void)
37754300{
37763776-37773777- // Check bool.
37783778- _Bool success = false;
37793779-37803780- // Check restrict.
37813781- if (test_restrict ("String literal") == 0)
37823782- success = true;
37833783- char *restrict newvar = "Another string";
37843784-37853785- // Check varargs.
37863786- test_varargs ("s, d' f .", "string", 65, 34.234);
37873787- test_varargs_macros ();
37883788-37893789- // Check flexible array members.
37903790- struct incomplete_array *ia =
37913791- malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
37923792- ia->datasize = 10;
37933793- for (int i = 0; i < ia->datasize; ++i)
37943794- ia->data[i] = i * 1.234;
37953795-37963796- // Check named initializers.
37973797- struct named_init ni = {
37983798- .number = 34,
37993799- .name = L"Test wide string",
38003800- .average = 543.34343,
38013801- };
38023802-38033803- ni.number = 58;
38043804-38053805- int dynamic_array[ni.number];
38063806- dynamic_array[ni.number - 1] = 543;
38073807-38083808- // work around unused variable warnings
38093809- return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
38103810- || dynamic_array[ni.number - 1] != 543);
43014301+(void) ac_decl (0, (char *) 0);
43024302+ (void) ac_decl;
3811430338124304 ;
38134305 return 0;
38144306}
38154307_ACEOF
38163816-for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
38173817-do
38183818- CC="$ac_save_CC $ac_arg"
38193819- if ac_fn_c_try_compile "$LINENO"; then :
38203820- ac_cv_prog_cc_c99=$ac_arg
38213821-fi
38223822-rm -f core conftest.err conftest.$ac_objext
38233823- test "x$ac_cv_prog_cc_c99" != "xno" && break
38243824-done
38253825-rm -f conftest.$ac_ext
38263826-CC=$ac_save_CC
38273827-43084308+if ac_fn_c_try_compile "$LINENO"
43094309+then :
43104310+ if test x"$ac_arg" = x
43114311+then :
43124312+ ac_cv_c_undeclared_builtin_options='none needed'
43134313+else $as_nop
43144314+ ac_cv_c_undeclared_builtin_options=$ac_arg
38284315fi
38293829-# AC_CACHE_VAL
38303830-case "x$ac_cv_prog_cc_c99" in
38313831- x)
38323832- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
38333833-$as_echo "none needed" >&6; } ;;
38343834- xno)
38353835- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
38363836-$as_echo "unsupported" >&6; } ;;
38373837- *)
38383838- CC="$CC $ac_cv_prog_cc_c99"
38393839- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
38403840-$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
38413841-esac
38423842-if test "x$ac_cv_prog_cc_c99" != xno; then :
38433843-38443844-fi
38453845-38463846-38473847-38483848-ac_ext=c
38493849-ac_cpp='$CPP $CPPFLAGS'
38503850-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38513851-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523852-ac_compiler_gnu=$ac_cv_c_compiler_gnu
38533853-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
38543854-$as_echo_n "checking how to run the C preprocessor... " >&6; }
38553855-# On Suns, sometimes $CPP names a directory.
38563856-if test -n "$CPP" && test -d "$CPP"; then
38573857- CPP=
38583858-fi
38593859-if test -z "$CPP"; then
38603860- if ${ac_cv_prog_CPP+:} false; then :
38613861- $as_echo_n "(cached) " >&6
38623862-else
38633863- # Double quotes because CPP needs to be expanded
38643864- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
38653865- do
38663866- ac_preproc_ok=false
38673867-for ac_c_preproc_warn_flag in '' yes
38683868-do
38693869- # Use a header file that comes with gcc, so configuring glibc
38703870- # with a fresh cross-compiler works.
38713871- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38723872- # <limits.h> exists even on freestanding compilers.
38733873- # On the NeXT, cc -E runs the code through the compiler's parser,
38743874- # not just through cpp. "Syntax error" is here to catch this case.
38753875- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38763876-/* end confdefs.h. */
38773877-#ifdef __STDC__
38783878-# include <limits.h>
38793879-#else
38803880-# include <assert.h>
38813881-#endif
38823882- Syntax error
38833883-_ACEOF
38843884-if ac_fn_c_try_cpp "$LINENO"; then :
38853885-38863886-else
38873887- # Broken: fails on valid input.
38883888-continue
38893889-fi
38903890-rm -f conftest.err conftest.i conftest.$ac_ext
38913891-38923892- # OK, works on sane cases. Now check whether nonexistent headers
38933893- # can be detected and how.
38943894- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38953895-/* end confdefs.h. */
38963896-#include <ac_nonexistent.h>
38973897-_ACEOF
38983898-if ac_fn_c_try_cpp "$LINENO"; then :
38993899- # Broken: success on invalid input.
39003900-continue
39013901-else
39023902- # Passes both tests.
39033903-ac_preproc_ok=:
39043904-break
43164316+ break
39054317fi
39063906-rm -f conftest.err conftest.i conftest.$ac_ext
39073907-39083908-done
39093909-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39103910-rm -f conftest.i conftest.err conftest.$ac_ext
39113911-if $ac_preproc_ok; then :
39123912- break
43184318+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39134319fi
39143914-43204320+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39154321 done
39163916- ac_cv_prog_CPP=$CPP
43224322+ CFLAGS=$ac_save_CFLAGS
3917432339184324fi
39193919- CPP=$ac_cv_prog_CPP
39203920-else
39213921- ac_cv_prog_CPP=$CPP
39223922-fi
39233923-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
39243924-$as_echo "$CPP" >&6; }
39253925-ac_preproc_ok=false
39263926-for ac_c_preproc_warn_flag in '' yes
39273927-do
39283928- # Use a header file that comes with gcc, so configuring glibc
39293929- # with a fresh cross-compiler works.
39303930- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39313931- # <limits.h> exists even on freestanding compilers.
39323932- # On the NeXT, cc -E runs the code through the compiler's parser,
39333933- # not just through cpp. "Syntax error" is here to catch this case.
39343934- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39353935-/* end confdefs.h. */
39363936-#ifdef __STDC__
39373937-# include <limits.h>
39383938-#else
39393939-# include <assert.h>
39403940-#endif
39413941- Syntax error
39423942-_ACEOF
39433943-if ac_fn_c_try_cpp "$LINENO"; then :
39443944-39453945-else
39463946- # Broken: fails on valid input.
39473947-continue
39483948-fi
39493949-rm -f conftest.err conftest.i conftest.$ac_ext
39503950-39513951- # OK, works on sane cases. Now check whether nonexistent headers
39523952- # can be detected and how.
39533953- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39543954-/* end confdefs.h. */
39553955-#include <ac_nonexistent.h>
39563956-_ACEOF
39573957-if ac_fn_c_try_cpp "$LINENO"; then :
39583958- # Broken: success on invalid input.
39593959-continue
39603960-else
39613961- # Passes both tests.
39623962-ac_preproc_ok=:
39633963-break
39643964-fi
39653965-rm -f conftest.err conftest.i conftest.$ac_ext
39663966-39673967-done
39683968-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39693969-rm -f conftest.i conftest.err conftest.$ac_ext
39703970-if $ac_preproc_ok; then :
39713971-39723972-else
39733973- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39743974-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
39753975-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
39763976-See \`config.log' for more details" "$LINENO" 5; }
39773977-fi
39783978-39793979-ac_ext=c
39803980-ac_cpp='$CPP $CPPFLAGS'
39813981-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39823982-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39833983-ac_compiler_gnu=$ac_cv_c_compiler_gnu
39843984-39853985-39863986-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
39873987-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
39883988-if ${ac_cv_path_GREP+:} false; then :
39893989- $as_echo_n "(cached) " >&6
39903990-else
39913991- if test -z "$GREP"; then
39923992- ac_path_GREP_found=false
39933993- # Loop through the user's path and test for each of PROGNAME-LIST
39943994- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39953995-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
39963996-do
39973997- IFS=$as_save_IFS
39983998- test -z "$as_dir" && as_dir=.
39993999- for ac_prog in grep ggrep; do
40004000- for ac_exec_ext in '' $ac_executable_extensions; do
40014001- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
40024002- as_fn_executable_p "$ac_path_GREP" || continue
40034003-# Check for GNU ac_path_GREP and select it if it is found.
40044004- # Check for GNU $ac_path_GREP
40054005-case `"$ac_path_GREP" --version 2>&1` in
40064006-*GNU*)
40074007- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
40084008-*)
40094009- ac_count=0
40104010- $as_echo_n 0123456789 >"conftest.in"
40114011- while :
40124012- do
40134013- cat "conftest.in" "conftest.in" >"conftest.tmp"
40144014- mv "conftest.tmp" "conftest.in"
40154015- cp "conftest.in" "conftest.nl"
40164016- $as_echo 'GREP' >> "conftest.nl"
40174017- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
40184018- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
40194019- as_fn_arith $ac_count + 1 && ac_count=$as_val
40204020- if test $ac_count -gt ${ac_path_GREP_max-0}; then
40214021- # Best one so far, save it but keep looking for a better one
40224022- ac_cv_path_GREP="$ac_path_GREP"
40234023- ac_path_GREP_max=$ac_count
40244024- fi
40254025- # 10*(2^10) chars as input seems more than enough
40264026- test $ac_count -gt 10 && break
40274027- done
40284028- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43254325+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
43264326+printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
43274327+ case $ac_cv_c_undeclared_builtin_options in #(
43284328+ 'cannot detect') :
43294329+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43304330+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
43314331+as_fn_error $? "cannot make $CC report undeclared builtins
43324332+See \`config.log' for more details" "$LINENO" 5; } ;; #(
43334333+ 'none needed') :
43344334+ ac_c_undeclared_builtin_options='' ;; #(
43354335+ *) :
43364336+ ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
40294337esac
4030433840314031- $ac_path_GREP_found && break 3
40324032- done
40334033- done
40344034- done
40354035-IFS=$as_save_IFS
40364036- if test -z "$ac_cv_path_GREP"; then
40374037- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
40384038- fi
40394039-else
40404040- ac_cv_path_GREP=$GREP
40414041-fi
40424042-40434043-fi
40444044-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
40454045-$as_echo "$ac_cv_path_GREP" >&6; }
40464046- GREP="$ac_cv_path_GREP"
40474047-40484048-40494049-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
40504050-$as_echo_n "checking for egrep... " >&6; }
40514051-if ${ac_cv_path_EGREP+:} false; then :
40524052- $as_echo_n "(cached) " >&6
40534053-else
40544054- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
40554055- then ac_cv_path_EGREP="$GREP -E"
40564056- else
40574057- if test -z "$EGREP"; then
40584058- ac_path_EGREP_found=false
40594059- # Loop through the user's path and test for each of PROGNAME-LIST
40604060- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40614061-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43394339+ac_header= ac_cache=
43404340+for ac_item in $ac_header_c_list
40624341do
40634063- IFS=$as_save_IFS
40644064- test -z "$as_dir" && as_dir=.
40654065- for ac_prog in egrep; do
40664066- for ac_exec_ext in '' $ac_executable_extensions; do
40674067- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
40684068- as_fn_executable_p "$ac_path_EGREP" || continue
40694069-# Check for GNU ac_path_EGREP and select it if it is found.
40704070- # Check for GNU $ac_path_EGREP
40714071-case `"$ac_path_EGREP" --version 2>&1` in
40724072-*GNU*)
40734073- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
40744074-*)
40754075- ac_count=0
40764076- $as_echo_n 0123456789 >"conftest.in"
40774077- while :
40784078- do
40794079- cat "conftest.in" "conftest.in" >"conftest.tmp"
40804080- mv "conftest.tmp" "conftest.in"
40814081- cp "conftest.in" "conftest.nl"
40824082- $as_echo 'EGREP' >> "conftest.nl"
40834083- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
40844084- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
40854085- as_fn_arith $ac_count + 1 && ac_count=$as_val
40864086- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
40874087- # Best one so far, save it but keep looking for a better one
40884088- ac_cv_path_EGREP="$ac_path_EGREP"
40894089- ac_path_EGREP_max=$ac_count
43424342+ if test $ac_cache; then
43434343+ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
43444344+ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
43454345+ printf "%s\n" "#define $ac_item 1" >> confdefs.h
40904346 fi
40914091- # 10*(2^10) chars as input seems more than enough
40924092- test $ac_count -gt 10 && break
40934093- done
40944094- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
40954095-esac
40964096-40974097- $ac_path_EGREP_found && break 3
40984098- done
40994099- done
41004100- done
41014101-IFS=$as_save_IFS
41024102- if test -z "$ac_cv_path_EGREP"; then
41034103- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
43474347+ ac_header= ac_cache=
43484348+ elif test $ac_header; then
43494349+ ac_cache=$ac_item
43504350+ else
43514351+ ac_header=$ac_item
41044352 fi
41054105-else
41064106- ac_cv_path_EGREP=$EGREP
41074107-fi
43534353+done
4108435441094109- fi
41104110-fi
41114111-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
41124112-$as_echo "$ac_cv_path_EGREP" >&6; }
41134113- EGREP="$ac_cv_path_EGREP"
411443554115435641164116-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
41174117-$as_echo_n "checking for ANSI C header files... " >&6; }
41184118-if ${ac_cv_header_stdc+:} false; then :
41194119- $as_echo_n "(cached) " >&6
41204120-else
41214121- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41224122-/* end confdefs.h. */
41234123-#include <stdlib.h>
41244124-#include <stdarg.h>
41254125-#include <string.h>
41264126-#include <float.h>
4127435741284128-int
41294129-main ()
41304130-{
4131435841324132- ;
41334133- return 0;
41344134-}
41354135-_ACEOF
41364136-if ac_fn_c_try_compile "$LINENO"; then :
41374137- ac_cv_header_stdc=yes
41384138-else
41394139- ac_cv_header_stdc=no
41404140-fi
41414141-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142435941434143-if test $ac_cv_header_stdc = yes; then
41444144- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
41454145- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464146-/* end confdefs.h. */
41474147-#include <string.h>
4148436041494149-_ACEOF
41504150-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
41514151- $EGREP "memchr" >/dev/null 2>&1; then :
4152436141534153-else
41544154- ac_cv_header_stdc=no
41554155-fi
41564156-rm -f conftest*
43624362+if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
43634363+then :
4157436441584158-fi
43654365+printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4159436641604160-if test $ac_cv_header_stdc = yes; then
41614161- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
41624162- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41634163-/* end confdefs.h. */
41644164-#include <stdlib.h>
41654165-41664166-_ACEOF
41674167-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
41684168- $EGREP "free" >/dev/null 2>&1; then :
41694169-41704170-else
41714171- ac_cv_header_stdc=no
41724367fi
41734173-rm -f conftest*
4174436841754175-fi
4176436941774177-if test $ac_cv_header_stdc = yes; then
41784178- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
41794179- if test "$cross_compiling" = yes; then :
41804180- :
41814181-else
41824182- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41834183-/* end confdefs.h. */
41844184-#include <ctype.h>
41854185-#include <stdlib.h>
41864186-#if ((' ' & 0x0FF) == 0x020)
41874187-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
41884188-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
41894189-#else
41904190-# define ISLOWER(c) \
41914191- (('a' <= (c) && (c) <= 'i') \
41924192- || ('j' <= (c) && (c) <= 'r') \
41934193- || ('s' <= (c) && (c) <= 'z'))
41944194-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
41954195-#endif
4196437041974197-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
41984198-int
41994199-main ()
42004200-{
42014201- int i;
42024202- for (i = 0; i < 256; i++)
42034203- if (XOR (islower (i), ISLOWER (i))
42044204- || toupper (i) != TOUPPER (i))
42054205- return 2;
42064206- return 0;
42074207-}
42084208-_ACEOF
42094209-if ac_fn_c_try_run "$LINENO"; then :
4210437142114211-else
42124212- ac_cv_header_stdc=no
42134213-fi
42144214-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42154215- conftest.$ac_objext conftest.beam conftest.$ac_ext
42164216-fi
42174217-42184218-fi
42194219-fi
42204220-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
42214221-$as_echo "$ac_cv_header_stdc" >&6; }
42224222-if test $ac_cv_header_stdc = yes; then
42234223-42244224-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
42254225-42264226-fi
42274227-42284228-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
42294229-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
42304230- inttypes.h stdint.h unistd.h
42314231-do :
42324232- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
42334233-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
42344234-"
42354235-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
42364236- cat >>confdefs.h <<_ACEOF
42374237-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
42384238-_ACEOF
42394239-42404240-fi
42414241-42424242-done
42434243-42444244-42454245-42464246-42474247-42484248-42494249-ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
42504250-if test "x$ac_cv_have_decl___clang__" = xyes; then :
43724372+ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
43734373+if test "x$ac_cv_have_decl___clang__" = xyes
43744374+then :
42514375 CLANGCC="yes"
42524252-else
43764376+else $as_nop
42534377 CLANGCC="no"
42544378fi
42554255-42564256-ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
42574257-if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
43794379+ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
43804380+if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
43814381+then :
42584382 INTELCC="yes"
42594259-else
43834383+else $as_nop
42604384 INTELCC="no"
42614385fi
42624262-42634263-ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
42644264-if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
43864386+ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
43874387+if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
43884388+then :
42654389 SUNCC="yes"
42664266-else
43904390+else $as_nop
42674391 SUNCC="no"
42684392fi
42694269-427043934271439442724395···42794402 if test -n "$ac_tool_prefix"; then
42804403 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42814404set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42824282-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
42834283-$as_echo_n "checking for $ac_word... " >&6; }
42844284-if ${ac_cv_path_PKG_CONFIG+:} false; then :
42854285- $as_echo_n "(cached) " >&6
42864286-else
44054405+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44064406+printf %s "checking for $ac_word... " >&6; }
44074407+if test ${ac_cv_path_PKG_CONFIG+y}
44084408+then :
44094409+ printf %s "(cached) " >&6
44104410+else $as_nop
42874411 case $PKG_CONFIG in
42884412 [\\/]* | ?:[\\/]*)
42894413 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
···42934417for as_dir in $PATH
42944418do
42954419 IFS=$as_save_IFS
42964296- test -z "$as_dir" && as_dir=.
44204420+ case $as_dir in #(((
44214421+ '') as_dir=./ ;;
44224422+ */) ;;
44234423+ *) as_dir=$as_dir/ ;;
44244424+ esac
42974425 for ac_exec_ext in '' $ac_executable_extensions; do
42984298- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42994299- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43004300- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44264426+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44274427+ ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
44284428+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43014429 break 2
43024430 fi
43034431done
···43094437fi
43104438PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43114439if test -n "$PKG_CONFIG"; then
43124312- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
43134313-$as_echo "$PKG_CONFIG" >&6; }
44404440+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
44414441+printf "%s\n" "$PKG_CONFIG" >&6; }
43144442else
43154315- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43164316-$as_echo "no" >&6; }
44434443+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44444444+printf "%s\n" "no" >&6; }
43174445fi
4318444643194447···43224450 ac_pt_PKG_CONFIG=$PKG_CONFIG
43234451 # Extract the first word of "pkg-config", so it can be a program name with args.
43244452set dummy pkg-config; ac_word=$2
43254325-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43264326-$as_echo_n "checking for $ac_word... " >&6; }
43274327-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
43284328- $as_echo_n "(cached) " >&6
43294329-else
44534453+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44544454+printf %s "checking for $ac_word... " >&6; }
44554455+if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
44564456+then :
44574457+ printf %s "(cached) " >&6
44584458+else $as_nop
43304459 case $ac_pt_PKG_CONFIG in
43314460 [\\/]* | ?:[\\/]*)
43324461 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
···43364465for as_dir in $PATH
43374466do
43384467 IFS=$as_save_IFS
43394339- test -z "$as_dir" && as_dir=.
44684468+ case $as_dir in #(((
44694469+ '') as_dir=./ ;;
44704470+ */) ;;
44714471+ *) as_dir=$as_dir/ ;;
44724472+ esac
43404473 for ac_exec_ext in '' $ac_executable_extensions; do
43414341- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43424342- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43434343- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44744474+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44754475+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
44764476+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43444477 break 2
43454478 fi
43464479done
···43524485fi
43534486ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43544487if test -n "$ac_pt_PKG_CONFIG"; then
43554355- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
43564356-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
44884488+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
44894489+printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
43574490else
43584358- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43594359-$as_echo "no" >&6; }
44914491+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44924492+printf "%s\n" "no" >&6; }
43604493fi
4361449443624495 if test "x$ac_pt_PKG_CONFIG" = x; then
···43644497 else
43654498 case $cross_compiling:$ac_tool_warned in
43664499yes:)
43674367-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
43684368-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
45004500+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
45014501+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
43694502ac_tool_warned=yes ;;
43704503esac
43714504 PKG_CONFIG=$ac_pt_PKG_CONFIG
···43774510fi
43784511if test -n "$PKG_CONFIG"; then
43794512 _pkg_min_version=0.9.0
43804380- { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
43814381-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
45134513+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
45144514+printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
43824515 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43834383- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43844384-$as_echo "yes" >&6; }
45164516+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45174517+printf "%s\n" "yes" >&6; }
43854518 else
43864386- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43874387-$as_echo "no" >&6; }
45194519+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45204520+printf "%s\n" "no" >&6; }
43884521 PKG_CONFIG=""
43894522 fi
43904523fi
43914391-# Make sure we can run config.sub.
43924392-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43934393- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
45244524+45254525+45264526+ # Make sure we can run config.sub.
45274527+$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
45284528+ as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4394452943954395-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
43964396-$as_echo_n "checking build system type... " >&6; }
43974397-if ${ac_cv_build+:} false; then :
43984398- $as_echo_n "(cached) " >&6
43994399-else
45304530+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
45314531+printf %s "checking build system type... " >&6; }
45324532+if test ${ac_cv_build+y}
45334533+then :
45344534+ printf %s "(cached) " >&6
45354535+else $as_nop
44004536 ac_build_alias=$build_alias
44014537test "x$ac_build_alias" = x &&
44024402- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
45384538+ ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
44034539test "x$ac_build_alias" = x &&
44044540 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
44054405-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
44064406- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
45414541+ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
45424542+ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4407454344084544fi
44094409-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
44104410-$as_echo "$ac_cv_build" >&6; }
45454545+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
45464546+printf "%s\n" "$ac_cv_build" >&6; }
44114547case $ac_cv_build in
44124548*-*-*) ;;
44134549*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
···44264562case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
442745634428456444294429-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
44304430-$as_echo_n "checking host system type... " >&6; }
44314431-if ${ac_cv_host+:} false; then :
44324432- $as_echo_n "(cached) " >&6
44334433-else
45654565+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
45664566+printf %s "checking host system type... " >&6; }
45674567+if test ${ac_cv_host+y}
45684568+then :
45694569+ printf %s "(cached) " >&6
45704570+else $as_nop
44344571 if test "x$host_alias" = x; then
44354572 ac_cv_host=$ac_cv_build
44364573else
44374437- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
44384438- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
45744574+ ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
45754575+ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
44394576fi
4440457744414578fi
44424442-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
44434443-$as_echo "$ac_cv_host" >&6; }
45794579+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
45804580+printf "%s\n" "$ac_cv_host" >&6; }
44444581case $ac_cv_host in
44454582*-*-*) ;;
44464583*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
···44594596case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
446045974461459844624462-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
44634463-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
44644464-if ${ac_cv_path_SED+:} false; then :
44654465- $as_echo_n "(cached) " >&6
44664466-else
45994599+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
46004600+printf %s "checking for a sed that does not truncate output... " >&6; }
46014601+if test ${ac_cv_path_SED+y}
46024602+then :
46034603+ printf %s "(cached) " >&6
46044604+else $as_nop
44674605 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
44684606 for ac_i in 1 2 3 4 5 6 7; do
44694607 ac_script="$ac_script$as_nl$ac_script"
···44774615for as_dir in $PATH
44784616do
44794617 IFS=$as_save_IFS
44804480- test -z "$as_dir" && as_dir=.
44814481- for ac_prog in sed gsed; do
46184618+ case $as_dir in #(((
46194619+ '') as_dir=./ ;;
46204620+ */) ;;
46214621+ *) as_dir=$as_dir/ ;;
46224622+ esac
46234623+ for ac_prog in sed gsed
46244624+ do
44824625 for ac_exec_ext in '' $ac_executable_extensions; do
44834483- ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
46264626+ ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
44844627 as_fn_executable_p "$ac_path_SED" || continue
44854628# Check for GNU ac_path_SED and select it if it is found.
44864629 # Check for GNU $ac_path_SED
···44894632 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
44904633*)
44914634 ac_count=0
44924492- $as_echo_n 0123456789 >"conftest.in"
46354635+ printf %s 0123456789 >"conftest.in"
44934636 while :
44944637 do
44954638 cat "conftest.in" "conftest.in" >"conftest.tmp"
44964639 mv "conftest.tmp" "conftest.in"
44974640 cp "conftest.in" "conftest.nl"
44984498- $as_echo '' >> "conftest.nl"
46414641+ printf "%s\n" '' >> "conftest.nl"
44994642 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
45004643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
45014644 as_fn_arith $ac_count + 1 && ac_count=$as_val
···45234666fi
4524466745254668fi
45264526-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
45274527-$as_echo "$ac_cv_path_SED" >&6; }
46694669+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
46704670+printf "%s\n" "$ac_cv_path_SED" >&6; }
45284671 SED="$ac_cv_path_SED"
45294672 rm -f conftest.sed
45304673···453446774535467845364679# Check whether --enable-selective-werror was given.
45374537-if test "${enable_selective_werror+set}" = set; then :
46804680+if test ${enable_selective_werror+y}
46814681+then :
45384682 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
45394539-else
46834683+else $as_nop
45404684 SELECTIVE_WERROR=yes
45414685fi
45424686···4569471345704714if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
45714715 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
45724572- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
45734573-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
45744574-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
45754575- $as_echo_n "(cached) " >&6
45764576-else
47164716+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
47174717+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
47184718+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
47194719+then :
47204720+ printf %s "(cached) " >&6
47214721+else $as_nop
45774722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45784723/* end confdefs.h. */
45794724int i;
45804725_ACEOF
45814581-if ac_fn_c_try_compile "$LINENO"; then :
47264726+if ac_fn_c_try_compile "$LINENO"
47274727+then :
45824728 xorg_cv_cc_flag_unknown_warning_option=yes
45834583-else
47294729+else $as_nop
45844730 xorg_cv_cc_flag_unknown_warning_option=no
45854731fi
45864586-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47324732+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
45874733fi
45884588-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
45894589-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
47344734+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
47354735+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
45904736 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
45914737 CFLAGS="$xorg_testset_save_CFLAGS"
45924738fi
···45964742 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
45974743 fi
45984744 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
45994599- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
46004600-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
46014601-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
46024602- $as_echo_n "(cached) " >&6
46034603-else
47454745+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
47464746+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
47474747+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
47484748+then :
47494749+ printf %s "(cached) " >&6
47504750+else $as_nop
46044751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46054752/* end confdefs.h. */
46064753int i;
46074754_ACEOF
46084608-if ac_fn_c_try_compile "$LINENO"; then :
47554755+if ac_fn_c_try_compile "$LINENO"
47564756+then :
46094757 xorg_cv_cc_flag_unused_command_line_argument=yes
46104610-else
47584758+else $as_nop
46114759 xorg_cv_cc_flag_unused_command_line_argument=no
46124760fi
46134613-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47614761+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
46144762fi
46154615-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
46164616-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
47634763+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
47644764+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
46174765 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
46184766 CFLAGS="$xorg_testset_save_CFLAGS"
46194767fi
···4631477946324780 CFLAGS="$CFLAGS -Wall"
4633478146344634- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
46354635-$as_echo_n "checking if $CC supports -Wall... " >&6; }
47824782+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
47834783+printf %s "checking if $CC supports -Wall... " >&6; }
46364784 cacheid=xorg_cv_cc_flag__Wall
46374637- if eval \${$cacheid+:} false; then :
46384638- $as_echo_n "(cached) " >&6
46394639-else
47854785+ if eval test \${$cacheid+y}
47864786+then :
47874787+ printf %s "(cached) " >&6
47884788+else $as_nop
46404789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46414790/* end confdefs.h. */
46424791int i;
46434792int
46444644-main ()
47934793+main (void)
46454794{
4646479546474796 ;
46484797 return 0;
46494798}
46504799_ACEOF
46514651-if ac_fn_c_try_link "$LINENO"; then :
48004800+if ac_fn_c_try_link "$LINENO"
48014801+then :
46524802 eval $cacheid=yes
46534653-else
48034803+else $as_nop
46544804 eval $cacheid=no
46554805fi
46564656-rm -f core conftest.err conftest.$ac_objext \
48064806+rm -f core conftest.err conftest.$ac_objext conftest.beam \
46574807 conftest$ac_exeext conftest.$ac_ext
46584808fi
46594809···46614811 CFLAGS="$xorg_testset_save_CFLAGS"
4662481246634813 eval supported=\$$cacheid
46644664- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
46654665-$as_echo "$supported" >&6; }
48144814+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
48154815+printf "%s\n" "$supported" >&6; }
46664816 if test "$supported" = "yes" ; then
46674817 BASE_CFLAGS="$BASE_CFLAGS -Wall"
46684818 found="yes"
···4687483746884838if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
46894839 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
46904690- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
46914691-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
46924692-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
46934693- $as_echo_n "(cached) " >&6
46944694-else
48404840+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
48414841+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
48424842+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
48434843+then :
48444844+ printf %s "(cached) " >&6
48454845+else $as_nop
46954846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46964847/* end confdefs.h. */
46974848int i;
46984849_ACEOF
46994699-if ac_fn_c_try_compile "$LINENO"; then :
48504850+if ac_fn_c_try_compile "$LINENO"
48514851+then :
47004852 xorg_cv_cc_flag_unknown_warning_option=yes
47014701-else
48534853+else $as_nop
47024854 xorg_cv_cc_flag_unknown_warning_option=no
47034855fi
47044704-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48564856+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
47054857fi
47064706-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
47074707-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
48584858+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
48594859+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
47084860 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
47094861 CFLAGS="$xorg_testset_save_CFLAGS"
47104862fi
···47144866 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
47154867 fi
47164868 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
47174717- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
47184718-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
47194719-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
47204720- $as_echo_n "(cached) " >&6
47214721-else
48694869+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
48704870+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
48714871+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
48724872+then :
48734873+ printf %s "(cached) " >&6
48744874+else $as_nop
47224875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47234876/* end confdefs.h. */
47244877int i;
47254878_ACEOF
47264726-if ac_fn_c_try_compile "$LINENO"; then :
48794879+if ac_fn_c_try_compile "$LINENO"
48804880+then :
47274881 xorg_cv_cc_flag_unused_command_line_argument=yes
47284728-else
48824882+else $as_nop
47294883 xorg_cv_cc_flag_unused_command_line_argument=no
47304884fi
47314731-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48854885+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
47324886fi
47334733-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
47344734-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
48874887+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
48884888+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
47354889 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
47364890 CFLAGS="$xorg_testset_save_CFLAGS"
47374891fi
···4749490347504904 CFLAGS="$CFLAGS -Wpointer-arith"
4751490547524752- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
47534753-$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
49064906+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
49074907+printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
47544908 cacheid=xorg_cv_cc_flag__Wpointer_arith
47554755- if eval \${$cacheid+:} false; then :
47564756- $as_echo_n "(cached) " >&6
47574757-else
49094909+ if eval test \${$cacheid+y}
49104910+then :
49114911+ printf %s "(cached) " >&6
49124912+else $as_nop
47584913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47594914/* end confdefs.h. */
47604915int i;
47614916int
47624762-main ()
49174917+main (void)
47634918{
4764491947654920 ;
47664921 return 0;
47674922}
47684923_ACEOF
47694769-if ac_fn_c_try_link "$LINENO"; then :
49244924+if ac_fn_c_try_link "$LINENO"
49254925+then :
47704926 eval $cacheid=yes
47714771-else
49274927+else $as_nop
47724928 eval $cacheid=no
47734929fi
47744774-rm -f core conftest.err conftest.$ac_objext \
49304930+rm -f core conftest.err conftest.$ac_objext conftest.beam \
47754931 conftest$ac_exeext conftest.$ac_ext
47764932fi
47774933···47794935 CFLAGS="$xorg_testset_save_CFLAGS"
4780493647814937 eval supported=\$$cacheid
47824782- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
47834783-$as_echo "$supported" >&6; }
49384938+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
49394939+printf "%s\n" "$supported" >&6; }
47844940 if test "$supported" = "yes" ; then
47854941 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
47864942 found="yes"
···4805496148064962if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
48074963 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
48084808- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
48094809-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
48104810-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
48114811- $as_echo_n "(cached) " >&6
48124812-else
49644964+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
49654965+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
49664966+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
49674967+then :
49684968+ printf %s "(cached) " >&6
49694969+else $as_nop
48134970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48144971/* end confdefs.h. */
48154972int i;
48164973_ACEOF
48174817-if ac_fn_c_try_compile "$LINENO"; then :
49744974+if ac_fn_c_try_compile "$LINENO"
49754975+then :
48184976 xorg_cv_cc_flag_unknown_warning_option=yes
48194819-else
49774977+else $as_nop
48204978 xorg_cv_cc_flag_unknown_warning_option=no
48214979fi
48224822-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49804980+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
48234981fi
48244824-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
48254825-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
49824982+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
49834983+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
48264984 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
48274985 CFLAGS="$xorg_testset_save_CFLAGS"
48284986fi
···48324990 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
48334991 fi
48344992 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
48354835- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
48364836-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
48374837-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
48384838- $as_echo_n "(cached) " >&6
48394839-else
49934993+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
49944994+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
49954995+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
49964996+then :
49974997+ printf %s "(cached) " >&6
49984998+else $as_nop
48404999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48415000/* end confdefs.h. */
48425001int i;
48435002_ACEOF
48444844-if ac_fn_c_try_compile "$LINENO"; then :
50035003+if ac_fn_c_try_compile "$LINENO"
50045004+then :
48455005 xorg_cv_cc_flag_unused_command_line_argument=yes
48464846-else
50065006+else $as_nop
48475007 xorg_cv_cc_flag_unused_command_line_argument=no
48485008fi
48494849-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50095009+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
48505010fi
48514851-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
48524852-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
50115011+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
50125012+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
48535013 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
48545014 CFLAGS="$xorg_testset_save_CFLAGS"
48555015fi
···4867502748685028 CFLAGS="$CFLAGS -Wmissing-declarations"
4869502948704870- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
48714871-$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
50305030+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
50315031+printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
48725032 cacheid=xorg_cv_cc_flag__Wmissing_declarations
48734873- if eval \${$cacheid+:} false; then :
48744874- $as_echo_n "(cached) " >&6
48754875-else
50335033+ if eval test \${$cacheid+y}
50345034+then :
50355035+ printf %s "(cached) " >&6
50365036+else $as_nop
48765037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48775038/* end confdefs.h. */
48785039int i;
48795040int
48804880-main ()
50415041+main (void)
48815042{
4882504348835044 ;
48845045 return 0;
48855046}
48865047_ACEOF
48874887-if ac_fn_c_try_link "$LINENO"; then :
50485048+if ac_fn_c_try_link "$LINENO"
50495049+then :
48885050 eval $cacheid=yes
48894889-else
50515051+else $as_nop
48905052 eval $cacheid=no
48915053fi
48924892-rm -f core conftest.err conftest.$ac_objext \
50545054+rm -f core conftest.err conftest.$ac_objext conftest.beam \
48935055 conftest$ac_exeext conftest.$ac_ext
48945056fi
48955057···48975059 CFLAGS="$xorg_testset_save_CFLAGS"
4898506048995061 eval supported=\$$cacheid
49004900- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
49014901-$as_echo "$supported" >&6; }
50625062+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
50635063+printf "%s\n" "$supported" >&6; }
49025064 if test "$supported" = "yes" ; then
49035065 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
49045066 found="yes"
···4923508549245086if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
49255087 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
49264926- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
49274927-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
49284928-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
49294929- $as_echo_n "(cached) " >&6
49304930-else
50885088+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
50895089+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
50905090+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
50915091+then :
50925092+ printf %s "(cached) " >&6
50935093+else $as_nop
49315094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49325095/* end confdefs.h. */
49335096int i;
49345097_ACEOF
49354935-if ac_fn_c_try_compile "$LINENO"; then :
50985098+if ac_fn_c_try_compile "$LINENO"
50995099+then :
49365100 xorg_cv_cc_flag_unknown_warning_option=yes
49374937-else
51015101+else $as_nop
49385102 xorg_cv_cc_flag_unknown_warning_option=no
49395103fi
49404940-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045104+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
49415105fi
49424942-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
49434943-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
51065106+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
51075107+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
49445108 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
49455109 CFLAGS="$xorg_testset_save_CFLAGS"
49465110fi
···49505114 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
49515115 fi
49525116 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
49534953- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
49544954-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
49554955-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
49564956- $as_echo_n "(cached) " >&6
49574957-else
51175117+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
51185118+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
51195119+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
51205120+then :
51215121+ printf %s "(cached) " >&6
51225122+else $as_nop
49585123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49595124/* end confdefs.h. */
49605125int i;
49615126_ACEOF
49624962-if ac_fn_c_try_compile "$LINENO"; then :
51275127+if ac_fn_c_try_compile "$LINENO"
51285128+then :
49635129 xorg_cv_cc_flag_unused_command_line_argument=yes
49644964-else
51305130+else $as_nop
49655131 xorg_cv_cc_flag_unused_command_line_argument=no
49665132fi
49674967-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51335133+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
49685134fi
49694969-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
49704970-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
51355135+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
51365136+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
49715137 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
49725138 CFLAGS="$xorg_testset_save_CFLAGS"
49735139fi
···4985515149865152 CFLAGS="$CFLAGS -Wformat=2"
4987515349884988- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
49894989-$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
51545154+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
51555155+printf %s "checking if $CC supports -Wformat=2... " >&6; }
49905156 cacheid=xorg_cv_cc_flag__Wformat_2
49914991- if eval \${$cacheid+:} false; then :
49924992- $as_echo_n "(cached) " >&6
49934993-else
51575157+ if eval test \${$cacheid+y}
51585158+then :
51595159+ printf %s "(cached) " >&6
51605160+else $as_nop
49945161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955162/* end confdefs.h. */
49965163int i;
49975164int
49984998-main ()
51655165+main (void)
49995166{
5000516750015168 ;
50025169 return 0;
50035170}
50045171_ACEOF
50055005-if ac_fn_c_try_link "$LINENO"; then :
51725172+if ac_fn_c_try_link "$LINENO"
51735173+then :
50065174 eval $cacheid=yes
50075007-else
51755175+else $as_nop
50085176 eval $cacheid=no
50095177fi
50105010-rm -f core conftest.err conftest.$ac_objext \
51785178+rm -f core conftest.err conftest.$ac_objext conftest.beam \
50115179 conftest$ac_exeext conftest.$ac_ext
50125180fi
50135181···50155183 CFLAGS="$xorg_testset_save_CFLAGS"
5016518450175185 eval supported=\$$cacheid
50185018- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
50195019-$as_echo "$supported" >&6; }
51865186+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
51875187+printf "%s\n" "$supported" >&6; }
50205188 if test "$supported" = "yes" ; then
50215189 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
50225190 found="yes"
···5034520250355203 CFLAGS="$CFLAGS -Wformat"
5036520450375037- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
50385038-$as_echo_n "checking if $CC supports -Wformat... " >&6; }
52055205+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
52065206+printf %s "checking if $CC supports -Wformat... " >&6; }
50395207 cacheid=xorg_cv_cc_flag__Wformat
50405040- if eval \${$cacheid+:} false; then :
50415041- $as_echo_n "(cached) " >&6
50425042-else
52085208+ if eval test \${$cacheid+y}
52095209+then :
52105210+ printf %s "(cached) " >&6
52115211+else $as_nop
50435212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445213/* end confdefs.h. */
50455214int i;
50465215int
50475047-main ()
52165216+main (void)
50485217{
5049521850505219 ;
50515220 return 0;
50525221}
50535222_ACEOF
50545054-if ac_fn_c_try_link "$LINENO"; then :
52235223+if ac_fn_c_try_link "$LINENO"
52245224+then :
50555225 eval $cacheid=yes
50565056-else
52265226+else $as_nop
50575227 eval $cacheid=no
50585228fi
50595059-rm -f core conftest.err conftest.$ac_objext \
52295229+rm -f core conftest.err conftest.$ac_objext conftest.beam \
50605230 conftest$ac_exeext conftest.$ac_ext
50615231fi
50625232···50645234 CFLAGS="$xorg_testset_save_CFLAGS"
5065523550665236 eval supported=\$$cacheid
50675067- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
50685068-$as_echo "$supported" >&6; }
52375237+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
52385238+printf "%s\n" "$supported" >&6; }
50695239 if test "$supported" = "yes" ; then
50705240 BASE_CFLAGS="$BASE_CFLAGS -Wformat"
50715241 found="yes"
···5092526250935263if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
50945264 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
50955095- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
50965096-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
50975097-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
50985098- $as_echo_n "(cached) " >&6
50995099-else
52655265+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
52665266+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
52675267+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
52685268+then :
52695269+ printf %s "(cached) " >&6
52705270+else $as_nop
51005271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51015272/* end confdefs.h. */
51025273int i;
51035274_ACEOF
51045104-if ac_fn_c_try_compile "$LINENO"; then :
52755275+if ac_fn_c_try_compile "$LINENO"
52765276+then :
51055277 xorg_cv_cc_flag_unknown_warning_option=yes
51065106-else
52785278+else $as_nop
51075279 xorg_cv_cc_flag_unknown_warning_option=no
51085280fi
51095109-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52815281+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
51105282fi
51115111-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
51125112-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
52835283+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
52845284+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
51135285 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
51145286 CFLAGS="$xorg_testset_save_CFLAGS"
51155287fi
···51195291 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
51205292 fi
51215293 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
51225122- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
51235123-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
51245124-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
51255125- $as_echo_n "(cached) " >&6
51265126-else
52945294+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
52955295+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
52965296+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
52975297+then :
52985298+ printf %s "(cached) " >&6
52995299+else $as_nop
51275300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51285301/* end confdefs.h. */
51295302int i;
51305303_ACEOF
51315131-if ac_fn_c_try_compile "$LINENO"; then :
53045304+if ac_fn_c_try_compile "$LINENO"
53055305+then :
51325306 xorg_cv_cc_flag_unused_command_line_argument=yes
51335133-else
53075307+else $as_nop
51345308 xorg_cv_cc_flag_unused_command_line_argument=no
51355309fi
51365136-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53105310+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
51375311fi
51385138-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
51395139-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
53125312+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
53135313+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
51405314 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
51415315 CFLAGS="$xorg_testset_save_CFLAGS"
51425316fi
···5154532851555329 CFLAGS="$CFLAGS -Wstrict-prototypes"
5156533051575157- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
51585158-$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
53315331+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
53325332+printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
51595333 cacheid=xorg_cv_cc_flag__Wstrict_prototypes
51605160- if eval \${$cacheid+:} false; then :
51615161- $as_echo_n "(cached) " >&6
51625162-else
53345334+ if eval test \${$cacheid+y}
53355335+then :
53365336+ printf %s "(cached) " >&6
53375337+else $as_nop
51635338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51645339/* end confdefs.h. */
51655340int i;
51665341int
51675167-main ()
53425342+main (void)
51685343{
5169534451705345 ;
51715346 return 0;
51725347}
51735348_ACEOF
51745174-if ac_fn_c_try_link "$LINENO"; then :
53495349+if ac_fn_c_try_link "$LINENO"
53505350+then :
51755351 eval $cacheid=yes
51765176-else
53525352+else $as_nop
51775353 eval $cacheid=no
51785354fi
51795179-rm -f core conftest.err conftest.$ac_objext \
53555355+rm -f core conftest.err conftest.$ac_objext conftest.beam \
51805356 conftest$ac_exeext conftest.$ac_ext
51815357fi
51825358···51845360 CFLAGS="$xorg_testset_save_CFLAGS"
5185536151865362 eval supported=\$$cacheid
51875187- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
51885188-$as_echo "$supported" >&6; }
53635363+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
53645364+printf "%s\n" "$supported" >&6; }
51895365 if test "$supported" = "yes" ; then
51905366 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
51915367 found="yes"
···5210538652115387if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
52125388 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
52135213- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
52145214-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
52155215-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
52165216- $as_echo_n "(cached) " >&6
52175217-else
53895389+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
53905390+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
53915391+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
53925392+then :
53935393+ printf %s "(cached) " >&6
53945394+else $as_nop
52185395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52195396/* end confdefs.h. */
52205397int i;
52215398_ACEOF
52225222-if ac_fn_c_try_compile "$LINENO"; then :
53995399+if ac_fn_c_try_compile "$LINENO"
54005400+then :
52235401 xorg_cv_cc_flag_unknown_warning_option=yes
52245224-else
54025402+else $as_nop
52255403 xorg_cv_cc_flag_unknown_warning_option=no
52265404fi
52275227-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54055405+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52285406fi
52295229-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
52305230-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
54075407+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
54085408+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
52315409 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
52325410 CFLAGS="$xorg_testset_save_CFLAGS"
52335411fi
···52375415 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
52385416 fi
52395417 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
52405240- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
52415241-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
52425242-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
52435243- $as_echo_n "(cached) " >&6
52445244-else
54185418+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
54195419+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
54205420+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
54215421+then :
54225422+ printf %s "(cached) " >&6
54235423+else $as_nop
52455424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52465425/* end confdefs.h. */
52475426int i;
52485427_ACEOF
52495249-if ac_fn_c_try_compile "$LINENO"; then :
54285428+if ac_fn_c_try_compile "$LINENO"
54295429+then :
52505430 xorg_cv_cc_flag_unused_command_line_argument=yes
52515251-else
54315431+else $as_nop
52525432 xorg_cv_cc_flag_unused_command_line_argument=no
52535433fi
52545254-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54345434+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52555435fi
52565256-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
52575257-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
54365436+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
54375437+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
52585438 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
52595439 CFLAGS="$xorg_testset_save_CFLAGS"
52605440fi
···5272545252735453 CFLAGS="$CFLAGS -Wmissing-prototypes"
5274545452755275- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
52765276-$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
54555455+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
54565456+printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
52775457 cacheid=xorg_cv_cc_flag__Wmissing_prototypes
52785278- if eval \${$cacheid+:} false; then :
52795279- $as_echo_n "(cached) " >&6
52805280-else
54585458+ if eval test \${$cacheid+y}
54595459+then :
54605460+ printf %s "(cached) " >&6
54615461+else $as_nop
52815462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52825463/* end confdefs.h. */
52835464int i;
52845465int
52855285-main ()
54665466+main (void)
52865467{
5287546852885469 ;
52895470 return 0;
52905471}
52915472_ACEOF
52925292-if ac_fn_c_try_link "$LINENO"; then :
54735473+if ac_fn_c_try_link "$LINENO"
54745474+then :
52935475 eval $cacheid=yes
52945294-else
54765476+else $as_nop
52955477 eval $cacheid=no
52965478fi
52975297-rm -f core conftest.err conftest.$ac_objext \
54795479+rm -f core conftest.err conftest.$ac_objext conftest.beam \
52985480 conftest$ac_exeext conftest.$ac_ext
52995481fi
53005482···53025484 CFLAGS="$xorg_testset_save_CFLAGS"
5303548553045486 eval supported=\$$cacheid
53055305- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
53065306-$as_echo "$supported" >&6; }
54875487+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
54885488+printf "%s\n" "$supported" >&6; }
53075489 if test "$supported" = "yes" ; then
53085490 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
53095491 found="yes"
···5328551053295511if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
53305512 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
53315331- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
53325332-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
53335333-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
53345334- $as_echo_n "(cached) " >&6
53355335-else
55135513+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
55145514+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
55155515+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
55165516+then :
55175517+ printf %s "(cached) " >&6
55185518+else $as_nop
53365519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53375520/* end confdefs.h. */
53385521int i;
53395522_ACEOF
53405340-if ac_fn_c_try_compile "$LINENO"; then :
55235523+if ac_fn_c_try_compile "$LINENO"
55245524+then :
53415525 xorg_cv_cc_flag_unknown_warning_option=yes
53425342-else
55265526+else $as_nop
53435527 xorg_cv_cc_flag_unknown_warning_option=no
53445528fi
53455345-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55295529+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
53465530fi
53475347-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
53485348-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
55315531+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
55325532+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
53495533 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
53505534 CFLAGS="$xorg_testset_save_CFLAGS"
53515535fi
···53555539 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
53565540 fi
53575541 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
53585358- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
53595359-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
53605360-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
53615361- $as_echo_n "(cached) " >&6
53625362-else
55425542+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
55435543+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
55445544+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
55455545+then :
55465546+ printf %s "(cached) " >&6
55475547+else $as_nop
53635548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53645549/* end confdefs.h. */
53655550int i;
53665551_ACEOF
53675367-if ac_fn_c_try_compile "$LINENO"; then :
55525552+if ac_fn_c_try_compile "$LINENO"
55535553+then :
53685554 xorg_cv_cc_flag_unused_command_line_argument=yes
53695369-else
55555555+else $as_nop
53705556 xorg_cv_cc_flag_unused_command_line_argument=no
53715557fi
53725372-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55585558+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
53735559fi
53745374-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
53755375-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
55605560+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
55615561+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
53765562 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
53775563 CFLAGS="$xorg_testset_save_CFLAGS"
53785564fi
···5390557653915577 CFLAGS="$CFLAGS -Wnested-externs"
5392557853935393- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
53945394-$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
55795579+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
55805580+printf %s "checking if $CC supports -Wnested-externs... " >&6; }
53955581 cacheid=xorg_cv_cc_flag__Wnested_externs
53965396- if eval \${$cacheid+:} false; then :
53975397- $as_echo_n "(cached) " >&6
53985398-else
55825582+ if eval test \${$cacheid+y}
55835583+then :
55845584+ printf %s "(cached) " >&6
55855585+else $as_nop
53995586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54005587/* end confdefs.h. */
54015588int i;
54025589int
54035403-main ()
55905590+main (void)
54045591{
5405559254065593 ;
54075594 return 0;
54085595}
54095596_ACEOF
54105410-if ac_fn_c_try_link "$LINENO"; then :
55975597+if ac_fn_c_try_link "$LINENO"
55985598+then :
54115599 eval $cacheid=yes
54125412-else
56005600+else $as_nop
54135601 eval $cacheid=no
54145602fi
54155415-rm -f core conftest.err conftest.$ac_objext \
56035603+rm -f core conftest.err conftest.$ac_objext conftest.beam \
54165604 conftest$ac_exeext conftest.$ac_ext
54175605fi
54185606···54205608 CFLAGS="$xorg_testset_save_CFLAGS"
5421560954225610 eval supported=\$$cacheid
54235423- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
54245424-$as_echo "$supported" >&6; }
56115611+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
56125612+printf "%s\n" "$supported" >&6; }
54255613 if test "$supported" = "yes" ; then
54265614 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
54275615 found="yes"
···5446563454475635if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
54485636 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
54495449- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
54505450-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
54515451-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
54525452- $as_echo_n "(cached) " >&6
54535453-else
56375637+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
56385638+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
56395639+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
56405640+then :
56415641+ printf %s "(cached) " >&6
56425642+else $as_nop
54545643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555644/* end confdefs.h. */
54565645int i;
54575646_ACEOF
54585458-if ac_fn_c_try_compile "$LINENO"; then :
56475647+if ac_fn_c_try_compile "$LINENO"
56485648+then :
54595649 xorg_cv_cc_flag_unknown_warning_option=yes
54605460-else
56505650+else $as_nop
54615651 xorg_cv_cc_flag_unknown_warning_option=no
54625652fi
54635463-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56535653+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
54645654fi
54655465-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
54665466-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
56555655+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
56565656+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
54675657 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
54685658 CFLAGS="$xorg_testset_save_CFLAGS"
54695659fi
···54735663 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
54745664 fi
54755665 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
54765476- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
54775477-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
54785478-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
54795479- $as_echo_n "(cached) " >&6
54805480-else
56665666+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
56675667+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
56685668+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
56695669+then :
56705670+ printf %s "(cached) " >&6
56715671+else $as_nop
54815672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54825673/* end confdefs.h. */
54835674int i;
54845675_ACEOF
54855485-if ac_fn_c_try_compile "$LINENO"; then :
56765676+if ac_fn_c_try_compile "$LINENO"
56775677+then :
54865678 xorg_cv_cc_flag_unused_command_line_argument=yes
54875487-else
56795679+else $as_nop
54885680 xorg_cv_cc_flag_unused_command_line_argument=no
54895681fi
54905490-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825682+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
54915683fi
54925492-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
54935493-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
56845684+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
56855685+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
54945686 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
54955687 CFLAGS="$xorg_testset_save_CFLAGS"
54965688fi
···5508570055095701 CFLAGS="$CFLAGS -Wbad-function-cast"
5510570255115511- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
55125512-$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
57035703+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
57045704+printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
55135705 cacheid=xorg_cv_cc_flag__Wbad_function_cast
55145514- if eval \${$cacheid+:} false; then :
55155515- $as_echo_n "(cached) " >&6
55165516-else
57065706+ if eval test \${$cacheid+y}
57075707+then :
57085708+ printf %s "(cached) " >&6
57095709+else $as_nop
55175710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55185711/* end confdefs.h. */
55195712int i;
55205713int
55215521-main ()
57145714+main (void)
55225715{
5523571655245717 ;
55255718 return 0;
55265719}
55275720_ACEOF
55285528-if ac_fn_c_try_link "$LINENO"; then :
57215721+if ac_fn_c_try_link "$LINENO"
57225722+then :
55295723 eval $cacheid=yes
55305530-else
57245724+else $as_nop
55315725 eval $cacheid=no
55325726fi
55335533-rm -f core conftest.err conftest.$ac_objext \
57275727+rm -f core conftest.err conftest.$ac_objext conftest.beam \
55345728 conftest$ac_exeext conftest.$ac_ext
55355729fi
55365730···55385732 CFLAGS="$xorg_testset_save_CFLAGS"
5539573355405734 eval supported=\$$cacheid
55415541- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
55425542-$as_echo "$supported" >&6; }
57355735+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
57365736+printf "%s\n" "$supported" >&6; }
55435737 if test "$supported" = "yes" ; then
55445738 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
55455739 found="yes"
···5564575855655759if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
55665760 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
55675567- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
55685568-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
55695569-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
55705570- $as_echo_n "(cached) " >&6
55715571-else
57615761+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
57625762+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
57635763+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
57645764+then :
57655765+ printf %s "(cached) " >&6
57665766+else $as_nop
55725767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55735768/* end confdefs.h. */
55745769int i;
55755770_ACEOF
55765576-if ac_fn_c_try_compile "$LINENO"; then :
57715771+if ac_fn_c_try_compile "$LINENO"
57725772+then :
55775773 xorg_cv_cc_flag_unknown_warning_option=yes
55785578-else
57745774+else $as_nop
55795775 xorg_cv_cc_flag_unknown_warning_option=no
55805776fi
55815581-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775777+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
55825778fi
55835583-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
55845584-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
57795779+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
57805780+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
55855781 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
55865782 CFLAGS="$xorg_testset_save_CFLAGS"
55875783fi
···55915787 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
55925788 fi
55935789 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
55945594- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
55955595-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
55965596-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
55975597- $as_echo_n "(cached) " >&6
55985598-else
57905790+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
57915791+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
57925792+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
57935793+then :
57945794+ printf %s "(cached) " >&6
57955795+else $as_nop
55995796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56005797/* end confdefs.h. */
56015798int i;
56025799_ACEOF
56035603-if ac_fn_c_try_compile "$LINENO"; then :
58005800+if ac_fn_c_try_compile "$LINENO"
58015801+then :
56045802 xorg_cv_cc_flag_unused_command_line_argument=yes
56055605-else
58035803+else $as_nop
56065804 xorg_cv_cc_flag_unused_command_line_argument=no
56075805fi
56085608-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58065806+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
56095807fi
56105610-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
56115611-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
58085808+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
58095809+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
56125810 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
56135811 CFLAGS="$xorg_testset_save_CFLAGS"
56145812fi
···5626582456275825 CFLAGS="$CFLAGS -Wold-style-definition"
5628582656295629- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
56305630-$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
58275827+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
58285828+printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
56315829 cacheid=xorg_cv_cc_flag__Wold_style_definition
56325632- if eval \${$cacheid+:} false; then :
56335633- $as_echo_n "(cached) " >&6
56345634-else
58305830+ if eval test \${$cacheid+y}
58315831+then :
58325832+ printf %s "(cached) " >&6
58335833+else $as_nop
56355834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56365835/* end confdefs.h. */
56375836int i;
56385837int
56395639-main ()
58385838+main (void)
56405839{
5641584056425841 ;
56435842 return 0;
56445843}
56455844_ACEOF
56465646-if ac_fn_c_try_link "$LINENO"; then :
58455845+if ac_fn_c_try_link "$LINENO"
58465846+then :
56475847 eval $cacheid=yes
56485648-else
58485848+else $as_nop
56495849 eval $cacheid=no
56505850fi
56515651-rm -f core conftest.err conftest.$ac_objext \
58515851+rm -f core conftest.err conftest.$ac_objext conftest.beam \
56525852 conftest$ac_exeext conftest.$ac_ext
56535853fi
56545854···56565856 CFLAGS="$xorg_testset_save_CFLAGS"
5657585756585858 eval supported=\$$cacheid
56595659- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
56605660-$as_echo "$supported" >&6; }
58595859+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
58605860+printf "%s\n" "$supported" >&6; }
56615861 if test "$supported" = "yes" ; then
56625862 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
56635863 found="yes"
···5675587556765876 CFLAGS="$CFLAGS -fd"
5677587756785678- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
56795679-$as_echo_n "checking if $CC supports -fd... " >&6; }
58785878+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
58795879+printf %s "checking if $CC supports -fd... " >&6; }
56805880 cacheid=xorg_cv_cc_flag__fd
56815681- if eval \${$cacheid+:} false; then :
56825682- $as_echo_n "(cached) " >&6
56835683-else
58815881+ if eval test \${$cacheid+y}
58825882+then :
58835883+ printf %s "(cached) " >&6
58845884+else $as_nop
56845885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56855886/* end confdefs.h. */
56865887int i;
56875888int
56885688-main ()
58895889+main (void)
56895890{
5690589156915892 ;
56925893 return 0;
56935894}
56945895_ACEOF
56955695-if ac_fn_c_try_link "$LINENO"; then :
58965896+if ac_fn_c_try_link "$LINENO"
58975897+then :
56965898 eval $cacheid=yes
56975697-else
58995899+else $as_nop
56985900 eval $cacheid=no
56995901fi
57005700-rm -f core conftest.err conftest.$ac_objext \
59025902+rm -f core conftest.err conftest.$ac_objext conftest.beam \
57015903 conftest$ac_exeext conftest.$ac_ext
57025904fi
57035905···57055907 CFLAGS="$xorg_testset_save_CFLAGS"
5706590857075909 eval supported=\$$cacheid
57085708- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
57095709-$as_echo "$supported" >&6; }
59105910+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
59115911+printf "%s\n" "$supported" >&6; }
57105912 if test "$supported" = "yes" ; then
57115913 BASE_CFLAGS="$BASE_CFLAGS -fd"
57125914 found="yes"
···5731593357325934if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
57335935 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
57345734- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
57355735-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
57365736-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
57375737- $as_echo_n "(cached) " >&6
57385738-else
59365936+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
59375937+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
59385938+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
59395939+then :
59405940+ printf %s "(cached) " >&6
59415941+else $as_nop
57395942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57405943/* end confdefs.h. */
57415944int i;
57425945_ACEOF
57435743-if ac_fn_c_try_compile "$LINENO"; then :
59465946+if ac_fn_c_try_compile "$LINENO"
59475947+then :
57445948 xorg_cv_cc_flag_unknown_warning_option=yes
57455745-else
59495949+else $as_nop
57465950 xorg_cv_cc_flag_unknown_warning_option=no
57475951fi
57485748-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59525952+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
57495953fi
57505750-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
57515751-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
59545954+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
59555955+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
57525956 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
57535957 CFLAGS="$xorg_testset_save_CFLAGS"
57545958fi
···57585962 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
57595963 fi
57605964 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
57615761- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
57625762-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
57635763-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
57645764- $as_echo_n "(cached) " >&6
57655765-else
59655965+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
59665966+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
59675967+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
59685968+then :
59695969+ printf %s "(cached) " >&6
59705970+else $as_nop
57665971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57675972/* end confdefs.h. */
57685973int i;
57695974_ACEOF
57705770-if ac_fn_c_try_compile "$LINENO"; then :
59755975+if ac_fn_c_try_compile "$LINENO"
59765976+then :
57715977 xorg_cv_cc_flag_unused_command_line_argument=yes
57725772-else
59785978+else $as_nop
57735979 xorg_cv_cc_flag_unused_command_line_argument=no
57745980fi
57755775-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59815981+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
57765982fi
57775777-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
57785778-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
59835983+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
59845984+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
57795985 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
57805986 CFLAGS="$xorg_testset_save_CFLAGS"
57815987fi
···5793599957946000 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5795600157965796- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
57975797-$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
60026002+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
60036003+printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
57986004 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
57995799- if eval \${$cacheid+:} false; then :
58005800- $as_echo_n "(cached) " >&6
58015801-else
60056005+ if eval test \${$cacheid+y}
60066006+then :
60076007+ printf %s "(cached) " >&6
60086008+else $as_nop
58026009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58036010/* end confdefs.h. */
58046011int i;
58056012int
58065806-main ()
60136013+main (void)
58076014{
5808601558096016 ;
58106017 return 0;
58116018}
58126019_ACEOF
58135813-if ac_fn_c_try_link "$LINENO"; then :
60206020+if ac_fn_c_try_link "$LINENO"
60216021+then :
58146022 eval $cacheid=yes
58155815-else
60236023+else $as_nop
58166024 eval $cacheid=no
58176025fi
58185818-rm -f core conftest.err conftest.$ac_objext \
60266026+rm -f core conftest.err conftest.$ac_objext conftest.beam \
58196027 conftest$ac_exeext conftest.$ac_ext
58206028fi
58216029···58236031 CFLAGS="$xorg_testset_save_CFLAGS"
5824603258256033 eval supported=\$$cacheid
58265826- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
58275827-$as_echo "$supported" >&6; }
60346034+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
60356035+printf "%s\n" "$supported" >&6; }
58286036 if test "$supported" = "yes" ; then
58296037 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
58306038 found="yes"
···5853606158546062if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
58556063 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
58565856- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
58575857-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
58585858-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
58595859- $as_echo_n "(cached) " >&6
58605860-else
60646064+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
60656065+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
60666066+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
60676067+then :
60686068+ printf %s "(cached) " >&6
60696069+else $as_nop
58616070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58626071/* end confdefs.h. */
58636072int i;
58646073_ACEOF
58655865-if ac_fn_c_try_compile "$LINENO"; then :
60746074+if ac_fn_c_try_compile "$LINENO"
60756075+then :
58666076 xorg_cv_cc_flag_unknown_warning_option=yes
58675867-else
60776077+else $as_nop
58686078 xorg_cv_cc_flag_unknown_warning_option=no
58696079fi
58705870-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60806080+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
58716081fi
58725872-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
58735873-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
60826082+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
60836083+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
58746084 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
58756085 CFLAGS="$xorg_testset_save_CFLAGS"
58766086fi
···58806090 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
58816091 fi
58826092 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
58835883- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
58845884-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
58855885-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
58865886- $as_echo_n "(cached) " >&6
58875887-else
60936093+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
60946094+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
60956095+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
60966096+then :
60976097+ printf %s "(cached) " >&6
60986098+else $as_nop
58886099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58896100/* end confdefs.h. */
58906101int i;
58916102_ACEOF
58925892-if ac_fn_c_try_compile "$LINENO"; then :
61036103+if ac_fn_c_try_compile "$LINENO"
61046104+then :
58936105 xorg_cv_cc_flag_unused_command_line_argument=yes
58945894-else
61066106+else $as_nop
58956107 xorg_cv_cc_flag_unused_command_line_argument=no
58966108fi
58975897-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61096109+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
58986110fi
58995899-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
59005900-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
61116111+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
61126112+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
59016113 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
59026114 CFLAGS="$xorg_testset_save_CFLAGS"
59036115fi
···5915612759166128 CFLAGS="$CFLAGS -Wunused"
5917612959185918- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
59195919-$as_echo_n "checking if $CC supports -Wunused... " >&6; }
61306130+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
61316131+printf %s "checking if $CC supports -Wunused... " >&6; }
59206132 cacheid=xorg_cv_cc_flag__Wunused
59215921- if eval \${$cacheid+:} false; then :
59225922- $as_echo_n "(cached) " >&6
59235923-else
61336133+ if eval test \${$cacheid+y}
61346134+then :
61356135+ printf %s "(cached) " >&6
61366136+else $as_nop
59246137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59256138/* end confdefs.h. */
59266139int i;
59276140int
59285928-main ()
61416141+main (void)
59296142{
5930614359316144 ;
59326145 return 0;
59336146}
59346147_ACEOF
59355935-if ac_fn_c_try_link "$LINENO"; then :
61486148+if ac_fn_c_try_link "$LINENO"
61496149+then :
59366150 eval $cacheid=yes
59375937-else
61516151+else $as_nop
59386152 eval $cacheid=no
59396153fi
59405940-rm -f core conftest.err conftest.$ac_objext \
61546154+rm -f core conftest.err conftest.$ac_objext conftest.beam \
59416155 conftest$ac_exeext conftest.$ac_ext
59426156fi
59436157···59456159 CFLAGS="$xorg_testset_save_CFLAGS"
5946616059476161 eval supported=\$$cacheid
59485948- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
59495949-$as_echo "$supported" >&6; }
61626162+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
61636163+printf "%s\n" "$supported" >&6; }
59506164 if test "$supported" = "yes" ; then
59516165 BASE_CFLAGS="$BASE_CFLAGS -Wunused"
59526166 found="yes"
···5971618559726186if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
59736187 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
59745974- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
59755975-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
59765976-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
59775977- $as_echo_n "(cached) " >&6
59785978-else
61886188+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
61896189+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
61906190+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
61916191+then :
61926192+ printf %s "(cached) " >&6
61936193+else $as_nop
59796194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59806195/* end confdefs.h. */
59816196int i;
59826197_ACEOF
59835983-if ac_fn_c_try_compile "$LINENO"; then :
61986198+if ac_fn_c_try_compile "$LINENO"
61996199+then :
59846200 xorg_cv_cc_flag_unknown_warning_option=yes
59855985-else
62016201+else $as_nop
59866202 xorg_cv_cc_flag_unknown_warning_option=no
59876203fi
59885988-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62046204+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
59896205fi
59905990-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
59915991-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
62066206+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
62076207+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
59926208 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
59936209 CFLAGS="$xorg_testset_save_CFLAGS"
59946210fi
···59986214 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
59996215 fi
60006216 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
60016001- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
60026002-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
60036003-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
60046004- $as_echo_n "(cached) " >&6
60056005-else
62176217+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
62186218+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
62196219+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
62206220+then :
62216221+ printf %s "(cached) " >&6
62226222+else $as_nop
60066223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60076224/* end confdefs.h. */
60086225int i;
60096226_ACEOF
60106010-if ac_fn_c_try_compile "$LINENO"; then :
62276227+if ac_fn_c_try_compile "$LINENO"
62286228+then :
60116229 xorg_cv_cc_flag_unused_command_line_argument=yes
60126012-else
62306230+else $as_nop
60136231 xorg_cv_cc_flag_unused_command_line_argument=no
60146232fi
60156015-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62336233+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
60166234fi
60176017-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
60186018-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
62356235+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
62366236+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
60196237 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
60206238 CFLAGS="$xorg_testset_save_CFLAGS"
60216239fi
···6033625160346252 CFLAGS="$CFLAGS -Wuninitialized"
6035625360366036- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
60376037-$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
62546254+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
62556255+printf %s "checking if $CC supports -Wuninitialized... " >&6; }
60386256 cacheid=xorg_cv_cc_flag__Wuninitialized
60396039- if eval \${$cacheid+:} false; then :
60406040- $as_echo_n "(cached) " >&6
60416041-else
62576257+ if eval test \${$cacheid+y}
62586258+then :
62596259+ printf %s "(cached) " >&6
62606260+else $as_nop
60426261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60436262/* end confdefs.h. */
60446263int i;
60456264int
60466046-main ()
62656265+main (void)
60476266{
6048626760496268 ;
60506269 return 0;
60516270}
60526271_ACEOF
60536053-if ac_fn_c_try_link "$LINENO"; then :
62726272+if ac_fn_c_try_link "$LINENO"
62736273+then :
60546274 eval $cacheid=yes
60556055-else
62756275+else $as_nop
60566276 eval $cacheid=no
60576277fi
60586058-rm -f core conftest.err conftest.$ac_objext \
62786278+rm -f core conftest.err conftest.$ac_objext conftest.beam \
60596279 conftest$ac_exeext conftest.$ac_ext
60606280fi
60616281···60636283 CFLAGS="$xorg_testset_save_CFLAGS"
6064628460656285 eval supported=\$$cacheid
60666066- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
60676067-$as_echo "$supported" >&6; }
62866286+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
62876287+printf "%s\n" "$supported" >&6; }
60686288 if test "$supported" = "yes" ; then
60696289 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
60706290 found="yes"
···6089630960906310if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
60916311 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
60926092- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
60936093-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
60946094-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
60956095- $as_echo_n "(cached) " >&6
60966096-else
63126312+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
63136313+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
63146314+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
63156315+then :
63166316+ printf %s "(cached) " >&6
63176317+else $as_nop
60976318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60986319/* end confdefs.h. */
60996320int i;
61006321_ACEOF
61016101-if ac_fn_c_try_compile "$LINENO"; then :
63226322+if ac_fn_c_try_compile "$LINENO"
63236323+then :
61026324 xorg_cv_cc_flag_unknown_warning_option=yes
61036103-else
63256325+else $as_nop
61046326 xorg_cv_cc_flag_unknown_warning_option=no
61056327fi
61066106-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63286328+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
61076329fi
61086108-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
61096109-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
63306330+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
63316331+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
61106332 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
61116333 CFLAGS="$xorg_testset_save_CFLAGS"
61126334fi
···61166338 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
61176339 fi
61186340 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
61196119- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
61206120-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
61216121-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
61226122- $as_echo_n "(cached) " >&6
61236123-else
63416341+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
63426342+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
63436343+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
63446344+then :
63456345+ printf %s "(cached) " >&6
63466346+else $as_nop
61246347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61256348/* end confdefs.h. */
61266349int i;
61276350_ACEOF
61286128-if ac_fn_c_try_compile "$LINENO"; then :
63516351+if ac_fn_c_try_compile "$LINENO"
63526352+then :
61296353 xorg_cv_cc_flag_unused_command_line_argument=yes
61306130-else
63546354+else $as_nop
61316355 xorg_cv_cc_flag_unused_command_line_argument=no
61326356fi
61336133-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63576357+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
61346358fi
61356135-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
61366136-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
63596359+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
63606360+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
61376361 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
61386362 CFLAGS="$xorg_testset_save_CFLAGS"
61396363fi
···6151637561526376 CFLAGS="$CFLAGS -Wshadow"
6153637761546154- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
61556155-$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
63786378+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
63796379+printf %s "checking if $CC supports -Wshadow... " >&6; }
61566380 cacheid=xorg_cv_cc_flag__Wshadow
61576157- if eval \${$cacheid+:} false; then :
61586158- $as_echo_n "(cached) " >&6
61596159-else
63816381+ if eval test \${$cacheid+y}
63826382+then :
63836383+ printf %s "(cached) " >&6
63846384+else $as_nop
61606385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61616386/* end confdefs.h. */
61626387int i;
61636388int
61646164-main ()
63896389+main (void)
61656390{
6166639161676392 ;
61686393 return 0;
61696394}
61706395_ACEOF
61716171-if ac_fn_c_try_link "$LINENO"; then :
63966396+if ac_fn_c_try_link "$LINENO"
63976397+then :
61726398 eval $cacheid=yes
61736173-else
63996399+else $as_nop
61746400 eval $cacheid=no
61756401fi
61766176-rm -f core conftest.err conftest.$ac_objext \
64026402+rm -f core conftest.err conftest.$ac_objext conftest.beam \
61776403 conftest$ac_exeext conftest.$ac_ext
61786404fi
61796405···61816407 CFLAGS="$xorg_testset_save_CFLAGS"
6182640861836409 eval supported=\$$cacheid
61846184- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
61856185-$as_echo "$supported" >&6; }
64106410+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
64116411+printf "%s\n" "$supported" >&6; }
61866412 if test "$supported" = "yes" ; then
61876413 BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
61886414 found="yes"
···6207643362086434if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
62096435 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
62106210- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
62116211-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
62126212-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
62136213- $as_echo_n "(cached) " >&6
62146214-else
64366436+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
64376437+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
64386438+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
64396439+then :
64406440+ printf %s "(cached) " >&6
64416441+else $as_nop
62156442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62166443/* end confdefs.h. */
62176444int i;
62186445_ACEOF
62196219-if ac_fn_c_try_compile "$LINENO"; then :
64466446+if ac_fn_c_try_compile "$LINENO"
64476447+then :
62206448 xorg_cv_cc_flag_unknown_warning_option=yes
62216221-else
64496449+else $as_nop
62226450 xorg_cv_cc_flag_unknown_warning_option=no
62236451fi
62246224-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64526452+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
62256453fi
62266226-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
62276227-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
64546454+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
64556455+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
62286456 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
62296457 CFLAGS="$xorg_testset_save_CFLAGS"
62306458fi
···62346462 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
62356463 fi
62366464 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
62376237- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
62386238-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
62396239-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
62406240- $as_echo_n "(cached) " >&6
62416241-else
64656465+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
64666466+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
64676467+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
64686468+then :
64696469+ printf %s "(cached) " >&6
64706470+else $as_nop
62426471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62436472/* end confdefs.h. */
62446473int i;
62456474_ACEOF
62466246-if ac_fn_c_try_compile "$LINENO"; then :
64756475+if ac_fn_c_try_compile "$LINENO"
64766476+then :
62476477 xorg_cv_cc_flag_unused_command_line_argument=yes
62486248-else
64786478+else $as_nop
62496479 xorg_cv_cc_flag_unused_command_line_argument=no
62506480fi
62516251-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64816481+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
62526482fi
62536253-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
62546254-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
64836483+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
64846484+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
62556485 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
62566486 CFLAGS="$xorg_testset_save_CFLAGS"
62576487fi
···6269649962706500 CFLAGS="$CFLAGS -Wmissing-noreturn"
6271650162726272- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
62736273-$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
65026502+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
65036503+printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
62746504 cacheid=xorg_cv_cc_flag__Wmissing_noreturn
62756275- if eval \${$cacheid+:} false; then :
62766276- $as_echo_n "(cached) " >&6
62776277-else
65056505+ if eval test \${$cacheid+y}
65066506+then :
65076507+ printf %s "(cached) " >&6
65086508+else $as_nop
62786509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62796510/* end confdefs.h. */
62806511int i;
62816512int
62826282-main ()
65136513+main (void)
62836514{
6284651562856516 ;
62866517 return 0;
62876518}
62886519_ACEOF
62896289-if ac_fn_c_try_link "$LINENO"; then :
65206520+if ac_fn_c_try_link "$LINENO"
65216521+then :
62906522 eval $cacheid=yes
62916291-else
65236523+else $as_nop
62926524 eval $cacheid=no
62936525fi
62946294-rm -f core conftest.err conftest.$ac_objext \
65266526+rm -f core conftest.err conftest.$ac_objext conftest.beam \
62956527 conftest$ac_exeext conftest.$ac_ext
62966528fi
62976529···62996531 CFLAGS="$xorg_testset_save_CFLAGS"
6300653263016533 eval supported=\$$cacheid
63026302- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
63036303-$as_echo "$supported" >&6; }
65346534+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
65356535+printf "%s\n" "$supported" >&6; }
63046536 if test "$supported" = "yes" ; then
63056537 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
63066538 found="yes"
···6325655763266558if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
63276559 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
63286328- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
63296329-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
63306330-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
63316331- $as_echo_n "(cached) " >&6
63326332-else
65606560+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
65616561+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
65626562+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
65636563+then :
65646564+ printf %s "(cached) " >&6
65656565+else $as_nop
63336566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63346567/* end confdefs.h. */
63356568int i;
63366569_ACEOF
63376337-if ac_fn_c_try_compile "$LINENO"; then :
65706570+if ac_fn_c_try_compile "$LINENO"
65716571+then :
63386572 xorg_cv_cc_flag_unknown_warning_option=yes
63396339-else
65736573+else $as_nop
63406574 xorg_cv_cc_flag_unknown_warning_option=no
63416575fi
63426342-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65766576+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
63436577fi
63446344-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
63456345-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
65786578+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
65796579+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
63466580 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
63476581 CFLAGS="$xorg_testset_save_CFLAGS"
63486582fi
···63526586 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
63536587 fi
63546588 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
63556355- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
63566356-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
63576357-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
63586358- $as_echo_n "(cached) " >&6
63596359-else
65896589+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
65906590+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
65916591+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
65926592+then :
65936593+ printf %s "(cached) " >&6
65946594+else $as_nop
63606595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63616596/* end confdefs.h. */
63626597int i;
63636598_ACEOF
63646364-if ac_fn_c_try_compile "$LINENO"; then :
65996599+if ac_fn_c_try_compile "$LINENO"
66006600+then :
63656601 xorg_cv_cc_flag_unused_command_line_argument=yes
63666366-else
66026602+else $as_nop
63676603 xorg_cv_cc_flag_unused_command_line_argument=no
63686604fi
63696369-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66056605+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
63706606fi
63716371-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
63726372-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
66076607+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
66086608+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
63736609 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
63746610 CFLAGS="$xorg_testset_save_CFLAGS"
63756611fi
···6387662363886624 CFLAGS="$CFLAGS -Wmissing-format-attribute"
6389662563906390- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
63916391-$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
66266626+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
66276627+printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
63926628 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
63936393- if eval \${$cacheid+:} false; then :
63946394- $as_echo_n "(cached) " >&6
63956395-else
66296629+ if eval test \${$cacheid+y}
66306630+then :
66316631+ printf %s "(cached) " >&6
66326632+else $as_nop
63966633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63976634/* end confdefs.h. */
63986635int i;
63996636int
64006400-main ()
66376637+main (void)
64016638{
6402663964036640 ;
64046641 return 0;
64056642}
64066643_ACEOF
64076407-if ac_fn_c_try_link "$LINENO"; then :
66446644+if ac_fn_c_try_link "$LINENO"
66456645+then :
64086646 eval $cacheid=yes
64096409-else
66476647+else $as_nop
64106648 eval $cacheid=no
64116649fi
64126412-rm -f core conftest.err conftest.$ac_objext \
66506650+rm -f core conftest.err conftest.$ac_objext conftest.beam \
64136651 conftest$ac_exeext conftest.$ac_ext
64146652fi
64156653···64176655 CFLAGS="$xorg_testset_save_CFLAGS"
6418665664196657 eval supported=\$$cacheid
64206420- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
64216421-$as_echo "$supported" >&6; }
66586658+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
66596659+printf "%s\n" "$supported" >&6; }
64226660 if test "$supported" = "yes" ; then
64236661 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
64246662 found="yes"
···6444668264456683if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
64466684 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64476447- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
64486448-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
64496449-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
64506450- $as_echo_n "(cached) " >&6
64516451-else
66856685+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
66866686+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
66876687+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
66886688+then :
66896689+ printf %s "(cached) " >&6
66906690+else $as_nop
64526691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64536692/* end confdefs.h. */
64546693int i;
64556694_ACEOF
64566456-if ac_fn_c_try_compile "$LINENO"; then :
66956695+if ac_fn_c_try_compile "$LINENO"
66966696+then :
64576697 xorg_cv_cc_flag_unknown_warning_option=yes
64586458-else
66986698+else $as_nop
64596699 xorg_cv_cc_flag_unknown_warning_option=no
64606700fi
64616461-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67016701+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
64626702fi
64636463-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
64646464-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
67036703+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
67046704+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
64656705 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
64666706 CFLAGS="$xorg_testset_save_CFLAGS"
64676707fi
···64716711 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64726712 fi
64736713 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
64746474- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
64756475-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
64766476-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
64776477- $as_echo_n "(cached) " >&6
64786478-else
67146714+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
67156715+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
67166716+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
67176717+then :
67186718+ printf %s "(cached) " >&6
67196719+else $as_nop
64796720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64806721/* end confdefs.h. */
64816722int i;
64826723_ACEOF
64836483-if ac_fn_c_try_compile "$LINENO"; then :
67246724+if ac_fn_c_try_compile "$LINENO"
67256725+then :
64846726 xorg_cv_cc_flag_unused_command_line_argument=yes
64856485-else
67276727+else $as_nop
64866728 xorg_cv_cc_flag_unused_command_line_argument=no
64876729fi
64886488-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67306730+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
64896731fi
64906490-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
64916491-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
67326732+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
67336733+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
64926734 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
64936735 CFLAGS="$xorg_testset_save_CFLAGS"
64946736fi
···6506674865076749 CFLAGS="$CFLAGS -Wlogical-op"
6508675065096509- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
65106510-$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
67516751+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
67526752+printf %s "checking if $CC supports -Wlogical-op... " >&6; }
65116753 cacheid=xorg_cv_cc_flag__Wlogical_op
65126512- if eval \${$cacheid+:} false; then :
65136513- $as_echo_n "(cached) " >&6
65146514-else
67546754+ if eval test \${$cacheid+y}
67556755+then :
67566756+ printf %s "(cached) " >&6
67576757+else $as_nop
65156758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65166759/* end confdefs.h. */
65176760int i;
65186761int
65196519-main ()
67626762+main (void)
65206763{
6521676465226765 ;
65236766 return 0;
65246767}
65256768_ACEOF
65266526-if ac_fn_c_try_link "$LINENO"; then :
67696769+if ac_fn_c_try_link "$LINENO"
67706770+then :
65276771 eval $cacheid=yes
65286528-else
67726772+else $as_nop
65296773 eval $cacheid=no
65306774fi
65316531-rm -f core conftest.err conftest.$ac_objext \
67756775+rm -f core conftest.err conftest.$ac_objext conftest.beam \
65326776 conftest$ac_exeext conftest.$ac_ext
65336777fi
65346778···65366780 CFLAGS="$xorg_testset_save_CFLAGS"
6537678165386782 eval supported=\$$cacheid
65396539- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
65406540-$as_echo "$supported" >&6; }
67836783+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
67846784+printf "%s\n" "$supported" >&6; }
65416785 if test "$supported" = "yes" ; then
65426786 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
65436787 found="yes"
···65536797# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
65546798# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
6555679965566556-# Turn some warnings into errors, so we don't accidently get successful builds
68006800+# Turn some warnings into errors, so we don't accidentally get successful builds
65576801# when there are problems that should be fixed.
6558680265596803if test "x$SELECTIVE_WERROR" = "xyes" ; then
···6574681865756819if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
65766820 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
65776577- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
65786578-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
65796579-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
65806580- $as_echo_n "(cached) " >&6
65816581-else
68216821+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
68226822+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
68236823+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
68246824+then :
68256825+ printf %s "(cached) " >&6
68266826+else $as_nop
65826827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65836828/* end confdefs.h. */
65846829int i;
65856830_ACEOF
65866586-if ac_fn_c_try_compile "$LINENO"; then :
68316831+if ac_fn_c_try_compile "$LINENO"
68326832+then :
65876833 xorg_cv_cc_flag_unknown_warning_option=yes
65886588-else
68346834+else $as_nop
65896835 xorg_cv_cc_flag_unknown_warning_option=no
65906836fi
65916591-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68376837+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
65926838fi
65936593-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
65946594-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
68396839+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
68406840+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
65956841 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
65966842 CFLAGS="$xorg_testset_save_CFLAGS"
65976843fi
···66016847 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
66026848 fi
66036849 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
66046604- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
66056605-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
66066606-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
66076607- $as_echo_n "(cached) " >&6
66086608-else
68506850+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
68516851+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
68526852+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
68536853+then :
68546854+ printf %s "(cached) " >&6
68556855+else $as_nop
66096856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106857/* end confdefs.h. */
66116858int i;
66126859_ACEOF
66136613-if ac_fn_c_try_compile "$LINENO"; then :
68606860+if ac_fn_c_try_compile "$LINENO"
68616861+then :
66146862 xorg_cv_cc_flag_unused_command_line_argument=yes
66156615-else
68636863+else $as_nop
66166864 xorg_cv_cc_flag_unused_command_line_argument=no
66176865fi
66186618-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68666866+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
66196867fi
66206620-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
66216621-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
68686868+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
68696869+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
66226870 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
66236871 CFLAGS="$xorg_testset_save_CFLAGS"
66246872fi
···6636688466376885 CFLAGS="$CFLAGS -Werror=implicit"
6638688666396639- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
66406640-$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
68876887+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
68886888+printf %s "checking if $CC supports -Werror=implicit... " >&6; }
66416889 cacheid=xorg_cv_cc_flag__Werror_implicit
66426642- if eval \${$cacheid+:} false; then :
66436643- $as_echo_n "(cached) " >&6
66446644-else
68906890+ if eval test \${$cacheid+y}
68916891+then :
68926892+ printf %s "(cached) " >&6
68936893+else $as_nop
66456894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66466895/* end confdefs.h. */
66476896int i;
66486897int
66496649-main ()
68986898+main (void)
66506899{
6651690066526901 ;
66536902 return 0;
66546903}
66556904_ACEOF
66566656-if ac_fn_c_try_link "$LINENO"; then :
69056905+if ac_fn_c_try_link "$LINENO"
69066906+then :
66576907 eval $cacheid=yes
66586658-else
69086908+else $as_nop
66596909 eval $cacheid=no
66606910fi
66616661-rm -f core conftest.err conftest.$ac_objext \
69116911+rm -f core conftest.err conftest.$ac_objext conftest.beam \
66626912 conftest$ac_exeext conftest.$ac_ext
66636913fi
66646914···66666916 CFLAGS="$xorg_testset_save_CFLAGS"
6667691766686918 eval supported=\$$cacheid
66696669- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
66706670-$as_echo "$supported" >&6; }
69196919+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
69206920+printf "%s\n" "$supported" >&6; }
66716921 if test "$supported" = "yes" ; then
66726922 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
66736923 found="yes"
···6685693566866936 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6687693766886688- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
66896689-$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
69386938+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
69396939+printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
66906940 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
66916691- if eval \${$cacheid+:} false; then :
66926692- $as_echo_n "(cached) " >&6
66936693-else
69416941+ if eval test \${$cacheid+y}
69426942+then :
69436943+ printf %s "(cached) " >&6
69446944+else $as_nop
66946945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66956946/* end confdefs.h. */
66966947int i;
66976948int
66986698-main ()
69496949+main (void)
66996950{
6700695167016952 ;
67026953 return 0;
67036954}
67046955_ACEOF
67056705-if ac_fn_c_try_link "$LINENO"; then :
69566956+if ac_fn_c_try_link "$LINENO"
69576957+then :
67066958 eval $cacheid=yes
67076707-else
69596959+else $as_nop
67086960 eval $cacheid=no
67096961fi
67106710-rm -f core conftest.err conftest.$ac_objext \
69626962+rm -f core conftest.err conftest.$ac_objext conftest.beam \
67116963 conftest$ac_exeext conftest.$ac_ext
67126964fi
67136965···67156967 CFLAGS="$xorg_testset_save_CFLAGS"
6716696867176969 eval supported=\$$cacheid
67186718- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
67196719-$as_echo "$supported" >&6; }
69706970+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
69716971+printf "%s\n" "$supported" >&6; }
67206972 if test "$supported" = "yes" ; then
67216973 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
67226974 found="yes"
···6741699367426994if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
67436995 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
67446744- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
67456745-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
67466746-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
67476747- $as_echo_n "(cached) " >&6
67486748-else
69966996+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
69976997+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
69986998+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
69996999+then :
70007000+ printf %s "(cached) " >&6
70017001+else $as_nop
67497002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67507003/* end confdefs.h. */
67517004int i;
67527005_ACEOF
67536753-if ac_fn_c_try_compile "$LINENO"; then :
70067006+if ac_fn_c_try_compile "$LINENO"
70077007+then :
67547008 xorg_cv_cc_flag_unknown_warning_option=yes
67556755-else
70097009+else $as_nop
67567010 xorg_cv_cc_flag_unknown_warning_option=no
67577011fi
67586758-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70127012+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
67597013fi
67606760-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
67616761-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
70147014+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
70157015+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
67627016 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
67637017 CFLAGS="$xorg_testset_save_CFLAGS"
67647018fi
···67687022 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
67697023 fi
67707024 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
67716771- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
67726772-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
67736773-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
67746774- $as_echo_n "(cached) " >&6
67756775-else
70257025+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
70267026+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
70277027+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
70287028+then :
70297029+ printf %s "(cached) " >&6
70307030+else $as_nop
67767031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67777032/* end confdefs.h. */
67787033int i;
67797034_ACEOF
67806780-if ac_fn_c_try_compile "$LINENO"; then :
70357035+if ac_fn_c_try_compile "$LINENO"
70367036+then :
67817037 xorg_cv_cc_flag_unused_command_line_argument=yes
67826782-else
70387038+else $as_nop
67837039 xorg_cv_cc_flag_unused_command_line_argument=no
67847040fi
67856785-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70417041+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
67867042fi
67876787-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
67886788-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
70437043+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
70447044+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
67897045 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
67907046 CFLAGS="$xorg_testset_save_CFLAGS"
67917047fi
···6803705968047060 CFLAGS="$CFLAGS -Werror=nonnull"
6805706168066806- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
68076807-$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
70627062+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
70637063+printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
68087064 cacheid=xorg_cv_cc_flag__Werror_nonnull
68096809- if eval \${$cacheid+:} false; then :
68106810- $as_echo_n "(cached) " >&6
68116811-else
70657065+ if eval test \${$cacheid+y}
70667066+then :
70677067+ printf %s "(cached) " >&6
70687068+else $as_nop
68127069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68137070/* end confdefs.h. */
68147071int i;
68157072int
68166816-main ()
70737073+main (void)
68177074{
6818707568197076 ;
68207077 return 0;
68217078}
68227079_ACEOF
68236823-if ac_fn_c_try_link "$LINENO"; then :
70807080+if ac_fn_c_try_link "$LINENO"
70817081+then :
68247082 eval $cacheid=yes
68256825-else
70837083+else $as_nop
68267084 eval $cacheid=no
68277085fi
68286828-rm -f core conftest.err conftest.$ac_objext \
70867086+rm -f core conftest.err conftest.$ac_objext conftest.beam \
68297087 conftest$ac_exeext conftest.$ac_ext
68307088fi
68317089···68337091 CFLAGS="$xorg_testset_save_CFLAGS"
6834709268357093 eval supported=\$$cacheid
68366836- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
68376837-$as_echo "$supported" >&6; }
70947094+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
70957095+printf "%s\n" "$supported" >&6; }
68387096 if test "$supported" = "yes" ; then
68397097 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
68407098 found="yes"
···6859711768607118if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
68617119 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
68626862- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
68636863-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
68646864-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
68656865- $as_echo_n "(cached) " >&6
68666866-else
71207120+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
71217121+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
71227122+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
71237123+then :
71247124+ printf %s "(cached) " >&6
71257125+else $as_nop
68677126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68687127/* end confdefs.h. */
68697128int i;
68707129_ACEOF
68716871-if ac_fn_c_try_compile "$LINENO"; then :
71307130+if ac_fn_c_try_compile "$LINENO"
71317131+then :
68727132 xorg_cv_cc_flag_unknown_warning_option=yes
68736873-else
71337133+else $as_nop
68747134 xorg_cv_cc_flag_unknown_warning_option=no
68757135fi
68766876-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71367136+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
68777137fi
68786878-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
68796879-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
71387138+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
71397139+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
68807140 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
68817141 CFLAGS="$xorg_testset_save_CFLAGS"
68827142fi
···68867146 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
68877147 fi
68887148 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
68896889- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
68906890-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
68916891-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
68926892- $as_echo_n "(cached) " >&6
68936893-else
71497149+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
71507150+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
71517151+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
71527152+then :
71537153+ printf %s "(cached) " >&6
71547154+else $as_nop
68947155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68957156/* end confdefs.h. */
68967157int i;
68977158_ACEOF
68986898-if ac_fn_c_try_compile "$LINENO"; then :
71597159+if ac_fn_c_try_compile "$LINENO"
71607160+then :
68997161 xorg_cv_cc_flag_unused_command_line_argument=yes
69006900-else
71627162+else $as_nop
69017163 xorg_cv_cc_flag_unused_command_line_argument=no
69027164fi
69036903-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71657165+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
69047166fi
69056905-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
69066906-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
71677167+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
71687168+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
69077169 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
69087170 CFLAGS="$xorg_testset_save_CFLAGS"
69097171fi
···6921718369227184 CFLAGS="$CFLAGS -Werror=init-self"
6923718569246924- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
69256925-$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
71867186+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
71877187+printf %s "checking if $CC supports -Werror=init-self... " >&6; }
69267188 cacheid=xorg_cv_cc_flag__Werror_init_self
69276927- if eval \${$cacheid+:} false; then :
69286928- $as_echo_n "(cached) " >&6
69296929-else
71897189+ if eval test \${$cacheid+y}
71907190+then :
71917191+ printf %s "(cached) " >&6
71927192+else $as_nop
69307193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69317194/* end confdefs.h. */
69327195int i;
69337196int
69346934-main ()
71977197+main (void)
69357198{
6936719969377200 ;
69387201 return 0;
69397202}
69407203_ACEOF
69416941-if ac_fn_c_try_link "$LINENO"; then :
72047204+if ac_fn_c_try_link "$LINENO"
72057205+then :
69427206 eval $cacheid=yes
69436943-else
72077207+else $as_nop
69447208 eval $cacheid=no
69457209fi
69466946-rm -f core conftest.err conftest.$ac_objext \
72107210+rm -f core conftest.err conftest.$ac_objext conftest.beam \
69477211 conftest$ac_exeext conftest.$ac_ext
69487212fi
69497213···69517215 CFLAGS="$xorg_testset_save_CFLAGS"
6952721669537217 eval supported=\$$cacheid
69546954- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
69556955-$as_echo "$supported" >&6; }
72187218+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
72197219+printf "%s\n" "$supported" >&6; }
69567220 if test "$supported" = "yes" ; then
69577221 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
69587222 found="yes"
···6977724169787242if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
69797243 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
69806980- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
69816981-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
69826982-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
69836983- $as_echo_n "(cached) " >&6
69846984-else
72447244+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
72457245+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
72467246+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
72477247+then :
72487248+ printf %s "(cached) " >&6
72497249+else $as_nop
69857250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69867251/* end confdefs.h. */
69877252int i;
69887253_ACEOF
69896989-if ac_fn_c_try_compile "$LINENO"; then :
72547254+if ac_fn_c_try_compile "$LINENO"
72557255+then :
69907256 xorg_cv_cc_flag_unknown_warning_option=yes
69916991-else
72577257+else $as_nop
69927258 xorg_cv_cc_flag_unknown_warning_option=no
69937259fi
69946994-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72607260+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
69957261fi
69966996-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
69976997-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
72627262+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
72637263+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
69987264 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
69997265 CFLAGS="$xorg_testset_save_CFLAGS"
70007266fi
···70047270 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
70057271 fi
70067272 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
70077007- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
70087008-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
70097009-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
70107010- $as_echo_n "(cached) " >&6
70117011-else
72737273+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
72747274+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
72757275+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
72767276+then :
72777277+ printf %s "(cached) " >&6
72787278+else $as_nop
70127279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70137280/* end confdefs.h. */
70147281int i;
70157282_ACEOF
70167016-if ac_fn_c_try_compile "$LINENO"; then :
72837283+if ac_fn_c_try_compile "$LINENO"
72847284+then :
70177285 xorg_cv_cc_flag_unused_command_line_argument=yes
70187018-else
72867286+else $as_nop
70197287 xorg_cv_cc_flag_unused_command_line_argument=no
70207288fi
70217021-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72897289+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
70227290fi
70237023-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
70247024-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
72917291+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
72927292+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
70257293 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
70267294 CFLAGS="$xorg_testset_save_CFLAGS"
70277295fi
···7039730770407308 CFLAGS="$CFLAGS -Werror=main"
7041730970427042- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
70437043-$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
73107310+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
73117311+printf %s "checking if $CC supports -Werror=main... " >&6; }
70447312 cacheid=xorg_cv_cc_flag__Werror_main
70457045- if eval \${$cacheid+:} false; then :
70467046- $as_echo_n "(cached) " >&6
70477047-else
73137313+ if eval test \${$cacheid+y}
73147314+then :
73157315+ printf %s "(cached) " >&6
73167316+else $as_nop
70487317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70497318/* end confdefs.h. */
70507319int i;
70517320int
70527052-main ()
73217321+main (void)
70537322{
7054732370557324 ;
70567325 return 0;
70577326}
70587327_ACEOF
70597059-if ac_fn_c_try_link "$LINENO"; then :
73287328+if ac_fn_c_try_link "$LINENO"
73297329+then :
70607330 eval $cacheid=yes
70617061-else
73317331+else $as_nop
70627332 eval $cacheid=no
70637333fi
70647064-rm -f core conftest.err conftest.$ac_objext \
73347334+rm -f core conftest.err conftest.$ac_objext conftest.beam \
70657335 conftest$ac_exeext conftest.$ac_ext
70667336fi
70677337···70697339 CFLAGS="$xorg_testset_save_CFLAGS"
7070734070717341 eval supported=\$$cacheid
70727072- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
70737073-$as_echo "$supported" >&6; }
73427342+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
73437343+printf "%s\n" "$supported" >&6; }
70747344 if test "$supported" = "yes" ; then
70757345 BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
70767346 found="yes"
···7095736570967366if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
70977367 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
70987098- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
70997099-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
71007100-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
71017101- $as_echo_n "(cached) " >&6
71027102-else
73687368+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
73697369+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
73707370+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
73717371+then :
73727372+ printf %s "(cached) " >&6
73737373+else $as_nop
71037374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71047375/* end confdefs.h. */
71057376int i;
71067377_ACEOF
71077107-if ac_fn_c_try_compile "$LINENO"; then :
73787378+if ac_fn_c_try_compile "$LINENO"
73797379+then :
71087380 xorg_cv_cc_flag_unknown_warning_option=yes
71097109-else
73817381+else $as_nop
71107382 xorg_cv_cc_flag_unknown_warning_option=no
71117383fi
71127112-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73847384+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
71137385fi
71147114-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
71157115-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
73867386+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
73877387+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
71167388 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
71177389 CFLAGS="$xorg_testset_save_CFLAGS"
71187390fi
···71227394 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
71237395 fi
71247396 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
71257125- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
71267126-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
71277127-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
71287128- $as_echo_n "(cached) " >&6
71297129-else
73977397+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
73987398+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
73997399+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
74007400+then :
74017401+ printf %s "(cached) " >&6
74027402+else $as_nop
71307403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71317404/* end confdefs.h. */
71327405int i;
71337406_ACEOF
71347134-if ac_fn_c_try_compile "$LINENO"; then :
74077407+if ac_fn_c_try_compile "$LINENO"
74087408+then :
71357409 xorg_cv_cc_flag_unused_command_line_argument=yes
71367136-else
74107410+else $as_nop
71377411 xorg_cv_cc_flag_unused_command_line_argument=no
71387412fi
71397139-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74137413+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
71407414fi
71417141-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
71427142-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
74157415+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
74167416+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
71437417 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
71447418 CFLAGS="$xorg_testset_save_CFLAGS"
71457419fi
···7157743171587432 CFLAGS="$CFLAGS -Werror=missing-braces"
7159743371607160- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
71617161-$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
74347434+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
74357435+printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
71627436 cacheid=xorg_cv_cc_flag__Werror_missing_braces
71637163- if eval \${$cacheid+:} false; then :
71647164- $as_echo_n "(cached) " >&6
71657165-else
74377437+ if eval test \${$cacheid+y}
74387438+then :
74397439+ printf %s "(cached) " >&6
74407440+else $as_nop
71667441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71677442/* end confdefs.h. */
71687443int i;
71697444int
71707170-main ()
74457445+main (void)
71717446{
7172744771737448 ;
71747449 return 0;
71757450}
71767451_ACEOF
71777177-if ac_fn_c_try_link "$LINENO"; then :
74527452+if ac_fn_c_try_link "$LINENO"
74537453+then :
71787454 eval $cacheid=yes
71797179-else
74557455+else $as_nop
71807456 eval $cacheid=no
71817457fi
71827182-rm -f core conftest.err conftest.$ac_objext \
74587458+rm -f core conftest.err conftest.$ac_objext conftest.beam \
71837459 conftest$ac_exeext conftest.$ac_ext
71847460fi
71857461···71877463 CFLAGS="$xorg_testset_save_CFLAGS"
7188746471897465 eval supported=\$$cacheid
71907190- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
71917191-$as_echo "$supported" >&6; }
74667466+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
74677467+printf "%s\n" "$supported" >&6; }
71927468 if test "$supported" = "yes" ; then
71937469 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
71947470 found="yes"
···7213748972147490if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
72157491 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
72167216- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
72177217-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
72187218-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
72197219- $as_echo_n "(cached) " >&6
72207220-else
74927492+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
74937493+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
74947494+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
74957495+then :
74967496+ printf %s "(cached) " >&6
74977497+else $as_nop
72217498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72227499/* end confdefs.h. */
72237500int i;
72247501_ACEOF
72257225-if ac_fn_c_try_compile "$LINENO"; then :
75027502+if ac_fn_c_try_compile "$LINENO"
75037503+then :
72267504 xorg_cv_cc_flag_unknown_warning_option=yes
72277227-else
75057505+else $as_nop
72287506 xorg_cv_cc_flag_unknown_warning_option=no
72297507fi
72307230-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75087508+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
72317509fi
72327232-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
72337233-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
75107510+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
75117511+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
72347512 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
72357513 CFLAGS="$xorg_testset_save_CFLAGS"
72367514fi
···72407518 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
72417519 fi
72427520 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
72437243- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
72447244-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
72457245-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
72467246- $as_echo_n "(cached) " >&6
72477247-else
75217521+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
75227522+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
75237523+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
75247524+then :
75257525+ printf %s "(cached) " >&6
75267526+else $as_nop
72487527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72497528/* end confdefs.h. */
72507529int i;
72517530_ACEOF
72527252-if ac_fn_c_try_compile "$LINENO"; then :
75317531+if ac_fn_c_try_compile "$LINENO"
75327532+then :
72537533 xorg_cv_cc_flag_unused_command_line_argument=yes
72547254-else
75347534+else $as_nop
72557535 xorg_cv_cc_flag_unused_command_line_argument=no
72567536fi
72577257-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75377537+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
72587538fi
72597259-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
72607260-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
75397539+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
75407540+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
72617541 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
72627542 CFLAGS="$xorg_testset_save_CFLAGS"
72637543fi
···7275755572767556 CFLAGS="$CFLAGS -Werror=sequence-point"
7277755772787278- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
72797279-$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
75587558+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
75597559+printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
72807560 cacheid=xorg_cv_cc_flag__Werror_sequence_point
72817281- if eval \${$cacheid+:} false; then :
72827282- $as_echo_n "(cached) " >&6
72837283-else
75617561+ if eval test \${$cacheid+y}
75627562+then :
75637563+ printf %s "(cached) " >&6
75647564+else $as_nop
72847565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72857566/* end confdefs.h. */
72867567int i;
72877568int
72887288-main ()
75697569+main (void)
72897570{
7290757172917572 ;
72927573 return 0;
72937574}
72947575_ACEOF
72957295-if ac_fn_c_try_link "$LINENO"; then :
75767576+if ac_fn_c_try_link "$LINENO"
75777577+then :
72967578 eval $cacheid=yes
72977297-else
75797579+else $as_nop
72987580 eval $cacheid=no
72997581fi
73007300-rm -f core conftest.err conftest.$ac_objext \
75827582+rm -f core conftest.err conftest.$ac_objext conftest.beam \
73017583 conftest$ac_exeext conftest.$ac_ext
73027584fi
73037585···73057587 CFLAGS="$xorg_testset_save_CFLAGS"
7306758873077589 eval supported=\$$cacheid
73087308- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
73097309-$as_echo "$supported" >&6; }
75907590+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
75917591+printf "%s\n" "$supported" >&6; }
73107592 if test "$supported" = "yes" ; then
73117593 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
73127594 found="yes"
···7331761373327614if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
73337615 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
73347334- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
73357335-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
73367336-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
73377337- $as_echo_n "(cached) " >&6
73387338-else
76167616+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
76177617+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
76187618+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
76197619+then :
76207620+ printf %s "(cached) " >&6
76217621+else $as_nop
73397622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73407623/* end confdefs.h. */
73417624int i;
73427625_ACEOF
73437343-if ac_fn_c_try_compile "$LINENO"; then :
76267626+if ac_fn_c_try_compile "$LINENO"
76277627+then :
73447628 xorg_cv_cc_flag_unknown_warning_option=yes
73457345-else
76297629+else $as_nop
73467630 xorg_cv_cc_flag_unknown_warning_option=no
73477631fi
73487348-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76327632+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
73497633fi
73507350-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
73517351-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
76347634+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
76357635+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
73527636 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
73537637 CFLAGS="$xorg_testset_save_CFLAGS"
73547638fi
···73587642 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
73597643 fi
73607644 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
73617361- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
73627362-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
73637363-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
73647364- $as_echo_n "(cached) " >&6
73657365-else
76457645+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
76467646+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
76477647+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
76487648+then :
76497649+ printf %s "(cached) " >&6
76507650+else $as_nop
73667651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73677652/* end confdefs.h. */
73687653int i;
73697654_ACEOF
73707370-if ac_fn_c_try_compile "$LINENO"; then :
76557655+if ac_fn_c_try_compile "$LINENO"
76567656+then :
73717657 xorg_cv_cc_flag_unused_command_line_argument=yes
73727372-else
76587658+else $as_nop
73737659 xorg_cv_cc_flag_unused_command_line_argument=no
73747660fi
73757375-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76617661+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
73767662fi
73777377-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
73787378-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
76637663+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
76647664+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
73797665 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
73807666 CFLAGS="$xorg_testset_save_CFLAGS"
73817667fi
···7393767973947680 CFLAGS="$CFLAGS -Werror=return-type"
7395768173967396- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
73977397-$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
76827682+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
76837683+printf %s "checking if $CC supports -Werror=return-type... " >&6; }
73987684 cacheid=xorg_cv_cc_flag__Werror_return_type
73997399- if eval \${$cacheid+:} false; then :
74007400- $as_echo_n "(cached) " >&6
74017401-else
76857685+ if eval test \${$cacheid+y}
76867686+then :
76877687+ printf %s "(cached) " >&6
76887688+else $as_nop
74027689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74037690/* end confdefs.h. */
74047691int i;
74057692int
74067406-main ()
76937693+main (void)
74077694{
7408769574097696 ;
74107697 return 0;
74117698}
74127699_ACEOF
74137413-if ac_fn_c_try_link "$LINENO"; then :
77007700+if ac_fn_c_try_link "$LINENO"
77017701+then :
74147702 eval $cacheid=yes
74157415-else
77037703+else $as_nop
74167704 eval $cacheid=no
74177705fi
74187418-rm -f core conftest.err conftest.$ac_objext \
77067706+rm -f core conftest.err conftest.$ac_objext conftest.beam \
74197707 conftest$ac_exeext conftest.$ac_ext
74207708fi
74217709···74237711 CFLAGS="$xorg_testset_save_CFLAGS"
7424771274257713 eval supported=\$$cacheid
74267426- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
74277427-$as_echo "$supported" >&6; }
77147714+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
77157715+printf "%s\n" "$supported" >&6; }
74287716 if test "$supported" = "yes" ; then
74297717 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
74307718 found="yes"
···7442773074437731 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7444773274457445- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
74467446-$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
77337733+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
77347734+printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
74477735 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
74487448- if eval \${$cacheid+:} false; then :
74497449- $as_echo_n "(cached) " >&6
74507450-else
77367736+ if eval test \${$cacheid+y}
77377737+then :
77387738+ printf %s "(cached) " >&6
77397739+else $as_nop
74517740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74527741/* end confdefs.h. */
74537742int i;
74547743int
74557455-main ()
77447744+main (void)
74567745{
7457774674587747 ;
74597748 return 0;
74607749}
74617750_ACEOF
74627462-if ac_fn_c_try_link "$LINENO"; then :
77517751+if ac_fn_c_try_link "$LINENO"
77527752+then :
74637753 eval $cacheid=yes
74647464-else
77547754+else $as_nop
74657755 eval $cacheid=no
74667756fi
74677467-rm -f core conftest.err conftest.$ac_objext \
77577757+rm -f core conftest.err conftest.$ac_objext conftest.beam \
74687758 conftest$ac_exeext conftest.$ac_ext
74697759fi
74707760···74727762 CFLAGS="$xorg_testset_save_CFLAGS"
7473776374747764 eval supported=\$$cacheid
74757475- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
74767476-$as_echo "$supported" >&6; }
77657765+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
77667766+printf "%s\n" "$supported" >&6; }
74777767 if test "$supported" = "yes" ; then
74787768 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
74797769 found="yes"
···7498778874997789if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
75007790 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
75017501- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
75027502-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
75037503-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
75047504- $as_echo_n "(cached) " >&6
75057505-else
77917791+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
77927792+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
77937793+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
77947794+then :
77957795+ printf %s "(cached) " >&6
77967796+else $as_nop
75067797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75077798/* end confdefs.h. */
75087799int i;
75097800_ACEOF
75107510-if ac_fn_c_try_compile "$LINENO"; then :
78017801+if ac_fn_c_try_compile "$LINENO"
78027802+then :
75117803 xorg_cv_cc_flag_unknown_warning_option=yes
75127512-else
78047804+else $as_nop
75137805 xorg_cv_cc_flag_unknown_warning_option=no
75147806fi
75157515-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78077807+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
75167808fi
75177517-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
75187518-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
78097809+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
78107810+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
75197811 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
75207812 CFLAGS="$xorg_testset_save_CFLAGS"
75217813fi
···75257817 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
75267818 fi
75277819 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
75287528- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
75297529-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
75307530-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
75317531- $as_echo_n "(cached) " >&6
75327532-else
78207820+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
78217821+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
78227822+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
78237823+then :
78247824+ printf %s "(cached) " >&6
78257825+else $as_nop
75337826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75347827/* end confdefs.h. */
75357828int i;
75367829_ACEOF
75377537-if ac_fn_c_try_compile "$LINENO"; then :
78307830+if ac_fn_c_try_compile "$LINENO"
78317831+then :
75387832 xorg_cv_cc_flag_unused_command_line_argument=yes
75397539-else
78337833+else $as_nop
75407834 xorg_cv_cc_flag_unused_command_line_argument=no
75417835fi
75427542-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78367836+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
75437837fi
75447544-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
75457545-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
78387838+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
78397839+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
75467840 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
75477841 CFLAGS="$xorg_testset_save_CFLAGS"
75487842fi
···7560785475617855 CFLAGS="$CFLAGS -Werror=trigraphs"
7562785675637563- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
75647564-$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
78577857+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
78587858+printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
75657859 cacheid=xorg_cv_cc_flag__Werror_trigraphs
75667566- if eval \${$cacheid+:} false; then :
75677567- $as_echo_n "(cached) " >&6
75687568-else
78607860+ if eval test \${$cacheid+y}
78617861+then :
78627862+ printf %s "(cached) " >&6
78637863+else $as_nop
75697864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75707865/* end confdefs.h. */
75717866int i;
75727867int
75737573-main ()
78687868+main (void)
75747869{
7575787075767871 ;
75777872 return 0;
75787873}
75797874_ACEOF
75807580-if ac_fn_c_try_link "$LINENO"; then :
78757875+if ac_fn_c_try_link "$LINENO"
78767876+then :
75817877 eval $cacheid=yes
75827582-else
78787878+else $as_nop
75837879 eval $cacheid=no
75847880fi
75857585-rm -f core conftest.err conftest.$ac_objext \
78817881+rm -f core conftest.err conftest.$ac_objext conftest.beam \
75867882 conftest$ac_exeext conftest.$ac_ext
75877883fi
75887884···75907886 CFLAGS="$xorg_testset_save_CFLAGS"
7591788775927888 eval supported=\$$cacheid
75937593- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
75947594-$as_echo "$supported" >&6; }
78897889+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
78907890+printf "%s\n" "$supported" >&6; }
75957891 if test "$supported" = "yes" ; then
75967892 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
75977893 found="yes"
···7616791276177913if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
76187914 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
76197619- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
76207620-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
76217621-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
76227622- $as_echo_n "(cached) " >&6
76237623-else
79157915+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
79167916+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
79177917+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
79187918+then :
79197919+ printf %s "(cached) " >&6
79207920+else $as_nop
76247921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76257922/* end confdefs.h. */
76267923int i;
76277924_ACEOF
76287628-if ac_fn_c_try_compile "$LINENO"; then :
79257925+if ac_fn_c_try_compile "$LINENO"
79267926+then :
76297927 xorg_cv_cc_flag_unknown_warning_option=yes
76307630-else
79287928+else $as_nop
76317929 xorg_cv_cc_flag_unknown_warning_option=no
76327930fi
76337633-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79317931+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
76347932fi
76357635-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
76367636-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
79337933+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
79347934+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
76377935 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
76387936 CFLAGS="$xorg_testset_save_CFLAGS"
76397937fi
···76437941 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
76447942 fi
76457943 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
76467646- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
76477647-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
76487648-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
76497649- $as_echo_n "(cached) " >&6
76507650-else
79447944+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
79457945+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
79467946+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
79477947+then :
79487948+ printf %s "(cached) " >&6
79497949+else $as_nop
76517950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76527951/* end confdefs.h. */
76537952int i;
76547953_ACEOF
76557655-if ac_fn_c_try_compile "$LINENO"; then :
79547954+if ac_fn_c_try_compile "$LINENO"
79557955+then :
76567956 xorg_cv_cc_flag_unused_command_line_argument=yes
76577657-else
79577957+else $as_nop
76587958 xorg_cv_cc_flag_unused_command_line_argument=no
76597959fi
76607660-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79607960+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
76617961fi
76627662-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
76637663-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
79627962+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
79637963+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
76647964 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
76657965 CFLAGS="$xorg_testset_save_CFLAGS"
76667966fi
···7678797876797979 CFLAGS="$CFLAGS -Werror=array-bounds"
7680798076817681- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
76827682-$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
79817981+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
79827982+printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
76837983 cacheid=xorg_cv_cc_flag__Werror_array_bounds
76847684- if eval \${$cacheid+:} false; then :
76857685- $as_echo_n "(cached) " >&6
76867686-else
79847984+ if eval test \${$cacheid+y}
79857985+then :
79867986+ printf %s "(cached) " >&6
79877987+else $as_nop
76877988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887989/* end confdefs.h. */
76897990int i;
76907991int
76917691-main ()
79927992+main (void)
76927993{
7693799476947995 ;
76957996 return 0;
76967997}
76977998_ACEOF
76987698-if ac_fn_c_try_link "$LINENO"; then :
79997999+if ac_fn_c_try_link "$LINENO"
80008000+then :
76998001 eval $cacheid=yes
77007700-else
80028002+else $as_nop
77018003 eval $cacheid=no
77028004fi
77037703-rm -f core conftest.err conftest.$ac_objext \
80058005+rm -f core conftest.err conftest.$ac_objext conftest.beam \
77048006 conftest$ac_exeext conftest.$ac_ext
77058007fi
77068008···77088010 CFLAGS="$xorg_testset_save_CFLAGS"
7709801177108012 eval supported=\$$cacheid
77117711- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
77127712-$as_echo "$supported" >&6; }
80138013+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
80148014+printf "%s\n" "$supported" >&6; }
77138015 if test "$supported" = "yes" ; then
77148016 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
77158017 found="yes"
···7734803677358037if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
77368038 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
77377737- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
77387738-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
77397739-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
77407740- $as_echo_n "(cached) " >&6
77417741-else
80398039+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
80408040+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
80418041+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
80428042+then :
80438043+ printf %s "(cached) " >&6
80448044+else $as_nop
77428045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77438046/* end confdefs.h. */
77448047int i;
77458048_ACEOF
77467746-if ac_fn_c_try_compile "$LINENO"; then :
80498049+if ac_fn_c_try_compile "$LINENO"
80508050+then :
77478051 xorg_cv_cc_flag_unknown_warning_option=yes
77487748-else
80528052+else $as_nop
77498053 xorg_cv_cc_flag_unknown_warning_option=no
77508054fi
77517751-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80558055+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
77528056fi
77537753-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
77547754-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
80578057+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
80588058+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
77558059 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
77568060 CFLAGS="$xorg_testset_save_CFLAGS"
77578061fi
···77618065 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
77628066 fi
77638067 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
77647764- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
77657765-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
77667766-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
77677767- $as_echo_n "(cached) " >&6
77687768-else
80688068+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
80698069+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
80708070+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
80718071+then :
80728072+ printf %s "(cached) " >&6
80738073+else $as_nop
77698074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77708075/* end confdefs.h. */
77718076int i;
77728077_ACEOF
77737773-if ac_fn_c_try_compile "$LINENO"; then :
80788078+if ac_fn_c_try_compile "$LINENO"
80798079+then :
77748080 xorg_cv_cc_flag_unused_command_line_argument=yes
77757775-else
80818081+else $as_nop
77768082 xorg_cv_cc_flag_unused_command_line_argument=no
77778083fi
77787778-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80848084+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
77798085fi
77807780-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
77817781-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
80868086+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
80878087+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
77828088 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
77838089 CFLAGS="$xorg_testset_save_CFLAGS"
77848090fi
···7796810277978103 CFLAGS="$CFLAGS -Werror=write-strings"
7798810477997799- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
78007800-$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
81058105+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
81068106+printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
78018107 cacheid=xorg_cv_cc_flag__Werror_write_strings
78027802- if eval \${$cacheid+:} false; then :
78037803- $as_echo_n "(cached) " >&6
78047804-else
81088108+ if eval test \${$cacheid+y}
81098109+then :
81108110+ printf %s "(cached) " >&6
81118111+else $as_nop
78058112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78068113/* end confdefs.h. */
78078114int i;
78088115int
78097809-main ()
81168116+main (void)
78108117{
7811811878128119 ;
78138120 return 0;
78148121}
78158122_ACEOF
78167816-if ac_fn_c_try_link "$LINENO"; then :
81238123+if ac_fn_c_try_link "$LINENO"
81248124+then :
78178125 eval $cacheid=yes
78187818-else
81268126+else $as_nop
78198127 eval $cacheid=no
78208128fi
78217821-rm -f core conftest.err conftest.$ac_objext \
81298129+rm -f core conftest.err conftest.$ac_objext conftest.beam \
78228130 conftest$ac_exeext conftest.$ac_ext
78238131fi
78248132···78268134 CFLAGS="$xorg_testset_save_CFLAGS"
7827813578288136 eval supported=\$$cacheid
78297829- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
78307830-$as_echo "$supported" >&6; }
81378137+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
81388138+printf "%s\n" "$supported" >&6; }
78318139 if test "$supported" = "yes" ; then
78328140 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
78338141 found="yes"
···7852816078538161if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
78548162 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
78557855- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
78567856-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
78577857-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
78587858- $as_echo_n "(cached) " >&6
78597859-else
81638163+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
81648164+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
81658165+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
81668166+then :
81678167+ printf %s "(cached) " >&6
81688168+else $as_nop
78608169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78618170/* end confdefs.h. */
78628171int i;
78638172_ACEOF
78647864-if ac_fn_c_try_compile "$LINENO"; then :
81738173+if ac_fn_c_try_compile "$LINENO"
81748174+then :
78658175 xorg_cv_cc_flag_unknown_warning_option=yes
78667866-else
81768176+else $as_nop
78678177 xorg_cv_cc_flag_unknown_warning_option=no
78688178fi
78697869-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81798179+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
78708180fi
78717871-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
78727872-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
81818181+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
81828182+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
78738183 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
78748184 CFLAGS="$xorg_testset_save_CFLAGS"
78758185fi
···78798189 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
78808190 fi
78818191 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
78827882- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
78837883-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
78847884-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
78857885- $as_echo_n "(cached) " >&6
78867886-else
81928192+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
81938193+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
81948194+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
81958195+then :
81968196+ printf %s "(cached) " >&6
81978197+else $as_nop
78878198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78888199/* end confdefs.h. */
78898200int i;
78908201_ACEOF
78917891-if ac_fn_c_try_compile "$LINENO"; then :
82028202+if ac_fn_c_try_compile "$LINENO"
82038203+then :
78928204 xorg_cv_cc_flag_unused_command_line_argument=yes
78937893-else
82058205+else $as_nop
78948206 xorg_cv_cc_flag_unused_command_line_argument=no
78958207fi
78967896-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82088208+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
78978209fi
78987898-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
78997899-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
82108210+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
82118211+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
79008212 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
79018213 CFLAGS="$xorg_testset_save_CFLAGS"
79028214fi
···7914822679158227 CFLAGS="$CFLAGS -Werror=address"
7916822879177917- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
79187918-$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
82298229+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
82308230+printf %s "checking if $CC supports -Werror=address... " >&6; }
79198231 cacheid=xorg_cv_cc_flag__Werror_address
79207920- if eval \${$cacheid+:} false; then :
79217921- $as_echo_n "(cached) " >&6
79227922-else
82328232+ if eval test \${$cacheid+y}
82338233+then :
82348234+ printf %s "(cached) " >&6
82358235+else $as_nop
79238236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79248237/* end confdefs.h. */
79258238int i;
79268239int
79277927-main ()
82408240+main (void)
79288241{
7929824279308243 ;
79318244 return 0;
79328245}
79338246_ACEOF
79347934-if ac_fn_c_try_link "$LINENO"; then :
82478247+if ac_fn_c_try_link "$LINENO"
82488248+then :
79358249 eval $cacheid=yes
79367936-else
82508250+else $as_nop
79378251 eval $cacheid=no
79388252fi
79397939-rm -f core conftest.err conftest.$ac_objext \
82538253+rm -f core conftest.err conftest.$ac_objext conftest.beam \
79408254 conftest$ac_exeext conftest.$ac_ext
79418255fi
79428256···79448258 CFLAGS="$xorg_testset_save_CFLAGS"
7945825979468260 eval supported=\$$cacheid
79477947- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
79487948-$as_echo "$supported" >&6; }
82618261+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
82628262+printf "%s\n" "$supported" >&6; }
79498263 if test "$supported" = "yes" ; then
79508264 BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
79518265 found="yes"
···7970828479718285if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
79728286 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
79737973- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
79747974-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
79757975-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
79767976- $as_echo_n "(cached) " >&6
79777977-else
82878287+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
82888288+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
82898289+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
82908290+then :
82918291+ printf %s "(cached) " >&6
82928292+else $as_nop
79788293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79798294/* end confdefs.h. */
79808295int i;
79818296_ACEOF
79827982-if ac_fn_c_try_compile "$LINENO"; then :
82978297+if ac_fn_c_try_compile "$LINENO"
82988298+then :
79838299 xorg_cv_cc_flag_unknown_warning_option=yes
79847984-else
83008300+else $as_nop
79858301 xorg_cv_cc_flag_unknown_warning_option=no
79868302fi
79877987-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83038303+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
79888304fi
79897989-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
79907990-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
83058305+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
83068306+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
79918307 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
79928308 CFLAGS="$xorg_testset_save_CFLAGS"
79938309fi
···79978313 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
79988314 fi
79998315 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
80008000- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
80018001-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
80028002-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
80038003- $as_echo_n "(cached) " >&6
80048004-else
83168316+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
83178317+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
83188318+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
83198319+then :
83208320+ printf %s "(cached) " >&6
83218321+else $as_nop
80058322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80068323/* end confdefs.h. */
80078324int i;
80088325_ACEOF
80098009-if ac_fn_c_try_compile "$LINENO"; then :
83268326+if ac_fn_c_try_compile "$LINENO"
83278327+then :
80108328 xorg_cv_cc_flag_unused_command_line_argument=yes
80118011-else
83298329+else $as_nop
80128330 xorg_cv_cc_flag_unused_command_line_argument=no
80138331fi
80148014-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83328332+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
80158333fi
80168016-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
80178017-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
83348334+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
83358335+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
80188336 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
80198337 CFLAGS="$xorg_testset_save_CFLAGS"
80208338fi
···8032835080338351 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8034835280358035- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
80368036-$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
83538353+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
83548354+printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
80378355 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
80388038- if eval \${$cacheid+:} false; then :
80398039- $as_echo_n "(cached) " >&6
80408040-else
83568356+ if eval test \${$cacheid+y}
83578357+then :
83588358+ printf %s "(cached) " >&6
83598359+else $as_nop
80418360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80428361/* end confdefs.h. */
80438362int i;
80448363int
80458045-main ()
83648364+main (void)
80468365{
8047836680488367 ;
80498368 return 0;
80508369}
80518370_ACEOF
80528052-if ac_fn_c_try_link "$LINENO"; then :
83718371+if ac_fn_c_try_link "$LINENO"
83728372+then :
80538373 eval $cacheid=yes
80548054-else
83748374+else $as_nop
80558375 eval $cacheid=no
80568376fi
80578057-rm -f core conftest.err conftest.$ac_objext \
83778377+rm -f core conftest.err conftest.$ac_objext conftest.beam \
80588378 conftest$ac_exeext conftest.$ac_ext
80598379fi
80608380···80628382 CFLAGS="$xorg_testset_save_CFLAGS"
8063838380648384 eval supported=\$$cacheid
80658065- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
80668066-$as_echo "$supported" >&6; }
83858385+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
83868386+printf "%s\n" "$supported" >&6; }
80678387 if test "$supported" = "yes" ; then
80688388 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
80698389 found="yes"
···8081840180828402 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8083840380848084- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
80858085-$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
84048404+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
84058405+printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
80868406 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
80878087- if eval \${$cacheid+:} false; then :
80888088- $as_echo_n "(cached) " >&6
80898089-else
84078407+ if eval test \${$cacheid+y}
84088408+then :
84098409+ printf %s "(cached) " >&6
84108410+else $as_nop
80908411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80918412/* end confdefs.h. */
80928413int i;
80938414int
80948094-main ()
84158415+main (void)
80958416{
8096841780978418 ;
80988419 return 0;
80998420}
81008421_ACEOF
81018101-if ac_fn_c_try_link "$LINENO"; then :
84228422+if ac_fn_c_try_link "$LINENO"
84238423+then :
81028424 eval $cacheid=yes
81038103-else
84258425+else $as_nop
81048426 eval $cacheid=no
81058427fi
81068106-rm -f core conftest.err conftest.$ac_objext \
84288428+rm -f core conftest.err conftest.$ac_objext conftest.beam \
81078429 conftest$ac_exeext conftest.$ac_ext
81088430fi
81098431···81118433 CFLAGS="$xorg_testset_save_CFLAGS"
8112843481138435 eval supported=\$$cacheid
81148114- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
81158115-$as_echo "$supported" >&6; }
84368436+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
84378437+printf "%s\n" "$supported" >&6; }
81168438 if test "$supported" = "yes" ; then
81178439 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
81188440 found="yes"
···8137845981388460if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
81398461 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
81408140- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
81418141-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
81428142-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
81438143- $as_echo_n "(cached) " >&6
81448144-else
84628462+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
84638463+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
84648464+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
84658465+then :
84668466+ printf %s "(cached) " >&6
84678467+else $as_nop
81458468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81468469/* end confdefs.h. */
81478470int i;
81488471_ACEOF
81498149-if ac_fn_c_try_compile "$LINENO"; then :
84728472+if ac_fn_c_try_compile "$LINENO"
84738473+then :
81508474 xorg_cv_cc_flag_unknown_warning_option=yes
81518151-else
84758475+else $as_nop
81528476 xorg_cv_cc_flag_unknown_warning_option=no
81538477fi
81548154-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84788478+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
81558479fi
81568156-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
81578157-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
84808480+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
84818481+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
81588482 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
81598483 CFLAGS="$xorg_testset_save_CFLAGS"
81608484fi
···81648488 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
81658489 fi
81668490 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
81678167- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
81688168-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
81698169-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
81708170- $as_echo_n "(cached) " >&6
81718171-else
84918491+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
84928492+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
84938493+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
84948494+then :
84958495+ printf %s "(cached) " >&6
84968496+else $as_nop
81728497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81738498/* end confdefs.h. */
81748499int i;
81758500_ACEOF
81768176-if ac_fn_c_try_compile "$LINENO"; then :
85018501+if ac_fn_c_try_compile "$LINENO"
85028502+then :
81778503 xorg_cv_cc_flag_unused_command_line_argument=yes
81788178-else
85048504+else $as_nop
81798505 xorg_cv_cc_flag_unused_command_line_argument=no
81808506fi
81818181-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85078507+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
81828508fi
81838183-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
81848184-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
85098509+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
85108510+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
81858511 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
81868512 CFLAGS="$xorg_testset_save_CFLAGS"
81878513fi
···8199852582008526 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8201852782028202- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
82038203-$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
85288528+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
85298529+printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
82048530 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
82058205- if eval \${$cacheid+:} false; then :
82068206- $as_echo_n "(cached) " >&6
82078207-else
85318531+ if eval test \${$cacheid+y}
85328532+then :
85338533+ printf %s "(cached) " >&6
85348534+else $as_nop
82088535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82098536/* end confdefs.h. */
82108537int i;
82118538int
82128212-main ()
85398539+main (void)
82138540{
8214854182158542 ;
82168543 return 0;
82178544}
82188545_ACEOF
82198219-if ac_fn_c_try_link "$LINENO"; then :
85468546+if ac_fn_c_try_link "$LINENO"
85478547+then :
82208548 eval $cacheid=yes
82218221-else
85498549+else $as_nop
82228550 eval $cacheid=no
82238551fi
82248224-rm -f core conftest.err conftest.$ac_objext \
85528552+rm -f core conftest.err conftest.$ac_objext conftest.beam \
82258553 conftest$ac_exeext conftest.$ac_ext
82268554fi
82278555···82298557 CFLAGS="$xorg_testset_save_CFLAGS"
8230855882318559 eval supported=\$$cacheid
82328232- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
82338233-$as_echo "$supported" >&6; }
85608560+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
85618561+printf "%s\n" "$supported" >&6; }
82348562 if test "$supported" = "yes" ; then
82358563 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
82368564 found="yes"
···8239856782408568 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
82418569else
82428242-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
82438243-$as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
85708570+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
85718571+printf "%s\n" "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
824485728245857382468574···8258858682598587if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
82608588 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
82618261- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
82628262-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
82638263-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
82648264- $as_echo_n "(cached) " >&6
82658265-else
85898589+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
85908590+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
85918591+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
85928592+then :
85938593+ printf %s "(cached) " >&6
85948594+else $as_nop
82668595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82678596/* end confdefs.h. */
82688597int i;
82698598_ACEOF
82708270-if ac_fn_c_try_compile "$LINENO"; then :
85998599+if ac_fn_c_try_compile "$LINENO"
86008600+then :
82718601 xorg_cv_cc_flag_unknown_warning_option=yes
82728272-else
86028602+else $as_nop
82738603 xorg_cv_cc_flag_unknown_warning_option=no
82748604fi
82758275-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86058605+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
82768606fi
82778277-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
82788278-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
86078607+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
86088608+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
82798609 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
82808610 CFLAGS="$xorg_testset_save_CFLAGS"
82818611fi
···82858615 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
82868616 fi
82878617 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
82888288- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
82898289-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
82908290-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
82918291- $as_echo_n "(cached) " >&6
82928292-else
86188618+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
86198619+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
86208620+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
86218621+then :
86228622+ printf %s "(cached) " >&6
86238623+else $as_nop
82938624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82948625/* end confdefs.h. */
82958626int i;
82968627_ACEOF
82978297-if ac_fn_c_try_compile "$LINENO"; then :
86288628+if ac_fn_c_try_compile "$LINENO"
86298629+then :
82988630 xorg_cv_cc_flag_unused_command_line_argument=yes
82998299-else
86318631+else $as_nop
83008632 xorg_cv_cc_flag_unused_command_line_argument=no
83018633fi
83028302-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86348634+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83038635fi
83048304-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
83058305-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
86368636+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
86378637+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
83068638 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
83078639 CFLAGS="$xorg_testset_save_CFLAGS"
83088640fi
···8320865283218653 CFLAGS="$CFLAGS -Wimplicit"
8322865483238323- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
83248324-$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
86558655+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
86568656+printf %s "checking if $CC supports -Wimplicit... " >&6; }
83258657 cacheid=xorg_cv_cc_flag__Wimplicit
83268326- if eval \${$cacheid+:} false; then :
83278327- $as_echo_n "(cached) " >&6
83288328-else
86588658+ if eval test \${$cacheid+y}
86598659+then :
86608660+ printf %s "(cached) " >&6
86618661+else $as_nop
83298662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83308663/* end confdefs.h. */
83318664int i;
83328665int
83338333-main ()
86668666+main (void)
83348667{
8335866883368669 ;
83378670 return 0;
83388671}
83398672_ACEOF
83408340-if ac_fn_c_try_link "$LINENO"; then :
86738673+if ac_fn_c_try_link "$LINENO"
86748674+then :
83418675 eval $cacheid=yes
83428342-else
86768676+else $as_nop
83438677 eval $cacheid=no
83448678fi
83458345-rm -f core conftest.err conftest.$ac_objext \
86798679+rm -f core conftest.err conftest.$ac_objext conftest.beam \
83468680 conftest$ac_exeext conftest.$ac_ext
83478681fi
83488682···83508684 CFLAGS="$xorg_testset_save_CFLAGS"
8351868583528686 eval supported=\$$cacheid
83538353- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
83548354-$as_echo "$supported" >&6; }
86878687+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
86888688+printf "%s\n" "$supported" >&6; }
83558689 if test "$supported" = "yes" ; then
83568690 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
83578691 found="yes"
···8376871083778711if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
83788712 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
83798379- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
83808380-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
83818381-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
83828382- $as_echo_n "(cached) " >&6
83838383-else
87138713+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
87148714+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
87158715+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
87168716+then :
87178717+ printf %s "(cached) " >&6
87188718+else $as_nop
83848719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83858720/* end confdefs.h. */
83868721int i;
83878722_ACEOF
83888388-if ac_fn_c_try_compile "$LINENO"; then :
87238723+if ac_fn_c_try_compile "$LINENO"
87248724+then :
83898725 xorg_cv_cc_flag_unknown_warning_option=yes
83908390-else
87268726+else $as_nop
83918727 xorg_cv_cc_flag_unknown_warning_option=no
83928728fi
83938393-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87298729+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83948730fi
83958395-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
83968396-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
87318731+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
87328732+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
83978733 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
83988734 CFLAGS="$xorg_testset_save_CFLAGS"
83998735fi
···84038739 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
84048740 fi
84058741 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
84068406- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
84078407-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
84088408-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
84098409- $as_echo_n "(cached) " >&6
84108410-else
87428742+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
87438743+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
87448744+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
87458745+then :
87468746+ printf %s "(cached) " >&6
87478747+else $as_nop
84118748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84128749/* end confdefs.h. */
84138750int i;
84148751_ACEOF
84158415-if ac_fn_c_try_compile "$LINENO"; then :
87528752+if ac_fn_c_try_compile "$LINENO"
87538753+then :
84168754 xorg_cv_cc_flag_unused_command_line_argument=yes
84178417-else
87558755+else $as_nop
84188756 xorg_cv_cc_flag_unused_command_line_argument=no
84198757fi
84208420-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87588758+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
84218759fi
84228422-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
84238423-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
87608760+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
87618761+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
84248762 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
84258763 CFLAGS="$xorg_testset_save_CFLAGS"
84268764fi
···8438877684398777 CFLAGS="$CFLAGS -Wnonnull"
8440877884418441- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
84428442-$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
87798779+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
87808780+printf %s "checking if $CC supports -Wnonnull... " >&6; }
84438781 cacheid=xorg_cv_cc_flag__Wnonnull
84448444- if eval \${$cacheid+:} false; then :
84458445- $as_echo_n "(cached) " >&6
84468446-else
87828782+ if eval test \${$cacheid+y}
87838783+then :
87848784+ printf %s "(cached) " >&6
87858785+else $as_nop
84478786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84488787/* end confdefs.h. */
84498788int i;
84508789int
84518451-main ()
87908790+main (void)
84528791{
8453879284548793 ;
84558794 return 0;
84568795}
84578796_ACEOF
84588458-if ac_fn_c_try_link "$LINENO"; then :
87978797+if ac_fn_c_try_link "$LINENO"
87988798+then :
84598799 eval $cacheid=yes
84608460-else
88008800+else $as_nop
84618801 eval $cacheid=no
84628802fi
84638463-rm -f core conftest.err conftest.$ac_objext \
88038803+rm -f core conftest.err conftest.$ac_objext conftest.beam \
84648804 conftest$ac_exeext conftest.$ac_ext
84658805fi
84668806···84688808 CFLAGS="$xorg_testset_save_CFLAGS"
8469880984708810 eval supported=\$$cacheid
84718471- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
84728472-$as_echo "$supported" >&6; }
88118811+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
88128812+printf "%s\n" "$supported" >&6; }
84738813 if test "$supported" = "yes" ; then
84748814 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
84758815 found="yes"
···8494883484958835if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
84968836 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
84978497- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
84988498-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
84998499-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
85008500- $as_echo_n "(cached) " >&6
85018501-else
88378837+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
88388838+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
88398839+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
88408840+then :
88418841+ printf %s "(cached) " >&6
88428842+else $as_nop
85028843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85038844/* end confdefs.h. */
85048845int i;
85058846_ACEOF
85068506-if ac_fn_c_try_compile "$LINENO"; then :
88478847+if ac_fn_c_try_compile "$LINENO"
88488848+then :
85078849 xorg_cv_cc_flag_unknown_warning_option=yes
85088508-else
88508850+else $as_nop
85098851 xorg_cv_cc_flag_unknown_warning_option=no
85108852fi
85118511-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88538853+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
85128854fi
85138513-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
85148514-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
88558855+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
88568856+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
85158857 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
85168858 CFLAGS="$xorg_testset_save_CFLAGS"
85178859fi
···85218863 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
85228864 fi
85238865 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
85248524- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
85258525-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
85268526-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
85278527- $as_echo_n "(cached) " >&6
85288528-else
88668866+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
88678867+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
88688868+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
88698869+then :
88708870+ printf %s "(cached) " >&6
88718871+else $as_nop
85298872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85308873/* end confdefs.h. */
85318874int i;
85328875_ACEOF
85338533-if ac_fn_c_try_compile "$LINENO"; then :
88768876+if ac_fn_c_try_compile "$LINENO"
88778877+then :
85348878 xorg_cv_cc_flag_unused_command_line_argument=yes
85358535-else
88798879+else $as_nop
85368880 xorg_cv_cc_flag_unused_command_line_argument=no
85378881fi
85388538-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88828882+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
85398883fi
85408540-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
85418541-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
88848884+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
88858885+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
85428886 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
85438887 CFLAGS="$xorg_testset_save_CFLAGS"
85448888fi
···8556890085578901 CFLAGS="$CFLAGS -Winit-self"
8558890285598559- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
85608560-$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
89038903+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
89048904+printf %s "checking if $CC supports -Winit-self... " >&6; }
85618905 cacheid=xorg_cv_cc_flag__Winit_self
85628562- if eval \${$cacheid+:} false; then :
85638563- $as_echo_n "(cached) " >&6
85648564-else
89068906+ if eval test \${$cacheid+y}
89078907+then :
89088908+ printf %s "(cached) " >&6
89098909+else $as_nop
85658910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85668911/* end confdefs.h. */
85678912int i;
85688913int
85698569-main ()
89148914+main (void)
85708915{
8571891685728917 ;
85738918 return 0;
85748919}
85758920_ACEOF
85768576-if ac_fn_c_try_link "$LINENO"; then :
89218921+if ac_fn_c_try_link "$LINENO"
89228922+then :
85778923 eval $cacheid=yes
85788578-else
89248924+else $as_nop
85798925 eval $cacheid=no
85808926fi
85818581-rm -f core conftest.err conftest.$ac_objext \
89278927+rm -f core conftest.err conftest.$ac_objext conftest.beam \
85828928 conftest$ac_exeext conftest.$ac_ext
85838929fi
85848930···85868932 CFLAGS="$xorg_testset_save_CFLAGS"
8587893385888934 eval supported=\$$cacheid
85898589- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
85908590-$as_echo "$supported" >&6; }
89358935+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
89368936+printf "%s\n" "$supported" >&6; }
85918937 if test "$supported" = "yes" ; then
85928938 BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
85938939 found="yes"
···8612895886138959if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
86148960 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
86158615- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
86168616-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
86178617-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
86188618- $as_echo_n "(cached) " >&6
86198619-else
89618961+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
89628962+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
89638963+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
89648964+then :
89658965+ printf %s "(cached) " >&6
89668966+else $as_nop
86208967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86218968/* end confdefs.h. */
86228969int i;
86238970_ACEOF
86248624-if ac_fn_c_try_compile "$LINENO"; then :
89718971+if ac_fn_c_try_compile "$LINENO"
89728972+then :
86258973 xorg_cv_cc_flag_unknown_warning_option=yes
86268626-else
89748974+else $as_nop
86278975 xorg_cv_cc_flag_unknown_warning_option=no
86288976fi
86298629-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89778977+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
86308978fi
86318631-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
86328632-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
89798979+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
89808980+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
86338981 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
86348982 CFLAGS="$xorg_testset_save_CFLAGS"
86358983fi
···86398987 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
86408988 fi
86418989 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
86428642- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
86438643-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
86448644-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
86458645- $as_echo_n "(cached) " >&6
86468646-else
89908990+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
89918991+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
89928992+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
89938993+then :
89948994+ printf %s "(cached) " >&6
89958995+else $as_nop
86478996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86488997/* end confdefs.h. */
86498998int i;
86508999_ACEOF
86518651-if ac_fn_c_try_compile "$LINENO"; then :
90009000+if ac_fn_c_try_compile "$LINENO"
90019001+then :
86529002 xorg_cv_cc_flag_unused_command_line_argument=yes
86538653-else
90039003+else $as_nop
86549004 xorg_cv_cc_flag_unused_command_line_argument=no
86559005fi
86568656-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90069006+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
86579007fi
86588658-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
86598659-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
90089008+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
90099009+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
86609010 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
86619011 CFLAGS="$xorg_testset_save_CFLAGS"
86629012fi
···8674902486759025 CFLAGS="$CFLAGS -Wmain"
8676902686778677- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
86788678-$as_echo_n "checking if $CC supports -Wmain... " >&6; }
90279027+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
90289028+printf %s "checking if $CC supports -Wmain... " >&6; }
86799029 cacheid=xorg_cv_cc_flag__Wmain
86808680- if eval \${$cacheid+:} false; then :
86818681- $as_echo_n "(cached) " >&6
86828682-else
90309030+ if eval test \${$cacheid+y}
90319031+then :
90329032+ printf %s "(cached) " >&6
90339033+else $as_nop
86839034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86849035/* end confdefs.h. */
86859036int i;
86869037int
86878687-main ()
90389038+main (void)
86889039{
8689904086909041 ;
86919042 return 0;
86929043}
86939044_ACEOF
86948694-if ac_fn_c_try_link "$LINENO"; then :
90459045+if ac_fn_c_try_link "$LINENO"
90469046+then :
86959047 eval $cacheid=yes
86968696-else
90489048+else $as_nop
86979049 eval $cacheid=no
86989050fi
86998699-rm -f core conftest.err conftest.$ac_objext \
90519051+rm -f core conftest.err conftest.$ac_objext conftest.beam \
87009052 conftest$ac_exeext conftest.$ac_ext
87019053fi
87029054···87049056 CFLAGS="$xorg_testset_save_CFLAGS"
8705905787069058 eval supported=\$$cacheid
87078707- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
87088708-$as_echo "$supported" >&6; }
90599059+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
90609060+printf "%s\n" "$supported" >&6; }
87099061 if test "$supported" = "yes" ; then
87109062 BASE_CFLAGS="$BASE_CFLAGS -Wmain"
87119063 found="yes"
···8730908287319083if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
87329084 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
87338733- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
87348734-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
87358735-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
87368736- $as_echo_n "(cached) " >&6
87378737-else
90859085+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
90869086+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
90879087+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
90889088+then :
90899089+ printf %s "(cached) " >&6
90909090+else $as_nop
87389091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87399092/* end confdefs.h. */
87409093int i;
87419094_ACEOF
87428742-if ac_fn_c_try_compile "$LINENO"; then :
90959095+if ac_fn_c_try_compile "$LINENO"
90969096+then :
87439097 xorg_cv_cc_flag_unknown_warning_option=yes
87448744-else
90989098+else $as_nop
87459099 xorg_cv_cc_flag_unknown_warning_option=no
87469100fi
87478747-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91019101+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
87489102fi
87498749-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
87508750-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
91039103+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
91049104+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
87519105 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
87529106 CFLAGS="$xorg_testset_save_CFLAGS"
87539107fi
···87579111 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
87589112 fi
87599113 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
87608760- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
87618761-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
87628762-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
87638763- $as_echo_n "(cached) " >&6
87648764-else
91149114+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
91159115+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
91169116+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
91179117+then :
91189118+ printf %s "(cached) " >&6
91199119+else $as_nop
87659120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87669121/* end confdefs.h. */
87679122int i;
87689123_ACEOF
87698769-if ac_fn_c_try_compile "$LINENO"; then :
91249124+if ac_fn_c_try_compile "$LINENO"
91259125+then :
87709126 xorg_cv_cc_flag_unused_command_line_argument=yes
87718771-else
91279127+else $as_nop
87729128 xorg_cv_cc_flag_unused_command_line_argument=no
87739129fi
87748774-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91309130+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
87759131fi
87768776-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
87778777-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
91329132+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
91339133+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
87789134 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
87799135 CFLAGS="$xorg_testset_save_CFLAGS"
87809136fi
···8792914887939149 CFLAGS="$CFLAGS -Wmissing-braces"
8794915087958795- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
87968796-$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
91519151+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
91529152+printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
87979153 cacheid=xorg_cv_cc_flag__Wmissing_braces
87988798- if eval \${$cacheid+:} false; then :
87998799- $as_echo_n "(cached) " >&6
88008800-else
91549154+ if eval test \${$cacheid+y}
91559155+then :
91569156+ printf %s "(cached) " >&6
91579157+else $as_nop
88019158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88029159/* end confdefs.h. */
88039160int i;
88049161int
88058805-main ()
91629162+main (void)
88069163{
8807916488089165 ;
88099166 return 0;
88109167}
88119168_ACEOF
88128812-if ac_fn_c_try_link "$LINENO"; then :
91699169+if ac_fn_c_try_link "$LINENO"
91709170+then :
88139171 eval $cacheid=yes
88148814-else
91729172+else $as_nop
88159173 eval $cacheid=no
88169174fi
88178817-rm -f core conftest.err conftest.$ac_objext \
91759175+rm -f core conftest.err conftest.$ac_objext conftest.beam \
88189176 conftest$ac_exeext conftest.$ac_ext
88199177fi
88209178···88229180 CFLAGS="$xorg_testset_save_CFLAGS"
8823918188249182 eval supported=\$$cacheid
88258825- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
88268826-$as_echo "$supported" >&6; }
91839183+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
91849184+printf "%s\n" "$supported" >&6; }
88279185 if test "$supported" = "yes" ; then
88289186 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
88299187 found="yes"
···8848920688499207if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
88509208 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
88518851- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
88528852-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
88538853-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
88548854- $as_echo_n "(cached) " >&6
88558855-else
92099209+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
92109210+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
92119211+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
92129212+then :
92139213+ printf %s "(cached) " >&6
92149214+else $as_nop
88569215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88579216/* end confdefs.h. */
88589217int i;
88599218_ACEOF
88608860-if ac_fn_c_try_compile "$LINENO"; then :
92199219+if ac_fn_c_try_compile "$LINENO"
92209220+then :
88619221 xorg_cv_cc_flag_unknown_warning_option=yes
88628862-else
92229222+else $as_nop
88639223 xorg_cv_cc_flag_unknown_warning_option=no
88649224fi
88658865-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92259225+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
88669226fi
88678867-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
88688868-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
92279227+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
92289228+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
88699229 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
88709230 CFLAGS="$xorg_testset_save_CFLAGS"
88719231fi
···88759235 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
88769236 fi
88779237 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
88788878- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
88798879-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
88808880-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
88818881- $as_echo_n "(cached) " >&6
88828882-else
92389238+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
92399239+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
92409240+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
92419241+then :
92429242+ printf %s "(cached) " >&6
92439243+else $as_nop
88839244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88849245/* end confdefs.h. */
88859246int i;
88869247_ACEOF
88878887-if ac_fn_c_try_compile "$LINENO"; then :
92489248+if ac_fn_c_try_compile "$LINENO"
92499249+then :
88889250 xorg_cv_cc_flag_unused_command_line_argument=yes
88898889-else
92519251+else $as_nop
88909252 xorg_cv_cc_flag_unused_command_line_argument=no
88919253fi
88928892-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92549254+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
88939255fi
88948894-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
88958895-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
92569256+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
92579257+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
88969258 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
88979259 CFLAGS="$xorg_testset_save_CFLAGS"
88989260fi
···8910927289119273 CFLAGS="$CFLAGS -Wsequence-point"
8912927489138913- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
89148914-$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
92759275+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
92769276+printf %s "checking if $CC supports -Wsequence-point... " >&6; }
89159277 cacheid=xorg_cv_cc_flag__Wsequence_point
89168916- if eval \${$cacheid+:} false; then :
89178917- $as_echo_n "(cached) " >&6
89188918-else
92789278+ if eval test \${$cacheid+y}
92799279+then :
92809280+ printf %s "(cached) " >&6
92819281+else $as_nop
89199282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89209283/* end confdefs.h. */
89219284int i;
89229285int
89238923-main ()
92869286+main (void)
89249287{
8925928889269289 ;
89279290 return 0;
89289291}
89299292_ACEOF
89308930-if ac_fn_c_try_link "$LINENO"; then :
92939293+if ac_fn_c_try_link "$LINENO"
92949294+then :
89319295 eval $cacheid=yes
89328932-else
92969296+else $as_nop
89339297 eval $cacheid=no
89349298fi
89358935-rm -f core conftest.err conftest.$ac_objext \
92999299+rm -f core conftest.err conftest.$ac_objext conftest.beam \
89369300 conftest$ac_exeext conftest.$ac_ext
89379301fi
89389302···89409304 CFLAGS="$xorg_testset_save_CFLAGS"
8941930589429306 eval supported=\$$cacheid
89438943- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
89448944-$as_echo "$supported" >&6; }
93079307+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
93089308+printf "%s\n" "$supported" >&6; }
89459309 if test "$supported" = "yes" ; then
89469310 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
89479311 found="yes"
···8966933089679331if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
89689332 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
89698969- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
89708970-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
89718971-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
89728972- $as_echo_n "(cached) " >&6
89738973-else
93339333+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
93349334+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
93359335+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
93369336+then :
93379337+ printf %s "(cached) " >&6
93389338+else $as_nop
89749339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89759340/* end confdefs.h. */
89769341int i;
89779342_ACEOF
89788978-if ac_fn_c_try_compile "$LINENO"; then :
93439343+if ac_fn_c_try_compile "$LINENO"
93449344+then :
89799345 xorg_cv_cc_flag_unknown_warning_option=yes
89808980-else
93469346+else $as_nop
89819347 xorg_cv_cc_flag_unknown_warning_option=no
89829348fi
89838983-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93499349+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
89849350fi
89858985-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
89868986-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
93519351+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
93529352+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
89879353 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
89889354 CFLAGS="$xorg_testset_save_CFLAGS"
89899355fi
···89939359 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
89949360 fi
89959361 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
89968996- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
89978997-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
89988998-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
89998999- $as_echo_n "(cached) " >&6
90009000-else
93629362+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
93639363+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
93649364+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
93659365+then :
93669366+ printf %s "(cached) " >&6
93679367+else $as_nop
90019368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90029369/* end confdefs.h. */
90039370int i;
90049371_ACEOF
90059005-if ac_fn_c_try_compile "$LINENO"; then :
93729372+if ac_fn_c_try_compile "$LINENO"
93739373+then :
90069374 xorg_cv_cc_flag_unused_command_line_argument=yes
90079007-else
93759375+else $as_nop
90089376 xorg_cv_cc_flag_unused_command_line_argument=no
90099377fi
90109010-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93789378+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
90119379fi
90129012-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
90139013-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
93809380+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
93819381+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
90149382 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
90159383 CFLAGS="$xorg_testset_save_CFLAGS"
90169384fi
···9028939690299397 CFLAGS="$CFLAGS -Wreturn-type"
9030939890319031- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
90329032-$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
93999399+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
94009400+printf %s "checking if $CC supports -Wreturn-type... " >&6; }
90339401 cacheid=xorg_cv_cc_flag__Wreturn_type
90349034- if eval \${$cacheid+:} false; then :
90359035- $as_echo_n "(cached) " >&6
90369036-else
94029402+ if eval test \${$cacheid+y}
94039403+then :
94049404+ printf %s "(cached) " >&6
94059405+else $as_nop
90379406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90389407/* end confdefs.h. */
90399408int i;
90409409int
90419041-main ()
94109410+main (void)
90429411{
9043941290449413 ;
90459414 return 0;
90469415}
90479416_ACEOF
90489048-if ac_fn_c_try_link "$LINENO"; then :
94179417+if ac_fn_c_try_link "$LINENO"
94189418+then :
90499419 eval $cacheid=yes
90509050-else
94209420+else $as_nop
90519421 eval $cacheid=no
90529422fi
90539053-rm -f core conftest.err conftest.$ac_objext \
94239423+rm -f core conftest.err conftest.$ac_objext conftest.beam \
90549424 conftest$ac_exeext conftest.$ac_ext
90559425fi
90569426···90589428 CFLAGS="$xorg_testset_save_CFLAGS"
9059942990609430 eval supported=\$$cacheid
90619061- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
90629062-$as_echo "$supported" >&6; }
94319431+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
94329432+printf "%s\n" "$supported" >&6; }
90639433 if test "$supported" = "yes" ; then
90649434 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
90659435 found="yes"
···9084945490859455if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
90869456 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
90879087- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
90889088-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
90899089-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
90909090- $as_echo_n "(cached) " >&6
90919091-else
94579457+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
94589458+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
94599459+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
94609460+then :
94619461+ printf %s "(cached) " >&6
94629462+else $as_nop
90929463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90939464/* end confdefs.h. */
90949465int i;
90959466_ACEOF
90969096-if ac_fn_c_try_compile "$LINENO"; then :
94679467+if ac_fn_c_try_compile "$LINENO"
94689468+then :
90979469 xorg_cv_cc_flag_unknown_warning_option=yes
90989098-else
94709470+else $as_nop
90999471 xorg_cv_cc_flag_unknown_warning_option=no
91009472fi
91019101-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94739473+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
91029474fi
91039103-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
91049104-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
94759475+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
94769476+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
91059477 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
91069478 CFLAGS="$xorg_testset_save_CFLAGS"
91079479fi
···91119483 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
91129484 fi
91139485 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
91149114- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
91159115-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
91169116-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
91179117- $as_echo_n "(cached) " >&6
91189118-else
94869486+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
94879487+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
94889488+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
94899489+then :
94909490+ printf %s "(cached) " >&6
94919491+else $as_nop
91199492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91209493/* end confdefs.h. */
91219494int i;
91229495_ACEOF
91239123-if ac_fn_c_try_compile "$LINENO"; then :
94969496+if ac_fn_c_try_compile "$LINENO"
94979497+then :
91249498 xorg_cv_cc_flag_unused_command_line_argument=yes
91259125-else
94999499+else $as_nop
91269500 xorg_cv_cc_flag_unused_command_line_argument=no
91279501fi
91289128-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95029502+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
91299503fi
91309130-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
91319131-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
95049504+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
95059505+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
91329506 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
91339507 CFLAGS="$xorg_testset_save_CFLAGS"
91349508fi
···9146952091479521 CFLAGS="$CFLAGS -Wtrigraphs"
9148952291499149- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
91509150-$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
95239523+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
95249524+printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
91519525 cacheid=xorg_cv_cc_flag__Wtrigraphs
91529152- if eval \${$cacheid+:} false; then :
91539153- $as_echo_n "(cached) " >&6
91549154-else
95269526+ if eval test \${$cacheid+y}
95279527+then :
95289528+ printf %s "(cached) " >&6
95299529+else $as_nop
91559530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91569531/* end confdefs.h. */
91579532int i;
91589533int
91599159-main ()
95349534+main (void)
91609535{
9161953691629537 ;
91639538 return 0;
91649539}
91659540_ACEOF
91669166-if ac_fn_c_try_link "$LINENO"; then :
95419541+if ac_fn_c_try_link "$LINENO"
95429542+then :
91679543 eval $cacheid=yes
91689168-else
95449544+else $as_nop
91699545 eval $cacheid=no
91709546fi
91719171-rm -f core conftest.err conftest.$ac_objext \
95479547+rm -f core conftest.err conftest.$ac_objext conftest.beam \
91729548 conftest$ac_exeext conftest.$ac_ext
91739549fi
91749550···91769552 CFLAGS="$xorg_testset_save_CFLAGS"
9177955391789554 eval supported=\$$cacheid
91799179- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
91809180-$as_echo "$supported" >&6; }
95559555+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
95569556+printf "%s\n" "$supported" >&6; }
91819557 if test "$supported" = "yes" ; then
91829558 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
91839559 found="yes"
···9202957892039579if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
92049580 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
92059205- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
92069206-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
92079207-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
92089208- $as_echo_n "(cached) " >&6
92099209-else
95819581+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
95829582+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
95839583+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
95849584+then :
95859585+ printf %s "(cached) " >&6
95869586+else $as_nop
92109587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92119588/* end confdefs.h. */
92129589int i;
92139590_ACEOF
92149214-if ac_fn_c_try_compile "$LINENO"; then :
95919591+if ac_fn_c_try_compile "$LINENO"
95929592+then :
92159593 xorg_cv_cc_flag_unknown_warning_option=yes
92169216-else
95949594+else $as_nop
92179595 xorg_cv_cc_flag_unknown_warning_option=no
92189596fi
92199219-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95979597+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
92209598fi
92219221-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
92229222-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
95999599+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
96009600+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
92239601 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
92249602 CFLAGS="$xorg_testset_save_CFLAGS"
92259603fi
···92299607 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
92309608 fi
92319609 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
92329232- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
92339233-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
92349234-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
92359235- $as_echo_n "(cached) " >&6
92369236-else
96109610+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
96119611+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
96129612+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
96139613+then :
96149614+ printf %s "(cached) " >&6
96159615+else $as_nop
92379616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92389617/* end confdefs.h. */
92399618int i;
92409619_ACEOF
92419241-if ac_fn_c_try_compile "$LINENO"; then :
96209620+if ac_fn_c_try_compile "$LINENO"
96219621+then :
92429622 xorg_cv_cc_flag_unused_command_line_argument=yes
92439243-else
96239623+else $as_nop
92449624 xorg_cv_cc_flag_unused_command_line_argument=no
92459625fi
92469246-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96269626+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
92479627fi
92489248-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
92499249-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
96289628+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
96299629+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
92509630 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
92519631 CFLAGS="$xorg_testset_save_CFLAGS"
92529632fi
···9264964492659645 CFLAGS="$CFLAGS -Warray-bounds"
9266964692679267- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
92689268-$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
96479647+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
96489648+printf %s "checking if $CC supports -Warray-bounds... " >&6; }
92699649 cacheid=xorg_cv_cc_flag__Warray_bounds
92709270- if eval \${$cacheid+:} false; then :
92719271- $as_echo_n "(cached) " >&6
92729272-else
96509650+ if eval test \${$cacheid+y}
96519651+then :
96529652+ printf %s "(cached) " >&6
96539653+else $as_nop
92739654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92749655/* end confdefs.h. */
92759656int i;
92769657int
92779277-main ()
96589658+main (void)
92789659{
9279966092809661 ;
92819662 return 0;
92829663}
92839664_ACEOF
92849284-if ac_fn_c_try_link "$LINENO"; then :
96659665+if ac_fn_c_try_link "$LINENO"
96669666+then :
92859667 eval $cacheid=yes
92869286-else
96689668+else $as_nop
92879669 eval $cacheid=no
92889670fi
92899289-rm -f core conftest.err conftest.$ac_objext \
96719671+rm -f core conftest.err conftest.$ac_objext conftest.beam \
92909672 conftest$ac_exeext conftest.$ac_ext
92919673fi
92929674···92949676 CFLAGS="$xorg_testset_save_CFLAGS"
9295967792969678 eval supported=\$$cacheid
92979297- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
92989298-$as_echo "$supported" >&6; }
96799679+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
96809680+printf "%s\n" "$supported" >&6; }
92999681 if test "$supported" = "yes" ; then
93009682 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
93019683 found="yes"
···9320970293219703if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
93229704 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
93239323- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
93249324-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
93259325-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
93269326- $as_echo_n "(cached) " >&6
93279327-else
97059705+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
97069706+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
97079707+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
97089708+then :
97099709+ printf %s "(cached) " >&6
97109710+else $as_nop
93289711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93299712/* end confdefs.h. */
93309713int i;
93319714_ACEOF
93329332-if ac_fn_c_try_compile "$LINENO"; then :
97159715+if ac_fn_c_try_compile "$LINENO"
97169716+then :
93339717 xorg_cv_cc_flag_unknown_warning_option=yes
93349334-else
97189718+else $as_nop
93359719 xorg_cv_cc_flag_unknown_warning_option=no
93369720fi
93379337-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97219721+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
93389722fi
93399339-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
93409340-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
97239723+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
97249724+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
93419725 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
93429726 CFLAGS="$xorg_testset_save_CFLAGS"
93439727fi
···93479731 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
93489732 fi
93499733 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
93509350- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
93519351-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
93529352-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
93539353- $as_echo_n "(cached) " >&6
93549354-else
97349734+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
97359735+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
97369736+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
97379737+then :
97389738+ printf %s "(cached) " >&6
97399739+else $as_nop
93559740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93569741/* end confdefs.h. */
93579742int i;
93589743_ACEOF
93599359-if ac_fn_c_try_compile "$LINENO"; then :
97449744+if ac_fn_c_try_compile "$LINENO"
97459745+then :
93609746 xorg_cv_cc_flag_unused_command_line_argument=yes
93619361-else
97479747+else $as_nop
93629748 xorg_cv_cc_flag_unused_command_line_argument=no
93639749fi
93649364-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97509750+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
93659751fi
93669366-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
93679367-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
97529752+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
97539753+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
93689754 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
93699755 CFLAGS="$xorg_testset_save_CFLAGS"
93709756fi
···9382976893839769 CFLAGS="$CFLAGS -Wwrite-strings"
9384977093859385- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
93869386-$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
97719771+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
97729772+printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
93879773 cacheid=xorg_cv_cc_flag__Wwrite_strings
93889388- if eval \${$cacheid+:} false; then :
93899389- $as_echo_n "(cached) " >&6
93909390-else
97749774+ if eval test \${$cacheid+y}
97759775+then :
97769776+ printf %s "(cached) " >&6
97779777+else $as_nop
93919778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93929779/* end confdefs.h. */
93939780int i;
93949781int
93959395-main ()
97829782+main (void)
93969783{
9397978493989785 ;
93999786 return 0;
94009787}
94019788_ACEOF
94029402-if ac_fn_c_try_link "$LINENO"; then :
97899789+if ac_fn_c_try_link "$LINENO"
97909790+then :
94039791 eval $cacheid=yes
94049404-else
97929792+else $as_nop
94059793 eval $cacheid=no
94069794fi
94079407-rm -f core conftest.err conftest.$ac_objext \
97959795+rm -f core conftest.err conftest.$ac_objext conftest.beam \
94089796 conftest$ac_exeext conftest.$ac_ext
94099797fi
94109798···94129800 CFLAGS="$xorg_testset_save_CFLAGS"
9413980194149802 eval supported=\$$cacheid
94159415- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
94169416-$as_echo "$supported" >&6; }
98039803+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
98049804+printf "%s\n" "$supported" >&6; }
94179805 if test "$supported" = "yes" ; then
94189806 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
94199807 found="yes"
···9438982694399827if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
94409828 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
94419441- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
94429442-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
94439443-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
94449444- $as_echo_n "(cached) " >&6
94459445-else
98299829+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
98309830+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
98319831+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
98329832+then :
98339833+ printf %s "(cached) " >&6
98349834+else $as_nop
94469835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94479836/* end confdefs.h. */
94489837int i;
94499838_ACEOF
94509450-if ac_fn_c_try_compile "$LINENO"; then :
98399839+if ac_fn_c_try_compile "$LINENO"
98409840+then :
94519841 xorg_cv_cc_flag_unknown_warning_option=yes
94529452-else
98429842+else $as_nop
94539843 xorg_cv_cc_flag_unknown_warning_option=no
94549844fi
94559455-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98459845+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
94569846fi
94579457-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
94589458-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
98479847+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
98489848+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
94599849 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
94609850 CFLAGS="$xorg_testset_save_CFLAGS"
94619851fi
···94659855 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
94669856 fi
94679857 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
94689468- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
94699469-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
94709470-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
94719471- $as_echo_n "(cached) " >&6
94729472-else
98589858+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
98599859+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
98609860+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
98619861+then :
98629862+ printf %s "(cached) " >&6
98639863+else $as_nop
94739864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94749865/* end confdefs.h. */
94759866int i;
94769867_ACEOF
94779477-if ac_fn_c_try_compile "$LINENO"; then :
98689868+if ac_fn_c_try_compile "$LINENO"
98699869+then :
94789870 xorg_cv_cc_flag_unused_command_line_argument=yes
94799479-else
98719871+else $as_nop
94809872 xorg_cv_cc_flag_unused_command_line_argument=no
94819873fi
94829482-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98749874+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
94839875fi
94849484-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
94859485-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
98769876+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
98779877+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
94869878 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
94879879 CFLAGS="$xorg_testset_save_CFLAGS"
94889880fi
···9500989295019893 CFLAGS="$CFLAGS -Waddress"
9502989495039503- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
95049504-$as_echo_n "checking if $CC supports -Waddress... " >&6; }
98959895+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
98969896+printf %s "checking if $CC supports -Waddress... " >&6; }
95059897 cacheid=xorg_cv_cc_flag__Waddress
95069506- if eval \${$cacheid+:} false; then :
95079507- $as_echo_n "(cached) " >&6
95089508-else
98989898+ if eval test \${$cacheid+y}
98999899+then :
99009900+ printf %s "(cached) " >&6
99019901+else $as_nop
95099902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95109903/* end confdefs.h. */
95119904int i;
95129905int
95139513-main ()
99069906+main (void)
95149907{
9515990895169909 ;
95179910 return 0;
95189911}
95199912_ACEOF
95209520-if ac_fn_c_try_link "$LINENO"; then :
99139913+if ac_fn_c_try_link "$LINENO"
99149914+then :
95219915 eval $cacheid=yes
95229522-else
99169916+else $as_nop
95239917 eval $cacheid=no
95249918fi
95259525-rm -f core conftest.err conftest.$ac_objext \
99199919+rm -f core conftest.err conftest.$ac_objext conftest.beam \
95269920 conftest$ac_exeext conftest.$ac_ext
95279921fi
95289922···95309924 CFLAGS="$xorg_testset_save_CFLAGS"
9531992595329926 eval supported=\$$cacheid
95339533- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
95349534-$as_echo "$supported" >&6; }
99279927+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
99289928+printf "%s\n" "$supported" >&6; }
95359929 if test "$supported" = "yes" ; then
95369930 BASE_CFLAGS="$BASE_CFLAGS -Waddress"
95379931 found="yes"
···9556995095579951if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
95589952 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
95599559- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
95609560-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
95619561-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
95629562- $as_echo_n "(cached) " >&6
95639563-else
99539953+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
99549954+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
99559955+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
99569956+then :
99579957+ printf %s "(cached) " >&6
99589958+else $as_nop
95649959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95659960/* end confdefs.h. */
95669961int i;
95679962_ACEOF
95689568-if ac_fn_c_try_compile "$LINENO"; then :
99639963+if ac_fn_c_try_compile "$LINENO"
99649964+then :
95699965 xorg_cv_cc_flag_unknown_warning_option=yes
95709570-else
99669966+else $as_nop
95719967 xorg_cv_cc_flag_unknown_warning_option=no
95729968fi
95739573-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99699969+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
95749970fi
95759575-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
95769576-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
99719971+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
99729972+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
95779973 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
95789974 CFLAGS="$xorg_testset_save_CFLAGS"
95799975fi
···95839979 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
95849980 fi
95859981 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
95869586- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
95879587-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
95889588-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
95899589- $as_echo_n "(cached) " >&6
95909590-else
99829982+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
99839983+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
99849984+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
99859985+then :
99869986+ printf %s "(cached) " >&6
99879987+else $as_nop
95919988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95929989/* end confdefs.h. */
95939990int i;
95949991_ACEOF
95959595-if ac_fn_c_try_compile "$LINENO"; then :
99929992+if ac_fn_c_try_compile "$LINENO"
99939993+then :
95969994 xorg_cv_cc_flag_unused_command_line_argument=yes
95979597-else
99959995+else $as_nop
95989996 xorg_cv_cc_flag_unused_command_line_argument=no
95999997fi
96009600-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99989998+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
96019999fi
96029602-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
96039603-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1000010000+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1000110001+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
960410002 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
960510003 CFLAGS="$xorg_testset_save_CFLAGS"
960610004fi
···961810016961910017 CFLAGS="$CFLAGS -Wint-to-pointer-cast"
96201001896219621- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
96229622-$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
1001910019+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
1002010020+printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
962310021 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
96249624- if eval \${$cacheid+:} false; then :
96259625- $as_echo_n "(cached) " >&6
96269626-else
1002210022+ if eval test \${$cacheid+y}
1002310023+then :
1002410024+ printf %s "(cached) " >&6
1002510025+else $as_nop
962710026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
962810027/* end confdefs.h. */
962910028int i;
963010029int
96319631-main ()
1003010030+main (void)
963210031{
963310032963410033 ;
963510034 return 0;
963610035}
963710036_ACEOF
96389638-if ac_fn_c_try_link "$LINENO"; then :
1003710037+if ac_fn_c_try_link "$LINENO"
1003810038+then :
963910039 eval $cacheid=yes
96409640-else
1004010040+else $as_nop
964110041 eval $cacheid=no
964210042fi
96439643-rm -f core conftest.err conftest.$ac_objext \
1004310043+rm -f core conftest.err conftest.$ac_objext conftest.beam \
964410044 conftest$ac_exeext conftest.$ac_ext
964510045fi
964610046···964810048 CFLAGS="$xorg_testset_save_CFLAGS"
964910049965010050 eval supported=\$$cacheid
96519651- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
96529652-$as_echo "$supported" >&6; }
1005110051+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1005210052+printf "%s\n" "$supported" >&6; }
965310053 if test "$supported" = "yes" ; then
965410054 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
965510055 found="yes"
···967410074967510075if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
967610076 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
96779677- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
96789678-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
96799679-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
96809680- $as_echo_n "(cached) " >&6
96819681-else
1007710077+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1007810078+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1007910079+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1008010080+then :
1008110081+ printf %s "(cached) " >&6
1008210082+else $as_nop
968210083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
968310084/* end confdefs.h. */
968410085int i;
968510086_ACEOF
96869686-if ac_fn_c_try_compile "$LINENO"; then :
1008710087+if ac_fn_c_try_compile "$LINENO"
1008810088+then :
968710089 xorg_cv_cc_flag_unknown_warning_option=yes
96889688-else
1009010090+else $as_nop
968910091 xorg_cv_cc_flag_unknown_warning_option=no
969010092fi
96919691-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1009310093+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
969210094fi
96939693-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
96949694-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1009510095+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1009610096+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
969510097 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
969610098 CFLAGS="$xorg_testset_save_CFLAGS"
969710099fi
···970110103 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
970210104 fi
970310105 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
97049704- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
97059705-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
97069706-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
97079707- $as_echo_n "(cached) " >&6
97089708-else
1010610106+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1010710107+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1010810108+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1010910109+then :
1011010110+ printf %s "(cached) " >&6
1011110111+else $as_nop
970910112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
971010113/* end confdefs.h. */
971110114int i;
971210115_ACEOF
97139713-if ac_fn_c_try_compile "$LINENO"; then :
1011610116+if ac_fn_c_try_compile "$LINENO"
1011710117+then :
971410118 xorg_cv_cc_flag_unused_command_line_argument=yes
97159715-else
1011910119+else $as_nop
971610120 xorg_cv_cc_flag_unused_command_line_argument=no
971710121fi
97189718-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1012210122+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
971910123fi
97209720-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
97219721-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1012410124+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1012510125+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
972210126 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
972310127 CFLAGS="$xorg_testset_save_CFLAGS"
972410128fi
···973610140973710141 CFLAGS="$CFLAGS -Wpointer-to-int-cast"
97381014297399739- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
97409740-$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
1014310143+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
1014410144+printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
974110145 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
97429742- if eval \${$cacheid+:} false; then :
97439743- $as_echo_n "(cached) " >&6
97449744-else
1014610146+ if eval test \${$cacheid+y}
1014710147+then :
1014810148+ printf %s "(cached) " >&6
1014910149+else $as_nop
974510150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
974610151/* end confdefs.h. */
974710152int i;
974810153int
97499749-main ()
1015410154+main (void)
975010155{
975110156975210157 ;
975310158 return 0;
975410159}
975510160_ACEOF
97569756-if ac_fn_c_try_link "$LINENO"; then :
1016110161+if ac_fn_c_try_link "$LINENO"
1016210162+then :
975710163 eval $cacheid=yes
97589758-else
1016410164+else $as_nop
975910165 eval $cacheid=no
976010166fi
97619761-rm -f core conftest.err conftest.$ac_objext \
1016710167+rm -f core conftest.err conftest.$ac_objext conftest.beam \
976210168 conftest$ac_exeext conftest.$ac_ext
976310169fi
976410170···976610172 CFLAGS="$xorg_testset_save_CFLAGS"
976710173976810174 eval supported=\$$cacheid
97699769- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
97709770-$as_echo "$supported" >&6; }
1017510175+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1017610176+printf "%s\n" "$supported" >&6; }
977110177 if test "$supported" = "yes" ; then
977210178 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
977310179 found="yes"
···979610202979710203979810204# Check whether --enable-strict-compilation was given.
97999799-if test "${enable_strict_compilation+set}" = set; then :
1020510205+if test ${enable_strict_compilation+y}
1020610206+then :
980010207 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
98019801-else
1020810208+else $as_nop
980210209 STRICT_COMPILE=no
980310210fi
980410211···982510232982610233if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
982710234 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
98289828- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
98299829-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
98309830-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
98319831- $as_echo_n "(cached) " >&6
98329832-else
1023510235+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1023610236+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1023710237+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1023810238+then :
1023910239+ printf %s "(cached) " >&6
1024010240+else $as_nop
983310241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
983410242/* end confdefs.h. */
983510243int i;
983610244_ACEOF
98379837-if ac_fn_c_try_compile "$LINENO"; then :
1024510245+if ac_fn_c_try_compile "$LINENO"
1024610246+then :
983810247 xorg_cv_cc_flag_unknown_warning_option=yes
98399839-else
1024810248+else $as_nop
984010249 xorg_cv_cc_flag_unknown_warning_option=no
984110250fi
98429842-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1025110251+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
984310252fi
98449844-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
98459845-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1025310253+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1025410254+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
984610255 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
984710256 CFLAGS="$xorg_testset_save_CFLAGS"
984810257fi
···985210261 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
985310262 fi
985410263 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
98559855- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
98569856-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
98579857-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
98589858- $as_echo_n "(cached) " >&6
98599859-else
1026410264+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1026510265+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1026610266+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1026710267+then :
1026810268+ printf %s "(cached) " >&6
1026910269+else $as_nop
986010270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
986110271/* end confdefs.h. */
986210272int i;
986310273_ACEOF
98649864-if ac_fn_c_try_compile "$LINENO"; then :
1027410274+if ac_fn_c_try_compile "$LINENO"
1027510275+then :
986510276 xorg_cv_cc_flag_unused_command_line_argument=yes
98669866-else
1027710277+else $as_nop
986710278 xorg_cv_cc_flag_unused_command_line_argument=no
986810279fi
98699869-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1028010280+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
987010281fi
98719871-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
98729872-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1028210282+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1028310283+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
987310284 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
987410285 CFLAGS="$xorg_testset_save_CFLAGS"
987510286fi
···988710298988810299 CFLAGS="$CFLAGS -pedantic"
98891030098909890- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
98919891-$as_echo_n "checking if $CC supports -pedantic... " >&6; }
1030110301+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
1030210302+printf %s "checking if $CC supports -pedantic... " >&6; }
989210303 cacheid=xorg_cv_cc_flag__pedantic
98939893- if eval \${$cacheid+:} false; then :
98949894- $as_echo_n "(cached) " >&6
98959895-else
1030410304+ if eval test \${$cacheid+y}
1030510305+then :
1030610306+ printf %s "(cached) " >&6
1030710307+else $as_nop
989610308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
989710309/* end confdefs.h. */
989810310int i;
989910311int
99009900-main ()
1031210312+main (void)
990110313{
990210314990310315 ;
990410316 return 0;
990510317}
990610318_ACEOF
99079907-if ac_fn_c_try_link "$LINENO"; then :
1031910319+if ac_fn_c_try_link "$LINENO"
1032010320+then :
990810321 eval $cacheid=yes
99099909-else
1032210322+else $as_nop
991010323 eval $cacheid=no
991110324fi
99129912-rm -f core conftest.err conftest.$ac_objext \
1032510325+rm -f core conftest.err conftest.$ac_objext conftest.beam \
991310326 conftest$ac_exeext conftest.$ac_ext
991410327fi
991510328···991710330 CFLAGS="$xorg_testset_save_CFLAGS"
991810331991910332 eval supported=\$$cacheid
99209920- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
99219921-$as_echo "$supported" >&6; }
1033310333+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1033410334+printf "%s\n" "$supported" >&6; }
992210335 if test "$supported" = "yes" ; then
992310336 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
992410337 found="yes"
···994310356994410357if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
994510358 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
99469946- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
99479947-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
99489948-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
99499949- $as_echo_n "(cached) " >&6
99509950-else
1035910359+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1036010360+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1036110361+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1036210362+then :
1036310363+ printf %s "(cached) " >&6
1036410364+else $as_nop
995110365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
995210366/* end confdefs.h. */
995310367int i;
995410368_ACEOF
99559955-if ac_fn_c_try_compile "$LINENO"; then :
1036910369+if ac_fn_c_try_compile "$LINENO"
1037010370+then :
995610371 xorg_cv_cc_flag_unknown_warning_option=yes
99579957-else
1037210372+else $as_nop
995810373 xorg_cv_cc_flag_unknown_warning_option=no
995910374fi
99609960-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1037510375+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
996110376fi
99629962-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
99639963-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1037710377+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1037810378+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
996410379 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
996510380 CFLAGS="$xorg_testset_save_CFLAGS"
996610381fi
···997010385 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
997110386 fi
997210387 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
99739973- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
99749974-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
99759975-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
99769976- $as_echo_n "(cached) " >&6
99779977-else
1038810388+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1038910389+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1039010390+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1039110391+then :
1039210392+ printf %s "(cached) " >&6
1039310393+else $as_nop
997810394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
997910395/* end confdefs.h. */
998010396int i;
998110397_ACEOF
99829982-if ac_fn_c_try_compile "$LINENO"; then :
1039810398+if ac_fn_c_try_compile "$LINENO"
1039910399+then :
998310400 xorg_cv_cc_flag_unused_command_line_argument=yes
99849984-else
1040110401+else $as_nop
998510402 xorg_cv_cc_flag_unused_command_line_argument=no
998610403fi
99879987-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1040410404+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
998810405fi
99899989-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
99909990-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1040610406+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1040710407+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
999110408 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
999210409 CFLAGS="$xorg_testset_save_CFLAGS"
999310410fi
···10005104221000610423 CFLAGS="$CFLAGS -Werror"
10007104241000810008- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
1000910009-$as_echo_n "checking if $CC supports -Werror... " >&6; }
1042510425+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
1042610426+printf %s "checking if $CC supports -Werror... " >&6; }
1001010427 cacheid=xorg_cv_cc_flag__Werror
1001110011- if eval \${$cacheid+:} false; then :
1001210012- $as_echo_n "(cached) " >&6
1001310013-else
1042810428+ if eval test \${$cacheid+y}
1042910429+then :
1043010430+ printf %s "(cached) " >&6
1043110431+else $as_nop
1001410432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1001510433/* end confdefs.h. */
1001610434int i;
1001710435int
1001810018-main ()
1043610436+main (void)
1001910437{
10020104381002110439 ;
1002210440 return 0;
1002310441}
1002410442_ACEOF
1002510025-if ac_fn_c_try_link "$LINENO"; then :
1044310443+if ac_fn_c_try_link "$LINENO"
1044410444+then :
1002610445 eval $cacheid=yes
1002710027-else
1044610446+else $as_nop
1002810447 eval $cacheid=no
1002910448fi
1003010030-rm -f core conftest.err conftest.$ac_objext \
1044910449+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1003110450 conftest$ac_exeext conftest.$ac_ext
1003210451fi
1003310452···1003510454 CFLAGS="$xorg_testset_save_CFLAGS"
10036104551003710456 eval supported=\$$cacheid
1003810038- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1003910039-$as_echo "$supported" >&6; }
1045710457+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1045810458+printf "%s\n" "$supported" >&6; }
1004010459 if test "$supported" = "yes" ; then
1004110460 STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
1004210461 found="yes"
···10054104731005510474 CFLAGS="$CFLAGS -errwarn"
10056104751005710057- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
1005810058-$as_echo_n "checking if $CC supports -errwarn... " >&6; }
1047610476+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
1047710477+printf %s "checking if $CC supports -errwarn... " >&6; }
1005910478 cacheid=xorg_cv_cc_flag__errwarn
1006010060- if eval \${$cacheid+:} false; then :
1006110061- $as_echo_n "(cached) " >&6
1006210062-else
1047910479+ if eval test \${$cacheid+y}
1048010480+then :
1048110481+ printf %s "(cached) " >&6
1048210482+else $as_nop
1006310483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1006410484/* end confdefs.h. */
1006510485int i;
1006610486int
1006710067-main ()
1048710487+main (void)
1006810488{
10069104891007010490 ;
1007110491 return 0;
1007210492}
1007310493_ACEOF
1007410074-if ac_fn_c_try_link "$LINENO"; then :
1049410494+if ac_fn_c_try_link "$LINENO"
1049510495+then :
1007510496 eval $cacheid=yes
1007610076-else
1049710497+else $as_nop
1007710498 eval $cacheid=no
1007810499fi
1007910079-rm -f core conftest.err conftest.$ac_objext \
1050010500+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1008010501 conftest$ac_exeext conftest.$ac_ext
1008110502fi
1008210503···1008410505 CFLAGS="$xorg_testset_save_CFLAGS"
10085105061008610507 eval supported=\$$cacheid
1008710087- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1008810088-$as_echo "$supported" >&6; }
1050810508+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1050910509+printf "%s\n" "$supported" >&6; }
1008910510 if test "$supported" = "yes" ; then
1009010511 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
1009110512 found="yes"
···10113105341011410535if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
1011510536 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
1011610116- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1011710117-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1011810118-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
1011910119- $as_echo_n "(cached) " >&6
1012010120-else
1053710537+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1053810538+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1053910539+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1054010540+then :
1054110541+ printf %s "(cached) " >&6
1054210542+else $as_nop
1012110543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1012210544/* end confdefs.h. */
1012310545int i;
1012410546_ACEOF
1012510125-if ac_fn_c_try_compile "$LINENO"; then :
1054710547+if ac_fn_c_try_compile "$LINENO"
1054810548+then :
1012610549 xorg_cv_cc_flag_unknown_warning_option=yes
1012710127-else
1055010550+else $as_nop
1012810551 xorg_cv_cc_flag_unknown_warning_option=no
1012910552fi
1013010130-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1055310553+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1013110554fi
1013210132-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1013310133-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1055510555+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1055610556+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1013410557 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
1013510558 CFLAGS="$xorg_testset_save_CFLAGS"
1013610559fi
···1014010563 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
1014110564 fi
1014210565 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
1014310143- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1014410144-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1014510145-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
1014610146- $as_echo_n "(cached) " >&6
1014710147-else
1056610566+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1056710567+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1056810568+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1056910569+then :
1057010570+ printf %s "(cached) " >&6
1057110571+else $as_nop
1014810572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1014910573/* end confdefs.h. */
1015010574int i;
1015110575_ACEOF
1015210152-if ac_fn_c_try_compile "$LINENO"; then :
1057610576+if ac_fn_c_try_compile "$LINENO"
1057710577+then :
1015310578 xorg_cv_cc_flag_unused_command_line_argument=yes
1015410154-else
1057910579+else $as_nop
1015510580 xorg_cv_cc_flag_unused_command_line_argument=no
1015610581fi
1015710157-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1058210582+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1015810583fi
1015910159-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1016010160-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1058410584+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1058510585+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1016110586 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
1016210587 CFLAGS="$xorg_testset_save_CFLAGS"
1016310588fi
···10175106001017610601 CFLAGS="$CFLAGS -Werror=attributes"
10177106021017810178- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
1017910179-$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
1060310603+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
1060410604+printf %s "checking if $CC supports -Werror=attributes... " >&6; }
1018010605 cacheid=xorg_cv_cc_flag__Werror_attributes
1018110181- if eval \${$cacheid+:} false; then :
1018210182- $as_echo_n "(cached) " >&6
1018310183-else
1060610606+ if eval test \${$cacheid+y}
1060710607+then :
1060810608+ printf %s "(cached) " >&6
1060910609+else $as_nop
1018410610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1018510611/* end confdefs.h. */
1018610612int i;
1018710613int
1018810188-main ()
1061410614+main (void)
1018910615{
10190106161019110617 ;
1019210618 return 0;
1019310619}
1019410620_ACEOF
1019510195-if ac_fn_c_try_link "$LINENO"; then :
1062110621+if ac_fn_c_try_link "$LINENO"
1062210622+then :
1019610623 eval $cacheid=yes
1019710197-else
1062410624+else $as_nop
1019810625 eval $cacheid=no
1019910626fi
1020010200-rm -f core conftest.err conftest.$ac_objext \
1062710627+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1020110628 conftest$ac_exeext conftest.$ac_ext
1020210629fi
1020310630···1020510632 CFLAGS="$xorg_testset_save_CFLAGS"
10206106331020710634 eval supported=\$$cacheid
1020810208- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1020910209-$as_echo "$supported" >&6; }
1063510635+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1063610636+printf "%s\n" "$supported" >&6; }
1021010637 if test "$supported" = "yes" ; then
1021110638 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
1021210639 found="yes"
···1021910646 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
1022010647 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
1022110648fi
1064910649+1022210650102231065110224106521022510653102261065410227106551065610656+1022810657cat >>confdefs.h <<_ACEOF
1022910658#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
1023010659_ACEOF
···1023410663 PVM="0"
1023510664 fi
10236106651023710237-cat >>confdefs.h <<_ACEOF
1023810238-#define PACKAGE_VERSION_MINOR $PVM
1023910239-_ACEOF
1066610666+printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
10240106671024110668 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
1024210669 if test "x$PVP" = "x"; then
1024310670 PVP="0"
1024410671 fi
10245106721024610246-cat >>confdefs.h <<_ACEOF
1024710247-#define PACKAGE_VERSION_PATCHLEVEL $PVP
1024810248-_ACEOF
1067310673+printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
102491067410250106751025110676···1027510700 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
1027610701 # check for a man page file found in later versions that use
1027710702 # traditional section numbers instead
1027810278- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
1027910279-$as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
1028010280-if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
1028110281- $as_echo_n "(cached) " >&6
1028210282-else
1070310703+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
1070410704+printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
1070510705+if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
1070610706+then :
1070710707+ printf %s "(cached) " >&6
1070810708+else $as_nop
1028310709 test "$cross_compiling" = yes &&
1028410710 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
1028510711if test -r "/usr/share/man/man7/attributes.7"; then
···1028810714 ac_cv_file__usr_share_man_man7_attributes_7=no
1028910715fi
1029010716fi
1029110291-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
1029210292-$as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
1029310293-if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
1071710717+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
1071810718+printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
1071910719+if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
1072010720+then :
1029410721 SYSV_MAN_SECTIONS=false
1029510295-else
1072210722+else $as_nop
1029610723 SYSV_MAN_SECTIONS=true
1029710724fi
1029810725···103871081410388108151038910816# Check whether --enable-silent-rules was given.
1039010390-if test "${enable_silent_rules+set}" = set; then :
1081710817+if test ${enable_silent_rules+y}
1081810818+then :
1039110819 enableval=$enable_silent_rules;
1039210820fi
1039310821···1039710825 *) AM_DEFAULT_VERBOSITY=0;;
1039810826esac
1039910827am_make=${MAKE-make}
1040010400-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
1040110401-$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
1040210402-if ${am_cv_make_support_nested_variables+:} false; then :
1040310403- $as_echo_n "(cached) " >&6
1040410404-else
1040510405- if $as_echo 'TRUE=$(BAR$(V))
1082810828+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
1082910829+printf %s "checking whether $am_make supports nested variables... " >&6; }
1083010830+if test ${am_cv_make_support_nested_variables+y}
1083110831+then :
1083210832+ printf %s "(cached) " >&6
1083310833+else $as_nop
1083410834+ if printf "%s\n" 'TRUE=$(BAR$(V))
1040610835BAR0=false
1040710836BAR1=true
1040810837V=1
···1041410843 am_cv_make_support_nested_variables=no
1041510844fi
1041610845fi
1041710417-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
1041810418-$as_echo "$am_cv_make_support_nested_variables" >&6; }
1084610846+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
1084710847+printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
1041910848if test $am_cv_make_support_nested_variables = yes; then
1042010849 AM_V='$(V)'
1042110850 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
···1042710856104281085710429108581085910859+1086010860+# Optional dependencies
1086110861+1086210862+# Check whether --with-xkb was given.
1086310863+if test ${with_xkb+y}
1086410864+then :
1086510865+ withval=$with_xkb; use_xkb="$withval"
1086610866+else $as_nop
1086710867+ use_xkb="yes"
1086810868+fi
1086910869+1087010870+if test x$use_xkb != xno ; then
1087110871+ XKBMODULE="xkbfile"
1087210872+1087310873+printf "%s\n" "#define XKB 1" >>confdefs.h
1087410874+1087510875+fi
1087610876+1043010877# Obtain compiler/linker options from dependencies
10431108781043210879pkg_failed=no
1043310433-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17" >&5
1043410434-$as_echo_n "checking for xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17... " >&6; }
1088010880+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}" >&5
1088110881+printf %s "checking for xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}... " >&6; }
10435108821043610883if test -n "$EDITRES_CFLAGS"; then
1043710884 pkg_cv_EDITRES_CFLAGS="$EDITRES_CFLAGS"
1043810885 elif test -n "$PKG_CONFIG"; then
1043910886 if test -n "$PKG_CONFIG" && \
1044010440- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17\""; } >&5
1044110441- ($PKG_CONFIG --exists --print-errors "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17") 2>&5
1088710887+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 \${XKBMODULE}\""; } >&5
1088810888+ ($PKG_CONFIG --exists --print-errors "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}") 2>&5
1044210889 ac_status=$?
1044310443- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1089010890+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1044410891 test $ac_status = 0; }; then
1044510445- pkg_cv_EDITRES_CFLAGS=`$PKG_CONFIG --cflags "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17" 2>/dev/null`
1089210892+ pkg_cv_EDITRES_CFLAGS=`$PKG_CONFIG --cflags "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}" 2>/dev/null`
1044610893 test "x$?" != "x0" && pkg_failed=yes
1044710894else
1044810895 pkg_failed=yes
···1045410901 pkg_cv_EDITRES_LIBS="$EDITRES_LIBS"
1045510902 elif test -n "$PKG_CONFIG"; then
1045610903 if test -n "$PKG_CONFIG" && \
1045710457- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17\""; } >&5
1045810458- ($PKG_CONFIG --exists --print-errors "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17") 2>&5
1090410904+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 \${XKBMODULE}\""; } >&5
1090510905+ ($PKG_CONFIG --exists --print-errors "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}") 2>&5
1045910906 ac_status=$?
1046010460- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1090710907+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1046110908 test $ac_status = 0; }; then
1046210462- pkg_cv_EDITRES_LIBS=`$PKG_CONFIG --libs "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17" 2>/dev/null`
1090910909+ pkg_cv_EDITRES_LIBS=`$PKG_CONFIG --libs "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}" 2>/dev/null`
1046310910 test "x$?" != "x0" && pkg_failed=yes
1046410911else
1046510912 pkg_failed=yes
···104711091810472109191047310920if test $pkg_failed = yes; then
1047410474- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1047510475-$as_echo "no" >&6; }
1092110921+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1092210922+printf "%s\n" "no" >&6; }
10476109231047710924if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1047810925 _pkg_short_errors_supported=yes
···1048010927 _pkg_short_errors_supported=no
1048110928fi
1048210929 if test $_pkg_short_errors_supported = yes; then
1048310483- EDITRES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17" 2>&1`
1093010930+ EDITRES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}" 2>&1`
1048410931 else
1048510485- EDITRES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17" 2>&1`
1093210932+ EDITRES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}" 2>&1`
1048610933 fi
1048710934 # Put the nasty error message in config.log where it belongs
1048810935 echo "$EDITRES_PKG_ERRORS" >&5
10489109361049010490- as_fn_error $? "Package requirements (xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17) were not met:
1093710937+ as_fn_error $? "Package requirements (xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}) were not met:
10491109381049210939$EDITRES_PKG_ERRORS
1049310940···1049810945and EDITRES_LIBS to avoid the need to call pkg-config.
1049910946See the pkg-config man page for more details." "$LINENO" 5
1050010947elif test $pkg_failed = untried; then
1050110501- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1050210502-$as_echo "no" >&6; }
1050310503- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1050410504-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1094810948+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1094910949+printf "%s\n" "no" >&6; }
1095010950+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1095110951+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1050510952as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1050610953is in your PATH or set the PKG_CONFIG environment variable to the full
1050710954path to pkg-config.
···1051510962else
1051610963 EDITRES_CFLAGS=$pkg_cv_EDITRES_CFLAGS
1051710964 EDITRES_LIBS=$pkg_cv_EDITRES_LIBS
1051810518- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1051910519-$as_echo "yes" >&6; }
1096510965+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1096610966+printf "%s\n" "yes" >&6; }
10520109671052110968fi
105221096910523109701052410971pkg_failed=no
1052510525-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xt" >&5
1052610526-$as_echo_n "checking for xt... " >&6; }
1097210972+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xt" >&5
1097310973+printf %s "checking for xt... " >&6; }
10527109741052810975if test -n "$APPDEFS_CFLAGS"; then
1052910976 pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
1053010977 elif test -n "$PKG_CONFIG"; then
1053110978 if test -n "$PKG_CONFIG" && \
1053210532- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
1097910979+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
1053310980 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
1053410981 ac_status=$?
1053510535- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1098210982+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1053610983 test $ac_status = 0; }; then
1053710984 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
1053810985 test "x$?" != "x0" && pkg_failed=yes
···1054610993 pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
1054710994 elif test -n "$PKG_CONFIG"; then
1054810995 if test -n "$PKG_CONFIG" && \
1054910549- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
1099610996+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
1055010997 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
1055110998 ac_status=$?
1055210552- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1099910999+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1055311000 test $ac_status = 0; }; then
1055411001 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
1055511002 test "x$?" != "x0" && pkg_failed=yes
···105631101010564110111056511012if test $pkg_failed = yes; then
1056610566- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1056710567-$as_echo "no" >&6; }
1101311013+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1101411014+printf "%s\n" "no" >&6; }
10568110151056911016if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1057011017 _pkg_short_errors_supported=yes
···1059011037and APPDEFS_LIBS to avoid the need to call pkg-config.
1059111038See the pkg-config man page for more details." "$LINENO" 5
1059211039elif test $pkg_failed = untried; then
1059310593- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1059410594-$as_echo "no" >&6; }
1059510595- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1059610596-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1104011040+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1104111041+printf "%s\n" "no" >&6; }
1104211042+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1104311043+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1059711044as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1059811045is in your PATH or set the PKG_CONFIG environment variable to the full
1059911046path to pkg-config.
···1060711054else
1060811055 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
1060911056 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
1061010610- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1061110611-$as_echo "yes" >&6; }
1105711057+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1105811058+printf "%s\n" "yes" >&6; }
10612110591061311060fi
1061411061xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
10615110621061611063# Check whether --with-appdefaultdir was given.
1061710617-if test "${with_appdefaultdir+set}" = set; then :
1106411064+if test ${with_appdefaultdir+y}
1106511065+then :
1061811066 withval=$with_appdefaultdir; appdefaultdir="$withval"
1061910619-else
1106711067+else $as_nop
1062011068 appdefaultdir="${xt_appdefaultdir}"
1062111069fi
1062211070···1065111099 case $ac_val in #(
1065211100 *${as_nl}*)
1065311101 case $ac_var in #(
1065410654- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1065510655-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1110211102+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1110311103+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1065611104 esac
1065711105 case $ac_var in #(
1065811106 _ | IFS | as_nl) ;; #(
···1068211130 /^ac_cv_env_/b end
1068311131 t clear
1068411132 :clear
1068510685- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1113311133+ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1068611134 t end
1068711135 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1068811136 :end' >>confcache
1068911137if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1069011138 if test -w "$cache_file"; then
1069111139 if test "x$cache_file" != "x/dev/null"; then
1069210692- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1069310693-$as_echo "$as_me: updating cache $cache_file" >&6;}
1114011140+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1114111141+printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1069411142 if test ! -f "$cache_file" || test -h "$cache_file"; then
1069511143 cat confcache >"$cache_file"
1069611144 else
···1070411152 fi
1070511153 fi
1070611154 else
1070710707- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1070810708-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1115511155+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1115611156+printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1070911157 fi
1071011158fi
1071111159rm -f confcache
···1072211170for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1072311171 # 1. Remove the extension, and $U if already installed.
1072411172 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1072510725- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1117311173+ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1072611174 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1072711175 # will be set to the directory where LIBOBJS objects are built.
1072811176 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
···1073311181LTLIBOBJS=$ac_ltlibobjs
107341118210735111831073610736-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
1073710737-$as_echo_n "checking that generated files are newer than configure... " >&6; }
1118411184+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
1118511185+printf %s "checking that generated files are newer than configure... " >&6; }
1073811186 if test -n "$am_sleep_pid"; then
1073911187 # Hide warnings about reused PIDs.
1074011188 wait $am_sleep_pid 2>/dev/null
1074111189 fi
1074210742- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
1074310743-$as_echo "done" >&6; }
1119011190+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
1119111191+printf "%s\n" "done" >&6; }
1074411192 if test -n "$EXEEXT"; then
1074511193 am__EXEEXT_TRUE=
1074611194 am__EXEEXT_FALSE='#'
···1076611214ac_write_fail=0
1076711215ac_clean_files_save=$ac_clean_files
1076811216ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1076910769-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1077010770-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1121711217+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1121811218+printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1077111219as_write_fail=0
1077211220cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1077311221#! $SHELL
···10790112381079111239# Be more Bourne compatible
1079211240DUALCASE=1; export DUALCASE # for MKS sh
1079310793-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1124111241+as_nop=:
1124211242+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1124311243+then :
1079411244 emulate sh
1079511245 NULLCMD=:
1079611246 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1079711247 # is contrary to our usage. Disable this feature.
1079811248 alias -g '${1+"$@"}'='"$@"'
1079911249 setopt NO_GLOB_SUBST
1080010800-else
1125011250+else $as_nop
1080111251 case `(set -o) 2>/dev/null` in #(
1080211252 *posix*) :
1080311253 set -o posix ;; #(
···1080511255 ;;
1080611256esac
1080711257fi
1125811258+108081125910809112601126111261+# Reset variables that may have inherited troublesome values from
1126211262+# the environment.
1126311263+1126411264+# IFS needs to be set, to space, tab, and newline, in precisely that order.
1126511265+# (If _AS_PATH_WALK were called with IFS unset, it would have the
1126611266+# side effect of setting IFS to empty, thus disabling word splitting.)
1126711267+# Quoting is to prevent editors from complaining about space-tab.
1081011268as_nl='
1081111269'
1081211270export as_nl
1081310813-# Printing a long string crashes Solaris 7 /usr/bin/printf.
1081410814-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1081510815-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1081610816-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1081710817-# Prefer a ksh shell builtin over an external printf program on Solaris,
1081810818-# but without wasting forks for bash or zsh.
1081910819-if test -z "$BASH_VERSION$ZSH_VERSION" \
1082010820- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1082110821- as_echo='print -r --'
1082210822- as_echo_n='print -rn --'
1082310823-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1082410824- as_echo='printf %s\n'
1082510825- as_echo_n='printf %s'
1082610826-else
1082710827- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1082810828- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1082910829- as_echo_n='/usr/ucb/echo -n'
1083010830- else
1083110831- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1083210832- as_echo_n_body='eval
1083310833- arg=$1;
1083410834- case $arg in #(
1083510835- *"$as_nl"*)
1083610836- expr "X$arg" : "X\\(.*\\)$as_nl";
1083710837- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1083810838- esac;
1083910839- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1084010840- '
1084110841- export as_echo_n_body
1084210842- as_echo_n='sh -c $as_echo_n_body as_echo'
1084310843- fi
1084410844- export as_echo_body
1084510845- as_echo='sh -c $as_echo_body as_echo'
1084610846-fi
1127111271+IFS=" "" $as_nl"
1127211272+1127311273+PS1='$ '
1127411274+PS2='> '
1127511275+PS4='+ '
1127611276+1127711277+# Ensure predictable behavior from utilities with locale-dependent output.
1127811278+LC_ALL=C
1127911279+export LC_ALL
1128011280+LANGUAGE=C
1128111281+export LANGUAGE
1128211282+1128311283+# We cannot yet rely on "unset" to work, but we need these variables
1128411284+# to be unset--not just set to an empty or harmless value--now, to
1128511285+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
1128611286+# also avoids known problems related to "unset" and subshell syntax
1128711287+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
1128811288+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
1128911289+do eval test \${$as_var+y} \
1129011290+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1129111291+done
1129211292+1129311293+# Ensure that fds 0, 1, and 2 are open.
1129411294+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
1129511295+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
1129611296+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
10847112971084811298# The user is always right.
1084910849-if test "${PATH_SEPARATOR+set}" != set; then
1129911299+if ${PATH_SEPARATOR+false} :; then
1085011300 PATH_SEPARATOR=:
1085111301 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1085211302 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
···1085511305fi
108561130610857113071085810858-# IFS
1085910859-# We need space, tab and new line, in precisely that order. Quoting is
1086010860-# there to prevent editors from complaining about space-tab.
1086110861-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1086210862-# splitting by setting IFS to empty value.)
1086310863-IFS=" "" $as_nl"
1086410864-1086511308# Find who we are. Look in the path if we contain no directory separator.
1086611309as_myself=
1086711310case $0 in #((
···1087011313for as_dir in $PATH
1087111314do
1087211315 IFS=$as_save_IFS
1087310873- test -z "$as_dir" && as_dir=.
1087410874- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1131611316+ case $as_dir in #(((
1131711317+ '') as_dir=./ ;;
1131811318+ */) ;;
1131911319+ *) as_dir=$as_dir/ ;;
1132011320+ esac
1132111321+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1087511322 done
1087611323IFS=$as_save_IFS
1087711324···1088311330 as_myself=$0
1088411331fi
1088511332if test ! -f "$as_myself"; then
1088610886- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1133311333+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1088711334 exit 1
1088811335fi
10889113361089010890-# Unset variables that we do not need and which cause bugs (e.g. in
1089110891-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
1089210892-# suppresses any "Segmentation fault" message there. '((' could
1089310893-# trigger a bug in pdksh 5.2.14.
1089410894-for as_var in BASH_ENV ENV MAIL MAILPATH
1089510895-do eval test x\${$as_var+set} = xset \
1089610896- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1089710897-done
1089810898-PS1='$ '
1089910899-PS2='> '
1090010900-PS4='+ '
1090110901-1090210902-# NLS nuisances.
1090310903-LC_ALL=C
1090410904-export LC_ALL
1090510905-LANGUAGE=C
1090610906-export LANGUAGE
1090710907-1090810908-# CDPATH.
1090910909-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
109101133710911113381091211339# as_fn_error STATUS ERROR [LINENO LOG_FD]
···1091911346 as_status=$1; test $as_status -eq 0 && as_status=1
1092011347 if test "$4"; then
1092111348 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1092210922- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1134911349+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1092311350 fi
1092410924- $as_echo "$as_me: error: $2" >&2
1135111351+ printf "%s\n" "$as_me: error: $2" >&2
1092511352 as_fn_exit $as_status
1092611353} # as_fn_error
1135411354+109271135510928113561092911357# as_fn_set_status STATUS
···1095211380 { eval $1=; unset $1;}
1095311381}
1095411382as_unset=as_fn_unset
1138311383+1095511384# as_fn_append VAR VALUE
1095611385# ----------------------
1095711386# Append the text in VALUE to the end of the definition contained in VAR. Take
1095811387# advantage of any shell optimizations that allow amortized linear growth over
1095911388# repeated appends, instead of the typical quadratic growth present in naive
1096011389# implementations.
1096110961-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
1139011390+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
1139111391+then :
1096211392 eval 'as_fn_append ()
1096311393 {
1096411394 eval $1+=\$2
1096511395 }'
1096610966-else
1139611396+else $as_nop
1096711397 as_fn_append ()
1096811398 {
1096911399 eval $1=\$$1\$2
···1097511405# Perform arithmetic evaluation on the ARGs, and store the result in the
1097611406# global $as_val. Take advantage of shells that can avoid forks. The arguments
1097711407# must be portable across $(()) and expr.
1097810978-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
1140811408+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
1140911409+then :
1097911410 eval 'as_fn_arith ()
1098011411 {
1098111412 as_val=$(( $* ))
1098211413 }'
1098310983-else
1141411414+else $as_nop
1098411415 as_fn_arith ()
1098511416 {
1098611417 as_val=`expr "$@" || test $? -eq 1`
···1101111442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1101211443 X"$0" : 'X\(//\)$' \| \
1101311444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1101411014-$as_echo X/"$0" |
1144511445+printf "%s\n" X/"$0" |
1101511446 sed '/^.*\/\([^/][^/]*\)\/*$/{
1101611447 s//\1/
1101711448 q
···1103311464as_cr_digits='0123456789'
1103411465as_cr_alnum=$as_cr_Letters$as_cr_digits
11035114661146711467+1146811468+# Determine whether it's possible to make 'echo' print without a newline.
1146911469+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
1147011470+# for compatibility with existing Makefiles.
1103611471ECHO_C= ECHO_N= ECHO_T=
1103711472case `echo -n x` in #(((((
1103811473-n*)
···1104611481 ECHO_N='-n';;
1104711482esac
11048114831148411484+# For backward compatibility with old third-party macros, we provide
1148511485+# the shell variables $as_echo and $as_echo_n. New code should use
1148611486+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
1148711487+as_echo='printf %s\n'
1148811488+as_echo_n='printf %s'
1148911489+1104911490rm -f conf$$ conf$$.exe conf$$.file
1105011491if test -d conf$$.dir; then
1105111492 rm -f conf$$.dir/conf$$.file
···1108711528 as_dirs=
1108811529 while :; do
1108911530 case $as_dir in #(
1109011090- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1153111531+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1109111532 *) as_qdir=$as_dir;;
1109211533 esac
1109311534 as_dirs="'$as_qdir' $as_dirs"
···1109611537 X"$as_dir" : 'X\(//\)[^/]' \| \
1109711538 X"$as_dir" : 'X\(//\)$' \| \
1109811539 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1109911099-$as_echo X"$as_dir" |
1154011540+printf "%s\n" X"$as_dir" |
1110011541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1110111542 s//\1/
1110211543 q
···1115811599# report actual input values of CONFIG_FILES etc. instead of their
1115911600# values after options handling.
1116011601ac_log="
1116111161-This file was extended by editres $as_me 1.0.8, which was
1116211162-generated by GNU Autoconf 2.69. Invocation command line was
1160211602+This file was extended by editres $as_me 1.0.9, which was
1160311603+generated by GNU Autoconf 2.71. Invocation command line was
11163116041116411605 CONFIG_FILES = $CONFIG_FILES
1116511606 CONFIG_HEADERS = $CONFIG_HEADERS
···1121811659Configuration commands:
1121911660$config_commands
11220116611122111221-Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/issues>."
1166211662+Report bugs to <https://gitlab.freedesktop.org/xorg/app/editres/-/issues>."
11222116631122311664_ACEOF
1166511665+ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
1166611666+ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1122411667cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1122511225-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1166811668+ac_cs_config='$ac_cs_config_escaped'
1122611669ac_cs_version="\\
1122711227-editres config.status 1.0.8
1122811228-configured by $0, generated by GNU Autoconf 2.69,
1167011670+editres config.status 1.0.9
1167111671+configured by $0, generated by GNU Autoconf 2.71,
1122911672 with options \\"\$ac_cs_config\\"
11230116731123111231-Copyright (C) 2012 Free Software Foundation, Inc.
1167411674+Copyright (C) 2021 Free Software Foundation, Inc.
1123211675This config.status script is free software; the Free Software Foundation
1123311676gives unlimited permission to copy, distribute and modify it."
1123411677···1126811711 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1126911712 ac_cs_recheck=: ;;
1127011713 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1127111271- $as_echo "$ac_cs_version"; exit ;;
1171411714+ printf "%s\n" "$ac_cs_version"; exit ;;
1127211715 --config | --confi | --conf | --con | --co | --c )
1127311273- $as_echo "$ac_cs_config"; exit ;;
1171611716+ printf "%s\n" "$ac_cs_config"; exit ;;
1127411717 --debug | --debu | --deb | --de | --d | -d )
1127511718 debug=: ;;
1127611719 --file | --fil | --fi | --f )
1127711720 $ac_shift
1127811721 case $ac_optarg in
1127911279- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1172211722+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1128011723 '') as_fn_error $? "missing file argument" ;;
1128111724 esac
1128211725 as_fn_append CONFIG_FILES " '$ac_optarg'"
···1128411727 --header | --heade | --head | --hea )
1128511728 $ac_shift
1128611729 case $ac_optarg in
1128711287- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1173011730+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1128811731 esac
1128911732 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1129011733 ac_need_defaults=false;;
···1129311736 as_fn_error $? "ambiguous option: \`$1'
1129411737Try \`$0 --help' for more information.";;
1129511738 --help | --hel | -h )
1129611296- $as_echo "$ac_cs_usage"; exit ;;
1173911739+ printf "%s\n" "$ac_cs_usage"; exit ;;
1129711740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129811741 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1129911742 ac_cs_silent=: ;;
···1132111764if \$ac_cs_recheck; then
1132211765 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1132311766 shift
1132411324- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
1176711767+ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1132511768 CONFIG_SHELL='$SHELL'
1132611769 export CONFIG_SHELL
1132711770 exec "\$@"
···1133511778 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1133611779## Running $as_me. ##
1133711780_ASBOX
1133811338- $as_echo "$ac_log"
1178111781+ printf "%s\n" "$ac_log"
1133911782} >&5
11340117831134111784_ACEOF
···1136811811# We use the long form for the default assignment because of an extremely
1136911812# bizarre bug on SunOS 4.1.3.
1137011813if $ac_need_defaults; then
1137111371- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1137211372- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1137311373- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1181411814+ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
1181511815+ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1181611816+ test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1137411817fi
11375118181137611819# Have a temporary directory for convenience. Make it in the build tree
···1170612149 esac ||
1170712150 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1170812151 esac
1170911709- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1215212152+ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1171012153 as_fn_append ac_file_inputs " '$ac_f'"
1171112154 done
1171212155···1171412157 # use $as_me), people would be surprised to read:
1171512158 # /* config.h. Generated by config.status. */
1171612159 configure_input='Generated from '`
1171711717- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1216012160+ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1171812161 `' by configure.'
1171912162 if test x"$ac_file" != x-; then
1172012163 configure_input="$ac_file. $configure_input"
1172111721- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1172211722-$as_echo "$as_me: creating $ac_file" >&6;}
1216412164+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1216512165+printf "%s\n" "$as_me: creating $ac_file" >&6;}
1172312166 fi
1172412167 # Neutralize special characters interpreted by sed in replacement strings.
1172512168 case $configure_input in #(
1172612169 *\&* | *\|* | *\\* )
1172711727- ac_sed_conf_input=`$as_echo "$configure_input" |
1217012170+ ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1172812171 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1172912172 *) ac_sed_conf_input=$configure_input;;
1173012173 esac
···1174112184 X"$ac_file" : 'X\(//\)[^/]' \| \
1174212185 X"$ac_file" : 'X\(//\)$' \| \
1174312186 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1174411744-$as_echo X"$ac_file" |
1218712187+printf "%s\n" X"$ac_file" |
1174512188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1174612189 s//\1/
1174712190 q
···1176512208case "$ac_dir" in
1176612209.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1176712210*)
1176811768- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1221112211+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1176912212 # A ".." for each directory in $ac_dir_suffix.
1177011770- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1221312213+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1177112214 case $ac_top_builddir_sub in
1177212215 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1177312216 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
···1182912272case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1183012273*datarootdir*) ac_datarootdir_seen=yes;;
1183112274*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1183211832- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1183311833-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1227512275+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1227612276+printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1183412277_ACEOF
1183512278cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1183612279 ac_datarootdir_hack='
···1187412317 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1187512318 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1187612319 "$ac_tmp/out"`; test -z "$ac_out"; } &&
1187711877- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1232012320+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1187812321which seems to be undefined. Please make sure it is defined" >&5
1187911879-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1232212322+printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1188012323which seems to be undefined. Please make sure it is defined" >&2;}
11881123241188212325 rm -f "$ac_tmp/stdin"
···1189212335 #
1189312336 if test x"$ac_file" != x-; then
1189412337 {
1189511895- $as_echo "/* $configure_input */" \
1233812338+ printf "%s\n" "/* $configure_input */" >&1 \
1189612339 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1189712340 } >"$ac_tmp/config.h" \
1189812341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1189912342 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1190011900- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1190111901-$as_echo "$as_me: $ac_file is unchanged" >&6;}
1234312343+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1234412344+printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1190212345 else
1190312346 rm -f "$ac_file"
1190412347 mv "$ac_tmp/config.h" "$ac_file" \
1190512348 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1190612349 fi
1190712350 else
1190811908- $as_echo "/* $configure_input */" \
1235112351+ printf "%s\n" "/* $configure_input */" >&1 \
1190912352 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1191012353 || as_fn_error $? "could not create -" "$LINENO" 5
1191112354 fi
···1192512368 X"$_am_arg" : 'X\(//\)[^/]' \| \
1192612369 X"$_am_arg" : 'X\(//\)$' \| \
1192712370 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1192811928-$as_echo X"$_am_arg" |
1237112371+printf "%s\n" X"$_am_arg" |
1192912372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193012373 s//\1/
1193112374 q
···1194512388 s/.*/./; q'`/stamp-h$_am_stamp_count
1194612389 ;;
11947123901194811948- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1194911949-$as_echo "$as_me: executing $ac_file commands" >&6;}
1239112391+ :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1239212392+printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1195012393 ;;
1195112394 esac
1195212395···1197812421 X"$mf" : 'X\(//\)[^/]' \| \
1197912422 X"$mf" : 'X\(//\)$' \| \
1198012423 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1198111981-$as_echo X"$mf" |
1242412424+printf "%s\n" X"$mf" |
1198212425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198312426 s//\1/
1198412427 q
···1202012463 X"$file" : 'X\(//\)[^/]' \| \
1202112464 X"$file" : 'X\(//\)$' \| \
1202212465 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1202312023-$as_echo X"$file" |
1246612466+printf "%s\n" X"$file" |
1202412467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202512468 s//\1/
1202612469 q
···1207912522 $ac_cs_success || as_fn_exit 1
1208012523fi
1208112524if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1208212082- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1208312083-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1252512525+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1252612526+printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1208412527fi
1208512528
+13-3
app/editres/configure.ac
···23232424# Initialize Autoconf
2525AC_PREREQ([2.60])
2626-AC_INIT([editres], [1.0.8],
2727- [https://gitlab.freedesktop.org/xorg/app/editres/issues], [editres])
2626+AC_INIT([editres], [1.0.9],
2727+ [https://gitlab.freedesktop.org/xorg/app/editres/-/issues], [editres])
2828AC_CONFIG_SRCDIR([Makefile.am])
2929AC_CONFIG_HEADERS([config.h])
3030···3737XORG_MACROS_VERSION(1.8)
3838XORG_DEFAULT_OPTIONS
39394040+# Optional dependencies
4141+AC_ARG_WITH(xkb,
4242+ AS_HELP_STRING([--without-xkb],
4343+ [Disable use of XKB to sound bells (Default is with-xkb)]),
4444+ use_xkb="$withval", use_xkb="yes")
4545+if test x$use_xkb != xno ; then
4646+ XKBMODULE="xkbfile"
4747+ AC_DEFINE([XKB], 1, [Define to use XkbStdBell (libxkbfile)])
4848+fi
4949+4050# Obtain compiler/linker options from dependencies
4141-PKG_CHECK_MODULES(EDITRES, [xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17])
5151+PKG_CHECK_MODULES(EDITRES, [xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17 ${XKBMODULE}])
42524353PKG_CHECK_MODULES(APPDEFS, xt)
4454xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
···2525 * Author: Chris D. Peterson, MIT X Consortium
2626 */
27272828+#ifdef HAVE_CONFIG_H
2929+# include "config.h"
3030+#endif
3131+2832#include <X11/Intrinsic.h>
2933#include <X11/StringDefs.h>
3034#include <X11/Shell.h>
···11#!/bin/sh
22# install - install a program, script, or datafile
3344-scriptversion=2011-11-20.07; # UTC
44+scriptversion=2020-11-14.01; # UTC
5566# This originates from X11R5 (mit/util/scripts/install.sh), which was
77# later released in X11R6 (xc/config/util/install.sh) with the
···4141# This script is compatible with the BSD install script, but was written
4242# from scratch.
43434444+tab=' '
4445nl='
4546'
4646-IFS=" "" $nl"
4747+IFS=" $tab$nl"
47484848-# set DOITPROG to echo to test this script
4949+# Set DOITPROG to "echo" to test this script.
49505050-# Don't use :- since 4.3BSD and earlier shells don't like it.
5151doit=${DOITPROG-}
5252-if test -z "$doit"; then
5353- doit_exec=exec
5454-else
5555- doit_exec=$doit
5656-fi
5252+doit_exec=${doit:-exec}
57535854# Put in absolute file names if you don't have them in your path;
5955# or use environment vars.
···6864rmprog=${RMPROG-rm}
6965stripprog=${STRIPPROG-strip}
70667171-posix_glob='?'
7272-initialize_posix_glob='
7373- test "$posix_glob" != "?" || {
7474- if (set -f) 2>/dev/null; then
7575- posix_glob=
7676- else
7777- posix_glob=:
7878- fi
7979- }
8080-'
8181-8267posix_mkdir=
83688469# Desired mode of installed file.
8570mode=0755
86717272+# Create dirs (including intermediate dirs) using mode 755.
7373+# This is like GNU 'install' as of coreutils 8.32 (2020).
7474+mkdir_umask=22
7575+7676+backupsuffix=
8777chgrpcmd=
8878chmodcmd=$chmodprog
8979chowncmd=
···9787dst_arg=
98889989copy_on_change=false
100100-no_target_directory=
9090+is_target_a_directory=possibly
1019110292usage="\
10393Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
···114104 --version display version info and exit.
115105116106 -c (ignored)
117117- -C install only if different (preserve the last data modification time)
107107+ -C install only if different (preserve data modification time)
118108 -d create directories instead of installing files.
119109 -g GROUP $chgrpprog installed files to GROUP.
120110 -m MODE $chmodprog installed files to MODE.
121111 -o USER $chownprog installed files to USER.
112112+ -p pass -p to $cpprog.
122113 -s $stripprog installed files.
114114+ -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
123115 -t DIRECTORY install into DIRECTORY.
124116 -T report an error if DSTFILE is a directory.
125117126118Environment variables override the default commands:
127119 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
128120 RMPROG STRIPPROG
121121+122122+By default, rm is invoked with -f; when overridden with RMPROG,
123123+it's up to you to specify -f if you want it.
124124+125125+If -S is not specified, no backups are attempted.
126126+127127+Email bug reports to bug-automake@gnu.org.
128128+Automake home page: https://www.gnu.org/software/automake/
129129"
130130131131while test $# -ne 0; do
···137137 -d) dir_arg=true;;
138138139139 -g) chgrpcmd="$chgrpprog $2"
140140- shift;;
140140+ shift;;
141141142142 --help) echo "$usage"; exit $?;;
143143144144 -m) mode=$2
145145- case $mode in
146146- *' '* | *' '* | *'
147147-'* | *'*'* | *'?'* | *'['*)
148148- echo "$0: invalid mode: $mode" >&2
149149- exit 1;;
150150- esac
151151- shift;;
145145+ case $mode in
146146+ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
147147+ echo "$0: invalid mode: $mode" >&2
148148+ exit 1;;
149149+ esac
150150+ shift;;
152151153152 -o) chowncmd="$chownprog $2"
154154- shift;;
153153+ shift;;
154154+155155+ -p) cpprog="$cpprog -p";;
155156156157 -s) stripcmd=$stripprog;;
157158158158- -t) dst_arg=$2
159159- # Protect names problematic for 'test' and other utilities.
160160- case $dst_arg in
161161- -* | [=\(\)!]) dst_arg=./$dst_arg;;
162162- esac
163163- shift;;
159159+ -S) backupsuffix="$2"
160160+ shift;;
164161165165- -T) no_target_directory=true;;
162162+ -t)
163163+ is_target_a_directory=always
164164+ dst_arg=$2
165165+ # Protect names problematic for 'test' and other utilities.
166166+ case $dst_arg in
167167+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
168168+ esac
169169+ shift;;
170170+171171+ -T) is_target_a_directory=never;;
166172167173 --version) echo "$0 $scriptversion"; exit $?;;
168174169169- --) shift
170170- break;;
175175+ --) shift
176176+ break;;
171177172172- -*) echo "$0: invalid option: $1" >&2
173173- exit 1;;
178178+ -*) echo "$0: invalid option: $1" >&2
179179+ exit 1;;
174180175181 *) break;;
176182 esac
177183 shift
178184done
185185+186186+# We allow the use of options -d and -T together, by making -d
187187+# take the precedence; this is for compatibility with GNU install.
188188+189189+if test -n "$dir_arg"; then
190190+ if test -n "$dst_arg"; then
191191+ echo "$0: target directory not allowed when installing a directory." >&2
192192+ exit 1
193193+ fi
194194+fi
179195180196if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
181197 # When -d is used, all remaining arguments are directories to create.
···208224fi
209225210226if test -z "$dir_arg"; then
227227+ if test $# -gt 1 || test "$is_target_a_directory" = always; then
228228+ if test ! -d "$dst_arg"; then
229229+ echo "$0: $dst_arg: Is not a directory." >&2
230230+ exit 1
231231+ fi
232232+ fi
233233+fi
234234+235235+if test -z "$dir_arg"; then
211236 do_exit='(exit $ret); exit $ret'
212237 trap "ret=129; $do_exit" 1
213238 trap "ret=130; $do_exit" 2
···223248224249 *[0-7])
225250 if test -z "$stripcmd"; then
226226- u_plus_rw=
251251+ u_plus_rw=
227252 else
228228- u_plus_rw='% 200'
253253+ u_plus_rw='% 200'
229254 fi
230255 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
231256 *)
232257 if test -z "$stripcmd"; then
233233- u_plus_rw=
258258+ u_plus_rw=
234259 else
235235- u_plus_rw=,u+rw
260260+ u_plus_rw=,u+rw
236261 fi
237262 cp_umask=$mode$u_plus_rw;;
238263 esac
···250275 dstdir=$dst
251276 test -d "$dstdir"
252277 dstdir_status=$?
278278+ # Don't chown directories that already exist.
279279+ if test $dstdir_status = 0; then
280280+ chowncmd=""
281281+ fi
253282 else
254283255284 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
···266295 fi
267296 dst=$dst_arg
268297269269- # If destination is a directory, append the input filename; won't work
270270- # if double slashes aren't ignored.
298298+ # If destination is a directory, append the input filename.
271299 if test -d "$dst"; then
272272- if test -n "$no_target_directory"; then
273273- echo "$0: $dst_arg: Is a directory" >&2
274274- exit 1
300300+ if test "$is_target_a_directory" = never; then
301301+ echo "$0: $dst_arg: Is a directory" >&2
302302+ exit 1
275303 fi
276304 dstdir=$dst
277277- dst=$dstdir/`basename "$src"`
305305+ dstbase=`basename "$src"`
306306+ case $dst in
307307+ */) dst=$dst$dstbase;;
308308+ *) dst=$dst/$dstbase;;
309309+ esac
278310 dstdir_status=0
279311 else
280280- # Prefer dirname, but fall back on a substitute if dirname fails.
281281- dstdir=`
282282- (dirname "$dst") 2>/dev/null ||
283283- expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
284284- X"$dst" : 'X\(//\)[^/]' \| \
285285- X"$dst" : 'X\(//\)$' \| \
286286- X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
287287- echo X"$dst" |
288288- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
289289- s//\1/
290290- q
291291- }
292292- /^X\(\/\/\)[^/].*/{
293293- s//\1/
294294- q
295295- }
296296- /^X\(\/\/\)$/{
297297- s//\1/
298298- q
299299- }
300300- /^X\(\/\).*/{
301301- s//\1/
302302- q
303303- }
304304- s/.*/./; q'
305305- `
306306-312312+ dstdir=`dirname "$dst"`
307313 test -d "$dstdir"
308314 dstdir_status=$?
309315 fi
310316 fi
317317+318318+ case $dstdir in
319319+ */) dstdirslash=$dstdir;;
320320+ *) dstdirslash=$dstdir/;;
321321+ esac
311322312323 obsolete_mkdir_used=false
313324314325 if test $dstdir_status != 0; then
315326 case $posix_mkdir in
316327 '')
317317- # Create intermediate dirs using mode 755 as modified by the umask.
318318- # This is like FreeBSD 'install' as of 1997-10-28.
319319- umask=`umask`
320320- case $stripcmd.$umask in
321321- # Optimize common cases.
322322- *[2367][2367]) mkdir_umask=$umask;;
323323- .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
328328+ # With -d, create the new directory with the user-specified mode.
329329+ # Otherwise, rely on $mkdir_umask.
330330+ if test -n "$dir_arg"; then
331331+ mkdir_mode=-m$mode
332332+ else
333333+ mkdir_mode=
334334+ fi
335335+336336+ posix_mkdir=false
337337+ # The $RANDOM variable is not portable (e.g., dash). Use it
338338+ # here however when possible just to lower collision chance.
339339+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
324340325325- *[0-7])
326326- mkdir_umask=`expr $umask + 22 \
327327- - $umask % 100 % 40 + $umask % 20 \
328328- - $umask % 10 % 4 + $umask % 2
329329- `;;
330330- *) mkdir_umask=$umask,go-w;;
331331- esac
341341+ trap '
342342+ ret=$?
343343+ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
344344+ exit $ret
345345+ ' 0
332346333333- # With -d, create the new directory with the user-specified mode.
334334- # Otherwise, rely on $mkdir_umask.
335335- if test -n "$dir_arg"; then
336336- mkdir_mode=-m$mode
347347+ # Because "mkdir -p" follows existing symlinks and we likely work
348348+ # directly in world-writeable /tmp, make sure that the '$tmpdir'
349349+ # directory is successfully created first before we actually test
350350+ # 'mkdir -p'.
351351+ if (umask $mkdir_umask &&
352352+ $mkdirprog $mkdir_mode "$tmpdir" &&
353353+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
354354+ then
355355+ if test -z "$dir_arg" || {
356356+ # Check for POSIX incompatibilities with -m.
357357+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
358358+ # other-writable bit of parent directory when it shouldn't.
359359+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
360360+ test_tmpdir="$tmpdir/a"
361361+ ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
362362+ case $ls_ld_tmpdir in
363363+ d????-?r-*) different_mode=700;;
364364+ d????-?--*) different_mode=755;;
365365+ *) false;;
366366+ esac &&
367367+ $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
368368+ ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
369369+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
370370+ }
371371+ }
372372+ then posix_mkdir=:
373373+ fi
374374+ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
337375 else
338338- mkdir_mode=
376376+ # Remove any dirs left behind by ancient mkdir implementations.
377377+ rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
339378 fi
340340-341341- posix_mkdir=false
342342- case $umask in
343343- *[123567][0-7][0-7])
344344- # POSIX mkdir -p sets u+wx bits regardless of umask, which
345345- # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
346346- ;;
347347- *)
348348- tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
349349- trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
350350-351351- if (umask $mkdir_umask &&
352352- exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
353353- then
354354- if test -z "$dir_arg" || {
355355- # Check for POSIX incompatibilities with -m.
356356- # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357357- # other-writable bit of parent directory when it shouldn't.
358358- # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359359- ls_ld_tmpdir=`ls -ld "$tmpdir"`
360360- case $ls_ld_tmpdir in
361361- d????-?r-*) different_mode=700;;
362362- d????-?--*) different_mode=755;;
363363- *) false;;
364364- esac &&
365365- $mkdirprog -m$different_mode -p -- "$tmpdir" && {
366366- ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
367367- test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
368368- }
369369- }
370370- then posix_mkdir=:
371371- fi
372372- rmdir "$tmpdir/d" "$tmpdir"
373373- else
374374- # Remove any dirs left behind by ancient mkdir implementations.
375375- rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
376376- fi
377377- trap '' 0;;
378378- esac;;
379379+ trap '' 0;;
379380 esac
380381381382 if
382383 $posix_mkdir && (
383383- umask $mkdir_umask &&
384384- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
384384+ umask $mkdir_umask &&
385385+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
385386 )
386387 then :
387388 else
388389389389- # The umask is ridiculous, or mkdir does not conform to POSIX,
390390+ # mkdir does not conform to POSIX,
390391 # or it failed possibly due to a race condition. Create the
391392 # directory the slow way, step by step, checking for races as we go.
392393393394 case $dstdir in
394394- /*) prefix='/';;
395395- [-=\(\)!]*) prefix='./';;
396396- *) prefix='';;
395395+ /*) prefix='/';;
396396+ [-=\(\)!]*) prefix='./';;
397397+ *) prefix='';;
397398 esac
398398-399399- eval "$initialize_posix_glob"
400399401400 oIFS=$IFS
402401 IFS=/
403403- $posix_glob set -f
402402+ set -f
404403 set fnord $dstdir
405404 shift
406406- $posix_glob set +f
405405+ set +f
407406 IFS=$oIFS
408407409408 prefixes=
410409411410 for d
412411 do
413413- test X"$d" = X && continue
412412+ test X"$d" = X && continue
414413415415- prefix=$prefix$d
416416- if test -d "$prefix"; then
417417- prefixes=
418418- else
419419- if $posix_mkdir; then
420420- (umask=$mkdir_umask &&
421421- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
422422- # Don't fail if two instances are running concurrently.
423423- test -d "$prefix" || exit 1
424424- else
425425- case $prefix in
426426- *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
427427- *) qprefix=$prefix;;
428428- esac
429429- prefixes="$prefixes '$qprefix'"
430430- fi
431431- fi
432432- prefix=$prefix/
414414+ prefix=$prefix$d
415415+ if test -d "$prefix"; then
416416+ prefixes=
417417+ else
418418+ if $posix_mkdir; then
419419+ (umask $mkdir_umask &&
420420+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
421421+ # Don't fail if two instances are running concurrently.
422422+ test -d "$prefix" || exit 1
423423+ else
424424+ case $prefix in
425425+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
426426+ *) qprefix=$prefix;;
427427+ esac
428428+ prefixes="$prefixes '$qprefix'"
429429+ fi
430430+ fi
431431+ prefix=$prefix/
433432 done
434433435434 if test -n "$prefixes"; then
436436- # Don't fail if two instances are running concurrently.
437437- (umask $mkdir_umask &&
438438- eval "\$doit_exec \$mkdirprog $prefixes") ||
439439- test -d "$dstdir" || exit 1
440440- obsolete_mkdir_used=true
435435+ # Don't fail if two instances are running concurrently.
436436+ (umask $mkdir_umask &&
437437+ eval "\$doit_exec \$mkdirprog $prefixes") ||
438438+ test -d "$dstdir" || exit 1
439439+ obsolete_mkdir_used=true
441440 fi
442441 fi
443442 fi
···450449 else
451450452451 # Make a couple of temp file names in the proper directory.
453453- dsttmp=$dstdir/_inst.$$_
454454- rmtmp=$dstdir/_rm.$$_
452452+ dsttmp=${dstdirslash}_inst.$$_
453453+ rmtmp=${dstdirslash}_rm.$$_
455454456455 # Trap to clean up those temp files at exit.
457456 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
458457459458 # Copy the file name to the temp name.
460460- (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
459459+ (umask $cp_umask &&
460460+ { test -z "$stripcmd" || {
461461+ # Create $dsttmp read-write so that cp doesn't create it read-only,
462462+ # which would cause strip to fail.
463463+ if test -z "$doit"; then
464464+ : >"$dsttmp" # No need to fork-exec 'touch'.
465465+ else
466466+ $doit touch "$dsttmp"
467467+ fi
468468+ }
469469+ } &&
470470+ $doit_exec $cpprog "$src" "$dsttmp") &&
461471462472 # and set any options; do chmod last to preserve setuid bits.
463473 #
···472482473483 # If -C, don't bother to copy if it wouldn't change the file.
474484 if $copy_on_change &&
475475- old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
476476- new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
477477-478478- eval "$initialize_posix_glob" &&
479479- $posix_glob set -f &&
485485+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
486486+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
487487+ set -f &&
480488 set X $old && old=:$2:$4:$5:$6 &&
481489 set X $new && new=:$2:$4:$5:$6 &&
482482- $posix_glob set +f &&
483483-490490+ set +f &&
484491 test "$old" = "$new" &&
485492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
486493 then
487494 rm -f "$dsttmp"
488495 else
496496+ # If $backupsuffix is set, and the file being installed
497497+ # already exists, attempt a backup. Don't worry if it fails,
498498+ # e.g., if mv doesn't support -f.
499499+ if test -n "$backupsuffix" && test -f "$dst"; then
500500+ $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
501501+ fi
502502+489503 # Rename the file to the real destination.
490504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
491505···493507 # to itself, or perhaps because mv is so ancient that it does not
494508 # support -f.
495509 {
496496- # Now remove or move aside any old file at destination location.
497497- # We try this two ways since rm can't unlink itself on some
498498- # systems and the destination file might be busy for other
499499- # reasons. In this case, the final cleanup might fail but the new
500500- # file should still install successfully.
501501- {
502502- test ! -f "$dst" ||
503503- $doit $rmcmd -f "$dst" 2>/dev/null ||
504504- { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
505505- { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
506506- } ||
507507- { echo "$0: cannot unlink or rename $dst" >&2
508508- (exit 1); exit 1
509509- }
510510- } &&
510510+ # Now remove or move aside any old file at destination location.
511511+ # We try this two ways since rm can't unlink itself on some
512512+ # systems and the destination file might be busy for other
513513+ # reasons. In this case, the final cleanup might fail but the new
514514+ # file should still install successfully.
515515+ {
516516+ test ! -f "$dst" ||
517517+ $doit $rmcmd "$dst" 2>/dev/null ||
518518+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
519519+ { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
520520+ } ||
521521+ { echo "$0: cannot unlink or rename $dst" >&2
522522+ (exit 1); exit 1
523523+ }
524524+ } &&
511525512512- # Now rename the file to the real destination.
513513- $doit $mvcmd "$dsttmp" "$dst"
526526+ # Now rename the file to the real destination.
527527+ $doit $mvcmd "$dsttmp" "$dst"
514528 }
515529 fi || exit 1
516530···519533done
520534521535# Local variables:
522522-# eval: (add-hook 'write-file-hooks 'time-stamp)
536536+# eval: (add-hook 'before-save-hook 'time-stamp)
523537# time-stamp-start: "scriptversion="
524538# time-stamp-format: "%:y-%02m-%02d.%02H"
525525-# time-stamp-time-zone: "UTC"
539539+# time-stamp-time-zone: "UTC0"
526540# time-stamp-end: "; # UTC"
527541# End:
···2828.SH NAME
2929editres \- a dynamic resource editor for X Toolkit applications
3030.SH SYNTAX
3131-\fBeditres\fP [ \fI\-toolkitoption\fP .\|.\|. ]
3131+\fBeditres\fP [ \fI\-toolkitoption\fP .\|.\|. ] [\fB\-help\fP] [\fB\-version\fP]
3232.SH OPTIONS
3333.I Editres
3434accepts all of the standard X Toolkit command line
3535options (see \fIX(__miscmansuffix__)\fP). The order of the command line options is
3636not important.
3737+.PP
3838+.I Editres
3939+also accepts the following additional options:
4040+.TP 12
4141+.B \-help
4242+Prints a usage message and exits.
4343+.TP 12
4444+.B \-version
4545+Prints version info and exits.
3746.SH DESCRIPTION
3847Editres is a tool that allows users and application developers to view
3948the full widget hierarchy of any X Toolkit application that speaks the
+4
app/editres/setvalues.c
···2525 * Author: Chris D. Peterson, MIT X Consortium
2626 */
27272828+#ifdef HAVE_CONFIG_H
2929+# include "config.h"
3030+#endif
3131+2832#include <X11/Intrinsic.h>
2933#include <X11/StringDefs.h>
3034#include <X11/Xresource.h>