···11+Copyright (c) 2002, Oracle and/or its affiliates.
22+33+Permission is hereby granted, free of charge, to any person obtaining a
44+copy of this software and associated documentation files (the "Software"),
55+to deal in the Software without restriction, including without limitation
66+the rights to use, copy, modify, merge, publish, distribute, sublicense,
77+and/or sell copies of the Software, and to permit persons to whom the
88+Software is furnished to do so, subject to the following conditions:
99+1010+The above copyright notice and this permission notice (including the next
1111+paragraph) shall be included in all copies or substantial portions of the
1212+Software.
1313+1414+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1515+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1717+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1818+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1919+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2020+DEALINGS IN THE SOFTWARE.
2121+122223Copyright (c) 1985, 1988 X Consortium
324
+78-1
app/xpr/ChangeLog
···11+commit cf22dfd15e2db067767534290e4c8f2e6f6130b8
22+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
33+Date: Sun Mar 3 14:59:05 2024 -0800
44+55+ xpr 1.2.0
66+77+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
88+99+commit 369a038ab70860a051f785e95c06f681eabea32a
1010+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1111+Date: Sun Jan 21 09:34:27 2024 -0800
1212+1313+ configure: Use AC_SYS_LARGEFILE to enable large file support
1414+1515+ While X window dump files should never be more than 2gb in size,
1616+ they may be stored on filesystems with large inodes or timestamps.
1717+1818+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1919+2020+commit ee1d1c10f4c966b39689d0fe0e602cabb47d72e8
2121+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2222+Date: Sun Jan 21 09:33:06 2024 -0800
2323+2424+ Modernize lseek() calls
2525+2626+ Position should be stored in an off_t, not an int, and use
2727+ symbolic constants instead of raw numbers for the "whence" arg.
2828+2929+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3030+3131+commit 58686e938a099bd6e3f4fb491dea9382a50febdb
3232+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3333+Date: Thu Jul 28 17:30:21 2022 -0700
3434+3535+ gitlab CI: stop requiring Signed-off-by in commits
3636+3737+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3838+3939+commit 6f34ba3a67e2c25f4fd6b2878038793422bf8770
4040+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
4141+Date: Mon Nov 7 16:46:54 2022 -0800
4242+4343+ Add support for paper sizes other than 8.5 x 11 inches
4444+4545+ This adds new command line arguments -papertype, -pheight, and -pwidth
4646+4747+ Originally implemented by Jay Hobson in August 2002 to fix
4848+ Sun bug 4704388: xpr does not work with A3 paper
4949+5050+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5151+5252+commit 24c71e04d248f06337f7885dc5642d720a087ba9
5353+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
5454+Date: Sat Aug 6 11:44:08 2022 -0700
5555+5656+ No need to bzero() buffers allocated by calloc()
5757+5858+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5959+6060+commit 52b7307f42f99c81eda97a322dc3ffccd9e371f6
6161+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
6262+Date: Sat Aug 6 11:40:59 2022 -0700
6363+6464+ Remove unnnecessary casts from malloc(), calloc(), and free() calls
6565+6666+ These are not needed in C89 and later.
6767+6868+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6969+7070+commit b0b9b4c5a134c559404b4052c2c42b9fcde66915
7171+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
7272+Date: Sat Aug 6 11:32:02 2022 -0700
7373+7474+ Use memcpy() instead of memmove() when buffers are known not to overlap
7575+7676+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7777+178commit 2ca9da7c52152add1567deb11000cf9570577b12
279Author: Alan Coopersmith <alan.coopersmith@oracle.com>
380Date: Sun Jul 10 15:55:09 2022 -0700
···663740 configure cache, you cache it, and the cached value is probably wrong.
664741665742commit e3928f9b676c1054790b5ef69b8a568e80482189
666666-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
743743+Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
667744Date: Fri Jul 1 21:10:15 2005 +0000
668745669746 symlink.sh: add xplsprinters.sgml xprehashprinterlist.sgml xdpr.script
···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()
+12-4
app/xpr/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+/* Number of bits in a file offset, on hosts where this is settable. */
6969+#undef _FILE_OFFSET_BITS
7070+7171+/* Define for large files, on AIX-style hosts. */
7272+#undef _LARGE_FILES
+3624-3021
app/xpr/configure
···11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
33-# Generated by GNU Autoconf 2.69 for xpr 1.0.5.
33+# Generated by GNU Autoconf 2.71 for xpr 1.2.0.
44#
55-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
55+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/xpr/-/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 ||
···8184fi
828583868484-# 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"
9090-9187# Find who we are. Look in the path if we contain no directory separator.
9288as_myself=
9389case $0 in #((
···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 :
235235- CONFIG_SHELL=$SHELL as_have_required=yes
236236-fi; }
237226IFS=$as_save_IFS
227227+if $as_found
228228+then :
238229230230+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 :
234234+ CONFIG_SHELL=$SHELL as_have_required=yes
235235+fi
236236+fi
239237240240- if test "x$CONFIG_SHELL" != x; then :
238238+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://bugs.freedesktop.org/enter_bug.cgi?product=xorg
270270+ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271271+$0: https://gitlab.freedesktop.org/xorg/app/xpr/-/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*)
···513537*)
514538 ECHO_N='-n';;
515539esac
540540+541541+# 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+516547517548rm -f conf$$ conf$$.exe conf$$.file
518549if test -d conf$$.dir; then
···581612# Identity of this package.
582613PACKAGE_NAME='xpr'
583614PACKAGE_TARNAME='xpr'
584584-PACKAGE_VERSION='1.0.5'
585585-PACKAGE_STRING='xpr 1.0.5'
586586-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
615615+PACKAGE_VERSION='1.2.0'
616616+PACKAGE_STRING='xpr 1.2.0'
617617+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xpr/-/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>
595595-#endif
596596-#ifdef HAVE_SYS_STAT_H
597597-# include <sys/stat.h>
623623+#include <stddef.h>
624624+#ifdef HAVE_STDIO_H
625625+# include <stdio.h>
598626#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
···664691STRICT_CFLAGS
665692CWARNFLAGS
666693BASE_CFLAGS
667667-EGREP
668668-GREP
669669-CPP
670694am__fastdepCC_FALSE
671695am__fastdepCC_TRUE
672696CCDEPMODE
···757781enable_selective_werror
758782enable_strict_compilation
759783enable_silent_rules
784784+enable_largefile
760785'
761786 ac_precious_vars='build_alias
762787host_alias
···766791LDFLAGS
767792LIBS
768793CPPFLAGS
769769-CPP
770794PKG_CONFIG
771795PKG_CONFIG_PATH
772796PKG_CONFIG_LIBDIR
···840864 *) ac_optarg=yes ;;
841865 esac
842866843843- # Accept the important Cygnus configure options, so we can diagnose typos.
844844-845867 case $ac_dashdash$ac_option in
846868 --)
847869 ac_dashdash=yes ;;
···882904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883905 # Reject names that are not valid shell variable names.
884906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885885- as_fn_error $? "invalid feature name: $ac_useropt"
907907+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
886908 ac_useropt_orig=$ac_useropt
887887- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909909+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
888910 case $ac_user_opts in
889911 *"
890912"enable_$ac_useropt"
···908930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909931 # Reject names that are not valid shell variable names.
910932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911911- as_fn_error $? "invalid feature name: $ac_useropt"
933933+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
912934 ac_useropt_orig=$ac_useropt
913913- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935935+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
914936 case $ac_user_opts in
915937 *"
916938"enable_$ac_useropt"
···11211143 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11221144 # Reject names that are not valid shell variable names.
11231145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11241124- as_fn_error $? "invalid package name: $ac_useropt"
11461146+ as_fn_error $? "invalid package name: \`$ac_useropt'"
11251147 ac_useropt_orig=$ac_useropt
11261126- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11481148+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11271149 case $ac_user_opts in
11281150 *"
11291151"with_$ac_useropt"
···11371159 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11381160 # Reject names that are not valid shell variable names.
11391161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11401140- as_fn_error $? "invalid package name: $ac_useropt"
11621162+ as_fn_error $? "invalid package name: \`$ac_useropt'"
11411163 ac_useropt_orig=$ac_useropt
11421142- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11641164+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11431165 case $ac_user_opts in
11441166 *"
11451167"with_$ac_useropt"
···1183120511841206 *)
11851207 # FIXME: should be removed in autoconf 3.0.
11861186- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12081208+ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
11871209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11881188- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
12101210+ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11891211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11901212 ;;
11911213···12011223 case $enable_option_checking in
12021224 no) ;;
12031225 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
12041204- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12261226+ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12051227 esac
12061228fi
12071229···12651287 X"$as_myself" : 'X\(//\)[^/]' \| \
12661288 X"$as_myself" : 'X\(//\)$' \| \
12671289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12681268-$as_echo X"$as_myself" |
12901290+printf "%s\n" X"$as_myself" |
12691291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12701292 s//\1/
12711293 q
···13221344 # Omit some internal or obsolete options to make the list less imposing.
13231345 # This message is too long to be a string in the A/UX 3.1 sh.
13241346 cat <<_ACEOF
13251325-\`configure' configures xpr 1.0.5 to adapt to many kinds of systems.
13471347+\`configure' configures xpr 1.2.0 to adapt to many kinds of systems.
1326134813271349Usage: $0 [OPTION]... [VAR=VALUE]...
13281350···1393141513941416if test -n "$ac_init_help"; then
13951417 case $ac_init_help in
13961396- short | recursive ) echo "Configuration of xpr 1.0.5:";;
14181418+ short | recursive ) echo "Configuration of xpr 1.2.0:";;
13971419 esac
13981420 cat <<\_ACEOF
13991421···14161438 errors (default: disabled)
14171439 --enable-silent-rules less verbose build output (undo: "make V=1")
14181440 --disable-silent-rules verbose build output (undo: "make V=0")
14411441+ --disable-largefile omit support for large files
1419144214201443Some influential environment variables:
14211444 CC C compiler command
···14251448 LIBS libraries to pass to the linker, e.g. -l<library>
14261449 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
14271450 you have headers in a nonstandard directory <include dir>
14281428- CPP C preprocessor
14291451 PKG_CONFIG path to pkg-config utility
14301452 PKG_CONFIG_PATH
14311453 directories to add to pkg-config's search path
···14371459Use these variables to override the choices made by `configure' or to help
14381460it to find libraries and programs with nonstandard names/locations.
1439146114401440-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
14621462+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xpr/-/issues>.
14411463_ACEOF
14421464ac_status=$?
14431465fi
···14531475case "$ac_dir" in
14541476.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14551477*)
14561456- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14781478+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14571479 # A ".." for each directory in $ac_dir_suffix.
14581458- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14801480+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14591481 case $ac_top_builddir_sub in
14601482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14611483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
···14831505ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1484150614851507 cd "$ac_dir" || { ac_status=$?; continue; }
14861486- # Check for guested configure.
15081508+ # Check for configure.gnu first; this name is used for a wrapper for
15091509+ # Metaconfig's "Configure" on case-insensitive file systems.
14871510 if test -f "$ac_srcdir/configure.gnu"; then
14881511 echo &&
14891512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
···14911514 echo &&
14921515 $SHELL "$ac_srcdir/configure" --help=recursive
14931516 else
14941494- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15171517+ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14951518 fi || ac_status=$?
14961519 cd "$ac_pwd" || { ac_status=$?; break; }
14971520 done
···15001523test -n "$ac_init_help" && exit $ac_status
15011524if $ac_init_version; then
15021525 cat <<\_ACEOF
15031503-xpr configure 1.0.5
15041504-generated by GNU Autoconf 2.69
15261526+xpr configure 1.2.0
15271527+generated by GNU Autoconf 2.71
1505152815061506-Copyright (C) 2012 Free Software Foundation, Inc.
15291529+Copyright (C) 2021 Free Software Foundation, Inc.
15071530This configure script is free software; the Free Software Foundation
15081531gives unlimited permission to copy, distribute and modify it.
15091532_ACEOF
···15201543ac_fn_c_try_compile ()
15211544{
15221545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15231523- rm -f conftest.$ac_objext
15461546+ rm -f conftest.$ac_objext conftest.beam
15241547 if { { ac_try="$ac_compile"
15251548case "(($ac_try" in
15261549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271550 *) ac_try_echo=$ac_try;;
15281551esac
15291552eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15301530-$as_echo "$ac_try_echo"; } >&5
15531553+printf "%s\n" "$ac_try_echo"; } >&5
15311554 (eval "$ac_compile") 2>conftest.err
15321555 ac_status=$?
15331556 if test -s conftest.err; then
···15351558 cat conftest.er1 >&5
15361559 mv -f conftest.er1 conftest.err
15371560 fi
15381538- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15611561+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15391562 test $ac_status = 0; } && {
15401563 test -z "$ac_c_werror_flag" ||
15411564 test ! -s conftest.err
15421542- } && test -s conftest.$ac_objext; then :
15651565+ } && test -s conftest.$ac_objext
15661566+then :
15431567 ac_retval=0
15441544-else
15451545- $as_echo "$as_me: failed program was:" >&5
15681568+else $as_nop
15691569+ printf "%s\n" "$as_me: failed program was:" >&5
15461570sed 's/^/| /' conftest.$ac_ext >&5
1547157115481572 ac_retval=1
···1552157615531577} # ac_fn_c_try_compile
1554157815551555-# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
15561556-# ---------------------------------------------
15791579+# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
15801580+# ------------------------------------------------------------------
15571581# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
15581558-# accordingly.
15591559-ac_fn_c_check_decl ()
15821582+# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
15831583+ac_fn_check_decl ()
15601584{
15611585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15621586 as_decl_name=`echo $2|sed 's/ *(.*//'`
15871587+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
15881588+printf %s "checking whether $as_decl_name is declared... " >&6; }
15891589+if eval test \${$3+y}
15901590+then :
15911591+ printf %s "(cached) " >&6
15921592+else $as_nop
15631593 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
15641564- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
15651565-$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
15661566-if eval \${$3+:} false; then :
15671567- $as_echo_n "(cached) " >&6
15681568-else
15941594+ eval ac_save_FLAGS=\$$6
15951595+ as_fn_append $6 " $5"
15691596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701597/* end confdefs.h. */
15711598$4
15721599int
15731573-main ()
16001600+main (void)
15741601{
15751602#ifndef $as_decl_name
15761603#ifdef __cplusplus
···15841611 return 0;
15851612}
15861613_ACEOF
15871587-if ac_fn_c_try_compile "$LINENO"; then :
16141614+if ac_fn_c_try_compile "$LINENO"
16151615+then :
15881616 eval "$3=yes"
15891589-else
16171617+else $as_nop
15901618 eval "$3=no"
15911619fi
15921592-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16201620+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16211621+ eval $6=\$ac_save_FLAGS
16221622+15931623fi
15941624eval ac_res=\$$3
15951595- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15961596-$as_echo "$ac_res" >&6; }
16251625+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16261626+printf "%s\n" "$ac_res" >&6; }
15971627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598162815991599-} # ac_fn_c_check_decl
16001600-16011601-# ac_fn_c_try_cpp LINENO
16021602-# ----------------------
16031603-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
16041604-ac_fn_c_try_cpp ()
16051605-{
16061606- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16071607- if { { ac_try="$ac_cpp conftest.$ac_ext"
16081608-case "(($ac_try" in
16091609- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16101610- *) ac_try_echo=$ac_try;;
16111611-esac
16121612-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16131613-$as_echo "$ac_try_echo"; } >&5
16141614- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
16151615- ac_status=$?
16161616- if test -s conftest.err; then
16171617- grep -v '^ *+' conftest.err >conftest.er1
16181618- cat conftest.er1 >&5
16191619- mv -f conftest.er1 conftest.err
16201620- fi
16211621- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16221622- test $ac_status = 0; } > conftest.i && {
16231623- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16241624- test ! -s conftest.err
16251625- }; then :
16261626- ac_retval=0
16271627-else
16281628- $as_echo "$as_me: failed program was:" >&5
16291629-sed 's/^/| /' conftest.$ac_ext >&5
16301630-16311631- ac_retval=1
16321632-fi
16331633- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16341634- as_fn_set_status $ac_retval
16351635-16361636-} # ac_fn_c_try_cpp
16371637-16381638-# ac_fn_c_try_run LINENO
16391639-# ----------------------
16401640-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
16411641-# that executables *can* be run.
16421642-ac_fn_c_try_run ()
16431643-{
16441644- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16451645- if { { ac_try="$ac_link"
16461646-case "(($ac_try" in
16471647- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16481648- *) ac_try_echo=$ac_try;;
16491649-esac
16501650-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16511651-$as_echo "$ac_try_echo"; } >&5
16521652- (eval "$ac_link") 2>&5
16531653- ac_status=$?
16541654- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16551655- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
16561656- { { case "(($ac_try" in
16571657- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581658- *) ac_try_echo=$ac_try;;
16591659-esac
16601660-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16611661-$as_echo "$ac_try_echo"; } >&5
16621662- (eval "$ac_try") 2>&5
16631663- ac_status=$?
16641664- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16651665- test $ac_status = 0; }; }; then :
16661666- ac_retval=0
16671667-else
16681668- $as_echo "$as_me: program exited with status $ac_status" >&5
16691669- $as_echo "$as_me: failed program was:" >&5
16701670-sed 's/^/| /' conftest.$ac_ext >&5
16711671-16721672- ac_retval=$ac_status
16731673-fi
16741674- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
16751675- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16761676- as_fn_set_status $ac_retval
16771677-16781678-} # ac_fn_c_try_run
16291629+} # ac_fn_check_decl
1679163016801631# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
16811632# -------------------------------------------------------
···16841635ac_fn_c_check_header_compile ()
16851636{
16861637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16871687- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16881688-$as_echo_n "checking for $2... " >&6; }
16891689-if eval \${$3+:} false; then :
16901690- $as_echo_n "(cached) " >&6
16911691-else
16381638+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16391639+printf %s "checking for $2... " >&6; }
16401640+if eval test \${$3+y}
16411641+then :
16421642+ printf %s "(cached) " >&6
16431643+else $as_nop
16921644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931645/* end confdefs.h. */
16941646$4
16951647#include <$2>
16961648_ACEOF
16971697-if ac_fn_c_try_compile "$LINENO"; then :
16491649+if ac_fn_c_try_compile "$LINENO"
16501650+then :
16981651 eval "$3=yes"
16991699-else
16521652+else $as_nop
17001653 eval "$3=no"
17011654fi
17021702-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16551655+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17031656fi
17041657eval ac_res=\$$3
17051705- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17061706-$as_echo "$ac_res" >&6; }
16581658+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16591659+printf "%s\n" "$ac_res" >&6; }
17071660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708166117091662} # ac_fn_c_check_header_compile
···17141667ac_fn_c_try_link ()
17151668{
17161669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17171717- rm -f conftest.$ac_objext conftest$ac_exeext
16701670+ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
17181671 if { { ac_try="$ac_link"
17191672case "(($ac_try" in
17201673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17211674 *) ac_try_echo=$ac_try;;
17221675esac
17231676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17241724-$as_echo "$ac_try_echo"; } >&5
16771677+printf "%s\n" "$ac_try_echo"; } >&5
17251678 (eval "$ac_link") 2>conftest.err
17261679 ac_status=$?
17271680 if test -s conftest.err; then
···17291682 cat conftest.er1 >&5
17301683 mv -f conftest.er1 conftest.err
17311684 fi
17321732- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16851685+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17331686 test $ac_status = 0; } && {
17341687 test -z "$ac_c_werror_flag" ||
17351688 test ! -s conftest.err
17361689 } && test -s conftest$ac_exeext && {
17371690 test "$cross_compiling" = yes ||
17381691 test -x conftest$ac_exeext
17391739- }; then :
16921692+ }
16931693+then :
17401694 ac_retval=0
17411741-else
17421742- $as_echo "$as_me: failed program was:" >&5
16951695+else $as_nop
16961696+ printf "%s\n" "$as_me: failed program was:" >&5
17431697sed 's/^/| /' conftest.$ac_ext >&5
1744169817451699 ac_retval=1
···17531707 as_fn_set_status $ac_retval
1754170817551709} # ac_fn_c_try_link
17101710+ac_configure_args_raw=
17111711+for ac_arg
17121712+do
17131713+ case $ac_arg in
17141714+ *\'*)
17151715+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17161716+ esac
17171717+ as_fn_append ac_configure_args_raw " '$ac_arg'"
17181718+done
17191719+17201720+case $ac_configure_args_raw in
17211721+ *$as_nl*)
17221722+ ac_safe_unquote= ;;
17231723+ *)
17241724+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
17251725+ ac_unsafe_a="$ac_unsafe_z#~"
17261726+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
17271727+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
17281728+esac
17291729+17561730cat >config.log <<_ACEOF
17571731This file contains any messages produced by compilers while
17581732running configure, to aid debugging if configure makes a mistake.
1759173317601760-It was created by xpr $as_me 1.0.5, which was
17611761-generated by GNU Autoconf 2.69. Invocation command line was
17341734+It was created by xpr $as_me 1.2.0, which was
17351735+generated by GNU Autoconf 2.71. Invocation command line was
1762173617631763- $ $0 $@
17371737+ $ $0$ac_configure_args_raw
1764173817651739_ACEOF
17661740exec 5>>config.log
···17931767for as_dir in $PATH
17941768do
17951769 IFS=$as_save_IFS
17961796- test -z "$as_dir" && as_dir=.
17971797- $as_echo "PATH: $as_dir"
17701770+ case $as_dir in #(((
17711771+ '') as_dir=./ ;;
17721772+ */) ;;
17731773+ *) as_dir=$as_dir/ ;;
17741774+ esac
17751775+ printf "%s\n" "PATH: $as_dir"
17981776 done
17991777IFS=$as_save_IFS
18001778···18291807 | -silent | --silent | --silen | --sile | --sil)
18301808 continue ;;
18311809 *\'*)
18321832- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18101810+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18331811 esac
18341812 case $ac_pass in
18351813 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
···18641842# WARNING: Use '\'' to represent an apostrophe within the trap.
18651843# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
18661844trap 'exit_status=$?
18451845+ # Sanitize IFS.
18461846+ IFS=" "" $as_nl"
18671847 # Save into config.log some information that might help in debugging.
18681848 {
18691849 echo
1870185018711871- $as_echo "## ---------------- ##
18511851+ printf "%s\n" "## ---------------- ##
18721852## Cache variables. ##
18731853## ---------------- ##"
18741854 echo
···18791859 case $ac_val in #(
18801860 *${as_nl}*)
18811861 case $ac_var in #(
18821882- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18831883-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18621862+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18631863+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18841864 esac
18851865 case $ac_var in #(
18861866 _ | IFS | as_nl) ;; #(
···19041884)
19051885 echo
1906188619071907- $as_echo "## ----------------- ##
18871887+ printf "%s\n" "## ----------------- ##
19081888## Output variables. ##
19091889## ----------------- ##"
19101890 echo
···19121892 do
19131893 eval ac_val=\$$ac_var
19141894 case $ac_val in
19151915- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18951895+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19161896 esac
19171917- $as_echo "$ac_var='\''$ac_val'\''"
18971897+ printf "%s\n" "$ac_var='\''$ac_val'\''"
19181898 done | sort
19191899 echo
1920190019211901 if test -n "$ac_subst_files"; then
19221922- $as_echo "## ------------------- ##
19021902+ printf "%s\n" "## ------------------- ##
19231903## File substitutions. ##
19241904## ------------------- ##"
19251905 echo
···19271907 do
19281908 eval ac_val=\$$ac_var
19291909 case $ac_val in
19301930- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19101910+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19311911 esac
19321932- $as_echo "$ac_var='\''$ac_val'\''"
19121912+ printf "%s\n" "$ac_var='\''$ac_val'\''"
19331913 done | sort
19341914 echo
19351915 fi
1936191619371917 if test -s confdefs.h; then
19381938- $as_echo "## ----------- ##
19181918+ printf "%s\n" "## ----------- ##
19391919## confdefs.h. ##
19401920## ----------- ##"
19411921 echo
···19431923 echo
19441924 fi
19451925 test "$ac_signal" != 0 &&
19461946- $as_echo "$as_me: caught signal $ac_signal"
19471947- $as_echo "$as_me: exit $exit_status"
19261926+ printf "%s\n" "$as_me: caught signal $ac_signal"
19271927+ printf "%s\n" "$as_me: exit $exit_status"
19481928 } >&5
19491929 rm -f core *.core core.conftest.* &&
19501930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
···19581938# confdefs.h avoids OS command line length limits that DEFS can exceed.
19591939rm -f -r conftest* confdefs.h
1960194019611961-$as_echo "/* confdefs.h */" > confdefs.h
19411941+printf "%s\n" "/* confdefs.h */" > confdefs.h
1962194219631943# Predefined preprocessor variables.
1964194419651965-cat >>confdefs.h <<_ACEOF
19661966-#define PACKAGE_NAME "$PACKAGE_NAME"
19671967-_ACEOF
19451945+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1968194619691969-cat >>confdefs.h <<_ACEOF
19701970-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
19711971-_ACEOF
19471947+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1972194819731973-cat >>confdefs.h <<_ACEOF
19741974-#define PACKAGE_VERSION "$PACKAGE_VERSION"
19751975-_ACEOF
19491949+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1976195019771977-cat >>confdefs.h <<_ACEOF
19781978-#define PACKAGE_STRING "$PACKAGE_STRING"
19791979-_ACEOF
19511951+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1980195219811981-cat >>confdefs.h <<_ACEOF
19821982-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
19831983-_ACEOF
19531953+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1984195419851985-cat >>confdefs.h <<_ACEOF
19861986-#define PACKAGE_URL "$PACKAGE_URL"
19871987-_ACEOF
19551955+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
198819561989195719901958# Let the site file select an alternate cache file if it wants to.
19911959# Prefer an explicitly selected file to automatically selected ones.
19921992-ac_site_file1=NONE
19931993-ac_site_file2=NONE
19941960if test -n "$CONFIG_SITE"; then
19951995- # We do not want a PATH search for config.site.
19961996- case $CONFIG_SITE in #((
19971997- -*) ac_site_file1=./$CONFIG_SITE;;
19981998- */*) ac_site_file1=$CONFIG_SITE;;
19991999- *) ac_site_file1=./$CONFIG_SITE;;
20002000- esac
19611961+ ac_site_files="$CONFIG_SITE"
20011962elif test "x$prefix" != xNONE; then
20022002- ac_site_file1=$prefix/share/config.site
20032003- ac_site_file2=$prefix/etc/config.site
19631963+ ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
20041964else
20052005- ac_site_file1=$ac_default_prefix/share/config.site
20062006- ac_site_file2=$ac_default_prefix/etc/config.site
19651965+ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
20071966fi
20082008-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
19671967+19681968+for ac_site_file in $ac_site_files
20091969do
20102010- test "x$ac_site_file" = xNONE && continue
20112011- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
20122012- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
20132013-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
19701970+ case $ac_site_file in #(
19711971+ */*) :
19721972+ ;; #(
19731973+ *) :
19741974+ ac_site_file=./$ac_site_file ;;
19751975+esac
19761976+ if test -f "$ac_site_file" && test -r "$ac_site_file"; then
19771977+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
19781978+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
20141979 sed 's/^/| /' "$ac_site_file" >&5
20151980 . "$ac_site_file" \
20162016- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20172017-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19811981+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19821982+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
20181983as_fn_error $? "failed to load site script $ac_site_file
20191984See \`config.log' for more details" "$LINENO" 5; }
20201985 fi
···20241989 # Some versions of bash will fail to source /dev/null (special files
20251990 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
20261991 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
20272027- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
20282028-$as_echo "$as_me: loading cache $cache_file" >&6;}
19921992+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
19931993+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
20291994 case $cache_file in
20301995 [\\/]* | ?:[\\/]* ) . "$cache_file";;
20311996 *) . "./$cache_file";;
20321997 esac
20331998 fi
20341999else
20352035- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
20362036-$as_echo "$as_me: creating cache $cache_file" >&6;}
20002000+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
20012001+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
20372002 >$cache_file
20382003fi
2039200420052005+# Test code for whether the C compiler supports C89 (global declarations)
20062006+ac_c_conftest_c89_globals='
20072007+/* Does the compiler advertise C89 conformance?
20082008+ Do not test the value of __STDC__, because some compilers set it to 0
20092009+ while being otherwise adequately conformant. */
20102010+#if !defined __STDC__
20112011+# error "Compiler does not advertise C89 conformance"
20122012+#endif
20132013+20142014+#include <stddef.h>
20152015+#include <stdarg.h>
20162016+struct stat;
20172017+/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
20182018+struct buf { int x; };
20192019+struct buf * (*rcsopen) (struct buf *, struct stat *, int);
20202020+static char *e (p, i)
20212021+ char **p;
20222022+ int i;
20232023+{
20242024+ return p[i];
20252025+}
20262026+static char *f (char * (*g) (char **, int), char **p, ...)
20272027+{
20282028+ char *s;
20292029+ va_list v;
20302030+ va_start (v,p);
20312031+ s = g (p, va_arg (v,int));
20322032+ va_end (v);
20332033+ return s;
20342034+}
20352035+20362036+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20372037+ function prototypes and stuff, but not \xHH hex character constants.
20382038+ These do not provoke an error unfortunately, instead are silently treated
20392039+ as an "x". The following induces an error, until -std is added to get
20402040+ proper ANSI mode. Curiously \x00 != x always comes out true, for an
20412041+ array size at least. It is necessary to write \x00 == 0 to get something
20422042+ that is true only with -std. */
20432043+int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
20442044+20452045+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20462046+ inside strings and character constants. */
20472047+#define FOO(x) '\''x'\''
20482048+int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
20492049+20502050+int test (int i, double x);
20512051+struct s1 {int (*f) (int a);};
20522052+struct s2 {int (*f) (double a);};
20532053+int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
20542054+ int, int);'
20552055+20562056+# Test code for whether the C compiler supports C89 (body of main).
20572057+ac_c_conftest_c89_main='
20582058+ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
20592059+'
20602060+20612061+# Test code for whether the C compiler supports C99 (global declarations)
20622062+ac_c_conftest_c99_globals='
20632063+// Does the compiler advertise C99 conformance?
20642064+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
20652065+# error "Compiler does not advertise C99 conformance"
20662066+#endif
20672067+20682068+#include <stdbool.h>
20692069+extern int puts (const char *);
20702070+extern int printf (const char *, ...);
20712071+extern int dprintf (int, const char *, ...);
20722072+extern void *malloc (size_t);
20732073+20742074+// Check varargs macros. These examples are taken from C99 6.10.3.5.
20752075+// dprintf is used instead of fprintf to avoid needing to declare
20762076+// FILE and stderr.
20772077+#define debug(...) dprintf (2, __VA_ARGS__)
20782078+#define showlist(...) puts (#__VA_ARGS__)
20792079+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
20802080+static void
20812081+test_varargs_macros (void)
20822082+{
20832083+ int x = 1234;
20842084+ int y = 5678;
20852085+ debug ("Flag");
20862086+ debug ("X = %d\n", x);
20872087+ showlist (The first, second, and third items.);
20882088+ report (x>y, "x is %d but y is %d", x, y);
20892089+}
20902090+20912091+// Check long long types.
20922092+#define BIG64 18446744073709551615ull
20932093+#define BIG32 4294967295ul
20942094+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
20952095+#if !BIG_OK
20962096+ #error "your preprocessor is broken"
20972097+#endif
20982098+#if BIG_OK
20992099+#else
21002100+ #error "your preprocessor is broken"
21012101+#endif
21022102+static long long int bignum = -9223372036854775807LL;
21032103+static unsigned long long int ubignum = BIG64;
21042104+21052105+struct incomplete_array
21062106+{
21072107+ int datasize;
21082108+ double data[];
21092109+};
21102110+21112111+struct named_init {
21122112+ int number;
21132113+ const wchar_t *name;
21142114+ double average;
21152115+};
21162116+21172117+typedef const char *ccp;
21182118+21192119+static inline int
21202120+test_restrict (ccp restrict text)
21212121+{
21222122+ // See if C++-style comments work.
21232123+ // Iterate through items via the restricted pointer.
21242124+ // Also check for declarations in for loops.
21252125+ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
21262126+ continue;
21272127+ return 0;
21282128+}
21292129+21302130+// Check varargs and va_copy.
21312131+static bool
21322132+test_varargs (const char *format, ...)
21332133+{
21342134+ va_list args;
21352135+ va_start (args, format);
21362136+ va_list args_copy;
21372137+ va_copy (args_copy, args);
21382138+21392139+ const char *str = "";
21402140+ int number = 0;
21412141+ float fnumber = 0;
21422142+21432143+ while (*format)
21442144+ {
21452145+ switch (*format++)
21462146+ {
21472147+ case '\''s'\'': // string
21482148+ str = va_arg (args_copy, const char *);
21492149+ break;
21502150+ case '\''d'\'': // int
21512151+ number = va_arg (args_copy, int);
21522152+ break;
21532153+ case '\''f'\'': // float
21542154+ fnumber = va_arg (args_copy, double);
21552155+ break;
21562156+ default:
21572157+ break;
21582158+ }
21592159+ }
21602160+ va_end (args_copy);
21612161+ va_end (args);
21622162+21632163+ return *str && number && fnumber;
21642164+}
21652165+'
21662166+21672167+# Test code for whether the C compiler supports C99 (body of main).
21682168+ac_c_conftest_c99_main='
21692169+ // Check bool.
21702170+ _Bool success = false;
21712171+ success |= (argc != 0);
21722172+21732173+ // Check restrict.
21742174+ if (test_restrict ("String literal") == 0)
21752175+ success = true;
21762176+ char *restrict newvar = "Another string";
21772177+21782178+ // Check varargs.
21792179+ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
21802180+ test_varargs_macros ();
21812181+21822182+ // Check flexible array members.
21832183+ struct incomplete_array *ia =
21842184+ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
21852185+ ia->datasize = 10;
21862186+ for (int i = 0; i < ia->datasize; ++i)
21872187+ ia->data[i] = i * 1.234;
21882188+21892189+ // Check named initializers.
21902190+ struct named_init ni = {
21912191+ .number = 34,
21922192+ .name = L"Test wide string",
21932193+ .average = 543.34343,
21942194+ };
21952195+21962196+ ni.number = 58;
21972197+21982198+ int dynamic_array[ni.number];
21992199+ dynamic_array[0] = argv[0][0];
22002200+ dynamic_array[ni.number - 1] = 543;
22012201+22022202+ // work around unused variable warnings
22032203+ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
22042204+ || dynamic_array[ni.number - 1] != 543);
22052205+'
22062206+22072207+# Test code for whether the C compiler supports C11 (global declarations)
22082208+ac_c_conftest_c11_globals='
22092209+// Does the compiler advertise C11 conformance?
22102210+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
22112211+# error "Compiler does not advertise C11 conformance"
22122212+#endif
22132213+22142214+// Check _Alignas.
22152215+char _Alignas (double) aligned_as_double;
22162216+char _Alignas (0) no_special_alignment;
22172217+extern char aligned_as_int;
22182218+char _Alignas (0) _Alignas (int) aligned_as_int;
22192219+22202220+// Check _Alignof.
22212221+enum
22222222+{
22232223+ int_alignment = _Alignof (int),
22242224+ int_array_alignment = _Alignof (int[100]),
22252225+ char_alignment = _Alignof (char)
22262226+};
22272227+_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
22282228+22292229+// Check _Noreturn.
22302230+int _Noreturn does_not_return (void) { for (;;) continue; }
22312231+22322232+// Check _Static_assert.
22332233+struct test_static_assert
22342234+{
22352235+ int x;
22362236+ _Static_assert (sizeof (int) <= sizeof (long int),
22372237+ "_Static_assert does not work in struct");
22382238+ long int y;
22392239+};
22402240+22412241+// Check UTF-8 literals.
22422242+#define u8 syntax error!
22432243+char const utf8_literal[] = u8"happens to be ASCII" "another string";
22442244+22452245+// Check duplicate typedefs.
22462246+typedef long *long_ptr;
22472247+typedef long int *long_ptr;
22482248+typedef long_ptr long_ptr;
22492249+22502250+// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
22512251+struct anonymous
22522252+{
22532253+ union {
22542254+ struct { int i; int j; };
22552255+ struct { int k; long int l; } w;
22562256+ };
22572257+ int m;
22582258+} v1;
22592259+'
22602260+22612261+# Test code for whether the C compiler supports C11 (body of main).
22622262+ac_c_conftest_c11_main='
22632263+ _Static_assert ((offsetof (struct anonymous, i)
22642264+ == offsetof (struct anonymous, w.k)),
22652265+ "Anonymous union alignment botch");
22662266+ v1.i = 2;
22672267+ v1.w.k = 5;
22682268+ ok |= v1.i != 5;
22692269+'
22702270+22712271+# Test code for whether the C compiler supports C11 (complete).
22722272+ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
22732273+${ac_c_conftest_c99_globals}
22742274+${ac_c_conftest_c11_globals}
22752275+22762276+int
22772277+main (int argc, char **argv)
22782278+{
22792279+ int ok = 0;
22802280+ ${ac_c_conftest_c89_main}
22812281+ ${ac_c_conftest_c99_main}
22822282+ ${ac_c_conftest_c11_main}
22832283+ return ok;
22842284+}
22852285+"
22862286+22872287+# Test code for whether the C compiler supports C99 (complete).
22882288+ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
22892289+${ac_c_conftest_c99_globals}
22902290+22912291+int
22922292+main (int argc, char **argv)
22932293+{
22942294+ int ok = 0;
22952295+ ${ac_c_conftest_c89_main}
22962296+ ${ac_c_conftest_c99_main}
22972297+ return ok;
22982298+}
22992299+"
23002300+23012301+# Test code for whether the C compiler supports C89 (complete).
23022302+ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
23032303+23042304+int
23052305+main (int argc, char **argv)
23062306+{
23072307+ int ok = 0;
23082308+ ${ac_c_conftest_c89_main}
23092309+ return ok;
23102310+}
23112311+"
23122312+23132313+as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
23142314+as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
23152315+as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
23162316+as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
23172317+as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
23182318+as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
23192319+as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
23202320+as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
23212321+as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
23222322+23232323+# Auxiliary files required by this configure script.
23242324+ac_aux_files="config.guess config.sub missing install-sh"
23252325+23262326+# Locations in which to look for auxiliary files.
23272327+ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
23282328+23292329+# Search for a directory containing all of the required auxiliary files,
23302330+# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
23312331+# If we don't find one directory that contains all the files we need,
23322332+# we report the set of missing files from the *first* directory in
23332333+# $ac_aux_dir_candidates and give up.
23342334+ac_missing_aux_files=""
23352335+ac_first_candidate=:
23362336+printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
23372337+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23382338+as_found=false
23392339+for as_dir in $ac_aux_dir_candidates
23402340+do
23412341+ IFS=$as_save_IFS
23422342+ case $as_dir in #(((
23432343+ '') as_dir=./ ;;
23442344+ */) ;;
23452345+ *) as_dir=$as_dir/ ;;
23462346+ esac
23472347+ as_found=:
23482348+23492349+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
23502350+ ac_aux_dir_found=yes
23512351+ ac_install_sh=
23522352+ for ac_aux in $ac_aux_files
23532353+ do
23542354+ # As a special case, if "install-sh" is required, that requirement
23552355+ # can be satisfied by any of "install-sh", "install.sh", or "shtool",
23562356+ # and $ac_install_sh is set appropriately for whichever one is found.
23572357+ if test x"$ac_aux" = x"install-sh"
23582358+ then
23592359+ if test -f "${as_dir}install-sh"; then
23602360+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
23612361+ ac_install_sh="${as_dir}install-sh -c"
23622362+ elif test -f "${as_dir}install.sh"; then
23632363+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
23642364+ ac_install_sh="${as_dir}install.sh -c"
23652365+ elif test -f "${as_dir}shtool"; then
23662366+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
23672367+ ac_install_sh="${as_dir}shtool install -c"
23682368+ else
23692369+ ac_aux_dir_found=no
23702370+ if $ac_first_candidate; then
23712371+ ac_missing_aux_files="${ac_missing_aux_files} install-sh"
23722372+ else
23732373+ break
23742374+ fi
23752375+ fi
23762376+ else
23772377+ if test -f "${as_dir}${ac_aux}"; then
23782378+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
23792379+ else
23802380+ ac_aux_dir_found=no
23812381+ if $ac_first_candidate; then
23822382+ ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
23832383+ else
23842384+ break
23852385+ fi
23862386+ fi
23872387+ fi
23882388+ done
23892389+ if test "$ac_aux_dir_found" = yes; then
23902390+ ac_aux_dir="$as_dir"
23912391+ break
23922392+ fi
23932393+ ac_first_candidate=false
23942394+23952395+ as_found=false
23962396+done
23972397+IFS=$as_save_IFS
23982398+if $as_found
23992399+then :
24002400+24012401+else $as_nop
24022402+ as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
24032403+fi
24042404+24052405+24062406+# These three variables are undocumented and unsupported,
24072407+# and are intended to be withdrawn in a future Autoconf release.
24082408+# They can cause serious problems if a builder's source tree is in a directory
24092409+# whose full name contains unusual characters.
24102410+if test -f "${ac_aux_dir}config.guess"; then
24112411+ ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
24122412+fi
24132413+if test -f "${ac_aux_dir}config.sub"; then
24142414+ ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
24152415+fi
24162416+if test -f "$ac_aux_dir/configure"; then
24172417+ ac_configure="$SHELL ${ac_aux_dir}configure"
24182418+fi
24192419+20402420# Check that the precious variables saved in the cache have kept the same
20412421# value.
20422422ac_cache_corrupted=false
···20472427 eval ac_new_val=\$ac_env_${ac_var}_value
20482428 case $ac_old_set,$ac_new_set in
20492429 set,)
20502050- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
20512051-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
24302430+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
24312431+printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
20522432 ac_cache_corrupted=: ;;
20532433 ,set)
20542054- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
20552055-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24342434+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
24352435+printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
20562436 ac_cache_corrupted=: ;;
20572437 ,);;
20582438 *)
···20612441 ac_old_val_w=`echo x $ac_old_val`
20622442 ac_new_val_w=`echo x $ac_new_val`
20632443 if test "$ac_old_val_w" != "$ac_new_val_w"; then
20642064- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
20652065-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
24442444+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
24452445+printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
20662446 ac_cache_corrupted=:
20672447 else
20682068- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
20692069-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
24482448+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
24492449+printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
20702450 eval $ac_var=\$ac_old_val
20712451 fi
20722072- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
20732073-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
20742074- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
20752075-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
24522452+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
24532453+printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
24542454+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
24552455+printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
20762456 fi;;
20772457 esac
20782458 # Pass precious variables to config.status.
20792459 if test "$ac_new_set" = set; then
20802460 case $ac_new_val in
20812081- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24612461+ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
20822462 *) ac_arg=$ac_var=$ac_new_val ;;
20832463 esac
20842464 case " $ac_configure_args " in
···20882468 fi
20892469done
20902470if $ac_cache_corrupted; then
20912091- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20922092-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20932093- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
20942094-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
20952095- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
24712471+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24722472+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24732473+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
24742474+printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
24752475+ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
24762476+ and start over" "$LINENO" 5
20962477fi
20972478## -------------------- ##
20982479## Main body of script. ##
···21122493# Initialize Automake
21132494am__api_version='1.12'
2114249521152115-ac_aux_dir=
21162116-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
21172117- if test -f "$ac_dir/install-sh"; then
21182118- ac_aux_dir=$ac_dir
21192119- ac_install_sh="$ac_aux_dir/install-sh -c"
21202120- break
21212121- elif test -f "$ac_dir/install.sh"; then
21222122- ac_aux_dir=$ac_dir
21232123- ac_install_sh="$ac_aux_dir/install.sh -c"
21242124- break
21252125- elif test -f "$ac_dir/shtool"; then
21262126- ac_aux_dir=$ac_dir
21272127- ac_install_sh="$ac_aux_dir/shtool install -c"
21282128- break
21292129- fi
21302130-done
21312131-if test -z "$ac_aux_dir"; then
21322132- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
21332133-fi
2134249621352135-# These three variables are undocumented and unsupported,
21362136-# and are intended to be withdrawn in a future Autoconf release.
21372137-# They can cause serious problems if a builder's source tree is in a directory
21382138-# whose full name contains unusual characters.
21392139-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
21402140-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
21412141-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2142249721432143-21442144-# Find a good install program. We prefer a C program (faster),
24982498+ # Find a good install program. We prefer a C program (faster),
21452499# so one script is as good as another. But avoid the broken or
21462500# incompatible versions:
21472501# SysV /etc/install, /usr/sbin/install
···21552509# OS/2's system install, which has a completely different semantic
21562510# ./install, which can be erroneously created by make from ./install.sh.
21572511# Reject install programs that cannot install multiple files.
21582158-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
21592159-$as_echo_n "checking for a BSD-compatible install... " >&6; }
25122512+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
25132513+printf %s "checking for a BSD-compatible install... " >&6; }
21602514if test -z "$INSTALL"; then
21612161-if ${ac_cv_path_install+:} false; then :
21622162- $as_echo_n "(cached) " >&6
21632163-else
25152515+if test ${ac_cv_path_install+y}
25162516+then :
25172517+ printf %s "(cached) " >&6
25182518+else $as_nop
21642519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21652520for as_dir in $PATH
21662521do
21672522 IFS=$as_save_IFS
21682168- test -z "$as_dir" && as_dir=.
21692169- # Account for people who put trailing slashes in PATH elements.
21702170-case $as_dir/ in #((
21712171- ./ | .// | /[cC]/* | \
25232523+ case $as_dir in #(((
25242524+ '') as_dir=./ ;;
25252525+ */) ;;
25262526+ *) as_dir=$as_dir/ ;;
25272527+ esac
25282528+ # Account for fact that we put trailing slashes in our PATH walk.
25292529+case $as_dir in #((
25302530+ ./ | /[cC]/* | \
21722531 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21732532 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
21742533 /usr/ucb/* ) ;;
···21782537 # by default.
21792538 for ac_prog in ginstall scoinst install; do
21802539 for ac_exec_ext in '' $ac_executable_extensions; do
21812181- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
25402540+ if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
21822541 if test $ac_prog = install &&
21832183- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25422542+ grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21842543 # AIX install. It has an incompatible calling convention.
21852544 :
21862545 elif test $ac_prog = install &&
21872187- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25462546+ grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21882547 # program-specific install script used by HP pwplus--don't use.
21892548 :
21902549 else
···21922551 echo one > conftest.one
21932552 echo two > conftest.two
21942553 mkdir conftest.dir
21952195- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
25542554+ if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
21962555 test -s conftest.one && test -s conftest.two &&
21972556 test -s conftest.dir/conftest.one &&
21982557 test -s conftest.dir/conftest.two
21992558 then
22002200- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
25592559+ ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
22012560 break 3
22022561 fi
22032562 fi
···22132572rm -rf conftest.one conftest.two conftest.dir
2214257322152574fi
22162216- if test "${ac_cv_path_install+set}" = set; then
25752575+ if test ${ac_cv_path_install+y}; then
22172576 INSTALL=$ac_cv_path_install
22182577 else
22192578 # As a last resort, use the slow shell script. Don't cache a
···22232582 INSTALL=$ac_install_sh
22242583 fi
22252584fi
22262226-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
22272227-$as_echo "$INSTALL" >&6; }
25852585+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
25862586+printf "%s\n" "$INSTALL" >&6; }
2228258722292588# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22302589# It thinks the first close brace ends the variable substitution.
···2234259322352594test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2236259522372237-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
22382238-$as_echo_n "checking whether build environment is sane... " >&6; }
25962596+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
25972597+printf %s "checking whether build environment is sane... " >&6; }
22392598# Reject unsafe characters in $srcdir or the absolute working directory
22402599# name. Accept space and tab only in the latter.
22412600am_lf='
···22892648 as_fn_error $? "newly created file is older than distributed files!
22902649Check your system clock" "$LINENO" 5
22912650fi
22922292-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22932293-$as_echo "yes" >&6; }
26512651+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26522652+printf "%s\n" "yes" >&6; }
22942653# If we didn't sleep, we still need to ensure time stamps of config.status and
22952654# generated files are strictly newer.
22962655am_sleep_pid=
···23092668# Double any \ or $.
23102669# By default was `s,x,x', remove it if useless.
23112670ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
23122312-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
26712671+program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2313267223142673# expand $ac_aux_dir to an absolute path
23152674am_aux_dir=`cd $ac_aux_dir && pwd`
2316267523172317-if test x"${MISSING+set}" != xset; then
26762676+26772677+ if test x"${MISSING+set}" != xset; then
23182678 case $am_aux_dir in
23192679 *\ * | *\ *)
23202680 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
···23272687 am_missing_run="$MISSING --run "
23282688else
23292689 am_missing_run=
23302330- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
23312331-$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
26902690+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
26912691+printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
23322692fi
2333269323342694if test x"${install_sh}" != xset; then
···23482708 if test -n "$ac_tool_prefix"; then
23492709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
23502710set dummy ${ac_tool_prefix}strip; ac_word=$2
23512351-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23522352-$as_echo_n "checking for $ac_word... " >&6; }
23532353-if ${ac_cv_prog_STRIP+:} false; then :
23542354- $as_echo_n "(cached) " >&6
23552355-else
27112711+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27122712+printf %s "checking for $ac_word... " >&6; }
27132713+if test ${ac_cv_prog_STRIP+y}
27142714+then :
27152715+ printf %s "(cached) " >&6
27162716+else $as_nop
23562717 if test -n "$STRIP"; then
23572718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
23582719else
···23602721for as_dir in $PATH
23612722do
23622723 IFS=$as_save_IFS
23632363- test -z "$as_dir" && as_dir=.
27242724+ case $as_dir in #(((
27252725+ '') as_dir=./ ;;
27262726+ */) ;;
27272727+ *) as_dir=$as_dir/ ;;
27282728+ esac
23642729 for ac_exec_ext in '' $ac_executable_extensions; do
23652365- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27302730+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23662731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
23672367- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27322732+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23682733 break 2
23692734 fi
23702735done
···23752740fi
23762741STRIP=$ac_cv_prog_STRIP
23772742if test -n "$STRIP"; then
23782378- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
23792379-$as_echo "$STRIP" >&6; }
27432743+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
27442744+printf "%s\n" "$STRIP" >&6; }
23802745else
23812381- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23822382-$as_echo "no" >&6; }
27462746+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27472747+printf "%s\n" "no" >&6; }
23832748fi
2384274923852750···23882753 ac_ct_STRIP=$STRIP
23892754 # Extract the first word of "strip", so it can be a program name with args.
23902755set dummy strip; ac_word=$2
23912391-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23922392-$as_echo_n "checking for $ac_word... " >&6; }
23932393-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
23942394- $as_echo_n "(cached) " >&6
23952395-else
27562756+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27572757+printf %s "checking for $ac_word... " >&6; }
27582758+if test ${ac_cv_prog_ac_ct_STRIP+y}
27592759+then :
27602760+ printf %s "(cached) " >&6
27612761+else $as_nop
23962762 if test -n "$ac_ct_STRIP"; then
23972763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
23982764else
···24002766for as_dir in $PATH
24012767do
24022768 IFS=$as_save_IFS
24032403- test -z "$as_dir" && as_dir=.
27692769+ case $as_dir in #(((
27702770+ '') as_dir=./ ;;
27712771+ */) ;;
27722772+ *) as_dir=$as_dir/ ;;
27732773+ esac
24042774 for ac_exec_ext in '' $ac_executable_extensions; do
24052405- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27752775+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
24062776 ac_cv_prog_ac_ct_STRIP="strip"
24072407- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27772777+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24082778 break 2
24092779 fi
24102780done
···24152785fi
24162786ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
24172787if test -n "$ac_ct_STRIP"; then
24182418- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
24192419-$as_echo "$ac_ct_STRIP" >&6; }
27882788+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
27892789+printf "%s\n" "$ac_ct_STRIP" >&6; }
24202790else
24212421- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24222422-$as_echo "no" >&6; }
27912791+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27922792+printf "%s\n" "no" >&6; }
24232793fi
2424279424252795 if test "x$ac_ct_STRIP" = x; then
···24272797 else
24282798 case $cross_compiling:$ac_tool_warned in
24292799yes:)
24302430-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24312431-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28002800+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28012801+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24322802ac_tool_warned=yes ;;
24332803esac
24342804 STRIP=$ac_ct_STRIP
···24402810fi
24412811INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2442281224432443-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
24442444-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
28132813+28142814+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
28152815+printf %s "checking for a race-free mkdir -p... " >&6; }
24452816if test -z "$MKDIR_P"; then
24462446- if ${ac_cv_path_mkdir+:} false; then :
24472447- $as_echo_n "(cached) " >&6
24482448-else
28172817+ if test ${ac_cv_path_mkdir+y}
28182818+then :
28192819+ printf %s "(cached) " >&6
28202820+else $as_nop
24492821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24502822for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
24512823do
24522824 IFS=$as_save_IFS
24532453- test -z "$as_dir" && as_dir=.
28252825+ case $as_dir in #(((
28262826+ '') as_dir=./ ;;
28272827+ */) ;;
28282828+ *) as_dir=$as_dir/ ;;
28292829+ esac
24542830 for ac_prog in mkdir gmkdir; do
24552831 for ac_exec_ext in '' $ac_executable_extensions; do
24562456- as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
24572457- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
24582458- 'mkdir (GNU coreutils) '* | \
24592459- 'mkdir (coreutils) '* | \
28322832+ as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
28332833+ case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
28342834+ 'mkdir ('*'coreutils) '* | \
28352835+ 'BusyBox '* | \
24602836 'mkdir (fileutils) '4.1*)
24612461- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
28372837+ ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
24622838 break 3;;
24632839 esac
24642840 done
···24692845fi
2470284624712847 test -d ./--version && rmdir ./--version
24722472- if test "${ac_cv_path_mkdir+set}" = set; then
28482848+ if test ${ac_cv_path_mkdir+y}; then
24732849 MKDIR_P="$ac_cv_path_mkdir -p"
24742850 else
24752851 # As a last resort, use the slow shell script. Don't cache a
···24792855 MKDIR_P="$ac_install_sh -d"
24802856 fi
24812857fi
24822482-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
24832483-$as_echo "$MKDIR_P" >&6; }
28582858+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
28592859+printf "%s\n" "$MKDIR_P" >&6; }
2484286024852861for ac_prog in gawk mawk nawk awk
24862862do
24872863 # Extract the first word of "$ac_prog", so it can be a program name with args.
24882864set dummy $ac_prog; ac_word=$2
24892489-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24902490-$as_echo_n "checking for $ac_word... " >&6; }
24912491-if ${ac_cv_prog_AWK+:} false; then :
24922492- $as_echo_n "(cached) " >&6
24932493-else
28652865+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28662866+printf %s "checking for $ac_word... " >&6; }
28672867+if test ${ac_cv_prog_AWK+y}
28682868+then :
28692869+ printf %s "(cached) " >&6
28702870+else $as_nop
24942871 if test -n "$AWK"; then
24952872 ac_cv_prog_AWK="$AWK" # Let the user override the test.
24962873else
···24982875for as_dir in $PATH
24992876do
25002877 IFS=$as_save_IFS
25012501- test -z "$as_dir" && as_dir=.
28782878+ case $as_dir in #(((
28792879+ '') as_dir=./ ;;
28802880+ */) ;;
28812881+ *) as_dir=$as_dir/ ;;
28822882+ esac
25022883 for ac_exec_ext in '' $ac_executable_extensions; do
25032503- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28842884+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25042885 ac_cv_prog_AWK="$ac_prog"
25052505- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28862886+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25062887 break 2
25072888 fi
25082889done
···25132894fi
25142895AWK=$ac_cv_prog_AWK
25152896if test -n "$AWK"; then
25162516- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
25172517-$as_echo "$AWK" >&6; }
28972897+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
28982898+printf "%s\n" "$AWK" >&6; }
25182899else
25192519- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25202520-$as_echo "no" >&6; }
29002900+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29012901+printf "%s\n" "no" >&6; }
25212902fi
252229032523290425242905 test -n "$AWK" && break
25252906done
2526290725272527-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
25282528-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
29082908+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29092909+printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25292910set x ${MAKE-make}
25302530-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
25312531-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
25322532- $as_echo_n "(cached) " >&6
25332533-else
29112911+ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
29122912+if eval test \${ac_cv_prog_make_${ac_make}_set+y}
29132913+then :
29142914+ printf %s "(cached) " >&6
29152915+else $as_nop
25342916 cat >conftest.make <<\_ACEOF
25352917SHELL = /bin/sh
25362918all:
···25462928rm -f conftest.make
25472929fi
25482930if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25492549- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25502550-$as_echo "yes" >&6; }
29312931+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29322932+printf "%s\n" "yes" >&6; }
25512933 SET_MAKE=
25522934else
25532553- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25542554-$as_echo "no" >&6; }
29352935+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29362936+printf "%s\n" "no" >&6; }
25552937 SET_MAKE="MAKE=${MAKE-make}"
25562938fi
25572939···2586296825872969# Define the identity of the package.
25882970 PACKAGE='xpr'
25892589- VERSION='1.0.5'
29712971+ VERSION='1.2.0'
259029722591297325922592-cat >>confdefs.h <<_ACEOF
25932593-#define PACKAGE "$PACKAGE"
25942594-_ACEOF
29742974+printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
259529752596297625972597-cat >>confdefs.h <<_ACEOF
25982598-#define VERSION "$VERSION"
25992599-_ACEOF
29772977+printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2600297826012979# Some tools Automake needs.
26022980···26303008263130092632301026332633-26342634-26352635-26362636-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
26372637-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
26382638- # Check whether --enable-maintainer-mode was given.
26392639-if test "${enable_maintainer_mode+set}" = set; then :
26402640- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
26412641-else
26422642- USE_MAINTAINER_MODE=no
26432643-fi
26442644-26452645- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
26462646-$as_echo "$USE_MAINTAINER_MODE" >&6; }
26472647- if test $USE_MAINTAINER_MODE = yes; then
26482648- MAINTAINER_MODE_TRUE=
26492649- MAINTAINER_MODE_FALSE='#'
26502650-else
26512651- MAINTAINER_MODE_TRUE='#'
26522652- MAINTAINER_MODE_FALSE=
26532653-fi
26542654-26552655- MAINT=$MAINTAINER_MODE_TRUE
265630112657301226583013···26683023266930242670302526712671-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
26722672-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
30263026+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
30273027+printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
26733028 # Check whether --enable-maintainer-mode was given.
26742674-if test "${enable_maintainer_mode+set}" = set; then :
30293029+if test ${enable_maintainer_mode+y}
30303030+then :
26753031 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
26762676-else
30323032+else $as_nop
26773033 USE_MAINTAINER_MODE=no
26783034fi
2679303526802680- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
26812681-$as_echo "$USE_MAINTAINER_MODE" >&6; }
30363036+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
30373037+printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
26823038 if test $USE_MAINTAINER_MODE = yes; then
26833039 MAINTAINER_MODE_TRUE=
26843040 MAINTAINER_MODE_FALSE='#'
···26913047269230482693304930503050+30513051+30523052+30533053+30543054+30553055+30563056+30573057+30583058+26943059DEPDIR="${am__leading_dot}deps"
2695306026963061ac_config_commands="$ac_config_commands depfiles"
···27033068.PHONY: am__doit
27043069END
27053070# If we don't find an include directive, just comment out the code.
27062706-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
27072707-$as_echo_n "checking for style of include used by $am_make... " >&6; }
30713071+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
30723072+printf %s "checking for style of include used by $am_make... " >&6; }
27083073am__include="#"
27093074am__quote=
27103075_am_result=none
···27313096fi
273230972733309827342734-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
27352735-$as_echo "$_am_result" >&6; }
30993099+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
31003100+printf "%s\n" "$_am_result" >&6; }
27363101rm -f confinc confmf
2737310227383103# Check whether --enable-dependency-tracking was given.
27392739-if test "${enable_dependency_tracking+set}" = set; then :
31043104+if test ${enable_dependency_tracking+y}
31053105+then :
27403106 enableval=$enable_dependency_tracking;
27413107fi
27423108···27623128if test -n "$ac_tool_prefix"; then
27633129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
27643130set dummy ${ac_tool_prefix}gcc; ac_word=$2
27652765-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27662766-$as_echo_n "checking for $ac_word... " >&6; }
27672767-if ${ac_cv_prog_CC+:} false; then :
27682768- $as_echo_n "(cached) " >&6
27692769-else
31313131+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31323132+printf %s "checking for $ac_word... " >&6; }
31333133+if test ${ac_cv_prog_CC+y}
31343134+then :
31353135+ printf %s "(cached) " >&6
31363136+else $as_nop
27703137 if test -n "$CC"; then
27713138 ac_cv_prog_CC="$CC" # Let the user override the test.
27723139else
···27743141for as_dir in $PATH
27753142do
27763143 IFS=$as_save_IFS
27772777- test -z "$as_dir" && as_dir=.
31443144+ case $as_dir in #(((
31453145+ '') as_dir=./ ;;
31463146+ */) ;;
31473147+ *) as_dir=$as_dir/ ;;
31483148+ esac
27783149 for ac_exec_ext in '' $ac_executable_extensions; do
27792779- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31503150+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27803151 ac_cv_prog_CC="${ac_tool_prefix}gcc"
27812781- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31523152+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27823153 break 2
27833154 fi
27843155done
···27893160fi
27903161CC=$ac_cv_prog_CC
27913162if test -n "$CC"; then
27922792- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
27932793-$as_echo "$CC" >&6; }
31633163+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
31643164+printf "%s\n" "$CC" >&6; }
27943165else
27952795- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27962796-$as_echo "no" >&6; }
31663166+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31673167+printf "%s\n" "no" >&6; }
27973168fi
2798316927993170···28023173 ac_ct_CC=$CC
28033174 # Extract the first word of "gcc", so it can be a program name with args.
28043175set dummy gcc; ac_word=$2
28052805-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28062806-$as_echo_n "checking for $ac_word... " >&6; }
28072807-if ${ac_cv_prog_ac_ct_CC+:} false; then :
28082808- $as_echo_n "(cached) " >&6
28092809-else
31763176+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31773177+printf %s "checking for $ac_word... " >&6; }
31783178+if test ${ac_cv_prog_ac_ct_CC+y}
31793179+then :
31803180+ printf %s "(cached) " >&6
31813181+else $as_nop
28103182 if test -n "$ac_ct_CC"; then
28113183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28123184else
···28143186for as_dir in $PATH
28153187do
28163188 IFS=$as_save_IFS
28172817- test -z "$as_dir" && as_dir=.
31893189+ case $as_dir in #(((
31903190+ '') as_dir=./ ;;
31913191+ */) ;;
31923192+ *) as_dir=$as_dir/ ;;
31933193+ esac
28183194 for ac_exec_ext in '' $ac_executable_extensions; do
28192819- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31953195+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28203196 ac_cv_prog_ac_ct_CC="gcc"
28212821- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31973197+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28223198 break 2
28233199 fi
28243200done
···28293205fi
28303206ac_ct_CC=$ac_cv_prog_ac_ct_CC
28313207if test -n "$ac_ct_CC"; then
28322832- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
28332833-$as_echo "$ac_ct_CC" >&6; }
32083208+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
32093209+printf "%s\n" "$ac_ct_CC" >&6; }
28343210else
28352835- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28362836-$as_echo "no" >&6; }
32113211+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32123212+printf "%s\n" "no" >&6; }
28373213fi
2838321428393215 if test "x$ac_ct_CC" = x; then
···28413217 else
28423218 case $cross_compiling:$ac_tool_warned in
28433219yes:)
28442844-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28452845-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
32203220+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
32213221+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28463222ac_tool_warned=yes ;;
28473223esac
28483224 CC=$ac_ct_CC
···28553231 if test -n "$ac_tool_prefix"; then
28563232 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
28573233set dummy ${ac_tool_prefix}cc; ac_word=$2
28582858-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28592859-$as_echo_n "checking for $ac_word... " >&6; }
28602860-if ${ac_cv_prog_CC+:} false; then :
28612861- $as_echo_n "(cached) " >&6
28622862-else
32343234+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32353235+printf %s "checking for $ac_word... " >&6; }
32363236+if test ${ac_cv_prog_CC+y}
32373237+then :
32383238+ printf %s "(cached) " >&6
32393239+else $as_nop
28633240 if test -n "$CC"; then
28643241 ac_cv_prog_CC="$CC" # Let the user override the test.
28653242else
···28673244for as_dir in $PATH
28683245do
28693246 IFS=$as_save_IFS
28702870- test -z "$as_dir" && as_dir=.
32473247+ case $as_dir in #(((
32483248+ '') as_dir=./ ;;
32493249+ */) ;;
32503250+ *) as_dir=$as_dir/ ;;
32513251+ esac
28713252 for ac_exec_ext in '' $ac_executable_extensions; do
28722872- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32533253+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28733254 ac_cv_prog_CC="${ac_tool_prefix}cc"
28742874- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32553255+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28753256 break 2
28763257 fi
28773258done
···28823263fi
28833264CC=$ac_cv_prog_CC
28843265if test -n "$CC"; then
28852885- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28862886-$as_echo "$CC" >&6; }
32663266+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
32673267+printf "%s\n" "$CC" >&6; }
28873268else
28882888- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28892889-$as_echo "no" >&6; }
32693269+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32703270+printf "%s\n" "no" >&6; }
28903271fi
2891327228923273···28953276if test -z "$CC"; then
28963277 # Extract the first word of "cc", so it can be a program name with args.
28973278set dummy cc; ac_word=$2
28982898-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28992899-$as_echo_n "checking for $ac_word... " >&6; }
29002900-if ${ac_cv_prog_CC+:} false; then :
29012901- $as_echo_n "(cached) " >&6
29022902-else
32793279+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32803280+printf %s "checking for $ac_word... " >&6; }
32813281+if test ${ac_cv_prog_CC+y}
32823282+then :
32833283+ printf %s "(cached) " >&6
32843284+else $as_nop
29033285 if test -n "$CC"; then
29043286 ac_cv_prog_CC="$CC" # Let the user override the test.
29053287else
···29083290for as_dir in $PATH
29093291do
29103292 IFS=$as_save_IFS
29112911- test -z "$as_dir" && as_dir=.
32933293+ case $as_dir in #(((
32943294+ '') as_dir=./ ;;
32953295+ */) ;;
32963296+ *) as_dir=$as_dir/ ;;
32973297+ esac
29123298 for ac_exec_ext in '' $ac_executable_extensions; do
29132913- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29142914- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
32993299+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33003300+ if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
29153301 ac_prog_rejected=yes
29163302 continue
29173303 fi
29183304 ac_cv_prog_CC="cc"
29192919- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33053305+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29203306 break 2
29213307 fi
29223308done
···29323318 # However, it has the same basename, so the bogon will be chosen
29333319 # first if we set CC to just the basename; use the full file name.
29343320 shift
29352935- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
33213321+ ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
29363322 fi
29373323fi
29383324fi
29393325fi
29403326CC=$ac_cv_prog_CC
29413327if test -n "$CC"; then
29422942- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
29432943-$as_echo "$CC" >&6; }
33283328+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33293329+printf "%s\n" "$CC" >&6; }
29443330else
29452945- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29462946-$as_echo "no" >&6; }
33313331+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33323332+printf "%s\n" "no" >&6; }
29473333fi
2948333429493335···29543340 do
29553341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29563342set dummy $ac_tool_prefix$ac_prog; ac_word=$2
29572957-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29582958-$as_echo_n "checking for $ac_word... " >&6; }
29592959-if ${ac_cv_prog_CC+:} false; then :
29602960- $as_echo_n "(cached) " >&6
29612961-else
33433343+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33443344+printf %s "checking for $ac_word... " >&6; }
33453345+if test ${ac_cv_prog_CC+y}
33463346+then :
33473347+ printf %s "(cached) " >&6
33483348+else $as_nop
29623349 if test -n "$CC"; then
29633350 ac_cv_prog_CC="$CC" # Let the user override the test.
29643351else
···29663353for as_dir in $PATH
29673354do
29683355 IFS=$as_save_IFS
29692969- test -z "$as_dir" && as_dir=.
33563356+ case $as_dir in #(((
33573357+ '') as_dir=./ ;;
33583358+ */) ;;
33593359+ *) as_dir=$as_dir/ ;;
33603360+ esac
29703361 for ac_exec_ext in '' $ac_executable_extensions; do
29712971- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33623362+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
29723363 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
29732973- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33643364+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29743365 break 2
29753366 fi
29763367done
···29813372fi
29823373CC=$ac_cv_prog_CC
29833374if test -n "$CC"; then
29842984- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
29852985-$as_echo "$CC" >&6; }
33753375+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33763376+printf "%s\n" "$CC" >&6; }
29863377else
29872987- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29882988-$as_echo "no" >&6; }
33783378+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33793379+printf "%s\n" "no" >&6; }
29893380fi
2990338129913382···29983389do
29993390 # Extract the first word of "$ac_prog", so it can be a program name with args.
30003391set dummy $ac_prog; ac_word=$2
30013001-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30023002-$as_echo_n "checking for $ac_word... " >&6; }
30033003-if ${ac_cv_prog_ac_ct_CC+:} false; then :
30043004- $as_echo_n "(cached) " >&6
30053005-else
33923392+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33933393+printf %s "checking for $ac_word... " >&6; }
33943394+if test ${ac_cv_prog_ac_ct_CC+y}
33953395+then :
33963396+ printf %s "(cached) " >&6
33973397+else $as_nop
30063398 if test -n "$ac_ct_CC"; then
30073399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30083400else
···30103402for as_dir in $PATH
30113403do
30123404 IFS=$as_save_IFS
30133013- test -z "$as_dir" && as_dir=.
34053405+ case $as_dir in #(((
34063406+ '') as_dir=./ ;;
34073407+ */) ;;
34083408+ *) as_dir=$as_dir/ ;;
34093409+ esac
30143410 for ac_exec_ext in '' $ac_executable_extensions; do
30153015- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34113411+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30163412 ac_cv_prog_ac_ct_CC="$ac_prog"
30173017- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34133413+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30183414 break 2
30193415 fi
30203416done
···30253421fi
30263422ac_ct_CC=$ac_cv_prog_ac_ct_CC
30273423if test -n "$ac_ct_CC"; then
30283028- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
30293029-$as_echo "$ac_ct_CC" >&6; }
34243424+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
34253425+printf "%s\n" "$ac_ct_CC" >&6; }
30303426else
30313031- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30323032-$as_echo "no" >&6; }
34273427+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34283428+printf "%s\n" "no" >&6; }
30333429fi
3034343030353431···30413437 else
30423438 case $cross_compiling:$ac_tool_warned in
30433439yes:)
30443044-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
30453045-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34403440+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34413441+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34423442+ac_tool_warned=yes ;;
34433443+esac
34443444+ CC=$ac_ct_CC
34453445+ fi
34463446+fi
34473447+34483448+fi
34493449+if test -z "$CC"; then
34503450+ if test -n "$ac_tool_prefix"; then
34513451+ # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
34523452+set dummy ${ac_tool_prefix}clang; ac_word=$2
34533453+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34543454+printf %s "checking for $ac_word... " >&6; }
34553455+if test ${ac_cv_prog_CC+y}
34563456+then :
34573457+ printf %s "(cached) " >&6
34583458+else $as_nop
34593459+ if test -n "$CC"; then
34603460+ ac_cv_prog_CC="$CC" # Let the user override the test.
34613461+else
34623462+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34633463+for as_dir in $PATH
34643464+do
34653465+ IFS=$as_save_IFS
34663466+ case $as_dir in #(((
34673467+ '') as_dir=./ ;;
34683468+ */) ;;
34693469+ *) as_dir=$as_dir/ ;;
34703470+ esac
34713471+ for ac_exec_ext in '' $ac_executable_extensions; do
34723472+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
34733473+ ac_cv_prog_CC="${ac_tool_prefix}clang"
34743474+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34753475+ break 2
34763476+ fi
34773477+done
34783478+ done
34793479+IFS=$as_save_IFS
34803480+34813481+fi
34823482+fi
34833483+CC=$ac_cv_prog_CC
34843484+if test -n "$CC"; then
34853485+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
34863486+printf "%s\n" "$CC" >&6; }
34873487+else
34883488+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34893489+printf "%s\n" "no" >&6; }
34903490+fi
34913491+34923492+34933493+fi
34943494+if test -z "$ac_cv_prog_CC"; then
34953495+ ac_ct_CC=$CC
34963496+ # Extract the first word of "clang", so it can be a program name with args.
34973497+set dummy clang; ac_word=$2
34983498+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34993499+printf %s "checking for $ac_word... " >&6; }
35003500+if test ${ac_cv_prog_ac_ct_CC+y}
35013501+then :
35023502+ printf %s "(cached) " >&6
35033503+else $as_nop
35043504+ if test -n "$ac_ct_CC"; then
35053505+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
35063506+else
35073507+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35083508+for as_dir in $PATH
35093509+do
35103510+ IFS=$as_save_IFS
35113511+ case $as_dir in #(((
35123512+ '') as_dir=./ ;;
35133513+ */) ;;
35143514+ *) as_dir=$as_dir/ ;;
35153515+ esac
35163516+ for ac_exec_ext in '' $ac_executable_extensions; do
35173517+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
35183518+ ac_cv_prog_ac_ct_CC="clang"
35193519+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
35203520+ break 2
35213521+ fi
35223522+done
35233523+ done
35243524+IFS=$as_save_IFS
35253525+35263526+fi
35273527+fi
35283528+ac_ct_CC=$ac_cv_prog_ac_ct_CC
35293529+if test -n "$ac_ct_CC"; then
35303530+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
35313531+printf "%s\n" "$ac_ct_CC" >&6; }
35323532+else
35333533+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35343534+printf "%s\n" "no" >&6; }
35353535+fi
35363536+35373537+ if test "x$ac_ct_CC" = x; then
35383538+ CC=""
35393539+ else
35403540+ case $cross_compiling:$ac_tool_warned in
35413541+yes:)
35423542+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
35433543+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30463544ac_tool_warned=yes ;;
30473545esac
30483546 CC=$ac_ct_CC
30493547 fi
35483548+else
35493549+ CC="$ac_cv_prog_CC"
30503550fi
3051355130523552fi
305335533054355430553055-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30563056-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
35553555+test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35563556+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
30573557as_fn_error $? "no acceptable C compiler found in \$PATH
30583558See \`config.log' for more details" "$LINENO" 5; }
3059355930603560# Provide some information about the compiler.
30613061-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
35613561+printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
30623562set X $ac_compile
30633563ac_compiler=$2
30643064-for ac_option in --version -v -V -qversion; do
35643564+for ac_option in --version -v -V -qversion -version; do
30653565 { { ac_try="$ac_compiler $ac_option >&5"
30663566case "(($ac_try" in
30673567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30683568 *) ac_try_echo=$ac_try;;
30693569esac
30703570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
30713071-$as_echo "$ac_try_echo"; } >&5
35713571+printf "%s\n" "$ac_try_echo"; } >&5
30723572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
30733573 ac_status=$?
30743574 if test -s conftest.err; then
···30783578 cat conftest.er1 >&5
30793579 fi
30803580 rm -f conftest.er1 conftest.err
30813081- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35813581+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30823582 test $ac_status = 0; }
30833583done
30843584···30863586/* end confdefs.h. */
3087358730883588int
30893089-main ()
35893589+main (void)
30903590{
3091359130923592 ;
···30983598# Try to create an executable without -o first, disregard a.out.
30993599# It will help us diagnose broken compilers, and finding out an intuition
31003600# of exeext.
31013101-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
31023102-$as_echo_n "checking whether the C compiler works... " >&6; }
31033103-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
36013601+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
36023602+printf %s "checking whether the C compiler works... " >&6; }
36033603+ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3104360431053605# The possible output files:
31063606ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
···31213621 *) ac_try_echo=$ac_try;;
31223622esac
31233623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31243124-$as_echo "$ac_try_echo"; } >&5
36243624+printf "%s\n" "$ac_try_echo"; } >&5
31253625 (eval "$ac_link_default") 2>&5
31263626 ac_status=$?
31273127- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31283128- test $ac_status = 0; }; then :
36273627+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36283628+ test $ac_status = 0; }
36293629+then :
31293630 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
31303631# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
31313632# in a Makefile. We should not override ac_cv_exeext if it was cached,
···31423643 # certainly right.
31433644 break;;
31443645 *.* )
31453145- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
36463646+ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
31463647 then :; else
31473648 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
31483649 fi
···31583659done
31593660test "$ac_cv_exeext" = no && ac_cv_exeext=
3160366131613161-else
36623662+else $as_nop
31623663 ac_file=''
31633664fi
31643164-if test -z "$ac_file"; then :
31653165- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31663166-$as_echo "no" >&6; }
31673167-$as_echo "$as_me: failed program was:" >&5
36653665+if test -z "$ac_file"
36663666+then :
36673667+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36683668+printf "%s\n" "no" >&6; }
36693669+printf "%s\n" "$as_me: failed program was:" >&5
31683670sed 's/^/| /' conftest.$ac_ext >&5
3169367131703170-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31713171-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36723672+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36733673+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
31723674as_fn_error 77 "C compiler cannot create executables
31733675See \`config.log' for more details" "$LINENO" 5; }
31743174-else
31753175- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31763176-$as_echo "yes" >&6; }
36763676+else $as_nop
36773677+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36783678+printf "%s\n" "yes" >&6; }
31773679fi
31783178-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
31793179-$as_echo_n "checking for C compiler default output file name... " >&6; }
31803180-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
31813181-$as_echo "$ac_file" >&6; }
36803680+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
36813681+printf %s "checking for C compiler default output file name... " >&6; }
36823682+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
36833683+printf "%s\n" "$ac_file" >&6; }
31823684ac_exeext=$ac_cv_exeext
3183368531843686rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
31853687ac_clean_files=$ac_clean_files_save
31863186-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
31873187-$as_echo_n "checking for suffix of executables... " >&6; }
36883688+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
36893689+printf %s "checking for suffix of executables... " >&6; }
31883690if { { ac_try="$ac_link"
31893691case "(($ac_try" in
31903692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31913693 *) ac_try_echo=$ac_try;;
31923694esac
31933695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31943194-$as_echo "$ac_try_echo"; } >&5
36963696+printf "%s\n" "$ac_try_echo"; } >&5
31953697 (eval "$ac_link") 2>&5
31963698 ac_status=$?
31973197- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31983198- test $ac_status = 0; }; then :
36993699+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37003700+ test $ac_status = 0; }
37013701+then :
31993702 # If both `conftest.exe' and `conftest' are `present' (well, observable)
32003703# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
32013704# work properly (i.e., refer to `conftest.exe'), while it won't with
···32093712 * ) break;;
32103713 esac
32113714done
32123212-else
32133213- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32143214-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37153715+else $as_nop
37163716+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37173717+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
32153718as_fn_error $? "cannot compute suffix of executables: cannot compile and link
32163719See \`config.log' for more details" "$LINENO" 5; }
32173720fi
32183721rm -f conftest conftest$ac_cv_exeext
32193219-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
32203220-$as_echo "$ac_cv_exeext" >&6; }
37223722+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
37233723+printf "%s\n" "$ac_cv_exeext" >&6; }
3221372432223725rm -f conftest.$ac_ext
32233726EXEEXT=$ac_cv_exeext
···32263729/* end confdefs.h. */
32273730#include <stdio.h>
32283731int
32293229-main ()
37323732+main (void)
32303733{
32313734FILE *f = fopen ("conftest.out", "w");
32323735 return ferror (f) || fclose (f) != 0;
···32383741ac_clean_files="$ac_clean_files conftest.out"
32393742# Check that the compiler produces executables we can run. If not, either
32403743# the compiler is broken, or we cross compile.
32413241-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
32423242-$as_echo_n "checking whether we are cross compiling... " >&6; }
37443744+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
37453745+printf %s "checking whether we are cross compiling... " >&6; }
32433746if test "$cross_compiling" != yes; then
32443747 { { ac_try="$ac_link"
32453748case "(($ac_try" in
···32473750 *) ac_try_echo=$ac_try;;
32483751esac
32493752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
32503250-$as_echo "$ac_try_echo"; } >&5
37533753+printf "%s\n" "$ac_try_echo"; } >&5
32513754 (eval "$ac_link") 2>&5
32523755 ac_status=$?
32533253- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37563756+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32543757 test $ac_status = 0; }
32553758 if { ac_try='./conftest$ac_cv_exeext'
32563759 { { case "(($ac_try" in
···32583761 *) ac_try_echo=$ac_try;;
32593762esac
32603763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
32613261-$as_echo "$ac_try_echo"; } >&5
37643764+printf "%s\n" "$ac_try_echo"; } >&5
32623765 (eval "$ac_try") 2>&5
32633766 ac_status=$?
32643264- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37673767+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32653768 test $ac_status = 0; }; }; then
32663769 cross_compiling=no
32673770 else
32683771 if test "$cross_compiling" = maybe; then
32693772 cross_compiling=yes
32703773 else
32713271- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32723272-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32733273-as_fn_error $? "cannot run C compiled programs.
37743774+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37753775+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
37763776+as_fn_error 77 "cannot run C compiled programs.
32743777If you meant to cross compile, use \`--host'.
32753778See \`config.log' for more details" "$LINENO" 5; }
32763779 fi
32773780 fi
32783781fi
32793279-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
32803280-$as_echo "$cross_compiling" >&6; }
37823782+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
37833783+printf "%s\n" "$cross_compiling" >&6; }
3281378432823785rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
32833786ac_clean_files=$ac_clean_files_save
32843284-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
32853285-$as_echo_n "checking for suffix of object files... " >&6; }
32863286-if ${ac_cv_objext+:} false; then :
32873287- $as_echo_n "(cached) " >&6
32883288-else
37873787+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
37883788+printf %s "checking for suffix of object files... " >&6; }
37893789+if test ${ac_cv_objext+y}
37903790+then :
37913791+ printf %s "(cached) " >&6
37923792+else $as_nop
32893793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903794/* end confdefs.h. */
3291379532923796int
32933293-main ()
37973797+main (void)
32943798{
3295379932963800 ;
···33043808 *) ac_try_echo=$ac_try;;
33053809esac
33063810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
33073307-$as_echo "$ac_try_echo"; } >&5
38113811+printf "%s\n" "$ac_try_echo"; } >&5
33083812 (eval "$ac_compile") 2>&5
33093813 ac_status=$?
33103310- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33113311- test $ac_status = 0; }; then :
38143814+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38153815+ test $ac_status = 0; }
38163816+then :
33123817 for ac_file in conftest.o conftest.obj conftest.*; do
33133818 test -f "$ac_file" || continue;
33143819 case $ac_file in
···33173822 break;;
33183823 esac
33193824done
33203320-else
33213321- $as_echo "$as_me: failed program was:" >&5
38253825+else $as_nop
38263826+ printf "%s\n" "$as_me: failed program was:" >&5
33223827sed 's/^/| /' conftest.$ac_ext >&5
3323382833243324-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33253325-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38293829+{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38303830+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33263831as_fn_error $? "cannot compute suffix of object files: cannot compile
33273832See \`config.log' for more details" "$LINENO" 5; }
33283833fi
33293834rm -f conftest.$ac_cv_objext conftest.$ac_ext
33303835fi
33313331-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
33323332-$as_echo "$ac_cv_objext" >&6; }
38363836+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
38373837+printf "%s\n" "$ac_cv_objext" >&6; }
33333838OBJEXT=$ac_cv_objext
33343839ac_objext=$OBJEXT
33353335-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
33363336-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
33373337-if ${ac_cv_c_compiler_gnu+:} false; then :
33383338- $as_echo_n "(cached) " >&6
33393339-else
38403840+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
38413841+printf %s "checking whether the compiler supports GNU C... " >&6; }
38423842+if test ${ac_cv_c_compiler_gnu+y}
38433843+then :
38443844+ printf %s "(cached) " >&6
38453845+else $as_nop
33403846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33413847/* end confdefs.h. */
3342384833433849int
33443344-main ()
38503850+main (void)
33453851{
33463852#ifndef __GNUC__
33473853 choke me
···33513857 return 0;
33523858}
33533859_ACEOF
33543354-if ac_fn_c_try_compile "$LINENO"; then :
38603860+if ac_fn_c_try_compile "$LINENO"
38613861+then :
33553862 ac_compiler_gnu=yes
33563356-else
38633863+else $as_nop
33573864 ac_compiler_gnu=no
33583865fi
33593359-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38663866+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
33603867ac_cv_c_compiler_gnu=$ac_compiler_gnu
3361386833623869fi
33633363-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
33643364-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
38703870+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
38713871+printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
38723872+ac_compiler_gnu=$ac_cv_c_compiler_gnu
38733873+33653874if test $ac_compiler_gnu = yes; then
33663875 GCC=yes
33673876else
33683877 GCC=
33693878fi
33703370-ac_test_CFLAGS=${CFLAGS+set}
38793879+ac_test_CFLAGS=${CFLAGS+y}
33713880ac_save_CFLAGS=$CFLAGS
33723372-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
33733373-$as_echo_n "checking whether $CC accepts -g... " >&6; }
33743374-if ${ac_cv_prog_cc_g+:} false; then :
33753375- $as_echo_n "(cached) " >&6
33763376-else
38813881+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
38823882+printf %s "checking whether $CC accepts -g... " >&6; }
38833883+if test ${ac_cv_prog_cc_g+y}
38843884+then :
38853885+ printf %s "(cached) " >&6
38863886+else $as_nop
33773887 ac_save_c_werror_flag=$ac_c_werror_flag
33783888 ac_c_werror_flag=yes
33793889 ac_cv_prog_cc_g=no
···33823892/* end confdefs.h. */
3383389333843894int
33853385-main ()
38953895+main (void)
33863896{
3387389733883898 ;
33893899 return 0;
33903900}
33913901_ACEOF
33923392-if ac_fn_c_try_compile "$LINENO"; then :
39023902+if ac_fn_c_try_compile "$LINENO"
39033903+then :
33933904 ac_cv_prog_cc_g=yes
33943394-else
39053905+else $as_nop
33953906 CFLAGS=""
33963907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33973908/* end confdefs.h. */
3398390933993910int
34003400-main ()
39113911+main (void)
34013912{
3402391334033914 ;
34043915 return 0;
34053916}
34063917_ACEOF
34073407-if ac_fn_c_try_compile "$LINENO"; then :
39183918+if ac_fn_c_try_compile "$LINENO"
39193919+then :
3408392034093409-else
39213921+else $as_nop
34103922 ac_c_werror_flag=$ac_save_c_werror_flag
34113923 CFLAGS="-g"
34123924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133925/* end confdefs.h. */
3414392634153927int
34163416-main ()
39283928+main (void)
34173929{
3418393034193931 ;
34203932 return 0;
34213933}
34223934_ACEOF
34233423-if ac_fn_c_try_compile "$LINENO"; then :
39353935+if ac_fn_c_try_compile "$LINENO"
39363936+then :
34243937 ac_cv_prog_cc_g=yes
34253938fi
34263426-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39393939+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34273940fi
34283428-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39413941+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34293942fi
34303430-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39433943+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34313944 ac_c_werror_flag=$ac_save_c_werror_flag
34323945fi
34333433-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
34343434-$as_echo "$ac_cv_prog_cc_g" >&6; }
34353435-if test "$ac_test_CFLAGS" = set; then
39463946+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
39473947+printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
39483948+if test $ac_test_CFLAGS; then
34363949 CFLAGS=$ac_save_CFLAGS
34373950elif test $ac_cv_prog_cc_g = yes; then
34383951 if test "$GCC" = yes; then
···34473960 CFLAGS=
34483961 fi
34493962fi
34503450-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
34513451-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
34523452-if ${ac_cv_prog_cc_c89+:} false; then :
34533453- $as_echo_n "(cached) " >&6
34543454-else
34553455- ac_cv_prog_cc_c89=no
39633963+ac_prog_cc_stdc=no
39643964+if test x$ac_prog_cc_stdc = xno
39653965+then :
39663966+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
39673967+printf %s "checking for $CC option to enable C11 features... " >&6; }
39683968+if test ${ac_cv_prog_cc_c11+y}
39693969+then :
39703970+ printf %s "(cached) " >&6
39713971+else $as_nop
39723972+ ac_cv_prog_cc_c11=no
34563973ac_save_CC=$CC
34573974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34583975/* end confdefs.h. */
34593459-#include <stdarg.h>
34603460-#include <stdio.h>
34613461-struct stat;
34623462-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
34633463-struct buf { int x; };
34643464-FILE * (*rcsopen) (struct buf *, struct stat *, int);
34653465-static char *e (p, i)
34663466- char **p;
34673467- int i;
34683468-{
34693469- return p[i];
34703470-}
34713471-static char *f (char * (*g) (char **, int), char **p, ...)
34723472-{
34733473- char *s;
34743474- va_list v;
34753475- va_start (v,p);
34763476- s = g (p, va_arg (v,int));
34773477- va_end (v);
34783478- return s;
34793479-}
34803480-34813481-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
34823482- function prototypes and stuff, but not '\xHH' hex character constants.
34833483- These don't provoke an error unfortunately, instead are silently treated
34843484- as 'x'. The following induces an error, until -std is added to get
34853485- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
34863486- array size at least. It's necessary to write '\x00'==0 to get something
34873487- that's true only with -std. */
34883488-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
39763976+$ac_c_conftest_c11_program
39773977+_ACEOF
39783978+for ac_arg in '' -std=gnu11
39793979+do
39803980+ CC="$ac_save_CC $ac_arg"
39813981+ if ac_fn_c_try_compile "$LINENO"
39823982+then :
39833983+ ac_cv_prog_cc_c11=$ac_arg
39843984+fi
39853985+rm -f core conftest.err conftest.$ac_objext conftest.beam
39863986+ test "x$ac_cv_prog_cc_c11" != "xno" && break
39873987+done
39883988+rm -f conftest.$ac_ext
39893989+CC=$ac_save_CC
39903990+fi
3489399134903490-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
34913491- inside strings and character constants. */
34923492-#define FOO(x) 'x'
34933493-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
39923992+if test "x$ac_cv_prog_cc_c11" = xno
39933993+then :
39943994+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
39953995+printf "%s\n" "unsupported" >&6; }
39963996+else $as_nop
39973997+ if test "x$ac_cv_prog_cc_c11" = x
39983998+then :
39993999+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
40004000+printf "%s\n" "none needed" >&6; }
40014001+else $as_nop
40024002+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
40034003+printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
40044004+ CC="$CC $ac_cv_prog_cc_c11"
40054005+fi
40064006+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
40074007+ ac_prog_cc_stdc=c11
40084008+fi
40094009+fi
40104010+if test x$ac_prog_cc_stdc = xno
40114011+then :
40124012+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
40134013+printf %s "checking for $CC option to enable C99 features... " >&6; }
40144014+if test ${ac_cv_prog_cc_c99+y}
40154015+then :
40164016+ printf %s "(cached) " >&6
40174017+else $as_nop
40184018+ ac_cv_prog_cc_c99=no
40194019+ac_save_CC=$CC
40204020+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40214021+/* end confdefs.h. */
40224022+$ac_c_conftest_c99_program
40234023+_ACEOF
40244024+for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
40254025+do
40264026+ CC="$ac_save_CC $ac_arg"
40274027+ if ac_fn_c_try_compile "$LINENO"
40284028+then :
40294029+ ac_cv_prog_cc_c99=$ac_arg
40304030+fi
40314031+rm -f core conftest.err conftest.$ac_objext conftest.beam
40324032+ test "x$ac_cv_prog_cc_c99" != "xno" && break
40334033+done
40344034+rm -f conftest.$ac_ext
40354035+CC=$ac_save_CC
40364036+fi
3494403734953495-int test (int i, double x);
34963496-struct s1 {int (*f) (int a);};
34973497-struct s2 {int (*f) (double a);};
34983498-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
34993499-int argc;
35003500-char **argv;
35013501-int
35023502-main ()
35033503-{
35043504-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
35053505- ;
35063506- return 0;
35073507-}
40384038+if test "x$ac_cv_prog_cc_c99" = xno
40394039+then :
40404040+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
40414041+printf "%s\n" "unsupported" >&6; }
40424042+else $as_nop
40434043+ if test "x$ac_cv_prog_cc_c99" = x
40444044+then :
40454045+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
40464046+printf "%s\n" "none needed" >&6; }
40474047+else $as_nop
40484048+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
40494049+printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
40504050+ CC="$CC $ac_cv_prog_cc_c99"
40514051+fi
40524052+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
40534053+ ac_prog_cc_stdc=c99
40544054+fi
40554055+fi
40564056+if test x$ac_prog_cc_stdc = xno
40574057+then :
40584058+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
40594059+printf %s "checking for $CC option to enable C89 features... " >&6; }
40604060+if test ${ac_cv_prog_cc_c89+y}
40614061+then :
40624062+ printf %s "(cached) " >&6
40634063+else $as_nop
40644064+ ac_cv_prog_cc_c89=no
40654065+ac_save_CC=$CC
40664066+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674067+/* end confdefs.h. */
40684068+$ac_c_conftest_c89_program
35084069_ACEOF
35093509-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
35103510- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
40704070+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
35114071do
35124072 CC="$ac_save_CC $ac_arg"
35133513- if ac_fn_c_try_compile "$LINENO"; then :
40734073+ if ac_fn_c_try_compile "$LINENO"
40744074+then :
35144075 ac_cv_prog_cc_c89=$ac_arg
35154076fi
35163516-rm -f core conftest.err conftest.$ac_objext
40774077+rm -f core conftest.err conftest.$ac_objext conftest.beam
35174078 test "x$ac_cv_prog_cc_c89" != "xno" && break
35184079done
35194080rm -f conftest.$ac_ext
35204081CC=$ac_save_CC
35213521-35224082fi
35233523-# AC_CACHE_VAL
35243524-case "x$ac_cv_prog_cc_c89" in
35253525- x)
35263526- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
35273527-$as_echo "none needed" >&6; } ;;
35283528- xno)
35293529- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
35303530-$as_echo "unsupported" >&6; } ;;
35313531- *)
35323532- CC="$CC $ac_cv_prog_cc_c89"
35333533- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
35343534-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
35353535-esac
35363536-if test "x$ac_cv_prog_cc_c89" != xno; then :
3537408340844084+if test "x$ac_cv_prog_cc_c89" = xno
40854085+then :
40864086+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
40874087+printf "%s\n" "unsupported" >&6; }
40884088+else $as_nop
40894089+ if test "x$ac_cv_prog_cc_c89" = x
40904090+then :
40914091+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
40924092+printf "%s\n" "none needed" >&6; }
40934093+else $as_nop
40944094+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
40954095+printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
40964096+ CC="$CC $ac_cv_prog_cc_c89"
40974097+fi
40984098+ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
40994099+ ac_prog_cc_stdc=c89
41004100+fi
35384101fi
3539410235404103ac_ext=c
···3545410835464109depcc="$CC" am_compiler_list=
3547411035483548-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
35493549-$as_echo_n "checking dependency style of $depcc... " >&6; }
35503550-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
35513551- $as_echo_n "(cached) " >&6
35523552-else
41114111+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
41124112+printf %s "checking dependency style of $depcc... " >&6; }
41134113+if test ${am_cv_CC_dependencies_compiler_type+y}
41144114+then :
41154115+ printf %s "(cached) " >&6
41164116+else $as_nop
35534117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
35544118 # We make a subdir and do the tests there. Otherwise we can end up
35554119 # making bogus files that we don't know about and never remove. For
···36564220fi
3657422136584222fi
36593659-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
36603660-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
42234223+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
42244224+printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
36614225CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3662422636634227 if
···36714235fi
367242363673423736743674- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
36753675-$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
36763676-if ${ac_cv_prog_cc_c99+:} false; then :
36773677- $as_echo_n "(cached) " >&6
36783678-else
36793679- ac_cv_prog_cc_c99=no
36803680-ac_save_CC=$CC
36813681-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36823682-/* end confdefs.h. */
36833683-#include <stdarg.h>
36843684-#include <stdbool.h>
36853685-#include <stdlib.h>
36863686-#include <wchar.h>
36873687-#include <stdio.h>
3688423836893689-// Check varargs macros. These examples are taken from C99 6.10.3.5.
36903690-#define debug(...) fprintf (stderr, __VA_ARGS__)
36913691-#define showlist(...) puts (#__VA_ARGS__)
36923692-#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
36933693-static void
36943694-test_varargs_macros (void)
36953695-{
36963696- int x = 1234;
36973697- int y = 5678;
36983698- debug ("Flag");
36993699- debug ("X = %d\n", x);
37003700- showlist (The first, second, and third items.);
37013701- report (x>y, "x is %d but y is %d", x, y);
37023702-}
37033703-37043704-// Check long long types.
37053705-#define BIG64 18446744073709551615ull
37063706-#define BIG32 4294967295ul
37073707-#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
37083708-#if !BIG_OK
37093709- your preprocessor is broken;
37103710-#endif
37113711-#if BIG_OK
37123712-#else
37133713- your preprocessor is broken;
37143714-#endif
37153715-static long long int bignum = -9223372036854775807LL;
37163716-static unsigned long long int ubignum = BIG64;
37173717-37183718-struct incomplete_array
37193719-{
37203720- int datasize;
37213721- double data[];
37223722-};
42394239+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
42404240+printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
42414241+if test ${ac_cv_c_undeclared_builtin_options+y}
42424242+then :
42434243+ printf %s "(cached) " >&6
42444244+else $as_nop
42454245+ ac_save_CFLAGS=$CFLAGS
42464246+ ac_cv_c_undeclared_builtin_options='cannot detect'
42474247+ for ac_arg in '' -fno-builtin; do
42484248+ CFLAGS="$ac_save_CFLAGS $ac_arg"
42494249+ # This test program should *not* compile successfully.
42504250+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42514251+/* end confdefs.h. */
3723425237243724-struct named_init {
37253725- int number;
37263726- const wchar_t *name;
37273727- double average;
37283728-};
37293729-37303730-typedef const char *ccp;
37313731-37323732-static inline int
37333733-test_restrict (ccp restrict text)
42534253+int
42544254+main (void)
37344255{
37353735- // See if C++-style comments work.
37363736- // Iterate through items via the restricted pointer.
37373737- // Also check for declarations in for loops.
37383738- for (unsigned int i = 0; *(text+i) != '\0'; ++i)
37393739- continue;
42564256+(void) strchr;
42574257+ ;
37404258 return 0;
37414259}
37423742-37433743-// Check varargs and va_copy.
37443744-static void
37453745-test_varargs (const char *format, ...)
37463746-{
37473747- va_list args;
37483748- va_start (args, format);
37493749- va_list args_copy;
37503750- va_copy (args_copy, args);
37513751-37523752- const char *str;
37533753- int number;
37543754- float fnumber;
42604260+_ACEOF
42614261+if ac_fn_c_try_compile "$LINENO"
42624262+then :
3755426337563756- while (*format)
37573757- {
37583758- switch (*format++)
37593759- {
37603760- case 's': // string
37613761- str = va_arg (args_copy, const char *);
37623762- break;
37633763- case 'd': // int
37643764- number = va_arg (args_copy, int);
37653765- break;
37663766- case 'f': // float
37673767- fnumber = va_arg (args_copy, double);
37683768- break;
37693769- default:
37703770- break;
37713771- }
37723772- }
37733773- va_end (args_copy);
37743774- va_end (args);
37753775-}
42644264+else $as_nop
42654265+ # This test program should compile successfully.
42664266+ # No library function is consistently available on
42674267+ # freestanding implementations, so test against a dummy
42684268+ # declaration. Include always-available headers on the
42694269+ # off chance that they somehow elicit warnings.
42704270+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714271+/* end confdefs.h. */
42724272+#include <float.h>
42734273+#include <limits.h>
42744274+#include <stdarg.h>
42754275+#include <stddef.h>
42764276+extern void ac_decl (int, char *);
3776427737774278int
37783778-main ()
42794279+main (void)
37794280{
37803780-37813781- // Check bool.
37823782- _Bool success = false;
37833783-37843784- // Check restrict.
37853785- if (test_restrict ("String literal") == 0)
37863786- success = true;
37873787- char *restrict newvar = "Another string";
37883788-37893789- // Check varargs.
37903790- test_varargs ("s, d' f .", "string", 65, 34.234);
37913791- test_varargs_macros ();
37923792-37933793- // Check flexible array members.
37943794- struct incomplete_array *ia =
37953795- malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
37963796- ia->datasize = 10;
37973797- for (int i = 0; i < ia->datasize; ++i)
37983798- ia->data[i] = i * 1.234;
37993799-38003800- // Check named initializers.
38013801- struct named_init ni = {
38023802- .number = 34,
38033803- .name = L"Test wide string",
38043804- .average = 543.34343,
38053805- };
38063806-38073807- ni.number = 58;
38083808-38093809- int dynamic_array[ni.number];
38103810- dynamic_array[ni.number - 1] = 543;
38113811-38123812- // work around unused variable warnings
38133813- return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
38143814- || dynamic_array[ni.number - 1] != 543);
42814281+(void) ac_decl (0, (char *) 0);
42824282+ (void) ac_decl;
3815428338164284 ;
38174285 return 0;
38184286}
38194287_ACEOF
38203820-for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
38213821-do
38223822- CC="$ac_save_CC $ac_arg"
38233823- if ac_fn_c_try_compile "$LINENO"; then :
38243824- ac_cv_prog_cc_c99=$ac_arg
42884288+if ac_fn_c_try_compile "$LINENO"
42894289+then :
42904290+ if test x"$ac_arg" = x
42914291+then :
42924292+ ac_cv_c_undeclared_builtin_options='none needed'
42934293+else $as_nop
42944294+ ac_cv_c_undeclared_builtin_options=$ac_arg
38254295fi
38263826-rm -f core conftest.err conftest.$ac_objext
38273827- test "x$ac_cv_prog_cc_c99" != "xno" && break
38283828-done
38293829-rm -f conftest.$ac_ext
38303830-CC=$ac_save_CC
38313831-42964296+ break
38324297fi
38333833-# AC_CACHE_VAL
38343834-case "x$ac_cv_prog_cc_c99" in
38353835- x)
38363836- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
38373837-$as_echo "none needed" >&6; } ;;
38383838- xno)
38393839- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
38403840-$as_echo "unsupported" >&6; } ;;
38413841- *)
38423842- CC="$CC $ac_cv_prog_cc_c99"
38433843- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
38443844-$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
38453845-esac
38463846-if test "x$ac_cv_prog_cc_c99" != xno; then :
38473847-42984298+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38484299fi
38493849-38503850-38513851-38523852-ac_ext=c
38533853-ac_cpp='$CPP $CPPFLAGS'
38543854-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38553855-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563856-ac_compiler_gnu=$ac_cv_c_compiler_gnu
38573857-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
38583858-$as_echo_n "checking how to run the C preprocessor... " >&6; }
38593859-# On Suns, sometimes $CPP names a directory.
38603860-if test -n "$CPP" && test -d "$CPP"; then
38613861- CPP=
38623862-fi
38633863-if test -z "$CPP"; then
38643864- if ${ac_cv_prog_CPP+:} false; then :
38653865- $as_echo_n "(cached) " >&6
38663866-else
38673867- # Double quotes because CPP needs to be expanded
38683868- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
38693869- do
38703870- ac_preproc_ok=false
38713871-for ac_c_preproc_warn_flag in '' yes
38723872-do
38733873- # Use a header file that comes with gcc, so configuring glibc
38743874- # with a fresh cross-compiler works.
38753875- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38763876- # <limits.h> exists even on freestanding compilers.
38773877- # On the NeXT, cc -E runs the code through the compiler's parser,
38783878- # not just through cpp. "Syntax error" is here to catch this case.
38793879- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38803880-/* end confdefs.h. */
38813881-#ifdef __STDC__
38823882-# include <limits.h>
38833883-#else
38843884-# include <assert.h>
38853885-#endif
38863886- Syntax error
38873887-_ACEOF
38883888-if ac_fn_c_try_cpp "$LINENO"; then :
38893889-38903890-else
38913891- # Broken: fails on valid input.
38923892-continue
38933893-fi
38943894-rm -f conftest.err conftest.i conftest.$ac_ext
38953895-38963896- # OK, works on sane cases. Now check whether nonexistent headers
38973897- # can be detected and how.
38983898- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38993899-/* end confdefs.h. */
39003900-#include <ac_nonexistent.h>
39013901-_ACEOF
39023902-if ac_fn_c_try_cpp "$LINENO"; then :
39033903- # Broken: success on invalid input.
39043904-continue
39053905-else
39063906- # Passes both tests.
39073907-ac_preproc_ok=:
39083908-break
39093909-fi
39103910-rm -f conftest.err conftest.i conftest.$ac_ext
39113911-39123912-done
39133913-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39143914-rm -f conftest.i conftest.err conftest.$ac_ext
39153915-if $ac_preproc_ok; then :
39163916- break
39173917-fi
39183918-43004300+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39194301 done
39203920- ac_cv_prog_CPP=$CPP
43024302+ CFLAGS=$ac_save_CFLAGS
3921430339224304fi
39233923- CPP=$ac_cv_prog_CPP
39243924-else
39253925- ac_cv_prog_CPP=$CPP
39263926-fi
39273927-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
39283928-$as_echo "$CPP" >&6; }
39293929-ac_preproc_ok=false
39303930-for ac_c_preproc_warn_flag in '' yes
39313931-do
39323932- # Use a header file that comes with gcc, so configuring glibc
39333933- # with a fresh cross-compiler works.
39343934- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39353935- # <limits.h> exists even on freestanding compilers.
39363936- # On the NeXT, cc -E runs the code through the compiler's parser,
39373937- # not just through cpp. "Syntax error" is here to catch this case.
39383938- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39393939-/* end confdefs.h. */
39403940-#ifdef __STDC__
39413941-# include <limits.h>
39423942-#else
39433943-# include <assert.h>
39443944-#endif
39453945- Syntax error
39463946-_ACEOF
39473947-if ac_fn_c_try_cpp "$LINENO"; then :
39483948-39493949-else
39503950- # Broken: fails on valid input.
39513951-continue
39523952-fi
39533953-rm -f conftest.err conftest.i conftest.$ac_ext
39543954-39553955- # OK, works on sane cases. Now check whether nonexistent headers
39563956- # can be detected and how.
39573957- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39583958-/* end confdefs.h. */
39593959-#include <ac_nonexistent.h>
39603960-_ACEOF
39613961-if ac_fn_c_try_cpp "$LINENO"; then :
39623962- # Broken: success on invalid input.
39633963-continue
39643964-else
39653965- # Passes both tests.
39663966-ac_preproc_ok=:
39673967-break
39683968-fi
39693969-rm -f conftest.err conftest.i conftest.$ac_ext
39703970-39713971-done
39723972-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39733973-rm -f conftest.i conftest.err conftest.$ac_ext
39743974-if $ac_preproc_ok; then :
39753975-39763976-else
39773977- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39783978-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
39793979-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
39803980-See \`config.log' for more details" "$LINENO" 5; }
39813981-fi
39823982-39833983-ac_ext=c
39843984-ac_cpp='$CPP $CPPFLAGS'
39853985-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39863986-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873987-ac_compiler_gnu=$ac_cv_c_compiler_gnu
39883988-39893989-39903990-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
39913991-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
39923992-if ${ac_cv_path_GREP+:} false; then :
39933993- $as_echo_n "(cached) " >&6
39943994-else
39953995- if test -z "$GREP"; then
39963996- ac_path_GREP_found=false
39973997- # Loop through the user's path and test for each of PROGNAME-LIST
39983998- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39993999-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
40004000-do
40014001- IFS=$as_save_IFS
40024002- test -z "$as_dir" && as_dir=.
40034003- for ac_prog in grep ggrep; do
40044004- for ac_exec_ext in '' $ac_executable_extensions; do
40054005- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
40064006- as_fn_executable_p "$ac_path_GREP" || continue
40074007-# Check for GNU ac_path_GREP and select it if it is found.
40084008- # Check for GNU $ac_path_GREP
40094009-case `"$ac_path_GREP" --version 2>&1` in
40104010-*GNU*)
40114011- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
40124012-*)
40134013- ac_count=0
40144014- $as_echo_n 0123456789 >"conftest.in"
40154015- while :
40164016- do
40174017- cat "conftest.in" "conftest.in" >"conftest.tmp"
40184018- mv "conftest.tmp" "conftest.in"
40194019- cp "conftest.in" "conftest.nl"
40204020- $as_echo 'GREP' >> "conftest.nl"
40214021- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
40224022- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
40234023- as_fn_arith $ac_count + 1 && ac_count=$as_val
40244024- if test $ac_count -gt ${ac_path_GREP_max-0}; then
40254025- # Best one so far, save it but keep looking for a better one
40264026- ac_cv_path_GREP="$ac_path_GREP"
40274027- ac_path_GREP_max=$ac_count
40284028- fi
40294029- # 10*(2^10) chars as input seems more than enough
40304030- test $ac_count -gt 10 && break
40314031- done
40324032- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43054305+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
43064306+printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
43074307+ case $ac_cv_c_undeclared_builtin_options in #(
43084308+ 'cannot detect') :
43094309+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43104310+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
43114311+as_fn_error $? "cannot make $CC report undeclared builtins
43124312+See \`config.log' for more details" "$LINENO" 5; } ;; #(
43134313+ 'none needed') :
43144314+ ac_c_undeclared_builtin_options='' ;; #(
43154315+ *) :
43164316+ ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
40334317esac
4034431840354035- $ac_path_GREP_found && break 3
40364036- done
40374037- done
40384038- done
40394039-IFS=$as_save_IFS
40404040- if test -z "$ac_cv_path_GREP"; then
40414041- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
40424042- fi
40434043-else
40444044- ac_cv_path_GREP=$GREP
40454045-fi
40464046-40474047-fi
40484048-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
40494049-$as_echo "$ac_cv_path_GREP" >&6; }
40504050- GREP="$ac_cv_path_GREP"
40514051-40524052-40534053-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
40544054-$as_echo_n "checking for egrep... " >&6; }
40554055-if ${ac_cv_path_EGREP+:} false; then :
40564056- $as_echo_n "(cached) " >&6
40574057-else
40584058- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
40594059- then ac_cv_path_EGREP="$GREP -E"
40604060- else
40614061- if test -z "$EGREP"; then
40624062- ac_path_EGREP_found=false
40634063- # Loop through the user's path and test for each of PROGNAME-LIST
40644064- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40654065-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43194319+ac_header= ac_cache=
43204320+for ac_item in $ac_header_c_list
40664321do
40674067- IFS=$as_save_IFS
40684068- test -z "$as_dir" && as_dir=.
40694069- for ac_prog in egrep; do
40704070- for ac_exec_ext in '' $ac_executable_extensions; do
40714071- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
40724072- as_fn_executable_p "$ac_path_EGREP" || continue
40734073-# Check for GNU ac_path_EGREP and select it if it is found.
40744074- # Check for GNU $ac_path_EGREP
40754075-case `"$ac_path_EGREP" --version 2>&1` in
40764076-*GNU*)
40774077- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
40784078-*)
40794079- ac_count=0
40804080- $as_echo_n 0123456789 >"conftest.in"
40814081- while :
40824082- do
40834083- cat "conftest.in" "conftest.in" >"conftest.tmp"
40844084- mv "conftest.tmp" "conftest.in"
40854085- cp "conftest.in" "conftest.nl"
40864086- $as_echo 'EGREP' >> "conftest.nl"
40874087- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
40884088- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
40894089- as_fn_arith $ac_count + 1 && ac_count=$as_val
40904090- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
40914091- # Best one so far, save it but keep looking for a better one
40924092- ac_cv_path_EGREP="$ac_path_EGREP"
40934093- ac_path_EGREP_max=$ac_count
43224322+ if test $ac_cache; then
43234323+ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
43244324+ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
43254325+ printf "%s\n" "#define $ac_item 1" >> confdefs.h
40944326 fi
40954095- # 10*(2^10) chars as input seems more than enough
40964096- test $ac_count -gt 10 && break
40974097- done
40984098- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
40994099-esac
41004100-41014101- $ac_path_EGREP_found && break 3
41024102- done
41034103- done
41044104- done
41054105-IFS=$as_save_IFS
41064106- if test -z "$ac_cv_path_EGREP"; then
41074107- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
43274327+ ac_header= ac_cache=
43284328+ elif test $ac_header; then
43294329+ ac_cache=$ac_item
43304330+ else
43314331+ ac_header=$ac_item
41084332 fi
41094109-else
41104110- ac_cv_path_EGREP=$EGREP
41114111-fi
41124112-41134113- fi
41144114-fi
41154115-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
41164116-$as_echo "$ac_cv_path_EGREP" >&6; }
41174117- EGREP="$ac_cv_path_EGREP"
41184118-41194119-41204120-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
41214121-$as_echo_n "checking for ANSI C header files... " >&6; }
41224122-if ${ac_cv_header_stdc+:} false; then :
41234123- $as_echo_n "(cached) " >&6
41244124-else
41254125- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41264126-/* end confdefs.h. */
41274127-#include <stdlib.h>
41284128-#include <stdarg.h>
41294129-#include <string.h>
41304130-#include <float.h>
41314131-41324132-int
41334133-main ()
41344134-{
41354135-41364136- ;
41374137- return 0;
41384138-}
41394139-_ACEOF
41404140-if ac_fn_c_try_compile "$LINENO"; then :
41414141- ac_cv_header_stdc=yes
41424142-else
41434143- ac_cv_header_stdc=no
41444144-fi
41454145-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334333+done
4146433441474147-if test $ac_cv_header_stdc = yes; then
41484148- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
41494149- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41504150-/* end confdefs.h. */
41514151-#include <string.h>
4152433541534153-_ACEOF
41544154-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
41554155- $EGREP "memchr" >/dev/null 2>&1; then :
4156433641574157-else
41584158- ac_cv_header_stdc=no
41594159-fi
41604160-rm -f conftest*
4161433741624162-fi
4163433841644164-if test $ac_cv_header_stdc = yes; then
41654165- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
41664166- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41674167-/* end confdefs.h. */
41684168-#include <stdlib.h>
4169433941704170-_ACEOF
41714171-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
41724172- $EGREP "free" >/dev/null 2>&1; then :
4173434041744174-else
41754175- ac_cv_header_stdc=no
41764176-fi
41774177-rm -f conftest*
4178434141794179-fi
41804180-41814181-if test $ac_cv_header_stdc = yes; then
41824182- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
41834183- if test "$cross_compiling" = yes; then :
41844184- :
41854185-else
41864186- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41874187-/* end confdefs.h. */
41884188-#include <ctype.h>
41894189-#include <stdlib.h>
41904190-#if ((' ' & 0x0FF) == 0x020)
41914191-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
41924192-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
41934193-#else
41944194-# define ISLOWER(c) \
41954195- (('a' <= (c) && (c) <= 'i') \
41964196- || ('j' <= (c) && (c) <= 'r') \
41974197- || ('s' <= (c) && (c) <= 'z'))
41984198-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
41994199-#endif
42004200-42014201-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
42024202-int
42034203-main ()
42044204-{
42054205- int i;
42064206- for (i = 0; i < 256; i++)
42074207- if (XOR (islower (i), ISLOWER (i))
42084208- || toupper (i) != TOUPPER (i))
42094209- return 2;
42104210- return 0;
42114211-}
42124212-_ACEOF
42134213-if ac_fn_c_try_run "$LINENO"; then :
42144214-42154215-else
42164216- ac_cv_header_stdc=no
42174217-fi
42184218-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42194219- conftest.$ac_objext conftest.beam conftest.$ac_ext
42204220-fi
42214221-42224222-fi
42234223-fi
42244224-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
42254225-$as_echo "$ac_cv_header_stdc" >&6; }
42264226-if test $ac_cv_header_stdc = yes; then
43424342+if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
43434343+then :
4227434442284228-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
42294229-42304230-fi
42314231-42324232-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
42334233-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
42344234- inttypes.h stdint.h unistd.h
42354235-do :
42364236- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
42374237-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
42384238-"
42394239-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
42404240- cat >>confdefs.h <<_ACEOF
42414241-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
42424242-_ACEOF
43454345+printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4243434642444347fi
4245434842464246-done
42474349424843504249435142504250-42514251-42524252-42534253-ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
42544254-if test "x$ac_cv_have_decl___clang__" = xyes; then :
43524352+ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
43534353+if test "x$ac_cv_have_decl___clang__" = xyes
43544354+then :
42554355 CLANGCC="yes"
42564256-else
43564356+else $as_nop
42574357 CLANGCC="no"
42584358fi
42594259-42604260-ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
42614261-if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
43594359+ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
43604360+if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
43614361+then :
42624362 INTELCC="yes"
42634263-else
43634363+else $as_nop
42644364 INTELCC="no"
42654365fi
42664266-42674267-ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
42684268-if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
43664366+ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
43674367+if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
43684368+then :
42694369 SUNCC="yes"
42704270-else
43704370+else $as_nop
42714371 SUNCC="no"
42724372fi
42734273-427443734275437442764375···42834382 if test -n "$ac_tool_prefix"; then
42844383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42854384set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42864286-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
42874287-$as_echo_n "checking for $ac_word... " >&6; }
42884288-if ${ac_cv_path_PKG_CONFIG+:} false; then :
42894289- $as_echo_n "(cached) " >&6
42904290-else
43854385+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43864386+printf %s "checking for $ac_word... " >&6; }
43874387+if test ${ac_cv_path_PKG_CONFIG+y}
43884388+then :
43894389+ printf %s "(cached) " >&6
43904390+else $as_nop
42914391 case $PKG_CONFIG in
42924392 [\\/]* | ?:[\\/]*)
42934393 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
···42974397for as_dir in $PATH
42984398do
42994399 IFS=$as_save_IFS
43004300- test -z "$as_dir" && as_dir=.
44004400+ case $as_dir in #(((
44014401+ '') as_dir=./ ;;
44024402+ */) ;;
44034403+ *) as_dir=$as_dir/ ;;
44044404+ esac
43014405 for ac_exec_ext in '' $ac_executable_extensions; do
43024302- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43034303- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43044304- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44064406+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44074407+ ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
44084408+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43054409 break 2
43064410 fi
43074411done
···43134417fi
43144418PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43154419if test -n "$PKG_CONFIG"; then
43164316- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
43174317-$as_echo "$PKG_CONFIG" >&6; }
44204420+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
44214421+printf "%s\n" "$PKG_CONFIG" >&6; }
43184422else
43194319- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43204320-$as_echo "no" >&6; }
44234423+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44244424+printf "%s\n" "no" >&6; }
43214425fi
4322442643234427···43264430 ac_pt_PKG_CONFIG=$PKG_CONFIG
43274431 # Extract the first word of "pkg-config", so it can be a program name with args.
43284432set dummy pkg-config; ac_word=$2
43294329-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43304330-$as_echo_n "checking for $ac_word... " >&6; }
43314331-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
43324332- $as_echo_n "(cached) " >&6
43334333-else
44334433+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44344434+printf %s "checking for $ac_word... " >&6; }
44354435+if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
44364436+then :
44374437+ printf %s "(cached) " >&6
44384438+else $as_nop
43344439 case $ac_pt_PKG_CONFIG in
43354440 [\\/]* | ?:[\\/]*)
43364441 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
···43404445for as_dir in $PATH
43414446do
43424447 IFS=$as_save_IFS
43434343- test -z "$as_dir" && as_dir=.
44484448+ case $as_dir in #(((
44494449+ '') as_dir=./ ;;
44504450+ */) ;;
44514451+ *) as_dir=$as_dir/ ;;
44524452+ esac
43444453 for ac_exec_ext in '' $ac_executable_extensions; do
43454345- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43464346- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43474347- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
44544454+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44554455+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
44564456+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43484457 break 2
43494458 fi
43504459done
···43564465fi
43574466ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43584467if test -n "$ac_pt_PKG_CONFIG"; then
43594359- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
43604360-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
44684468+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
44694469+printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
43614470else
43624362- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43634363-$as_echo "no" >&6; }
44714471+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44724472+printf "%s\n" "no" >&6; }
43644473fi
4365447443664475 if test "x$ac_pt_PKG_CONFIG" = x; then
···43684477 else
43694478 case $cross_compiling:$ac_tool_warned in
43704479yes:)
43714371-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
43724372-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
44804480+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
44814481+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
43734482ac_tool_warned=yes ;;
43744483esac
43754484 PKG_CONFIG=$ac_pt_PKG_CONFIG
···43814490fi
43824491if test -n "$PKG_CONFIG"; then
43834492 _pkg_min_version=0.9.0
43844384- { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
43854385-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
44934493+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
44944494+printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
43864495 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43874387- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43884388-$as_echo "yes" >&6; }
44964496+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44974497+printf "%s\n" "yes" >&6; }
43894498 else
43904390- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43914391-$as_echo "no" >&6; }
44994499+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45004500+printf "%s\n" "no" >&6; }
43924501 PKG_CONFIG=""
43934502 fi
43944503fi
43954395-# Make sure we can run config.sub.
43964396-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43974397- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
45044504+45054505+45064506+ # Make sure we can run config.sub.
45074507+$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
45084508+ as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4398450943994399-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
44004400-$as_echo_n "checking build system type... " >&6; }
44014401-if ${ac_cv_build+:} false; then :
44024402- $as_echo_n "(cached) " >&6
44034403-else
45104510+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
45114511+printf %s "checking build system type... " >&6; }
45124512+if test ${ac_cv_build+y}
45134513+then :
45144514+ printf %s "(cached) " >&6
45154515+else $as_nop
44044516 ac_build_alias=$build_alias
44054517test "x$ac_build_alias" = x &&
44064406- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
45184518+ ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
44074519test "x$ac_build_alias" = x &&
44084520 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
44094409-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
44104410- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
45214521+ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
45224522+ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4411452344124524fi
44134413-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
44144414-$as_echo "$ac_cv_build" >&6; }
45254525+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
45264526+printf "%s\n" "$ac_cv_build" >&6; }
44154527case $ac_cv_build in
44164528*-*-*) ;;
44174529*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
···44304542case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
443145434432454444334433-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
44344434-$as_echo_n "checking host system type... " >&6; }
44354435-if ${ac_cv_host+:} false; then :
44364436- $as_echo_n "(cached) " >&6
44374437-else
45454545+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
45464546+printf %s "checking host system type... " >&6; }
45474547+if test ${ac_cv_host+y}
45484548+then :
45494549+ printf %s "(cached) " >&6
45504550+else $as_nop
44384551 if test "x$host_alias" = x; then
44394552 ac_cv_host=$ac_cv_build
44404553else
44414441- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
44424442- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
45544554+ ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
45554555+ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
44434556fi
4444455744454558fi
44464446-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
44474447-$as_echo "$ac_cv_host" >&6; }
45594559+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
45604560+printf "%s\n" "$ac_cv_host" >&6; }
44484561case $ac_cv_host in
44494562*-*-*) ;;
44504563*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
···44634576case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
446445774465457844664466-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
44674467-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
44684468-if ${ac_cv_path_SED+:} false; then :
44694469- $as_echo_n "(cached) " >&6
44704470-else
45794579+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
45804580+printf %s "checking for a sed that does not truncate output... " >&6; }
45814581+if test ${ac_cv_path_SED+y}
45824582+then :
45834583+ printf %s "(cached) " >&6
45844584+else $as_nop
44714585 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
44724586 for ac_i in 1 2 3 4 5 6 7; do
44734587 ac_script="$ac_script$as_nl$ac_script"
···44814595for as_dir in $PATH
44824596do
44834597 IFS=$as_save_IFS
44844484- test -z "$as_dir" && as_dir=.
44854485- for ac_prog in sed gsed; do
45984598+ case $as_dir in #(((
45994599+ '') as_dir=./ ;;
46004600+ */) ;;
46014601+ *) as_dir=$as_dir/ ;;
46024602+ esac
46034603+ for ac_prog in sed gsed
46044604+ do
44864605 for ac_exec_ext in '' $ac_executable_extensions; do
44874487- ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
46064606+ ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
44884607 as_fn_executable_p "$ac_path_SED" || continue
44894608# Check for GNU ac_path_SED and select it if it is found.
44904609 # Check for GNU $ac_path_SED
···44934612 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
44944613*)
44954614 ac_count=0
44964496- $as_echo_n 0123456789 >"conftest.in"
46154615+ printf %s 0123456789 >"conftest.in"
44974616 while :
44984617 do
44994618 cat "conftest.in" "conftest.in" >"conftest.tmp"
45004619 mv "conftest.tmp" "conftest.in"
45014620 cp "conftest.in" "conftest.nl"
45024502- $as_echo '' >> "conftest.nl"
46214621+ printf "%s\n" '' >> "conftest.nl"
45034622 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
45044623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
45054624 as_fn_arith $ac_count + 1 && ac_count=$as_val
···45274646fi
4528464745294648fi
45304530-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
45314531-$as_echo "$ac_cv_path_SED" >&6; }
46494649+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
46504650+printf "%s\n" "$ac_cv_path_SED" >&6; }
45324651 SED="$ac_cv_path_SED"
45334652 rm -f conftest.sed
45344653···453846574539465845404659# Check whether --enable-selective-werror was given.
45414541-if test "${enable_selective_werror+set}" = set; then :
46604660+if test ${enable_selective_werror+y}
46614661+then :
45424662 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
45434543-else
46634663+else $as_nop
45444664 SELECTIVE_WERROR=yes
45454665fi
45464666···4573469345744694if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
45754695 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
45764576- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
45774577-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
45784578-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
45794579- $as_echo_n "(cached) " >&6
45804580-else
46964696+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
46974697+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
46984698+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
46994699+then :
47004700+ printf %s "(cached) " >&6
47014701+else $as_nop
45814702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45824703/* end confdefs.h. */
45834704int i;
45844705_ACEOF
45854585-if ac_fn_c_try_compile "$LINENO"; then :
47064706+if ac_fn_c_try_compile "$LINENO"
47074707+then :
45864708 xorg_cv_cc_flag_unknown_warning_option=yes
45874587-else
47094709+else $as_nop
45884710 xorg_cv_cc_flag_unknown_warning_option=no
45894711fi
45904590-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47124712+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
45914713fi
45924592-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
45934593-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
47144714+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
47154715+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
45944716 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
45954717 CFLAGS="$xorg_testset_save_CFLAGS"
45964718fi
···46004722 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
46014723 fi
46024724 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
46034603- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
46044604-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
46054605-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
46064606- $as_echo_n "(cached) " >&6
46074607-else
47254725+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
47264726+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
47274727+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
47284728+then :
47294729+ printf %s "(cached) " >&6
47304730+else $as_nop
46084731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46094732/* end confdefs.h. */
46104733int i;
46114734_ACEOF
46124612-if ac_fn_c_try_compile "$LINENO"; then :
47354735+if ac_fn_c_try_compile "$LINENO"
47364736+then :
46134737 xorg_cv_cc_flag_unused_command_line_argument=yes
46144614-else
47384738+else $as_nop
46154739 xorg_cv_cc_flag_unused_command_line_argument=no
46164740fi
46174617-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47414741+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
46184742fi
46194619-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
46204620-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
47434743+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
47444744+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
46214745 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
46224746 CFLAGS="$xorg_testset_save_CFLAGS"
46234747fi
···4635475946364760 CFLAGS="$CFLAGS -Wall"
4637476146384638- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
46394639-$as_echo_n "checking if $CC supports -Wall... " >&6; }
47624762+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
47634763+printf %s "checking if $CC supports -Wall... " >&6; }
46404764 cacheid=xorg_cv_cc_flag__Wall
46414641- if eval \${$cacheid+:} false; then :
46424642- $as_echo_n "(cached) " >&6
46434643-else
47654765+ if eval test \${$cacheid+y}
47664766+then :
47674767+ printf %s "(cached) " >&6
47684768+else $as_nop
46444769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46454770/* end confdefs.h. */
46464771int i;
46474772int
46484648-main ()
47734773+main (void)
46494774{
4650477546514776 ;
46524777 return 0;
46534778}
46544779_ACEOF
46554655-if ac_fn_c_try_link "$LINENO"; then :
47804780+if ac_fn_c_try_link "$LINENO"
47814781+then :
46564782 eval $cacheid=yes
46574657-else
47834783+else $as_nop
46584784 eval $cacheid=no
46594785fi
46604660-rm -f core conftest.err conftest.$ac_objext \
47864786+rm -f core conftest.err conftest.$ac_objext conftest.beam \
46614787 conftest$ac_exeext conftest.$ac_ext
46624788fi
46634789···46654791 CFLAGS="$xorg_testset_save_CFLAGS"
4666479246674793 eval supported=\$$cacheid
46684668- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
46694669-$as_echo "$supported" >&6; }
47944794+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
47954795+printf "%s\n" "$supported" >&6; }
46704796 if test "$supported" = "yes" ; then
46714797 BASE_CFLAGS="$BASE_CFLAGS -Wall"
46724798 found="yes"
···4691481746924818if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
46934819 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
46944694- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
46954695-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
46964696-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
46974697- $as_echo_n "(cached) " >&6
46984698-else
48204820+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
48214821+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
48224822+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
48234823+then :
48244824+ printf %s "(cached) " >&6
48254825+else $as_nop
46994826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004827/* end confdefs.h. */
47014828int i;
47024829_ACEOF
47034703-if ac_fn_c_try_compile "$LINENO"; then :
48304830+if ac_fn_c_try_compile "$LINENO"
48314831+then :
47044832 xorg_cv_cc_flag_unknown_warning_option=yes
47054705-else
48334833+else $as_nop
47064834 xorg_cv_cc_flag_unknown_warning_option=no
47074835fi
47084708-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364836+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
47094837fi
47104710-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
47114711-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
48384838+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
48394839+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
47124840 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
47134841 CFLAGS="$xorg_testset_save_CFLAGS"
47144842fi
···47184846 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
47194847 fi
47204848 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
47214721- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
47224722-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
47234723-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
47244724- $as_echo_n "(cached) " >&6
47254725-else
48494849+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
48504850+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
48514851+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
48524852+then :
48534853+ printf %s "(cached) " >&6
48544854+else $as_nop
47264855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47274856/* end confdefs.h. */
47284857int i;
47294858_ACEOF
47304730-if ac_fn_c_try_compile "$LINENO"; then :
48594859+if ac_fn_c_try_compile "$LINENO"
48604860+then :
47314861 xorg_cv_cc_flag_unused_command_line_argument=yes
47324732-else
48624862+else $as_nop
47334863 xorg_cv_cc_flag_unused_command_line_argument=no
47344864fi
47354735-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654865+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
47364866fi
47374737-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
47384738-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
48674867+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
48684868+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
47394869 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
47404870 CFLAGS="$xorg_testset_save_CFLAGS"
47414871fi
···4753488347544884 CFLAGS="$CFLAGS -Wpointer-arith"
4755488547564756- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
47574757-$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
48864886+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
48874887+printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
47584888 cacheid=xorg_cv_cc_flag__Wpointer_arith
47594759- if eval \${$cacheid+:} false; then :
47604760- $as_echo_n "(cached) " >&6
47614761-else
48894889+ if eval test \${$cacheid+y}
48904890+then :
48914891+ printf %s "(cached) " >&6
48924892+else $as_nop
47624893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47634894/* end confdefs.h. */
47644895int i;
47654896int
47664766-main ()
48974897+main (void)
47674898{
4768489947694900 ;
47704901 return 0;
47714902}
47724903_ACEOF
47734773-if ac_fn_c_try_link "$LINENO"; then :
49044904+if ac_fn_c_try_link "$LINENO"
49054905+then :
47744906 eval $cacheid=yes
47754775-else
49074907+else $as_nop
47764908 eval $cacheid=no
47774909fi
47784778-rm -f core conftest.err conftest.$ac_objext \
49104910+rm -f core conftest.err conftest.$ac_objext conftest.beam \
47794911 conftest$ac_exeext conftest.$ac_ext
47804912fi
47814913···47834915 CFLAGS="$xorg_testset_save_CFLAGS"
4784491647854917 eval supported=\$$cacheid
47864786- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
47874787-$as_echo "$supported" >&6; }
49184918+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
49194919+printf "%s\n" "$supported" >&6; }
47884920 if test "$supported" = "yes" ; then
47894921 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
47904922 found="yes"
···4809494148104942if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
48114943 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
48124812- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
48134813-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
48144814-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
48154815- $as_echo_n "(cached) " >&6
48164816-else
49444944+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
49454945+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
49464946+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
49474947+then :
49484948+ printf %s "(cached) " >&6
49494949+else $as_nop
48174950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48184951/* end confdefs.h. */
48194952int i;
48204953_ACEOF
48214821-if ac_fn_c_try_compile "$LINENO"; then :
49544954+if ac_fn_c_try_compile "$LINENO"
49554955+then :
48224956 xorg_cv_cc_flag_unknown_warning_option=yes
48234823-else
49574957+else $as_nop
48244958 xorg_cv_cc_flag_unknown_warning_option=no
48254959fi
48264826-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49604960+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
48274961fi
48284828-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
48294829-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
49624962+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
49634963+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
48304964 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
48314965 CFLAGS="$xorg_testset_save_CFLAGS"
48324966fi
···48364970 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
48374971 fi
48384972 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
48394839- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
48404840-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
48414841-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
48424842- $as_echo_n "(cached) " >&6
48434843-else
49734973+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
49744974+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
49754975+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
49764976+then :
49774977+ printf %s "(cached) " >&6
49784978+else $as_nop
48444979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454980/* end confdefs.h. */
48464981int i;
48474982_ACEOF
48484848-if ac_fn_c_try_compile "$LINENO"; then :
49834983+if ac_fn_c_try_compile "$LINENO"
49844984+then :
48494985 xorg_cv_cc_flag_unused_command_line_argument=yes
48504850-else
49864986+else $as_nop
48514987 xorg_cv_cc_flag_unused_command_line_argument=no
48524988fi
48534853-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49894989+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
48544990fi
48554855-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
48564856-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
49914991+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
49924992+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
48574993 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
48584994 CFLAGS="$xorg_testset_save_CFLAGS"
48594995fi
···4871500748725008 CFLAGS="$CFLAGS -Wmissing-declarations"
4873500948744874- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
48754875-$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
50105010+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
50115011+printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
48765012 cacheid=xorg_cv_cc_flag__Wmissing_declarations
48774877- if eval \${$cacheid+:} false; then :
48784878- $as_echo_n "(cached) " >&6
48794879-else
50135013+ if eval test \${$cacheid+y}
50145014+then :
50155015+ printf %s "(cached) " >&6
50165016+else $as_nop
48805017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48815018/* end confdefs.h. */
48825019int i;
48835020int
48844884-main ()
50215021+main (void)
48855022{
4886502348875024 ;
48885025 return 0;
48895026}
48905027_ACEOF
48914891-if ac_fn_c_try_link "$LINENO"; then :
50285028+if ac_fn_c_try_link "$LINENO"
50295029+then :
48925030 eval $cacheid=yes
48934893-else
50315031+else $as_nop
48945032 eval $cacheid=no
48955033fi
48964896-rm -f core conftest.err conftest.$ac_objext \
50345034+rm -f core conftest.err conftest.$ac_objext conftest.beam \
48975035 conftest$ac_exeext conftest.$ac_ext
48985036fi
48995037···49015039 CFLAGS="$xorg_testset_save_CFLAGS"
4902504049035041 eval supported=\$$cacheid
49044904- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
49054905-$as_echo "$supported" >&6; }
50425042+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
50435043+printf "%s\n" "$supported" >&6; }
49065044 if test "$supported" = "yes" ; then
49075045 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
49085046 found="yes"
···4927506549285066if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
49295067 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
49304930- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
49314931-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
49324932-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
49334933- $as_echo_n "(cached) " >&6
49344934-else
50685068+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
50695069+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
50705070+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
50715071+then :
50725072+ printf %s "(cached) " >&6
50735073+else $as_nop
49355074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49365075/* end confdefs.h. */
49375076int i;
49385077_ACEOF
49394939-if ac_fn_c_try_compile "$LINENO"; then :
50785078+if ac_fn_c_try_compile "$LINENO"
50795079+then :
49405080 xorg_cv_cc_flag_unknown_warning_option=yes
49414941-else
50815081+else $as_nop
49425082 xorg_cv_cc_flag_unknown_warning_option=no
49435083fi
49444944-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50845084+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
49455085fi
49464946-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
49474947-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
50865086+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
50875087+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
49485088 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
49495089 CFLAGS="$xorg_testset_save_CFLAGS"
49505090fi
···49545094 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
49555095 fi
49565096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
49574957- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
49584958-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
49594959-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
49604960- $as_echo_n "(cached) " >&6
49614961-else
50975097+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
50985098+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
50995099+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
51005100+then :
51015101+ printf %s "(cached) " >&6
51025102+else $as_nop
49625103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49635104/* end confdefs.h. */
49645105int i;
49655106_ACEOF
49664966-if ac_fn_c_try_compile "$LINENO"; then :
51075107+if ac_fn_c_try_compile "$LINENO"
51085108+then :
49675109 xorg_cv_cc_flag_unused_command_line_argument=yes
49684968-else
51105110+else $as_nop
49695111 xorg_cv_cc_flag_unused_command_line_argument=no
49705112fi
49714971-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51135113+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
49725114fi
49734973-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
49744974-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
51155115+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
51165116+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
49755117 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
49765118 CFLAGS="$xorg_testset_save_CFLAGS"
49775119fi
···4989513149905132 CFLAGS="$CFLAGS -Wformat=2"
4991513349924992- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
49934993-$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
51345134+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
51355135+printf %s "checking if $CC supports -Wformat=2... " >&6; }
49945136 cacheid=xorg_cv_cc_flag__Wformat_2
49954995- if eval \${$cacheid+:} false; then :
49964996- $as_echo_n "(cached) " >&6
49974997-else
51375137+ if eval test \${$cacheid+y}
51385138+then :
51395139+ printf %s "(cached) " >&6
51405140+else $as_nop
49985141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49995142/* end confdefs.h. */
50005143int i;
50015144int
50025002-main ()
51455145+main (void)
50035146{
5004514750055148 ;
50065149 return 0;
50075150}
50085151_ACEOF
50095009-if ac_fn_c_try_link "$LINENO"; then :
51525152+if ac_fn_c_try_link "$LINENO"
51535153+then :
50105154 eval $cacheid=yes
50115011-else
51555155+else $as_nop
50125156 eval $cacheid=no
50135157fi
50145014-rm -f core conftest.err conftest.$ac_objext \
51585158+rm -f core conftest.err conftest.$ac_objext conftest.beam \
50155159 conftest$ac_exeext conftest.$ac_ext
50165160fi
50175161···50195163 CFLAGS="$xorg_testset_save_CFLAGS"
5020516450215165 eval supported=\$$cacheid
50225022- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
50235023-$as_echo "$supported" >&6; }
51665166+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
51675167+printf "%s\n" "$supported" >&6; }
50245168 if test "$supported" = "yes" ; then
50255169 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
50265170 found="yes"
···5038518250395183 CFLAGS="$CFLAGS -Wformat"
5040518450415041- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
50425042-$as_echo_n "checking if $CC supports -Wformat... " >&6; }
51855185+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
51865186+printf %s "checking if $CC supports -Wformat... " >&6; }
50435187 cacheid=xorg_cv_cc_flag__Wformat
50445044- if eval \${$cacheid+:} false; then :
50455045- $as_echo_n "(cached) " >&6
50465046-else
51885188+ if eval test \${$cacheid+y}
51895189+then :
51905190+ printf %s "(cached) " >&6
51915191+else $as_nop
50475192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50485193/* end confdefs.h. */
50495194int i;
50505195int
50515051-main ()
51965196+main (void)
50525197{
5053519850545199 ;
50555200 return 0;
50565201}
50575202_ACEOF
50585058-if ac_fn_c_try_link "$LINENO"; then :
52035203+if ac_fn_c_try_link "$LINENO"
52045204+then :
50595205 eval $cacheid=yes
50605060-else
52065206+else $as_nop
50615207 eval $cacheid=no
50625208fi
50635063-rm -f core conftest.err conftest.$ac_objext \
52095209+rm -f core conftest.err conftest.$ac_objext conftest.beam \
50645210 conftest$ac_exeext conftest.$ac_ext
50655211fi
50665212···50685214 CFLAGS="$xorg_testset_save_CFLAGS"
5069521550705216 eval supported=\$$cacheid
50715071- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
50725072-$as_echo "$supported" >&6; }
52175217+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
52185218+printf "%s\n" "$supported" >&6; }
50735219 if test "$supported" = "yes" ; then
50745220 BASE_CFLAGS="$BASE_CFLAGS -Wformat"
50755221 found="yes"
···5096524250975243if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
50985244 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
50995099- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
51005100-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
51015101-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
51025102- $as_echo_n "(cached) " >&6
51035103-else
52455245+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
52465246+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
52475247+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
52485248+then :
52495249+ printf %s "(cached) " >&6
52505250+else $as_nop
51045251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51055252/* end confdefs.h. */
51065253int i;
51075254_ACEOF
51085108-if ac_fn_c_try_compile "$LINENO"; then :
52555255+if ac_fn_c_try_compile "$LINENO"
52565256+then :
51095257 xorg_cv_cc_flag_unknown_warning_option=yes
51105110-else
52585258+else $as_nop
51115259 xorg_cv_cc_flag_unknown_warning_option=no
51125260fi
51135113-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52615261+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
51145262fi
51155115-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
51165116-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
52635263+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
52645264+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
51175265 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
51185266 CFLAGS="$xorg_testset_save_CFLAGS"
51195267fi
···51235271 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
51245272 fi
51255273 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
51265126- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
51275127-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
51285128-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
51295129- $as_echo_n "(cached) " >&6
51305130-else
52745274+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
52755275+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
52765276+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
52775277+then :
52785278+ printf %s "(cached) " >&6
52795279+else $as_nop
51315280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51325281/* end confdefs.h. */
51335282int i;
51345283_ACEOF
51355135-if ac_fn_c_try_compile "$LINENO"; then :
52845284+if ac_fn_c_try_compile "$LINENO"
52855285+then :
51365286 xorg_cv_cc_flag_unused_command_line_argument=yes
51375137-else
52875287+else $as_nop
51385288 xorg_cv_cc_flag_unused_command_line_argument=no
51395289fi
51405140-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52905290+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
51415291fi
51425142-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
51435143-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
52925292+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
52935293+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
51445294 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
51455295 CFLAGS="$xorg_testset_save_CFLAGS"
51465296fi
···5158530851595309 CFLAGS="$CFLAGS -Wstrict-prototypes"
5160531051615161- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
51625162-$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
53115311+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
53125312+printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
51635313 cacheid=xorg_cv_cc_flag__Wstrict_prototypes
51645164- if eval \${$cacheid+:} false; then :
51655165- $as_echo_n "(cached) " >&6
51665166-else
53145314+ if eval test \${$cacheid+y}
53155315+then :
53165316+ printf %s "(cached) " >&6
53175317+else $as_nop
51675318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51685319/* end confdefs.h. */
51695320int i;
51705321int
51715171-main ()
53225322+main (void)
51725323{
5173532451745325 ;
51755326 return 0;
51765327}
51775328_ACEOF
51785178-if ac_fn_c_try_link "$LINENO"; then :
53295329+if ac_fn_c_try_link "$LINENO"
53305330+then :
51795331 eval $cacheid=yes
51805180-else
53325332+else $as_nop
51815333 eval $cacheid=no
51825334fi
51835183-rm -f core conftest.err conftest.$ac_objext \
53355335+rm -f core conftest.err conftest.$ac_objext conftest.beam \
51845336 conftest$ac_exeext conftest.$ac_ext
51855337fi
51865338···51885340 CFLAGS="$xorg_testset_save_CFLAGS"
5189534151905342 eval supported=\$$cacheid
51915191- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
51925192-$as_echo "$supported" >&6; }
53435343+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
53445344+printf "%s\n" "$supported" >&6; }
51935345 if test "$supported" = "yes" ; then
51945346 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
51955347 found="yes"
···5214536652155367if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
52165368 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
52175217- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
52185218-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
52195219-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
52205220- $as_echo_n "(cached) " >&6
52215221-else
53695369+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
53705370+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
53715371+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
53725372+then :
53735373+ printf %s "(cached) " >&6
53745374+else $as_nop
52225375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52235376/* end confdefs.h. */
52245377int i;
52255378_ACEOF
52265226-if ac_fn_c_try_compile "$LINENO"; then :
53795379+if ac_fn_c_try_compile "$LINENO"
53805380+then :
52275381 xorg_cv_cc_flag_unknown_warning_option=yes
52285228-else
53825382+else $as_nop
52295383 xorg_cv_cc_flag_unknown_warning_option=no
52305384fi
52315231-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53855385+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52325386fi
52335233-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
52345234-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
53875387+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
53885388+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
52355389 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
52365390 CFLAGS="$xorg_testset_save_CFLAGS"
52375391fi
···52415395 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
52425396 fi
52435397 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
52445244- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
52455245-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
52465246-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
52475247- $as_echo_n "(cached) " >&6
52485248-else
53985398+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
53995399+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
54005400+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
54015401+then :
54025402+ printf %s "(cached) " >&6
54035403+else $as_nop
52495404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52505405/* end confdefs.h. */
52515406int i;
52525407_ACEOF
52535253-if ac_fn_c_try_compile "$LINENO"; then :
54085408+if ac_fn_c_try_compile "$LINENO"
54095409+then :
52545410 xorg_cv_cc_flag_unused_command_line_argument=yes
52555255-else
54115411+else $as_nop
52565412 xorg_cv_cc_flag_unused_command_line_argument=no
52575413fi
52585258-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54145414+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52595415fi
52605260-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
52615261-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
54165416+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
54175417+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
52625418 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
52635419 CFLAGS="$xorg_testset_save_CFLAGS"
52645420fi
···5276543252775433 CFLAGS="$CFLAGS -Wmissing-prototypes"
5278543452795279- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
52805280-$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
54355435+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
54365436+printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
52815437 cacheid=xorg_cv_cc_flag__Wmissing_prototypes
52825282- if eval \${$cacheid+:} false; then :
52835283- $as_echo_n "(cached) " >&6
52845284-else
54385438+ if eval test \${$cacheid+y}
54395439+then :
54405440+ printf %s "(cached) " >&6
54415441+else $as_nop
52855442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865443/* end confdefs.h. */
52875444int i;
52885445int
52895289-main ()
54465446+main (void)
52905447{
5291544852925449 ;
52935450 return 0;
52945451}
52955452_ACEOF
52965296-if ac_fn_c_try_link "$LINENO"; then :
54535453+if ac_fn_c_try_link "$LINENO"
54545454+then :
52975455 eval $cacheid=yes
52985298-else
54565456+else $as_nop
52995457 eval $cacheid=no
53005458fi
53015301-rm -f core conftest.err conftest.$ac_objext \
54595459+rm -f core conftest.err conftest.$ac_objext conftest.beam \
53025460 conftest$ac_exeext conftest.$ac_ext
53035461fi
53045462···53065464 CFLAGS="$xorg_testset_save_CFLAGS"
5307546553085466 eval supported=\$$cacheid
53095309- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
53105310-$as_echo "$supported" >&6; }
54675467+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
54685468+printf "%s\n" "$supported" >&6; }
53115469 if test "$supported" = "yes" ; then
53125470 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
53135471 found="yes"
···5332549053335491if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
53345492 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
53355335- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
53365336-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
53375337-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
53385338- $as_echo_n "(cached) " >&6
53395339-else
54935493+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
54945494+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
54955495+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
54965496+then :
54975497+ printf %s "(cached) " >&6
54985498+else $as_nop
53405499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53415500/* end confdefs.h. */
53425501int i;
53435502_ACEOF
53445344-if ac_fn_c_try_compile "$LINENO"; then :
55035503+if ac_fn_c_try_compile "$LINENO"
55045504+then :
53455505 xorg_cv_cc_flag_unknown_warning_option=yes
53465346-else
55065506+else $as_nop
53475507 xorg_cv_cc_flag_unknown_warning_option=no
53485508fi
53495349-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55095509+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
53505510fi
53515351-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
53525352-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
55115511+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
55125512+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
53535513 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
53545514 CFLAGS="$xorg_testset_save_CFLAGS"
53555515fi
···53595519 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
53605520 fi
53615521 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
53625362- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
53635363-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
53645364-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
53655365- $as_echo_n "(cached) " >&6
53665366-else
55225522+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
55235523+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
55245524+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
55255525+then :
55265526+ printf %s "(cached) " >&6
55275527+else $as_nop
53675528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53685529/* end confdefs.h. */
53695530int i;
53705531_ACEOF
53715371-if ac_fn_c_try_compile "$LINENO"; then :
55325532+if ac_fn_c_try_compile "$LINENO"
55335533+then :
53725534 xorg_cv_cc_flag_unused_command_line_argument=yes
53735373-else
55355535+else $as_nop
53745536 xorg_cv_cc_flag_unused_command_line_argument=no
53755537fi
53765376-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55385538+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
53775539fi
53785378-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
53795379-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
55405540+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
55415541+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
53805542 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
53815543 CFLAGS="$xorg_testset_save_CFLAGS"
53825544fi
···5394555653955557 CFLAGS="$CFLAGS -Wnested-externs"
5396555853975397- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
53985398-$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
55595559+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
55605560+printf %s "checking if $CC supports -Wnested-externs... " >&6; }
53995561 cacheid=xorg_cv_cc_flag__Wnested_externs
54005400- if eval \${$cacheid+:} false; then :
54015401- $as_echo_n "(cached) " >&6
54025402-else
55625562+ if eval test \${$cacheid+y}
55635563+then :
55645564+ printf %s "(cached) " >&6
55655565+else $as_nop
54035566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54045567/* end confdefs.h. */
54055568int i;
54065569int
54075407-main ()
55705570+main (void)
54085571{
5409557254105573 ;
54115574 return 0;
54125575}
54135576_ACEOF
54145414-if ac_fn_c_try_link "$LINENO"; then :
55775577+if ac_fn_c_try_link "$LINENO"
55785578+then :
54155579 eval $cacheid=yes
54165416-else
55805580+else $as_nop
54175581 eval $cacheid=no
54185582fi
54195419-rm -f core conftest.err conftest.$ac_objext \
55835583+rm -f core conftest.err conftest.$ac_objext conftest.beam \
54205584 conftest$ac_exeext conftest.$ac_ext
54215585fi
54225586···54245588 CFLAGS="$xorg_testset_save_CFLAGS"
5425558954265590 eval supported=\$$cacheid
54275427- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
54285428-$as_echo "$supported" >&6; }
55915591+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
55925592+printf "%s\n" "$supported" >&6; }
54295593 if test "$supported" = "yes" ; then
54305594 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
54315595 found="yes"
···5450561454515615if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
54525616 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
54535453- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
54545454-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
54555455-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
54565456- $as_echo_n "(cached) " >&6
54575457-else
56175617+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
56185618+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
56195619+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
56205620+then :
56215621+ printf %s "(cached) " >&6
56225622+else $as_nop
54585623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54595624/* end confdefs.h. */
54605625int i;
54615626_ACEOF
54625462-if ac_fn_c_try_compile "$LINENO"; then :
56275627+if ac_fn_c_try_compile "$LINENO"
56285628+then :
54635629 xorg_cv_cc_flag_unknown_warning_option=yes
54645464-else
56305630+else $as_nop
54655631 xorg_cv_cc_flag_unknown_warning_option=no
54665632fi
54675467-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56335633+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
54685634fi
54695469-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
54705470-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
56355635+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
56365636+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
54715637 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
54725638 CFLAGS="$xorg_testset_save_CFLAGS"
54735639fi
···54775643 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
54785644 fi
54795645 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
54805480- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
54815481-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
54825482-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
54835483- $as_echo_n "(cached) " >&6
54845484-else
56465646+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
56475647+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
56485648+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
56495649+then :
56505650+ printf %s "(cached) " >&6
56515651+else $as_nop
54855652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54865653/* end confdefs.h. */
54875654int i;
54885655_ACEOF
54895489-if ac_fn_c_try_compile "$LINENO"; then :
56565656+if ac_fn_c_try_compile "$LINENO"
56575657+then :
54905658 xorg_cv_cc_flag_unused_command_line_argument=yes
54915491-else
56595659+else $as_nop
54925660 xorg_cv_cc_flag_unused_command_line_argument=no
54935661fi
54945494-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56625662+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
54955663fi
54965496-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
54975497-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
56645664+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
56655665+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
54985666 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
54995667 CFLAGS="$xorg_testset_save_CFLAGS"
55005668fi
···5512568055135681 CFLAGS="$CFLAGS -Wbad-function-cast"
5514568255155515- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
55165516-$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
56835683+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
56845684+printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
55175685 cacheid=xorg_cv_cc_flag__Wbad_function_cast
55185518- if eval \${$cacheid+:} false; then :
55195519- $as_echo_n "(cached) " >&6
55205520-else
56865686+ if eval test \${$cacheid+y}
56875687+then :
56885688+ printf %s "(cached) " >&6
56895689+else $as_nop
55215690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55225691/* end confdefs.h. */
55235692int i;
55245693int
55255525-main ()
56945694+main (void)
55265695{
5527569655285697 ;
55295698 return 0;
55305699}
55315700_ACEOF
55325532-if ac_fn_c_try_link "$LINENO"; then :
57015701+if ac_fn_c_try_link "$LINENO"
57025702+then :
55335703 eval $cacheid=yes
55345534-else
57045704+else $as_nop
55355705 eval $cacheid=no
55365706fi
55375537-rm -f core conftest.err conftest.$ac_objext \
57075707+rm -f core conftest.err conftest.$ac_objext conftest.beam \
55385708 conftest$ac_exeext conftest.$ac_ext
55395709fi
55405710···55425712 CFLAGS="$xorg_testset_save_CFLAGS"
5543571355445714 eval supported=\$$cacheid
55455545- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
55465546-$as_echo "$supported" >&6; }
57155715+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
57165716+printf "%s\n" "$supported" >&6; }
55475717 if test "$supported" = "yes" ; then
55485718 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
55495719 found="yes"
···5568573855695739if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
55705740 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
55715571- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
55725572-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
55735573-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
55745574- $as_echo_n "(cached) " >&6
55755575-else
57415741+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
57425742+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
57435743+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
57445744+then :
57455745+ printf %s "(cached) " >&6
57465746+else $as_nop
55765747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55775748/* end confdefs.h. */
55785749int i;
55795750_ACEOF
55805580-if ac_fn_c_try_compile "$LINENO"; then :
57515751+if ac_fn_c_try_compile "$LINENO"
57525752+then :
55815753 xorg_cv_cc_flag_unknown_warning_option=yes
55825582-else
57545754+else $as_nop
55835755 xorg_cv_cc_flag_unknown_warning_option=no
55845756fi
55855585-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57575757+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
55865758fi
55875587-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
55885588-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
57595759+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
57605760+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
55895761 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
55905762 CFLAGS="$xorg_testset_save_CFLAGS"
55915763fi
···55955767 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
55965768 fi
55975769 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
55985598- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
55995599-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
56005600-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
56015601- $as_echo_n "(cached) " >&6
56025602-else
57705770+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
57715771+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
57725772+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
57735773+then :
57745774+ printf %s "(cached) " >&6
57755775+else $as_nop
56035776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56045777/* end confdefs.h. */
56055778int i;
56065779_ACEOF
56075607-if ac_fn_c_try_compile "$LINENO"; then :
57805780+if ac_fn_c_try_compile "$LINENO"
57815781+then :
56085782 xorg_cv_cc_flag_unused_command_line_argument=yes
56095609-else
57835783+else $as_nop
56105784 xorg_cv_cc_flag_unused_command_line_argument=no
56115785fi
56125612-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57865786+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
56135787fi
56145614-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
56155615-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
57885788+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
57895789+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
56165790 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
56175791 CFLAGS="$xorg_testset_save_CFLAGS"
56185792fi
···5630580456315805 CFLAGS="$CFLAGS -Wold-style-definition"
5632580656335633- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
56345634-$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
58075807+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
58085808+printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
56355809 cacheid=xorg_cv_cc_flag__Wold_style_definition
56365636- if eval \${$cacheid+:} false; then :
56375637- $as_echo_n "(cached) " >&6
56385638-else
58105810+ if eval test \${$cacheid+y}
58115811+then :
58125812+ printf %s "(cached) " >&6
58135813+else $as_nop
56395814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405815/* end confdefs.h. */
56415816int i;
56425817int
56435643-main ()
58185818+main (void)
56445819{
5645582056465821 ;
56475822 return 0;
56485823}
56495824_ACEOF
56505650-if ac_fn_c_try_link "$LINENO"; then :
58255825+if ac_fn_c_try_link "$LINENO"
58265826+then :
56515827 eval $cacheid=yes
56525652-else
58285828+else $as_nop
56535829 eval $cacheid=no
56545830fi
56555655-rm -f core conftest.err conftest.$ac_objext \
58315831+rm -f core conftest.err conftest.$ac_objext conftest.beam \
56565832 conftest$ac_exeext conftest.$ac_ext
56575833fi
56585834···56605836 CFLAGS="$xorg_testset_save_CFLAGS"
5661583756625838 eval supported=\$$cacheid
56635663- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
56645664-$as_echo "$supported" >&6; }
58395839+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
58405840+printf "%s\n" "$supported" >&6; }
56655841 if test "$supported" = "yes" ; then
56665842 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
56675843 found="yes"
···5679585556805856 CFLAGS="$CFLAGS -fd"
5681585756825682- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
56835683-$as_echo_n "checking if $CC supports -fd... " >&6; }
58585858+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
58595859+printf %s "checking if $CC supports -fd... " >&6; }
56845860 cacheid=xorg_cv_cc_flag__fd
56855685- if eval \${$cacheid+:} false; then :
56865686- $as_echo_n "(cached) " >&6
56875687-else
58615861+ if eval test \${$cacheid+y}
58625862+then :
58635863+ printf %s "(cached) " >&6
58645864+else $as_nop
56885865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56895866/* end confdefs.h. */
56905867int i;
56915868int
56925692-main ()
58695869+main (void)
56935870{
5694587156955872 ;
56965873 return 0;
56975874}
56985875_ACEOF
56995699-if ac_fn_c_try_link "$LINENO"; then :
58765876+if ac_fn_c_try_link "$LINENO"
58775877+then :
57005878 eval $cacheid=yes
57015701-else
58795879+else $as_nop
57025880 eval $cacheid=no
57035881fi
57045704-rm -f core conftest.err conftest.$ac_objext \
58825882+rm -f core conftest.err conftest.$ac_objext conftest.beam \
57055883 conftest$ac_exeext conftest.$ac_ext
57065884fi
57075885···57095887 CFLAGS="$xorg_testset_save_CFLAGS"
5710588857115889 eval supported=\$$cacheid
57125712- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
57135713-$as_echo "$supported" >&6; }
58905890+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
58915891+printf "%s\n" "$supported" >&6; }
57145892 if test "$supported" = "yes" ; then
57155893 BASE_CFLAGS="$BASE_CFLAGS -fd"
57165894 found="yes"
···5735591357365914if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
57375915 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
57385738- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
57395739-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
57405740-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
57415741- $as_echo_n "(cached) " >&6
57425742-else
59165916+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
59175917+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
59185918+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
59195919+then :
59205920+ printf %s "(cached) " >&6
59215921+else $as_nop
57435922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57445923/* end confdefs.h. */
57455924int i;
57465925_ACEOF
57475747-if ac_fn_c_try_compile "$LINENO"; then :
59265926+if ac_fn_c_try_compile "$LINENO"
59275927+then :
57485928 xorg_cv_cc_flag_unknown_warning_option=yes
57495749-else
59295929+else $as_nop
57505930 xorg_cv_cc_flag_unknown_warning_option=no
57515931fi
57525752-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59325932+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
57535933fi
57545754-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
57555755-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
59345934+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
59355935+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
57565936 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
57575937 CFLAGS="$xorg_testset_save_CFLAGS"
57585938fi
···57625942 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
57635943 fi
57645944 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
57655765- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
57665766-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
57675767-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
57685768- $as_echo_n "(cached) " >&6
57695769-else
59455945+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
59465946+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
59475947+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
59485948+then :
59495949+ printf %s "(cached) " >&6
59505950+else $as_nop
57705951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57715952/* end confdefs.h. */
57725953int i;
57735954_ACEOF
57745774-if ac_fn_c_try_compile "$LINENO"; then :
59555955+if ac_fn_c_try_compile "$LINENO"
59565956+then :
57755957 xorg_cv_cc_flag_unused_command_line_argument=yes
57765776-else
59585958+else $as_nop
57775959 xorg_cv_cc_flag_unused_command_line_argument=no
57785960fi
57795779-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59615961+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
57805962fi
57815781-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
57825782-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
59635963+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
59645964+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
57835965 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
57845966 CFLAGS="$xorg_testset_save_CFLAGS"
57855967fi
···5797597957985980 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5799598158005800- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
58015801-$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
59825982+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
59835983+printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
58025984 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
58035803- if eval \${$cacheid+:} false; then :
58045804- $as_echo_n "(cached) " >&6
58055805-else
59855985+ if eval test \${$cacheid+y}
59865986+then :
59875987+ printf %s "(cached) " >&6
59885988+else $as_nop
58065989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58075990/* end confdefs.h. */
58085991int i;
58095992int
58105810-main ()
59935993+main (void)
58115994{
5812599558135996 ;
58145997 return 0;
58155998}
58165999_ACEOF
58175817-if ac_fn_c_try_link "$LINENO"; then :
60006000+if ac_fn_c_try_link "$LINENO"
60016001+then :
58186002 eval $cacheid=yes
58195819-else
60036003+else $as_nop
58206004 eval $cacheid=no
58216005fi
58225822-rm -f core conftest.err conftest.$ac_objext \
60066006+rm -f core conftest.err conftest.$ac_objext conftest.beam \
58236007 conftest$ac_exeext conftest.$ac_ext
58246008fi
58256009···58276011 CFLAGS="$xorg_testset_save_CFLAGS"
5828601258296013 eval supported=\$$cacheid
58305830- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
58315831-$as_echo "$supported" >&6; }
60146014+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
60156015+printf "%s\n" "$supported" >&6; }
58326016 if test "$supported" = "yes" ; then
58336017 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
58346018 found="yes"
···5857604158586042if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
58596043 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
58605860- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
58615861-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
58625862-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
58635863- $as_echo_n "(cached) " >&6
58645864-else
60446044+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
60456045+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
60466046+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
60476047+then :
60486048+ printf %s "(cached) " >&6
60496049+else $as_nop
58656050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58666051/* end confdefs.h. */
58676052int i;
58686053_ACEOF
58695869-if ac_fn_c_try_compile "$LINENO"; then :
60546054+if ac_fn_c_try_compile "$LINENO"
60556055+then :
58706056 xorg_cv_cc_flag_unknown_warning_option=yes
58715871-else
60576057+else $as_nop
58726058 xorg_cv_cc_flag_unknown_warning_option=no
58736059fi
58745874-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60606060+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
58756061fi
58765876-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
58775877-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
60626062+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
60636063+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
58786064 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
58796065 CFLAGS="$xorg_testset_save_CFLAGS"
58806066fi
···58846070 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
58856071 fi
58866072 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
58875887- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
58885888-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
58895889-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
58905890- $as_echo_n "(cached) " >&6
58915891-else
60736073+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
60746074+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
60756075+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
60766076+then :
60776077+ printf %s "(cached) " >&6
60786078+else $as_nop
58926079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58936080/* end confdefs.h. */
58946081int i;
58956082_ACEOF
58965896-if ac_fn_c_try_compile "$LINENO"; then :
60836083+if ac_fn_c_try_compile "$LINENO"
60846084+then :
58976085 xorg_cv_cc_flag_unused_command_line_argument=yes
58985898-else
60866086+else $as_nop
58996087 xorg_cv_cc_flag_unused_command_line_argument=no
59006088fi
59015901-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60896089+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
59026090fi
59035903-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
59045904-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
60916091+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
60926092+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
59056093 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
59066094 CFLAGS="$xorg_testset_save_CFLAGS"
59076095fi
···5919610759206108 CFLAGS="$CFLAGS -Wunused"
5921610959225922- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
59235923-$as_echo_n "checking if $CC supports -Wunused... " >&6; }
61106110+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
61116111+printf %s "checking if $CC supports -Wunused... " >&6; }
59246112 cacheid=xorg_cv_cc_flag__Wunused
59255925- if eval \${$cacheid+:} false; then :
59265926- $as_echo_n "(cached) " >&6
59275927-else
61136113+ if eval test \${$cacheid+y}
61146114+then :
61156115+ printf %s "(cached) " >&6
61166116+else $as_nop
59286117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59296118/* end confdefs.h. */
59306119int i;
59316120int
59325932-main ()
61216121+main (void)
59336122{
5934612359356124 ;
59366125 return 0;
59376126}
59386127_ACEOF
59395939-if ac_fn_c_try_link "$LINENO"; then :
61286128+if ac_fn_c_try_link "$LINENO"
61296129+then :
59406130 eval $cacheid=yes
59415941-else
61316131+else $as_nop
59426132 eval $cacheid=no
59436133fi
59445944-rm -f core conftest.err conftest.$ac_objext \
61346134+rm -f core conftest.err conftest.$ac_objext conftest.beam \
59456135 conftest$ac_exeext conftest.$ac_ext
59466136fi
59476137···59496139 CFLAGS="$xorg_testset_save_CFLAGS"
5950614059516141 eval supported=\$$cacheid
59525952- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
59535953-$as_echo "$supported" >&6; }
61426142+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
61436143+printf "%s\n" "$supported" >&6; }
59546144 if test "$supported" = "yes" ; then
59556145 BASE_CFLAGS="$BASE_CFLAGS -Wunused"
59566146 found="yes"
···5975616559766166if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
59776167 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
59785978- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
59795979-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
59805980-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
59815981- $as_echo_n "(cached) " >&6
59825982-else
61686168+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
61696169+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
61706170+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
61716171+then :
61726172+ printf %s "(cached) " >&6
61736173+else $as_nop
59836174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59846175/* end confdefs.h. */
59856176int i;
59866177_ACEOF
59875987-if ac_fn_c_try_compile "$LINENO"; then :
61786178+if ac_fn_c_try_compile "$LINENO"
61796179+then :
59886180 xorg_cv_cc_flag_unknown_warning_option=yes
59895989-else
61816181+else $as_nop
59906182 xorg_cv_cc_flag_unknown_warning_option=no
59916183fi
59925992-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61846184+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
59936185fi
59945994-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
59955995-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
61866186+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
61876187+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
59966188 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
59976189 CFLAGS="$xorg_testset_save_CFLAGS"
59986190fi
···60026194 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
60036195 fi
60046196 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
60056005- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
60066006-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
60076007-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
60086008- $as_echo_n "(cached) " >&6
60096009-else
61976197+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
61986198+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
61996199+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
62006200+then :
62016201+ printf %s "(cached) " >&6
62026202+else $as_nop
60106203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60116204/* end confdefs.h. */
60126205int i;
60136206_ACEOF
60146014-if ac_fn_c_try_compile "$LINENO"; then :
62076207+if ac_fn_c_try_compile "$LINENO"
62086208+then :
60156209 xorg_cv_cc_flag_unused_command_line_argument=yes
60166016-else
62106210+else $as_nop
60176211 xorg_cv_cc_flag_unused_command_line_argument=no
60186212fi
60196019-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62136213+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
60206214fi
60216021-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
60226022-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
62156215+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
62166216+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
60236217 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
60246218 CFLAGS="$xorg_testset_save_CFLAGS"
60256219fi
···6037623160386232 CFLAGS="$CFLAGS -Wuninitialized"
6039623360406040- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
60416041-$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
62346234+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
62356235+printf %s "checking if $CC supports -Wuninitialized... " >&6; }
60426236 cacheid=xorg_cv_cc_flag__Wuninitialized
60436043- if eval \${$cacheid+:} false; then :
60446044- $as_echo_n "(cached) " >&6
60456045-else
62376237+ if eval test \${$cacheid+y}
62386238+then :
62396239+ printf %s "(cached) " >&6
62406240+else $as_nop
60466241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60476242/* end confdefs.h. */
60486243int i;
60496244int
60506050-main ()
62456245+main (void)
60516246{
6052624760536248 ;
60546249 return 0;
60556250}
60566251_ACEOF
60576057-if ac_fn_c_try_link "$LINENO"; then :
62526252+if ac_fn_c_try_link "$LINENO"
62536253+then :
60586254 eval $cacheid=yes
60596059-else
62556255+else $as_nop
60606256 eval $cacheid=no
60616257fi
60626062-rm -f core conftest.err conftest.$ac_objext \
62586258+rm -f core conftest.err conftest.$ac_objext conftest.beam \
60636259 conftest$ac_exeext conftest.$ac_ext
60646260fi
60656261···60676263 CFLAGS="$xorg_testset_save_CFLAGS"
6068626460696265 eval supported=\$$cacheid
60706070- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
60716071-$as_echo "$supported" >&6; }
62666266+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
62676267+printf "%s\n" "$supported" >&6; }
60726268 if test "$supported" = "yes" ; then
60736269 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
60746270 found="yes"
···6093628960946290if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
60956291 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
60966096- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
60976097-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
60986098-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
60996099- $as_echo_n "(cached) " >&6
61006100-else
62926292+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
62936293+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
62946294+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
62956295+then :
62966296+ printf %s "(cached) " >&6
62976297+else $as_nop
61016298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61026299/* end confdefs.h. */
61036300int i;
61046301_ACEOF
61056105-if ac_fn_c_try_compile "$LINENO"; then :
63026302+if ac_fn_c_try_compile "$LINENO"
63036303+then :
61066304 xorg_cv_cc_flag_unknown_warning_option=yes
61076107-else
63056305+else $as_nop
61086306 xorg_cv_cc_flag_unknown_warning_option=no
61096307fi
61106110-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63086308+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
61116309fi
61126112-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
61136113-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
63106310+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
63116311+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
61146312 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
61156313 CFLAGS="$xorg_testset_save_CFLAGS"
61166314fi
···61206318 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
61216319 fi
61226320 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
61236123- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
61246124-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
61256125-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
61266126- $as_echo_n "(cached) " >&6
61276127-else
63216321+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
63226322+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
63236323+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
63246324+then :
63256325+ printf %s "(cached) " >&6
63266326+else $as_nop
61286327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61296328/* end confdefs.h. */
61306329int i;
61316330_ACEOF
61326132-if ac_fn_c_try_compile "$LINENO"; then :
63316331+if ac_fn_c_try_compile "$LINENO"
63326332+then :
61336333 xorg_cv_cc_flag_unused_command_line_argument=yes
61346134-else
63346334+else $as_nop
61356335 xorg_cv_cc_flag_unused_command_line_argument=no
61366336fi
61376137-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63376337+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
61386338fi
61396139-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
61406140-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
63396339+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
63406340+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
61416341 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
61426342 CFLAGS="$xorg_testset_save_CFLAGS"
61436343fi
···6155635561566356 CFLAGS="$CFLAGS -Wshadow"
6157635761586158- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
61596159-$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
63586358+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
63596359+printf %s "checking if $CC supports -Wshadow... " >&6; }
61606360 cacheid=xorg_cv_cc_flag__Wshadow
61616161- if eval \${$cacheid+:} false; then :
61626162- $as_echo_n "(cached) " >&6
61636163-else
63616361+ if eval test \${$cacheid+y}
63626362+then :
63636363+ printf %s "(cached) " >&6
63646364+else $as_nop
61646365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61656366/* end confdefs.h. */
61666367int i;
61676368int
61686168-main ()
63696369+main (void)
61696370{
6170637161716372 ;
61726373 return 0;
61736374}
61746375_ACEOF
61756175-if ac_fn_c_try_link "$LINENO"; then :
63766376+if ac_fn_c_try_link "$LINENO"
63776377+then :
61766378 eval $cacheid=yes
61776177-else
63796379+else $as_nop
61786380 eval $cacheid=no
61796381fi
61806180-rm -f core conftest.err conftest.$ac_objext \
63826382+rm -f core conftest.err conftest.$ac_objext conftest.beam \
61816383 conftest$ac_exeext conftest.$ac_ext
61826384fi
61836385···61856387 CFLAGS="$xorg_testset_save_CFLAGS"
6186638861876389 eval supported=\$$cacheid
61886188- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
61896189-$as_echo "$supported" >&6; }
63906390+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
63916391+printf "%s\n" "$supported" >&6; }
61906392 if test "$supported" = "yes" ; then
61916393 BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
61926394 found="yes"
···6211641362126414if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
62136415 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
62146214- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
62156215-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
62166216-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
62176217- $as_echo_n "(cached) " >&6
62186218-else
64166416+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
64176417+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
64186418+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
64196419+then :
64206420+ printf %s "(cached) " >&6
64216421+else $as_nop
62196422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62206423/* end confdefs.h. */
62216424int i;
62226425_ACEOF
62236223-if ac_fn_c_try_compile "$LINENO"; then :
64266426+if ac_fn_c_try_compile "$LINENO"
64276427+then :
62246428 xorg_cv_cc_flag_unknown_warning_option=yes
62256225-else
64296429+else $as_nop
62266430 xorg_cv_cc_flag_unknown_warning_option=no
62276431fi
62286228-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64326432+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
62296433fi
62306230-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
62316231-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
64346434+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
64356435+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
62326436 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
62336437 CFLAGS="$xorg_testset_save_CFLAGS"
62346438fi
···62386442 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
62396443 fi
62406444 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
62416241- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
62426242-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
62436243-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
62446244- $as_echo_n "(cached) " >&6
62456245-else
64456445+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
64466446+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
64476447+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
64486448+then :
64496449+ printf %s "(cached) " >&6
64506450+else $as_nop
62466451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476452/* end confdefs.h. */
62486453int i;
62496454_ACEOF
62506250-if ac_fn_c_try_compile "$LINENO"; then :
64556455+if ac_fn_c_try_compile "$LINENO"
64566456+then :
62516457 xorg_cv_cc_flag_unused_command_line_argument=yes
62526252-else
64586458+else $as_nop
62536459 xorg_cv_cc_flag_unused_command_line_argument=no
62546460fi
62556255-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616461+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
62566462fi
62576257-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
62586258-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
64636463+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
64646464+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
62596465 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
62606466 CFLAGS="$xorg_testset_save_CFLAGS"
62616467fi
···6273647962746480 CFLAGS="$CFLAGS -Wmissing-noreturn"
6275648162766276- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
62776277-$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
64826482+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
64836483+printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
62786484 cacheid=xorg_cv_cc_flag__Wmissing_noreturn
62796279- if eval \${$cacheid+:} false; then :
62806280- $as_echo_n "(cached) " >&6
62816281-else
64856485+ if eval test \${$cacheid+y}
64866486+then :
64876487+ printf %s "(cached) " >&6
64886488+else $as_nop
62826489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836490/* end confdefs.h. */
62846491int i;
62856492int
62866286-main ()
64936493+main (void)
62876494{
6288649562896496 ;
62906497 return 0;
62916498}
62926499_ACEOF
62936293-if ac_fn_c_try_link "$LINENO"; then :
65006500+if ac_fn_c_try_link "$LINENO"
65016501+then :
62946502 eval $cacheid=yes
62956295-else
65036503+else $as_nop
62966504 eval $cacheid=no
62976505fi
62986298-rm -f core conftest.err conftest.$ac_objext \
65066506+rm -f core conftest.err conftest.$ac_objext conftest.beam \
62996507 conftest$ac_exeext conftest.$ac_ext
63006508fi
63016509···63036511 CFLAGS="$xorg_testset_save_CFLAGS"
6304651263056513 eval supported=\$$cacheid
63066306- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
63076307-$as_echo "$supported" >&6; }
65146514+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
65156515+printf "%s\n" "$supported" >&6; }
63086516 if test "$supported" = "yes" ; then
63096517 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
63106518 found="yes"
···6329653763306538if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
63316539 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
63326332- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
63336333-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
63346334-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
63356335- $as_echo_n "(cached) " >&6
63366336-else
65406540+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
65416541+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
65426542+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
65436543+then :
65446544+ printf %s "(cached) " >&6
65456545+else $as_nop
63376546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63386547/* end confdefs.h. */
63396548int i;
63406549_ACEOF
63416341-if ac_fn_c_try_compile "$LINENO"; then :
65506550+if ac_fn_c_try_compile "$LINENO"
65516551+then :
63426552 xorg_cv_cc_flag_unknown_warning_option=yes
63436343-else
65536553+else $as_nop
63446554 xorg_cv_cc_flag_unknown_warning_option=no
63456555fi
63466346-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65566556+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
63476557fi
63486348-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
63496349-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
65586558+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
65596559+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
63506560 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
63516561 CFLAGS="$xorg_testset_save_CFLAGS"
63526562fi
···63566566 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
63576567 fi
63586568 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
63596359- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
63606360-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
63616361-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
63626362- $as_echo_n "(cached) " >&6
63636363-else
65696569+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
65706570+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
65716571+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
65726572+then :
65736573+ printf %s "(cached) " >&6
65746574+else $as_nop
63646575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63656576/* end confdefs.h. */
63666577int i;
63676578_ACEOF
63686368-if ac_fn_c_try_compile "$LINENO"; then :
65796579+if ac_fn_c_try_compile "$LINENO"
65806580+then :
63696581 xorg_cv_cc_flag_unused_command_line_argument=yes
63706370-else
65826582+else $as_nop
63716583 xorg_cv_cc_flag_unused_command_line_argument=no
63726584fi
63736373-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65856585+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
63746586fi
63756375-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
63766376-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
65876587+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
65886588+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
63776589 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
63786590 CFLAGS="$xorg_testset_save_CFLAGS"
63796591fi
···6391660363926604 CFLAGS="$CFLAGS -Wmissing-format-attribute"
6393660563946394- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
63956395-$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
66066606+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
66076607+printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
63966608 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
63976397- if eval \${$cacheid+:} false; then :
63986398- $as_echo_n "(cached) " >&6
63996399-else
66096609+ if eval test \${$cacheid+y}
66106610+then :
66116611+ printf %s "(cached) " >&6
66126612+else $as_nop
64006613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64016614/* end confdefs.h. */
64026615int i;
64036616int
64046404-main ()
66176617+main (void)
64056618{
6406661964076620 ;
64086621 return 0;
64096622}
64106623_ACEOF
64116411-if ac_fn_c_try_link "$LINENO"; then :
66246624+if ac_fn_c_try_link "$LINENO"
66256625+then :
64126626 eval $cacheid=yes
64136413-else
66276627+else $as_nop
64146628 eval $cacheid=no
64156629fi
64166416-rm -f core conftest.err conftest.$ac_objext \
66306630+rm -f core conftest.err conftest.$ac_objext conftest.beam \
64176631 conftest$ac_exeext conftest.$ac_ext
64186632fi
64196633···64216635 CFLAGS="$xorg_testset_save_CFLAGS"
6422663664236637 eval supported=\$$cacheid
64246424- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
64256425-$as_echo "$supported" >&6; }
66386638+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
66396639+printf "%s\n" "$supported" >&6; }
64266640 if test "$supported" = "yes" ; then
64276641 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
64286642 found="yes"
···6448666264496663if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
64506664 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64516451- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
64526452-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
64536453-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
64546454- $as_echo_n "(cached) " >&6
64556455-else
66656665+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
66666666+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
66676667+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
66686668+then :
66696669+ printf %s "(cached) " >&6
66706670+else $as_nop
64566671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64576672/* end confdefs.h. */
64586673int i;
64596674_ACEOF
64606460-if ac_fn_c_try_compile "$LINENO"; then :
66756675+if ac_fn_c_try_compile "$LINENO"
66766676+then :
64616677 xorg_cv_cc_flag_unknown_warning_option=yes
64626462-else
66786678+else $as_nop
64636679 xorg_cv_cc_flag_unknown_warning_option=no
64646680fi
64656465-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66816681+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
64666682fi
64676467-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
64686468-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
66836683+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
66846684+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
64696685 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
64706686 CFLAGS="$xorg_testset_save_CFLAGS"
64716687fi
···64756691 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64766692 fi
64776693 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
64786478- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
64796479-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
64806480-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
64816481- $as_echo_n "(cached) " >&6
64826482-else
66946694+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
66956695+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
66966696+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
66976697+then :
66986698+ printf %s "(cached) " >&6
66996699+else $as_nop
64836700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64846701/* end confdefs.h. */
64856702int i;
64866703_ACEOF
64876487-if ac_fn_c_try_compile "$LINENO"; then :
67046704+if ac_fn_c_try_compile "$LINENO"
67056705+then :
64886706 xorg_cv_cc_flag_unused_command_line_argument=yes
64896489-else
67076707+else $as_nop
64906708 xorg_cv_cc_flag_unused_command_line_argument=no
64916709fi
64926492-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67106710+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
64936711fi
64946494-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
64956495-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
67126712+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
67136713+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
64966714 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
64976715 CFLAGS="$xorg_testset_save_CFLAGS"
64986716fi
···6510672865116729 CFLAGS="$CFLAGS -Wlogical-op"
6512673065136513- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
65146514-$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
67316731+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
67326732+printf %s "checking if $CC supports -Wlogical-op... " >&6; }
65156733 cacheid=xorg_cv_cc_flag__Wlogical_op
65166516- if eval \${$cacheid+:} false; then :
65176517- $as_echo_n "(cached) " >&6
65186518-else
67346734+ if eval test \${$cacheid+y}
67356735+then :
67366736+ printf %s "(cached) " >&6
67376737+else $as_nop
65196738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65206739/* end confdefs.h. */
65216740int i;
65226741int
65236523-main ()
67426742+main (void)
65246743{
6525674465266745 ;
65276746 return 0;
65286747}
65296748_ACEOF
65306530-if ac_fn_c_try_link "$LINENO"; then :
67496749+if ac_fn_c_try_link "$LINENO"
67506750+then :
65316751 eval $cacheid=yes
65326532-else
67526752+else $as_nop
65336753 eval $cacheid=no
65346754fi
65356535-rm -f core conftest.err conftest.$ac_objext \
67556755+rm -f core conftest.err conftest.$ac_objext conftest.beam \
65366756 conftest$ac_exeext conftest.$ac_ext
65376757fi
65386758···65406760 CFLAGS="$xorg_testset_save_CFLAGS"
6541676165426762 eval supported=\$$cacheid
65436543- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
65446544-$as_echo "$supported" >&6; }
67636763+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
67646764+printf "%s\n" "$supported" >&6; }
65456765 if test "$supported" = "yes" ; then
65466766 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
65476767 found="yes"
···65576777# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
65586778# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
6559677965606560-# Turn some warnings into errors, so we don't accidently get successful builds
67806780+# Turn some warnings into errors, so we don't accidentally get successful builds
65616781# when there are problems that should be fixed.
6562678265636783if test "x$SELECTIVE_WERROR" = "xyes" ; then
···6578679865796799if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
65806800 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
65816581- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
65826582-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
65836583-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
65846584- $as_echo_n "(cached) " >&6
65856585-else
68016801+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
68026802+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
68036803+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
68046804+then :
68056805+ printf %s "(cached) " >&6
68066806+else $as_nop
65866807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65876808/* end confdefs.h. */
65886809int i;
65896810_ACEOF
65906590-if ac_fn_c_try_compile "$LINENO"; then :
68116811+if ac_fn_c_try_compile "$LINENO"
68126812+then :
65916813 xorg_cv_cc_flag_unknown_warning_option=yes
65926592-else
68146814+else $as_nop
65936815 xorg_cv_cc_flag_unknown_warning_option=no
65946816fi
65956595-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68176817+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
65966818fi
65976597-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
65986598-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
68196819+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
68206820+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
65996821 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
66006822 CFLAGS="$xorg_testset_save_CFLAGS"
66016823fi
···66056827 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
66066828 fi
66076829 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
66086608- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
66096609-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
66106610-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
66116611- $as_echo_n "(cached) " >&6
66126612-else
68306830+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
68316831+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
68326832+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
68336833+then :
68346834+ printf %s "(cached) " >&6
68356835+else $as_nop
66136836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66146837/* end confdefs.h. */
66156838int i;
66166839_ACEOF
66176617-if ac_fn_c_try_compile "$LINENO"; then :
68406840+if ac_fn_c_try_compile "$LINENO"
68416841+then :
66186842 xorg_cv_cc_flag_unused_command_line_argument=yes
66196619-else
68436843+else $as_nop
66206844 xorg_cv_cc_flag_unused_command_line_argument=no
66216845fi
66226622-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68466846+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
66236847fi
66246624-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
66256625-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
68486848+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
68496849+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
66266850 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
66276851 CFLAGS="$xorg_testset_save_CFLAGS"
66286852fi
···6640686466416865 CFLAGS="$CFLAGS -Werror=implicit"
6642686666436643- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
66446644-$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
68676867+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
68686868+printf %s "checking if $CC supports -Werror=implicit... " >&6; }
66456869 cacheid=xorg_cv_cc_flag__Werror_implicit
66466646- if eval \${$cacheid+:} false; then :
66476647- $as_echo_n "(cached) " >&6
66486648-else
68706870+ if eval test \${$cacheid+y}
68716871+then :
68726872+ printf %s "(cached) " >&6
68736873+else $as_nop
66496874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66506875/* end confdefs.h. */
66516876int i;
66526877int
66536653-main ()
68786878+main (void)
66546879{
6655688066566881 ;
66576882 return 0;
66586883}
66596884_ACEOF
66606660-if ac_fn_c_try_link "$LINENO"; then :
68856885+if ac_fn_c_try_link "$LINENO"
68866886+then :
66616887 eval $cacheid=yes
66626662-else
68886888+else $as_nop
66636889 eval $cacheid=no
66646890fi
66656665-rm -f core conftest.err conftest.$ac_objext \
68916891+rm -f core conftest.err conftest.$ac_objext conftest.beam \
66666892 conftest$ac_exeext conftest.$ac_ext
66676893fi
66686894···66706896 CFLAGS="$xorg_testset_save_CFLAGS"
6671689766726898 eval supported=\$$cacheid
66736673- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
66746674-$as_echo "$supported" >&6; }
68996899+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
69006900+printf "%s\n" "$supported" >&6; }
66756901 if test "$supported" = "yes" ; then
66766902 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
66776903 found="yes"
···6689691566906916 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6691691766926692- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
66936693-$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
69186918+ { 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
69196919+printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
66946920 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
66956695- if eval \${$cacheid+:} false; then :
66966696- $as_echo_n "(cached) " >&6
66976697-else
69216921+ if eval test \${$cacheid+y}
69226922+then :
69236923+ printf %s "(cached) " >&6
69246924+else $as_nop
66986925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66996926/* end confdefs.h. */
67006927int i;
67016928int
67026702-main ()
69296929+main (void)
67036930{
6704693167056932 ;
67066933 return 0;
67076934}
67086935_ACEOF
67096709-if ac_fn_c_try_link "$LINENO"; then :
69366936+if ac_fn_c_try_link "$LINENO"
69376937+then :
67106938 eval $cacheid=yes
67116711-else
69396939+else $as_nop
67126940 eval $cacheid=no
67136941fi
67146714-rm -f core conftest.err conftest.$ac_objext \
69426942+rm -f core conftest.err conftest.$ac_objext conftest.beam \
67156943 conftest$ac_exeext conftest.$ac_ext
67166944fi
67176945···67196947 CFLAGS="$xorg_testset_save_CFLAGS"
6720694867216949 eval supported=\$$cacheid
67226722- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
67236723-$as_echo "$supported" >&6; }
69506950+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
69516951+printf "%s\n" "$supported" >&6; }
67246952 if test "$supported" = "yes" ; then
67256953 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
67266954 found="yes"
···6745697367466974if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
67476975 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
67486748- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
67496749-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
67506750-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
67516751- $as_echo_n "(cached) " >&6
67526752-else
69766976+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
69776977+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
69786978+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
69796979+then :
69806980+ printf %s "(cached) " >&6
69816981+else $as_nop
67536982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67546983/* end confdefs.h. */
67556984int i;
67566985_ACEOF
67576757-if ac_fn_c_try_compile "$LINENO"; then :
69866986+if ac_fn_c_try_compile "$LINENO"
69876987+then :
67586988 xorg_cv_cc_flag_unknown_warning_option=yes
67596759-else
69896989+else $as_nop
67606990 xorg_cv_cc_flag_unknown_warning_option=no
67616991fi
67626762-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69926992+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
67636993fi
67646764-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
67656765-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
69946994+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
69956995+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
67666996 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
67676997 CFLAGS="$xorg_testset_save_CFLAGS"
67686998fi
···67727002 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
67737003 fi
67747004 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
67756775- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
67766776-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
67776777-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
67786778- $as_echo_n "(cached) " >&6
67796779-else
70057005+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
70067006+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
70077007+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
70087008+then :
70097009+ printf %s "(cached) " >&6
70107010+else $as_nop
67807011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67817012/* end confdefs.h. */
67827013int i;
67837014_ACEOF
67846784-if ac_fn_c_try_compile "$LINENO"; then :
70157015+if ac_fn_c_try_compile "$LINENO"
70167016+then :
67857017 xorg_cv_cc_flag_unused_command_line_argument=yes
67866786-else
70187018+else $as_nop
67877019 xorg_cv_cc_flag_unused_command_line_argument=no
67887020fi
67896789-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70217021+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
67907022fi
67916791-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
67926792-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
70237023+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
70247024+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
67937025 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
67947026 CFLAGS="$xorg_testset_save_CFLAGS"
67957027fi
···6807703968087040 CFLAGS="$CFLAGS -Werror=nonnull"
6809704168106810- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
68116811-$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
70427042+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
70437043+printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
68127044 cacheid=xorg_cv_cc_flag__Werror_nonnull
68136813- if eval \${$cacheid+:} false; then :
68146814- $as_echo_n "(cached) " >&6
68156815-else
70457045+ if eval test \${$cacheid+y}
70467046+then :
70477047+ printf %s "(cached) " >&6
70487048+else $as_nop
68167049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68177050/* end confdefs.h. */
68187051int i;
68197052int
68206820-main ()
70537053+main (void)
68217054{
6822705568237056 ;
68247057 return 0;
68257058}
68267059_ACEOF
68276827-if ac_fn_c_try_link "$LINENO"; then :
70607060+if ac_fn_c_try_link "$LINENO"
70617061+then :
68287062 eval $cacheid=yes
68296829-else
70637063+else $as_nop
68307064 eval $cacheid=no
68317065fi
68326832-rm -f core conftest.err conftest.$ac_objext \
70667066+rm -f core conftest.err conftest.$ac_objext conftest.beam \
68337067 conftest$ac_exeext conftest.$ac_ext
68347068fi
68357069···68377071 CFLAGS="$xorg_testset_save_CFLAGS"
6838707268397073 eval supported=\$$cacheid
68406840- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
68416841-$as_echo "$supported" >&6; }
70747074+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
70757075+printf "%s\n" "$supported" >&6; }
68427076 if test "$supported" = "yes" ; then
68437077 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
68447078 found="yes"
···6863709768647098if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
68657099 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
68666866- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
68676867-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
68686868-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
68696869- $as_echo_n "(cached) " >&6
68706870-else
71007100+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
71017101+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
71027102+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
71037103+then :
71047104+ printf %s "(cached) " >&6
71057105+else $as_nop
68717106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727107/* end confdefs.h. */
68737108int i;
68747109_ACEOF
68756875-if ac_fn_c_try_compile "$LINENO"; then :
71107110+if ac_fn_c_try_compile "$LINENO"
71117111+then :
68767112 xorg_cv_cc_flag_unknown_warning_option=yes
68776877-else
71137113+else $as_nop
68787114 xorg_cv_cc_flag_unknown_warning_option=no
68797115fi
68806880-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71167116+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
68817117fi
68826882-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
68836883-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
71187118+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
71197119+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
68847120 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
68857121 CFLAGS="$xorg_testset_save_CFLAGS"
68867122fi
···68907126 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
68917127 fi
68927128 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
68936893- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
68946894-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
68956895-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
68966896- $as_echo_n "(cached) " >&6
68976897-else
71297129+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
71307130+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
71317131+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
71327132+then :
71337133+ printf %s "(cached) " >&6
71347134+else $as_nop
68987135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68997136/* end confdefs.h. */
69007137int i;
69017138_ACEOF
69026902-if ac_fn_c_try_compile "$LINENO"; then :
71397139+if ac_fn_c_try_compile "$LINENO"
71407140+then :
69037141 xorg_cv_cc_flag_unused_command_line_argument=yes
69046904-else
71427142+else $as_nop
69057143 xorg_cv_cc_flag_unused_command_line_argument=no
69067144fi
69076907-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71457145+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
69087146fi
69096909-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
69106910-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
71477147+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
71487148+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
69117149 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
69127150 CFLAGS="$xorg_testset_save_CFLAGS"
69137151fi
···6925716369267164 CFLAGS="$CFLAGS -Werror=init-self"
6927716569286928- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
69296929-$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
71667166+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
71677167+printf %s "checking if $CC supports -Werror=init-self... " >&6; }
69307168 cacheid=xorg_cv_cc_flag__Werror_init_self
69316931- if eval \${$cacheid+:} false; then :
69326932- $as_echo_n "(cached) " >&6
69336933-else
71697169+ if eval test \${$cacheid+y}
71707170+then :
71717171+ printf %s "(cached) " >&6
71727172+else $as_nop
69347173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69357174/* end confdefs.h. */
69367175int i;
69377176int
69386938-main ()
71777177+main (void)
69397178{
6940717969417180 ;
69427181 return 0;
69437182}
69447183_ACEOF
69456945-if ac_fn_c_try_link "$LINENO"; then :
71847184+if ac_fn_c_try_link "$LINENO"
71857185+then :
69467186 eval $cacheid=yes
69476947-else
71877187+else $as_nop
69487188 eval $cacheid=no
69497189fi
69506950-rm -f core conftest.err conftest.$ac_objext \
71907190+rm -f core conftest.err conftest.$ac_objext conftest.beam \
69517191 conftest$ac_exeext conftest.$ac_ext
69527192fi
69537193···69557195 CFLAGS="$xorg_testset_save_CFLAGS"
6956719669577197 eval supported=\$$cacheid
69586958- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
69596959-$as_echo "$supported" >&6; }
71987198+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
71997199+printf "%s\n" "$supported" >&6; }
69607200 if test "$supported" = "yes" ; then
69617201 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
69627202 found="yes"
···6981722169827222if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
69837223 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
69846984- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
69856985-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
69866986-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
69876987- $as_echo_n "(cached) " >&6
69886988-else
72247224+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
72257225+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
72267226+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
72277227+then :
72287228+ printf %s "(cached) " >&6
72297229+else $as_nop
69897230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69907231/* end confdefs.h. */
69917232int i;
69927233_ACEOF
69936993-if ac_fn_c_try_compile "$LINENO"; then :
72347234+if ac_fn_c_try_compile "$LINENO"
72357235+then :
69947236 xorg_cv_cc_flag_unknown_warning_option=yes
69956995-else
72377237+else $as_nop
69967238 xorg_cv_cc_flag_unknown_warning_option=no
69977239fi
69986998-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72407240+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
69997241fi
70007000-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
70017001-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
72427242+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
72437243+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
70027244 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
70037245 CFLAGS="$xorg_testset_save_CFLAGS"
70047246fi
···70087250 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
70097251 fi
70107252 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
70117011- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
70127012-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
70137013-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
70147014- $as_echo_n "(cached) " >&6
70157015-else
72537253+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
72547254+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
72557255+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
72567256+then :
72577257+ printf %s "(cached) " >&6
72587258+else $as_nop
70167259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70177260/* end confdefs.h. */
70187261int i;
70197262_ACEOF
70207020-if ac_fn_c_try_compile "$LINENO"; then :
72637263+if ac_fn_c_try_compile "$LINENO"
72647264+then :
70217265 xorg_cv_cc_flag_unused_command_line_argument=yes
70227022-else
72667266+else $as_nop
70237267 xorg_cv_cc_flag_unused_command_line_argument=no
70247268fi
70257025-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72697269+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
70267270fi
70277027-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
70287028-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
72717271+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
72727272+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
70297273 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
70307274 CFLAGS="$xorg_testset_save_CFLAGS"
70317275fi
···7043728770447288 CFLAGS="$CFLAGS -Werror=main"
7045728970467046- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
70477047-$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
72907290+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
72917291+printf %s "checking if $CC supports -Werror=main... " >&6; }
70487292 cacheid=xorg_cv_cc_flag__Werror_main
70497049- if eval \${$cacheid+:} false; then :
70507050- $as_echo_n "(cached) " >&6
70517051-else
72937293+ if eval test \${$cacheid+y}
72947294+then :
72957295+ printf %s "(cached) " >&6
72967296+else $as_nop
70527297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70537298/* end confdefs.h. */
70547299int i;
70557300int
70567056-main ()
73017301+main (void)
70577302{
7058730370597304 ;
70607305 return 0;
70617306}
70627307_ACEOF
70637063-if ac_fn_c_try_link "$LINENO"; then :
73087308+if ac_fn_c_try_link "$LINENO"
73097309+then :
70647310 eval $cacheid=yes
70657065-else
73117311+else $as_nop
70667312 eval $cacheid=no
70677313fi
70687068-rm -f core conftest.err conftest.$ac_objext \
73147314+rm -f core conftest.err conftest.$ac_objext conftest.beam \
70697315 conftest$ac_exeext conftest.$ac_ext
70707316fi
70717317···70737319 CFLAGS="$xorg_testset_save_CFLAGS"
7074732070757321 eval supported=\$$cacheid
70767076- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
70777077-$as_echo "$supported" >&6; }
73227322+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
73237323+printf "%s\n" "$supported" >&6; }
70787324 if test "$supported" = "yes" ; then
70797325 BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
70807326 found="yes"
···7099734571007346if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
71017347 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
71027102- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
71037103-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
71047104-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
71057105- $as_echo_n "(cached) " >&6
71067106-else
73487348+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
73497349+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
73507350+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
73517351+then :
73527352+ printf %s "(cached) " >&6
73537353+else $as_nop
71077354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71087355/* end confdefs.h. */
71097356int i;
71107357_ACEOF
71117111-if ac_fn_c_try_compile "$LINENO"; then :
73587358+if ac_fn_c_try_compile "$LINENO"
73597359+then :
71127360 xorg_cv_cc_flag_unknown_warning_option=yes
71137113-else
73617361+else $as_nop
71147362 xorg_cv_cc_flag_unknown_warning_option=no
71157363fi
71167116-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73647364+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
71177365fi
71187118-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
71197119-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
73667366+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
73677367+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
71207368 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
71217369 CFLAGS="$xorg_testset_save_CFLAGS"
71227370fi
···71267374 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
71277375 fi
71287376 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
71297129- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
71307130-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
71317131-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
71327132- $as_echo_n "(cached) " >&6
71337133-else
73777377+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
73787378+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
73797379+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
73807380+then :
73817381+ printf %s "(cached) " >&6
73827382+else $as_nop
71347383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71357384/* end confdefs.h. */
71367385int i;
71377386_ACEOF
71387138-if ac_fn_c_try_compile "$LINENO"; then :
73877387+if ac_fn_c_try_compile "$LINENO"
73887388+then :
71397389 xorg_cv_cc_flag_unused_command_line_argument=yes
71407140-else
73907390+else $as_nop
71417391 xorg_cv_cc_flag_unused_command_line_argument=no
71427392fi
71437143-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73937393+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
71447394fi
71457145-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
71467146-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
73957395+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
73967396+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
71477397 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
71487398 CFLAGS="$xorg_testset_save_CFLAGS"
71497399fi
···7161741171627412 CFLAGS="$CFLAGS -Werror=missing-braces"
7163741371647164- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
71657165-$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
74147414+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
74157415+printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
71667416 cacheid=xorg_cv_cc_flag__Werror_missing_braces
71677167- if eval \${$cacheid+:} false; then :
71687168- $as_echo_n "(cached) " >&6
71697169-else
74177417+ if eval test \${$cacheid+y}
74187418+then :
74197419+ printf %s "(cached) " >&6
74207420+else $as_nop
71707421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71717422/* end confdefs.h. */
71727423int i;
71737424int
71747174-main ()
74257425+main (void)
71757426{
7176742771777428 ;
71787429 return 0;
71797430}
71807431_ACEOF
71817181-if ac_fn_c_try_link "$LINENO"; then :
74327432+if ac_fn_c_try_link "$LINENO"
74337433+then :
71827434 eval $cacheid=yes
71837183-else
74357435+else $as_nop
71847436 eval $cacheid=no
71857437fi
71867186-rm -f core conftest.err conftest.$ac_objext \
74387438+rm -f core conftest.err conftest.$ac_objext conftest.beam \
71877439 conftest$ac_exeext conftest.$ac_ext
71887440fi
71897441···71917443 CFLAGS="$xorg_testset_save_CFLAGS"
7192744471937445 eval supported=\$$cacheid
71947194- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
71957195-$as_echo "$supported" >&6; }
74467446+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
74477447+printf "%s\n" "$supported" >&6; }
71967448 if test "$supported" = "yes" ; then
71977449 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
71987450 found="yes"
···7217746972187470if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
72197471 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
72207220- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
72217221-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
72227222-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
72237223- $as_echo_n "(cached) " >&6
72247224-else
74727472+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
74737473+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
74747474+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
74757475+then :
74767476+ printf %s "(cached) " >&6
74777477+else $as_nop
72257478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72267479/* end confdefs.h. */
72277480int i;
72287481_ACEOF
72297229-if ac_fn_c_try_compile "$LINENO"; then :
74827482+if ac_fn_c_try_compile "$LINENO"
74837483+then :
72307484 xorg_cv_cc_flag_unknown_warning_option=yes
72317231-else
74857485+else $as_nop
72327486 xorg_cv_cc_flag_unknown_warning_option=no
72337487fi
72347234-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74887488+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
72357489fi
72367236-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
72377237-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
74907490+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
74917491+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
72387492 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
72397493 CFLAGS="$xorg_testset_save_CFLAGS"
72407494fi
···72447498 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
72457499 fi
72467500 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
72477247- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
72487248-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
72497249-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
72507250- $as_echo_n "(cached) " >&6
72517251-else
75017501+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
75027502+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
75037503+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
75047504+then :
75057505+ printf %s "(cached) " >&6
75067506+else $as_nop
72527507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72537508/* end confdefs.h. */
72547509int i;
72557510_ACEOF
72567256-if ac_fn_c_try_compile "$LINENO"; then :
75117511+if ac_fn_c_try_compile "$LINENO"
75127512+then :
72577513 xorg_cv_cc_flag_unused_command_line_argument=yes
72587258-else
75147514+else $as_nop
72597515 xorg_cv_cc_flag_unused_command_line_argument=no
72607516fi
72617261-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75177517+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
72627518fi
72637263-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
72647264-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
75197519+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
75207520+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
72657521 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
72667522 CFLAGS="$xorg_testset_save_CFLAGS"
72677523fi
···7279753572807536 CFLAGS="$CFLAGS -Werror=sequence-point"
7281753772827282- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
72837283-$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
75387538+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
75397539+printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
72847540 cacheid=xorg_cv_cc_flag__Werror_sequence_point
72857285- if eval \${$cacheid+:} false; then :
72867286- $as_echo_n "(cached) " >&6
72877287-else
75417541+ if eval test \${$cacheid+y}
75427542+then :
75437543+ printf %s "(cached) " >&6
75447544+else $as_nop
72887545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72897546/* end confdefs.h. */
72907547int i;
72917548int
72927292-main ()
75497549+main (void)
72937550{
7294755172957552 ;
72967553 return 0;
72977554}
72987555_ACEOF
72997299-if ac_fn_c_try_link "$LINENO"; then :
75567556+if ac_fn_c_try_link "$LINENO"
75577557+then :
73007558 eval $cacheid=yes
73017301-else
75597559+else $as_nop
73027560 eval $cacheid=no
73037561fi
73047304-rm -f core conftest.err conftest.$ac_objext \
75627562+rm -f core conftest.err conftest.$ac_objext conftest.beam \
73057563 conftest$ac_exeext conftest.$ac_ext
73067564fi
73077565···73097567 CFLAGS="$xorg_testset_save_CFLAGS"
7310756873117569 eval supported=\$$cacheid
73127312- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
73137313-$as_echo "$supported" >&6; }
75707570+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
75717571+printf "%s\n" "$supported" >&6; }
73147572 if test "$supported" = "yes" ; then
73157573 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
73167574 found="yes"
···7335759373367594if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
73377595 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
73387338- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
73397339-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
73407340-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
73417341- $as_echo_n "(cached) " >&6
73427342-else
75967596+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
75977597+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
75987598+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
75997599+then :
76007600+ printf %s "(cached) " >&6
76017601+else $as_nop
73437602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73447603/* end confdefs.h. */
73457604int i;
73467605_ACEOF
73477347-if ac_fn_c_try_compile "$LINENO"; then :
76067606+if ac_fn_c_try_compile "$LINENO"
76077607+then :
73487608 xorg_cv_cc_flag_unknown_warning_option=yes
73497349-else
76097609+else $as_nop
73507610 xorg_cv_cc_flag_unknown_warning_option=no
73517611fi
73527352-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76127612+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
73537613fi
73547354-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
73557355-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
76147614+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
76157615+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
73567616 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
73577617 CFLAGS="$xorg_testset_save_CFLAGS"
73587618fi
···73627622 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
73637623 fi
73647624 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
73657365- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
73667366-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
73677367-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
73687368- $as_echo_n "(cached) " >&6
73697369-else
76257625+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
76267626+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
76277627+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
76287628+then :
76297629+ printf %s "(cached) " >&6
76307630+else $as_nop
73707631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73717632/* end confdefs.h. */
73727633int i;
73737634_ACEOF
73747374-if ac_fn_c_try_compile "$LINENO"; then :
76357635+if ac_fn_c_try_compile "$LINENO"
76367636+then :
73757637 xorg_cv_cc_flag_unused_command_line_argument=yes
73767376-else
76387638+else $as_nop
73777639 xorg_cv_cc_flag_unused_command_line_argument=no
73787640fi
73797379-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76417641+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
73807642fi
73817381-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
73827382-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
76437643+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
76447644+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
73837645 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
73847646 CFLAGS="$xorg_testset_save_CFLAGS"
73857647fi
···7397765973987660 CFLAGS="$CFLAGS -Werror=return-type"
7399766174007400- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
74017401-$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
76627662+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
76637663+printf %s "checking if $CC supports -Werror=return-type... " >&6; }
74027664 cacheid=xorg_cv_cc_flag__Werror_return_type
74037403- if eval \${$cacheid+:} false; then :
74047404- $as_echo_n "(cached) " >&6
74057405-else
76657665+ if eval test \${$cacheid+y}
76667666+then :
76677667+ printf %s "(cached) " >&6
76687668+else $as_nop
74067669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74077670/* end confdefs.h. */
74087671int i;
74097672int
74107410-main ()
76737673+main (void)
74117674{
7412767574137676 ;
74147677 return 0;
74157678}
74167679_ACEOF
74177417-if ac_fn_c_try_link "$LINENO"; then :
76807680+if ac_fn_c_try_link "$LINENO"
76817681+then :
74187682 eval $cacheid=yes
74197419-else
76837683+else $as_nop
74207684 eval $cacheid=no
74217685fi
74227422-rm -f core conftest.err conftest.$ac_objext \
76867686+rm -f core conftest.err conftest.$ac_objext conftest.beam \
74237687 conftest$ac_exeext conftest.$ac_ext
74247688fi
74257689···74277691 CFLAGS="$xorg_testset_save_CFLAGS"
7428769274297693 eval supported=\$$cacheid
74307430- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
74317431-$as_echo "$supported" >&6; }
76947694+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
76957695+printf "%s\n" "$supported" >&6; }
74327696 if test "$supported" = "yes" ; then
74337697 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
74347698 found="yes"
···7446771074477711 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7448771274497449- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
74507450-$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
77137713+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
77147714+printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
74517715 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
74527452- if eval \${$cacheid+:} false; then :
74537453- $as_echo_n "(cached) " >&6
74547454-else
77167716+ if eval test \${$cacheid+y}
77177717+then :
77187718+ printf %s "(cached) " >&6
77197719+else $as_nop
74557720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74567721/* end confdefs.h. */
74577722int i;
74587723int
74597459-main ()
77247724+main (void)
74607725{
7461772674627727 ;
74637728 return 0;
74647729}
74657730_ACEOF
74667466-if ac_fn_c_try_link "$LINENO"; then :
77317731+if ac_fn_c_try_link "$LINENO"
77327732+then :
74677733 eval $cacheid=yes
74687468-else
77347734+else $as_nop
74697735 eval $cacheid=no
74707736fi
74717471-rm -f core conftest.err conftest.$ac_objext \
77377737+rm -f core conftest.err conftest.$ac_objext conftest.beam \
74727738 conftest$ac_exeext conftest.$ac_ext
74737739fi
74747740···74767742 CFLAGS="$xorg_testset_save_CFLAGS"
7477774374787744 eval supported=\$$cacheid
74797479- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
74807480-$as_echo "$supported" >&6; }
77457745+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
77467746+printf "%s\n" "$supported" >&6; }
74817747 if test "$supported" = "yes" ; then
74827748 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
74837749 found="yes"
···7502776875037769if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
75047770 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
75057505- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
75067506-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
75077507-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
75087508- $as_echo_n "(cached) " >&6
75097509-else
77717771+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
77727772+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
77737773+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
77747774+then :
77757775+ printf %s "(cached) " >&6
77767776+else $as_nop
75107777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75117778/* end confdefs.h. */
75127779int i;
75137780_ACEOF
75147514-if ac_fn_c_try_compile "$LINENO"; then :
77817781+if ac_fn_c_try_compile "$LINENO"
77827782+then :
75157783 xorg_cv_cc_flag_unknown_warning_option=yes
75167516-else
77847784+else $as_nop
75177785 xorg_cv_cc_flag_unknown_warning_option=no
75187786fi
75197519-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77877787+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
75207788fi
75217521-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
75227522-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
77897789+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
77907790+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
75237791 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
75247792 CFLAGS="$xorg_testset_save_CFLAGS"
75257793fi
···75297797 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
75307798 fi
75317799 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
75327532- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
75337533-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
75347534-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
75357535- $as_echo_n "(cached) " >&6
75367536-else
78007800+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
78017801+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
78027802+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
78037803+then :
78047804+ printf %s "(cached) " >&6
78057805+else $as_nop
75377806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75387807/* end confdefs.h. */
75397808int i;
75407809_ACEOF
75417541-if ac_fn_c_try_compile "$LINENO"; then :
78107810+if ac_fn_c_try_compile "$LINENO"
78117811+then :
75427812 xorg_cv_cc_flag_unused_command_line_argument=yes
75437543-else
78137813+else $as_nop
75447814 xorg_cv_cc_flag_unused_command_line_argument=no
75457815fi
75467546-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78167816+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
75477817fi
75487548-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
75497549-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
78187818+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
78197819+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
75507820 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
75517821 CFLAGS="$xorg_testset_save_CFLAGS"
75527822fi
···7564783475657835 CFLAGS="$CFLAGS -Werror=trigraphs"
7566783675677567- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
75687568-$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
78377837+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
78387838+printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
75697839 cacheid=xorg_cv_cc_flag__Werror_trigraphs
75707570- if eval \${$cacheid+:} false; then :
75717571- $as_echo_n "(cached) " >&6
75727572-else
78407840+ if eval test \${$cacheid+y}
78417841+then :
78427842+ printf %s "(cached) " >&6
78437843+else $as_nop
75737844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75747845/* end confdefs.h. */
75757846int i;
75767847int
75777577-main ()
78487848+main (void)
75787849{
7579785075807851 ;
75817852 return 0;
75827853}
75837854_ACEOF
75847584-if ac_fn_c_try_link "$LINENO"; then :
78557855+if ac_fn_c_try_link "$LINENO"
78567856+then :
75857857 eval $cacheid=yes
75867586-else
78587858+else $as_nop
75877859 eval $cacheid=no
75887860fi
75897589-rm -f core conftest.err conftest.$ac_objext \
78617861+rm -f core conftest.err conftest.$ac_objext conftest.beam \
75907862 conftest$ac_exeext conftest.$ac_ext
75917863fi
75927864···75947866 CFLAGS="$xorg_testset_save_CFLAGS"
7595786775967868 eval supported=\$$cacheid
75977597- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
75987598-$as_echo "$supported" >&6; }
78697869+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
78707870+printf "%s\n" "$supported" >&6; }
75997871 if test "$supported" = "yes" ; then
76007872 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
76017873 found="yes"
···7620789276217893if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
76227894 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
76237623- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
76247624-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
76257625-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
76267626- $as_echo_n "(cached) " >&6
76277627-else
78957895+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
78967896+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
78977897+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
78987898+then :
78997899+ printf %s "(cached) " >&6
79007900+else $as_nop
76287901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76297902/* end confdefs.h. */
76307903int i;
76317904_ACEOF
76327632-if ac_fn_c_try_compile "$LINENO"; then :
79057905+if ac_fn_c_try_compile "$LINENO"
79067906+then :
76337907 xorg_cv_cc_flag_unknown_warning_option=yes
76347634-else
79087908+else $as_nop
76357909 xorg_cv_cc_flag_unknown_warning_option=no
76367910fi
76377637-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79117911+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
76387912fi
76397639-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
76407640-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
79137913+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
79147914+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
76417915 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
76427916 CFLAGS="$xorg_testset_save_CFLAGS"
76437917fi
···76477921 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
76487922 fi
76497923 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
76507650- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
76517651-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
76527652-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
76537653- $as_echo_n "(cached) " >&6
76547654-else
79247924+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
79257925+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
79267926+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
79277927+then :
79287928+ printf %s "(cached) " >&6
79297929+else $as_nop
76557930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76567931/* end confdefs.h. */
76577932int i;
76587933_ACEOF
76597659-if ac_fn_c_try_compile "$LINENO"; then :
79347934+if ac_fn_c_try_compile "$LINENO"
79357935+then :
76607936 xorg_cv_cc_flag_unused_command_line_argument=yes
76617661-else
79377937+else $as_nop
76627938 xorg_cv_cc_flag_unused_command_line_argument=no
76637939fi
76647664-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79407940+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
76657941fi
76667666-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
76677667-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
79427942+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
79437943+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
76687944 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
76697945 CFLAGS="$xorg_testset_save_CFLAGS"
76707946fi
···7682795876837959 CFLAGS="$CFLAGS -Werror=array-bounds"
7684796076857685- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
76867686-$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
79617961+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
79627962+printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
76877963 cacheid=xorg_cv_cc_flag__Werror_array_bounds
76887688- if eval \${$cacheid+:} false; then :
76897689- $as_echo_n "(cached) " >&6
76907690-else
79647964+ if eval test \${$cacheid+y}
79657965+then :
79667966+ printf %s "(cached) " >&6
79677967+else $as_nop
76917968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76927969/* end confdefs.h. */
76937970int i;
76947971int
76957695-main ()
79727972+main (void)
76967973{
7697797476987975 ;
76997976 return 0;
77007977}
77017978_ACEOF
77027702-if ac_fn_c_try_link "$LINENO"; then :
79797979+if ac_fn_c_try_link "$LINENO"
79807980+then :
77037981 eval $cacheid=yes
77047704-else
79827982+else $as_nop
77057983 eval $cacheid=no
77067984fi
77077707-rm -f core conftest.err conftest.$ac_objext \
79857985+rm -f core conftest.err conftest.$ac_objext conftest.beam \
77087986 conftest$ac_exeext conftest.$ac_ext
77097987fi
77107988···77127990 CFLAGS="$xorg_testset_save_CFLAGS"
7713799177147992 eval supported=\$$cacheid
77157715- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
77167716-$as_echo "$supported" >&6; }
79937993+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
79947994+printf "%s\n" "$supported" >&6; }
77177995 if test "$supported" = "yes" ; then
77187996 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
77197997 found="yes"
···7738801677398017if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
77408018 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
77417741- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
77427742-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
77437743-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
77447744- $as_echo_n "(cached) " >&6
77457745-else
80198019+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
80208020+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
80218021+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
80228022+then :
80238023+ printf %s "(cached) " >&6
80248024+else $as_nop
77468025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77478026/* end confdefs.h. */
77488027int i;
77498028_ACEOF
77507750-if ac_fn_c_try_compile "$LINENO"; then :
80298029+if ac_fn_c_try_compile "$LINENO"
80308030+then :
77518031 xorg_cv_cc_flag_unknown_warning_option=yes
77527752-else
80328032+else $as_nop
77538033 xorg_cv_cc_flag_unknown_warning_option=no
77548034fi
77557755-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80358035+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
77568036fi
77577757-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
77587758-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
80378037+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
80388038+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
77598039 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
77608040 CFLAGS="$xorg_testset_save_CFLAGS"
77618041fi
···77658045 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
77668046 fi
77678047 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
77687768- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
77697769-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
77707770-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
77717771- $as_echo_n "(cached) " >&6
77727772-else
80488048+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
80498049+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
80508050+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
80518051+then :
80528052+ printf %s "(cached) " >&6
80538053+else $as_nop
77738054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77748055/* end confdefs.h. */
77758056int i;
77768057_ACEOF
77777777-if ac_fn_c_try_compile "$LINENO"; then :
80588058+if ac_fn_c_try_compile "$LINENO"
80598059+then :
77788060 xorg_cv_cc_flag_unused_command_line_argument=yes
77797779-else
80618061+else $as_nop
77808062 xorg_cv_cc_flag_unused_command_line_argument=no
77818063fi
77827782-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80648064+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
77838065fi
77847784-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
77857785-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
80668066+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
80678067+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
77868068 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
77878069 CFLAGS="$xorg_testset_save_CFLAGS"
77888070fi
···7800808278018083 CFLAGS="$CFLAGS -Werror=write-strings"
7802808478037803- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
78047804-$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
80858085+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
80868086+printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
78058087 cacheid=xorg_cv_cc_flag__Werror_write_strings
78067806- if eval \${$cacheid+:} false; then :
78077807- $as_echo_n "(cached) " >&6
78087808-else
80888088+ if eval test \${$cacheid+y}
80898089+then :
80908090+ printf %s "(cached) " >&6
80918091+else $as_nop
78098092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78108093/* end confdefs.h. */
78118094int i;
78128095int
78137813-main ()
80968096+main (void)
78148097{
7815809878168099 ;
78178100 return 0;
78188101}
78198102_ACEOF
78207820-if ac_fn_c_try_link "$LINENO"; then :
81038103+if ac_fn_c_try_link "$LINENO"
81048104+then :
78218105 eval $cacheid=yes
78227822-else
81068106+else $as_nop
78238107 eval $cacheid=no
78248108fi
78257825-rm -f core conftest.err conftest.$ac_objext \
81098109+rm -f core conftest.err conftest.$ac_objext conftest.beam \
78268110 conftest$ac_exeext conftest.$ac_ext
78278111fi
78288112···78308114 CFLAGS="$xorg_testset_save_CFLAGS"
7831811578328116 eval supported=\$$cacheid
78337833- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
78347834-$as_echo "$supported" >&6; }
81178117+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
81188118+printf "%s\n" "$supported" >&6; }
78358119 if test "$supported" = "yes" ; then
78368120 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
78378121 found="yes"
···7856814078578141if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
78588142 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
78597859- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
78607860-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
78617861-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
78627862- $as_echo_n "(cached) " >&6
78637863-else
81438143+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
81448144+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
81458145+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
81468146+then :
81478147+ printf %s "(cached) " >&6
81488148+else $as_nop
78648149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78658150/* end confdefs.h. */
78668151int i;
78678152_ACEOF
78687868-if ac_fn_c_try_compile "$LINENO"; then :
81538153+if ac_fn_c_try_compile "$LINENO"
81548154+then :
78698155 xorg_cv_cc_flag_unknown_warning_option=yes
78707870-else
81568156+else $as_nop
78718157 xorg_cv_cc_flag_unknown_warning_option=no
78728158fi
78737873-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81598159+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
78748160fi
78757875-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
78767876-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
81618161+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
81628162+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
78778163 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
78788164 CFLAGS="$xorg_testset_save_CFLAGS"
78798165fi
···78838169 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
78848170 fi
78858171 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
78867886- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
78877887-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
78887888-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
78897889- $as_echo_n "(cached) " >&6
78907890-else
81728172+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
81738173+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
81748174+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
81758175+then :
81768176+ printf %s "(cached) " >&6
81778177+else $as_nop
78918178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78928179/* end confdefs.h. */
78938180int i;
78948181_ACEOF
78957895-if ac_fn_c_try_compile "$LINENO"; then :
81828182+if ac_fn_c_try_compile "$LINENO"
81838183+then :
78968184 xorg_cv_cc_flag_unused_command_line_argument=yes
78977897-else
81858185+else $as_nop
78988186 xorg_cv_cc_flag_unused_command_line_argument=no
78998187fi
79007900-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81888188+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
79018189fi
79027902-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
79037903-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
81908190+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
81918191+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
79048192 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
79058193 CFLAGS="$xorg_testset_save_CFLAGS"
79068194fi
···7918820679198207 CFLAGS="$CFLAGS -Werror=address"
7920820879217921- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
79227922-$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
82098209+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
82108210+printf %s "checking if $CC supports -Werror=address... " >&6; }
79238211 cacheid=xorg_cv_cc_flag__Werror_address
79247924- if eval \${$cacheid+:} false; then :
79257925- $as_echo_n "(cached) " >&6
79267926-else
82128212+ if eval test \${$cacheid+y}
82138213+then :
82148214+ printf %s "(cached) " >&6
82158215+else $as_nop
79278216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79288217/* end confdefs.h. */
79298218int i;
79308219int
79317931-main ()
82208220+main (void)
79328221{
7933822279348223 ;
79358224 return 0;
79368225}
79378226_ACEOF
79387938-if ac_fn_c_try_link "$LINENO"; then :
82278227+if ac_fn_c_try_link "$LINENO"
82288228+then :
79398229 eval $cacheid=yes
79407940-else
82308230+else $as_nop
79418231 eval $cacheid=no
79428232fi
79437943-rm -f core conftest.err conftest.$ac_objext \
82338233+rm -f core conftest.err conftest.$ac_objext conftest.beam \
79448234 conftest$ac_exeext conftest.$ac_ext
79458235fi
79468236···79488238 CFLAGS="$xorg_testset_save_CFLAGS"
7949823979508240 eval supported=\$$cacheid
79517951- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
79527952-$as_echo "$supported" >&6; }
82418241+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
82428242+printf "%s\n" "$supported" >&6; }
79538243 if test "$supported" = "yes" ; then
79548244 BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
79558245 found="yes"
···7974826479758265if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
79768266 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
79777977- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
79787978-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
79797979-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
79807980- $as_echo_n "(cached) " >&6
79817981-else
82678267+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
82688268+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
82698269+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
82708270+then :
82718271+ printf %s "(cached) " >&6
82728272+else $as_nop
79828273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79838274/* end confdefs.h. */
79848275int i;
79858276_ACEOF
79867986-if ac_fn_c_try_compile "$LINENO"; then :
82778277+if ac_fn_c_try_compile "$LINENO"
82788278+then :
79878279 xorg_cv_cc_flag_unknown_warning_option=yes
79887988-else
82808280+else $as_nop
79898281 xorg_cv_cc_flag_unknown_warning_option=no
79908282fi
79917991-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82838283+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
79928284fi
79937993-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
79947994-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
82858285+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
82868286+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
79958287 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
79968288 CFLAGS="$xorg_testset_save_CFLAGS"
79978289fi
···80018293 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
80028294 fi
80038295 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
80048004- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
80058005-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
80068006-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
80078007- $as_echo_n "(cached) " >&6
80088008-else
82968296+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
82978297+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
82988298+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
82998299+then :
83008300+ printf %s "(cached) " >&6
83018301+else $as_nop
80098302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80108303/* end confdefs.h. */
80118304int i;
80128305_ACEOF
80138013-if ac_fn_c_try_compile "$LINENO"; then :
83068306+if ac_fn_c_try_compile "$LINENO"
83078307+then :
80148308 xorg_cv_cc_flag_unused_command_line_argument=yes
80158015-else
83098309+else $as_nop
80168310 xorg_cv_cc_flag_unused_command_line_argument=no
80178311fi
80188018-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83128312+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
80198313fi
80208020-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
80218021-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
83148314+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
83158315+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
80228316 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
80238317 CFLAGS="$xorg_testset_save_CFLAGS"
80248318fi
···8036833080378331 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8038833280398039- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
80408040-$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
83338333+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
83348334+printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
80418335 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
80428042- if eval \${$cacheid+:} false; then :
80438043- $as_echo_n "(cached) " >&6
80448044-else
83368336+ if eval test \${$cacheid+y}
83378337+then :
83388338+ printf %s "(cached) " >&6
83398339+else $as_nop
80458340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80468341/* end confdefs.h. */
80478342int i;
80488343int
80498049-main ()
83448344+main (void)
80508345{
8051834680528347 ;
80538348 return 0;
80548349}
80558350_ACEOF
80568056-if ac_fn_c_try_link "$LINENO"; then :
83518351+if ac_fn_c_try_link "$LINENO"
83528352+then :
80578353 eval $cacheid=yes
80588058-else
83548354+else $as_nop
80598355 eval $cacheid=no
80608356fi
80618061-rm -f core conftest.err conftest.$ac_objext \
83578357+rm -f core conftest.err conftest.$ac_objext conftest.beam \
80628358 conftest$ac_exeext conftest.$ac_ext
80638359fi
80648360···80668362 CFLAGS="$xorg_testset_save_CFLAGS"
8067836380688364 eval supported=\$$cacheid
80698069- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
80708070-$as_echo "$supported" >&6; }
83658365+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
83668366+printf "%s\n" "$supported" >&6; }
80718367 if test "$supported" = "yes" ; then
80728368 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
80738369 found="yes"
···8085838180868382 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8087838380888088- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
80898089-$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
83848384+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
83858385+printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
80908386 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
80918091- if eval \${$cacheid+:} false; then :
80928092- $as_echo_n "(cached) " >&6
80938093-else
83878387+ if eval test \${$cacheid+y}
83888388+then :
83898389+ printf %s "(cached) " >&6
83908390+else $as_nop
80948391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80958392/* end confdefs.h. */
80968393int i;
80978394int
80988098-main ()
83958395+main (void)
80998396{
8100839781018398 ;
81028399 return 0;
81038400}
81048401_ACEOF
81058105-if ac_fn_c_try_link "$LINENO"; then :
84028402+if ac_fn_c_try_link "$LINENO"
84038403+then :
81068404 eval $cacheid=yes
81078107-else
84058405+else $as_nop
81088406 eval $cacheid=no
81098407fi
81108110-rm -f core conftest.err conftest.$ac_objext \
84088408+rm -f core conftest.err conftest.$ac_objext conftest.beam \
81118409 conftest$ac_exeext conftest.$ac_ext
81128410fi
81138411···81158413 CFLAGS="$xorg_testset_save_CFLAGS"
8116841481178415 eval supported=\$$cacheid
81188118- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
81198119-$as_echo "$supported" >&6; }
84168416+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
84178417+printf "%s\n" "$supported" >&6; }
81208418 if test "$supported" = "yes" ; then
81218419 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
81228420 found="yes"
···8141843981428440if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
81438441 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
81448144- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
81458145-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
81468146-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
81478147- $as_echo_n "(cached) " >&6
81488148-else
84428442+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
84438443+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
84448444+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
84458445+then :
84468446+ printf %s "(cached) " >&6
84478447+else $as_nop
81498448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81508449/* end confdefs.h. */
81518450int i;
81528451_ACEOF
81538153-if ac_fn_c_try_compile "$LINENO"; then :
84528452+if ac_fn_c_try_compile "$LINENO"
84538453+then :
81548454 xorg_cv_cc_flag_unknown_warning_option=yes
81558155-else
84558455+else $as_nop
81568456 xorg_cv_cc_flag_unknown_warning_option=no
81578457fi
81588158-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84588458+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
81598459fi
81608160-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
81618161-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
84608460+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
84618461+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
81628462 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
81638463 CFLAGS="$xorg_testset_save_CFLAGS"
81648464fi
···81688468 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
81698469 fi
81708470 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
81718171- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
81728172-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
81738173-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
81748174- $as_echo_n "(cached) " >&6
81758175-else
84718471+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
84728472+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
84738473+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
84748474+then :
84758475+ printf %s "(cached) " >&6
84768476+else $as_nop
81768477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81778478/* end confdefs.h. */
81788479int i;
81798480_ACEOF
81808180-if ac_fn_c_try_compile "$LINENO"; then :
84818481+if ac_fn_c_try_compile "$LINENO"
84828482+then :
81818483 xorg_cv_cc_flag_unused_command_line_argument=yes
81828182-else
84848484+else $as_nop
81838485 xorg_cv_cc_flag_unused_command_line_argument=no
81848486fi
81858185-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84878487+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
81868488fi
81878187-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
81888188-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
84898489+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
84908490+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
81898491 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
81908492 CFLAGS="$xorg_testset_save_CFLAGS"
81918493fi
···8203850582048506 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8205850782068206- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
82078207-$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
85088508+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
85098509+printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
82088510 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
82098209- if eval \${$cacheid+:} false; then :
82108210- $as_echo_n "(cached) " >&6
82118211-else
85118511+ if eval test \${$cacheid+y}
85128512+then :
85138513+ printf %s "(cached) " >&6
85148514+else $as_nop
82128515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82138516/* end confdefs.h. */
82148517int i;
82158518int
82168216-main ()
85198519+main (void)
82178520{
8218852182198522 ;
82208523 return 0;
82218524}
82228525_ACEOF
82238223-if ac_fn_c_try_link "$LINENO"; then :
85268526+if ac_fn_c_try_link "$LINENO"
85278527+then :
82248528 eval $cacheid=yes
82258225-else
85298529+else $as_nop
82268530 eval $cacheid=no
82278531fi
82288228-rm -f core conftest.err conftest.$ac_objext \
85328532+rm -f core conftest.err conftest.$ac_objext conftest.beam \
82298533 conftest$ac_exeext conftest.$ac_ext
82308534fi
82318535···82338537 CFLAGS="$xorg_testset_save_CFLAGS"
8234853882358539 eval supported=\$$cacheid
82368236- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
82378237-$as_echo "$supported" >&6; }
85408540+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
85418541+printf "%s\n" "$supported" >&6; }
82388542 if test "$supported" = "yes" ; then
82398543 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
82408544 found="yes"
···8243854782448548 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
82458549else
82468246-{ $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
82478247-$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;}
85508550+{ 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
85518551+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;}
824885528249855382508554···8262856682638567if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
82648568 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
82658265- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
82668266-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
82678267-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
82688268- $as_echo_n "(cached) " >&6
82698269-else
85698569+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
85708570+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
85718571+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
85728572+then :
85738573+ printf %s "(cached) " >&6
85748574+else $as_nop
82708575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82718576/* end confdefs.h. */
82728577int i;
82738578_ACEOF
82748274-if ac_fn_c_try_compile "$LINENO"; then :
85798579+if ac_fn_c_try_compile "$LINENO"
85808580+then :
82758581 xorg_cv_cc_flag_unknown_warning_option=yes
82768276-else
85828582+else $as_nop
82778583 xorg_cv_cc_flag_unknown_warning_option=no
82788584fi
82798279-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85858585+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
82808586fi
82818281-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
82828282-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
85878587+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
85888588+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
82838589 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
82848590 CFLAGS="$xorg_testset_save_CFLAGS"
82858591fi
···82898595 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
82908596 fi
82918597 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
82928292- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
82938293-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
82948294-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
82958295- $as_echo_n "(cached) " >&6
82968296-else
85988598+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
85998599+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
86008600+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
86018601+then :
86028602+ printf %s "(cached) " >&6
86038603+else $as_nop
82978604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82988605/* end confdefs.h. */
82998606int i;
83008607_ACEOF
83018301-if ac_fn_c_try_compile "$LINENO"; then :
86088608+if ac_fn_c_try_compile "$LINENO"
86098609+then :
83028610 xorg_cv_cc_flag_unused_command_line_argument=yes
83038303-else
86118611+else $as_nop
83048612 xorg_cv_cc_flag_unused_command_line_argument=no
83058613fi
83068306-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86148614+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83078615fi
83088308-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
83098309-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
86168616+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
86178617+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
83108618 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
83118619 CFLAGS="$xorg_testset_save_CFLAGS"
83128620fi
···8324863283258633 CFLAGS="$CFLAGS -Wimplicit"
8326863483278327- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
83288328-$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
86358635+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
86368636+printf %s "checking if $CC supports -Wimplicit... " >&6; }
83298637 cacheid=xorg_cv_cc_flag__Wimplicit
83308330- if eval \${$cacheid+:} false; then :
83318331- $as_echo_n "(cached) " >&6
83328332-else
86388638+ if eval test \${$cacheid+y}
86398639+then :
86408640+ printf %s "(cached) " >&6
86418641+else $as_nop
83338642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83348643/* end confdefs.h. */
83358644int i;
83368645int
83378337-main ()
86468646+main (void)
83388647{
8339864883408649 ;
83418650 return 0;
83428651}
83438652_ACEOF
83448344-if ac_fn_c_try_link "$LINENO"; then :
86538653+if ac_fn_c_try_link "$LINENO"
86548654+then :
83458655 eval $cacheid=yes
83468346-else
86568656+else $as_nop
83478657 eval $cacheid=no
83488658fi
83498349-rm -f core conftest.err conftest.$ac_objext \
86598659+rm -f core conftest.err conftest.$ac_objext conftest.beam \
83508660 conftest$ac_exeext conftest.$ac_ext
83518661fi
83528662···83548664 CFLAGS="$xorg_testset_save_CFLAGS"
8355866583568666 eval supported=\$$cacheid
83578357- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
83588358-$as_echo "$supported" >&6; }
86678667+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
86688668+printf "%s\n" "$supported" >&6; }
83598669 if test "$supported" = "yes" ; then
83608670 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
83618671 found="yes"
···8380869083818691if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
83828692 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
83838383- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
83848384-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
83858385-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
83868386- $as_echo_n "(cached) " >&6
83878387-else
86938693+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
86948694+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
86958695+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
86968696+then :
86978697+ printf %s "(cached) " >&6
86988698+else $as_nop
83888699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83898700/* end confdefs.h. */
83908701int i;
83918702_ACEOF
83928392-if ac_fn_c_try_compile "$LINENO"; then :
87038703+if ac_fn_c_try_compile "$LINENO"
87048704+then :
83938705 xorg_cv_cc_flag_unknown_warning_option=yes
83948394-else
87068706+else $as_nop
83958707 xorg_cv_cc_flag_unknown_warning_option=no
83968708fi
83978397-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87098709+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
83988710fi
83998399-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
84008400-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
87118711+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
87128712+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
84018713 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
84028714 CFLAGS="$xorg_testset_save_CFLAGS"
84038715fi
···84078719 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
84088720 fi
84098721 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
84108410- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
84118411-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
84128412-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
84138413- $as_echo_n "(cached) " >&6
84148414-else
87228722+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
87238723+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
87248724+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
87258725+then :
87268726+ printf %s "(cached) " >&6
87278727+else $as_nop
84158728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84168729/* end confdefs.h. */
84178730int i;
84188731_ACEOF
84198419-if ac_fn_c_try_compile "$LINENO"; then :
87328732+if ac_fn_c_try_compile "$LINENO"
87338733+then :
84208734 xorg_cv_cc_flag_unused_command_line_argument=yes
84218421-else
87358735+else $as_nop
84228736 xorg_cv_cc_flag_unused_command_line_argument=no
84238737fi
84248424-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87388738+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
84258739fi
84268426-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
84278427-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
87408740+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
87418741+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
84288742 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
84298743 CFLAGS="$xorg_testset_save_CFLAGS"
84308744fi
···8442875684438757 CFLAGS="$CFLAGS -Wnonnull"
8444875884458445- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
84468446-$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
87598759+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
87608760+printf %s "checking if $CC supports -Wnonnull... " >&6; }
84478761 cacheid=xorg_cv_cc_flag__Wnonnull
84488448- if eval \${$cacheid+:} false; then :
84498449- $as_echo_n "(cached) " >&6
84508450-else
87628762+ if eval test \${$cacheid+y}
87638763+then :
87648764+ printf %s "(cached) " >&6
87658765+else $as_nop
84518766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84528767/* end confdefs.h. */
84538768int i;
84548769int
84558455-main ()
87708770+main (void)
84568771{
8457877284588773 ;
84598774 return 0;
84608775}
84618776_ACEOF
84628462-if ac_fn_c_try_link "$LINENO"; then :
87778777+if ac_fn_c_try_link "$LINENO"
87788778+then :
84638779 eval $cacheid=yes
84648464-else
87808780+else $as_nop
84658781 eval $cacheid=no
84668782fi
84678467-rm -f core conftest.err conftest.$ac_objext \
87838783+rm -f core conftest.err conftest.$ac_objext conftest.beam \
84688784 conftest$ac_exeext conftest.$ac_ext
84698785fi
84708786···84728788 CFLAGS="$xorg_testset_save_CFLAGS"
8473878984748790 eval supported=\$$cacheid
84758475- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
84768476-$as_echo "$supported" >&6; }
87918791+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
87928792+printf "%s\n" "$supported" >&6; }
84778793 if test "$supported" = "yes" ; then
84788794 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
84798795 found="yes"
···8498881484998815if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
85008816 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
85018501- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
85028502-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
85038503-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
85048504- $as_echo_n "(cached) " >&6
85058505-else
88178817+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
88188818+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
88198819+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
88208820+then :
88218821+ printf %s "(cached) " >&6
88228822+else $as_nop
85068823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85078824/* end confdefs.h. */
85088825int i;
85098826_ACEOF
85108510-if ac_fn_c_try_compile "$LINENO"; then :
88278827+if ac_fn_c_try_compile "$LINENO"
88288828+then :
85118829 xorg_cv_cc_flag_unknown_warning_option=yes
85128512-else
88308830+else $as_nop
85138831 xorg_cv_cc_flag_unknown_warning_option=no
85148832fi
85158515-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88338833+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
85168834fi
85178517-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
85188518-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
88358835+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
88368836+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
85198837 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
85208838 CFLAGS="$xorg_testset_save_CFLAGS"
85218839fi
···85258843 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
85268844 fi
85278845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
85288528- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
85298529-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
85308530-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
85318531- $as_echo_n "(cached) " >&6
85328532-else
88468846+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
88478847+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
88488848+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
88498849+then :
88508850+ printf %s "(cached) " >&6
88518851+else $as_nop
85338852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85348853/* end confdefs.h. */
85358854int i;
85368855_ACEOF
85378537-if ac_fn_c_try_compile "$LINENO"; then :
88568856+if ac_fn_c_try_compile "$LINENO"
88578857+then :
85388858 xorg_cv_cc_flag_unused_command_line_argument=yes
85398539-else
88598859+else $as_nop
85408860 xorg_cv_cc_flag_unused_command_line_argument=no
85418861fi
85428542-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
88628862+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
85438863fi
85448544-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
85458545-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
88648864+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
88658865+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
85468866 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
85478867 CFLAGS="$xorg_testset_save_CFLAGS"
85488868fi
···8560888085618881 CFLAGS="$CFLAGS -Winit-self"
8562888285638563- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
85648564-$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
88838883+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
88848884+printf %s "checking if $CC supports -Winit-self... " >&6; }
85658885 cacheid=xorg_cv_cc_flag__Winit_self
85668566- if eval \${$cacheid+:} false; then :
85678567- $as_echo_n "(cached) " >&6
85688568-else
88868886+ if eval test \${$cacheid+y}
88878887+then :
88888888+ printf %s "(cached) " >&6
88898889+else $as_nop
85698890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85708891/* end confdefs.h. */
85718892int i;
85728893int
85738573-main ()
88948894+main (void)
85748895{
8575889685768897 ;
85778898 return 0;
85788899}
85798900_ACEOF
85808580-if ac_fn_c_try_link "$LINENO"; then :
89018901+if ac_fn_c_try_link "$LINENO"
89028902+then :
85818903 eval $cacheid=yes
85828582-else
89048904+else $as_nop
85838905 eval $cacheid=no
85848906fi
85858585-rm -f core conftest.err conftest.$ac_objext \
89078907+rm -f core conftest.err conftest.$ac_objext conftest.beam \
85868908 conftest$ac_exeext conftest.$ac_ext
85878909fi
85888910···85908912 CFLAGS="$xorg_testset_save_CFLAGS"
8591891385928914 eval supported=\$$cacheid
85938593- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
85948594-$as_echo "$supported" >&6; }
89158915+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
89168916+printf "%s\n" "$supported" >&6; }
85958917 if test "$supported" = "yes" ; then
85968918 BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
85978919 found="yes"
···8616893886178939if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
86188940 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
86198619- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
86208620-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
86218621-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
86228622- $as_echo_n "(cached) " >&6
86238623-else
89418941+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
89428942+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
89438943+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
89448944+then :
89458945+ printf %s "(cached) " >&6
89468946+else $as_nop
86248947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86258948/* end confdefs.h. */
86268949int i;
86278950_ACEOF
86288628-if ac_fn_c_try_compile "$LINENO"; then :
89518951+if ac_fn_c_try_compile "$LINENO"
89528952+then :
86298953 xorg_cv_cc_flag_unknown_warning_option=yes
86308630-else
89548954+else $as_nop
86318955 xorg_cv_cc_flag_unknown_warning_option=no
86328956fi
86338633-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89578957+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
86348958fi
86358635-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
86368636-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
89598959+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
89608960+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
86378961 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
86388962 CFLAGS="$xorg_testset_save_CFLAGS"
86398963fi
···86438967 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
86448968 fi
86458969 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
86468646- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
86478647-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
86488648-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
86498649- $as_echo_n "(cached) " >&6
86508650-else
89708970+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
89718971+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
89728972+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
89738973+then :
89748974+ printf %s "(cached) " >&6
89758975+else $as_nop
86518976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86528977/* end confdefs.h. */
86538978int i;
86548979_ACEOF
86558655-if ac_fn_c_try_compile "$LINENO"; then :
89808980+if ac_fn_c_try_compile "$LINENO"
89818981+then :
86568982 xorg_cv_cc_flag_unused_command_line_argument=yes
86578657-else
89838983+else $as_nop
86588984 xorg_cv_cc_flag_unused_command_line_argument=no
86598985fi
86608660-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89868986+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
86618987fi
86628662-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
86638663-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
89888988+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
89898989+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
86648990 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
86658991 CFLAGS="$xorg_testset_save_CFLAGS"
86668992fi
···8678900486799005 CFLAGS="$CFLAGS -Wmain"
8680900686818681- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
86828682-$as_echo_n "checking if $CC supports -Wmain... " >&6; }
90079007+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
90089008+printf %s "checking if $CC supports -Wmain... " >&6; }
86839009 cacheid=xorg_cv_cc_flag__Wmain
86848684- if eval \${$cacheid+:} false; then :
86858685- $as_echo_n "(cached) " >&6
86868686-else
90109010+ if eval test \${$cacheid+y}
90119011+then :
90129012+ printf %s "(cached) " >&6
90139013+else $as_nop
86879014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86889015/* end confdefs.h. */
86899016int i;
86909017int
86918691-main ()
90189018+main (void)
86929019{
8693902086949021 ;
86959022 return 0;
86969023}
86979024_ACEOF
86988698-if ac_fn_c_try_link "$LINENO"; then :
90259025+if ac_fn_c_try_link "$LINENO"
90269026+then :
86999027 eval $cacheid=yes
87008700-else
90289028+else $as_nop
87019029 eval $cacheid=no
87029030fi
87038703-rm -f core conftest.err conftest.$ac_objext \
90319031+rm -f core conftest.err conftest.$ac_objext conftest.beam \
87049032 conftest$ac_exeext conftest.$ac_ext
87059033fi
87069034···87089036 CFLAGS="$xorg_testset_save_CFLAGS"
8709903787109038 eval supported=\$$cacheid
87118711- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
87128712-$as_echo "$supported" >&6; }
90399039+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
90409040+printf "%s\n" "$supported" >&6; }
87139041 if test "$supported" = "yes" ; then
87149042 BASE_CFLAGS="$BASE_CFLAGS -Wmain"
87159043 found="yes"
···8734906287359063if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
87369064 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
87378737- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
87388738-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
87398739-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
87408740- $as_echo_n "(cached) " >&6
87418741-else
90659065+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
90669066+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
90679067+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
90689068+then :
90699069+ printf %s "(cached) " >&6
90709070+else $as_nop
87429071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87439072/* end confdefs.h. */
87449073int i;
87459074_ACEOF
87468746-if ac_fn_c_try_compile "$LINENO"; then :
90759075+if ac_fn_c_try_compile "$LINENO"
90769076+then :
87479077 xorg_cv_cc_flag_unknown_warning_option=yes
87488748-else
90789078+else $as_nop
87499079 xorg_cv_cc_flag_unknown_warning_option=no
87509080fi
87518751-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
90819081+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
87529082fi
87538753-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
87548754-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
90839083+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
90849084+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
87559085 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
87569086 CFLAGS="$xorg_testset_save_CFLAGS"
87579087fi
···87619091 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
87629092 fi
87639093 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
87648764- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
87658765-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
87668766-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
87678767- $as_echo_n "(cached) " >&6
87688768-else
90949094+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
90959095+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
90969096+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
90979097+then :
90989098+ printf %s "(cached) " >&6
90999099+else $as_nop
87699100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87709101/* end confdefs.h. */
87719102int i;
87729103_ACEOF
87738773-if ac_fn_c_try_compile "$LINENO"; then :
91049104+if ac_fn_c_try_compile "$LINENO"
91059105+then :
87749106 xorg_cv_cc_flag_unused_command_line_argument=yes
87758775-else
91079107+else $as_nop
87769108 xorg_cv_cc_flag_unused_command_line_argument=no
87779109fi
87788778-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
91109110+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
87799111fi
87808780-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
87818781-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
91129112+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
91139113+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
87829114 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
87839115 CFLAGS="$xorg_testset_save_CFLAGS"
87849116fi
···8796912887979129 CFLAGS="$CFLAGS -Wmissing-braces"
8798913087998799- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
88008800-$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
91319131+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
91329132+printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
88019133 cacheid=xorg_cv_cc_flag__Wmissing_braces
88028802- if eval \${$cacheid+:} false; then :
88038803- $as_echo_n "(cached) " >&6
88048804-else
91349134+ if eval test \${$cacheid+y}
91359135+then :
91369136+ printf %s "(cached) " >&6
91379137+else $as_nop
88059138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88069139/* end confdefs.h. */
88079140int i;
88089141int
88098809-main ()
91429142+main (void)
88109143{
8811914488129145 ;
88139146 return 0;
88149147}
88159148_ACEOF
88168816-if ac_fn_c_try_link "$LINENO"; then :
91499149+if ac_fn_c_try_link "$LINENO"
91509150+then :
88179151 eval $cacheid=yes
88188818-else
91529152+else $as_nop
88199153 eval $cacheid=no
88209154fi
88218821-rm -f core conftest.err conftest.$ac_objext \
91559155+rm -f core conftest.err conftest.$ac_objext conftest.beam \
88229156 conftest$ac_exeext conftest.$ac_ext
88239157fi
88249158···88269160 CFLAGS="$xorg_testset_save_CFLAGS"
8827916188289162 eval supported=\$$cacheid
88298829- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
88308830-$as_echo "$supported" >&6; }
91639163+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
91649164+printf "%s\n" "$supported" >&6; }
88319165 if test "$supported" = "yes" ; then
88329166 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
88339167 found="yes"
···8852918688539187if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
88549188 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
88558855- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
88568856-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
88578857-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
88588858- $as_echo_n "(cached) " >&6
88598859-else
91899189+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
91909190+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
91919191+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
91929192+then :
91939193+ printf %s "(cached) " >&6
91949194+else $as_nop
88609195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88619196/* end confdefs.h. */
88629197int i;
88639198_ACEOF
88648864-if ac_fn_c_try_compile "$LINENO"; then :
91999199+if ac_fn_c_try_compile "$LINENO"
92009200+then :
88659201 xorg_cv_cc_flag_unknown_warning_option=yes
88668866-else
92029202+else $as_nop
88679203 xorg_cv_cc_flag_unknown_warning_option=no
88689204fi
88698869-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92059205+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
88709206fi
88718871-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
88728872-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
92079207+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
92089208+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
88739209 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
88749210 CFLAGS="$xorg_testset_save_CFLAGS"
88759211fi
···88799215 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
88809216 fi
88819217 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
88828882- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
88838883-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
88848884-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
88858885- $as_echo_n "(cached) " >&6
88868886-else
92189218+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
92199219+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
92209220+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
92219221+then :
92229222+ printf %s "(cached) " >&6
92239223+else $as_nop
88879224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88889225/* end confdefs.h. */
88899226int i;
88909227_ACEOF
88918891-if ac_fn_c_try_compile "$LINENO"; then :
92289228+if ac_fn_c_try_compile "$LINENO"
92299229+then :
88929230 xorg_cv_cc_flag_unused_command_line_argument=yes
88938893-else
92319231+else $as_nop
88949232 xorg_cv_cc_flag_unused_command_line_argument=no
88959233fi
88968896-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92349234+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
88979235fi
88988898-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
88998899-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
92369236+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
92379237+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
89009238 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
89019239 CFLAGS="$xorg_testset_save_CFLAGS"
89029240fi
···8914925289159253 CFLAGS="$CFLAGS -Wsequence-point"
8916925489178917- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
89188918-$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
92559255+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
92569256+printf %s "checking if $CC supports -Wsequence-point... " >&6; }
89199257 cacheid=xorg_cv_cc_flag__Wsequence_point
89208920- if eval \${$cacheid+:} false; then :
89218921- $as_echo_n "(cached) " >&6
89228922-else
92589258+ if eval test \${$cacheid+y}
92599259+then :
92609260+ printf %s "(cached) " >&6
92619261+else $as_nop
89239262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89249263/* end confdefs.h. */
89259264int i;
89269265int
89278927-main ()
92669266+main (void)
89289267{
8929926889309269 ;
89319270 return 0;
89329271}
89339272_ACEOF
89348934-if ac_fn_c_try_link "$LINENO"; then :
92739273+if ac_fn_c_try_link "$LINENO"
92749274+then :
89359275 eval $cacheid=yes
89368936-else
92769276+else $as_nop
89379277 eval $cacheid=no
89389278fi
89398939-rm -f core conftest.err conftest.$ac_objext \
92799279+rm -f core conftest.err conftest.$ac_objext conftest.beam \
89409280 conftest$ac_exeext conftest.$ac_ext
89419281fi
89429282···89449284 CFLAGS="$xorg_testset_save_CFLAGS"
8945928589469286 eval supported=\$$cacheid
89478947- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
89488948-$as_echo "$supported" >&6; }
92879287+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
92889288+printf "%s\n" "$supported" >&6; }
89499289 if test "$supported" = "yes" ; then
89509290 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
89519291 found="yes"
···8970931089719311if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
89729312 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
89738973- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
89748974-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
89758975-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
89768976- $as_echo_n "(cached) " >&6
89778977-else
93139313+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
93149314+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
93159315+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
93169316+then :
93179317+ printf %s "(cached) " >&6
93189318+else $as_nop
89789319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89799320/* end confdefs.h. */
89809321int i;
89819322_ACEOF
89828982-if ac_fn_c_try_compile "$LINENO"; then :
93239323+if ac_fn_c_try_compile "$LINENO"
93249324+then :
89839325 xorg_cv_cc_flag_unknown_warning_option=yes
89848984-else
93269326+else $as_nop
89859327 xorg_cv_cc_flag_unknown_warning_option=no
89869328fi
89878987-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93299329+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
89889330fi
89898989-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
89908990-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
93319331+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
93329332+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
89919333 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
89929334 CFLAGS="$xorg_testset_save_CFLAGS"
89939335fi
···89979339 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
89989340 fi
89999341 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
90009000- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
90019001-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
90029002-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
90039003- $as_echo_n "(cached) " >&6
90049004-else
93429342+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
93439343+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
93449344+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
93459345+then :
93469346+ printf %s "(cached) " >&6
93479347+else $as_nop
90059348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90069349/* end confdefs.h. */
90079350int i;
90089351_ACEOF
90099009-if ac_fn_c_try_compile "$LINENO"; then :
93529352+if ac_fn_c_try_compile "$LINENO"
93539353+then :
90109354 xorg_cv_cc_flag_unused_command_line_argument=yes
90119011-else
93559355+else $as_nop
90129356 xorg_cv_cc_flag_unused_command_line_argument=no
90139357fi
90149014-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93589358+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
90159359fi
90169016-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
90179017-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
93609360+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
93619361+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
90189362 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
90199363 CFLAGS="$xorg_testset_save_CFLAGS"
90209364fi
···9032937690339377 CFLAGS="$CFLAGS -Wreturn-type"
9034937890359035- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
90369036-$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
93799379+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
93809380+printf %s "checking if $CC supports -Wreturn-type... " >&6; }
90379381 cacheid=xorg_cv_cc_flag__Wreturn_type
90389038- if eval \${$cacheid+:} false; then :
90399039- $as_echo_n "(cached) " >&6
90409040-else
93829382+ if eval test \${$cacheid+y}
93839383+then :
93849384+ printf %s "(cached) " >&6
93859385+else $as_nop
90419386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90429387/* end confdefs.h. */
90439388int i;
90449389int
90459045-main ()
93909390+main (void)
90469391{
9047939290489393 ;
90499394 return 0;
90509395}
90519396_ACEOF
90529052-if ac_fn_c_try_link "$LINENO"; then :
93979397+if ac_fn_c_try_link "$LINENO"
93989398+then :
90539399 eval $cacheid=yes
90549054-else
94009400+else $as_nop
90559401 eval $cacheid=no
90569402fi
90579057-rm -f core conftest.err conftest.$ac_objext \
94039403+rm -f core conftest.err conftest.$ac_objext conftest.beam \
90589404 conftest$ac_exeext conftest.$ac_ext
90599405fi
90609406···90629408 CFLAGS="$xorg_testset_save_CFLAGS"
9063940990649410 eval supported=\$$cacheid
90659065- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
90669066-$as_echo "$supported" >&6; }
94119411+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
94129412+printf "%s\n" "$supported" >&6; }
90679413 if test "$supported" = "yes" ; then
90689414 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
90699415 found="yes"
···9088943490899435if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
90909436 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
90919091- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
90929092-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
90939093-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
90949094- $as_echo_n "(cached) " >&6
90959095-else
94379437+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
94389438+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
94399439+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
94409440+then :
94419441+ printf %s "(cached) " >&6
94429442+else $as_nop
90969443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90979444/* end confdefs.h. */
90989445int i;
90999446_ACEOF
91009100-if ac_fn_c_try_compile "$LINENO"; then :
94479447+if ac_fn_c_try_compile "$LINENO"
94489448+then :
91019449 xorg_cv_cc_flag_unknown_warning_option=yes
91029102-else
94509450+else $as_nop
91039451 xorg_cv_cc_flag_unknown_warning_option=no
91049452fi
91059105-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94539453+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
91069454fi
91079107-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
91089108-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
94559455+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
94569456+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
91099457 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
91109458 CFLAGS="$xorg_testset_save_CFLAGS"
91119459fi
···91159463 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
91169464 fi
91179465 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
91189118- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
91199119-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
91209120-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
91219121- $as_echo_n "(cached) " >&6
91229122-else
94669466+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
94679467+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
94689468+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
94699469+then :
94709470+ printf %s "(cached) " >&6
94719471+else $as_nop
91239472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91249473/* end confdefs.h. */
91259474int i;
91269475_ACEOF
91279127-if ac_fn_c_try_compile "$LINENO"; then :
94769476+if ac_fn_c_try_compile "$LINENO"
94779477+then :
91289478 xorg_cv_cc_flag_unused_command_line_argument=yes
91299129-else
94799479+else $as_nop
91309480 xorg_cv_cc_flag_unused_command_line_argument=no
91319481fi
91329132-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94829482+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
91339483fi
91349134-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
91359135-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
94849484+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
94859485+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
91369486 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
91379487 CFLAGS="$xorg_testset_save_CFLAGS"
91389488fi
···9150950091519501 CFLAGS="$CFLAGS -Wtrigraphs"
9152950291539153- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
91549154-$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
95039503+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
95049504+printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
91559505 cacheid=xorg_cv_cc_flag__Wtrigraphs
91569156- if eval \${$cacheid+:} false; then :
91579157- $as_echo_n "(cached) " >&6
91589158-else
95069506+ if eval test \${$cacheid+y}
95079507+then :
95089508+ printf %s "(cached) " >&6
95099509+else $as_nop
91599510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91609511/* end confdefs.h. */
91619512int i;
91629513int
91639163-main ()
95149514+main (void)
91649515{
9165951691669517 ;
91679518 return 0;
91689519}
91699520_ACEOF
91709170-if ac_fn_c_try_link "$LINENO"; then :
95219521+if ac_fn_c_try_link "$LINENO"
95229522+then :
91719523 eval $cacheid=yes
91729172-else
95249524+else $as_nop
91739525 eval $cacheid=no
91749526fi
91759175-rm -f core conftest.err conftest.$ac_objext \
95279527+rm -f core conftest.err conftest.$ac_objext conftest.beam \
91769528 conftest$ac_exeext conftest.$ac_ext
91779529fi
91789530···91809532 CFLAGS="$xorg_testset_save_CFLAGS"
9181953391829534 eval supported=\$$cacheid
91839183- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
91849184-$as_echo "$supported" >&6; }
95359535+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
95369536+printf "%s\n" "$supported" >&6; }
91859537 if test "$supported" = "yes" ; then
91869538 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
91879539 found="yes"
···9206955892079559if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
92089560 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
92099209- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
92109210-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
92119211-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
92129212- $as_echo_n "(cached) " >&6
92139213-else
95619561+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
95629562+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
95639563+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
95649564+then :
95659565+ printf %s "(cached) " >&6
95669566+else $as_nop
92149567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92159568/* end confdefs.h. */
92169569int i;
92179570_ACEOF
92189218-if ac_fn_c_try_compile "$LINENO"; then :
95719571+if ac_fn_c_try_compile "$LINENO"
95729572+then :
92199573 xorg_cv_cc_flag_unknown_warning_option=yes
92209220-else
95749574+else $as_nop
92219575 xorg_cv_cc_flag_unknown_warning_option=no
92229576fi
92239223-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95779577+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
92249578fi
92259225-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
92269226-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
95799579+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
95809580+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
92279581 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
92289582 CFLAGS="$xorg_testset_save_CFLAGS"
92299583fi
···92339587 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
92349588 fi
92359589 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
92369236- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
92379237-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
92389238-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
92399239- $as_echo_n "(cached) " >&6
92409240-else
95909590+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
95919591+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
95929592+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
95939593+then :
95949594+ printf %s "(cached) " >&6
95959595+else $as_nop
92419596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92429597/* end confdefs.h. */
92439598int i;
92449599_ACEOF
92459245-if ac_fn_c_try_compile "$LINENO"; then :
96009600+if ac_fn_c_try_compile "$LINENO"
96019601+then :
92469602 xorg_cv_cc_flag_unused_command_line_argument=yes
92479247-else
96039603+else $as_nop
92489604 xorg_cv_cc_flag_unused_command_line_argument=no
92499605fi
92509250-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
96069606+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
92519607fi
92529252-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
92539253-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
96089608+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
96099609+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
92549610 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
92559611 CFLAGS="$xorg_testset_save_CFLAGS"
92569612fi
···9268962492699625 CFLAGS="$CFLAGS -Warray-bounds"
9270962692719271- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
92729272-$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
96279627+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
96289628+printf %s "checking if $CC supports -Warray-bounds... " >&6; }
92739629 cacheid=xorg_cv_cc_flag__Warray_bounds
92749274- if eval \${$cacheid+:} false; then :
92759275- $as_echo_n "(cached) " >&6
92769276-else
96309630+ if eval test \${$cacheid+y}
96319631+then :
96329632+ printf %s "(cached) " >&6
96339633+else $as_nop
92779634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92789635/* end confdefs.h. */
92799636int i;
92809637int
92819281-main ()
96389638+main (void)
92829639{
9283964092849641 ;
92859642 return 0;
92869643}
92879644_ACEOF
92889288-if ac_fn_c_try_link "$LINENO"; then :
96459645+if ac_fn_c_try_link "$LINENO"
96469646+then :
92899647 eval $cacheid=yes
92909290-else
96489648+else $as_nop
92919649 eval $cacheid=no
92929650fi
92939293-rm -f core conftest.err conftest.$ac_objext \
96519651+rm -f core conftest.err conftest.$ac_objext conftest.beam \
92949652 conftest$ac_exeext conftest.$ac_ext
92959653fi
92969654···92989656 CFLAGS="$xorg_testset_save_CFLAGS"
9299965793009658 eval supported=\$$cacheid
93019301- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
93029302-$as_echo "$supported" >&6; }
96599659+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
96609660+printf "%s\n" "$supported" >&6; }
93039661 if test "$supported" = "yes" ; then
93049662 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
93059663 found="yes"
···9324968293259683if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
93269684 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
93279327- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
93289328-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
93299329-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
93309330- $as_echo_n "(cached) " >&6
93319331-else
96859685+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
96869686+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
96879687+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
96889688+then :
96899689+ printf %s "(cached) " >&6
96909690+else $as_nop
93329691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93339692/* end confdefs.h. */
93349693int i;
93359694_ACEOF
93369336-if ac_fn_c_try_compile "$LINENO"; then :
96959695+if ac_fn_c_try_compile "$LINENO"
96969696+then :
93379697 xorg_cv_cc_flag_unknown_warning_option=yes
93389338-else
96989698+else $as_nop
93399699 xorg_cv_cc_flag_unknown_warning_option=no
93409700fi
93419341-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97019701+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
93429702fi
93439343-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
93449344-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
97039703+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
97049704+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
93459705 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
93469706 CFLAGS="$xorg_testset_save_CFLAGS"
93479707fi
···93519711 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
93529712 fi
93539713 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
93549354- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
93559355-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
93569356-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
93579357- $as_echo_n "(cached) " >&6
93589358-else
97149714+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
97159715+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
97169716+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
97179717+then :
97189718+ printf %s "(cached) " >&6
97199719+else $as_nop
93599720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93609721/* end confdefs.h. */
93619722int i;
93629723_ACEOF
93639363-if ac_fn_c_try_compile "$LINENO"; then :
97249724+if ac_fn_c_try_compile "$LINENO"
97259725+then :
93649726 xorg_cv_cc_flag_unused_command_line_argument=yes
93659365-else
97279727+else $as_nop
93669728 xorg_cv_cc_flag_unused_command_line_argument=no
93679729fi
93689368-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97309730+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
93699731fi
93709370-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
93719371-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
97329732+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
97339733+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
93729734 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
93739735 CFLAGS="$xorg_testset_save_CFLAGS"
93749736fi
···9386974893879749 CFLAGS="$CFLAGS -Wwrite-strings"
9388975093899389- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
93909390-$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
97519751+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
97529752+printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
93919753 cacheid=xorg_cv_cc_flag__Wwrite_strings
93929392- if eval \${$cacheid+:} false; then :
93939393- $as_echo_n "(cached) " >&6
93949394-else
97549754+ if eval test \${$cacheid+y}
97559755+then :
97569756+ printf %s "(cached) " >&6
97579757+else $as_nop
93959758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93969759/* end confdefs.h. */
93979760int i;
93989761int
93999399-main ()
97629762+main (void)
94009763{
9401976494029765 ;
94039766 return 0;
94049767}
94059768_ACEOF
94069406-if ac_fn_c_try_link "$LINENO"; then :
97699769+if ac_fn_c_try_link "$LINENO"
97709770+then :
94079771 eval $cacheid=yes
94089408-else
97729772+else $as_nop
94099773 eval $cacheid=no
94109774fi
94119411-rm -f core conftest.err conftest.$ac_objext \
97759775+rm -f core conftest.err conftest.$ac_objext conftest.beam \
94129776 conftest$ac_exeext conftest.$ac_ext
94139777fi
94149778···94169780 CFLAGS="$xorg_testset_save_CFLAGS"
9417978194189782 eval supported=\$$cacheid
94199419- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
94209420-$as_echo "$supported" >&6; }
97839783+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
97849784+printf "%s\n" "$supported" >&6; }
94219785 if test "$supported" = "yes" ; then
94229786 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
94239787 found="yes"
···9442980694439807if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
94449808 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
94459445- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
94469446-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
94479447-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
94489448- $as_echo_n "(cached) " >&6
94499449-else
98099809+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
98109810+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
98119811+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
98129812+then :
98139813+ printf %s "(cached) " >&6
98149814+else $as_nop
94509815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94519816/* end confdefs.h. */
94529817int i;
94539818_ACEOF
94549454-if ac_fn_c_try_compile "$LINENO"; then :
98199819+if ac_fn_c_try_compile "$LINENO"
98209820+then :
94559821 xorg_cv_cc_flag_unknown_warning_option=yes
94569456-else
98229822+else $as_nop
94579823 xorg_cv_cc_flag_unknown_warning_option=no
94589824fi
94599459-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98259825+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
94609826fi
94619461-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
94629462-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
98279827+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
98289828+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
94639829 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
94649830 CFLAGS="$xorg_testset_save_CFLAGS"
94659831fi
···94699835 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
94709836 fi
94719837 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
94729472- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
94739473-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
94749474-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
94759475- $as_echo_n "(cached) " >&6
94769476-else
98389838+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
98399839+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
98409840+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
98419841+then :
98429842+ printf %s "(cached) " >&6
98439843+else $as_nop
94779844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94789845/* end confdefs.h. */
94799846int i;
94809847_ACEOF
94819481-if ac_fn_c_try_compile "$LINENO"; then :
98489848+if ac_fn_c_try_compile "$LINENO"
98499849+then :
94829850 xorg_cv_cc_flag_unused_command_line_argument=yes
94839483-else
98519851+else $as_nop
94849852 xorg_cv_cc_flag_unused_command_line_argument=no
94859853fi
94869486-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98549854+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
94879855fi
94889488-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
94899489-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
98569856+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
98579857+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
94909858 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
94919859 CFLAGS="$xorg_testset_save_CFLAGS"
94929860fi
···9504987295059873 CFLAGS="$CFLAGS -Waddress"
9506987495079507- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
95089508-$as_echo_n "checking if $CC supports -Waddress... " >&6; }
98759875+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
98769876+printf %s "checking if $CC supports -Waddress... " >&6; }
95099877 cacheid=xorg_cv_cc_flag__Waddress
95109510- if eval \${$cacheid+:} false; then :
95119511- $as_echo_n "(cached) " >&6
95129512-else
98789878+ if eval test \${$cacheid+y}
98799879+then :
98809880+ printf %s "(cached) " >&6
98819881+else $as_nop
95139882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95149883/* end confdefs.h. */
95159884int i;
95169885int
95179517-main ()
98869886+main (void)
95189887{
9519988895209889 ;
95219890 return 0;
95229891}
95239892_ACEOF
95249524-if ac_fn_c_try_link "$LINENO"; then :
98939893+if ac_fn_c_try_link "$LINENO"
98949894+then :
95259895 eval $cacheid=yes
95269526-else
98969896+else $as_nop
95279897 eval $cacheid=no
95289898fi
95299529-rm -f core conftest.err conftest.$ac_objext \
98999899+rm -f core conftest.err conftest.$ac_objext conftest.beam \
95309900 conftest$ac_exeext conftest.$ac_ext
95319901fi
95329902···95349904 CFLAGS="$xorg_testset_save_CFLAGS"
9535990595369906 eval supported=\$$cacheid
95379537- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
95389538-$as_echo "$supported" >&6; }
99079907+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
99089908+printf "%s\n" "$supported" >&6; }
95399909 if test "$supported" = "yes" ; then
95409910 BASE_CFLAGS="$BASE_CFLAGS -Waddress"
95419911 found="yes"
···9560993095619931if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
95629932 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
95639563- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
95649564-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
95659565-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
95669566- $as_echo_n "(cached) " >&6
95679567-else
99339933+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
99349934+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
99359935+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
99369936+then :
99379937+ printf %s "(cached) " >&6
99389938+else $as_nop
95689939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95699940/* end confdefs.h. */
95709941int i;
95719942_ACEOF
95729572-if ac_fn_c_try_compile "$LINENO"; then :
99439943+if ac_fn_c_try_compile "$LINENO"
99449944+then :
95739945 xorg_cv_cc_flag_unknown_warning_option=yes
95749574-else
99469946+else $as_nop
95759947 xorg_cv_cc_flag_unknown_warning_option=no
95769948fi
95779577-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99499949+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
95789950fi
95799579-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
95809580-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
99519951+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
99529952+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
95819953 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
95829954 CFLAGS="$xorg_testset_save_CFLAGS"
95839955fi
···95879959 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
95889960 fi
95899961 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
95909590- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
95919591-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
95929592-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
95939593- $as_echo_n "(cached) " >&6
95949594-else
99629962+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
99639963+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
99649964+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
99659965+then :
99669966+ printf %s "(cached) " >&6
99679967+else $as_nop
95959968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95969969/* end confdefs.h. */
95979970int i;
95989971_ACEOF
95999599-if ac_fn_c_try_compile "$LINENO"; then :
99729972+if ac_fn_c_try_compile "$LINENO"
99739973+then :
96009974 xorg_cv_cc_flag_unused_command_line_argument=yes
96019601-else
99759975+else $as_nop
96029976 xorg_cv_cc_flag_unused_command_line_argument=no
96039977fi
96049604-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99789978+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
96059979fi
96069606-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
96079607-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
99809980+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
99819981+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
96089982 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
96099983 CFLAGS="$xorg_testset_save_CFLAGS"
96109984fi
···9622999696239997 CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9624999896259625- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
96269626-$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
99999999+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
1000010000+printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
962710001 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
96289628- if eval \${$cacheid+:} false; then :
96299629- $as_echo_n "(cached) " >&6
96309630-else
1000210002+ if eval test \${$cacheid+y}
1000310003+then :
1000410004+ printf %s "(cached) " >&6
1000510005+else $as_nop
963110006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
963210007/* end confdefs.h. */
963310008int i;
963410009int
96359635-main ()
1001010010+main (void)
963610011{
963710012963810013 ;
963910014 return 0;
964010015}
964110016_ACEOF
96429642-if ac_fn_c_try_link "$LINENO"; then :
1001710017+if ac_fn_c_try_link "$LINENO"
1001810018+then :
964310019 eval $cacheid=yes
96449644-else
1002010020+else $as_nop
964510021 eval $cacheid=no
964610022fi
96479647-rm -f core conftest.err conftest.$ac_objext \
1002310023+rm -f core conftest.err conftest.$ac_objext conftest.beam \
964810024 conftest$ac_exeext conftest.$ac_ext
964910025fi
965010026···965210028 CFLAGS="$xorg_testset_save_CFLAGS"
965310029965410030 eval supported=\$$cacheid
96559655- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
96569656-$as_echo "$supported" >&6; }
1003110031+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1003210032+printf "%s\n" "$supported" >&6; }
965710033 if test "$supported" = "yes" ; then
965810034 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
965910035 found="yes"
···967810054967910055if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
968010056 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
96819681- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
96829682-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
96839683-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
96849684- $as_echo_n "(cached) " >&6
96859685-else
1005710057+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1005810058+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1005910059+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1006010060+then :
1006110061+ printf %s "(cached) " >&6
1006210062+else $as_nop
968610063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
968710064/* end confdefs.h. */
968810065int i;
968910066_ACEOF
96909690-if ac_fn_c_try_compile "$LINENO"; then :
1006710067+if ac_fn_c_try_compile "$LINENO"
1006810068+then :
969110069 xorg_cv_cc_flag_unknown_warning_option=yes
96929692-else
1007010070+else $as_nop
969310071 xorg_cv_cc_flag_unknown_warning_option=no
969410072fi
96959695-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1007310073+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
969610074fi
96979697-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
96989698-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1007510075+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1007610076+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
969910077 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
970010078 CFLAGS="$xorg_testset_save_CFLAGS"
970110079fi
···970510083 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
970610084 fi
970710085 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
97089708- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
97099709-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
97109710-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
97119711- $as_echo_n "(cached) " >&6
97129712-else
1008610086+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1008710087+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1008810088+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1008910089+then :
1009010090+ printf %s "(cached) " >&6
1009110091+else $as_nop
971310092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
971410093/* end confdefs.h. */
971510094int i;
971610095_ACEOF
97179717-if ac_fn_c_try_compile "$LINENO"; then :
1009610096+if ac_fn_c_try_compile "$LINENO"
1009710097+then :
971810098 xorg_cv_cc_flag_unused_command_line_argument=yes
97199719-else
1009910099+else $as_nop
972010100 xorg_cv_cc_flag_unused_command_line_argument=no
972110101fi
97229722-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1010210102+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
972310103fi
97249724-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
97259725-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1010410104+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1010510105+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
972610106 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
972710107 CFLAGS="$xorg_testset_save_CFLAGS"
972810108fi
···974010120974110121 CFLAGS="$CFLAGS -Wpointer-to-int-cast"
97421012297439743- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
97449744-$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
1012310123+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
1012410124+printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
974510125 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
97469746- if eval \${$cacheid+:} false; then :
97479747- $as_echo_n "(cached) " >&6
97489748-else
1012610126+ if eval test \${$cacheid+y}
1012710127+then :
1012810128+ printf %s "(cached) " >&6
1012910129+else $as_nop
974910130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
975010131/* end confdefs.h. */
975110132int i;
975210133int
97539753-main ()
1013410134+main (void)
975410135{
975510136975610137 ;
975710138 return 0;
975810139}
975910140_ACEOF
97609760-if ac_fn_c_try_link "$LINENO"; then :
1014110141+if ac_fn_c_try_link "$LINENO"
1014210142+then :
976110143 eval $cacheid=yes
97629762-else
1014410144+else $as_nop
976310145 eval $cacheid=no
976410146fi
97659765-rm -f core conftest.err conftest.$ac_objext \
1014710147+rm -f core conftest.err conftest.$ac_objext conftest.beam \
976610148 conftest$ac_exeext conftest.$ac_ext
976710149fi
976810150···977010152 CFLAGS="$xorg_testset_save_CFLAGS"
977110153977210154 eval supported=\$$cacheid
97739773- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
97749774-$as_echo "$supported" >&6; }
1015510155+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1015610156+printf "%s\n" "$supported" >&6; }
977510157 if test "$supported" = "yes" ; then
977610158 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
977710159 found="yes"
···980010182980110183980210184# Check whether --enable-strict-compilation was given.
98039803-if test "${enable_strict_compilation+set}" = set; then :
1018510185+if test ${enable_strict_compilation+y}
1018610186+then :
980410187 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
98059805-else
1018810188+else $as_nop
980610189 STRICT_COMPILE=no
980710190fi
980810191···982910212983010213if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
983110214 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
98329832- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
98339833-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
98349834-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
98359835- $as_echo_n "(cached) " >&6
98369836-else
1021510215+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1021610216+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1021710217+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1021810218+then :
1021910219+ printf %s "(cached) " >&6
1022010220+else $as_nop
983710221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
983810222/* end confdefs.h. */
983910223int i;
984010224_ACEOF
98419841-if ac_fn_c_try_compile "$LINENO"; then :
1022510225+if ac_fn_c_try_compile "$LINENO"
1022610226+then :
984210227 xorg_cv_cc_flag_unknown_warning_option=yes
98439843-else
1022810228+else $as_nop
984410229 xorg_cv_cc_flag_unknown_warning_option=no
984510230fi
98469846-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1023110231+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
984710232fi
98489848-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
98499849-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1023310233+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1023410234+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
985010235 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
985110236 CFLAGS="$xorg_testset_save_CFLAGS"
985210237fi
···985610241 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
985710242 fi
985810243 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
98599859- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
98609860-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
98619861-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
98629862- $as_echo_n "(cached) " >&6
98639863-else
1024410244+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1024510245+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1024610246+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1024710247+then :
1024810248+ printf %s "(cached) " >&6
1024910249+else $as_nop
986410250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
986510251/* end confdefs.h. */
986610252int i;
986710253_ACEOF
98689868-if ac_fn_c_try_compile "$LINENO"; then :
1025410254+if ac_fn_c_try_compile "$LINENO"
1025510255+then :
986910256 xorg_cv_cc_flag_unused_command_line_argument=yes
98709870-else
1025710257+else $as_nop
987110258 xorg_cv_cc_flag_unused_command_line_argument=no
987210259fi
98739873-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1026010260+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
987410261fi
98759875-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
98769876-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1026210262+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1026310263+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
987710264 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
987810265 CFLAGS="$xorg_testset_save_CFLAGS"
987910266fi
···989110278989210279 CFLAGS="$CFLAGS -pedantic"
98931028098949894- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
98959895-$as_echo_n "checking if $CC supports -pedantic... " >&6; }
1028110281+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
1028210282+printf %s "checking if $CC supports -pedantic... " >&6; }
989610283 cacheid=xorg_cv_cc_flag__pedantic
98979897- if eval \${$cacheid+:} false; then :
98989898- $as_echo_n "(cached) " >&6
98999899-else
1028410284+ if eval test \${$cacheid+y}
1028510285+then :
1028610286+ printf %s "(cached) " >&6
1028710287+else $as_nop
990010288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
990110289/* end confdefs.h. */
990210290int i;
990310291int
99049904-main ()
1029210292+main (void)
990510293{
990610294990710295 ;
990810296 return 0;
990910297}
991010298_ACEOF
99119911-if ac_fn_c_try_link "$LINENO"; then :
1029910299+if ac_fn_c_try_link "$LINENO"
1030010300+then :
991210301 eval $cacheid=yes
99139913-else
1030210302+else $as_nop
991410303 eval $cacheid=no
991510304fi
99169916-rm -f core conftest.err conftest.$ac_objext \
1030510305+rm -f core conftest.err conftest.$ac_objext conftest.beam \
991710306 conftest$ac_exeext conftest.$ac_ext
991810307fi
991910308···992110310 CFLAGS="$xorg_testset_save_CFLAGS"
992210311992310312 eval supported=\$$cacheid
99249924- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
99259925-$as_echo "$supported" >&6; }
1031310313+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1031410314+printf "%s\n" "$supported" >&6; }
992610315 if test "$supported" = "yes" ; then
992710316 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
992810317 found="yes"
···994710336994810337if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
994910338 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
99509950- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
99519951-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
99529952-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
99539953- $as_echo_n "(cached) " >&6
99549954-else
1033910339+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1034010340+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1034110341+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1034210342+then :
1034310343+ printf %s "(cached) " >&6
1034410344+else $as_nop
995510345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
995610346/* end confdefs.h. */
995710347int i;
995810348_ACEOF
99599959-if ac_fn_c_try_compile "$LINENO"; then :
1034910349+if ac_fn_c_try_compile "$LINENO"
1035010350+then :
996010351 xorg_cv_cc_flag_unknown_warning_option=yes
99619961-else
1035210352+else $as_nop
996210353 xorg_cv_cc_flag_unknown_warning_option=no
996310354fi
99649964-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1035510355+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
996510356fi
99669966-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
99679967-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1035710357+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1035810358+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
996810359 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
996910360 CFLAGS="$xorg_testset_save_CFLAGS"
997010361fi
···997410365 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
997510366 fi
997610367 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
99779977- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
99789978-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
99799979-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
99809980- $as_echo_n "(cached) " >&6
99819981-else
1036810368+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1036910369+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1037010370+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1037110371+then :
1037210372+ printf %s "(cached) " >&6
1037310373+else $as_nop
998210374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
998310375/* end confdefs.h. */
998410376int i;
998510377_ACEOF
99869986-if ac_fn_c_try_compile "$LINENO"; then :
1037810378+if ac_fn_c_try_compile "$LINENO"
1037910379+then :
998710380 xorg_cv_cc_flag_unused_command_line_argument=yes
99889988-else
1038110381+else $as_nop
998910382 xorg_cv_cc_flag_unused_command_line_argument=no
999010383fi
99919991-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1038410384+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
999210385fi
99939993-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
99949994-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1038610386+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1038710387+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
999510388 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
999610389 CFLAGS="$xorg_testset_save_CFLAGS"
999710390fi
···10009104021001010403 CFLAGS="$CFLAGS -Werror"
10011104041001210012- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
1001310013-$as_echo_n "checking if $CC supports -Werror... " >&6; }
1040510405+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
1040610406+printf %s "checking if $CC supports -Werror... " >&6; }
1001410407 cacheid=xorg_cv_cc_flag__Werror
1001510015- if eval \${$cacheid+:} false; then :
1001610016- $as_echo_n "(cached) " >&6
1001710017-else
1040810408+ if eval test \${$cacheid+y}
1040910409+then :
1041010410+ printf %s "(cached) " >&6
1041110411+else $as_nop
1001810412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1001910413/* end confdefs.h. */
1002010414int i;
1002110415int
1002210022-main ()
1041610416+main (void)
1002310417{
10024104181002510419 ;
1002610420 return 0;
1002710421}
1002810422_ACEOF
1002910029-if ac_fn_c_try_link "$LINENO"; then :
1042310423+if ac_fn_c_try_link "$LINENO"
1042410424+then :
1003010425 eval $cacheid=yes
1003110031-else
1042610426+else $as_nop
1003210427 eval $cacheid=no
1003310428fi
1003410034-rm -f core conftest.err conftest.$ac_objext \
1042910429+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1003510430 conftest$ac_exeext conftest.$ac_ext
1003610431fi
1003710432···1003910434 CFLAGS="$xorg_testset_save_CFLAGS"
10040104351004110436 eval supported=\$$cacheid
1004210042- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1004310043-$as_echo "$supported" >&6; }
1043710437+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1043810438+printf "%s\n" "$supported" >&6; }
1004410439 if test "$supported" = "yes" ; then
1004510440 STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
1004610441 found="yes"
···10058104531005910454 CFLAGS="$CFLAGS -errwarn"
10060104551006110061- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
1006210062-$as_echo_n "checking if $CC supports -errwarn... " >&6; }
1045610456+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
1045710457+printf %s "checking if $CC supports -errwarn... " >&6; }
1006310458 cacheid=xorg_cv_cc_flag__errwarn
1006410064- if eval \${$cacheid+:} false; then :
1006510065- $as_echo_n "(cached) " >&6
1006610066-else
1045910459+ if eval test \${$cacheid+y}
1046010460+then :
1046110461+ printf %s "(cached) " >&6
1046210462+else $as_nop
1006710463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1006810464/* end confdefs.h. */
1006910465int i;
1007010466int
1007110071-main ()
1046710467+main (void)
1007210468{
10073104691007410470 ;
1007510471 return 0;
1007610472}
1007710473_ACEOF
1007810078-if ac_fn_c_try_link "$LINENO"; then :
1047410474+if ac_fn_c_try_link "$LINENO"
1047510475+then :
1007910476 eval $cacheid=yes
1008010080-else
1047710477+else $as_nop
1008110478 eval $cacheid=no
1008210479fi
1008310083-rm -f core conftest.err conftest.$ac_objext \
1048010480+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1008410481 conftest$ac_exeext conftest.$ac_ext
1008510482fi
1008610483···1008810485 CFLAGS="$xorg_testset_save_CFLAGS"
10089104861009010487 eval supported=\$$cacheid
1009110091- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1009210092-$as_echo "$supported" >&6; }
1048810488+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1048910489+printf "%s\n" "$supported" >&6; }
1009310490 if test "$supported" = "yes" ; then
1009410491 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
1009510492 found="yes"
···10117105141011810515if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
1011910516 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
1012010120- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1012110121-$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1012210122-if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
1012310123- $as_echo_n "(cached) " >&6
1012410124-else
1051710517+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
1051810518+printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
1051910519+if test ${xorg_cv_cc_flag_unknown_warning_option+y}
1052010520+then :
1052110521+ printf %s "(cached) " >&6
1052210522+else $as_nop
1012510523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1012610524/* end confdefs.h. */
1012710525int i;
1012810526_ACEOF
1012910129-if ac_fn_c_try_compile "$LINENO"; then :
1052710527+if ac_fn_c_try_compile "$LINENO"
1052810528+then :
1013010529 xorg_cv_cc_flag_unknown_warning_option=yes
1013110131-else
1053010530+else $as_nop
1013210531 xorg_cv_cc_flag_unknown_warning_option=no
1013310532fi
1013410134-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1053310533+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1013510534fi
1013610136-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1013710137-$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1053510535+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
1053610536+printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
1013810537 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
1013910538 CFLAGS="$xorg_testset_save_CFLAGS"
1014010539fi
···1014410543 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
1014510544 fi
1014610545 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
1014710147- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1014810148-$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1014910149-if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
1015010150- $as_echo_n "(cached) " >&6
1015110151-else
1054610546+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
1054710547+printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
1054810548+if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
1054910549+then :
1055010550+ printf %s "(cached) " >&6
1055110551+else $as_nop
1015210552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1015310553/* end confdefs.h. */
1015410554int i;
1015510555_ACEOF
1015610156-if ac_fn_c_try_compile "$LINENO"; then :
1055610556+if ac_fn_c_try_compile "$LINENO"
1055710557+then :
1015710558 xorg_cv_cc_flag_unused_command_line_argument=yes
1015810158-else
1055910559+else $as_nop
1015910560 xorg_cv_cc_flag_unused_command_line_argument=no
1016010561fi
1016110161-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1056210562+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1016210563fi
1016310163-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1016410164-$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1056410564+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
1056510565+printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
1016510566 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
1016610567 CFLAGS="$xorg_testset_save_CFLAGS"
1016710568fi
···10179105801018010581 CFLAGS="$CFLAGS -Werror=attributes"
10181105821018210182- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
1018310183-$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
1058310583+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
1058410584+printf %s "checking if $CC supports -Werror=attributes... " >&6; }
1018410585 cacheid=xorg_cv_cc_flag__Werror_attributes
1018510185- if eval \${$cacheid+:} false; then :
1018610186- $as_echo_n "(cached) " >&6
1018710187-else
1058610586+ if eval test \${$cacheid+y}
1058710587+then :
1058810588+ printf %s "(cached) " >&6
1058910589+else $as_nop
1018810590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1018910591/* end confdefs.h. */
1019010592int i;
1019110593int
1019210192-main ()
1059410594+main (void)
1019310595{
10194105961019510597 ;
1019610598 return 0;
1019710599}
1019810600_ACEOF
1019910199-if ac_fn_c_try_link "$LINENO"; then :
1060110601+if ac_fn_c_try_link "$LINENO"
1060210602+then :
1020010603 eval $cacheid=yes
1020110201-else
1060410604+else $as_nop
1020210605 eval $cacheid=no
1020310606fi
1020410204-rm -f core conftest.err conftest.$ac_objext \
1060710607+rm -f core conftest.err conftest.$ac_objext conftest.beam \
1020510608 conftest$ac_exeext conftest.$ac_ext
1020610609fi
1020710610···1020910612 CFLAGS="$xorg_testset_save_CFLAGS"
10210106131021110614 eval supported=\$$cacheid
1021210212- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1021310213-$as_echo "$supported" >&6; }
1061510615+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
1061610616+printf "%s\n" "$supported" >&6; }
1021410617 if test "$supported" = "yes" ; then
1021510618 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
1021610619 found="yes"
···1022910632102301063310231106341063510635+1063610636+1023210637cat >>confdefs.h <<_ACEOF
1023310638#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
1023410639_ACEOF
···1023810643 PVM="0"
1023910644 fi
10240106451024110241-cat >>confdefs.h <<_ACEOF
1024210242-#define PACKAGE_VERSION_MINOR $PVM
1024310243-_ACEOF
1064610646+printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
10244106471024510648 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
1024610649 if test "x$PVP" = "x"; then
1024710650 PVP="0"
1024810651 fi
10249106521025010250-cat >>confdefs.h <<_ACEOF
1025110251-#define PACKAGE_VERSION_PATCHLEVEL $PVP
1025210252-_ACEOF
1065310653+printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
102531065410254106551025510656···1027910680 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
1028010681 # check for a man page file found in later versions that use
1028110682 # traditional section numbers instead
1028210282- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
1028310283-$as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
1028410284-if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
1028510285- $as_echo_n "(cached) " >&6
1028610286-else
1068310683+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
1068410684+printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
1068510685+if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
1068610686+then :
1068710687+ printf %s "(cached) " >&6
1068810688+else $as_nop
1028710689 test "$cross_compiling" = yes &&
1028810690 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
1028910691if test -r "/usr/share/man/man7/attributes.7"; then
···1029210694 ac_cv_file__usr_share_man_man7_attributes_7=no
1029310695fi
1029410696fi
1029510295-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
1029610296-$as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
1029710297-if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
1069710697+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
1069810698+printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
1069910699+if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
1070010700+then :
1029810701 SYSV_MAN_SECTIONS=false
1029910299-else
1070210702+else $as_nop
1030010703 SYSV_MAN_SECTIONS=true
1030110704fi
1030210705···103911079410392107951039310796# Check whether --enable-silent-rules was given.
1039410394-if test "${enable_silent_rules+set}" = set; then :
1079710797+if test ${enable_silent_rules+y}
1079810798+then :
1039510799 enableval=$enable_silent_rules;
1039610800fi
1039710801···1040110805 *) AM_DEFAULT_VERBOSITY=0;;
1040210806esac
1040310807am_make=${MAKE-make}
1040410404-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
1040510405-$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
1040610406-if ${am_cv_make_support_nested_variables+:} false; then :
1040710407- $as_echo_n "(cached) " >&6
1040810408-else
1040910409- if $as_echo 'TRUE=$(BAR$(V))
1080810808+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
1080910809+printf %s "checking whether $am_make supports nested variables... " >&6; }
1081010810+if test ${am_cv_make_support_nested_variables+y}
1081110811+then :
1081210812+ printf %s "(cached) " >&6
1081310813+else $as_nop
1081410814+ if printf "%s\n" 'TRUE=$(BAR$(V))
1041010815BAR0=false
1041110816BAR1=true
1041210817V=1
···1041810823 am_cv_make_support_nested_variables=no
1041910824fi
1042010825fi
1042110421-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
1042210422-$as_echo "$am_cv_make_support_nested_variables" >&6; }
1082610826+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
1082710827+printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
1042310828if test $am_cv_make_support_nested_variables = yes; then
1042410829 AM_V='$(V)'
1042510830 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
···1043110836104321083710433108381083910839+1084010840+# Checks for typedefs, structures, and compiler characteristics.
1084110841+# Check whether --enable-largefile was given.
1084210842+if test ${enable_largefile+y}
1084310843+then :
1084410844+ enableval=$enable_largefile;
1084510845+fi
1084610846+1084710847+if test "$enable_largefile" != no; then
1084810848+1084910849+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
1085010850+printf %s "checking for special C compiler options needed for large files... " >&6; }
1085110851+if test ${ac_cv_sys_largefile_CC+y}
1085210852+then :
1085310853+ printf %s "(cached) " >&6
1085410854+else $as_nop
1085510855+ ac_cv_sys_largefile_CC=no
1085610856+ if test "$GCC" != yes; then
1085710857+ ac_save_CC=$CC
1085810858+ while :; do
1085910859+ # IRIX 6.2 and later do not support large files by default,
1086010860+ # so use the C compiler's -n32 option if that helps.
1086110861+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1086210862+/* end confdefs.h. */
1086310863+#include <sys/types.h>
1086410864+ /* Check that off_t can represent 2**63 - 1 correctly.
1086510865+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
1086610866+ since some C++ compilers masquerading as C compilers
1086710867+ incorrectly reject 9223372036854775807. */
1086810868+#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1086910869+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1087010870+ && LARGE_OFF_T % 2147483647 == 1)
1087110871+ ? 1 : -1];
1087210872+int
1087310873+main (void)
1087410874+{
1087510875+1087610876+ ;
1087710877+ return 0;
1087810878+}
1087910879+_ACEOF
1088010880+ if ac_fn_c_try_compile "$LINENO"
1088110881+then :
1088210882+ break
1088310883+fi
1088410884+rm -f core conftest.err conftest.$ac_objext conftest.beam
1088510885+ CC="$CC -n32"
1088610886+ if ac_fn_c_try_compile "$LINENO"
1088710887+then :
1088810888+ ac_cv_sys_largefile_CC=' -n32'; break
1088910889+fi
1089010890+rm -f core conftest.err conftest.$ac_objext conftest.beam
1089110891+ break
1089210892+ done
1089310893+ CC=$ac_save_CC
1089410894+ rm -f conftest.$ac_ext
1089510895+ fi
1089610896+fi
1089710897+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
1089810898+printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
1089910899+ if test "$ac_cv_sys_largefile_CC" != no; then
1090010900+ CC=$CC$ac_cv_sys_largefile_CC
1090110901+ fi
1090210902+1090310903+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
1090410904+printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
1090510905+if test ${ac_cv_sys_file_offset_bits+y}
1090610906+then :
1090710907+ printf %s "(cached) " >&6
1090810908+else $as_nop
1090910909+ while :; do
1091010910+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1091110911+/* end confdefs.h. */
1091210912+#include <sys/types.h>
1091310913+ /* Check that off_t can represent 2**63 - 1 correctly.
1091410914+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
1091510915+ since some C++ compilers masquerading as C compilers
1091610916+ incorrectly reject 9223372036854775807. */
1091710917+#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1091810918+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1091910919+ && LARGE_OFF_T % 2147483647 == 1)
1092010920+ ? 1 : -1];
1092110921+int
1092210922+main (void)
1092310923+{
1092410924+1092510925+ ;
1092610926+ return 0;
1092710927+}
1092810928+_ACEOF
1092910929+if ac_fn_c_try_compile "$LINENO"
1093010930+then :
1093110931+ ac_cv_sys_file_offset_bits=no; break
1093210932+fi
1093310933+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1093410934+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1093510935+/* end confdefs.h. */
1093610936+#define _FILE_OFFSET_BITS 64
1093710937+#include <sys/types.h>
1093810938+ /* Check that off_t can represent 2**63 - 1 correctly.
1093910939+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
1094010940+ since some C++ compilers masquerading as C compilers
1094110941+ incorrectly reject 9223372036854775807. */
1094210942+#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1094310943+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1094410944+ && LARGE_OFF_T % 2147483647 == 1)
1094510945+ ? 1 : -1];
1094610946+int
1094710947+main (void)
1094810948+{
1094910949+1095010950+ ;
1095110951+ return 0;
1095210952+}
1095310953+_ACEOF
1095410954+if ac_fn_c_try_compile "$LINENO"
1095510955+then :
1095610956+ ac_cv_sys_file_offset_bits=64; break
1095710957+fi
1095810958+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1095910959+ ac_cv_sys_file_offset_bits=unknown
1096010960+ break
1096110961+done
1096210962+fi
1096310963+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
1096410964+printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
1096510965+case $ac_cv_sys_file_offset_bits in #(
1096610966+ no | unknown) ;;
1096710967+ *)
1096810968+printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
1096910969+;;
1097010970+esac
1097110971+rm -rf conftest*
1097210972+ if test $ac_cv_sys_file_offset_bits = unknown; then
1097310973+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
1097410974+printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
1097510975+if test ${ac_cv_sys_large_files+y}
1097610976+then :
1097710977+ printf %s "(cached) " >&6
1097810978+else $as_nop
1097910979+ while :; do
1098010980+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1098110981+/* end confdefs.h. */
1098210982+#include <sys/types.h>
1098310983+ /* Check that off_t can represent 2**63 - 1 correctly.
1098410984+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
1098510985+ since some C++ compilers masquerading as C compilers
1098610986+ incorrectly reject 9223372036854775807. */
1098710987+#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1098810988+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1098910989+ && LARGE_OFF_T % 2147483647 == 1)
1099010990+ ? 1 : -1];
1099110991+int
1099210992+main (void)
1099310993+{
1099410994+1099510995+ ;
1099610996+ return 0;
1099710997+}
1099810998+_ACEOF
1099910999+if ac_fn_c_try_compile "$LINENO"
1100011000+then :
1100111001+ ac_cv_sys_large_files=no; break
1100211002+fi
1100311003+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1100411004+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1100511005+/* end confdefs.h. */
1100611006+#define _LARGE_FILES 1
1100711007+#include <sys/types.h>
1100811008+ /* Check that off_t can represent 2**63 - 1 correctly.
1100911009+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
1101011010+ since some C++ compilers masquerading as C compilers
1101111011+ incorrectly reject 9223372036854775807. */
1101211012+#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
1101311013+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1101411014+ && LARGE_OFF_T % 2147483647 == 1)
1101511015+ ? 1 : -1];
1101611016+int
1101711017+main (void)
1101811018+{
1101911019+1102011020+ ;
1102111021+ return 0;
1102211022+}
1102311023+_ACEOF
1102411024+if ac_fn_c_try_compile "$LINENO"
1102511025+then :
1102611026+ ac_cv_sys_large_files=1; break
1102711027+fi
1102811028+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1102911029+ ac_cv_sys_large_files=unknown
1103011030+ break
1103111031+done
1103211032+fi
1103311033+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
1103411034+printf "%s\n" "$ac_cv_sys_large_files" >&6; }
1103511035+case $ac_cv_sys_large_files in #(
1103611036+ no | unknown) ;;
1103711037+ *)
1103811038+printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
1103911039+;;
1104011040+esac
1104111041+rm -rf conftest*
1104211042+ fi
1104311043+fi
1104411044+1104511045+1043411046# Checks for pkg-config packages
10435110471043611048pkg_failed=no
1043710437-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmuu x11 xproto >= 7.0.25" >&5
1043810438-$as_echo_n "checking for xmuu x11 xproto >= 7.0.25... " >&6; }
1104911049+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmuu x11 xproto >= 7.0.25" >&5
1105011050+printf %s "checking for xmuu x11 xproto >= 7.0.25... " >&6; }
10439110511044011052if test -n "$XPR_CFLAGS"; then
1044111053 pkg_cv_XPR_CFLAGS="$XPR_CFLAGS"
1044211054 elif test -n "$PKG_CONFIG"; then
1044311055 if test -n "$PKG_CONFIG" && \
1044410444- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
1105611056+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
1044511057 ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5
1044611058 ac_status=$?
1044710447- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1105911059+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1044811060 test $ac_status = 0; }; then
1044911061 pkg_cv_XPR_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11 xproto >= 7.0.25" 2>/dev/null`
1045011062 test "x$?" != "x0" && pkg_failed=yes
···1045811070 pkg_cv_XPR_LIBS="$XPR_LIBS"
1045911071 elif test -n "$PKG_CONFIG"; then
1046011072 if test -n "$PKG_CONFIG" && \
1046110461- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
1107311073+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5
1046211074 ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5
1046311075 ac_status=$?
1046410464- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1107611076+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1046511077 test $ac_status = 0; }; then
1046611078 pkg_cv_XPR_LIBS=`$PKG_CONFIG --libs "xmuu x11 xproto >= 7.0.25" 2>/dev/null`
1046711079 test "x$?" != "x0" && pkg_failed=yes
···104751108710476110881047711089if test $pkg_failed = yes; then
1047810478- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1047910479-$as_echo "no" >&6; }
1109011090+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1109111091+printf "%s\n" "no" >&6; }
10480110921048111093if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1048211094 _pkg_short_errors_supported=yes
···1050211114and XPR_LIBS to avoid the need to call pkg-config.
1050311115See the pkg-config man page for more details." "$LINENO" 5
1050411116elif test $pkg_failed = untried; then
1050510505- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1050610506-$as_echo "no" >&6; }
1050710507- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1050810508-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1111711117+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1111811118+printf "%s\n" "no" >&6; }
1111911119+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1112011120+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1050911121as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1051011122is in your PATH or set the PKG_CONFIG environment variable to the full
1051111123path to pkg-config.
···1051911131else
1052011132 XPR_CFLAGS=$pkg_cv_XPR_CFLAGS
1052111133 XPR_LIBS=$pkg_cv_XPR_LIBS
1052210522- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1052310523-$as_echo "yes" >&6; }
1113411134+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1113511135+printf "%s\n" "yes" >&6; }
10524111361052511137fi
1052611138···1055311165 case $ac_val in #(
1055411166 *${as_nl}*)
1055511167 case $ac_var in #(
1055610556- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1055710557-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1116811168+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1116911169+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1055811170 esac
1055911171 case $ac_var in #(
1056011172 _ | IFS | as_nl) ;; #(
···1058411196 /^ac_cv_env_/b end
1058511197 t clear
1058611198 :clear
1058710587- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1119911199+ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1058811200 t end
1058911201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1059011202 :end' >>confcache
1059111203if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1059211204 if test -w "$cache_file"; then
1059311205 if test "x$cache_file" != "x/dev/null"; then
1059410594- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1059510595-$as_echo "$as_me: updating cache $cache_file" >&6;}
1120611206+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1120711207+printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1059611208 if test ! -f "$cache_file" || test -h "$cache_file"; then
1059711209 cat confcache >"$cache_file"
1059811210 else
···1060611218 fi
1060711219 fi
1060811220 else
1060910609- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1061010610-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1122111221+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1122211222+printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1061111223 fi
1061211224fi
1061311225rm -f confcache
···1062411236for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1062511237 # 1. Remove the extension, and $U if already installed.
1062611238 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1062710627- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1123911239+ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1062811240 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1062911241 # will be set to the directory where LIBOBJS objects are built.
1063011242 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
···1063511247LTLIBOBJS=$ac_ltlibobjs
106361124810637112491063810638-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
1063910639-$as_echo_n "checking that generated files are newer than configure... " >&6; }
1125011250+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
1125111251+printf %s "checking that generated files are newer than configure... " >&6; }
1064011252 if test -n "$am_sleep_pid"; then
1064111253 # Hide warnings about reused PIDs.
1064211254 wait $am_sleep_pid 2>/dev/null
1064311255 fi
1064410644- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
1064510645-$as_echo "done" >&6; }
1125611256+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
1125711257+printf "%s\n" "done" >&6; }
1064611258 if test -n "$EXEEXT"; then
1064711259 am__EXEEXT_TRUE=
1064811260 am__EXEEXT_FALSE='#'
···1065511267 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
1065611268Usually this means the macro was only invoked conditionally." "$LINENO" 5
1065711269fi
1065810658-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1065910659- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
1066010660-Usually this means the macro was only invoked conditionally." "$LINENO" 5
1066110661-fi
1066211270if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1066311271 as_fn_error $? "conditional \"AMDEP\" was never defined.
1066411272Usually this means the macro was only invoked conditionally." "$LINENO" 5
···1067211280ac_write_fail=0
1067311281ac_clean_files_save=$ac_clean_files
1067411282ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1067510675-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1067610676-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1128311283+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1128411284+printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1067711285as_write_fail=0
1067811286cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1067911287#! $SHELL
···10696113041069711305# Be more Bourne compatible
1069811306DUALCASE=1; export DUALCASE # for MKS sh
1069910699-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1130711307+as_nop=:
1130811308+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1130911309+then :
1070011310 emulate sh
1070111311 NULLCMD=:
1070211312 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1070311313 # is contrary to our usage. Disable this feature.
1070411314 alias -g '${1+"$@"}'='"$@"'
1070511315 setopt NO_GLOB_SUBST
1070610706-else
1131611316+else $as_nop
1070711317 case `(set -o) 2>/dev/null` in #(
1070811318 *posix*) :
1070911319 set -o posix ;; #(
···1071111321 ;;
1071211322esac
1071311323fi
1132411324+107141132510715113261132711327+# Reset variables that may have inherited troublesome values from
1132811328+# the environment.
1132911329+1133011330+# IFS needs to be set, to space, tab, and newline, in precisely that order.
1133111331+# (If _AS_PATH_WALK were called with IFS unset, it would have the
1133211332+# side effect of setting IFS to empty, thus disabling word splitting.)
1133311333+# Quoting is to prevent editors from complaining about space-tab.
1071611334as_nl='
1071711335'
1071811336export as_nl
1071910719-# Printing a long string crashes Solaris 7 /usr/bin/printf.
1072010720-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1072110721-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1072210722-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1072310723-# Prefer a ksh shell builtin over an external printf program on Solaris,
1072410724-# but without wasting forks for bash or zsh.
1072510725-if test -z "$BASH_VERSION$ZSH_VERSION" \
1072610726- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1072710727- as_echo='print -r --'
1072810728- as_echo_n='print -rn --'
1072910729-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1073010730- as_echo='printf %s\n'
1073110731- as_echo_n='printf %s'
1073210732-else
1073310733- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1073410734- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1073510735- as_echo_n='/usr/ucb/echo -n'
1073610736- else
1073710737- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1073810738- as_echo_n_body='eval
1073910739- arg=$1;
1074010740- case $arg in #(
1074110741- *"$as_nl"*)
1074210742- expr "X$arg" : "X\\(.*\\)$as_nl";
1074310743- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1074410744- esac;
1074510745- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1074610746- '
1074710747- export as_echo_n_body
1074810748- as_echo_n='sh -c $as_echo_n_body as_echo'
1074910749- fi
1075010750- export as_echo_body
1075110751- as_echo='sh -c $as_echo_body as_echo'
1075210752-fi
1133711337+IFS=" "" $as_nl"
1133811338+1133911339+PS1='$ '
1134011340+PS2='> '
1134111341+PS4='+ '
1134211342+1134311343+# Ensure predictable behavior from utilities with locale-dependent output.
1134411344+LC_ALL=C
1134511345+export LC_ALL
1134611346+LANGUAGE=C
1134711347+export LANGUAGE
1134811348+1134911349+# We cannot yet rely on "unset" to work, but we need these variables
1135011350+# to be unset--not just set to an empty or harmless value--now, to
1135111351+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
1135211352+# also avoids known problems related to "unset" and subshell syntax
1135311353+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
1135411354+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
1135511355+do eval test \${$as_var+y} \
1135611356+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1135711357+done
1135811358+1135911359+# Ensure that fds 0, 1, and 2 are open.
1136011360+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
1136111361+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
1136211362+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
10753113631075411364# The user is always right.
1075510755-if test "${PATH_SEPARATOR+set}" != set; then
1136511365+if ${PATH_SEPARATOR+false} :; then
1075611366 PATH_SEPARATOR=:
1075711367 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1075811368 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
···1076111371fi
107621137210763113731076410764-# IFS
1076510765-# We need space, tab and new line, in precisely that order. Quoting is
1076610766-# there to prevent editors from complaining about space-tab.
1076710767-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1076810768-# splitting by setting IFS to empty value.)
1076910769-IFS=" "" $as_nl"
1077010770-1077111374# Find who we are. Look in the path if we contain no directory separator.
1077211375as_myself=
1077311376case $0 in #((
···1077611379for as_dir in $PATH
1077711380do
1077811381 IFS=$as_save_IFS
1077910779- test -z "$as_dir" && as_dir=.
1078010780- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1138211382+ case $as_dir in #(((
1138311383+ '') as_dir=./ ;;
1138411384+ */) ;;
1138511385+ *) as_dir=$as_dir/ ;;
1138611386+ esac
1138711387+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1078111388 done
1078211389IFS=$as_save_IFS
1078311390···1078911396 as_myself=$0
1079011397fi
1079111398if test ! -f "$as_myself"; then
1079210792- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1139911399+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1079311400 exit 1
1079411401fi
10795114021079610796-# Unset variables that we do not need and which cause bugs (e.g. in
1079710797-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
1079810798-# suppresses any "Segmentation fault" message there. '((' could
1079910799-# trigger a bug in pdksh 5.2.14.
1080010800-for as_var in BASH_ENV ENV MAIL MAILPATH
1080110801-do eval test x\${$as_var+set} = xset \
1080210802- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1080310803-done
1080410804-PS1='$ '
1080510805-PS2='> '
1080610806-PS4='+ '
1080710807-1080810808-# NLS nuisances.
1080910809-LC_ALL=C
1081010810-export LC_ALL
1081110811-LANGUAGE=C
1081210812-export LANGUAGE
1081310813-1081410814-# CDPATH.
1081510815-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
108161140310817114041081811405# as_fn_error STATUS ERROR [LINENO LOG_FD]
···1082511412 as_status=$1; test $as_status -eq 0 && as_status=1
1082611413 if test "$4"; then
1082711414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1082810828- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1141511415+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1082911416 fi
1083010830- $as_echo "$as_me: error: $2" >&2
1141711417+ printf "%s\n" "$as_me: error: $2" >&2
1083111418 as_fn_exit $as_status
1083211419} # as_fn_error
1142011420+108331142110834114221083511423# as_fn_set_status STATUS
···1085811446 { eval $1=; unset $1;}
1085911447}
1086011448as_unset=as_fn_unset
1144911449+1086111450# as_fn_append VAR VALUE
1086211451# ----------------------
1086311452# Append the text in VALUE to the end of the definition contained in VAR. Take
1086411453# advantage of any shell optimizations that allow amortized linear growth over
1086511454# repeated appends, instead of the typical quadratic growth present in naive
1086611455# implementations.
1086710867-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
1145611456+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
1145711457+then :
1086811458 eval 'as_fn_append ()
1086911459 {
1087011460 eval $1+=\$2
1087111461 }'
1087210872-else
1146211462+else $as_nop
1087311463 as_fn_append ()
1087411464 {
1087511465 eval $1=\$$1\$2
···1088111471# Perform arithmetic evaluation on the ARGs, and store the result in the
1088211472# global $as_val. Take advantage of shells that can avoid forks. The arguments
1088311473# must be portable across $(()) and expr.
1088410884-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
1147411474+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
1147511475+then :
1088511476 eval 'as_fn_arith ()
1088611477 {
1088711478 as_val=$(( $* ))
1088811479 }'
1088910889-else
1148011480+else $as_nop
1089011481 as_fn_arith ()
1089111482 {
1089211483 as_val=`expr "$@" || test $? -eq 1`
···1091711508$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1091811509 X"$0" : 'X\(//\)$' \| \
1091911510 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1092010920-$as_echo X/"$0" |
1151111511+printf "%s\n" X/"$0" |
1092111512 sed '/^.*\/\([^/][^/]*\)\/*$/{
1092211513 s//\1/
1092311514 q
···1093911530as_cr_digits='0123456789'
1094011531as_cr_alnum=$as_cr_Letters$as_cr_digits
10941115321153311533+1153411534+# Determine whether it's possible to make 'echo' print without a newline.
1153511535+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
1153611536+# for compatibility with existing Makefiles.
1094211537ECHO_C= ECHO_N= ECHO_T=
1094311538case `echo -n x` in #(((((
1094411539-n*)
···1095211547 ECHO_N='-n';;
1095311548esac
10954115491155011550+# For backward compatibility with old third-party macros, we provide
1155111551+# the shell variables $as_echo and $as_echo_n. New code should use
1155211552+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
1155311553+as_echo='printf %s\n'
1155411554+as_echo_n='printf %s'
1155511555+1095511556rm -f conf$$ conf$$.exe conf$$.file
1095611557if test -d conf$$.dir; then
1095711558 rm -f conf$$.dir/conf$$.file
···1099311594 as_dirs=
1099411595 while :; do
1099511596 case $as_dir in #(
1099610996- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1159711597+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1099711598 *) as_qdir=$as_dir;;
1099811599 esac
1099911600 as_dirs="'$as_qdir' $as_dirs"
···1100211603 X"$as_dir" : 'X\(//\)[^/]' \| \
1100311604 X"$as_dir" : 'X\(//\)$' \| \
1100411605 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1100511005-$as_echo X"$as_dir" |
1160611606+printf "%s\n" X"$as_dir" |
1100611607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1100711608 s//\1/
1100811609 q
···1106411665# report actual input values of CONFIG_FILES etc. instead of their
1106511666# values after options handling.
1106611667ac_log="
1106711067-This file was extended by xpr $as_me 1.0.5, which was
1106811068-generated by GNU Autoconf 2.69. Invocation command line was
1166811668+This file was extended by xpr $as_me 1.2.0, which was
1166911669+generated by GNU Autoconf 2.71. Invocation command line was
11069116701107011671 CONFIG_FILES = $CONFIG_FILES
1107111672 CONFIG_HEADERS = $CONFIG_HEADERS
···1112411725Configuration commands:
1112511726$config_commands
11126117271112711127-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
1172811728+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xpr/-/issues>."
11128117291112911730_ACEOF
1173111731+ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
1173211732+ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1113011733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1113111131-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1173411734+ac_cs_config='$ac_cs_config_escaped'
1113211735ac_cs_version="\\
1113311133-xpr config.status 1.0.5
1113411134-configured by $0, generated by GNU Autoconf 2.69,
1173611736+xpr config.status 1.2.0
1173711737+configured by $0, generated by GNU Autoconf 2.71,
1113511738 with options \\"\$ac_cs_config\\"
11136117391113711137-Copyright (C) 2012 Free Software Foundation, Inc.
1174011740+Copyright (C) 2021 Free Software Foundation, Inc.
1113811741This config.status script is free software; the Free Software Foundation
1113911742gives unlimited permission to copy, distribute and modify it."
1114011743···1117411777 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1117511778 ac_cs_recheck=: ;;
1117611779 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1117711177- $as_echo "$ac_cs_version"; exit ;;
1178011780+ printf "%s\n" "$ac_cs_version"; exit ;;
1117811781 --config | --confi | --conf | --con | --co | --c )
1117911179- $as_echo "$ac_cs_config"; exit ;;
1178211782+ printf "%s\n" "$ac_cs_config"; exit ;;
1118011783 --debug | --debu | --deb | --de | --d | -d )
1118111784 debug=: ;;
1118211785 --file | --fil | --fi | --f )
1118311786 $ac_shift
1118411787 case $ac_optarg in
1118511185- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1178811788+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1118611789 '') as_fn_error $? "missing file argument" ;;
1118711790 esac
1118811791 as_fn_append CONFIG_FILES " '$ac_optarg'"
···1119011793 --header | --heade | --head | --hea )
1119111794 $ac_shift
1119211795 case $ac_optarg in
1119311193- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1179611796+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1119411797 esac
1119511798 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1119611799 ac_need_defaults=false;;
···1119911802 as_fn_error $? "ambiguous option: \`$1'
1120011803Try \`$0 --help' for more information.";;
1120111804 --help | --hel | -h )
1120211202- $as_echo "$ac_cs_usage"; exit ;;
1180511805+ printf "%s\n" "$ac_cs_usage"; exit ;;
1120311806 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120411807 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1120511808 ac_cs_silent=: ;;
···1122711830if \$ac_cs_recheck; then
1122811831 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1122911832 shift
1123011230- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
1183311833+ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1123111834 CONFIG_SHELL='$SHELL'
1123211835 export CONFIG_SHELL
1123311836 exec "\$@"
···1124111844 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1124211845## Running $as_me. ##
1124311846_ASBOX
1124411244- $as_echo "$ac_log"
1184711847+ printf "%s\n" "$ac_log"
1124511848} >&5
11246118491124711850_ACEOF
···1127311876# We use the long form for the default assignment because of an extremely
1127411877# bizarre bug on SunOS 4.1.3.
1127511878if $ac_need_defaults; then
1127611276- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1127711277- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1127811278- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1187911879+ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
1188011880+ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
1188111881+ test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1127911882fi
11280118831128111884# Have a temporary directory for convenience. Make it in the build tree
···1161112214 esac ||
1161212215 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1161312216 esac
1161411614- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1221712217+ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1161512218 as_fn_append ac_file_inputs " '$ac_f'"
1161612219 done
1161712220···1161912222 # use $as_me), people would be surprised to read:
1162012223 # /* config.h. Generated by config.status. */
1162112224 configure_input='Generated from '`
1162211622- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1222512225+ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1162312226 `' by configure.'
1162412227 if test x"$ac_file" != x-; then
1162512228 configure_input="$ac_file. $configure_input"
1162611626- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1162711627-$as_echo "$as_me: creating $ac_file" >&6;}
1222912229+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1223012230+printf "%s\n" "$as_me: creating $ac_file" >&6;}
1162812231 fi
1162912232 # Neutralize special characters interpreted by sed in replacement strings.
1163012233 case $configure_input in #(
1163112234 *\&* | *\|* | *\\* )
1163211632- ac_sed_conf_input=`$as_echo "$configure_input" |
1223512235+ ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1163312236 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1163412237 *) ac_sed_conf_input=$configure_input;;
1163512238 esac
···1164612249 X"$ac_file" : 'X\(//\)[^/]' \| \
1164712250 X"$ac_file" : 'X\(//\)$' \| \
1164812251 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1164911649-$as_echo X"$ac_file" |
1225212252+printf "%s\n" X"$ac_file" |
1165012253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165112254 s//\1/
1165212255 q
···1167012273case "$ac_dir" in
1167112274.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1167212275*)
1167311673- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1227612276+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1167412277 # A ".." for each directory in $ac_dir_suffix.
1167511675- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1227812278+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1167612279 case $ac_top_builddir_sub in
1167712280 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1167812281 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
···1173412337case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1173512338*datarootdir*) ac_datarootdir_seen=yes;;
1173612339*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1173711737- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1173811738-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1234012340+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1234112341+printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1173912342_ACEOF
1174012343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1174112344 ac_datarootdir_hack='
···1177912382 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1178012383 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1178112384 "$ac_tmp/out"`; test -z "$ac_out"; } &&
1178211782- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1238512385+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1178312386which seems to be undefined. Please make sure it is defined" >&5
1178411784-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1238712387+printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1178512388which seems to be undefined. Please make sure it is defined" >&2;}
11786123891178712390 rm -f "$ac_tmp/stdin"
···1179712400 #
1179812401 if test x"$ac_file" != x-; then
1179912402 {
1180011800- $as_echo "/* $configure_input */" \
1240312403+ printf "%s\n" "/* $configure_input */" >&1 \
1180112404 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1180212405 } >"$ac_tmp/config.h" \
1180312406 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1180412407 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1180511805- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1180611806-$as_echo "$as_me: $ac_file is unchanged" >&6;}
1240812408+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1240912409+printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1180712410 else
1180812411 rm -f "$ac_file"
1180912412 mv "$ac_tmp/config.h" "$ac_file" \
1181012413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1181112414 fi
1181212415 else
1181311813- $as_echo "/* $configure_input */" \
1241612416+ printf "%s\n" "/* $configure_input */" >&1 \
1181412417 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1181512418 || as_fn_error $? "could not create -" "$LINENO" 5
1181612419 fi
···1183012433 X"$_am_arg" : 'X\(//\)[^/]' \| \
1183112434 X"$_am_arg" : 'X\(//\)$' \| \
1183212435 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1183311833-$as_echo X"$_am_arg" |
1243612436+printf "%s\n" X"$_am_arg" |
1183412437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183512438 s//\1/
1183612439 q
···1185012453 s/.*/./; q'`/stamp-h$_am_stamp_count
1185112454 ;;
11852124551185311853- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1185411854-$as_echo "$as_me: executing $ac_file commands" >&6;}
1245612456+ :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1245712457+printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1185512458 ;;
1185612459 esac
1185712460···1188312486 X"$mf" : 'X\(//\)[^/]' \| \
1188412487 X"$mf" : 'X\(//\)$' \| \
1188512488 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1188611886-$as_echo X"$mf" |
1248912489+printf "%s\n" X"$mf" |
1188712490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188812491 s//\1/
1188912492 q
···1192512528 X"$file" : 'X\(//\)[^/]' \| \
1192612529 X"$file" : 'X\(//\)$' \| \
1192712530 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1192811928-$as_echo X"$file" |
1253112531+printf "%s\n" X"$file" |
1192912532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193012533 s//\1/
1193112534 q
···1198412587 $ac_cs_success || as_fn_exit 1
1198512588fi
1198612589if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1198711987- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1198811988-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1259012590+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1259112591+printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1198912592fi
1199012593
+6-4
app/xpr/configure.ac
···23232424# Initialize Autoconf
2525AC_PREREQ([2.60])
2626-AC_INIT([xpr], [1.0.5],
2727- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xpr])
2626+AC_INIT([xpr], [1.2.0],
2727+ [https://gitlab.freedesktop.org/xorg/app/xpr/-/issues], [xpr])
2828AC_CONFIG_SRCDIR([Makefile.am])
2929AC_CONFIG_HEADERS([config.h])
30303131# Initialize Automake
3232-AM_INIT_AUTOMAKE([foreign dist-bzip2])
3333-AM_MAINTAINER_MODE
3232+AM_INIT_AUTOMAKE([foreign dist-xz])
34333534# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
3635m4_ifndef([XORG_MACROS_VERSION],
3736 [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
3837XORG_MACROS_VERSION(1.8)
3938XORG_DEFAULT_OPTIONS
3939+4040+# Checks for typedefs, structures, and compiler characteristics.
4141+AC_SYS_LARGEFILE
40424143# Checks for pkg-config packages
4244PKG_CHECK_MODULES(XPR, [xmuu x11 xproto >= 7.0.25])
+214-200
app/xpr/install-sh
···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:
+10-7
app/xpr/x2jet.c
···658658 setup_RGBshiftmask(&color.sm, xwd_header.red_mask,
659659 xwd_header.green_mask, xwd_header.blue_mask);
660660 else {
661661- if (!(colormap = (long *) malloc(xwd_header.ncolors * sizeof(long))))
661661+ if (!(colormap = malloc(xwd_header.ncolors * sizeof(long))))
662662 fatal_err((catgets(nlmsg_fd,NL_SETN,24,
663663 "Could not allocate memory for X-to-printer colormap.")));
664664···937937 * if possible, otherwise malloc space.
938938 */
939939 if (color.freechain == NULL) {
940940- if (!(new = (COLORINDEX *) malloc(sizeof(COLORINDEX))))
940940+ if (!(new = malloc(sizeof(COLORINDEX))))
941941 fatal_err((catgets(nlmsg_fd,NL_SETN,8,
942942 "Could not allocate memory for color translation.")));
943943 } else {
···11161116 }
1117111711181118 /* Allocate space for xwd color structures */
11191119- if (!(xwd_colors = (XColor*) malloc(sizeof(XColor) * xwd_header.ncolors)))
11191119+ if (!(xwd_colors = malloc(sizeof(XColor) * xwd_header.ncolors)))
11201120 fatal_err((catgets(nlmsg_fd,NL_SETN,12,
11211121 "Could not allocate memory for xwdfile color table.")));
11221122···12851285 if (device == PJETXL)
12861286 fprintf(out,"\033*rC");
12871287 else
12881288+ {
12881289 fprintf(out,"\033*rB");
12901290+ fprintf(out,"\033E");
12911291+ }
1289129212901293 /* If doing transparencies, tell it to stop */
12911294 if (slide && device != LJET)
···15261529 int height = limit.height;
15271530 long *line, *lp;
1528153115291529- if (!(line = (long *) malloc(width * sizeof(long))))
15321532+ if (!(line = malloc(width * sizeof(long))))
15301533 fatal_err((catgets(nlmsg_fd,NL_SETN,18,
15311534 "Could not allocate memory for image line buffer.")));
15321535···15511554 int height = limit.width;
15521555 long *line, *lp;
1553155615541554- if (!(line = (long *) malloc(width * sizeof(long))))
15571557+ if (!(line = malloc(width * sizeof(long))))
15551558 fatal_err((catgets(nlmsg_fd,NL_SETN,19,
15561559 "Could not allocate memory for image line buffer.")));
15571560···15761579 int height = limit.height;
15771580 long *line, *lp;
1578158115791579- if (!(line = (long *) malloc(width * sizeof(long))))
15821582+ if (!(line = malloc(width * sizeof(long))))
15801583 fatal_err((catgets(nlmsg_fd,NL_SETN,20,
15811584 "Could not allocate memory for image line buffer.")));
15821585···16011604 int height = limit.width;
16021605 long *line, *lp;
1603160616041604- if (!(line = (long *) malloc(width * sizeof(long))))
16071607+ if (!(line = malloc(width * sizeof(long))))
16051608 fatal_err((catgets(nlmsg_fd,NL_SETN,21,
16061609 "Could not allocate memory for image line buffer.")));
16071610
···6969 * to devices recognized. Also added -density, -cutoff, and -noposition
7070 * command line options.
7171 *
7272+ * Modified by Jay Hobson, Sun Microsystems to support paper sizes other
7373+ * than 8.5x11 inches.
7474+ *
7575+ * Copyright (c) 2002, Oracle and/or its affiliates.
7676+ *
7777+ * Permission is hereby granted, free of charge, to any person obtaining a
7878+ * copy of this software and associated documentation files (the "Software"),
7979+ * to deal in the Software without restriction, including without limitation
8080+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8181+ * and/or sell copies of the Software, and to permit persons to whom the
8282+ * Software is furnished to do so, subject to the following conditions:
8383+ *
8484+ * The above copyright notice and this permission notice (including the next
8585+ * paragraph) shall be included in all copies or substantial portions of the
8686+ * Software.
8787+ *
8888+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8989+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9090+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
9191+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9292+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9393+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
9494+ * DEALINGS IN THE SOFTWARE.
7295 */
73967497#ifdef HAVE_CONFIG_H
···115138#define W_PAGE 2550
116139#define H_PAGE 3225
117140141141+#define PAPER_WIDTH 85*30 /* 8.5 inches */
142142+#define PAPER_LENGTH 11*300 /* 11 inches */
143143+118144#ifdef NOINLINE
119145#define min(x,y) (((x)<(y))?(x):(y))
120146#endif /* NOINLINE */
···155181static GrayRec gray3x3 = {sizeof(grayscale3x3)/sizeof(long), 3, 3, grayscale3x3};
156182static GrayRec gray4x4 = {sizeof(grayscale4x4)/sizeof(long), 4, 4, grayscale4x4};
157183184184+typedef struct {
185185+ char *name;
186186+ double width;
187187+ double length;
188188+} PaperRec;
189189+190190+PaperRec paper_size[] = {
191191+ {"Letter", 8.5, 11.0 },
192192+ {"Legal", 8.5, 14.0 },
193193+ {"A0", 33.11, 46.81},
194194+ {"A1", 23.39, 33.11},
195195+ {"A2", 16.5, 23.39},
196196+ {"A3", 11.7, 16.5 },
197197+ {"A4", 8.27, 11.7 },
198198+ {"A5", 5.83, 8.27},
199199+ {"A6", 4.13, 5.83},
200200+ {"A7", 2.91, 4.13},
201201+ {"A8", 2.05, 2.91},
202202+ {"A9", 1.46, 2.05},
203203+ {"A10", 1.02, 1.46},
204204+ {"B0", 39.37, 55.67},
205205+ {"B1", 27.83, 39.37},
206206+ {"B2", 19.69, 27.83},
207207+ {"B3", 13.90, 19.69},
208208+ {"B4", 9.84, 13.90},
209209+ {"B5", 6.93, 9.84},
210210+ {"B6", 4.92, 6.93},
211211+ {"B7", 3.46, 4.92},
212212+ {"B8", 2.44, 3.46},
213213+ {"B9", 1.73, 2.44},
214214+ {"B10", 1.22, 1.73},
215215+ {"C0", 36.10, 51.06},
216216+ {"C1", 25.51, 36.10},
217217+ {"C2", 18.03, 25.51},
218218+ {"C3", 12.76, 18.03},
219219+ {"C4", 9.02, 12.76},
220220+ {"C5", 6.38, 9.02},
221221+ {"C6", 4.49, 6.38},
222222+ {"C7", 3.19, 4.49},
223223+ {"C8", 2.24, 3.19},
224224+ {"C9", 1.57, 2.24},
225225+ {"C10", 1.10, 1.57}
226226+};
227227+228228+158229/* mapping tables to map a byte in to the hex representation of its
159230 * bit-reversal
160231 */
···192263 int *density,
193264 unsigned int *cutoff,
194265 float *gamma,
195195- int *render);
266266+ int *render,
267267+ int *paper_width,
268268+ int *paper_length);
196269static
197270void setup_layout(
198271 enum device device,
···204277 char *header,
205278 char *trailer,
206279 int *scale,
207207- enum orientation *orientation);
280280+ enum orientation *orientation,
281281+ int wmax,
282282+ int hmax);
208283static
209284char *convert_data(
210285 XWDFileHeader *win,
···227302 int flags,
228303 const char *header,
229304 const char *trailer,
230230- const char *name);
305305+ const char *name,
306306+ int paper_width,
307307+ int paper_length);
231308static void ps_finish(void);
232309static void ps_output_bits(
233310 int iw,
···273350 enum orientation orientation;
274351 enum device device;
275352 XColor *colors = (XColor *)NULL;
353353+ int paper_width = PAPER_WIDTH;
354354+ int paper_length = PAPER_LENGTH;
355355+ int w_max = W_MAX;
356356+ int h_max = W_MAX;
276357277358 if (!(progname = argv[0]))
278359 progname = "xpr";
···281362#endif
282363 parse_args (argc, argv, &scale, &width, &height, &left, &top, &device,
283364 &flags, &split, &header, &trailer, &plane, &gray,
284284- &density, &cutoff, &gamma, &render);
365365+ &density, &cutoff, &gamma, &render, &paper_width, &paper_length);
366366+367367+ if (paper_width != PAPER_WIDTH)
368368+ w_max = paper_width - 150;
369369+ if (paper_length != PAPER_LENGTH)
370370+ h_max = paper_length - 150;
285371286372 if (device == PP) {
287373 x2pmp(stdin, stdout, scale,
···329415330416 if(win.ncolors) {
331417 XWDColor xwdcolor;
332332- colors = (XColor *)malloc((unsigned) (win.ncolors * sizeof(XColor)));
418418+ colors = malloc((unsigned) (win.ncolors * sizeof(XColor)));
333419 for (i = 0; i < win.ncolors; i++) {
334420 fullread(0, (char*)&xwdcolor, (int) sizeof xwdcolor);
335421 colors[i].pixel = xwdcolor.pixel;
···370456371457 /* calculate orientation and scale */
372458 setup_layout(device, (int) win.pixmap_width, (int) win.pixmap_height,
373373- flags, width, height, header, trailer, &scale, &orientation);
459459+ flags, width, height, header, trailer, &scale, &orientation,
460460+ w_max, h_max);
374461375462 iw = win.pixmap_width;
376463 ih = win.pixmap_height;
377464378465 ps_setup(iw, ih, orientation, scale, left, top,
379379- flags, header, trailer, w_name);
466466+ flags, header, trailer, w_name, paper_width, paper_length);
380467 ps_output_bits(iw, ih, flags, orientation, &win, data);
381468 ps_finish();
382469···428515 " -landscape -portrait\n"
429516 " -left <inches> -top <inches>\n"
430517 " -noposition\n"
518518+ " -papertype {letter | legal | A0-A10 | B0-B10 | C0-C10}\n"
519519+ " -pheight <inches>[in | cm | mm] -pwidth <inches>[in | cm | mm]\n"
431520 " -plane <n>\n"
432521 " -psfig\n"
433522 " -render <type>\n"
···460549 int *density,
461550 unsigned int *cutoff,
462551 float *gamma,
463463- int *render)
552552+ int *render,
553553+ int *paper_width,
554554+ int *paper_length)
464555{
465556 register char *output_filename;
466557 register int f;
467467- register int pos;
468558469559 output_filename = NULL;
470560 *device = PS; /* default */
···568658 output_filename = *argv;
569659 } else if (!strcmp(*argv, "-portrait")) {
570660 *flags |= F_PORTRAIT;
661661+ } else if (!strcmp(*argv, "-papertype")) {
662662+ int found = 0;
663663+ int i;
664664+665665+ argc--; argv++;
666666+ if (argc == 0) missing_arg(arg);
667667+ for (i = 0; i < sizeof (paper_size) / sizeof (PaperRec); i++)
668668+ {
669669+ if (!strcasecmp(paper_size[i].name, *argv))
670670+ {
671671+ found = 1;
672672+ *paper_width = (int)(300.0 * paper_size[i].width);
673673+ *paper_length = (int)(300.0 * paper_size[i].length);
674674+ }
675675+ }
676676+ if (!found) usage();
571677 } else if (!strcmp(*argv, "-plane")) {
572678 argc--; argv++;
573679 if (argc == 0) missing_arg(arg);
574680 *plane = atoi(*argv);
575681 } else if (!strcmp(*argv, "-psfig")) {
576682 *flags |= F_NPOSITION;
683683+ } else if (!strcmp(*argv, "-pwidth")) {
684684+ double mult = 1.0;
685685+686686+ argc--; argv++;
687687+ if (argc == 0) missing_arg(arg);
688688+ if (strstr(*argv, "cm"))
689689+ mult = 2.54;
690690+ else if ( strstr ( *argv, "mm" ))
691691+ mult = 25.4;
692692+ *paper_width = (int)(300.0 * atof(*argv) / mult);
693693+ } else if (!strcmp(*argv, "-pheight")) {
694694+ double mult = 1.0;
695695+696696+ argc--; argv++;
697697+ if (argc == 0) missing_arg(arg);
698698+ if ( strstr ( *argv, "cm" ))
699699+ mult = 2.54;
700700+ else if ( strstr ( *argv, "mm" ))
701701+ mult = 25.4;
702702+ *paper_length = (int)(300.0 * atof(*argv) / mult);
577703 } else if (!strcmp(*argv, "-rv")) {
578704 *flags |= F_INVERT;
579705 } else if (!strcmp(*argv, "-render")) {
···637763 exit(1);
638764 }
639765 if (*flags & F_APPEND) {
640640- pos = lseek(f, 0, 2); /* get eof position */
766766+ off_t pos = lseek(f, 0, SEEK_END); /* get eof position */
641767 if ((*flags & F_NOFF) &&
642768 !(*device == LJET || *device == PJET || *device == PJETXL))
643769 pos -= 3; /* set position before trailing */
644770 /* formfeed and reset */
645645- lseek(f, pos, 0); /* set pointer */
771771+ lseek(f, pos, SEEK_SET); /* set pointer */
646772 }
647773 dup2(f, 1);
648774 close(f);
···660786 char *header,
661787 char *trailer,
662788 int *scale,
663663- enum orientation *orientation)
789789+ enum orientation *orientation,
790790+ int wmax,
791791+ int hmax)
664792{
665793 register int w_scale;
666794 register int h_scale;
···676804 if ((win_width < win_height || (flags & F_PORTRAIT)) &&
677805 !(flags & F_LANDSCAPE)) {
678806 *orientation = PORTRAIT;
679679- w_max = (width > 0)? width : W_MAX;
680680- h_max = (height > 0)? height : H_MAX;
807807+ w_max = (width > 0)? width : wmax;
808808+ h_max = (height > 0)? height : hmax;
681809 w_scale = w_max / win_width;
682810 h_scale = h_max / win_height;
683811 *scale = min(w_scale, h_scale);
684812 } else {
685813 *orientation = LANDSCAPE;
686686- w_max = (width > 0)? width : H_MAX;
687687- h_max = (height > 0)? height : W_MAX;
814814+ w_max = (width > 0)? width : hmax;
815815+ h_max = (height > 0)? height : wmax;
688816 w_scale = w_max / win_width;
689817 h_scale = h_max / win_height;
690818 *scale = min(w_scale, h_scale);
691819 }
692820 } else {
693821 *orientation = PORTRAIT;
694694- *scale = W_MAX / win_width;
822822+ *scale = wmax / win_width;
695823 }
696824 if (*scale == 0) *scale = 1;
697825 if (*scale > 6) *scale = 6;
···10721200 int flags,
10731201 const char *header,
10741202 const char *trailer,
10751075- const char *name)
12031203+ const char *name,
12041204+ int paper_width,
12051205+ int paper_length)
10761206{
10771207 char hostname[256];
10781208#ifdef WIN32
···12301360 * Owidth and Oheight are rounded up to a multiple of 32 bits,
12311361 * to avoid special cases at the boundaries
12321362 */
12331233- obuf = malloc((unsigned)(owidth*oheight));
13631363+ obuf = calloc(owidth, oheight);
12341364 if (obuf==NULL) {
12351365 fprintf(stderr,"xpr: cannot allocate %d bytes\n",owidth*oheight);
12361366 exit(1);
12371367 }
12381238- bzero(obuf,owidth*oheight);
1239136812401240- ibuf = (unsigned char *)malloc((unsigned)(iwb + 3));
13691369+ ibuf = malloc((unsigned)(iwb + 3));
12411370 for (i=0;i<ih;i++) {
12421242- memmove((char *)ibuf, (char *)buffer, iwb);
13711371+ memcpy(ibuf, buffer, iwb);
12431372 buffer += iwb;
12441373 if (!(*(char *) &swaptest))
12451374 _swaplong((char *)ibuf,(long)iwb);
+132
app/xpr/xpr.man
···5252.B \-split
5353.I n
5454] [
5555+.B \-papertype
5656+.I format
5757+] [
5858+.B \-pheight
5959+.I inches
6060+[
6161+.I units
6262+]] [
6363+.B \-pwidth
6464+.I inches
6565+[
6666+.I units
6767+]] [
5568.B \-psfig
5669] [
5770.B \-density
···176189This option allows the user to split a window onto several pages.
177190This might be necessary for very large windows that would otherwise
178191cause the printer to overload and print the page in an obscure manner.
192192+.IP "\fB\-papertype\fP \fIformat\fP"
193193+Specifies the output paper format. Currently supported:
194194+.RS 12
195195+.PD 0
196196+.TP
197197+.B letter
198198+letter size 8.5x11 inches
199199+.TP
200200+.B legal
201201+legal size 8.5x14 inches
202202+.TP
203203+.B A0
204204+A0 size 841x1189 mm or 33.11x46.81 inches
205205+.TP
206206+.B A1
207207+A1 size 594x841 mm or 23.39x33.11 inches
208208+.TP
209209+.B A2
210210+A2 size 420x594 mm or 16.54x23.39 inches
211211+.TP
212212+.B A3
213213+A3 size 297x420 mm or 11.69x16.54 inches
214214+.TP
215215+.B A4
216216+A4 size 210x297 mm or 8.27x11.69 inches
217217+.TP
218218+.B A5
219219+A5 size 148x210 mm or 5.83x 8.27 inches
220220+.TP
221221+.B A6
222222+A6 size 105x148 mm or 4.13x 5.83 inches
223223+.TP
224224+.B A7
225225+A7 size 74x105 mm or 2.91x 4.13 inches
226226+.TP
227227+.B A8
228228+A8 size 52x74 mm or 2.05x 2.91 inches
229229+.TP
230230+.B A9
231231+A9 size 37x52 mm or 1.46x 2.05 inches
232232+.TP
233233+.B A10
234234+A10 size 26x37 mm or 1.02x 1.46 inches
235235+.TP
236236+.B B0
237237+B0 size 1000x1414 mm or 39.37x55.67
238238+.TP
239239+.B B1
240240+B1 size 707x1000 mm or 27.83x39.37 inches
241241+.TP
242242+.B B2
243243+B2 size 500x707 mm or 19.69x27.83 inches
244244+.TP
245245+.B B3
246246+B3 size 353x500 mm or 13.90x19.69 inches
247247+.TP
248248+.B B4
249249+B4 size 250x353 mm or 9.84x13.90 inches
250250+.TP
251251+.B B5
252252+B5 size 176x250 mm or 6.93x 9.84 inches
253253+.TP
254254+.B B6
255255+B6 size 125x176 mm or 4.92x 6.93 inches
256256+.TP
257257+.B B7
258258+B7 size 88x125 mm or 3.46x 4.92 inches
259259+.TP
260260+.B B8
261261+B8 size 62x88 mm or 2.44x 3.46 inches
262262+.TP
263263+.B B9
264264+B9 size 44x62 mm or 1.73x 2.44 inches
265265+.TP
266266+.B B10
267267+B10 size 31x44 mm or 1.22x 1.73 inches
268268+.TP
269269+.B C0
270270+C0 size 917x1297 mm or 36.10x51.06 inches
271271+.TP
272272+.B C1
273273+C1 size 648x917 mm or 25.51x36.10 inches
274274+.TP
275275+.B C2
276276+C2 size 458x648 mm or 18.03x25.51 inches
277277+.TP
278278+.B C3
279279+C3 size 324x458 mm or 12.76x18.03 inches
280280+.TP
281281+.B C4
282282+C4 size 229x324 mm or 9.02x12.76 inches
283283+.TP
284284+.B C5
285285+C5 size 162x229 mm or 6.38x 9.02 inches
286286+.TP
287287+.B C6
288288+C6 size 114x162 mm or 4.49x 6.38 inches
289289+.TP
290290+.B C7
291291+C7 size 81x114 mm or 3.19x 4.49 inches
292292+.TP
293293+.B C8
294294+C8 size 57x81 mm or 2.24x 3.19 inches
295295+.TP
296296+.B C9
297297+C9 size 40x57 mm or 1.57x 2.24 inches
298298+.TP
299299+.B C10
300300+C10 size 28x40 mm or 1.10x 1.57 inches
301301+.PD
302302+.RE
303303+.IP "\fB\-pheight\fP \fIinches\fP [ \fIunits\fP ]"
304304+This option allows the user to specify a specific paper height. The
305305+default units are in inches (in), but may be overridden with cm or mm
306306+for centimeters or millimeters respectively.
307307+.IP "\fB\-pwidth\fP \fIinches\fP [ \fIunits\fP ]"
308308+This option allows the user to specify a specific paper width. The
309309+default units are in inches (in), but may be overridden with cm or mm
310310+for centimeters or millimeters respectively.
179311.IP "\fB\-psfig\fP"
180312Suppress translation of the PostScript picture to the center of the page.
181313.IP "\fB\-density\fP \fIdpi\fP"