mirror of OpenBSD xenocara tree github.com/openbsd/xenocara
openbsd
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update to xfontsel 1.1.1

matthieu cf4287ac e04d0d9b

+4053 -3289
+21
app/xfontsel/COPYING
··· 42 42 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 43 43 SOFTWARE. 44 44 45 + 46 + Copyright (c) 2000, 2022, Oracle and/or its affiliates. 47 + 48 + Permission is hereby granted, free of charge, to any person obtaining a 49 + copy of this software and associated documentation files (the "Software"), 50 + to deal in the Software without restriction, including without limitation 51 + the rights to use, copy, modify, merge, publish, distribute, sublicense, 52 + and/or sell copies of the Software, and to permit persons to whom the 53 + Software is furnished to do so, subject to the following conditions: 54 + 55 + The above copyright notice and this permission notice (including the next 56 + paragraph) shall be included in all copies or substantial portions of the 57 + Software. 58 + 59 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 60 + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 61 + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 62 + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 63 + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 64 + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 65 + DEALINGS IN THE SOFTWARE.
+54 -1
app/xfontsel/ChangeLog
··· 1 + commit e7c62d035698841b12599384ee921e04ab417138 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sun Mar 3 14:21:49 2024 -0800 4 + 5 + xfontsel 1.1.1 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit 48772e02a3067fb8450b98ddde5e1fed7a6ce80e 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Sat Feb 11 11:27:51 2023 -0800 12 + 13 + Add -help and -version options 14 + 15 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16 + 17 + commit e7c9e106e65767598b786804dc7324adc50d7efc 18 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 19 + Date: Sat Feb 11 11:17:41 2023 -0800 20 + 21 + Print which arguments were unknown before giving usage message 22 + 23 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24 + 25 + commit 37ee1293a35cd2f86463e2954f44db58692aa053 26 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 27 + Date: Sat Feb 11 11:13:37 2023 -0800 28 + 29 + include config.h in xfontsel.c before checking for USE_GETTEXT 30 + 31 + It will never be true if we never include the file that defines it. 32 + 33 + Fixes: f286ef3 ("Use gettext() to localize messages if available") 34 + 35 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36 + 37 + commit f286ef347dc9e87c6d5b5b8bce22afdeb82af4ed 38 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 39 + Date: Wed Nov 9 13:19:21 2022 -0800 40 + 41 + Use gettext() to localize messages if available 42 + 43 + Originally fixed for Solaris in August 2000 by Jay Hobson under 44 + Sun bug 4256527 "Internationalize xfontsel" 45 + 46 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 47 + 48 + commit 57f670195bb1854edbea97b672ae966343965bb7 49 + Author: Thomas Kuehne <thomas@kuehne.cn> 50 + Date: Sun Dec 5 13:16:35 2021 +0100 51 + 52 + Fixed -Wshadow declaration warnings 53 + 1 54 commit 6ef6ff13da2adc354eeca629d2fc523cbe3aab42 2 55 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 56 Date: Sun Jul 10 15:16:18 2022 -0700 ··· 789 842 configure cache, you cache it, and the cached value is probably wrong. 790 843 791 844 commit fb8c54ae47b8dd71f082fd0c4b705690c8aca524 792 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 845 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 793 846 Date: Fri Jul 1 18:11:22 2005 +0000 794 847 795 848 Build system for xfontsel
+11
app/xfontsel/Makefile.am
··· 53 53 dist-hook: ChangeLog INSTALL 54 54 55 55 EXTRA_DIST = README.md 56 + 57 + if USE_GETTEXT 58 + AM_CPPFLAGS = -DLOCALEDIR='"$(LOCALEDIR)"' 59 + 60 + noinst_DATA = xfontsel.po 61 + 62 + xfontsel.po: $(xfontsel_SOURCES:%=$(srcdir)/%) 63 + $(AM_V_GEN)xgettext -d xfontsel -c -n $(xfontsel_SOURCES:%=$(srcdir)/%) 64 + 65 + CLEANFILES = xfontsel.po 66 + endif
+9 -4
app/xfontsel/Makefile.in
··· 164 164 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ 165 165 $(am__cd) "$$dir" && rm -f $$files; }; \ 166 166 } 167 - DATA = $(dist_appdefault_DATA) 167 + DATA = $(dist_appdefault_DATA) $(noinst_DATA) 168 168 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 169 169 distclean-recursive maintainer-clean-recursive 170 170 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ ··· 234 234 CCDEPMODE = @CCDEPMODE@ 235 235 CFLAGS = @CFLAGS@ 236 236 CHANGELOG_CMD = @CHANGELOG_CMD@ 237 - CPP = @CPP@ 238 237 CPPFLAGS = @CPPFLAGS@ 239 238 CWARNFLAGS = @CWARNFLAGS@ 240 239 CYGPATH_W = @CYGPATH_W@ ··· 245 244 ECHO_C = @ECHO_C@ 246 245 ECHO_N = @ECHO_N@ 247 246 ECHO_T = @ECHO_T@ 248 - EGREP = @EGREP@ 249 247 EXEEXT = @EXEEXT@ 250 248 FILE_MAN_DIR = @FILE_MAN_DIR@ 251 249 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 252 - GREP = @GREP@ 253 250 INSTALL = @INSTALL@ 254 251 INSTALL_CMD = @INSTALL_CMD@ 255 252 INSTALL_DATA = @INSTALL_DATA@ ··· 261 258 LIBS = @LIBS@ 262 259 LIB_MAN_DIR = @LIB_MAN_DIR@ 263 260 LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ 261 + LOCALEDIR = @LOCALEDIR@ 264 262 LTLIBOBJS = @LTLIBOBJS@ 265 263 MAINT = @MAINT@ 266 264 MAKEINFO = @MAKEINFO@ ··· 343 341 top_srcdir = @top_srcdir@ 344 342 SUBDIRS = man 345 343 AM_CPPFLAGS = -D_CONST_X_STRING 344 + @USE_GETTEXT_TRUE@AM_CPPFLAGS = -DLOCALEDIR='"$(LOCALEDIR)"' 346 345 AM_CFLAGS = $(XFONTSEL_CFLAGS) $(CWARNFLAGS) 347 346 xfontsel_LDADD = $(XFONTSEL_LIBS) 348 347 xfontsel_SOURCES = \ ··· 359 358 360 359 MAINTAINERCLEANFILES = ChangeLog INSTALL 361 360 EXTRA_DIST = README.md 361 + @USE_GETTEXT_TRUE@noinst_DATA = xfontsel.po 362 + @USE_GETTEXT_TRUE@CLEANFILES = xfontsel.po 362 363 all: config.h 363 364 $(MAKE) $(AM_MAKEFLAGS) all-recursive 364 365 ··· 850 851 mostlyclean-generic: 851 852 852 853 clean-generic: 854 + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 853 855 854 856 distclean-generic: 855 857 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) ··· 964 966 $(CHANGELOG_CMD) 965 967 966 968 dist-hook: ChangeLog INSTALL 969 + 970 + @USE_GETTEXT_TRUE@xfontsel.po: $(xfontsel_SOURCES:%=$(srcdir)/%) 971 + @USE_GETTEXT_TRUE@ $(AM_V_GEN)xgettext -d xfontsel -c -n $(xfontsel_SOURCES:%=$(srcdir)/%) 967 972 968 973 # Tell versions [3.59,3.63) of GNU make to not export all variables. 969 974 # Otherwise a system limit (for SysV at least) may be exceeded.
+45 -25
app/xfontsel/aclocal.m4
··· 13 13 14 14 m4_ifndef([AC_AUTOCONF_VERSION], 15 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 - m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, 17 - [m4_warning([this file was generated for autoconf 2.69. 16 + m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, 17 + [m4_warning([this file was generated for autoconf 2.71. 18 18 You have another version of autoconf. It may work, but is not guaranteed to. 19 19 If you have problems, you may need to regenerate the build system entirely. 20 20 To do so, use the procedure documented by the package, typically 'autoreconf'.])]) ··· 1318 1318 1319 1319 dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. 1320 1320 dnl 1321 - dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. 1321 + dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates. 1322 1322 dnl 1323 1323 dnl Permission is hereby granted, free of charge, to any person obtaining a 1324 1324 dnl copy of this software and associated documentation files (the "Software"), ··· 1355 1355 # See the "minimum version" comment for each macro you use to see what 1356 1356 # version you require. 1357 1357 m4_defun([XORG_MACROS_VERSION],[ 1358 - m4_define([vers_have], [1.19.2]) 1358 + m4_define([vers_have], [1.20.0]) 1359 1359 m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.]))) 1360 1360 m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.]))) 1361 1361 m4_if(m4_cmp(maj_have, maj_needed), 0,, ··· 1376 1376 # such as man pages and config files 1377 1377 AC_DEFUN([XORG_PROG_RAWCPP],[ 1378 1378 AC_REQUIRE([AC_PROG_CPP]) 1379 - AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}], 1379 + AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}], 1380 1380 [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib]) 1381 1381 1382 1382 # Check for flag to avoid builtin definitions - assumes unix is predefined, ··· 1686 1686 # Documentation tools are not always available on all platforms and sometimes 1687 1687 # not at the appropriate level. This macro enables a module to test for the 1688 1688 # presence of the tool and obtain it's path in separate variables. Coupled with 1689 - # the --with-xmlto option, it allows maximum flexibilty in making decisions 1689 + # the --with-xmlto option, it allows maximum flexibility in making decisions 1690 1690 # as whether or not to use the xmlto package. When DEFAULT is not specified, 1691 1691 # --with-xmlto assumes 'auto'. 1692 1692 # ··· 1900 1900 # Documentation tools are not always available on all platforms and sometimes 1901 1901 # not at the appropriate level. This macro enables a module to test for the 1902 1902 # presence of the tool and obtain it's path in separate variables. Coupled with 1903 - # the --with-asciidoc option, it allows maximum flexibilty in making decisions 1903 + # the --with-asciidoc option, it allows maximum flexibility in making decisions 1904 1904 # as whether or not to use the asciidoc package. When DEFAULT is not specified, 1905 1905 # --with-asciidoc assumes 'auto'. 1906 1906 # ··· 1970 1970 # Documentation tools are not always available on all platforms and sometimes 1971 1971 # not at the appropriate level. This macro enables a module to test for the 1972 1972 # presence of the tool and obtain it's path in separate variables. Coupled with 1973 - # the --with-doxygen option, it allows maximum flexibilty in making decisions 1973 + # the --with-doxygen option, it allows maximum flexibility in making decisions 1974 1974 # as whether or not to use the doxygen package. When DEFAULT is not specified, 1975 1975 # --with-doxygen assumes 'auto'. 1976 1976 # ··· 2054 2054 # Documentation tools are not always available on all platforms and sometimes 2055 2055 # not at the appropriate level. This macro enables a module to test for the 2056 2056 # presence of the tool and obtain it's path in separate variables. Coupled with 2057 - # the --with-groff option, it allows maximum flexibilty in making decisions 2057 + # the --with-groff option, it allows maximum flexibility in making decisions 2058 2058 # as whether or not to use the groff package. When DEFAULT is not specified, 2059 2059 # --with-groff assumes 'auto'. 2060 2060 # ··· 2162 2162 # Documentation tools are not always available on all platforms and sometimes 2163 2163 # not at the appropriate level. This macro enables a module to test for the 2164 2164 # presence of the tool and obtain it's path in separate variables. Coupled with 2165 - # the --with-fop option, it allows maximum flexibilty in making decisions 2165 + # the --with-fop option, it allows maximum flexibility in making decisions 2166 2166 # as whether or not to use the fop package. When DEFAULT is not specified, 2167 2167 # --with-fop assumes 'auto'. 2168 2168 # ··· 2256 2256 # Documentation tools are not always available on all platforms and sometimes 2257 2257 # not at the appropriate level. This macro enables a module to test for the 2258 2258 # presence of the tool and obtain it's path in separate variables. Coupled with 2259 - # the --with-ps2pdf option, it allows maximum flexibilty in making decisions 2259 + # the --with-ps2pdf option, it allows maximum flexibility in making decisions 2260 2260 # as whether or not to use the ps2pdf package. When DEFAULT is not specified, 2261 2261 # --with-ps2pdf assumes 'auto'. 2262 2262 # ··· 2311 2311 # not at the appropriate level. This macro enables a builder to skip all 2312 2312 # documentation targets except traditional man pages. 2313 2313 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2314 - # maximum flexibilty in controlling documentation building. 2314 + # maximum flexibility in controlling documentation building. 2315 2315 # Refer to: 2316 2316 # XORG_WITH_XMLTO --with-xmlto 2317 2317 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2344 2344 # 2345 2345 # This macro enables a builder to skip all developer documentation. 2346 2346 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2347 - # maximum flexibilty in controlling documentation building. 2347 + # maximum flexibility in controlling documentation building. 2348 2348 # Refer to: 2349 2349 # XORG_WITH_XMLTO --with-xmlto 2350 2350 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2377 2377 # 2378 2378 # This macro enables a builder to skip all functional specification targets. 2379 2379 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2380 - # maximum flexibilty in controlling documentation building. 2380 + # maximum flexibility in controlling documentation building. 2381 2381 # Refer to: 2382 2382 # XORG_WITH_XMLTO --with-xmlto 2383 2383 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2852 2852 AC_DEFUN([XORG_COMPILER_BRAND], [ 2853 2853 AC_LANG_CASE( 2854 2854 [C], [ 2855 - AC_REQUIRE([AC_PROG_CC_C99]) 2855 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 2856 + dnl and complains that AC_PROG_CC_C99 is obsolete 2857 + m4_version_prereq([2.70], 2858 + [AC_REQUIRE([AC_PROG_CC])], 2859 + [AC_REQUIRE([AC_PROG_CC_C99])]) 2856 2860 ], 2857 2861 [C++], [ 2858 2862 AC_REQUIRE([AC_PROG_CXX]) ··· 2868 2872 # Minimum version: 1.16.0 2869 2873 # 2870 2874 # Test if the compiler works when passed the given flag as a command line argument. 2871 - # If it succeeds, the flag is appeneded to the given variable. If not, it tries the 2875 + # If it succeeds, the flag is appended to the given variable. If not, it tries the 2872 2876 # next flag in the list until there are no more options. 2873 2877 # 2874 2878 # Note that this does not guarantee that the compiler supports the flag as some ··· 2884 2888 2885 2889 AC_LANG_CASE( 2886 2890 [C], [ 2887 - AC_REQUIRE([AC_PROG_CC_C99]) 2891 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 2892 + dnl and complains that AC_PROG_CC_C99 is obsolete 2893 + m4_version_prereq([2.70], 2894 + [AC_REQUIRE([AC_PROG_CC])], 2895 + [AC_REQUIRE([AC_PROG_CC_C99])]) 2888 2896 define([PREFIX], [C]) 2889 2897 define([CACHE_PREFIX], [cc]) 2890 2898 define([COMPILER], [$CC]) ··· 3025 3033 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 3026 3034 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 3027 3035 3028 - # Turn some warnings into errors, so we don't accidently get successful builds 3036 + # Turn some warnings into errors, so we don't accidentally get successful builds 3029 3037 # when there are problems that should be fixed. 3030 3038 3031 3039 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 3134 3142 AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS])) 3135 3143 ]) # XORG_STRICT_OPTION 3136 3144 3145 + # XORG_DEFAULT_NOCODE_OPTIONS 3146 + # --------------------------- 3147 + # Minimum version: 1.20.0 3148 + # 3149 + # Defines default options for X.Org modules which don't compile code, 3150 + # such as fonts, bitmaps, cursors, and docs. 3151 + # 3152 + AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [ 3153 + AC_REQUIRE([AC_PROG_INSTALL]) 3154 + XORG_RELEASE_VERSION 3155 + XORG_CHANGELOG 3156 + XORG_INSTALL 3157 + XORG_MANPAGE_SECTIONS 3158 + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 3159 + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 3160 + ]) # XORG_DEFAULT_NOCODE_OPTIONS 3161 + 3137 3162 # XORG_DEFAULT_OPTIONS 3138 3163 # -------------------- 3139 3164 # Minimum version: 1.3.0 3140 3165 # 3141 - # Defines default options for X.Org modules. 3166 + # Defines default options for X.Org modules which compile code. 3142 3167 # 3143 3168 AC_DEFUN([XORG_DEFAULT_OPTIONS], [ 3144 3169 AC_REQUIRE([AC_PROG_INSTALL]) 3145 3170 XORG_COMPILER_FLAGS 3146 3171 XORG_CWARNFLAGS 3147 3172 XORG_STRICT_OPTION 3148 - XORG_RELEASE_VERSION 3149 - XORG_CHANGELOG 3150 - XORG_INSTALL 3151 - XORG_MANPAGE_SECTIONS 3152 - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 3153 - [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 3173 + XORG_DEFAULT_NOCODE_OPTIONS 3154 3174 ]) # XORG_DEFAULT_OPTIONS 3155 3175 3156 3176 # XORG_INSTALL()
+9 -4
app/xfontsel/config.h.in
··· 3 3 /* Define to 1 if you have the <inttypes.h> header file. */ 4 4 #undef HAVE_INTTYPES_H 5 5 6 - /* Define to 1 if you have the <memory.h> header file. */ 7 - #undef HAVE_MEMORY_H 8 - 9 6 /* Define to 1 if you have the <stdint.h> header file. */ 10 7 #undef HAVE_STDINT_H 8 + 9 + /* Define to 1 if you have the <stdio.h> header file. */ 10 + #undef HAVE_STDIO_H 11 11 12 12 /* Define to 1 if you have the <stdlib.h> header file. */ 13 13 #undef HAVE_STDLIB_H ··· 57 57 /* Patch version of this package */ 58 58 #undef PACKAGE_VERSION_PATCHLEVEL 59 59 60 - /* Define to 1 if you have the ANSI C header files. */ 60 + /* Define to 1 if all of the C90 standard headers exist (not just the ones 61 + required in a freestanding environment). This macro is provided for 62 + backward compatibility; new code need not use it. */ 61 63 #undef STDC_HEADERS 64 + 65 + /* Define to 1 if you want to use the gettext() function. */ 66 + #undef USE_GETTEXT 62 67 63 68 /* Version number of package */ 64 69 #undef VERSION
+3540 -3010
app/xfontsel/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for xfontsel 1.1.0. 3 + # Generated by GNU Autoconf 2.71 for xfontsel 1.1.1. 4 4 # 5 - # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfontsel/issues>. 5 + # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfontsel/-/issues>. 6 6 # 7 7 # 8 - # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 + # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9 + # Inc. 9 10 # 10 11 # 11 12 # This configure script is free software; the Free Software Foundation ··· 16 17 17 18 # Be more Bourne compatible 18 19 DUALCASE=1; export DUALCASE # for MKS sh 19 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 + as_nop=: 21 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22 + then : 20 23 emulate sh 21 24 NULLCMD=: 22 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 26 # is contrary to our usage. Disable this feature. 24 27 alias -g '${1+"$@"}'='"$@"' 25 28 setopt NO_GLOB_SUBST 26 - else 29 + else $as_nop 27 30 case `(set -o) 2>/dev/null` in #( 28 31 *posix*) : 29 32 set -o posix ;; #( ··· 33 36 fi 34 37 35 38 39 + 40 + # Reset variables that may have inherited troublesome values from 41 + # the environment. 42 + 43 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 44 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 45 + # side effect of setting IFS to empty, thus disabling word splitting.) 46 + # Quoting is to prevent editors from complaining about space-tab. 36 47 as_nl=' 37 48 ' 38 49 export as_nl 39 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 - # Prefer a ksh shell builtin over an external printf program on Solaris, 44 - # but without wasting forks for bash or zsh. 45 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 - as_echo='print -r --' 48 - as_echo_n='print -rn --' 49 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 - as_echo='printf %s\n' 51 - as_echo_n='printf %s' 52 - else 53 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 - as_echo_n='/usr/ucb/echo -n' 56 - else 57 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 - as_echo_n_body='eval 59 - arg=$1; 60 - case $arg in #( 61 - *"$as_nl"*) 62 - expr "X$arg" : "X\\(.*\\)$as_nl"; 63 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 - esac; 65 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 - ' 67 - export as_echo_n_body 68 - as_echo_n='sh -c $as_echo_n_body as_echo' 69 - fi 70 - export as_echo_body 71 - as_echo='sh -c $as_echo_body as_echo' 72 - fi 50 + IFS=" "" $as_nl" 51 + 52 + PS1='$ ' 53 + PS2='> ' 54 + PS4='+ ' 55 + 56 + # Ensure predictable behavior from utilities with locale-dependent output. 57 + LC_ALL=C 58 + export LC_ALL 59 + LANGUAGE=C 60 + export LANGUAGE 61 + 62 + # We cannot yet rely on "unset" to work, but we need these variables 63 + # to be unset--not just set to an empty or harmless value--now, to 64 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65 + # also avoids known problems related to "unset" and subshell syntax 66 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 + do eval test \${$as_var+y} \ 69 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 + done 71 + 72 + # Ensure that fds 0, 1, and 2 are open. 73 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 73 76 74 77 # The user is always right. 75 - if test "${PATH_SEPARATOR+set}" != set; then 78 + if ${PATH_SEPARATOR+false} :; then 76 79 PATH_SEPARATOR=: 77 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 81 84 fi 82 85 83 86 84 - # IFS 85 - # We need space, tab and new line, in precisely that order. Quoting is 86 - # there to prevent editors from complaining about space-tab. 87 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 - # splitting by setting IFS to empty value.) 89 - IFS=" "" $as_nl" 90 - 91 87 # Find who we are. Look in the path if we contain no directory separator. 92 88 as_myself= 93 89 case $0 in #(( ··· 96 92 for as_dir in $PATH 97 93 do 98 94 IFS=$as_save_IFS 99 - test -z "$as_dir" && as_dir=. 100 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95 + case $as_dir in #((( 96 + '') as_dir=./ ;; 97 + */) ;; 98 + *) as_dir=$as_dir/ ;; 99 + esac 100 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101 101 done 102 102 IFS=$as_save_IFS 103 103 ··· 109 109 as_myself=$0 110 110 fi 111 111 if test ! -f "$as_myself"; then 112 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 113 exit 1 114 114 fi 115 115 116 - # Unset variables that we do not need and which cause bugs (e.g. in 117 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 - # suppresses any "Segmentation fault" message there. '((' could 119 - # trigger a bug in pdksh 5.2.14. 120 - for as_var in BASH_ENV ENV MAIL MAILPATH 121 - do eval test x\${$as_var+set} = xset \ 122 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 - done 124 - PS1='$ ' 125 - PS2='> ' 126 - PS4='+ ' 127 - 128 - # NLS nuisances. 129 - LC_ALL=C 130 - export LC_ALL 131 - LANGUAGE=C 132 - export LANGUAGE 133 - 134 - # CDPATH. 135 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 116 137 117 # Use a proper internal environment variable to ensure we don't fall 138 118 # into an infinite loop, continuously re-executing ourselves. ··· 154 134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 135 # Admittedly, this is quite paranoid, since all the known shells bail 156 136 # out after a failed `exec'. 157 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 - as_fn_exit 255 137 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138 + exit 255 159 139 fi 160 140 # We don't want this to propagate to other subprocesses. 161 141 { _as_can_reexec=; unset _as_can_reexec;} 162 142 if test "x$CONFIG_SHELL" = x; then 163 - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 + as_bourne_compatible="as_nop=: 144 + if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145 + then : 164 146 emulate sh 165 147 NULLCMD=: 166 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 149 # is contrary to our usage. Disable this feature. 168 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 151 setopt NO_GLOB_SUBST 170 - else 152 + else \$as_nop 171 153 case \`(set -o) 2>/dev/null\` in #( 172 154 *posix*) : 173 155 set -o posix ;; #( ··· 187 169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 - if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 172 + if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173 + then : 191 174 192 - else 175 + else \$as_nop 193 176 exitcode=1; echo positional parameters were not saved. 194 177 fi 195 178 test x\$exitcode = x0 || exit 1 179 + blah=\$(echo \$(echo blah)) 180 + test x\"\$blah\" = xblah || exit 1 196 181 test -x / || exit 1" 197 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 186 test \$(( 1 + 1 )) = 2 || exit 1" 202 - if (eval "$as_required") 2>/dev/null; then : 187 + if (eval "$as_required") 2>/dev/null 188 + then : 203 189 as_have_required=yes 204 - else 190 + else $as_nop 205 191 as_have_required=no 206 192 fi 207 - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 193 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194 + then : 208 195 209 - else 196 + else $as_nop 210 197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 198 as_found=false 212 199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 200 do 214 201 IFS=$as_save_IFS 215 - test -z "$as_dir" && as_dir=. 202 + case $as_dir in #((( 203 + '') as_dir=./ ;; 204 + */) ;; 205 + *) as_dir=$as_dir/ ;; 206 + esac 216 207 as_found=: 217 208 case $as_dir in #( 218 209 /*) 219 210 for as_base in sh bash ksh sh5; do 220 211 # Try only shells that exist, to save several forks. 221 - as_shell=$as_dir/$as_base 212 + as_shell=$as_dir$as_base 222 213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 214 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215 + then : 224 216 CONFIG_SHELL=$as_shell as_have_required=yes 225 - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 217 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218 + then : 226 219 break 2 227 220 fi 228 221 fi ··· 230 223 esac 231 224 as_found=false 232 225 done 233 - $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 - CONFIG_SHELL=$SHELL as_have_required=yes 236 - fi; } 237 226 IFS=$as_save_IFS 227 + if $as_found 228 + then : 238 229 230 + else $as_nop 231 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233 + then : 234 + CONFIG_SHELL=$SHELL as_have_required=yes 235 + fi 236 + fi 239 237 240 - if test "x$CONFIG_SHELL" != x; then : 238 + 239 + if test "x$CONFIG_SHELL" != x 240 + then : 241 241 export CONFIG_SHELL 242 242 # We cannot yet assume a decent shell, so we have to provide a 243 243 # neutralization value for shells without unset; and this also ··· 255 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 257 # out after a failed `exec'. 258 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 258 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259 259 exit 255 260 260 fi 261 261 262 - if test x$as_have_required = xno; then : 263 - $as_echo "$0: This script requires a shell more modern than all" 264 - $as_echo "$0: the shells that I found on your system." 265 - if test x${ZSH_VERSION+set} = xset ; then 266 - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 - $as_echo "$0: be upgraded to zsh 4.3.4 or later." 262 + if test x$as_have_required = xno 263 + then : 264 + printf "%s\n" "$0: This script requires a shell more modern than all" 265 + printf "%s\n" "$0: the shells that I found on your system." 266 + if test ${ZSH_VERSION+y} ; then 267 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 268 269 else 269 - $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 - $0: https://gitlab.freedesktop.org/xorg/app/xfontsel/issues 270 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 271 + $0: https://gitlab.freedesktop.org/xorg/app/xfontsel/-/issues 271 272 $0: about your system, including any error possibly output 272 273 $0: before this message. Then install a modern shell, or 273 274 $0: manually run the script under such a shell if you do ··· 295 296 } 296 297 as_unset=as_fn_unset 297 298 299 + 298 300 # as_fn_set_status STATUS 299 301 # ----------------------- 300 302 # Set $? to STATUS, without forking. ··· 312 314 as_fn_set_status $1 313 315 exit $1 314 316 } # as_fn_exit 317 + # as_fn_nop 318 + # --------- 319 + # Do nothing but, unlike ":", preserve the value of $?. 320 + as_fn_nop () 321 + { 322 + return $? 323 + } 324 + as_nop=as_fn_nop 315 325 316 326 # as_fn_mkdir_p 317 327 # ------------- ··· 326 336 as_dirs= 327 337 while :; do 328 338 case $as_dir in #( 329 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 339 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 330 340 *) as_qdir=$as_dir;; 331 341 esac 332 342 as_dirs="'$as_qdir' $as_dirs" ··· 335 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 336 346 X"$as_dir" : 'X\(//\)$' \| \ 337 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 338 - $as_echo X"$as_dir" | 348 + printf "%s\n" X"$as_dir" | 339 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 340 350 s//\1/ 341 351 q ··· 374 384 # advantage of any shell optimizations that allow amortized linear growth over 375 385 # repeated appends, instead of the typical quadratic growth present in naive 376 386 # implementations. 377 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 387 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 388 + then : 378 389 eval 'as_fn_append () 379 390 { 380 391 eval $1+=\$2 381 392 }' 382 - else 393 + else $as_nop 383 394 as_fn_append () 384 395 { 385 396 eval $1=\$$1\$2 ··· 391 402 # Perform arithmetic evaluation on the ARGs, and store the result in the 392 403 # global $as_val. Take advantage of shells that can avoid forks. The arguments 393 404 # must be portable across $(()) and expr. 394 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 405 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 406 + then : 395 407 eval 'as_fn_arith () 396 408 { 397 409 as_val=$(( $* )) 398 410 }' 399 - else 411 + else $as_nop 400 412 as_fn_arith () 401 413 { 402 414 as_val=`expr "$@" || test $? -eq 1` 403 415 } 404 416 fi # as_fn_arith 405 417 418 + # as_fn_nop 419 + # --------- 420 + # Do nothing but, unlike ":", preserve the value of $?. 421 + as_fn_nop () 422 + { 423 + return $? 424 + } 425 + as_nop=as_fn_nop 406 426 407 427 # as_fn_error STATUS ERROR [LINENO LOG_FD] 408 428 # ---------------------------------------- ··· 414 434 as_status=$1; test $as_status -eq 0 && as_status=1 415 435 if test "$4"; then 416 436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 417 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 437 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 418 438 fi 419 - $as_echo "$as_me: error: $2" >&2 439 + printf "%s\n" "$as_me: error: $2" >&2 420 440 as_fn_exit $as_status 421 441 } # as_fn_error 422 442 ··· 443 463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 444 464 X"$0" : 'X\(//\)$' \| \ 445 465 X"$0" : 'X\(/\)' \| . 2>/dev/null || 446 - $as_echo X/"$0" | 466 + printf "%s\n" X/"$0" | 447 467 sed '/^.*\/\([^/][^/]*\)\/*$/{ 448 468 s//\1/ 449 469 q ··· 487 507 s/-\n.*// 488 508 ' >$as_me.lineno && 489 509 chmod +x "$as_me.lineno" || 490 - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 510 + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 491 511 492 512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 493 513 # already done that, so ensure we don't try to do so again and fall ··· 501 521 exit 502 522 } 503 523 524 + 525 + # Determine whether it's possible to make 'echo' print without a newline. 526 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 527 + # for compatibility with existing Makefiles. 504 528 ECHO_C= ECHO_N= ECHO_T= 505 529 case `echo -n x` in #((((( 506 530 -n*) ··· 514 538 ECHO_N='-n';; 515 539 esac 516 540 541 + # For backward compatibility with old third-party macros, we provide 542 + # the shell variables $as_echo and $as_echo_n. New code should use 543 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 544 + as_echo='printf %s\n' 545 + as_echo_n='printf %s' 546 + 547 + 517 548 rm -f conf$$ conf$$.exe conf$$.file 518 549 if test -d conf$$.dir; then 519 550 rm -f conf$$.dir/conf$$.file ··· 581 612 # Identity of this package. 582 613 PACKAGE_NAME='xfontsel' 583 614 PACKAGE_TARNAME='xfontsel' 584 - PACKAGE_VERSION='1.1.0' 585 - PACKAGE_STRING='xfontsel 1.1.0' 586 - PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xfontsel/issues' 615 + PACKAGE_VERSION='1.1.1' 616 + PACKAGE_STRING='xfontsel 1.1.1' 617 + PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xfontsel/-/issues' 587 618 PACKAGE_URL='' 588 619 589 620 ac_unique_file="Makefile.am" 590 621 # Factoring default headers for most tests. 591 622 ac_includes_default="\ 592 - #include <stdio.h> 593 - #ifdef HAVE_SYS_TYPES_H 594 - # include <sys/types.h> 623 + #include <stddef.h> 624 + #ifdef HAVE_STDIO_H 625 + # include <stdio.h> 595 626 #endif 596 - #ifdef HAVE_SYS_STAT_H 597 - # include <sys/stat.h> 598 - #endif 599 - #ifdef STDC_HEADERS 627 + #ifdef HAVE_STDLIB_H 600 628 # include <stdlib.h> 601 - # include <stddef.h> 602 - #else 603 - # ifdef HAVE_STDLIB_H 604 - # include <stdlib.h> 605 - # endif 606 629 #endif 607 630 #ifdef HAVE_STRING_H 608 - # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 609 - # include <memory.h> 610 - # endif 611 631 # include <string.h> 612 - #endif 613 - #ifdef HAVE_STRINGS_H 614 - # include <strings.h> 615 632 #endif 616 633 #ifdef HAVE_INTTYPES_H 617 634 # include <inttypes.h> ··· 619 636 #ifdef HAVE_STDINT_H 620 637 # include <stdint.h> 621 638 #endif 639 + #ifdef HAVE_STRINGS_H 640 + # include <strings.h> 641 + #endif 642 + #ifdef HAVE_SYS_TYPES_H 643 + # include <sys/types.h> 644 + #endif 645 + #ifdef HAVE_SYS_STAT_H 646 + # include <sys/stat.h> 647 + #endif 622 648 #ifdef HAVE_UNISTD_H 623 649 # include <unistd.h> 624 650 #endif" 625 651 652 + ac_header_c_list= 626 653 ac_subst_vars='am__EXEEXT_FALSE 627 654 am__EXEEXT_TRUE 628 655 LTLIBOBJS 629 656 LIBOBJS 657 + USE_GETTEXT_FALSE 658 + USE_GETTEXT_TRUE 659 + LOCALEDIR 630 660 appdefaultdir 631 661 APPDEFS_LIBS 632 662 APPDEFS_CFLAGS ··· 667 697 STRICT_CFLAGS 668 698 CWARNFLAGS 669 699 BASE_CFLAGS 670 - EGREP 671 - GREP 672 - CPP 673 700 am__fastdepCC_FALSE 674 701 am__fastdepCC_TRUE 675 702 CCDEPMODE ··· 761 788 enable_strict_compilation 762 789 enable_silent_rules 763 790 with_appdefaultdir 791 + with_localedir 764 792 ' 765 793 ac_precious_vars='build_alias 766 794 host_alias ··· 770 798 LDFLAGS 771 799 LIBS 772 800 CPPFLAGS 773 - CPP 774 801 PKG_CONFIG 775 802 PKG_CONFIG_PATH 776 803 PKG_CONFIG_LIBDIR ··· 846 873 *) ac_optarg=yes ;; 847 874 esac 848 875 849 - # Accept the important Cygnus configure options, so we can diagnose typos. 850 - 851 876 case $ac_dashdash$ac_option in 852 877 --) 853 878 ac_dashdash=yes ;; ··· 888 913 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 889 914 # Reject names that are not valid shell variable names. 890 915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 891 - as_fn_error $? "invalid feature name: $ac_useropt" 916 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 892 917 ac_useropt_orig=$ac_useropt 893 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 918 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 894 919 case $ac_user_opts in 895 920 *" 896 921 "enable_$ac_useropt" ··· 914 939 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 915 940 # Reject names that are not valid shell variable names. 916 941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 917 - as_fn_error $? "invalid feature name: $ac_useropt" 942 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 918 943 ac_useropt_orig=$ac_useropt 919 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 944 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 920 945 case $ac_user_opts in 921 946 *" 922 947 "enable_$ac_useropt" ··· 1127 1152 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1128 1153 # Reject names that are not valid shell variable names. 1129 1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1130 - as_fn_error $? "invalid package name: $ac_useropt" 1155 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1131 1156 ac_useropt_orig=$ac_useropt 1132 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1133 1158 case $ac_user_opts in 1134 1159 *" 1135 1160 "with_$ac_useropt" ··· 1143 1168 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1144 1169 # Reject names that are not valid shell variable names. 1145 1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1146 - as_fn_error $? "invalid package name: $ac_useropt" 1171 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1147 1172 ac_useropt_orig=$ac_useropt 1148 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1173 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1149 1174 case $ac_user_opts in 1150 1175 *" 1151 1176 "with_$ac_useropt" ··· 1189 1214 1190 1215 *) 1191 1216 # FIXME: should be removed in autoconf 3.0. 1192 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1217 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1193 1218 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1194 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1219 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1195 1220 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1196 1221 ;; 1197 1222 ··· 1207 1232 case $enable_option_checking in 1208 1233 no) ;; 1209 1234 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1210 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1235 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1211 1236 esac 1212 1237 fi 1213 1238 ··· 1271 1296 X"$as_myself" : 'X\(//\)[^/]' \| \ 1272 1297 X"$as_myself" : 'X\(//\)$' \| \ 1273 1298 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1274 - $as_echo X"$as_myself" | 1299 + printf "%s\n" X"$as_myself" | 1275 1300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1276 1301 s//\1/ 1277 1302 q ··· 1328 1353 # Omit some internal or obsolete options to make the list less imposing. 1329 1354 # This message is too long to be a string in the A/UX 3.1 sh. 1330 1355 cat <<_ACEOF 1331 - \`configure' configures xfontsel 1.1.0 to adapt to many kinds of systems. 1356 + \`configure' configures xfontsel 1.1.1 to adapt to many kinds of systems. 1332 1357 1333 1358 Usage: $0 [OPTION]... [VAR=VALUE]... 1334 1359 ··· 1399 1424 1400 1425 if test -n "$ac_init_help"; then 1401 1426 case $ac_init_help in 1402 - short | recursive ) echo "Configuration of xfontsel 1.1.0:";; 1427 + short | recursive ) echo "Configuration of xfontsel 1.1.1:";; 1403 1428 esac 1404 1429 cat <<\_ACEOF 1405 1430 ··· 1429 1454 --with-appdefaultdir=<pathname> 1430 1455 specify directory for app-defaults files (default is 1431 1456 autodetected) 1457 + --with-localedir=<path> Path to install message files in (default: 1458 + datadir/locale) 1432 1459 1433 1460 Some influential environment variables: 1434 1461 CC C compiler command ··· 1438 1465 LIBS libraries to pass to the linker, e.g. -l<library> 1439 1466 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1440 1467 you have headers in a nonstandard directory <include dir> 1441 - CPP C preprocessor 1442 1468 PKG_CONFIG path to pkg-config utility 1443 1469 PKG_CONFIG_PATH 1444 1470 directories to add to pkg-config's search path ··· 1456 1482 Use these variables to override the choices made by `configure' or to help 1457 1483 it to find libraries and programs with nonstandard names/locations. 1458 1484 1459 - Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfontsel/issues>. 1485 + Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfontsel/-/issues>. 1460 1486 _ACEOF 1461 1487 ac_status=$? 1462 1488 fi ··· 1472 1498 case "$ac_dir" in 1473 1499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1474 1500 *) 1475 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1501 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1476 1502 # A ".." for each directory in $ac_dir_suffix. 1477 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1503 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1478 1504 case $ac_top_builddir_sub in 1479 1505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1480 1506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1502 1528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1503 1529 1504 1530 cd "$ac_dir" || { ac_status=$?; continue; } 1505 - # Check for guested configure. 1531 + # Check for configure.gnu first; this name is used for a wrapper for 1532 + # Metaconfig's "Configure" on case-insensitive file systems. 1506 1533 if test -f "$ac_srcdir/configure.gnu"; then 1507 1534 echo && 1508 1535 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1510 1537 echo && 1511 1538 $SHELL "$ac_srcdir/configure" --help=recursive 1512 1539 else 1513 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1540 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1514 1541 fi || ac_status=$? 1515 1542 cd "$ac_pwd" || { ac_status=$?; break; } 1516 1543 done ··· 1519 1546 test -n "$ac_init_help" && exit $ac_status 1520 1547 if $ac_init_version; then 1521 1548 cat <<\_ACEOF 1522 - xfontsel configure 1.1.0 1523 - generated by GNU Autoconf 2.69 1549 + xfontsel configure 1.1.1 1550 + generated by GNU Autoconf 2.71 1524 1551 1525 - Copyright (C) 2012 Free Software Foundation, Inc. 1552 + Copyright (C) 2021 Free Software Foundation, Inc. 1526 1553 This configure script is free software; the Free Software Foundation 1527 1554 gives unlimited permission to copy, distribute and modify it. 1528 1555 _ACEOF ··· 1539 1566 ac_fn_c_try_compile () 1540 1567 { 1541 1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1542 - rm -f conftest.$ac_objext 1569 + rm -f conftest.$ac_objext conftest.beam 1543 1570 if { { ac_try="$ac_compile" 1544 1571 case "(($ac_try" in 1545 1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1546 1573 *) ac_try_echo=$ac_try;; 1547 1574 esac 1548 1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1549 - $as_echo "$ac_try_echo"; } >&5 1576 + printf "%s\n" "$ac_try_echo"; } >&5 1550 1577 (eval "$ac_compile") 2>conftest.err 1551 1578 ac_status=$? 1552 1579 if test -s conftest.err; then ··· 1554 1581 cat conftest.er1 >&5 1555 1582 mv -f conftest.er1 conftest.err 1556 1583 fi 1557 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1584 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1558 1585 test $ac_status = 0; } && { 1559 1586 test -z "$ac_c_werror_flag" || 1560 1587 test ! -s conftest.err 1561 - } && test -s conftest.$ac_objext; then : 1588 + } && test -s conftest.$ac_objext 1589 + then : 1562 1590 ac_retval=0 1563 - else 1564 - $as_echo "$as_me: failed program was:" >&5 1591 + else $as_nop 1592 + printf "%s\n" "$as_me: failed program was:" >&5 1565 1593 sed 's/^/| /' conftest.$ac_ext >&5 1566 1594 1567 1595 ac_retval=1 ··· 1571 1599 1572 1600 } # ac_fn_c_try_compile 1573 1601 1574 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1575 - # --------------------------------------------- 1602 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1603 + # ------------------------------------------------------------------ 1576 1604 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1577 - # accordingly. 1578 - ac_fn_c_check_decl () 1605 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1606 + ac_fn_check_decl () 1579 1607 { 1580 1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1581 1609 as_decl_name=`echo $2|sed 's/ *(.*//'` 1610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1611 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1612 + if eval test \${$3+y} 1613 + then : 1614 + printf %s "(cached) " >&6 1615 + else $as_nop 1582 1616 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1583 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1584 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1585 - if eval \${$3+:} false; then : 1586 - $as_echo_n "(cached) " >&6 1587 - else 1617 + eval ac_save_FLAGS=\$$6 1618 + as_fn_append $6 " $5" 1588 1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1589 1620 /* end confdefs.h. */ 1590 1621 $4 1591 1622 int 1592 - main () 1623 + main (void) 1593 1624 { 1594 1625 #ifndef $as_decl_name 1595 1626 #ifdef __cplusplus ··· 1603 1634 return 0; 1604 1635 } 1605 1636 _ACEOF 1606 - if ac_fn_c_try_compile "$LINENO"; then : 1637 + if ac_fn_c_try_compile "$LINENO" 1638 + then : 1607 1639 eval "$3=yes" 1608 - else 1640 + else $as_nop 1609 1641 eval "$3=no" 1610 1642 fi 1611 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1643 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1644 + eval $6=\$ac_save_FLAGS 1645 + 1612 1646 fi 1613 1647 eval ac_res=\$$3 1614 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1615 - $as_echo "$ac_res" >&6; } 1648 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1649 + printf "%s\n" "$ac_res" >&6; } 1616 1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1617 1651 1618 - } # ac_fn_c_check_decl 1619 - 1620 - # ac_fn_c_try_cpp LINENO 1621 - # ---------------------- 1622 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1623 - ac_fn_c_try_cpp () 1624 - { 1625 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1626 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1627 - case "(($ac_try" in 1628 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1629 - *) ac_try_echo=$ac_try;; 1630 - esac 1631 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1632 - $as_echo "$ac_try_echo"; } >&5 1633 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1634 - ac_status=$? 1635 - if test -s conftest.err; then 1636 - grep -v '^ *+' conftest.err >conftest.er1 1637 - cat conftest.er1 >&5 1638 - mv -f conftest.er1 conftest.err 1639 - fi 1640 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1641 - test $ac_status = 0; } > conftest.i && { 1642 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1643 - test ! -s conftest.err 1644 - }; then : 1645 - ac_retval=0 1646 - else 1647 - $as_echo "$as_me: failed program was:" >&5 1648 - sed 's/^/| /' conftest.$ac_ext >&5 1649 - 1650 - ac_retval=1 1651 - fi 1652 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1653 - as_fn_set_status $ac_retval 1654 - 1655 - } # ac_fn_c_try_cpp 1656 - 1657 - # ac_fn_c_try_run LINENO 1658 - # ---------------------- 1659 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1660 - # that executables *can* be run. 1661 - ac_fn_c_try_run () 1662 - { 1663 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1664 - if { { ac_try="$ac_link" 1665 - case "(($ac_try" in 1666 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1667 - *) ac_try_echo=$ac_try;; 1668 - esac 1669 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1670 - $as_echo "$ac_try_echo"; } >&5 1671 - (eval "$ac_link") 2>&5 1672 - ac_status=$? 1673 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1674 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1675 - { { case "(($ac_try" in 1676 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1677 - *) ac_try_echo=$ac_try;; 1678 - esac 1679 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1680 - $as_echo "$ac_try_echo"; } >&5 1681 - (eval "$ac_try") 2>&5 1682 - ac_status=$? 1683 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 - test $ac_status = 0; }; }; then : 1685 - ac_retval=0 1686 - else 1687 - $as_echo "$as_me: program exited with status $ac_status" >&5 1688 - $as_echo "$as_me: failed program was:" >&5 1689 - sed 's/^/| /' conftest.$ac_ext >&5 1690 - 1691 - ac_retval=$ac_status 1692 - fi 1693 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1694 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1695 - as_fn_set_status $ac_retval 1696 - 1697 - } # ac_fn_c_try_run 1652 + } # ac_fn_check_decl 1698 1653 1699 1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1700 1655 # ------------------------------------------------------- ··· 1703 1658 ac_fn_c_check_header_compile () 1704 1659 { 1705 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1707 - $as_echo_n "checking for $2... " >&6; } 1708 - if eval \${$3+:} false; then : 1709 - $as_echo_n "(cached) " >&6 1710 - else 1661 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1662 + printf %s "checking for $2... " >&6; } 1663 + if eval test \${$3+y} 1664 + then : 1665 + printf %s "(cached) " >&6 1666 + else $as_nop 1711 1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1712 1668 /* end confdefs.h. */ 1713 1669 $4 1714 1670 #include <$2> 1715 1671 _ACEOF 1716 - if ac_fn_c_try_compile "$LINENO"; then : 1672 + if ac_fn_c_try_compile "$LINENO" 1673 + then : 1717 1674 eval "$3=yes" 1718 - else 1675 + else $as_nop 1719 1676 eval "$3=no" 1720 1677 fi 1721 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1678 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1722 1679 fi 1723 1680 eval ac_res=\$$3 1724 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1725 - $as_echo "$ac_res" >&6; } 1681 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1682 + printf "%s\n" "$ac_res" >&6; } 1726 1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1727 1684 1728 1685 } # ac_fn_c_check_header_compile ··· 1733 1690 ac_fn_c_try_link () 1734 1691 { 1735 1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1736 - rm -f conftest.$ac_objext conftest$ac_exeext 1693 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1737 1694 if { { ac_try="$ac_link" 1738 1695 case "(($ac_try" in 1739 1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1740 1697 *) ac_try_echo=$ac_try;; 1741 1698 esac 1742 1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1743 - $as_echo "$ac_try_echo"; } >&5 1700 + printf "%s\n" "$ac_try_echo"; } >&5 1744 1701 (eval "$ac_link") 2>conftest.err 1745 1702 ac_status=$? 1746 1703 if test -s conftest.err; then ··· 1748 1705 cat conftest.er1 >&5 1749 1706 mv -f conftest.er1 conftest.err 1750 1707 fi 1751 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1752 1709 test $ac_status = 0; } && { 1753 1710 test -z "$ac_c_werror_flag" || 1754 1711 test ! -s conftest.err 1755 1712 } && test -s conftest$ac_exeext && { 1756 1713 test "$cross_compiling" = yes || 1757 1714 test -x conftest$ac_exeext 1758 - }; then : 1715 + } 1716 + then : 1759 1717 ac_retval=0 1760 - else 1761 - $as_echo "$as_me: failed program was:" >&5 1718 + else $as_nop 1719 + printf "%s\n" "$as_me: failed program was:" >&5 1762 1720 sed 's/^/| /' conftest.$ac_ext >&5 1763 1721 1764 1722 ac_retval=1 ··· 1772 1730 as_fn_set_status $ac_retval 1773 1731 1774 1732 } # ac_fn_c_try_link 1733 + ac_configure_args_raw= 1734 + for ac_arg 1735 + do 1736 + case $ac_arg in 1737 + *\'*) 1738 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1739 + esac 1740 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1741 + done 1742 + 1743 + case $ac_configure_args_raw in 1744 + *$as_nl*) 1745 + ac_safe_unquote= ;; 1746 + *) 1747 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1748 + ac_unsafe_a="$ac_unsafe_z#~" 1749 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1750 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1751 + esac 1752 + 1775 1753 cat >config.log <<_ACEOF 1776 1754 This file contains any messages produced by compilers while 1777 1755 running configure, to aid debugging if configure makes a mistake. 1778 1756 1779 - It was created by xfontsel $as_me 1.1.0, which was 1780 - generated by GNU Autoconf 2.69. Invocation command line was 1757 + It was created by xfontsel $as_me 1.1.1, which was 1758 + generated by GNU Autoconf 2.71. Invocation command line was 1781 1759 1782 - $ $0 $@ 1760 + $ $0$ac_configure_args_raw 1783 1761 1784 1762 _ACEOF 1785 1763 exec 5>>config.log ··· 1812 1790 for as_dir in $PATH 1813 1791 do 1814 1792 IFS=$as_save_IFS 1815 - test -z "$as_dir" && as_dir=. 1816 - $as_echo "PATH: $as_dir" 1793 + case $as_dir in #((( 1794 + '') as_dir=./ ;; 1795 + */) ;; 1796 + *) as_dir=$as_dir/ ;; 1797 + esac 1798 + printf "%s\n" "PATH: $as_dir" 1817 1799 done 1818 1800 IFS=$as_save_IFS 1819 1801 ··· 1848 1830 | -silent | --silent | --silen | --sile | --sil) 1849 1831 continue ;; 1850 1832 *\'*) 1851 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1833 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1852 1834 esac 1853 1835 case $ac_pass in 1854 1836 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1883 1865 # WARNING: Use '\'' to represent an apostrophe within the trap. 1884 1866 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1885 1867 trap 'exit_status=$? 1868 + # Sanitize IFS. 1869 + IFS=" "" $as_nl" 1886 1870 # Save into config.log some information that might help in debugging. 1887 1871 { 1888 1872 echo 1889 1873 1890 - $as_echo "## ---------------- ## 1874 + printf "%s\n" "## ---------------- ## 1891 1875 ## Cache variables. ## 1892 1876 ## ---------------- ##" 1893 1877 echo ··· 1898 1882 case $ac_val in #( 1899 1883 *${as_nl}*) 1900 1884 case $ac_var in #( 1901 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1902 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1885 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1886 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1903 1887 esac 1904 1888 case $ac_var in #( 1905 1889 _ | IFS | as_nl) ;; #( ··· 1923 1907 ) 1924 1908 echo 1925 1909 1926 - $as_echo "## ----------------- ## 1910 + printf "%s\n" "## ----------------- ## 1927 1911 ## Output variables. ## 1928 1912 ## ----------------- ##" 1929 1913 echo ··· 1931 1915 do 1932 1916 eval ac_val=\$$ac_var 1933 1917 case $ac_val in 1934 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1918 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1935 1919 esac 1936 - $as_echo "$ac_var='\''$ac_val'\''" 1920 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1937 1921 done | sort 1938 1922 echo 1939 1923 1940 1924 if test -n "$ac_subst_files"; then 1941 - $as_echo "## ------------------- ## 1925 + printf "%s\n" "## ------------------- ## 1942 1926 ## File substitutions. ## 1943 1927 ## ------------------- ##" 1944 1928 echo ··· 1946 1930 do 1947 1931 eval ac_val=\$$ac_var 1948 1932 case $ac_val in 1949 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1933 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1950 1934 esac 1951 - $as_echo "$ac_var='\''$ac_val'\''" 1935 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1952 1936 done | sort 1953 1937 echo 1954 1938 fi 1955 1939 1956 1940 if test -s confdefs.h; then 1957 - $as_echo "## ----------- ## 1941 + printf "%s\n" "## ----------- ## 1958 1942 ## confdefs.h. ## 1959 1943 ## ----------- ##" 1960 1944 echo ··· 1962 1946 echo 1963 1947 fi 1964 1948 test "$ac_signal" != 0 && 1965 - $as_echo "$as_me: caught signal $ac_signal" 1966 - $as_echo "$as_me: exit $exit_status" 1949 + printf "%s\n" "$as_me: caught signal $ac_signal" 1950 + printf "%s\n" "$as_me: exit $exit_status" 1967 1951 } >&5 1968 1952 rm -f core *.core core.conftest.* && 1969 1953 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 1977 1961 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1978 1962 rm -f -r conftest* confdefs.h 1979 1963 1980 - $as_echo "/* confdefs.h */" > confdefs.h 1964 + printf "%s\n" "/* confdefs.h */" > confdefs.h 1981 1965 1982 1966 # Predefined preprocessor variables. 1983 1967 1984 - cat >>confdefs.h <<_ACEOF 1985 - #define PACKAGE_NAME "$PACKAGE_NAME" 1986 - _ACEOF 1968 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1987 1969 1988 - cat >>confdefs.h <<_ACEOF 1989 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1990 - _ACEOF 1970 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1991 1971 1992 - cat >>confdefs.h <<_ACEOF 1993 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 1994 - _ACEOF 1972 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1995 1973 1996 - cat >>confdefs.h <<_ACEOF 1997 - #define PACKAGE_STRING "$PACKAGE_STRING" 1998 - _ACEOF 1974 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1999 1975 2000 - cat >>confdefs.h <<_ACEOF 2001 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2002 - _ACEOF 1976 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2003 1977 2004 - cat >>confdefs.h <<_ACEOF 2005 - #define PACKAGE_URL "$PACKAGE_URL" 2006 - _ACEOF 1978 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2007 1979 2008 1980 2009 1981 # Let the site file select an alternate cache file if it wants to. 2010 1982 # Prefer an explicitly selected file to automatically selected ones. 2011 - ac_site_file1=NONE 2012 - ac_site_file2=NONE 2013 1983 if test -n "$CONFIG_SITE"; then 2014 - # We do not want a PATH search for config.site. 2015 - case $CONFIG_SITE in #(( 2016 - -*) ac_site_file1=./$CONFIG_SITE;; 2017 - */*) ac_site_file1=$CONFIG_SITE;; 2018 - *) ac_site_file1=./$CONFIG_SITE;; 2019 - esac 1984 + ac_site_files="$CONFIG_SITE" 2020 1985 elif test "x$prefix" != xNONE; then 2021 - ac_site_file1=$prefix/share/config.site 2022 - ac_site_file2=$prefix/etc/config.site 1986 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2023 1987 else 2024 - ac_site_file1=$ac_default_prefix/share/config.site 2025 - ac_site_file2=$ac_default_prefix/etc/config.site 1988 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2026 1989 fi 2027 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1990 + 1991 + for ac_site_file in $ac_site_files 2028 1992 do 2029 - test "x$ac_site_file" = xNONE && continue 2030 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2031 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2032 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1993 + case $ac_site_file in #( 1994 + */*) : 1995 + ;; #( 1996 + *) : 1997 + ac_site_file=./$ac_site_file ;; 1998 + esac 1999 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2001 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2033 2002 sed 's/^/| /' "$ac_site_file" >&5 2034 2003 . "$ac_site_file" \ 2035 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2036 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2004 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2005 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2037 2006 as_fn_error $? "failed to load site script $ac_site_file 2038 2007 See \`config.log' for more details" "$LINENO" 5; } 2039 2008 fi ··· 2043 2012 # Some versions of bash will fail to source /dev/null (special files 2044 2013 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2045 2014 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2046 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2047 - $as_echo "$as_me: loading cache $cache_file" >&6;} 2015 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2016 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2048 2017 case $cache_file in 2049 2018 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2050 2019 *) . "./$cache_file";; 2051 2020 esac 2052 2021 fi 2053 2022 else 2054 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2055 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2023 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2024 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2056 2025 >$cache_file 2057 2026 fi 2058 2027 2028 + # Test code for whether the C compiler supports C89 (global declarations) 2029 + ac_c_conftest_c89_globals=' 2030 + /* Does the compiler advertise C89 conformance? 2031 + Do not test the value of __STDC__, because some compilers set it to 0 2032 + while being otherwise adequately conformant. */ 2033 + #if !defined __STDC__ 2034 + # error "Compiler does not advertise C89 conformance" 2035 + #endif 2036 + 2037 + #include <stddef.h> 2038 + #include <stdarg.h> 2039 + struct stat; 2040 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2041 + struct buf { int x; }; 2042 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2043 + static char *e (p, i) 2044 + char **p; 2045 + int i; 2046 + { 2047 + return p[i]; 2048 + } 2049 + static char *f (char * (*g) (char **, int), char **p, ...) 2050 + { 2051 + char *s; 2052 + va_list v; 2053 + va_start (v,p); 2054 + s = g (p, va_arg (v,int)); 2055 + va_end (v); 2056 + return s; 2057 + } 2058 + 2059 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2060 + function prototypes and stuff, but not \xHH hex character constants. 2061 + These do not provoke an error unfortunately, instead are silently treated 2062 + as an "x". The following induces an error, until -std is added to get 2063 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2064 + array size at least. It is necessary to write \x00 == 0 to get something 2065 + that is true only with -std. */ 2066 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2067 + 2068 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2069 + inside strings and character constants. */ 2070 + #define FOO(x) '\''x'\'' 2071 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2072 + 2073 + int test (int i, double x); 2074 + struct s1 {int (*f) (int a);}; 2075 + struct s2 {int (*f) (double a);}; 2076 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2077 + int, int);' 2078 + 2079 + # Test code for whether the C compiler supports C89 (body of main). 2080 + ac_c_conftest_c89_main=' 2081 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2082 + ' 2083 + 2084 + # Test code for whether the C compiler supports C99 (global declarations) 2085 + ac_c_conftest_c99_globals=' 2086 + // Does the compiler advertise C99 conformance? 2087 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2088 + # error "Compiler does not advertise C99 conformance" 2089 + #endif 2090 + 2091 + #include <stdbool.h> 2092 + extern int puts (const char *); 2093 + extern int printf (const char *, ...); 2094 + extern int dprintf (int, const char *, ...); 2095 + extern void *malloc (size_t); 2096 + 2097 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2098 + // dprintf is used instead of fprintf to avoid needing to declare 2099 + // FILE and stderr. 2100 + #define debug(...) dprintf (2, __VA_ARGS__) 2101 + #define showlist(...) puts (#__VA_ARGS__) 2102 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2103 + static void 2104 + test_varargs_macros (void) 2105 + { 2106 + int x = 1234; 2107 + int y = 5678; 2108 + debug ("Flag"); 2109 + debug ("X = %d\n", x); 2110 + showlist (The first, second, and third items.); 2111 + report (x>y, "x is %d but y is %d", x, y); 2112 + } 2113 + 2114 + // Check long long types. 2115 + #define BIG64 18446744073709551615ull 2116 + #define BIG32 4294967295ul 2117 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2118 + #if !BIG_OK 2119 + #error "your preprocessor is broken" 2120 + #endif 2121 + #if BIG_OK 2122 + #else 2123 + #error "your preprocessor is broken" 2124 + #endif 2125 + static long long int bignum = -9223372036854775807LL; 2126 + static unsigned long long int ubignum = BIG64; 2127 + 2128 + struct incomplete_array 2129 + { 2130 + int datasize; 2131 + double data[]; 2132 + }; 2133 + 2134 + struct named_init { 2135 + int number; 2136 + const wchar_t *name; 2137 + double average; 2138 + }; 2139 + 2140 + typedef const char *ccp; 2141 + 2142 + static inline int 2143 + test_restrict (ccp restrict text) 2144 + { 2145 + // See if C++-style comments work. 2146 + // Iterate through items via the restricted pointer. 2147 + // Also check for declarations in for loops. 2148 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2149 + continue; 2150 + return 0; 2151 + } 2152 + 2153 + // Check varargs and va_copy. 2154 + static bool 2155 + test_varargs (const char *format, ...) 2156 + { 2157 + va_list args; 2158 + va_start (args, format); 2159 + va_list args_copy; 2160 + va_copy (args_copy, args); 2161 + 2162 + const char *str = ""; 2163 + int number = 0; 2164 + float fnumber = 0; 2165 + 2166 + while (*format) 2167 + { 2168 + switch (*format++) 2169 + { 2170 + case '\''s'\'': // string 2171 + str = va_arg (args_copy, const char *); 2172 + break; 2173 + case '\''d'\'': // int 2174 + number = va_arg (args_copy, int); 2175 + break; 2176 + case '\''f'\'': // float 2177 + fnumber = va_arg (args_copy, double); 2178 + break; 2179 + default: 2180 + break; 2181 + } 2182 + } 2183 + va_end (args_copy); 2184 + va_end (args); 2185 + 2186 + return *str && number && fnumber; 2187 + } 2188 + ' 2189 + 2190 + # Test code for whether the C compiler supports C99 (body of main). 2191 + ac_c_conftest_c99_main=' 2192 + // Check bool. 2193 + _Bool success = false; 2194 + success |= (argc != 0); 2195 + 2196 + // Check restrict. 2197 + if (test_restrict ("String literal") == 0) 2198 + success = true; 2199 + char *restrict newvar = "Another string"; 2200 + 2201 + // Check varargs. 2202 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2203 + test_varargs_macros (); 2204 + 2205 + // Check flexible array members. 2206 + struct incomplete_array *ia = 2207 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2208 + ia->datasize = 10; 2209 + for (int i = 0; i < ia->datasize; ++i) 2210 + ia->data[i] = i * 1.234; 2211 + 2212 + // Check named initializers. 2213 + struct named_init ni = { 2214 + .number = 34, 2215 + .name = L"Test wide string", 2216 + .average = 543.34343, 2217 + }; 2218 + 2219 + ni.number = 58; 2220 + 2221 + int dynamic_array[ni.number]; 2222 + dynamic_array[0] = argv[0][0]; 2223 + dynamic_array[ni.number - 1] = 543; 2224 + 2225 + // work around unused variable warnings 2226 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2227 + || dynamic_array[ni.number - 1] != 543); 2228 + ' 2229 + 2230 + # Test code for whether the C compiler supports C11 (global declarations) 2231 + ac_c_conftest_c11_globals=' 2232 + // Does the compiler advertise C11 conformance? 2233 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2234 + # error "Compiler does not advertise C11 conformance" 2235 + #endif 2236 + 2237 + // Check _Alignas. 2238 + char _Alignas (double) aligned_as_double; 2239 + char _Alignas (0) no_special_alignment; 2240 + extern char aligned_as_int; 2241 + char _Alignas (0) _Alignas (int) aligned_as_int; 2242 + 2243 + // Check _Alignof. 2244 + enum 2245 + { 2246 + int_alignment = _Alignof (int), 2247 + int_array_alignment = _Alignof (int[100]), 2248 + char_alignment = _Alignof (char) 2249 + }; 2250 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2251 + 2252 + // Check _Noreturn. 2253 + int _Noreturn does_not_return (void) { for (;;) continue; } 2254 + 2255 + // Check _Static_assert. 2256 + struct test_static_assert 2257 + { 2258 + int x; 2259 + _Static_assert (sizeof (int) <= sizeof (long int), 2260 + "_Static_assert does not work in struct"); 2261 + long int y; 2262 + }; 2263 + 2264 + // Check UTF-8 literals. 2265 + #define u8 syntax error! 2266 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2267 + 2268 + // Check duplicate typedefs. 2269 + typedef long *long_ptr; 2270 + typedef long int *long_ptr; 2271 + typedef long_ptr long_ptr; 2272 + 2273 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2274 + struct anonymous 2275 + { 2276 + union { 2277 + struct { int i; int j; }; 2278 + struct { int k; long int l; } w; 2279 + }; 2280 + int m; 2281 + } v1; 2282 + ' 2283 + 2284 + # Test code for whether the C compiler supports C11 (body of main). 2285 + ac_c_conftest_c11_main=' 2286 + _Static_assert ((offsetof (struct anonymous, i) 2287 + == offsetof (struct anonymous, w.k)), 2288 + "Anonymous union alignment botch"); 2289 + v1.i = 2; 2290 + v1.w.k = 5; 2291 + ok |= v1.i != 5; 2292 + ' 2293 + 2294 + # Test code for whether the C compiler supports C11 (complete). 2295 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2296 + ${ac_c_conftest_c99_globals} 2297 + ${ac_c_conftest_c11_globals} 2298 + 2299 + int 2300 + main (int argc, char **argv) 2301 + { 2302 + int ok = 0; 2303 + ${ac_c_conftest_c89_main} 2304 + ${ac_c_conftest_c99_main} 2305 + ${ac_c_conftest_c11_main} 2306 + return ok; 2307 + } 2308 + " 2309 + 2310 + # Test code for whether the C compiler supports C99 (complete). 2311 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2312 + ${ac_c_conftest_c99_globals} 2313 + 2314 + int 2315 + main (int argc, char **argv) 2316 + { 2317 + int ok = 0; 2318 + ${ac_c_conftest_c89_main} 2319 + ${ac_c_conftest_c99_main} 2320 + return ok; 2321 + } 2322 + " 2323 + 2324 + # Test code for whether the C compiler supports C89 (complete). 2325 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2326 + 2327 + int 2328 + main (int argc, char **argv) 2329 + { 2330 + int ok = 0; 2331 + ${ac_c_conftest_c89_main} 2332 + return ok; 2333 + } 2334 + " 2335 + 2336 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2337 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2338 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2339 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2340 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2341 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2342 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2343 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2344 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2345 + 2346 + # Auxiliary files required by this configure script. 2347 + ac_aux_files="config.guess config.sub missing install-sh" 2348 + 2349 + # Locations in which to look for auxiliary files. 2350 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2351 + 2352 + # Search for a directory containing all of the required auxiliary files, 2353 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2354 + # If we don't find one directory that contains all the files we need, 2355 + # we report the set of missing files from the *first* directory in 2356 + # $ac_aux_dir_candidates and give up. 2357 + ac_missing_aux_files="" 2358 + ac_first_candidate=: 2359 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2360 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361 + as_found=false 2362 + for as_dir in $ac_aux_dir_candidates 2363 + do 2364 + IFS=$as_save_IFS 2365 + case $as_dir in #((( 2366 + '') as_dir=./ ;; 2367 + */) ;; 2368 + *) as_dir=$as_dir/ ;; 2369 + esac 2370 + as_found=: 2371 + 2372 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2373 + ac_aux_dir_found=yes 2374 + ac_install_sh= 2375 + for ac_aux in $ac_aux_files 2376 + do 2377 + # As a special case, if "install-sh" is required, that requirement 2378 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2379 + # and $ac_install_sh is set appropriately for whichever one is found. 2380 + if test x"$ac_aux" = x"install-sh" 2381 + then 2382 + if test -f "${as_dir}install-sh"; then 2383 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2384 + ac_install_sh="${as_dir}install-sh -c" 2385 + elif test -f "${as_dir}install.sh"; then 2386 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2387 + ac_install_sh="${as_dir}install.sh -c" 2388 + elif test -f "${as_dir}shtool"; then 2389 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2390 + ac_install_sh="${as_dir}shtool install -c" 2391 + else 2392 + ac_aux_dir_found=no 2393 + if $ac_first_candidate; then 2394 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2395 + else 2396 + break 2397 + fi 2398 + fi 2399 + else 2400 + if test -f "${as_dir}${ac_aux}"; then 2401 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2402 + else 2403 + ac_aux_dir_found=no 2404 + if $ac_first_candidate; then 2405 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2406 + else 2407 + break 2408 + fi 2409 + fi 2410 + fi 2411 + done 2412 + if test "$ac_aux_dir_found" = yes; then 2413 + ac_aux_dir="$as_dir" 2414 + break 2415 + fi 2416 + ac_first_candidate=false 2417 + 2418 + as_found=false 2419 + done 2420 + IFS=$as_save_IFS 2421 + if $as_found 2422 + then : 2423 + 2424 + else $as_nop 2425 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2426 + fi 2427 + 2428 + 2429 + # These three variables are undocumented and unsupported, 2430 + # and are intended to be withdrawn in a future Autoconf release. 2431 + # They can cause serious problems if a builder's source tree is in a directory 2432 + # whose full name contains unusual characters. 2433 + if test -f "${ac_aux_dir}config.guess"; then 2434 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2435 + fi 2436 + if test -f "${ac_aux_dir}config.sub"; then 2437 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2438 + fi 2439 + if test -f "$ac_aux_dir/configure"; then 2440 + ac_configure="$SHELL ${ac_aux_dir}configure" 2441 + fi 2442 + 2059 2443 # Check that the precious variables saved in the cache have kept the same 2060 2444 # value. 2061 2445 ac_cache_corrupted=false ··· 2066 2450 eval ac_new_val=\$ac_env_${ac_var}_value 2067 2451 case $ac_old_set,$ac_new_set in 2068 2452 set,) 2069 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2070 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2453 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2454 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2071 2455 ac_cache_corrupted=: ;; 2072 2456 ,set) 2073 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2074 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2457 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2458 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2075 2459 ac_cache_corrupted=: ;; 2076 2460 ,);; 2077 2461 *) ··· 2080 2464 ac_old_val_w=`echo x $ac_old_val` 2081 2465 ac_new_val_w=`echo x $ac_new_val` 2082 2466 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2083 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2084 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2467 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2468 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2085 2469 ac_cache_corrupted=: 2086 2470 else 2087 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2088 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2472 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2089 2473 eval $ac_var=\$ac_old_val 2090 2474 fi 2091 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2092 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2093 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2094 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2475 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2476 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2477 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2478 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2095 2479 fi;; 2096 2480 esac 2097 2481 # Pass precious variables to config.status. 2098 2482 if test "$ac_new_set" = set; then 2099 2483 case $ac_new_val in 2100 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2484 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2101 2485 *) ac_arg=$ac_var=$ac_new_val ;; 2102 2486 esac 2103 2487 case " $ac_configure_args " in ··· 2107 2491 fi 2108 2492 done 2109 2493 if $ac_cache_corrupted; then 2110 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2111 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2112 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2113 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2114 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2494 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2495 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2497 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2498 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2499 + and start over" "$LINENO" 5 2115 2500 fi 2116 2501 ## -------------------- ## 2117 2502 ## Main body of script. ## ··· 2131 2516 # Initialize Automake 2132 2517 am__api_version='1.12' 2133 2518 2134 - ac_aux_dir= 2135 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2136 - if test -f "$ac_dir/install-sh"; then 2137 - ac_aux_dir=$ac_dir 2138 - ac_install_sh="$ac_aux_dir/install-sh -c" 2139 - break 2140 - elif test -f "$ac_dir/install.sh"; then 2141 - ac_aux_dir=$ac_dir 2142 - ac_install_sh="$ac_aux_dir/install.sh -c" 2143 - break 2144 - elif test -f "$ac_dir/shtool"; then 2145 - ac_aux_dir=$ac_dir 2146 - ac_install_sh="$ac_aux_dir/shtool install -c" 2147 - break 2148 - fi 2149 - done 2150 - if test -z "$ac_aux_dir"; then 2151 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2152 - fi 2153 2519 2154 - # These three variables are undocumented and unsupported, 2155 - # and are intended to be withdrawn in a future Autoconf release. 2156 - # They can cause serious problems if a builder's source tree is in a directory 2157 - # whose full name contains unusual characters. 2158 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2159 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2160 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2161 2520 2162 - 2163 - # Find a good install program. We prefer a C program (faster), 2521 + # Find a good install program. We prefer a C program (faster), 2164 2522 # so one script is as good as another. But avoid the broken or 2165 2523 # incompatible versions: 2166 2524 # SysV /etc/install, /usr/sbin/install ··· 2174 2532 # OS/2's system install, which has a completely different semantic 2175 2533 # ./install, which can be erroneously created by make from ./install.sh. 2176 2534 # Reject install programs that cannot install multiple files. 2177 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2178 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2536 + printf %s "checking for a BSD-compatible install... " >&6; } 2179 2537 if test -z "$INSTALL"; then 2180 - if ${ac_cv_path_install+:} false; then : 2181 - $as_echo_n "(cached) " >&6 2182 - else 2538 + if test ${ac_cv_path_install+y} 2539 + then : 2540 + printf %s "(cached) " >&6 2541 + else $as_nop 2183 2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2184 2543 for as_dir in $PATH 2185 2544 do 2186 2545 IFS=$as_save_IFS 2187 - test -z "$as_dir" && as_dir=. 2188 - # Account for people who put trailing slashes in PATH elements. 2189 - case $as_dir/ in #(( 2190 - ./ | .// | /[cC]/* | \ 2546 + case $as_dir in #((( 2547 + '') as_dir=./ ;; 2548 + */) ;; 2549 + *) as_dir=$as_dir/ ;; 2550 + esac 2551 + # Account for fact that we put trailing slashes in our PATH walk. 2552 + case $as_dir in #(( 2553 + ./ | /[cC]/* | \ 2191 2554 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2192 2555 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2193 2556 /usr/ucb/* ) ;; ··· 2197 2560 # by default. 2198 2561 for ac_prog in ginstall scoinst install; do 2199 2562 for ac_exec_ext in '' $ac_executable_extensions; do 2200 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2563 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2201 2564 if test $ac_prog = install && 2202 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2565 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2203 2566 # AIX install. It has an incompatible calling convention. 2204 2567 : 2205 2568 elif test $ac_prog = install && 2206 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2569 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2207 2570 # program-specific install script used by HP pwplus--don't use. 2208 2571 : 2209 2572 else ··· 2211 2574 echo one > conftest.one 2212 2575 echo two > conftest.two 2213 2576 mkdir conftest.dir 2214 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2577 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2215 2578 test -s conftest.one && test -s conftest.two && 2216 2579 test -s conftest.dir/conftest.one && 2217 2580 test -s conftest.dir/conftest.two 2218 2581 then 2219 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2582 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2220 2583 break 3 2221 2584 fi 2222 2585 fi ··· 2232 2595 rm -rf conftest.one conftest.two conftest.dir 2233 2596 2234 2597 fi 2235 - if test "${ac_cv_path_install+set}" = set; then 2598 + if test ${ac_cv_path_install+y}; then 2236 2599 INSTALL=$ac_cv_path_install 2237 2600 else 2238 2601 # As a last resort, use the slow shell script. Don't cache a ··· 2242 2605 INSTALL=$ac_install_sh 2243 2606 fi 2244 2607 fi 2245 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2246 - $as_echo "$INSTALL" >&6; } 2608 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2609 + printf "%s\n" "$INSTALL" >&6; } 2247 2610 2248 2611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2249 2612 # It thinks the first close brace ends the variable substitution. ··· 2253 2616 2254 2617 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2255 2618 2256 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2257 - $as_echo_n "checking whether build environment is sane... " >&6; } 2619 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2620 + printf %s "checking whether build environment is sane... " >&6; } 2258 2621 # Reject unsafe characters in $srcdir or the absolute working directory 2259 2622 # name. Accept space and tab only in the latter. 2260 2623 am_lf=' ··· 2308 2671 as_fn_error $? "newly created file is older than distributed files! 2309 2672 Check your system clock" "$LINENO" 5 2310 2673 fi 2311 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2312 - $as_echo "yes" >&6; } 2674 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2675 + printf "%s\n" "yes" >&6; } 2313 2676 # If we didn't sleep, we still need to ensure time stamps of config.status and 2314 2677 # generated files are strictly newer. 2315 2678 am_sleep_pid= ··· 2328 2691 # Double any \ or $. 2329 2692 # By default was `s,x,x', remove it if useless. 2330 2693 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2331 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2694 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2332 2695 2333 2696 # expand $ac_aux_dir to an absolute path 2334 2697 am_aux_dir=`cd $ac_aux_dir && pwd` 2335 2698 2336 - if test x"${MISSING+set}" != xset; then 2699 + 2700 + if test x"${MISSING+set}" != xset; then 2337 2701 case $am_aux_dir in 2338 2702 *\ * | *\ *) 2339 2703 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2346 2710 am_missing_run="$MISSING --run " 2347 2711 else 2348 2712 am_missing_run= 2349 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2350 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2713 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2714 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2351 2715 fi 2352 2716 2353 2717 if test x"${install_sh}" != xset; then ··· 2367 2731 if test -n "$ac_tool_prefix"; then 2368 2732 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2369 2733 set dummy ${ac_tool_prefix}strip; ac_word=$2 2370 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2371 - $as_echo_n "checking for $ac_word... " >&6; } 2372 - if ${ac_cv_prog_STRIP+:} false; then : 2373 - $as_echo_n "(cached) " >&6 2374 - else 2734 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2735 + printf %s "checking for $ac_word... " >&6; } 2736 + if test ${ac_cv_prog_STRIP+y} 2737 + then : 2738 + printf %s "(cached) " >&6 2739 + else $as_nop 2375 2740 if test -n "$STRIP"; then 2376 2741 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2377 2742 else ··· 2379 2744 for as_dir in $PATH 2380 2745 do 2381 2746 IFS=$as_save_IFS 2382 - test -z "$as_dir" && as_dir=. 2747 + case $as_dir in #((( 2748 + '') as_dir=./ ;; 2749 + */) ;; 2750 + *) as_dir=$as_dir/ ;; 2751 + esac 2383 2752 for ac_exec_ext in '' $ac_executable_extensions; do 2384 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2753 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2385 2754 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2386 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2755 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2387 2756 break 2 2388 2757 fi 2389 2758 done ··· 2394 2763 fi 2395 2764 STRIP=$ac_cv_prog_STRIP 2396 2765 if test -n "$STRIP"; then 2397 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2398 - $as_echo "$STRIP" >&6; } 2766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2767 + printf "%s\n" "$STRIP" >&6; } 2399 2768 else 2400 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2401 - $as_echo "no" >&6; } 2769 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2770 + printf "%s\n" "no" >&6; } 2402 2771 fi 2403 2772 2404 2773 ··· 2407 2776 ac_ct_STRIP=$STRIP 2408 2777 # Extract the first word of "strip", so it can be a program name with args. 2409 2778 set dummy strip; ac_word=$2 2410 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2411 - $as_echo_n "checking for $ac_word... " >&6; } 2412 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2413 - $as_echo_n "(cached) " >&6 2414 - else 2779 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2780 + printf %s "checking for $ac_word... " >&6; } 2781 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2782 + then : 2783 + printf %s "(cached) " >&6 2784 + else $as_nop 2415 2785 if test -n "$ac_ct_STRIP"; then 2416 2786 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2417 2787 else ··· 2419 2789 for as_dir in $PATH 2420 2790 do 2421 2791 IFS=$as_save_IFS 2422 - test -z "$as_dir" && as_dir=. 2792 + case $as_dir in #((( 2793 + '') as_dir=./ ;; 2794 + */) ;; 2795 + *) as_dir=$as_dir/ ;; 2796 + esac 2423 2797 for ac_exec_ext in '' $ac_executable_extensions; do 2424 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2798 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2425 2799 ac_cv_prog_ac_ct_STRIP="strip" 2426 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2800 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2427 2801 break 2 2428 2802 fi 2429 2803 done ··· 2434 2808 fi 2435 2809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2436 2810 if test -n "$ac_ct_STRIP"; then 2437 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2438 - $as_echo "$ac_ct_STRIP" >&6; } 2811 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2812 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2439 2813 else 2440 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2441 - $as_echo "no" >&6; } 2814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2815 + printf "%s\n" "no" >&6; } 2442 2816 fi 2443 2817 2444 2818 if test "x$ac_ct_STRIP" = x; then ··· 2446 2820 else 2447 2821 case $cross_compiling:$ac_tool_warned in 2448 2822 yes:) 2449 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2450 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2823 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2824 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2451 2825 ac_tool_warned=yes ;; 2452 2826 esac 2453 2827 STRIP=$ac_ct_STRIP ··· 2459 2833 fi 2460 2834 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2461 2835 2462 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2463 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2836 + 2837 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2838 + printf %s "checking for a race-free mkdir -p... " >&6; } 2464 2839 if test -z "$MKDIR_P"; then 2465 - if ${ac_cv_path_mkdir+:} false; then : 2466 - $as_echo_n "(cached) " >&6 2467 - else 2840 + if test ${ac_cv_path_mkdir+y} 2841 + then : 2842 + printf %s "(cached) " >&6 2843 + else $as_nop 2468 2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2469 2845 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2470 2846 do 2471 2847 IFS=$as_save_IFS 2472 - test -z "$as_dir" && as_dir=. 2848 + case $as_dir in #((( 2849 + '') as_dir=./ ;; 2850 + */) ;; 2851 + *) as_dir=$as_dir/ ;; 2852 + esac 2473 2853 for ac_prog in mkdir gmkdir; do 2474 2854 for ac_exec_ext in '' $ac_executable_extensions; do 2475 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2476 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2477 - 'mkdir (GNU coreutils) '* | \ 2478 - 'mkdir (coreutils) '* | \ 2855 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2856 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2857 + 'mkdir ('*'coreutils) '* | \ 2858 + 'BusyBox '* | \ 2479 2859 'mkdir (fileutils) '4.1*) 2480 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2860 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2481 2861 break 3;; 2482 2862 esac 2483 2863 done ··· 2488 2868 fi 2489 2869 2490 2870 test -d ./--version && rmdir ./--version 2491 - if test "${ac_cv_path_mkdir+set}" = set; then 2871 + if test ${ac_cv_path_mkdir+y}; then 2492 2872 MKDIR_P="$ac_cv_path_mkdir -p" 2493 2873 else 2494 2874 # As a last resort, use the slow shell script. Don't cache a ··· 2498 2878 MKDIR_P="$ac_install_sh -d" 2499 2879 fi 2500 2880 fi 2501 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2502 - $as_echo "$MKDIR_P" >&6; } 2881 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2882 + printf "%s\n" "$MKDIR_P" >&6; } 2503 2883 2504 2884 for ac_prog in gawk mawk nawk awk 2505 2885 do 2506 2886 # Extract the first word of "$ac_prog", so it can be a program name with args. 2507 2887 set dummy $ac_prog; ac_word=$2 2508 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2509 - $as_echo_n "checking for $ac_word... " >&6; } 2510 - if ${ac_cv_prog_AWK+:} false; then : 2511 - $as_echo_n "(cached) " >&6 2512 - else 2888 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2889 + printf %s "checking for $ac_word... " >&6; } 2890 + if test ${ac_cv_prog_AWK+y} 2891 + then : 2892 + printf %s "(cached) " >&6 2893 + else $as_nop 2513 2894 if test -n "$AWK"; then 2514 2895 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2515 2896 else ··· 2517 2898 for as_dir in $PATH 2518 2899 do 2519 2900 IFS=$as_save_IFS 2520 - test -z "$as_dir" && as_dir=. 2901 + case $as_dir in #((( 2902 + '') as_dir=./ ;; 2903 + */) ;; 2904 + *) as_dir=$as_dir/ ;; 2905 + esac 2521 2906 for ac_exec_ext in '' $ac_executable_extensions; do 2522 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2907 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2523 2908 ac_cv_prog_AWK="$ac_prog" 2524 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2909 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2525 2910 break 2 2526 2911 fi 2527 2912 done ··· 2532 2917 fi 2533 2918 AWK=$ac_cv_prog_AWK 2534 2919 if test -n "$AWK"; then 2535 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2536 - $as_echo "$AWK" >&6; } 2920 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2921 + printf "%s\n" "$AWK" >&6; } 2537 2922 else 2538 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2539 - $as_echo "no" >&6; } 2923 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2924 + printf "%s\n" "no" >&6; } 2540 2925 fi 2541 2926 2542 2927 2543 2928 test -n "$AWK" && break 2544 2929 done 2545 2930 2546 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2547 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2931 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2932 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2548 2933 set x ${MAKE-make} 2549 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2550 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2551 - $as_echo_n "(cached) " >&6 2552 - else 2934 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2935 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2936 + then : 2937 + printf %s "(cached) " >&6 2938 + else $as_nop 2553 2939 cat >conftest.make <<\_ACEOF 2554 2940 SHELL = /bin/sh 2555 2941 all: ··· 2565 2951 rm -f conftest.make 2566 2952 fi 2567 2953 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2568 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2569 - $as_echo "yes" >&6; } 2954 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2955 + printf "%s\n" "yes" >&6; } 2570 2956 SET_MAKE= 2571 2957 else 2572 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2573 - $as_echo "no" >&6; } 2958 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2959 + printf "%s\n" "no" >&6; } 2574 2960 SET_MAKE="MAKE=${MAKE-make}" 2575 2961 fi 2576 2962 ··· 2605 2991 2606 2992 # Define the identity of the package. 2607 2993 PACKAGE='xfontsel' 2608 - VERSION='1.1.0' 2994 + VERSION='1.1.1' 2609 2995 2610 2996 2611 - cat >>confdefs.h <<_ACEOF 2612 - #define PACKAGE "$PACKAGE" 2613 - _ACEOF 2997 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2614 2998 2615 2999 2616 - cat >>confdefs.h <<_ACEOF 2617 - #define VERSION "$VERSION" 2618 - _ACEOF 3000 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2619 3001 2620 3002 # Some tools Automake needs. 2621 3003 ··· 2664 3046 2665 3047 2666 3048 2667 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2668 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3049 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3050 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2669 3051 # Check whether --enable-maintainer-mode was given. 2670 - if test "${enable_maintainer_mode+set}" = set; then : 3052 + if test ${enable_maintainer_mode+y} 3053 + then : 2671 3054 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2672 - else 3055 + else $as_nop 2673 3056 USE_MAINTAINER_MODE=no 2674 3057 fi 2675 3058 2676 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2677 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 3059 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3060 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 2678 3061 if test $USE_MAINTAINER_MODE = yes; then 2679 3062 MAINTAINER_MODE_TRUE= 2680 3063 MAINTAINER_MODE_FALSE='#' ··· 2687 3070 2688 3071 2689 3072 3073 + 3074 + 3075 + 3076 + 3077 + 3078 + 3079 + 3080 + 3081 + 2690 3082 DEPDIR="${am__leading_dot}deps" 2691 3083 2692 3084 ac_config_commands="$ac_config_commands depfiles" ··· 2699 3091 .PHONY: am__doit 2700 3092 END 2701 3093 # If we don't find an include directive, just comment out the code. 2702 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2703 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3095 + printf %s "checking for style of include used by $am_make... " >&6; } 2704 3096 am__include="#" 2705 3097 am__quote= 2706 3098 _am_result=none ··· 2727 3119 fi 2728 3120 2729 3121 2730 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2731 - $as_echo "$_am_result" >&6; } 3122 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3123 + printf "%s\n" "$_am_result" >&6; } 2732 3124 rm -f confinc confmf 2733 3125 2734 3126 # Check whether --enable-dependency-tracking was given. 2735 - if test "${enable_dependency_tracking+set}" = set; then : 3127 + if test ${enable_dependency_tracking+y} 3128 + then : 2736 3129 enableval=$enable_dependency_tracking; 2737 3130 fi 2738 3131 ··· 2758 3151 if test -n "$ac_tool_prefix"; then 2759 3152 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2760 3153 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2761 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2762 - $as_echo_n "checking for $ac_word... " >&6; } 2763 - if ${ac_cv_prog_CC+:} false; then : 2764 - $as_echo_n "(cached) " >&6 2765 - else 3154 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3155 + printf %s "checking for $ac_word... " >&6; } 3156 + if test ${ac_cv_prog_CC+y} 3157 + then : 3158 + printf %s "(cached) " >&6 3159 + else $as_nop 2766 3160 if test -n "$CC"; then 2767 3161 ac_cv_prog_CC="$CC" # Let the user override the test. 2768 3162 else ··· 2770 3164 for as_dir in $PATH 2771 3165 do 2772 3166 IFS=$as_save_IFS 2773 - test -z "$as_dir" && as_dir=. 3167 + case $as_dir in #((( 3168 + '') as_dir=./ ;; 3169 + */) ;; 3170 + *) as_dir=$as_dir/ ;; 3171 + esac 2774 3172 for ac_exec_ext in '' $ac_executable_extensions; do 2775 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3173 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2776 3174 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2777 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3175 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2778 3176 break 2 2779 3177 fi 2780 3178 done ··· 2785 3183 fi 2786 3184 CC=$ac_cv_prog_CC 2787 3185 if test -n "$CC"; then 2788 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2789 - $as_echo "$CC" >&6; } 3186 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3187 + printf "%s\n" "$CC" >&6; } 2790 3188 else 2791 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2792 - $as_echo "no" >&6; } 3189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3190 + printf "%s\n" "no" >&6; } 2793 3191 fi 2794 3192 2795 3193 ··· 2798 3196 ac_ct_CC=$CC 2799 3197 # Extract the first word of "gcc", so it can be a program name with args. 2800 3198 set dummy gcc; ac_word=$2 2801 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2802 - $as_echo_n "checking for $ac_word... " >&6; } 2803 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2804 - $as_echo_n "(cached) " >&6 2805 - else 3199 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3200 + printf %s "checking for $ac_word... " >&6; } 3201 + if test ${ac_cv_prog_ac_ct_CC+y} 3202 + then : 3203 + printf %s "(cached) " >&6 3204 + else $as_nop 2806 3205 if test -n "$ac_ct_CC"; then 2807 3206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2808 3207 else ··· 2810 3209 for as_dir in $PATH 2811 3210 do 2812 3211 IFS=$as_save_IFS 2813 - test -z "$as_dir" && as_dir=. 3212 + case $as_dir in #((( 3213 + '') as_dir=./ ;; 3214 + */) ;; 3215 + *) as_dir=$as_dir/ ;; 3216 + esac 2814 3217 for ac_exec_ext in '' $ac_executable_extensions; do 2815 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3218 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2816 3219 ac_cv_prog_ac_ct_CC="gcc" 2817 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3220 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2818 3221 break 2 2819 3222 fi 2820 3223 done ··· 2825 3228 fi 2826 3229 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2827 3230 if test -n "$ac_ct_CC"; then 2828 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2829 - $as_echo "$ac_ct_CC" >&6; } 3231 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3232 + printf "%s\n" "$ac_ct_CC" >&6; } 2830 3233 else 2831 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2832 - $as_echo "no" >&6; } 3234 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3235 + printf "%s\n" "no" >&6; } 2833 3236 fi 2834 3237 2835 3238 if test "x$ac_ct_CC" = x; then ··· 2837 3240 else 2838 3241 case $cross_compiling:$ac_tool_warned in 2839 3242 yes:) 2840 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2841 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3243 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3244 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2842 3245 ac_tool_warned=yes ;; 2843 3246 esac 2844 3247 CC=$ac_ct_CC ··· 2851 3254 if test -n "$ac_tool_prefix"; then 2852 3255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2853 3256 set dummy ${ac_tool_prefix}cc; ac_word=$2 2854 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2855 - $as_echo_n "checking for $ac_word... " >&6; } 2856 - if ${ac_cv_prog_CC+:} false; then : 2857 - $as_echo_n "(cached) " >&6 2858 - else 3257 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3258 + printf %s "checking for $ac_word... " >&6; } 3259 + if test ${ac_cv_prog_CC+y} 3260 + then : 3261 + printf %s "(cached) " >&6 3262 + else $as_nop 2859 3263 if test -n "$CC"; then 2860 3264 ac_cv_prog_CC="$CC" # Let the user override the test. 2861 3265 else ··· 2863 3267 for as_dir in $PATH 2864 3268 do 2865 3269 IFS=$as_save_IFS 2866 - test -z "$as_dir" && as_dir=. 3270 + case $as_dir in #((( 3271 + '') as_dir=./ ;; 3272 + */) ;; 3273 + *) as_dir=$as_dir/ ;; 3274 + esac 2867 3275 for ac_exec_ext in '' $ac_executable_extensions; do 2868 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3276 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2869 3277 ac_cv_prog_CC="${ac_tool_prefix}cc" 2870 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3278 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2871 3279 break 2 2872 3280 fi 2873 3281 done ··· 2878 3286 fi 2879 3287 CC=$ac_cv_prog_CC 2880 3288 if test -n "$CC"; then 2881 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2882 - $as_echo "$CC" >&6; } 3289 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3290 + printf "%s\n" "$CC" >&6; } 2883 3291 else 2884 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2885 - $as_echo "no" >&6; } 3292 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3293 + printf "%s\n" "no" >&6; } 2886 3294 fi 2887 3295 2888 3296 ··· 2891 3299 if test -z "$CC"; then 2892 3300 # Extract the first word of "cc", so it can be a program name with args. 2893 3301 set dummy cc; ac_word=$2 2894 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2895 - $as_echo_n "checking for $ac_word... " >&6; } 2896 - if ${ac_cv_prog_CC+:} false; then : 2897 - $as_echo_n "(cached) " >&6 2898 - else 3302 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3303 + printf %s "checking for $ac_word... " >&6; } 3304 + if test ${ac_cv_prog_CC+y} 3305 + then : 3306 + printf %s "(cached) " >&6 3307 + else $as_nop 2899 3308 if test -n "$CC"; then 2900 3309 ac_cv_prog_CC="$CC" # Let the user override the test. 2901 3310 else ··· 2904 3313 for as_dir in $PATH 2905 3314 do 2906 3315 IFS=$as_save_IFS 2907 - test -z "$as_dir" && as_dir=. 3316 + case $as_dir in #((( 3317 + '') as_dir=./ ;; 3318 + */) ;; 3319 + *) as_dir=$as_dir/ ;; 3320 + esac 2908 3321 for ac_exec_ext in '' $ac_executable_extensions; do 2909 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2910 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3322 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3323 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2911 3324 ac_prog_rejected=yes 2912 3325 continue 2913 3326 fi 2914 3327 ac_cv_prog_CC="cc" 2915 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3328 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2916 3329 break 2 2917 3330 fi 2918 3331 done ··· 2928 3341 # However, it has the same basename, so the bogon will be chosen 2929 3342 # first if we set CC to just the basename; use the full file name. 2930 3343 shift 2931 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3344 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 2932 3345 fi 2933 3346 fi 2934 3347 fi 2935 3348 fi 2936 3349 CC=$ac_cv_prog_CC 2937 3350 if test -n "$CC"; then 2938 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2939 - $as_echo "$CC" >&6; } 3351 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3352 + printf "%s\n" "$CC" >&6; } 2940 3353 else 2941 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2942 - $as_echo "no" >&6; } 3354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3355 + printf "%s\n" "no" >&6; } 2943 3356 fi 2944 3357 2945 3358 ··· 2950 3363 do 2951 3364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2952 3365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2953 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2954 - $as_echo_n "checking for $ac_word... " >&6; } 2955 - if ${ac_cv_prog_CC+:} false; then : 2956 - $as_echo_n "(cached) " >&6 2957 - else 3366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3367 + printf %s "checking for $ac_word... " >&6; } 3368 + if test ${ac_cv_prog_CC+y} 3369 + then : 3370 + printf %s "(cached) " >&6 3371 + else $as_nop 2958 3372 if test -n "$CC"; then 2959 3373 ac_cv_prog_CC="$CC" # Let the user override the test. 2960 3374 else ··· 2962 3376 for as_dir in $PATH 2963 3377 do 2964 3378 IFS=$as_save_IFS 2965 - test -z "$as_dir" && as_dir=. 3379 + case $as_dir in #((( 3380 + '') as_dir=./ ;; 3381 + */) ;; 3382 + *) as_dir=$as_dir/ ;; 3383 + esac 2966 3384 for ac_exec_ext in '' $ac_executable_extensions; do 2967 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3385 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2968 3386 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2969 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3387 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2970 3388 break 2 2971 3389 fi 2972 3390 done ··· 2977 3395 fi 2978 3396 CC=$ac_cv_prog_CC 2979 3397 if test -n "$CC"; then 2980 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2981 - $as_echo "$CC" >&6; } 3398 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3399 + printf "%s\n" "$CC" >&6; } 2982 3400 else 2983 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2984 - $as_echo "no" >&6; } 3401 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3402 + printf "%s\n" "no" >&6; } 2985 3403 fi 2986 3404 2987 3405 ··· 2994 3412 do 2995 3413 # Extract the first word of "$ac_prog", so it can be a program name with args. 2996 3414 set dummy $ac_prog; ac_word=$2 2997 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2998 - $as_echo_n "checking for $ac_word... " >&6; } 2999 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3000 - $as_echo_n "(cached) " >&6 3001 - else 3415 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3416 + printf %s "checking for $ac_word... " >&6; } 3417 + if test ${ac_cv_prog_ac_ct_CC+y} 3418 + then : 3419 + printf %s "(cached) " >&6 3420 + else $as_nop 3002 3421 if test -n "$ac_ct_CC"; then 3003 3422 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3004 3423 else ··· 3006 3425 for as_dir in $PATH 3007 3426 do 3008 3427 IFS=$as_save_IFS 3009 - test -z "$as_dir" && as_dir=. 3428 + case $as_dir in #((( 3429 + '') as_dir=./ ;; 3430 + */) ;; 3431 + *) as_dir=$as_dir/ ;; 3432 + esac 3010 3433 for ac_exec_ext in '' $ac_executable_extensions; do 3011 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3434 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3012 3435 ac_cv_prog_ac_ct_CC="$ac_prog" 3013 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3436 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3014 3437 break 2 3015 3438 fi 3016 3439 done ··· 3021 3444 fi 3022 3445 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3023 3446 if test -n "$ac_ct_CC"; then 3024 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3025 - $as_echo "$ac_ct_CC" >&6; } 3447 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3448 + printf "%s\n" "$ac_ct_CC" >&6; } 3026 3449 else 3027 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3028 - $as_echo "no" >&6; } 3450 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3451 + printf "%s\n" "no" >&6; } 3029 3452 fi 3030 3453 3031 3454 ··· 3037 3460 else 3038 3461 case $cross_compiling:$ac_tool_warned in 3039 3462 yes:) 3040 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3041 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3464 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3465 + ac_tool_warned=yes ;; 3466 + esac 3467 + CC=$ac_ct_CC 3468 + fi 3469 + fi 3470 + 3471 + fi 3472 + if test -z "$CC"; then 3473 + if test -n "$ac_tool_prefix"; then 3474 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3475 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3476 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3477 + printf %s "checking for $ac_word... " >&6; } 3478 + if test ${ac_cv_prog_CC+y} 3479 + then : 3480 + printf %s "(cached) " >&6 3481 + else $as_nop 3482 + if test -n "$CC"; then 3483 + ac_cv_prog_CC="$CC" # Let the user override the test. 3484 + else 3485 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3486 + for as_dir in $PATH 3487 + do 3488 + IFS=$as_save_IFS 3489 + case $as_dir in #((( 3490 + '') as_dir=./ ;; 3491 + */) ;; 3492 + *) as_dir=$as_dir/ ;; 3493 + esac 3494 + for ac_exec_ext in '' $ac_executable_extensions; do 3495 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3496 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3497 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3498 + break 2 3499 + fi 3500 + done 3501 + done 3502 + IFS=$as_save_IFS 3503 + 3504 + fi 3505 + fi 3506 + CC=$ac_cv_prog_CC 3507 + if test -n "$CC"; then 3508 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3509 + printf "%s\n" "$CC" >&6; } 3510 + else 3511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3512 + printf "%s\n" "no" >&6; } 3513 + fi 3514 + 3515 + 3516 + fi 3517 + if test -z "$ac_cv_prog_CC"; then 3518 + ac_ct_CC=$CC 3519 + # Extract the first word of "clang", so it can be a program name with args. 3520 + set dummy clang; ac_word=$2 3521 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3522 + printf %s "checking for $ac_word... " >&6; } 3523 + if test ${ac_cv_prog_ac_ct_CC+y} 3524 + then : 3525 + printf %s "(cached) " >&6 3526 + else $as_nop 3527 + if test -n "$ac_ct_CC"; then 3528 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3529 + else 3530 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3531 + for as_dir in $PATH 3532 + do 3533 + IFS=$as_save_IFS 3534 + case $as_dir in #((( 3535 + '') as_dir=./ ;; 3536 + */) ;; 3537 + *) as_dir=$as_dir/ ;; 3538 + esac 3539 + for ac_exec_ext in '' $ac_executable_extensions; do 3540 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3541 + ac_cv_prog_ac_ct_CC="clang" 3542 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3543 + break 2 3544 + fi 3545 + done 3546 + done 3547 + IFS=$as_save_IFS 3548 + 3549 + fi 3550 + fi 3551 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3552 + if test -n "$ac_ct_CC"; then 3553 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3554 + printf "%s\n" "$ac_ct_CC" >&6; } 3555 + else 3556 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3557 + printf "%s\n" "no" >&6; } 3558 + fi 3559 + 3560 + if test "x$ac_ct_CC" = x; then 3561 + CC="" 3562 + else 3563 + case $cross_compiling:$ac_tool_warned in 3564 + yes:) 3565 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3566 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3042 3567 ac_tool_warned=yes ;; 3043 3568 esac 3044 3569 CC=$ac_ct_CC 3045 3570 fi 3571 + else 3572 + CC="$ac_cv_prog_CC" 3046 3573 fi 3047 3574 3048 3575 fi 3049 3576 3050 3577 3051 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3052 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3578 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3579 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3053 3580 as_fn_error $? "no acceptable C compiler found in \$PATH 3054 3581 See \`config.log' for more details" "$LINENO" 5; } 3055 3582 3056 3583 # Provide some information about the compiler. 3057 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3584 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3058 3585 set X $ac_compile 3059 3586 ac_compiler=$2 3060 - for ac_option in --version -v -V -qversion; do 3587 + for ac_option in --version -v -V -qversion -version; do 3061 3588 { { ac_try="$ac_compiler $ac_option >&5" 3062 3589 case "(($ac_try" in 3063 3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3064 3591 *) ac_try_echo=$ac_try;; 3065 3592 esac 3066 3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3067 - $as_echo "$ac_try_echo"; } >&5 3594 + printf "%s\n" "$ac_try_echo"; } >&5 3068 3595 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3069 3596 ac_status=$? 3070 3597 if test -s conftest.err; then ··· 3074 3601 cat conftest.er1 >&5 3075 3602 fi 3076 3603 rm -f conftest.er1 conftest.err 3077 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3604 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3078 3605 test $ac_status = 0; } 3079 3606 done 3080 3607 ··· 3082 3609 /* end confdefs.h. */ 3083 3610 3084 3611 int 3085 - main () 3612 + main (void) 3086 3613 { 3087 3614 3088 3615 ; ··· 3094 3621 # Try to create an executable without -o first, disregard a.out. 3095 3622 # It will help us diagnose broken compilers, and finding out an intuition 3096 3623 # of exeext. 3097 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3098 - $as_echo_n "checking whether the C compiler works... " >&6; } 3099 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3624 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3625 + printf %s "checking whether the C compiler works... " >&6; } 3626 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3100 3627 3101 3628 # The possible output files: 3102 3629 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3117 3644 *) ac_try_echo=$ac_try;; 3118 3645 esac 3119 3646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3120 - $as_echo "$ac_try_echo"; } >&5 3647 + printf "%s\n" "$ac_try_echo"; } >&5 3121 3648 (eval "$ac_link_default") 2>&5 3122 3649 ac_status=$? 3123 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3124 - test $ac_status = 0; }; then : 3650 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3651 + test $ac_status = 0; } 3652 + then : 3125 3653 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3126 3654 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3127 3655 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3138 3666 # certainly right. 3139 3667 break;; 3140 3668 *.* ) 3141 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3669 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3142 3670 then :; else 3143 3671 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3144 3672 fi ··· 3154 3682 done 3155 3683 test "$ac_cv_exeext" = no && ac_cv_exeext= 3156 3684 3157 - else 3685 + else $as_nop 3158 3686 ac_file='' 3159 3687 fi 3160 - if test -z "$ac_file"; then : 3161 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3162 - $as_echo "no" >&6; } 3163 - $as_echo "$as_me: failed program was:" >&5 3688 + if test -z "$ac_file" 3689 + then : 3690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3691 + printf "%s\n" "no" >&6; } 3692 + printf "%s\n" "$as_me: failed program was:" >&5 3164 3693 sed 's/^/| /' conftest.$ac_ext >&5 3165 3694 3166 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3167 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3695 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3696 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3168 3697 as_fn_error 77 "C compiler cannot create executables 3169 3698 See \`config.log' for more details" "$LINENO" 5; } 3170 - else 3171 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3172 - $as_echo "yes" >&6; } 3699 + else $as_nop 3700 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3701 + printf "%s\n" "yes" >&6; } 3173 3702 fi 3174 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3175 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3176 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3177 - $as_echo "$ac_file" >&6; } 3703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3704 + printf %s "checking for C compiler default output file name... " >&6; } 3705 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3706 + printf "%s\n" "$ac_file" >&6; } 3178 3707 ac_exeext=$ac_cv_exeext 3179 3708 3180 3709 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3181 3710 ac_clean_files=$ac_clean_files_save 3182 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3183 - $as_echo_n "checking for suffix of executables... " >&6; } 3711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3712 + printf %s "checking for suffix of executables... " >&6; } 3184 3713 if { { ac_try="$ac_link" 3185 3714 case "(($ac_try" in 3186 3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3187 3716 *) ac_try_echo=$ac_try;; 3188 3717 esac 3189 3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3190 - $as_echo "$ac_try_echo"; } >&5 3719 + printf "%s\n" "$ac_try_echo"; } >&5 3191 3720 (eval "$ac_link") 2>&5 3192 3721 ac_status=$? 3193 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3194 - test $ac_status = 0; }; then : 3722 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3723 + test $ac_status = 0; } 3724 + then : 3195 3725 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3196 3726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3197 3727 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3205 3735 * ) break;; 3206 3736 esac 3207 3737 done 3208 - else 3209 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3210 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3738 + else $as_nop 3739 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3740 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3211 3741 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3212 3742 See \`config.log' for more details" "$LINENO" 5; } 3213 3743 fi 3214 3744 rm -f conftest conftest$ac_cv_exeext 3215 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3216 - $as_echo "$ac_cv_exeext" >&6; } 3745 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3746 + printf "%s\n" "$ac_cv_exeext" >&6; } 3217 3747 3218 3748 rm -f conftest.$ac_ext 3219 3749 EXEEXT=$ac_cv_exeext ··· 3222 3752 /* end confdefs.h. */ 3223 3753 #include <stdio.h> 3224 3754 int 3225 - main () 3755 + main (void) 3226 3756 { 3227 3757 FILE *f = fopen ("conftest.out", "w"); 3228 3758 return ferror (f) || fclose (f) != 0; ··· 3234 3764 ac_clean_files="$ac_clean_files conftest.out" 3235 3765 # Check that the compiler produces executables we can run. If not, either 3236 3766 # the compiler is broken, or we cross compile. 3237 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3238 - $as_echo_n "checking whether we are cross compiling... " >&6; } 3767 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3768 + printf %s "checking whether we are cross compiling... " >&6; } 3239 3769 if test "$cross_compiling" != yes; then 3240 3770 { { ac_try="$ac_link" 3241 3771 case "(($ac_try" in ··· 3243 3773 *) ac_try_echo=$ac_try;; 3244 3774 esac 3245 3775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3246 - $as_echo "$ac_try_echo"; } >&5 3776 + printf "%s\n" "$ac_try_echo"; } >&5 3247 3777 (eval "$ac_link") 2>&5 3248 3778 ac_status=$? 3249 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3779 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3250 3780 test $ac_status = 0; } 3251 3781 if { ac_try='./conftest$ac_cv_exeext' 3252 3782 { { case "(($ac_try" in ··· 3254 3784 *) ac_try_echo=$ac_try;; 3255 3785 esac 3256 3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3257 - $as_echo "$ac_try_echo"; } >&5 3787 + printf "%s\n" "$ac_try_echo"; } >&5 3258 3788 (eval "$ac_try") 2>&5 3259 3789 ac_status=$? 3260 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3790 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3261 3791 test $ac_status = 0; }; }; then 3262 3792 cross_compiling=no 3263 3793 else 3264 3794 if test "$cross_compiling" = maybe; then 3265 3795 cross_compiling=yes 3266 3796 else 3267 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3268 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3269 - as_fn_error $? "cannot run C compiled programs. 3797 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3798 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3799 + as_fn_error 77 "cannot run C compiled programs. 3270 3800 If you meant to cross compile, use \`--host'. 3271 3801 See \`config.log' for more details" "$LINENO" 5; } 3272 3802 fi 3273 3803 fi 3274 3804 fi 3275 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3276 - $as_echo "$cross_compiling" >&6; } 3805 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3806 + printf "%s\n" "$cross_compiling" >&6; } 3277 3807 3278 3808 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3279 3809 ac_clean_files=$ac_clean_files_save 3280 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3281 - $as_echo_n "checking for suffix of object files... " >&6; } 3282 - if ${ac_cv_objext+:} false; then : 3283 - $as_echo_n "(cached) " >&6 3284 - else 3810 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3811 + printf %s "checking for suffix of object files... " >&6; } 3812 + if test ${ac_cv_objext+y} 3813 + then : 3814 + printf %s "(cached) " >&6 3815 + else $as_nop 3285 3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3286 3817 /* end confdefs.h. */ 3287 3818 3288 3819 int 3289 - main () 3820 + main (void) 3290 3821 { 3291 3822 3292 3823 ; ··· 3300 3831 *) ac_try_echo=$ac_try;; 3301 3832 esac 3302 3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3303 - $as_echo "$ac_try_echo"; } >&5 3834 + printf "%s\n" "$ac_try_echo"; } >&5 3304 3835 (eval "$ac_compile") 2>&5 3305 3836 ac_status=$? 3306 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3307 - test $ac_status = 0; }; then : 3837 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3838 + test $ac_status = 0; } 3839 + then : 3308 3840 for ac_file in conftest.o conftest.obj conftest.*; do 3309 3841 test -f "$ac_file" || continue; 3310 3842 case $ac_file in ··· 3313 3845 break;; 3314 3846 esac 3315 3847 done 3316 - else 3317 - $as_echo "$as_me: failed program was:" >&5 3848 + else $as_nop 3849 + printf "%s\n" "$as_me: failed program was:" >&5 3318 3850 sed 's/^/| /' conftest.$ac_ext >&5 3319 3851 3320 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3321 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3852 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3853 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3322 3854 as_fn_error $? "cannot compute suffix of object files: cannot compile 3323 3855 See \`config.log' for more details" "$LINENO" 5; } 3324 3856 fi 3325 3857 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3326 3858 fi 3327 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3328 - $as_echo "$ac_cv_objext" >&6; } 3859 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3860 + printf "%s\n" "$ac_cv_objext" >&6; } 3329 3861 OBJEXT=$ac_cv_objext 3330 3862 ac_objext=$OBJEXT 3331 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3332 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3333 - if ${ac_cv_c_compiler_gnu+:} false; then : 3334 - $as_echo_n "(cached) " >&6 3335 - else 3863 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3864 + printf %s "checking whether the compiler supports GNU C... " >&6; } 3865 + if test ${ac_cv_c_compiler_gnu+y} 3866 + then : 3867 + printf %s "(cached) " >&6 3868 + else $as_nop 3336 3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3337 3870 /* end confdefs.h. */ 3338 3871 3339 3872 int 3340 - main () 3873 + main (void) 3341 3874 { 3342 3875 #ifndef __GNUC__ 3343 3876 choke me ··· 3347 3880 return 0; 3348 3881 } 3349 3882 _ACEOF 3350 - if ac_fn_c_try_compile "$LINENO"; then : 3883 + if ac_fn_c_try_compile "$LINENO" 3884 + then : 3351 3885 ac_compiler_gnu=yes 3352 - else 3886 + else $as_nop 3353 3887 ac_compiler_gnu=no 3354 3888 fi 3355 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3889 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3356 3890 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3357 3891 3358 3892 fi 3359 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3360 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3893 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3894 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3895 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3896 + 3361 3897 if test $ac_compiler_gnu = yes; then 3362 3898 GCC=yes 3363 3899 else 3364 3900 GCC= 3365 3901 fi 3366 - ac_test_CFLAGS=${CFLAGS+set} 3902 + ac_test_CFLAGS=${CFLAGS+y} 3367 3903 ac_save_CFLAGS=$CFLAGS 3368 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3369 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3370 - if ${ac_cv_prog_cc_g+:} false; then : 3371 - $as_echo_n "(cached) " >&6 3372 - else 3904 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3905 + printf %s "checking whether $CC accepts -g... " >&6; } 3906 + if test ${ac_cv_prog_cc_g+y} 3907 + then : 3908 + printf %s "(cached) " >&6 3909 + else $as_nop 3373 3910 ac_save_c_werror_flag=$ac_c_werror_flag 3374 3911 ac_c_werror_flag=yes 3375 3912 ac_cv_prog_cc_g=no ··· 3378 3915 /* end confdefs.h. */ 3379 3916 3380 3917 int 3381 - main () 3918 + main (void) 3382 3919 { 3383 3920 3384 3921 ; 3385 3922 return 0; 3386 3923 } 3387 3924 _ACEOF 3388 - if ac_fn_c_try_compile "$LINENO"; then : 3925 + if ac_fn_c_try_compile "$LINENO" 3926 + then : 3389 3927 ac_cv_prog_cc_g=yes 3390 - else 3928 + else $as_nop 3391 3929 CFLAGS="" 3392 3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3393 3931 /* end confdefs.h. */ 3394 3932 3395 3933 int 3396 - main () 3934 + main (void) 3397 3935 { 3398 3936 3399 3937 ; 3400 3938 return 0; 3401 3939 } 3402 3940 _ACEOF 3403 - if ac_fn_c_try_compile "$LINENO"; then : 3941 + if ac_fn_c_try_compile "$LINENO" 3942 + then : 3404 3943 3405 - else 3944 + else $as_nop 3406 3945 ac_c_werror_flag=$ac_save_c_werror_flag 3407 3946 CFLAGS="-g" 3408 3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3409 3948 /* end confdefs.h. */ 3410 3949 3411 3950 int 3412 - main () 3951 + main (void) 3413 3952 { 3414 3953 3415 3954 ; 3416 3955 return 0; 3417 3956 } 3418 3957 _ACEOF 3419 - if ac_fn_c_try_compile "$LINENO"; then : 3958 + if ac_fn_c_try_compile "$LINENO" 3959 + then : 3420 3960 ac_cv_prog_cc_g=yes 3421 3961 fi 3422 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3962 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3423 3963 fi 3424 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3964 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3425 3965 fi 3426 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3966 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3427 3967 ac_c_werror_flag=$ac_save_c_werror_flag 3428 3968 fi 3429 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3430 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3431 - if test "$ac_test_CFLAGS" = set; then 3969 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3970 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3971 + if test $ac_test_CFLAGS; then 3432 3972 CFLAGS=$ac_save_CFLAGS 3433 3973 elif test $ac_cv_prog_cc_g = yes; then 3434 3974 if test "$GCC" = yes; then ··· 3443 3983 CFLAGS= 3444 3984 fi 3445 3985 fi 3446 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3447 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3448 - if ${ac_cv_prog_cc_c89+:} false; then : 3449 - $as_echo_n "(cached) " >&6 3450 - else 3451 - ac_cv_prog_cc_c89=no 3986 + ac_prog_cc_stdc=no 3987 + if test x$ac_prog_cc_stdc = xno 3988 + then : 3989 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3990 + printf %s "checking for $CC option to enable C11 features... " >&6; } 3991 + if test ${ac_cv_prog_cc_c11+y} 3992 + then : 3993 + printf %s "(cached) " >&6 3994 + else $as_nop 3995 + ac_cv_prog_cc_c11=no 3452 3996 ac_save_CC=$CC 3453 3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3454 3998 /* end confdefs.h. */ 3455 - #include <stdarg.h> 3456 - #include <stdio.h> 3457 - struct stat; 3458 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3459 - struct buf { int x; }; 3460 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3461 - static char *e (p, i) 3462 - char **p; 3463 - int i; 3464 - { 3465 - return p[i]; 3466 - } 3467 - static char *f (char * (*g) (char **, int), char **p, ...) 3468 - { 3469 - char *s; 3470 - va_list v; 3471 - va_start (v,p); 3472 - s = g (p, va_arg (v,int)); 3473 - va_end (v); 3474 - return s; 3475 - } 3999 + $ac_c_conftest_c11_program 4000 + _ACEOF 4001 + for ac_arg in '' -std=gnu11 4002 + do 4003 + CC="$ac_save_CC $ac_arg" 4004 + if ac_fn_c_try_compile "$LINENO" 4005 + then : 4006 + ac_cv_prog_cc_c11=$ac_arg 4007 + fi 4008 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4009 + test "x$ac_cv_prog_cc_c11" != "xno" && break 4010 + done 4011 + rm -f conftest.$ac_ext 4012 + CC=$ac_save_CC 4013 + fi 3476 4014 3477 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3478 - function prototypes and stuff, but not '\xHH' hex character constants. 3479 - These don't provoke an error unfortunately, instead are silently treated 3480 - as 'x'. The following induces an error, until -std is added to get 3481 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3482 - array size at least. It's necessary to write '\x00'==0 to get something 3483 - that's true only with -std. */ 3484 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4015 + if test "x$ac_cv_prog_cc_c11" = xno 4016 + then : 4017 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4018 + printf "%s\n" "unsupported" >&6; } 4019 + else $as_nop 4020 + if test "x$ac_cv_prog_cc_c11" = x 4021 + then : 4022 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4023 + printf "%s\n" "none needed" >&6; } 4024 + else $as_nop 4025 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4026 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4027 + CC="$CC $ac_cv_prog_cc_c11" 4028 + fi 4029 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4030 + ac_prog_cc_stdc=c11 4031 + fi 4032 + fi 4033 + if test x$ac_prog_cc_stdc = xno 4034 + then : 4035 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4036 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4037 + if test ${ac_cv_prog_cc_c99+y} 4038 + then : 4039 + printf %s "(cached) " >&6 4040 + else $as_nop 4041 + ac_cv_prog_cc_c99=no 4042 + ac_save_CC=$CC 4043 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044 + /* end confdefs.h. */ 4045 + $ac_c_conftest_c99_program 4046 + _ACEOF 4047 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4048 + do 4049 + CC="$ac_save_CC $ac_arg" 4050 + if ac_fn_c_try_compile "$LINENO" 4051 + then : 4052 + ac_cv_prog_cc_c99=$ac_arg 4053 + fi 4054 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4055 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4056 + done 4057 + rm -f conftest.$ac_ext 4058 + CC=$ac_save_CC 4059 + fi 3485 4060 3486 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3487 - inside strings and character constants. */ 3488 - #define FOO(x) 'x' 3489 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3490 - 3491 - int test (int i, double x); 3492 - struct s1 {int (*f) (int a);}; 3493 - struct s2 {int (*f) (double a);}; 3494 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3495 - int argc; 3496 - char **argv; 3497 - int 3498 - main () 3499 - { 3500 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3501 - ; 3502 - return 0; 3503 - } 4061 + if test "x$ac_cv_prog_cc_c99" = xno 4062 + then : 4063 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4064 + printf "%s\n" "unsupported" >&6; } 4065 + else $as_nop 4066 + if test "x$ac_cv_prog_cc_c99" = x 4067 + then : 4068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4069 + printf "%s\n" "none needed" >&6; } 4070 + else $as_nop 4071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4072 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4073 + CC="$CC $ac_cv_prog_cc_c99" 4074 + fi 4075 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4076 + ac_prog_cc_stdc=c99 4077 + fi 4078 + fi 4079 + if test x$ac_prog_cc_stdc = xno 4080 + then : 4081 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4082 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4083 + if test ${ac_cv_prog_cc_c89+y} 4084 + then : 4085 + printf %s "(cached) " >&6 4086 + else $as_nop 4087 + ac_cv_prog_cc_c89=no 4088 + ac_save_CC=$CC 4089 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4090 + /* end confdefs.h. */ 4091 + $ac_c_conftest_c89_program 3504 4092 _ACEOF 3505 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3506 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4093 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3507 4094 do 3508 4095 CC="$ac_save_CC $ac_arg" 3509 - if ac_fn_c_try_compile "$LINENO"; then : 4096 + if ac_fn_c_try_compile "$LINENO" 4097 + then : 3510 4098 ac_cv_prog_cc_c89=$ac_arg 3511 4099 fi 3512 - rm -f core conftest.err conftest.$ac_objext 4100 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3513 4101 test "x$ac_cv_prog_cc_c89" != "xno" && break 3514 4102 done 3515 4103 rm -f conftest.$ac_ext 3516 4104 CC=$ac_save_CC 4105 + fi 3517 4106 4107 + if test "x$ac_cv_prog_cc_c89" = xno 4108 + then : 4109 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4110 + printf "%s\n" "unsupported" >&6; } 4111 + else $as_nop 4112 + if test "x$ac_cv_prog_cc_c89" = x 4113 + then : 4114 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4115 + printf "%s\n" "none needed" >&6; } 4116 + else $as_nop 4117 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4118 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4119 + CC="$CC $ac_cv_prog_cc_c89" 3518 4120 fi 3519 - # AC_CACHE_VAL 3520 - case "x$ac_cv_prog_cc_c89" in 3521 - x) 3522 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3523 - $as_echo "none needed" >&6; } ;; 3524 - xno) 3525 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3526 - $as_echo "unsupported" >&6; } ;; 3527 - *) 3528 - CC="$CC $ac_cv_prog_cc_c89" 3529 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3530 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3531 - esac 3532 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3533 - 4121 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4122 + ac_prog_cc_stdc=c89 4123 + fi 3534 4124 fi 3535 4125 3536 4126 ac_ext=c ··· 3541 4131 3542 4132 depcc="$CC" am_compiler_list= 3543 4133 3544 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3545 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3546 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3547 - $as_echo_n "(cached) " >&6 3548 - else 4134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4135 + printf %s "checking dependency style of $depcc... " >&6; } 4136 + if test ${am_cv_CC_dependencies_compiler_type+y} 4137 + then : 4138 + printf %s "(cached) " >&6 4139 + else $as_nop 3549 4140 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3550 4141 # We make a subdir and do the tests there. Otherwise we can end up 3551 4142 # making bogus files that we don't know about and never remove. For ··· 3652 4243 fi 3653 4244 3654 4245 fi 3655 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3656 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4246 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4247 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3657 4248 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3658 4249 3659 4250 if ··· 3667 4258 fi 3668 4259 3669 4260 3670 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3671 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3672 - if ${ac_cv_prog_cc_c99+:} false; then : 3673 - $as_echo_n "(cached) " >&6 3674 - else 3675 - ac_cv_prog_cc_c99=no 3676 - ac_save_CC=$CC 3677 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678 - /* end confdefs.h. */ 3679 - #include <stdarg.h> 3680 - #include <stdbool.h> 3681 - #include <stdlib.h> 3682 - #include <wchar.h> 3683 - #include <stdio.h> 3684 4261 3685 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 3686 - #define debug(...) fprintf (stderr, __VA_ARGS__) 3687 - #define showlist(...) puts (#__VA_ARGS__) 3688 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3689 - static void 3690 - test_varargs_macros (void) 3691 - { 3692 - int x = 1234; 3693 - int y = 5678; 3694 - debug ("Flag"); 3695 - debug ("X = %d\n", x); 3696 - showlist (The first, second, and third items.); 3697 - report (x>y, "x is %d but y is %d", x, y); 3698 - } 3699 - 3700 - // Check long long types. 3701 - #define BIG64 18446744073709551615ull 3702 - #define BIG32 4294967295ul 3703 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3704 - #if !BIG_OK 3705 - your preprocessor is broken; 3706 - #endif 3707 - #if BIG_OK 3708 - #else 3709 - your preprocessor is broken; 3710 - #endif 3711 - static long long int bignum = -9223372036854775807LL; 3712 - static unsigned long long int ubignum = BIG64; 4262 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 4263 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 4264 + if test ${ac_cv_c_undeclared_builtin_options+y} 4265 + then : 4266 + printf %s "(cached) " >&6 4267 + else $as_nop 4268 + ac_save_CFLAGS=$CFLAGS 4269 + ac_cv_c_undeclared_builtin_options='cannot detect' 4270 + for ac_arg in '' -fno-builtin; do 4271 + CFLAGS="$ac_save_CFLAGS $ac_arg" 4272 + # This test program should *not* compile successfully. 4273 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4274 + /* end confdefs.h. */ 3713 4275 3714 - struct incomplete_array 4276 + int 4277 + main (void) 3715 4278 { 3716 - int datasize; 3717 - double data[]; 3718 - }; 3719 - 3720 - struct named_init { 3721 - int number; 3722 - const wchar_t *name; 3723 - double average; 3724 - }; 3725 - 3726 - typedef const char *ccp; 3727 - 3728 - static inline int 3729 - test_restrict (ccp restrict text) 3730 - { 3731 - // See if C++-style comments work. 3732 - // Iterate through items via the restricted pointer. 3733 - // Also check for declarations in for loops. 3734 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3735 - continue; 4279 + (void) strchr; 4280 + ; 3736 4281 return 0; 3737 4282 } 4283 + _ACEOF 4284 + if ac_fn_c_try_compile "$LINENO" 4285 + then : 3738 4286 3739 - // Check varargs and va_copy. 3740 - static void 3741 - test_varargs (const char *format, ...) 3742 - { 3743 - va_list args; 3744 - va_start (args, format); 3745 - va_list args_copy; 3746 - va_copy (args_copy, args); 3747 - 3748 - const char *str; 3749 - int number; 3750 - float fnumber; 3751 - 3752 - while (*format) 3753 - { 3754 - switch (*format++) 3755 - { 3756 - case 's': // string 3757 - str = va_arg (args_copy, const char *); 3758 - break; 3759 - case 'd': // int 3760 - number = va_arg (args_copy, int); 3761 - break; 3762 - case 'f': // float 3763 - fnumber = va_arg (args_copy, double); 3764 - break; 3765 - default: 3766 - break; 3767 - } 3768 - } 3769 - va_end (args_copy); 3770 - va_end (args); 3771 - } 4287 + else $as_nop 4288 + # This test program should compile successfully. 4289 + # No library function is consistently available on 4290 + # freestanding implementations, so test against a dummy 4291 + # declaration. Include always-available headers on the 4292 + # off chance that they somehow elicit warnings. 4293 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4294 + /* end confdefs.h. */ 4295 + #include <float.h> 4296 + #include <limits.h> 4297 + #include <stdarg.h> 4298 + #include <stddef.h> 4299 + extern void ac_decl (int, char *); 3772 4300 3773 4301 int 3774 - main () 4302 + main (void) 3775 4303 { 3776 - 3777 - // Check bool. 3778 - _Bool success = false; 3779 - 3780 - // Check restrict. 3781 - if (test_restrict ("String literal") == 0) 3782 - success = true; 3783 - char *restrict newvar = "Another string"; 3784 - 3785 - // Check varargs. 3786 - test_varargs ("s, d' f .", "string", 65, 34.234); 3787 - test_varargs_macros (); 3788 - 3789 - // Check flexible array members. 3790 - struct incomplete_array *ia = 3791 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3792 - ia->datasize = 10; 3793 - for (int i = 0; i < ia->datasize; ++i) 3794 - ia->data[i] = i * 1.234; 3795 - 3796 - // Check named initializers. 3797 - struct named_init ni = { 3798 - .number = 34, 3799 - .name = L"Test wide string", 3800 - .average = 543.34343, 3801 - }; 3802 - 3803 - ni.number = 58; 3804 - 3805 - int dynamic_array[ni.number]; 3806 - dynamic_array[ni.number - 1] = 543; 3807 - 3808 - // work around unused variable warnings 3809 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3810 - || dynamic_array[ni.number - 1] != 543); 4304 + (void) ac_decl (0, (char *) 0); 4305 + (void) ac_decl; 3811 4306 3812 4307 ; 3813 4308 return 0; 3814 4309 } 3815 4310 _ACEOF 3816 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3817 - do 3818 - CC="$ac_save_CC $ac_arg" 3819 - if ac_fn_c_try_compile "$LINENO"; then : 3820 - ac_cv_prog_cc_c99=$ac_arg 4311 + if ac_fn_c_try_compile "$LINENO" 4312 + then : 4313 + if test x"$ac_arg" = x 4314 + then : 4315 + ac_cv_c_undeclared_builtin_options='none needed' 4316 + else $as_nop 4317 + ac_cv_c_undeclared_builtin_options=$ac_arg 3821 4318 fi 3822 - rm -f core conftest.err conftest.$ac_objext 3823 - test "x$ac_cv_prog_cc_c99" != "xno" && break 3824 - done 3825 - rm -f conftest.$ac_ext 3826 - CC=$ac_save_CC 3827 - 4319 + break 3828 4320 fi 3829 - # AC_CACHE_VAL 3830 - case "x$ac_cv_prog_cc_c99" in 3831 - x) 3832 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3833 - $as_echo "none needed" >&6; } ;; 3834 - xno) 3835 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3836 - $as_echo "unsupported" >&6; } ;; 3837 - *) 3838 - CC="$CC $ac_cv_prog_cc_c99" 3839 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3840 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3841 - esac 3842 - if test "x$ac_cv_prog_cc_c99" != xno; then : 3843 - 3844 - fi 3845 - 3846 - 3847 - 3848 - ac_ext=c 3849 - ac_cpp='$CPP $CPPFLAGS' 3850 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3851 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3852 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3853 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3854 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 3855 - # On Suns, sometimes $CPP names a directory. 3856 - if test -n "$CPP" && test -d "$CPP"; then 3857 - CPP= 3858 - fi 3859 - if test -z "$CPP"; then 3860 - if ${ac_cv_prog_CPP+:} false; then : 3861 - $as_echo_n "(cached) " >&6 3862 - else 3863 - # Double quotes because CPP needs to be expanded 3864 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3865 - do 3866 - ac_preproc_ok=false 3867 - for ac_c_preproc_warn_flag in '' yes 3868 - do 3869 - # Use a header file that comes with gcc, so configuring glibc 3870 - # with a fresh cross-compiler works. 3871 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3872 - # <limits.h> exists even on freestanding compilers. 3873 - # On the NeXT, cc -E runs the code through the compiler's parser, 3874 - # not just through cpp. "Syntax error" is here to catch this case. 3875 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3876 - /* end confdefs.h. */ 3877 - #ifdef __STDC__ 3878 - # include <limits.h> 3879 - #else 3880 - # include <assert.h> 3881 - #endif 3882 - Syntax error 3883 - _ACEOF 3884 - if ac_fn_c_try_cpp "$LINENO"; then : 3885 - 3886 - else 3887 - # Broken: fails on valid input. 3888 - continue 4321 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3889 4322 fi 3890 - rm -f conftest.err conftest.i conftest.$ac_ext 3891 - 3892 - # OK, works on sane cases. Now check whether nonexistent headers 3893 - # can be detected and how. 3894 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895 - /* end confdefs.h. */ 3896 - #include <ac_nonexistent.h> 3897 - _ACEOF 3898 - if ac_fn_c_try_cpp "$LINENO"; then : 3899 - # Broken: success on invalid input. 3900 - continue 3901 - else 3902 - # Passes both tests. 3903 - ac_preproc_ok=: 3904 - break 3905 - fi 3906 - rm -f conftest.err conftest.i conftest.$ac_ext 3907 - 3908 - done 3909 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3910 - rm -f conftest.i conftest.err conftest.$ac_ext 3911 - if $ac_preproc_ok; then : 3912 - break 3913 - fi 3914 - 4323 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3915 4324 done 3916 - ac_cv_prog_CPP=$CPP 3917 - 3918 - fi 3919 - CPP=$ac_cv_prog_CPP 3920 - else 3921 - ac_cv_prog_CPP=$CPP 3922 - fi 3923 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3924 - $as_echo "$CPP" >&6; } 3925 - ac_preproc_ok=false 3926 - for ac_c_preproc_warn_flag in '' yes 3927 - do 3928 - # Use a header file that comes with gcc, so configuring glibc 3929 - # with a fresh cross-compiler works. 3930 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3931 - # <limits.h> exists even on freestanding compilers. 3932 - # On the NeXT, cc -E runs the code through the compiler's parser, 3933 - # not just through cpp. "Syntax error" is here to catch this case. 3934 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3935 - /* end confdefs.h. */ 3936 - #ifdef __STDC__ 3937 - # include <limits.h> 3938 - #else 3939 - # include <assert.h> 3940 - #endif 3941 - Syntax error 3942 - _ACEOF 3943 - if ac_fn_c_try_cpp "$LINENO"; then : 4325 + CFLAGS=$ac_save_CFLAGS 3944 4326 3945 - else 3946 - # Broken: fails on valid input. 3947 - continue 3948 4327 fi 3949 - rm -f conftest.err conftest.i conftest.$ac_ext 3950 - 3951 - # OK, works on sane cases. Now check whether nonexistent headers 3952 - # can be detected and how. 3953 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3954 - /* end confdefs.h. */ 3955 - #include <ac_nonexistent.h> 3956 - _ACEOF 3957 - if ac_fn_c_try_cpp "$LINENO"; then : 3958 - # Broken: success on invalid input. 3959 - continue 3960 - else 3961 - # Passes both tests. 3962 - ac_preproc_ok=: 3963 - break 3964 - fi 3965 - rm -f conftest.err conftest.i conftest.$ac_ext 3966 - 3967 - done 3968 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3969 - rm -f conftest.i conftest.err conftest.$ac_ext 3970 - if $ac_preproc_ok; then : 3971 - 3972 - else 3973 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3974 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3975 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3976 - See \`config.log' for more details" "$LINENO" 5; } 3977 - fi 3978 - 3979 - ac_ext=c 3980 - ac_cpp='$CPP $CPPFLAGS' 3981 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3982 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3983 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3984 - 3985 - 3986 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3987 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3988 - if ${ac_cv_path_GREP+:} false; then : 3989 - $as_echo_n "(cached) " >&6 3990 - else 3991 - if test -z "$GREP"; then 3992 - ac_path_GREP_found=false 3993 - # Loop through the user's path and test for each of PROGNAME-LIST 3994 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3995 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3996 - do 3997 - IFS=$as_save_IFS 3998 - test -z "$as_dir" && as_dir=. 3999 - for ac_prog in grep ggrep; do 4000 - for ac_exec_ext in '' $ac_executable_extensions; do 4001 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4002 - as_fn_executable_p "$ac_path_GREP" || continue 4003 - # Check for GNU ac_path_GREP and select it if it is found. 4004 - # Check for GNU $ac_path_GREP 4005 - case `"$ac_path_GREP" --version 2>&1` in 4006 - *GNU*) 4007 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4008 - *) 4009 - ac_count=0 4010 - $as_echo_n 0123456789 >"conftest.in" 4011 - while : 4012 - do 4013 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4014 - mv "conftest.tmp" "conftest.in" 4015 - cp "conftest.in" "conftest.nl" 4016 - $as_echo 'GREP' >> "conftest.nl" 4017 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4018 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4019 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4020 - if test $ac_count -gt ${ac_path_GREP_max-0}; then 4021 - # Best one so far, save it but keep looking for a better one 4022 - ac_cv_path_GREP="$ac_path_GREP" 4023 - ac_path_GREP_max=$ac_count 4024 - fi 4025 - # 10*(2^10) chars as input seems more than enough 4026 - test $ac_count -gt 10 && break 4027 - done 4028 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4328 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 4329 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 4330 + case $ac_cv_c_undeclared_builtin_options in #( 4331 + 'cannot detect') : 4332 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4333 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4334 + as_fn_error $? "cannot make $CC report undeclared builtins 4335 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 4336 + 'none needed') : 4337 + ac_c_undeclared_builtin_options='' ;; #( 4338 + *) : 4339 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 4029 4340 esac 4030 4341 4031 - $ac_path_GREP_found && break 3 4032 - done 4033 - done 4034 - done 4035 - IFS=$as_save_IFS 4036 - if test -z "$ac_cv_path_GREP"; then 4037 - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4038 - fi 4039 - else 4040 - ac_cv_path_GREP=$GREP 4041 - fi 4042 - 4043 - fi 4044 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4045 - $as_echo "$ac_cv_path_GREP" >&6; } 4046 - GREP="$ac_cv_path_GREP" 4047 - 4048 - 4049 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4050 - $as_echo_n "checking for egrep... " >&6; } 4051 - if ${ac_cv_path_EGREP+:} false; then : 4052 - $as_echo_n "(cached) " >&6 4053 - else 4054 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4055 - then ac_cv_path_EGREP="$GREP -E" 4056 - else 4057 - if test -z "$EGREP"; then 4058 - ac_path_EGREP_found=false 4059 - # Loop through the user's path and test for each of PROGNAME-LIST 4060 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4061 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4342 + ac_header= ac_cache= 4343 + for ac_item in $ac_header_c_list 4062 4344 do 4063 - IFS=$as_save_IFS 4064 - test -z "$as_dir" && as_dir=. 4065 - for ac_prog in egrep; do 4066 - for ac_exec_ext in '' $ac_executable_extensions; do 4067 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4068 - as_fn_executable_p "$ac_path_EGREP" || continue 4069 - # Check for GNU ac_path_EGREP and select it if it is found. 4070 - # Check for GNU $ac_path_EGREP 4071 - case `"$ac_path_EGREP" --version 2>&1` in 4072 - *GNU*) 4073 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4074 - *) 4075 - ac_count=0 4076 - $as_echo_n 0123456789 >"conftest.in" 4077 - while : 4078 - do 4079 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4080 - mv "conftest.tmp" "conftest.in" 4081 - cp "conftest.in" "conftest.nl" 4082 - $as_echo 'EGREP' >> "conftest.nl" 4083 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4084 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4085 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4086 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4087 - # Best one so far, save it but keep looking for a better one 4088 - ac_cv_path_EGREP="$ac_path_EGREP" 4089 - ac_path_EGREP_max=$ac_count 4345 + if test $ac_cache; then 4346 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 4347 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 4348 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 4090 4349 fi 4091 - # 10*(2^10) chars as input seems more than enough 4092 - test $ac_count -gt 10 && break 4093 - done 4094 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4095 - esac 4096 - 4097 - $ac_path_EGREP_found && break 3 4098 - done 4099 - done 4100 - done 4101 - IFS=$as_save_IFS 4102 - if test -z "$ac_cv_path_EGREP"; then 4103 - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4350 + ac_header= ac_cache= 4351 + elif test $ac_header; then 4352 + ac_cache=$ac_item 4353 + else 4354 + ac_header=$ac_item 4104 4355 fi 4105 - else 4106 - ac_cv_path_EGREP=$EGREP 4107 - fi 4356 + done 4108 4357 4109 - fi 4110 - fi 4111 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4112 - $as_echo "$ac_cv_path_EGREP" >&6; } 4113 - EGREP="$ac_cv_path_EGREP" 4114 4358 4115 4359 4116 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4117 - $as_echo_n "checking for ANSI C header files... " >&6; } 4118 - if ${ac_cv_header_stdc+:} false; then : 4119 - $as_echo_n "(cached) " >&6 4120 - else 4121 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4122 - /* end confdefs.h. */ 4123 - #include <stdlib.h> 4124 - #include <stdarg.h> 4125 - #include <string.h> 4126 - #include <float.h> 4127 4360 4128 - int 4129 - main () 4130 - { 4131 4361 4132 - ; 4133 - return 0; 4134 - } 4135 - _ACEOF 4136 - if ac_fn_c_try_compile "$LINENO"; then : 4137 - ac_cv_header_stdc=yes 4138 - else 4139 - ac_cv_header_stdc=no 4140 - fi 4141 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4142 4362 4143 - if test $ac_cv_header_stdc = yes; then 4144 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4145 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4146 - /* end confdefs.h. */ 4147 - #include <string.h> 4148 4363 4149 - _ACEOF 4150 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4151 - $EGREP "memchr" >/dev/null 2>&1; then : 4152 4364 4153 - else 4154 - ac_cv_header_stdc=no 4155 - fi 4156 - rm -f conftest* 4365 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 4366 + then : 4157 4367 4158 - fi 4159 - 4160 - if test $ac_cv_header_stdc = yes; then 4161 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4162 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4163 - /* end confdefs.h. */ 4164 - #include <stdlib.h> 4165 - 4166 - _ACEOF 4167 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4168 - $EGREP "free" >/dev/null 2>&1; then : 4169 - 4170 - else 4171 - ac_cv_header_stdc=no 4172 - fi 4173 - rm -f conftest* 4368 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 4174 4369 4175 4370 fi 4176 4371 4177 - if test $ac_cv_header_stdc = yes; then 4178 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4179 - if test "$cross_compiling" = yes; then : 4180 - : 4181 - else 4182 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4183 - /* end confdefs.h. */ 4184 - #include <ctype.h> 4185 - #include <stdlib.h> 4186 - #if ((' ' & 0x0FF) == 0x020) 4187 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4188 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4189 - #else 4190 - # define ISLOWER(c) \ 4191 - (('a' <= (c) && (c) <= 'i') \ 4192 - || ('j' <= (c) && (c) <= 'r') \ 4193 - || ('s' <= (c) && (c) <= 'z')) 4194 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4195 - #endif 4196 4372 4197 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4198 - int 4199 - main () 4200 - { 4201 - int i; 4202 - for (i = 0; i < 256; i++) 4203 - if (XOR (islower (i), ISLOWER (i)) 4204 - || toupper (i) != TOUPPER (i)) 4205 - return 2; 4206 - return 0; 4207 - } 4208 - _ACEOF 4209 - if ac_fn_c_try_run "$LINENO"; then : 4210 4373 4211 - else 4212 - ac_cv_header_stdc=no 4213 - fi 4214 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4215 - conftest.$ac_objext conftest.beam conftest.$ac_ext 4216 - fi 4217 4374 4218 - fi 4219 - fi 4220 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4221 - $as_echo "$ac_cv_header_stdc" >&6; } 4222 - if test $ac_cv_header_stdc = yes; then 4223 - 4224 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4225 - 4226 - fi 4227 - 4228 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4229 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4230 - inttypes.h stdint.h unistd.h 4231 - do : 4232 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4233 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4234 - " 4235 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4236 - cat >>confdefs.h <<_ACEOF 4237 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4238 - _ACEOF 4239 - 4240 - fi 4241 - 4242 - done 4243 - 4244 - 4245 - 4246 - 4247 - 4248 - 4249 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4250 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 4375 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4376 + if test "x$ac_cv_have_decl___clang__" = xyes 4377 + then : 4251 4378 CLANGCC="yes" 4252 - else 4379 + else $as_nop 4253 4380 CLANGCC="no" 4254 4381 fi 4255 - 4256 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4257 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4382 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4383 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 4384 + then : 4258 4385 INTELCC="yes" 4259 - else 4386 + else $as_nop 4260 4387 INTELCC="no" 4261 4388 fi 4262 - 4263 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4264 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4389 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4390 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 4391 + then : 4265 4392 SUNCC="yes" 4266 - else 4393 + else $as_nop 4267 4394 SUNCC="no" 4268 4395 fi 4269 - 4270 4396 4271 4397 4272 4398 ··· 4279 4405 if test -n "$ac_tool_prefix"; then 4280 4406 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4281 4407 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4282 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4283 - $as_echo_n "checking for $ac_word... " >&6; } 4284 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 4285 - $as_echo_n "(cached) " >&6 4286 - else 4408 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4409 + printf %s "checking for $ac_word... " >&6; } 4410 + if test ${ac_cv_path_PKG_CONFIG+y} 4411 + then : 4412 + printf %s "(cached) " >&6 4413 + else $as_nop 4287 4414 case $PKG_CONFIG in 4288 4415 [\\/]* | ?:[\\/]*) 4289 4416 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 4293 4420 for as_dir in $PATH 4294 4421 do 4295 4422 IFS=$as_save_IFS 4296 - test -z "$as_dir" && as_dir=. 4423 + case $as_dir in #((( 4424 + '') as_dir=./ ;; 4425 + */) ;; 4426 + *) as_dir=$as_dir/ ;; 4427 + esac 4297 4428 for ac_exec_ext in '' $ac_executable_extensions; do 4298 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4299 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4300 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4429 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4430 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4431 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4301 4432 break 2 4302 4433 fi 4303 4434 done ··· 4309 4440 fi 4310 4441 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4311 4442 if test -n "$PKG_CONFIG"; then 4312 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4313 - $as_echo "$PKG_CONFIG" >&6; } 4443 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4444 + printf "%s\n" "$PKG_CONFIG" >&6; } 4314 4445 else 4315 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4316 - $as_echo "no" >&6; } 4446 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4447 + printf "%s\n" "no" >&6; } 4317 4448 fi 4318 4449 4319 4450 ··· 4322 4453 ac_pt_PKG_CONFIG=$PKG_CONFIG 4323 4454 # Extract the first word of "pkg-config", so it can be a program name with args. 4324 4455 set dummy pkg-config; ac_word=$2 4325 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4326 - $as_echo_n "checking for $ac_word... " >&6; } 4327 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4328 - $as_echo_n "(cached) " >&6 4329 - else 4456 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4457 + printf %s "checking for $ac_word... " >&6; } 4458 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 4459 + then : 4460 + printf %s "(cached) " >&6 4461 + else $as_nop 4330 4462 case $ac_pt_PKG_CONFIG in 4331 4463 [\\/]* | ?:[\\/]*) 4332 4464 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 4336 4468 for as_dir in $PATH 4337 4469 do 4338 4470 IFS=$as_save_IFS 4339 - test -z "$as_dir" && as_dir=. 4471 + case $as_dir in #((( 4472 + '') as_dir=./ ;; 4473 + */) ;; 4474 + *) as_dir=$as_dir/ ;; 4475 + esac 4340 4476 for ac_exec_ext in '' $ac_executable_extensions; do 4341 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4342 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4343 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4477 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4478 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4479 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4344 4480 break 2 4345 4481 fi 4346 4482 done ··· 4352 4488 fi 4353 4489 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4354 4490 if test -n "$ac_pt_PKG_CONFIG"; then 4355 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4356 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4491 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4492 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 4357 4493 else 4358 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4359 - $as_echo "no" >&6; } 4494 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4495 + printf "%s\n" "no" >&6; } 4360 4496 fi 4361 4497 4362 4498 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 4364 4500 else 4365 4501 case $cross_compiling:$ac_tool_warned in 4366 4502 yes:) 4367 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4368 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4503 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4504 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4369 4505 ac_tool_warned=yes ;; 4370 4506 esac 4371 4507 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 4377 4513 fi 4378 4514 if test -n "$PKG_CONFIG"; then 4379 4515 _pkg_min_version=0.9.0 4380 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4381 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4516 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4517 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4382 4518 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4384 - $as_echo "yes" >&6; } 4519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4520 + printf "%s\n" "yes" >&6; } 4385 4521 else 4386 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4387 - $as_echo "no" >&6; } 4522 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4523 + printf "%s\n" "no" >&6; } 4388 4524 PKG_CONFIG="" 4389 4525 fi 4390 4526 fi 4391 - # Make sure we can run config.sub. 4392 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4393 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4527 + 4528 + 4529 + # Make sure we can run config.sub. 4530 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 4531 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 4394 4532 4395 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4396 - $as_echo_n "checking build system type... " >&6; } 4397 - if ${ac_cv_build+:} false; then : 4398 - $as_echo_n "(cached) " >&6 4399 - else 4533 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4534 + printf %s "checking build system type... " >&6; } 4535 + if test ${ac_cv_build+y} 4536 + then : 4537 + printf %s "(cached) " >&6 4538 + else $as_nop 4400 4539 ac_build_alias=$build_alias 4401 4540 test "x$ac_build_alias" = x && 4402 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4541 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 4403 4542 test "x$ac_build_alias" = x && 4404 4543 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4405 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4406 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4544 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 4545 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 4407 4546 4408 4547 fi 4409 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4410 - $as_echo "$ac_cv_build" >&6; } 4548 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4549 + printf "%s\n" "$ac_cv_build" >&6; } 4411 4550 case $ac_cv_build in 4412 4551 *-*-*) ;; 4413 4552 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 4426 4565 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4427 4566 4428 4567 4429 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4430 - $as_echo_n "checking host system type... " >&6; } 4431 - if ${ac_cv_host+:} false; then : 4432 - $as_echo_n "(cached) " >&6 4433 - else 4568 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4569 + printf %s "checking host system type... " >&6; } 4570 + if test ${ac_cv_host+y} 4571 + then : 4572 + printf %s "(cached) " >&6 4573 + else $as_nop 4434 4574 if test "x$host_alias" = x; then 4435 4575 ac_cv_host=$ac_cv_build 4436 4576 else 4437 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4438 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4577 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 4578 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 4439 4579 fi 4440 4580 4441 4581 fi 4442 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4443 - $as_echo "$ac_cv_host" >&6; } 4582 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4583 + printf "%s\n" "$ac_cv_host" >&6; } 4444 4584 case $ac_cv_host in 4445 4585 *-*-*) ;; 4446 4586 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 4459 4599 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4460 4600 4461 4601 4462 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4463 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4464 - if ${ac_cv_path_SED+:} false; then : 4465 - $as_echo_n "(cached) " >&6 4466 - else 4602 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4603 + printf %s "checking for a sed that does not truncate output... " >&6; } 4604 + if test ${ac_cv_path_SED+y} 4605 + then : 4606 + printf %s "(cached) " >&6 4607 + else $as_nop 4467 4608 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4468 4609 for ac_i in 1 2 3 4 5 6 7; do 4469 4610 ac_script="$ac_script$as_nl$ac_script" ··· 4477 4618 for as_dir in $PATH 4478 4619 do 4479 4620 IFS=$as_save_IFS 4480 - test -z "$as_dir" && as_dir=. 4481 - for ac_prog in sed gsed; do 4621 + case $as_dir in #((( 4622 + '') as_dir=./ ;; 4623 + */) ;; 4624 + *) as_dir=$as_dir/ ;; 4625 + esac 4626 + for ac_prog in sed gsed 4627 + do 4482 4628 for ac_exec_ext in '' $ac_executable_extensions; do 4483 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4629 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4484 4630 as_fn_executable_p "$ac_path_SED" || continue 4485 4631 # Check for GNU ac_path_SED and select it if it is found. 4486 4632 # Check for GNU $ac_path_SED ··· 4489 4635 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4490 4636 *) 4491 4637 ac_count=0 4492 - $as_echo_n 0123456789 >"conftest.in" 4638 + printf %s 0123456789 >"conftest.in" 4493 4639 while : 4494 4640 do 4495 4641 cat "conftest.in" "conftest.in" >"conftest.tmp" 4496 4642 mv "conftest.tmp" "conftest.in" 4497 4643 cp "conftest.in" "conftest.nl" 4498 - $as_echo '' >> "conftest.nl" 4644 + printf "%s\n" '' >> "conftest.nl" 4499 4645 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4500 4646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4501 4647 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4523 4669 fi 4524 4670 4525 4671 fi 4526 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4527 - $as_echo "$ac_cv_path_SED" >&6; } 4672 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4673 + printf "%s\n" "$ac_cv_path_SED" >&6; } 4528 4674 SED="$ac_cv_path_SED" 4529 4675 rm -f conftest.sed 4530 4676 ··· 4534 4680 4535 4681 4536 4682 # Check whether --enable-selective-werror was given. 4537 - if test "${enable_selective_werror+set}" = set; then : 4683 + if test ${enable_selective_werror+y} 4684 + then : 4538 4685 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 4539 - else 4686 + else $as_nop 4540 4687 SELECTIVE_WERROR=yes 4541 4688 fi 4542 4689 ··· 4569 4716 4570 4717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4571 4718 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4572 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4573 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4574 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4575 - $as_echo_n "(cached) " >&6 4576 - else 4719 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4720 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4721 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4722 + then : 4723 + printf %s "(cached) " >&6 4724 + else $as_nop 4577 4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4578 4726 /* end confdefs.h. */ 4579 4727 int i; 4580 4728 _ACEOF 4581 - if ac_fn_c_try_compile "$LINENO"; then : 4729 + if ac_fn_c_try_compile "$LINENO" 4730 + then : 4582 4731 xorg_cv_cc_flag_unknown_warning_option=yes 4583 - else 4732 + else $as_nop 4584 4733 xorg_cv_cc_flag_unknown_warning_option=no 4585 4734 fi 4586 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4735 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4587 4736 fi 4588 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4589 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4737 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4738 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4590 4739 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4591 4740 CFLAGS="$xorg_testset_save_CFLAGS" 4592 4741 fi ··· 4596 4745 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4597 4746 fi 4598 4747 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4599 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4600 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4601 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4602 - $as_echo_n "(cached) " >&6 4603 - else 4748 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4749 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4750 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4751 + then : 4752 + printf %s "(cached) " >&6 4753 + else $as_nop 4604 4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4605 4755 /* end confdefs.h. */ 4606 4756 int i; 4607 4757 _ACEOF 4608 - if ac_fn_c_try_compile "$LINENO"; then : 4758 + if ac_fn_c_try_compile "$LINENO" 4759 + then : 4609 4760 xorg_cv_cc_flag_unused_command_line_argument=yes 4610 - else 4761 + else $as_nop 4611 4762 xorg_cv_cc_flag_unused_command_line_argument=no 4612 4763 fi 4613 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4764 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4614 4765 fi 4615 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4616 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4767 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4617 4768 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4618 4769 CFLAGS="$xorg_testset_save_CFLAGS" 4619 4770 fi ··· 4631 4782 4632 4783 CFLAGS="$CFLAGS -Wall" 4633 4784 4634 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4635 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 4785 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4786 + printf %s "checking if $CC supports -Wall... " >&6; } 4636 4787 cacheid=xorg_cv_cc_flag__Wall 4637 - if eval \${$cacheid+:} false; then : 4638 - $as_echo_n "(cached) " >&6 4639 - else 4788 + if eval test \${$cacheid+y} 4789 + then : 4790 + printf %s "(cached) " >&6 4791 + else $as_nop 4640 4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4641 4793 /* end confdefs.h. */ 4642 4794 int i; 4643 4795 int 4644 - main () 4796 + main (void) 4645 4797 { 4646 4798 4647 4799 ; 4648 4800 return 0; 4649 4801 } 4650 4802 _ACEOF 4651 - if ac_fn_c_try_link "$LINENO"; then : 4803 + if ac_fn_c_try_link "$LINENO" 4804 + then : 4652 4805 eval $cacheid=yes 4653 - else 4806 + else $as_nop 4654 4807 eval $cacheid=no 4655 4808 fi 4656 - rm -f core conftest.err conftest.$ac_objext \ 4809 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4657 4810 conftest$ac_exeext conftest.$ac_ext 4658 4811 fi 4659 4812 ··· 4661 4814 CFLAGS="$xorg_testset_save_CFLAGS" 4662 4815 4663 4816 eval supported=\$$cacheid 4664 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4665 - $as_echo "$supported" >&6; } 4817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4818 + printf "%s\n" "$supported" >&6; } 4666 4819 if test "$supported" = "yes" ; then 4667 4820 BASE_CFLAGS="$BASE_CFLAGS -Wall" 4668 4821 found="yes" ··· 4687 4840 4688 4841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4689 4842 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4690 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4691 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4692 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4693 - $as_echo_n "(cached) " >&6 4694 - else 4843 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4844 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4845 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4846 + then : 4847 + printf %s "(cached) " >&6 4848 + else $as_nop 4695 4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4696 4850 /* end confdefs.h. */ 4697 4851 int i; 4698 4852 _ACEOF 4699 - if ac_fn_c_try_compile "$LINENO"; then : 4853 + if ac_fn_c_try_compile "$LINENO" 4854 + then : 4700 4855 xorg_cv_cc_flag_unknown_warning_option=yes 4701 - else 4856 + else $as_nop 4702 4857 xorg_cv_cc_flag_unknown_warning_option=no 4703 4858 fi 4704 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4859 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4705 4860 fi 4706 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4707 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4862 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4708 4863 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4709 4864 CFLAGS="$xorg_testset_save_CFLAGS" 4710 4865 fi ··· 4714 4869 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4715 4870 fi 4716 4871 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4717 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4718 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4719 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4720 - $as_echo_n "(cached) " >&6 4721 - else 4872 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4873 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4874 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4875 + then : 4876 + printf %s "(cached) " >&6 4877 + else $as_nop 4722 4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4723 4879 /* end confdefs.h. */ 4724 4880 int i; 4725 4881 _ACEOF 4726 - if ac_fn_c_try_compile "$LINENO"; then : 4882 + if ac_fn_c_try_compile "$LINENO" 4883 + then : 4727 4884 xorg_cv_cc_flag_unused_command_line_argument=yes 4728 - else 4885 + else $as_nop 4729 4886 xorg_cv_cc_flag_unused_command_line_argument=no 4730 4887 fi 4731 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4888 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4732 4889 fi 4733 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4734 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4890 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4891 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4735 4892 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4736 4893 CFLAGS="$xorg_testset_save_CFLAGS" 4737 4894 fi ··· 4749 4906 4750 4907 CFLAGS="$CFLAGS -Wpointer-arith" 4751 4908 4752 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4753 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 4909 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4910 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 4754 4911 cacheid=xorg_cv_cc_flag__Wpointer_arith 4755 - if eval \${$cacheid+:} false; then : 4756 - $as_echo_n "(cached) " >&6 4757 - else 4912 + if eval test \${$cacheid+y} 4913 + then : 4914 + printf %s "(cached) " >&6 4915 + else $as_nop 4758 4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4759 4917 /* end confdefs.h. */ 4760 4918 int i; 4761 4919 int 4762 - main () 4920 + main (void) 4763 4921 { 4764 4922 4765 4923 ; 4766 4924 return 0; 4767 4925 } 4768 4926 _ACEOF 4769 - if ac_fn_c_try_link "$LINENO"; then : 4927 + if ac_fn_c_try_link "$LINENO" 4928 + then : 4770 4929 eval $cacheid=yes 4771 - else 4930 + else $as_nop 4772 4931 eval $cacheid=no 4773 4932 fi 4774 - rm -f core conftest.err conftest.$ac_objext \ 4933 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4775 4934 conftest$ac_exeext conftest.$ac_ext 4776 4935 fi 4777 4936 ··· 4779 4938 CFLAGS="$xorg_testset_save_CFLAGS" 4780 4939 4781 4940 eval supported=\$$cacheid 4782 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4783 - $as_echo "$supported" >&6; } 4941 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4942 + printf "%s\n" "$supported" >&6; } 4784 4943 if test "$supported" = "yes" ; then 4785 4944 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 4786 4945 found="yes" ··· 4805 4964 4806 4965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4807 4966 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4808 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4809 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4810 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4811 - $as_echo_n "(cached) " >&6 4812 - else 4967 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4968 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4969 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4970 + then : 4971 + printf %s "(cached) " >&6 4972 + else $as_nop 4813 4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4814 4974 /* end confdefs.h. */ 4815 4975 int i; 4816 4976 _ACEOF 4817 - if ac_fn_c_try_compile "$LINENO"; then : 4977 + if ac_fn_c_try_compile "$LINENO" 4978 + then : 4818 4979 xorg_cv_cc_flag_unknown_warning_option=yes 4819 - else 4980 + else $as_nop 4820 4981 xorg_cv_cc_flag_unknown_warning_option=no 4821 4982 fi 4822 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4983 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4823 4984 fi 4824 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4825 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4985 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4986 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4826 4987 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4827 4988 CFLAGS="$xorg_testset_save_CFLAGS" 4828 4989 fi ··· 4832 4993 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4833 4994 fi 4834 4995 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4835 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4836 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4837 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4838 - $as_echo_n "(cached) " >&6 4839 - else 4996 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4997 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4998 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4999 + then : 5000 + printf %s "(cached) " >&6 5001 + else $as_nop 4840 5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4841 5003 /* end confdefs.h. */ 4842 5004 int i; 4843 5005 _ACEOF 4844 - if ac_fn_c_try_compile "$LINENO"; then : 5006 + if ac_fn_c_try_compile "$LINENO" 5007 + then : 4845 5008 xorg_cv_cc_flag_unused_command_line_argument=yes 4846 - else 5009 + else $as_nop 4847 5010 xorg_cv_cc_flag_unused_command_line_argument=no 4848 5011 fi 4849 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5012 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4850 5013 fi 4851 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4852 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5014 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5015 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4853 5016 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4854 5017 CFLAGS="$xorg_testset_save_CFLAGS" 4855 5018 fi ··· 4867 5030 4868 5031 CFLAGS="$CFLAGS -Wmissing-declarations" 4869 5032 4870 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 4871 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 5033 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 5034 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 4872 5035 cacheid=xorg_cv_cc_flag__Wmissing_declarations 4873 - if eval \${$cacheid+:} false; then : 4874 - $as_echo_n "(cached) " >&6 4875 - else 5036 + if eval test \${$cacheid+y} 5037 + then : 5038 + printf %s "(cached) " >&6 5039 + else $as_nop 4876 5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4877 5041 /* end confdefs.h. */ 4878 5042 int i; 4879 5043 int 4880 - main () 5044 + main (void) 4881 5045 { 4882 5046 4883 5047 ; 4884 5048 return 0; 4885 5049 } 4886 5050 _ACEOF 4887 - if ac_fn_c_try_link "$LINENO"; then : 5051 + if ac_fn_c_try_link "$LINENO" 5052 + then : 4888 5053 eval $cacheid=yes 4889 - else 5054 + else $as_nop 4890 5055 eval $cacheid=no 4891 5056 fi 4892 - rm -f core conftest.err conftest.$ac_objext \ 5057 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4893 5058 conftest$ac_exeext conftest.$ac_ext 4894 5059 fi 4895 5060 ··· 4897 5062 CFLAGS="$xorg_testset_save_CFLAGS" 4898 5063 4899 5064 eval supported=\$$cacheid 4900 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4901 - $as_echo "$supported" >&6; } 5065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5066 + printf "%s\n" "$supported" >&6; } 4902 5067 if test "$supported" = "yes" ; then 4903 5068 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 4904 5069 found="yes" ··· 4923 5088 4924 5089 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4925 5090 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4926 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4927 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4928 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4929 - $as_echo_n "(cached) " >&6 4930 - else 5091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5092 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5093 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5094 + then : 5095 + printf %s "(cached) " >&6 5096 + else $as_nop 4931 5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4932 5098 /* end confdefs.h. */ 4933 5099 int i; 4934 5100 _ACEOF 4935 - if ac_fn_c_try_compile "$LINENO"; then : 5101 + if ac_fn_c_try_compile "$LINENO" 5102 + then : 4936 5103 xorg_cv_cc_flag_unknown_warning_option=yes 4937 - else 5104 + else $as_nop 4938 5105 xorg_cv_cc_flag_unknown_warning_option=no 4939 5106 fi 4940 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5107 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4941 5108 fi 4942 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4943 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5109 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5110 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4944 5111 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4945 5112 CFLAGS="$xorg_testset_save_CFLAGS" 4946 5113 fi ··· 4950 5117 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4951 5118 fi 4952 5119 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4953 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4954 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4955 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4956 - $as_echo_n "(cached) " >&6 4957 - else 5120 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5121 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5122 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5123 + then : 5124 + printf %s "(cached) " >&6 5125 + else $as_nop 4958 5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4959 5127 /* end confdefs.h. */ 4960 5128 int i; 4961 5129 _ACEOF 4962 - if ac_fn_c_try_compile "$LINENO"; then : 5130 + if ac_fn_c_try_compile "$LINENO" 5131 + then : 4963 5132 xorg_cv_cc_flag_unused_command_line_argument=yes 4964 - else 5133 + else $as_nop 4965 5134 xorg_cv_cc_flag_unused_command_line_argument=no 4966 5135 fi 4967 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5136 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4968 5137 fi 4969 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4970 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5138 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5139 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4971 5140 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4972 5141 CFLAGS="$xorg_testset_save_CFLAGS" 4973 5142 fi ··· 4985 5154 4986 5155 CFLAGS="$CFLAGS -Wformat=2" 4987 5156 4988 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 4989 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 5157 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5158 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 4990 5159 cacheid=xorg_cv_cc_flag__Wformat_2 4991 - if eval \${$cacheid+:} false; then : 4992 - $as_echo_n "(cached) " >&6 4993 - else 5160 + if eval test \${$cacheid+y} 5161 + then : 5162 + printf %s "(cached) " >&6 5163 + else $as_nop 4994 5164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4995 5165 /* end confdefs.h. */ 4996 5166 int i; 4997 5167 int 4998 - main () 5168 + main (void) 4999 5169 { 5000 5170 5001 5171 ; 5002 5172 return 0; 5003 5173 } 5004 5174 _ACEOF 5005 - if ac_fn_c_try_link "$LINENO"; then : 5175 + if ac_fn_c_try_link "$LINENO" 5176 + then : 5006 5177 eval $cacheid=yes 5007 - else 5178 + else $as_nop 5008 5179 eval $cacheid=no 5009 5180 fi 5010 - rm -f core conftest.err conftest.$ac_objext \ 5181 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5011 5182 conftest$ac_exeext conftest.$ac_ext 5012 5183 fi 5013 5184 ··· 5015 5186 CFLAGS="$xorg_testset_save_CFLAGS" 5016 5187 5017 5188 eval supported=\$$cacheid 5018 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5019 - $as_echo "$supported" >&6; } 5189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5190 + printf "%s\n" "$supported" >&6; } 5020 5191 if test "$supported" = "yes" ; then 5021 5192 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 5022 5193 found="yes" ··· 5034 5205 5035 5206 CFLAGS="$CFLAGS -Wformat" 5036 5207 5037 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5038 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 5208 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5209 + printf %s "checking if $CC supports -Wformat... " >&6; } 5039 5210 cacheid=xorg_cv_cc_flag__Wformat 5040 - if eval \${$cacheid+:} false; then : 5041 - $as_echo_n "(cached) " >&6 5042 - else 5211 + if eval test \${$cacheid+y} 5212 + then : 5213 + printf %s "(cached) " >&6 5214 + else $as_nop 5043 5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5044 5216 /* end confdefs.h. */ 5045 5217 int i; 5046 5218 int 5047 - main () 5219 + main (void) 5048 5220 { 5049 5221 5050 5222 ; 5051 5223 return 0; 5052 5224 } 5053 5225 _ACEOF 5054 - if ac_fn_c_try_link "$LINENO"; then : 5226 + if ac_fn_c_try_link "$LINENO" 5227 + then : 5055 5228 eval $cacheid=yes 5056 - else 5229 + else $as_nop 5057 5230 eval $cacheid=no 5058 5231 fi 5059 - rm -f core conftest.err conftest.$ac_objext \ 5232 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5060 5233 conftest$ac_exeext conftest.$ac_ext 5061 5234 fi 5062 5235 ··· 5064 5237 CFLAGS="$xorg_testset_save_CFLAGS" 5065 5238 5066 5239 eval supported=\$$cacheid 5067 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5068 - $as_echo "$supported" >&6; } 5240 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5241 + printf "%s\n" "$supported" >&6; } 5069 5242 if test "$supported" = "yes" ; then 5070 5243 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 5071 5244 found="yes" ··· 5092 5265 5093 5266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5094 5267 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5095 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5096 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5097 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5098 - $as_echo_n "(cached) " >&6 5099 - else 5268 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5269 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5270 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5271 + then : 5272 + printf %s "(cached) " >&6 5273 + else $as_nop 5100 5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5101 5275 /* end confdefs.h. */ 5102 5276 int i; 5103 5277 _ACEOF 5104 - if ac_fn_c_try_compile "$LINENO"; then : 5278 + if ac_fn_c_try_compile "$LINENO" 5279 + then : 5105 5280 xorg_cv_cc_flag_unknown_warning_option=yes 5106 - else 5281 + else $as_nop 5107 5282 xorg_cv_cc_flag_unknown_warning_option=no 5108 5283 fi 5109 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5284 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5110 5285 fi 5111 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5112 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5286 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5287 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5113 5288 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5114 5289 CFLAGS="$xorg_testset_save_CFLAGS" 5115 5290 fi ··· 5119 5294 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5120 5295 fi 5121 5296 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5122 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5123 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5124 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5125 - $as_echo_n "(cached) " >&6 5126 - else 5297 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5298 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5299 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5300 + then : 5301 + printf %s "(cached) " >&6 5302 + else $as_nop 5127 5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5128 5304 /* end confdefs.h. */ 5129 5305 int i; 5130 5306 _ACEOF 5131 - if ac_fn_c_try_compile "$LINENO"; then : 5307 + if ac_fn_c_try_compile "$LINENO" 5308 + then : 5132 5309 xorg_cv_cc_flag_unused_command_line_argument=yes 5133 - else 5310 + else $as_nop 5134 5311 xorg_cv_cc_flag_unused_command_line_argument=no 5135 5312 fi 5136 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5313 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5137 5314 fi 5138 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5139 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5315 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5316 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5140 5317 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5141 5318 CFLAGS="$xorg_testset_save_CFLAGS" 5142 5319 fi ··· 5154 5331 5155 5332 CFLAGS="$CFLAGS -Wstrict-prototypes" 5156 5333 5157 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5158 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 5334 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5335 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 5159 5336 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 5160 - if eval \${$cacheid+:} false; then : 5161 - $as_echo_n "(cached) " >&6 5162 - else 5337 + if eval test \${$cacheid+y} 5338 + then : 5339 + printf %s "(cached) " >&6 5340 + else $as_nop 5163 5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5164 5342 /* end confdefs.h. */ 5165 5343 int i; 5166 5344 int 5167 - main () 5345 + main (void) 5168 5346 { 5169 5347 5170 5348 ; 5171 5349 return 0; 5172 5350 } 5173 5351 _ACEOF 5174 - if ac_fn_c_try_link "$LINENO"; then : 5352 + if ac_fn_c_try_link "$LINENO" 5353 + then : 5175 5354 eval $cacheid=yes 5176 - else 5355 + else $as_nop 5177 5356 eval $cacheid=no 5178 5357 fi 5179 - rm -f core conftest.err conftest.$ac_objext \ 5358 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5180 5359 conftest$ac_exeext conftest.$ac_ext 5181 5360 fi 5182 5361 ··· 5184 5363 CFLAGS="$xorg_testset_save_CFLAGS" 5185 5364 5186 5365 eval supported=\$$cacheid 5187 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5188 - $as_echo "$supported" >&6; } 5366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5367 + printf "%s\n" "$supported" >&6; } 5189 5368 if test "$supported" = "yes" ; then 5190 5369 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 5191 5370 found="yes" ··· 5210 5389 5211 5390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5212 5391 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5213 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5214 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5215 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5216 - $as_echo_n "(cached) " >&6 5217 - else 5392 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5393 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5394 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5395 + then : 5396 + printf %s "(cached) " >&6 5397 + else $as_nop 5218 5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5219 5399 /* end confdefs.h. */ 5220 5400 int i; 5221 5401 _ACEOF 5222 - if ac_fn_c_try_compile "$LINENO"; then : 5402 + if ac_fn_c_try_compile "$LINENO" 5403 + then : 5223 5404 xorg_cv_cc_flag_unknown_warning_option=yes 5224 - else 5405 + else $as_nop 5225 5406 xorg_cv_cc_flag_unknown_warning_option=no 5226 5407 fi 5227 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5408 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5228 5409 fi 5229 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5230 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5410 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5411 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5231 5412 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5232 5413 CFLAGS="$xorg_testset_save_CFLAGS" 5233 5414 fi ··· 5237 5418 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5238 5419 fi 5239 5420 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5240 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5241 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5242 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5243 - $as_echo_n "(cached) " >&6 5244 - else 5421 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5422 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5423 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5424 + then : 5425 + printf %s "(cached) " >&6 5426 + else $as_nop 5245 5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5246 5428 /* end confdefs.h. */ 5247 5429 int i; 5248 5430 _ACEOF 5249 - if ac_fn_c_try_compile "$LINENO"; then : 5431 + if ac_fn_c_try_compile "$LINENO" 5432 + then : 5250 5433 xorg_cv_cc_flag_unused_command_line_argument=yes 5251 - else 5434 + else $as_nop 5252 5435 xorg_cv_cc_flag_unused_command_line_argument=no 5253 5436 fi 5254 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5437 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5255 5438 fi 5256 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5257 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5439 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5440 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5258 5441 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5259 5442 CFLAGS="$xorg_testset_save_CFLAGS" 5260 5443 fi ··· 5272 5455 5273 5456 CFLAGS="$CFLAGS -Wmissing-prototypes" 5274 5457 5275 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5276 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 5458 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5459 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 5277 5460 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 5278 - if eval \${$cacheid+:} false; then : 5279 - $as_echo_n "(cached) " >&6 5280 - else 5461 + if eval test \${$cacheid+y} 5462 + then : 5463 + printf %s "(cached) " >&6 5464 + else $as_nop 5281 5465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5282 5466 /* end confdefs.h. */ 5283 5467 int i; 5284 5468 int 5285 - main () 5469 + main (void) 5286 5470 { 5287 5471 5288 5472 ; 5289 5473 return 0; 5290 5474 } 5291 5475 _ACEOF 5292 - if ac_fn_c_try_link "$LINENO"; then : 5476 + if ac_fn_c_try_link "$LINENO" 5477 + then : 5293 5478 eval $cacheid=yes 5294 - else 5479 + else $as_nop 5295 5480 eval $cacheid=no 5296 5481 fi 5297 - rm -f core conftest.err conftest.$ac_objext \ 5482 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5298 5483 conftest$ac_exeext conftest.$ac_ext 5299 5484 fi 5300 5485 ··· 5302 5487 CFLAGS="$xorg_testset_save_CFLAGS" 5303 5488 5304 5489 eval supported=\$$cacheid 5305 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5306 - $as_echo "$supported" >&6; } 5490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5491 + printf "%s\n" "$supported" >&6; } 5307 5492 if test "$supported" = "yes" ; then 5308 5493 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 5309 5494 found="yes" ··· 5328 5513 5329 5514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5330 5515 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5331 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5332 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5333 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5334 - $as_echo_n "(cached) " >&6 5335 - else 5516 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5517 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5518 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5519 + then : 5520 + printf %s "(cached) " >&6 5521 + else $as_nop 5336 5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5337 5523 /* end confdefs.h. */ 5338 5524 int i; 5339 5525 _ACEOF 5340 - if ac_fn_c_try_compile "$LINENO"; then : 5526 + if ac_fn_c_try_compile "$LINENO" 5527 + then : 5341 5528 xorg_cv_cc_flag_unknown_warning_option=yes 5342 - else 5529 + else $as_nop 5343 5530 xorg_cv_cc_flag_unknown_warning_option=no 5344 5531 fi 5345 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5532 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5346 5533 fi 5347 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5348 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5534 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5535 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5349 5536 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5350 5537 CFLAGS="$xorg_testset_save_CFLAGS" 5351 5538 fi ··· 5355 5542 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5356 5543 fi 5357 5544 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5358 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5359 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5360 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5361 - $as_echo_n "(cached) " >&6 5362 - else 5545 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5546 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5547 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5548 + then : 5549 + printf %s "(cached) " >&6 5550 + else $as_nop 5363 5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5364 5552 /* end confdefs.h. */ 5365 5553 int i; 5366 5554 _ACEOF 5367 - if ac_fn_c_try_compile "$LINENO"; then : 5555 + if ac_fn_c_try_compile "$LINENO" 5556 + then : 5368 5557 xorg_cv_cc_flag_unused_command_line_argument=yes 5369 - else 5558 + else $as_nop 5370 5559 xorg_cv_cc_flag_unused_command_line_argument=no 5371 5560 fi 5372 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5561 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5373 5562 fi 5374 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5375 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5563 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5564 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5376 5565 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5377 5566 CFLAGS="$xorg_testset_save_CFLAGS" 5378 5567 fi ··· 5390 5579 5391 5580 CFLAGS="$CFLAGS -Wnested-externs" 5392 5581 5393 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5394 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 5582 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5583 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 5395 5584 cacheid=xorg_cv_cc_flag__Wnested_externs 5396 - if eval \${$cacheid+:} false; then : 5397 - $as_echo_n "(cached) " >&6 5398 - else 5585 + if eval test \${$cacheid+y} 5586 + then : 5587 + printf %s "(cached) " >&6 5588 + else $as_nop 5399 5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5400 5590 /* end confdefs.h. */ 5401 5591 int i; 5402 5592 int 5403 - main () 5593 + main (void) 5404 5594 { 5405 5595 5406 5596 ; 5407 5597 return 0; 5408 5598 } 5409 5599 _ACEOF 5410 - if ac_fn_c_try_link "$LINENO"; then : 5600 + if ac_fn_c_try_link "$LINENO" 5601 + then : 5411 5602 eval $cacheid=yes 5412 - else 5603 + else $as_nop 5413 5604 eval $cacheid=no 5414 5605 fi 5415 - rm -f core conftest.err conftest.$ac_objext \ 5606 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5416 5607 conftest$ac_exeext conftest.$ac_ext 5417 5608 fi 5418 5609 ··· 5420 5611 CFLAGS="$xorg_testset_save_CFLAGS" 5421 5612 5422 5613 eval supported=\$$cacheid 5423 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5424 - $as_echo "$supported" >&6; } 5614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5615 + printf "%s\n" "$supported" >&6; } 5425 5616 if test "$supported" = "yes" ; then 5426 5617 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 5427 5618 found="yes" ··· 5446 5637 5447 5638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5448 5639 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5449 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5450 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5451 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5452 - $as_echo_n "(cached) " >&6 5453 - else 5640 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5641 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5642 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5643 + then : 5644 + printf %s "(cached) " >&6 5645 + else $as_nop 5454 5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5455 5647 /* end confdefs.h. */ 5456 5648 int i; 5457 5649 _ACEOF 5458 - if ac_fn_c_try_compile "$LINENO"; then : 5650 + if ac_fn_c_try_compile "$LINENO" 5651 + then : 5459 5652 xorg_cv_cc_flag_unknown_warning_option=yes 5460 - else 5653 + else $as_nop 5461 5654 xorg_cv_cc_flag_unknown_warning_option=no 5462 5655 fi 5463 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5656 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5464 5657 fi 5465 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5466 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5658 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5659 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5467 5660 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5468 5661 CFLAGS="$xorg_testset_save_CFLAGS" 5469 5662 fi ··· 5473 5666 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5474 5667 fi 5475 5668 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5476 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5477 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5478 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5479 - $as_echo_n "(cached) " >&6 5480 - else 5669 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5670 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5671 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5672 + then : 5673 + printf %s "(cached) " >&6 5674 + else $as_nop 5481 5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5482 5676 /* end confdefs.h. */ 5483 5677 int i; 5484 5678 _ACEOF 5485 - if ac_fn_c_try_compile "$LINENO"; then : 5679 + if ac_fn_c_try_compile "$LINENO" 5680 + then : 5486 5681 xorg_cv_cc_flag_unused_command_line_argument=yes 5487 - else 5682 + else $as_nop 5488 5683 xorg_cv_cc_flag_unused_command_line_argument=no 5489 5684 fi 5490 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5685 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5491 5686 fi 5492 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5493 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5687 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5688 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5494 5689 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5495 5690 CFLAGS="$xorg_testset_save_CFLAGS" 5496 5691 fi ··· 5508 5703 5509 5704 CFLAGS="$CFLAGS -Wbad-function-cast" 5510 5705 5511 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5512 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 5706 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5707 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 5513 5708 cacheid=xorg_cv_cc_flag__Wbad_function_cast 5514 - if eval \${$cacheid+:} false; then : 5515 - $as_echo_n "(cached) " >&6 5516 - else 5709 + if eval test \${$cacheid+y} 5710 + then : 5711 + printf %s "(cached) " >&6 5712 + else $as_nop 5517 5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5518 5714 /* end confdefs.h. */ 5519 5715 int i; 5520 5716 int 5521 - main () 5717 + main (void) 5522 5718 { 5523 5719 5524 5720 ; 5525 5721 return 0; 5526 5722 } 5527 5723 _ACEOF 5528 - if ac_fn_c_try_link "$LINENO"; then : 5724 + if ac_fn_c_try_link "$LINENO" 5725 + then : 5529 5726 eval $cacheid=yes 5530 - else 5727 + else $as_nop 5531 5728 eval $cacheid=no 5532 5729 fi 5533 - rm -f core conftest.err conftest.$ac_objext \ 5730 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5534 5731 conftest$ac_exeext conftest.$ac_ext 5535 5732 fi 5536 5733 ··· 5538 5735 CFLAGS="$xorg_testset_save_CFLAGS" 5539 5736 5540 5737 eval supported=\$$cacheid 5541 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5542 - $as_echo "$supported" >&6; } 5738 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5739 + printf "%s\n" "$supported" >&6; } 5543 5740 if test "$supported" = "yes" ; then 5544 5741 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 5545 5742 found="yes" ··· 5564 5761 5565 5762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5566 5763 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5567 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5568 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5569 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5570 - $as_echo_n "(cached) " >&6 5571 - else 5764 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5765 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5766 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5767 + then : 5768 + printf %s "(cached) " >&6 5769 + else $as_nop 5572 5770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5573 5771 /* end confdefs.h. */ 5574 5772 int i; 5575 5773 _ACEOF 5576 - if ac_fn_c_try_compile "$LINENO"; then : 5774 + if ac_fn_c_try_compile "$LINENO" 5775 + then : 5577 5776 xorg_cv_cc_flag_unknown_warning_option=yes 5578 - else 5777 + else $as_nop 5579 5778 xorg_cv_cc_flag_unknown_warning_option=no 5580 5779 fi 5581 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5780 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5582 5781 fi 5583 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5584 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5782 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5783 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5585 5784 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5586 5785 CFLAGS="$xorg_testset_save_CFLAGS" 5587 5786 fi ··· 5591 5790 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5592 5791 fi 5593 5792 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5594 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5595 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5596 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5597 - $as_echo_n "(cached) " >&6 5598 - else 5793 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5794 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5795 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5796 + then : 5797 + printf %s "(cached) " >&6 5798 + else $as_nop 5599 5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5600 5800 /* end confdefs.h. */ 5601 5801 int i; 5602 5802 _ACEOF 5603 - if ac_fn_c_try_compile "$LINENO"; then : 5803 + if ac_fn_c_try_compile "$LINENO" 5804 + then : 5604 5805 xorg_cv_cc_flag_unused_command_line_argument=yes 5605 - else 5806 + else $as_nop 5606 5807 xorg_cv_cc_flag_unused_command_line_argument=no 5607 5808 fi 5608 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5809 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5609 5810 fi 5610 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5611 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5811 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5812 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5612 5813 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5613 5814 CFLAGS="$xorg_testset_save_CFLAGS" 5614 5815 fi ··· 5626 5827 5627 5828 CFLAGS="$CFLAGS -Wold-style-definition" 5628 5829 5629 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5630 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 5830 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5831 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 5631 5832 cacheid=xorg_cv_cc_flag__Wold_style_definition 5632 - if eval \${$cacheid+:} false; then : 5633 - $as_echo_n "(cached) " >&6 5634 - else 5833 + if eval test \${$cacheid+y} 5834 + then : 5835 + printf %s "(cached) " >&6 5836 + else $as_nop 5635 5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5636 5838 /* end confdefs.h. */ 5637 5839 int i; 5638 5840 int 5639 - main () 5841 + main (void) 5640 5842 { 5641 5843 5642 5844 ; 5643 5845 return 0; 5644 5846 } 5645 5847 _ACEOF 5646 - if ac_fn_c_try_link "$LINENO"; then : 5848 + if ac_fn_c_try_link "$LINENO" 5849 + then : 5647 5850 eval $cacheid=yes 5648 - else 5851 + else $as_nop 5649 5852 eval $cacheid=no 5650 5853 fi 5651 - rm -f core conftest.err conftest.$ac_objext \ 5854 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5652 5855 conftest$ac_exeext conftest.$ac_ext 5653 5856 fi 5654 5857 ··· 5656 5859 CFLAGS="$xorg_testset_save_CFLAGS" 5657 5860 5658 5861 eval supported=\$$cacheid 5659 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5660 - $as_echo "$supported" >&6; } 5862 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5863 + printf "%s\n" "$supported" >&6; } 5661 5864 if test "$supported" = "yes" ; then 5662 5865 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 5663 5866 found="yes" ··· 5675 5878 5676 5879 CFLAGS="$CFLAGS -fd" 5677 5880 5678 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5679 - $as_echo_n "checking if $CC supports -fd... " >&6; } 5881 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5882 + printf %s "checking if $CC supports -fd... " >&6; } 5680 5883 cacheid=xorg_cv_cc_flag__fd 5681 - if eval \${$cacheid+:} false; then : 5682 - $as_echo_n "(cached) " >&6 5683 - else 5884 + if eval test \${$cacheid+y} 5885 + then : 5886 + printf %s "(cached) " >&6 5887 + else $as_nop 5684 5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5685 5889 /* end confdefs.h. */ 5686 5890 int i; 5687 5891 int 5688 - main () 5892 + main (void) 5689 5893 { 5690 5894 5691 5895 ; 5692 5896 return 0; 5693 5897 } 5694 5898 _ACEOF 5695 - if ac_fn_c_try_link "$LINENO"; then : 5899 + if ac_fn_c_try_link "$LINENO" 5900 + then : 5696 5901 eval $cacheid=yes 5697 - else 5902 + else $as_nop 5698 5903 eval $cacheid=no 5699 5904 fi 5700 - rm -f core conftest.err conftest.$ac_objext \ 5905 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5701 5906 conftest$ac_exeext conftest.$ac_ext 5702 5907 fi 5703 5908 ··· 5705 5910 CFLAGS="$xorg_testset_save_CFLAGS" 5706 5911 5707 5912 eval supported=\$$cacheid 5708 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5709 - $as_echo "$supported" >&6; } 5913 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5914 + printf "%s\n" "$supported" >&6; } 5710 5915 if test "$supported" = "yes" ; then 5711 5916 BASE_CFLAGS="$BASE_CFLAGS -fd" 5712 5917 found="yes" ··· 5731 5936 5732 5937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5733 5938 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5734 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5735 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5736 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5737 - $as_echo_n "(cached) " >&6 5738 - else 5939 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5940 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5941 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5942 + then : 5943 + printf %s "(cached) " >&6 5944 + else $as_nop 5739 5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5740 5946 /* end confdefs.h. */ 5741 5947 int i; 5742 5948 _ACEOF 5743 - if ac_fn_c_try_compile "$LINENO"; then : 5949 + if ac_fn_c_try_compile "$LINENO" 5950 + then : 5744 5951 xorg_cv_cc_flag_unknown_warning_option=yes 5745 - else 5952 + else $as_nop 5746 5953 xorg_cv_cc_flag_unknown_warning_option=no 5747 5954 fi 5748 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5955 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5749 5956 fi 5750 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5751 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5957 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5958 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5752 5959 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5753 5960 CFLAGS="$xorg_testset_save_CFLAGS" 5754 5961 fi ··· 5758 5965 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5759 5966 fi 5760 5967 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5761 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5762 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5763 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5764 - $as_echo_n "(cached) " >&6 5765 - else 5968 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5969 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5970 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5971 + then : 5972 + printf %s "(cached) " >&6 5973 + else $as_nop 5766 5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5767 5975 /* end confdefs.h. */ 5768 5976 int i; 5769 5977 _ACEOF 5770 - if ac_fn_c_try_compile "$LINENO"; then : 5978 + if ac_fn_c_try_compile "$LINENO" 5979 + then : 5771 5980 xorg_cv_cc_flag_unused_command_line_argument=yes 5772 - else 5981 + else $as_nop 5773 5982 xorg_cv_cc_flag_unused_command_line_argument=no 5774 5983 fi 5775 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5984 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5776 5985 fi 5777 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5778 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5986 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5987 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5779 5988 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5780 5989 CFLAGS="$xorg_testset_save_CFLAGS" 5781 5990 fi ··· 5793 6002 5794 6003 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 5795 6004 5796 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5797 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 6005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 6006 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5798 6007 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 5799 - if eval \${$cacheid+:} false; then : 5800 - $as_echo_n "(cached) " >&6 5801 - else 6008 + if eval test \${$cacheid+y} 6009 + then : 6010 + printf %s "(cached) " >&6 6011 + else $as_nop 5802 6012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5803 6013 /* end confdefs.h. */ 5804 6014 int i; 5805 6015 int 5806 - main () 6016 + main (void) 5807 6017 { 5808 6018 5809 6019 ; 5810 6020 return 0; 5811 6021 } 5812 6022 _ACEOF 5813 - if ac_fn_c_try_link "$LINENO"; then : 6023 + if ac_fn_c_try_link "$LINENO" 6024 + then : 5814 6025 eval $cacheid=yes 5815 - else 6026 + else $as_nop 5816 6027 eval $cacheid=no 5817 6028 fi 5818 - rm -f core conftest.err conftest.$ac_objext \ 6029 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5819 6030 conftest$ac_exeext conftest.$ac_ext 5820 6031 fi 5821 6032 ··· 5823 6034 CFLAGS="$xorg_testset_save_CFLAGS" 5824 6035 5825 6036 eval supported=\$$cacheid 5826 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5827 - $as_echo "$supported" >&6; } 6037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6038 + printf "%s\n" "$supported" >&6; } 5828 6039 if test "$supported" = "yes" ; then 5829 6040 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 5830 6041 found="yes" ··· 5853 6064 5854 6065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5855 6066 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5856 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5857 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5858 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5859 - $as_echo_n "(cached) " >&6 5860 - else 6067 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6068 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6069 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6070 + then : 6071 + printf %s "(cached) " >&6 6072 + else $as_nop 5861 6073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5862 6074 /* end confdefs.h. */ 5863 6075 int i; 5864 6076 _ACEOF 5865 - if ac_fn_c_try_compile "$LINENO"; then : 6077 + if ac_fn_c_try_compile "$LINENO" 6078 + then : 5866 6079 xorg_cv_cc_flag_unknown_warning_option=yes 5867 - else 6080 + else $as_nop 5868 6081 xorg_cv_cc_flag_unknown_warning_option=no 5869 6082 fi 5870 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6083 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5871 6084 fi 5872 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5873 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6085 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6086 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5874 6087 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5875 6088 CFLAGS="$xorg_testset_save_CFLAGS" 5876 6089 fi ··· 5880 6093 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5881 6094 fi 5882 6095 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5883 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5884 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5885 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5886 - $as_echo_n "(cached) " >&6 5887 - else 6096 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6097 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6098 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6099 + then : 6100 + printf %s "(cached) " >&6 6101 + else $as_nop 5888 6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5889 6103 /* end confdefs.h. */ 5890 6104 int i; 5891 6105 _ACEOF 5892 - if ac_fn_c_try_compile "$LINENO"; then : 6106 + if ac_fn_c_try_compile "$LINENO" 6107 + then : 5893 6108 xorg_cv_cc_flag_unused_command_line_argument=yes 5894 - else 6109 + else $as_nop 5895 6110 xorg_cv_cc_flag_unused_command_line_argument=no 5896 6111 fi 5897 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6112 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5898 6113 fi 5899 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5900 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6114 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6115 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5901 6116 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5902 6117 CFLAGS="$xorg_testset_save_CFLAGS" 5903 6118 fi ··· 5915 6130 5916 6131 CFLAGS="$CFLAGS -Wunused" 5917 6132 5918 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 5919 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 6133 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 6134 + printf %s "checking if $CC supports -Wunused... " >&6; } 5920 6135 cacheid=xorg_cv_cc_flag__Wunused 5921 - if eval \${$cacheid+:} false; then : 5922 - $as_echo_n "(cached) " >&6 5923 - else 6136 + if eval test \${$cacheid+y} 6137 + then : 6138 + printf %s "(cached) " >&6 6139 + else $as_nop 5924 6140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5925 6141 /* end confdefs.h. */ 5926 6142 int i; 5927 6143 int 5928 - main () 6144 + main (void) 5929 6145 { 5930 6146 5931 6147 ; 5932 6148 return 0; 5933 6149 } 5934 6150 _ACEOF 5935 - if ac_fn_c_try_link "$LINENO"; then : 6151 + if ac_fn_c_try_link "$LINENO" 6152 + then : 5936 6153 eval $cacheid=yes 5937 - else 6154 + else $as_nop 5938 6155 eval $cacheid=no 5939 6156 fi 5940 - rm -f core conftest.err conftest.$ac_objext \ 6157 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5941 6158 conftest$ac_exeext conftest.$ac_ext 5942 6159 fi 5943 6160 ··· 5945 6162 CFLAGS="$xorg_testset_save_CFLAGS" 5946 6163 5947 6164 eval supported=\$$cacheid 5948 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5949 - $as_echo "$supported" >&6; } 6165 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6166 + printf "%s\n" "$supported" >&6; } 5950 6167 if test "$supported" = "yes" ; then 5951 6168 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 5952 6169 found="yes" ··· 5971 6188 5972 6189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5973 6190 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5974 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5975 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5976 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5977 - $as_echo_n "(cached) " >&6 5978 - else 6191 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6192 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6193 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6194 + then : 6195 + printf %s "(cached) " >&6 6196 + else $as_nop 5979 6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5980 6198 /* end confdefs.h. */ 5981 6199 int i; 5982 6200 _ACEOF 5983 - if ac_fn_c_try_compile "$LINENO"; then : 6201 + if ac_fn_c_try_compile "$LINENO" 6202 + then : 5984 6203 xorg_cv_cc_flag_unknown_warning_option=yes 5985 - else 6204 + else $as_nop 5986 6205 xorg_cv_cc_flag_unknown_warning_option=no 5987 6206 fi 5988 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6207 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5989 6208 fi 5990 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5991 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6209 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6210 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5992 6211 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5993 6212 CFLAGS="$xorg_testset_save_CFLAGS" 5994 6213 fi ··· 5998 6217 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5999 6218 fi 6000 6219 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6001 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6002 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6003 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6004 - $as_echo_n "(cached) " >&6 6005 - else 6220 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6221 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6222 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6223 + then : 6224 + printf %s "(cached) " >&6 6225 + else $as_nop 6006 6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6007 6227 /* end confdefs.h. */ 6008 6228 int i; 6009 6229 _ACEOF 6010 - if ac_fn_c_try_compile "$LINENO"; then : 6230 + if ac_fn_c_try_compile "$LINENO" 6231 + then : 6011 6232 xorg_cv_cc_flag_unused_command_line_argument=yes 6012 - else 6233 + else $as_nop 6013 6234 xorg_cv_cc_flag_unused_command_line_argument=no 6014 6235 fi 6015 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6236 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6016 6237 fi 6017 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6018 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6238 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6239 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6019 6240 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6020 6241 CFLAGS="$xorg_testset_save_CFLAGS" 6021 6242 fi ··· 6033 6254 6034 6255 CFLAGS="$CFLAGS -Wuninitialized" 6035 6256 6036 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6037 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 6257 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6258 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 6038 6259 cacheid=xorg_cv_cc_flag__Wuninitialized 6039 - if eval \${$cacheid+:} false; then : 6040 - $as_echo_n "(cached) " >&6 6041 - else 6260 + if eval test \${$cacheid+y} 6261 + then : 6262 + printf %s "(cached) " >&6 6263 + else $as_nop 6042 6264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6043 6265 /* end confdefs.h. */ 6044 6266 int i; 6045 6267 int 6046 - main () 6268 + main (void) 6047 6269 { 6048 6270 6049 6271 ; 6050 6272 return 0; 6051 6273 } 6052 6274 _ACEOF 6053 - if ac_fn_c_try_link "$LINENO"; then : 6275 + if ac_fn_c_try_link "$LINENO" 6276 + then : 6054 6277 eval $cacheid=yes 6055 - else 6278 + else $as_nop 6056 6279 eval $cacheid=no 6057 6280 fi 6058 - rm -f core conftest.err conftest.$ac_objext \ 6281 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6059 6282 conftest$ac_exeext conftest.$ac_ext 6060 6283 fi 6061 6284 ··· 6063 6286 CFLAGS="$xorg_testset_save_CFLAGS" 6064 6287 6065 6288 eval supported=\$$cacheid 6066 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6067 - $as_echo "$supported" >&6; } 6289 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6290 + printf "%s\n" "$supported" >&6; } 6068 6291 if test "$supported" = "yes" ; then 6069 6292 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 6070 6293 found="yes" ··· 6089 6312 6090 6313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6091 6314 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6092 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6093 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6094 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6095 - $as_echo_n "(cached) " >&6 6096 - else 6315 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6316 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6317 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6318 + then : 6319 + printf %s "(cached) " >&6 6320 + else $as_nop 6097 6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6098 6322 /* end confdefs.h. */ 6099 6323 int i; 6100 6324 _ACEOF 6101 - if ac_fn_c_try_compile "$LINENO"; then : 6325 + if ac_fn_c_try_compile "$LINENO" 6326 + then : 6102 6327 xorg_cv_cc_flag_unknown_warning_option=yes 6103 - else 6328 + else $as_nop 6104 6329 xorg_cv_cc_flag_unknown_warning_option=no 6105 6330 fi 6106 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6331 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6107 6332 fi 6108 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6109 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6333 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6334 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6110 6335 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6111 6336 CFLAGS="$xorg_testset_save_CFLAGS" 6112 6337 fi ··· 6116 6341 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6117 6342 fi 6118 6343 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6119 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6120 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6121 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6122 - $as_echo_n "(cached) " >&6 6123 - else 6344 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6345 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6346 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6347 + then : 6348 + printf %s "(cached) " >&6 6349 + else $as_nop 6124 6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6125 6351 /* end confdefs.h. */ 6126 6352 int i; 6127 6353 _ACEOF 6128 - if ac_fn_c_try_compile "$LINENO"; then : 6354 + if ac_fn_c_try_compile "$LINENO" 6355 + then : 6129 6356 xorg_cv_cc_flag_unused_command_line_argument=yes 6130 - else 6357 + else $as_nop 6131 6358 xorg_cv_cc_flag_unused_command_line_argument=no 6132 6359 fi 6133 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6360 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6134 6361 fi 6135 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6136 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6362 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6363 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6137 6364 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6138 6365 CFLAGS="$xorg_testset_save_CFLAGS" 6139 6366 fi ··· 6151 6378 6152 6379 CFLAGS="$CFLAGS -Wshadow" 6153 6380 6154 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6155 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 6381 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6382 + printf %s "checking if $CC supports -Wshadow... " >&6; } 6156 6383 cacheid=xorg_cv_cc_flag__Wshadow 6157 - if eval \${$cacheid+:} false; then : 6158 - $as_echo_n "(cached) " >&6 6159 - else 6384 + if eval test \${$cacheid+y} 6385 + then : 6386 + printf %s "(cached) " >&6 6387 + else $as_nop 6160 6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6161 6389 /* end confdefs.h. */ 6162 6390 int i; 6163 6391 int 6164 - main () 6392 + main (void) 6165 6393 { 6166 6394 6167 6395 ; 6168 6396 return 0; 6169 6397 } 6170 6398 _ACEOF 6171 - if ac_fn_c_try_link "$LINENO"; then : 6399 + if ac_fn_c_try_link "$LINENO" 6400 + then : 6172 6401 eval $cacheid=yes 6173 - else 6402 + else $as_nop 6174 6403 eval $cacheid=no 6175 6404 fi 6176 - rm -f core conftest.err conftest.$ac_objext \ 6405 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6177 6406 conftest$ac_exeext conftest.$ac_ext 6178 6407 fi 6179 6408 ··· 6181 6410 CFLAGS="$xorg_testset_save_CFLAGS" 6182 6411 6183 6412 eval supported=\$$cacheid 6184 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6185 - $as_echo "$supported" >&6; } 6413 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6414 + printf "%s\n" "$supported" >&6; } 6186 6415 if test "$supported" = "yes" ; then 6187 6416 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 6188 6417 found="yes" ··· 6207 6436 6208 6437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6209 6438 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6210 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6211 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6212 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6213 - $as_echo_n "(cached) " >&6 6214 - else 6439 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6440 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6441 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6442 + then : 6443 + printf %s "(cached) " >&6 6444 + else $as_nop 6215 6445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6216 6446 /* end confdefs.h. */ 6217 6447 int i; 6218 6448 _ACEOF 6219 - if ac_fn_c_try_compile "$LINENO"; then : 6449 + if ac_fn_c_try_compile "$LINENO" 6450 + then : 6220 6451 xorg_cv_cc_flag_unknown_warning_option=yes 6221 - else 6452 + else $as_nop 6222 6453 xorg_cv_cc_flag_unknown_warning_option=no 6223 6454 fi 6224 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6455 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6225 6456 fi 6226 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6227 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6457 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6458 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6228 6459 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6229 6460 CFLAGS="$xorg_testset_save_CFLAGS" 6230 6461 fi ··· 6234 6465 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6235 6466 fi 6236 6467 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6237 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6238 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6239 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6240 - $as_echo_n "(cached) " >&6 6241 - else 6468 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6469 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6470 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6471 + then : 6472 + printf %s "(cached) " >&6 6473 + else $as_nop 6242 6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6243 6475 /* end confdefs.h. */ 6244 6476 int i; 6245 6477 _ACEOF 6246 - if ac_fn_c_try_compile "$LINENO"; then : 6478 + if ac_fn_c_try_compile "$LINENO" 6479 + then : 6247 6480 xorg_cv_cc_flag_unused_command_line_argument=yes 6248 - else 6481 + else $as_nop 6249 6482 xorg_cv_cc_flag_unused_command_line_argument=no 6250 6483 fi 6251 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6484 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6252 6485 fi 6253 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6254 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6486 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6487 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6255 6488 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6256 6489 CFLAGS="$xorg_testset_save_CFLAGS" 6257 6490 fi ··· 6269 6502 6270 6503 CFLAGS="$CFLAGS -Wmissing-noreturn" 6271 6504 6272 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6273 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 6505 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6506 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 6274 6507 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 6275 - if eval \${$cacheid+:} false; then : 6276 - $as_echo_n "(cached) " >&6 6277 - else 6508 + if eval test \${$cacheid+y} 6509 + then : 6510 + printf %s "(cached) " >&6 6511 + else $as_nop 6278 6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6279 6513 /* end confdefs.h. */ 6280 6514 int i; 6281 6515 int 6282 - main () 6516 + main (void) 6283 6517 { 6284 6518 6285 6519 ; 6286 6520 return 0; 6287 6521 } 6288 6522 _ACEOF 6289 - if ac_fn_c_try_link "$LINENO"; then : 6523 + if ac_fn_c_try_link "$LINENO" 6524 + then : 6290 6525 eval $cacheid=yes 6291 - else 6526 + else $as_nop 6292 6527 eval $cacheid=no 6293 6528 fi 6294 - rm -f core conftest.err conftest.$ac_objext \ 6529 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6295 6530 conftest$ac_exeext conftest.$ac_ext 6296 6531 fi 6297 6532 ··· 6299 6534 CFLAGS="$xorg_testset_save_CFLAGS" 6300 6535 6301 6536 eval supported=\$$cacheid 6302 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6303 - $as_echo "$supported" >&6; } 6537 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6538 + printf "%s\n" "$supported" >&6; } 6304 6539 if test "$supported" = "yes" ; then 6305 6540 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 6306 6541 found="yes" ··· 6325 6560 6326 6561 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6327 6562 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6328 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6329 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6330 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6331 - $as_echo_n "(cached) " >&6 6332 - else 6563 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6564 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6565 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6566 + then : 6567 + printf %s "(cached) " >&6 6568 + else $as_nop 6333 6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6334 6570 /* end confdefs.h. */ 6335 6571 int i; 6336 6572 _ACEOF 6337 - if ac_fn_c_try_compile "$LINENO"; then : 6573 + if ac_fn_c_try_compile "$LINENO" 6574 + then : 6338 6575 xorg_cv_cc_flag_unknown_warning_option=yes 6339 - else 6576 + else $as_nop 6340 6577 xorg_cv_cc_flag_unknown_warning_option=no 6341 6578 fi 6342 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6579 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6343 6580 fi 6344 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6345 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6581 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6582 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6346 6583 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6347 6584 CFLAGS="$xorg_testset_save_CFLAGS" 6348 6585 fi ··· 6352 6589 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6353 6590 fi 6354 6591 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6355 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6356 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6357 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6358 - $as_echo_n "(cached) " >&6 6359 - else 6592 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6593 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6594 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6595 + then : 6596 + printf %s "(cached) " >&6 6597 + else $as_nop 6360 6598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6361 6599 /* end confdefs.h. */ 6362 6600 int i; 6363 6601 _ACEOF 6364 - if ac_fn_c_try_compile "$LINENO"; then : 6602 + if ac_fn_c_try_compile "$LINENO" 6603 + then : 6365 6604 xorg_cv_cc_flag_unused_command_line_argument=yes 6366 - else 6605 + else $as_nop 6367 6606 xorg_cv_cc_flag_unused_command_line_argument=no 6368 6607 fi 6369 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6608 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6370 6609 fi 6371 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6372 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6611 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6373 6612 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6374 6613 CFLAGS="$xorg_testset_save_CFLAGS" 6375 6614 fi ··· 6387 6626 6388 6627 CFLAGS="$CFLAGS -Wmissing-format-attribute" 6389 6628 6390 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6391 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6629 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6630 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6392 6631 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 6393 - if eval \${$cacheid+:} false; then : 6394 - $as_echo_n "(cached) " >&6 6395 - else 6632 + if eval test \${$cacheid+y} 6633 + then : 6634 + printf %s "(cached) " >&6 6635 + else $as_nop 6396 6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6397 6637 /* end confdefs.h. */ 6398 6638 int i; 6399 6639 int 6400 - main () 6640 + main (void) 6401 6641 { 6402 6642 6403 6643 ; 6404 6644 return 0; 6405 6645 } 6406 6646 _ACEOF 6407 - if ac_fn_c_try_link "$LINENO"; then : 6647 + if ac_fn_c_try_link "$LINENO" 6648 + then : 6408 6649 eval $cacheid=yes 6409 - else 6650 + else $as_nop 6410 6651 eval $cacheid=no 6411 6652 fi 6412 - rm -f core conftest.err conftest.$ac_objext \ 6653 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6413 6654 conftest$ac_exeext conftest.$ac_ext 6414 6655 fi 6415 6656 ··· 6417 6658 CFLAGS="$xorg_testset_save_CFLAGS" 6418 6659 6419 6660 eval supported=\$$cacheid 6420 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6421 - $as_echo "$supported" >&6; } 6661 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6662 + printf "%s\n" "$supported" >&6; } 6422 6663 if test "$supported" = "yes" ; then 6423 6664 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 6424 6665 found="yes" ··· 6444 6685 6445 6686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6446 6687 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6447 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6448 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6449 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6450 - $as_echo_n "(cached) " >&6 6451 - else 6688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6689 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6690 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6691 + then : 6692 + printf %s "(cached) " >&6 6693 + else $as_nop 6452 6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6453 6695 /* end confdefs.h. */ 6454 6696 int i; 6455 6697 _ACEOF 6456 - if ac_fn_c_try_compile "$LINENO"; then : 6698 + if ac_fn_c_try_compile "$LINENO" 6699 + then : 6457 6700 xorg_cv_cc_flag_unknown_warning_option=yes 6458 - else 6701 + else $as_nop 6459 6702 xorg_cv_cc_flag_unknown_warning_option=no 6460 6703 fi 6461 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6704 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6462 6705 fi 6463 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6464 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6706 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6707 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6465 6708 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6466 6709 CFLAGS="$xorg_testset_save_CFLAGS" 6467 6710 fi ··· 6471 6714 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6472 6715 fi 6473 6716 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6474 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6475 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6476 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6477 - $as_echo_n "(cached) " >&6 6478 - else 6717 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6718 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6719 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6720 + then : 6721 + printf %s "(cached) " >&6 6722 + else $as_nop 6479 6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6480 6724 /* end confdefs.h. */ 6481 6725 int i; 6482 6726 _ACEOF 6483 - if ac_fn_c_try_compile "$LINENO"; then : 6727 + if ac_fn_c_try_compile "$LINENO" 6728 + then : 6484 6729 xorg_cv_cc_flag_unused_command_line_argument=yes 6485 - else 6730 + else $as_nop 6486 6731 xorg_cv_cc_flag_unused_command_line_argument=no 6487 6732 fi 6488 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6733 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6489 6734 fi 6490 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6491 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6735 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6736 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6492 6737 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6493 6738 CFLAGS="$xorg_testset_save_CFLAGS" 6494 6739 fi ··· 6506 6751 6507 6752 CFLAGS="$CFLAGS -Wlogical-op" 6508 6753 6509 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6510 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 6754 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6755 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 6511 6756 cacheid=xorg_cv_cc_flag__Wlogical_op 6512 - if eval \${$cacheid+:} false; then : 6513 - $as_echo_n "(cached) " >&6 6514 - else 6757 + if eval test \${$cacheid+y} 6758 + then : 6759 + printf %s "(cached) " >&6 6760 + else $as_nop 6515 6761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6516 6762 /* end confdefs.h. */ 6517 6763 int i; 6518 6764 int 6519 - main () 6765 + main (void) 6520 6766 { 6521 6767 6522 6768 ; 6523 6769 return 0; 6524 6770 } 6525 6771 _ACEOF 6526 - if ac_fn_c_try_link "$LINENO"; then : 6772 + if ac_fn_c_try_link "$LINENO" 6773 + then : 6527 6774 eval $cacheid=yes 6528 - else 6775 + else $as_nop 6529 6776 eval $cacheid=no 6530 6777 fi 6531 - rm -f core conftest.err conftest.$ac_objext \ 6778 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6532 6779 conftest$ac_exeext conftest.$ac_ext 6533 6780 fi 6534 6781 ··· 6536 6783 CFLAGS="$xorg_testset_save_CFLAGS" 6537 6784 6538 6785 eval supported=\$$cacheid 6539 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6540 - $as_echo "$supported" >&6; } 6786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6787 + printf "%s\n" "$supported" >&6; } 6541 6788 if test "$supported" = "yes" ; then 6542 6789 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 6543 6790 found="yes" ··· 6553 6800 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 6554 6801 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 6555 6802 6556 - # Turn some warnings into errors, so we don't accidently get successful builds 6803 + # Turn some warnings into errors, so we don't accidentally get successful builds 6557 6804 # when there are problems that should be fixed. 6558 6805 6559 6806 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 6574 6821 6575 6822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6576 6823 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6577 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6578 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6579 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6580 - $as_echo_n "(cached) " >&6 6581 - else 6824 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6825 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6826 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6827 + then : 6828 + printf %s "(cached) " >&6 6829 + else $as_nop 6582 6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6583 6831 /* end confdefs.h. */ 6584 6832 int i; 6585 6833 _ACEOF 6586 - if ac_fn_c_try_compile "$LINENO"; then : 6834 + if ac_fn_c_try_compile "$LINENO" 6835 + then : 6587 6836 xorg_cv_cc_flag_unknown_warning_option=yes 6588 - else 6837 + else $as_nop 6589 6838 xorg_cv_cc_flag_unknown_warning_option=no 6590 6839 fi 6591 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6840 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6592 6841 fi 6593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6594 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6842 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6843 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6595 6844 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6596 6845 CFLAGS="$xorg_testset_save_CFLAGS" 6597 6846 fi ··· 6601 6850 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6602 6851 fi 6603 6852 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6604 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6605 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6606 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6607 - $as_echo_n "(cached) " >&6 6608 - else 6853 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6854 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6855 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6856 + then : 6857 + printf %s "(cached) " >&6 6858 + else $as_nop 6609 6859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6610 6860 /* end confdefs.h. */ 6611 6861 int i; 6612 6862 _ACEOF 6613 - if ac_fn_c_try_compile "$LINENO"; then : 6863 + if ac_fn_c_try_compile "$LINENO" 6864 + then : 6614 6865 xorg_cv_cc_flag_unused_command_line_argument=yes 6615 - else 6866 + else $as_nop 6616 6867 xorg_cv_cc_flag_unused_command_line_argument=no 6617 6868 fi 6618 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6869 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6619 6870 fi 6620 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6621 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6871 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6872 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6622 6873 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6623 6874 CFLAGS="$xorg_testset_save_CFLAGS" 6624 6875 fi ··· 6636 6887 6637 6888 CFLAGS="$CFLAGS -Werror=implicit" 6638 6889 6639 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6640 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 6890 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6891 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 6641 6892 cacheid=xorg_cv_cc_flag__Werror_implicit 6642 - if eval \${$cacheid+:} false; then : 6643 - $as_echo_n "(cached) " >&6 6644 - else 6893 + if eval test \${$cacheid+y} 6894 + then : 6895 + printf %s "(cached) " >&6 6896 + else $as_nop 6645 6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6646 6898 /* end confdefs.h. */ 6647 6899 int i; 6648 6900 int 6649 - main () 6901 + main (void) 6650 6902 { 6651 6903 6652 6904 ; 6653 6905 return 0; 6654 6906 } 6655 6907 _ACEOF 6656 - if ac_fn_c_try_link "$LINENO"; then : 6908 + if ac_fn_c_try_link "$LINENO" 6909 + then : 6657 6910 eval $cacheid=yes 6658 - else 6911 + else $as_nop 6659 6912 eval $cacheid=no 6660 6913 fi 6661 - rm -f core conftest.err conftest.$ac_objext \ 6914 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6662 6915 conftest$ac_exeext conftest.$ac_ext 6663 6916 fi 6664 6917 ··· 6666 6919 CFLAGS="$xorg_testset_save_CFLAGS" 6667 6920 6668 6921 eval supported=\$$cacheid 6669 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6670 - $as_echo "$supported" >&6; } 6922 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6923 + printf "%s\n" "$supported" >&6; } 6671 6924 if test "$supported" = "yes" ; then 6672 6925 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 6673 6926 found="yes" ··· 6685 6938 6686 6939 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6687 6940 6688 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6689 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6941 + { 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 6942 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6690 6943 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 6691 - if eval \${$cacheid+:} false; then : 6692 - $as_echo_n "(cached) " >&6 6693 - else 6944 + if eval test \${$cacheid+y} 6945 + then : 6946 + printf %s "(cached) " >&6 6947 + else $as_nop 6694 6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6695 6949 /* end confdefs.h. */ 6696 6950 int i; 6697 6951 int 6698 - main () 6952 + main (void) 6699 6953 { 6700 6954 6701 6955 ; 6702 6956 return 0; 6703 6957 } 6704 6958 _ACEOF 6705 - if ac_fn_c_try_link "$LINENO"; then : 6959 + if ac_fn_c_try_link "$LINENO" 6960 + then : 6706 6961 eval $cacheid=yes 6707 - else 6962 + else $as_nop 6708 6963 eval $cacheid=no 6709 6964 fi 6710 - rm -f core conftest.err conftest.$ac_objext \ 6965 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6711 6966 conftest$ac_exeext conftest.$ac_ext 6712 6967 fi 6713 6968 ··· 6715 6970 CFLAGS="$xorg_testset_save_CFLAGS" 6716 6971 6717 6972 eval supported=\$$cacheid 6718 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6719 - $as_echo "$supported" >&6; } 6973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6974 + printf "%s\n" "$supported" >&6; } 6720 6975 if test "$supported" = "yes" ; then 6721 6976 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6722 6977 found="yes" ··· 6741 6996 6742 6997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6743 6998 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6744 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6745 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6746 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6747 - $as_echo_n "(cached) " >&6 6748 - else 6999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7000 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7001 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7002 + then : 7003 + printf %s "(cached) " >&6 7004 + else $as_nop 6749 7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6750 7006 /* end confdefs.h. */ 6751 7007 int i; 6752 7008 _ACEOF 6753 - if ac_fn_c_try_compile "$LINENO"; then : 7009 + if ac_fn_c_try_compile "$LINENO" 7010 + then : 6754 7011 xorg_cv_cc_flag_unknown_warning_option=yes 6755 - else 7012 + else $as_nop 6756 7013 xorg_cv_cc_flag_unknown_warning_option=no 6757 7014 fi 6758 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7015 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6759 7016 fi 6760 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6761 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7017 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7018 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6762 7019 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6763 7020 CFLAGS="$xorg_testset_save_CFLAGS" 6764 7021 fi ··· 6768 7025 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6769 7026 fi 6770 7027 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6771 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6772 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6773 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6774 - $as_echo_n "(cached) " >&6 6775 - else 7028 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7029 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7030 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7031 + then : 7032 + printf %s "(cached) " >&6 7033 + else $as_nop 6776 7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6777 7035 /* end confdefs.h. */ 6778 7036 int i; 6779 7037 _ACEOF 6780 - if ac_fn_c_try_compile "$LINENO"; then : 7038 + if ac_fn_c_try_compile "$LINENO" 7039 + then : 6781 7040 xorg_cv_cc_flag_unused_command_line_argument=yes 6782 - else 7041 + else $as_nop 6783 7042 xorg_cv_cc_flag_unused_command_line_argument=no 6784 7043 fi 6785 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7044 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6786 7045 fi 6787 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6788 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7046 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7047 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6789 7048 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6790 7049 CFLAGS="$xorg_testset_save_CFLAGS" 6791 7050 fi ··· 6803 7062 6804 7063 CFLAGS="$CFLAGS -Werror=nonnull" 6805 7064 6806 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 6807 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 7065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 7066 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 6808 7067 cacheid=xorg_cv_cc_flag__Werror_nonnull 6809 - if eval \${$cacheid+:} false; then : 6810 - $as_echo_n "(cached) " >&6 6811 - else 7068 + if eval test \${$cacheid+y} 7069 + then : 7070 + printf %s "(cached) " >&6 7071 + else $as_nop 6812 7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6813 7073 /* end confdefs.h. */ 6814 7074 int i; 6815 7075 int 6816 - main () 7076 + main (void) 6817 7077 { 6818 7078 6819 7079 ; 6820 7080 return 0; 6821 7081 } 6822 7082 _ACEOF 6823 - if ac_fn_c_try_link "$LINENO"; then : 7083 + if ac_fn_c_try_link "$LINENO" 7084 + then : 6824 7085 eval $cacheid=yes 6825 - else 7086 + else $as_nop 6826 7087 eval $cacheid=no 6827 7088 fi 6828 - rm -f core conftest.err conftest.$ac_objext \ 7089 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6829 7090 conftest$ac_exeext conftest.$ac_ext 6830 7091 fi 6831 7092 ··· 6833 7094 CFLAGS="$xorg_testset_save_CFLAGS" 6834 7095 6835 7096 eval supported=\$$cacheid 6836 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6837 - $as_echo "$supported" >&6; } 7097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7098 + printf "%s\n" "$supported" >&6; } 6838 7099 if test "$supported" = "yes" ; then 6839 7100 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 6840 7101 found="yes" ··· 6859 7120 6860 7121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6861 7122 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6862 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6863 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6864 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6865 - $as_echo_n "(cached) " >&6 6866 - else 7123 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7124 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7125 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7126 + then : 7127 + printf %s "(cached) " >&6 7128 + else $as_nop 6867 7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6868 7130 /* end confdefs.h. */ 6869 7131 int i; 6870 7132 _ACEOF 6871 - if ac_fn_c_try_compile "$LINENO"; then : 7133 + if ac_fn_c_try_compile "$LINENO" 7134 + then : 6872 7135 xorg_cv_cc_flag_unknown_warning_option=yes 6873 - else 7136 + else $as_nop 6874 7137 xorg_cv_cc_flag_unknown_warning_option=no 6875 7138 fi 6876 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7139 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6877 7140 fi 6878 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6879 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7141 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7142 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6880 7143 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6881 7144 CFLAGS="$xorg_testset_save_CFLAGS" 6882 7145 fi ··· 6886 7149 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6887 7150 fi 6888 7151 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6889 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6890 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6891 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6892 - $as_echo_n "(cached) " >&6 6893 - else 7152 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7153 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7154 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7155 + then : 7156 + printf %s "(cached) " >&6 7157 + else $as_nop 6894 7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6895 7159 /* end confdefs.h. */ 6896 7160 int i; 6897 7161 _ACEOF 6898 - if ac_fn_c_try_compile "$LINENO"; then : 7162 + if ac_fn_c_try_compile "$LINENO" 7163 + then : 6899 7164 xorg_cv_cc_flag_unused_command_line_argument=yes 6900 - else 7165 + else $as_nop 6901 7166 xorg_cv_cc_flag_unused_command_line_argument=no 6902 7167 fi 6903 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7168 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6904 7169 fi 6905 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6906 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7170 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7171 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6907 7172 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6908 7173 CFLAGS="$xorg_testset_save_CFLAGS" 6909 7174 fi ··· 6921 7186 6922 7187 CFLAGS="$CFLAGS -Werror=init-self" 6923 7188 6924 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 6925 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 7189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7190 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 6926 7191 cacheid=xorg_cv_cc_flag__Werror_init_self 6927 - if eval \${$cacheid+:} false; then : 6928 - $as_echo_n "(cached) " >&6 6929 - else 7192 + if eval test \${$cacheid+y} 7193 + then : 7194 + printf %s "(cached) " >&6 7195 + else $as_nop 6930 7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6931 7197 /* end confdefs.h. */ 6932 7198 int i; 6933 7199 int 6934 - main () 7200 + main (void) 6935 7201 { 6936 7202 6937 7203 ; 6938 7204 return 0; 6939 7205 } 6940 7206 _ACEOF 6941 - if ac_fn_c_try_link "$LINENO"; then : 7207 + if ac_fn_c_try_link "$LINENO" 7208 + then : 6942 7209 eval $cacheid=yes 6943 - else 7210 + else $as_nop 6944 7211 eval $cacheid=no 6945 7212 fi 6946 - rm -f core conftest.err conftest.$ac_objext \ 7213 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6947 7214 conftest$ac_exeext conftest.$ac_ext 6948 7215 fi 6949 7216 ··· 6951 7218 CFLAGS="$xorg_testset_save_CFLAGS" 6952 7219 6953 7220 eval supported=\$$cacheid 6954 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6955 - $as_echo "$supported" >&6; } 7221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7222 + printf "%s\n" "$supported" >&6; } 6956 7223 if test "$supported" = "yes" ; then 6957 7224 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 6958 7225 found="yes" ··· 6977 7244 6978 7245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6979 7246 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6980 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6981 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6982 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6983 - $as_echo_n "(cached) " >&6 6984 - else 7247 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7248 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7249 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7250 + then : 7251 + printf %s "(cached) " >&6 7252 + else $as_nop 6985 7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6986 7254 /* end confdefs.h. */ 6987 7255 int i; 6988 7256 _ACEOF 6989 - if ac_fn_c_try_compile "$LINENO"; then : 7257 + if ac_fn_c_try_compile "$LINENO" 7258 + then : 6990 7259 xorg_cv_cc_flag_unknown_warning_option=yes 6991 - else 7260 + else $as_nop 6992 7261 xorg_cv_cc_flag_unknown_warning_option=no 6993 7262 fi 6994 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7263 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6995 7264 fi 6996 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6997 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7265 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7266 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6998 7267 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6999 7268 CFLAGS="$xorg_testset_save_CFLAGS" 7000 7269 fi ··· 7004 7273 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7005 7274 fi 7006 7275 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7007 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7008 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7009 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7010 - $as_echo_n "(cached) " >&6 7011 - else 7276 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7277 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7278 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7279 + then : 7280 + printf %s "(cached) " >&6 7281 + else $as_nop 7012 7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7013 7283 /* end confdefs.h. */ 7014 7284 int i; 7015 7285 _ACEOF 7016 - if ac_fn_c_try_compile "$LINENO"; then : 7286 + if ac_fn_c_try_compile "$LINENO" 7287 + then : 7017 7288 xorg_cv_cc_flag_unused_command_line_argument=yes 7018 - else 7289 + else $as_nop 7019 7290 xorg_cv_cc_flag_unused_command_line_argument=no 7020 7291 fi 7021 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7292 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7022 7293 fi 7023 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7024 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7294 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7295 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7025 7296 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7026 7297 CFLAGS="$xorg_testset_save_CFLAGS" 7027 7298 fi ··· 7039 7310 7040 7311 CFLAGS="$CFLAGS -Werror=main" 7041 7312 7042 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7043 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 7313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7314 + printf %s "checking if $CC supports -Werror=main... " >&6; } 7044 7315 cacheid=xorg_cv_cc_flag__Werror_main 7045 - if eval \${$cacheid+:} false; then : 7046 - $as_echo_n "(cached) " >&6 7047 - else 7316 + if eval test \${$cacheid+y} 7317 + then : 7318 + printf %s "(cached) " >&6 7319 + else $as_nop 7048 7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7049 7321 /* end confdefs.h. */ 7050 7322 int i; 7051 7323 int 7052 - main () 7324 + main (void) 7053 7325 { 7054 7326 7055 7327 ; 7056 7328 return 0; 7057 7329 } 7058 7330 _ACEOF 7059 - if ac_fn_c_try_link "$LINENO"; then : 7331 + if ac_fn_c_try_link "$LINENO" 7332 + then : 7060 7333 eval $cacheid=yes 7061 - else 7334 + else $as_nop 7062 7335 eval $cacheid=no 7063 7336 fi 7064 - rm -f core conftest.err conftest.$ac_objext \ 7337 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7065 7338 conftest$ac_exeext conftest.$ac_ext 7066 7339 fi 7067 7340 ··· 7069 7342 CFLAGS="$xorg_testset_save_CFLAGS" 7070 7343 7071 7344 eval supported=\$$cacheid 7072 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7073 - $as_echo "$supported" >&6; } 7345 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7346 + printf "%s\n" "$supported" >&6; } 7074 7347 if test "$supported" = "yes" ; then 7075 7348 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 7076 7349 found="yes" ··· 7095 7368 7096 7369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7097 7370 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7098 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7099 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7100 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7101 - $as_echo_n "(cached) " >&6 7102 - else 7371 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7372 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7373 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7374 + then : 7375 + printf %s "(cached) " >&6 7376 + else $as_nop 7103 7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7104 7378 /* end confdefs.h. */ 7105 7379 int i; 7106 7380 _ACEOF 7107 - if ac_fn_c_try_compile "$LINENO"; then : 7381 + if ac_fn_c_try_compile "$LINENO" 7382 + then : 7108 7383 xorg_cv_cc_flag_unknown_warning_option=yes 7109 - else 7384 + else $as_nop 7110 7385 xorg_cv_cc_flag_unknown_warning_option=no 7111 7386 fi 7112 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7387 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7113 7388 fi 7114 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7115 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7389 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7390 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7116 7391 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7117 7392 CFLAGS="$xorg_testset_save_CFLAGS" 7118 7393 fi ··· 7122 7397 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7123 7398 fi 7124 7399 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7125 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7126 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7127 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7128 - $as_echo_n "(cached) " >&6 7129 - else 7400 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7401 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7402 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7403 + then : 7404 + printf %s "(cached) " >&6 7405 + else $as_nop 7130 7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7131 7407 /* end confdefs.h. */ 7132 7408 int i; 7133 7409 _ACEOF 7134 - if ac_fn_c_try_compile "$LINENO"; then : 7410 + if ac_fn_c_try_compile "$LINENO" 7411 + then : 7135 7412 xorg_cv_cc_flag_unused_command_line_argument=yes 7136 - else 7413 + else $as_nop 7137 7414 xorg_cv_cc_flag_unused_command_line_argument=no 7138 7415 fi 7139 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7416 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7140 7417 fi 7141 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7142 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7418 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7419 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7143 7420 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7144 7421 CFLAGS="$xorg_testset_save_CFLAGS" 7145 7422 fi ··· 7157 7434 7158 7435 CFLAGS="$CFLAGS -Werror=missing-braces" 7159 7436 7160 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7161 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 7437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7438 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 7162 7439 cacheid=xorg_cv_cc_flag__Werror_missing_braces 7163 - if eval \${$cacheid+:} false; then : 7164 - $as_echo_n "(cached) " >&6 7165 - else 7440 + if eval test \${$cacheid+y} 7441 + then : 7442 + printf %s "(cached) " >&6 7443 + else $as_nop 7166 7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7167 7445 /* end confdefs.h. */ 7168 7446 int i; 7169 7447 int 7170 - main () 7448 + main (void) 7171 7449 { 7172 7450 7173 7451 ; 7174 7452 return 0; 7175 7453 } 7176 7454 _ACEOF 7177 - if ac_fn_c_try_link "$LINENO"; then : 7455 + if ac_fn_c_try_link "$LINENO" 7456 + then : 7178 7457 eval $cacheid=yes 7179 - else 7458 + else $as_nop 7180 7459 eval $cacheid=no 7181 7460 fi 7182 - rm -f core conftest.err conftest.$ac_objext \ 7461 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7183 7462 conftest$ac_exeext conftest.$ac_ext 7184 7463 fi 7185 7464 ··· 7187 7466 CFLAGS="$xorg_testset_save_CFLAGS" 7188 7467 7189 7468 eval supported=\$$cacheid 7190 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7191 - $as_echo "$supported" >&6; } 7469 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7470 + printf "%s\n" "$supported" >&6; } 7192 7471 if test "$supported" = "yes" ; then 7193 7472 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 7194 7473 found="yes" ··· 7213 7492 7214 7493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7215 7494 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7216 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7217 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7218 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7219 - $as_echo_n "(cached) " >&6 7220 - else 7495 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7496 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7497 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7498 + then : 7499 + printf %s "(cached) " >&6 7500 + else $as_nop 7221 7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7222 7502 /* end confdefs.h. */ 7223 7503 int i; 7224 7504 _ACEOF 7225 - if ac_fn_c_try_compile "$LINENO"; then : 7505 + if ac_fn_c_try_compile "$LINENO" 7506 + then : 7226 7507 xorg_cv_cc_flag_unknown_warning_option=yes 7227 - else 7508 + else $as_nop 7228 7509 xorg_cv_cc_flag_unknown_warning_option=no 7229 7510 fi 7230 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7511 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7231 7512 fi 7232 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7233 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7513 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7514 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7234 7515 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7235 7516 CFLAGS="$xorg_testset_save_CFLAGS" 7236 7517 fi ··· 7240 7521 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7241 7522 fi 7242 7523 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7243 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7244 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7245 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7246 - $as_echo_n "(cached) " >&6 7247 - else 7524 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7525 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7526 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7527 + then : 7528 + printf %s "(cached) " >&6 7529 + else $as_nop 7248 7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7249 7531 /* end confdefs.h. */ 7250 7532 int i; 7251 7533 _ACEOF 7252 - if ac_fn_c_try_compile "$LINENO"; then : 7534 + if ac_fn_c_try_compile "$LINENO" 7535 + then : 7253 7536 xorg_cv_cc_flag_unused_command_line_argument=yes 7254 - else 7537 + else $as_nop 7255 7538 xorg_cv_cc_flag_unused_command_line_argument=no 7256 7539 fi 7257 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7540 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7258 7541 fi 7259 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7260 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7542 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7543 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7261 7544 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7262 7545 CFLAGS="$xorg_testset_save_CFLAGS" 7263 7546 fi ··· 7275 7558 7276 7559 CFLAGS="$CFLAGS -Werror=sequence-point" 7277 7560 7278 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7279 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 7561 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7562 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 7280 7563 cacheid=xorg_cv_cc_flag__Werror_sequence_point 7281 - if eval \${$cacheid+:} false; then : 7282 - $as_echo_n "(cached) " >&6 7283 - else 7564 + if eval test \${$cacheid+y} 7565 + then : 7566 + printf %s "(cached) " >&6 7567 + else $as_nop 7284 7568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7285 7569 /* end confdefs.h. */ 7286 7570 int i; 7287 7571 int 7288 - main () 7572 + main (void) 7289 7573 { 7290 7574 7291 7575 ; 7292 7576 return 0; 7293 7577 } 7294 7578 _ACEOF 7295 - if ac_fn_c_try_link "$LINENO"; then : 7579 + if ac_fn_c_try_link "$LINENO" 7580 + then : 7296 7581 eval $cacheid=yes 7297 - else 7582 + else $as_nop 7298 7583 eval $cacheid=no 7299 7584 fi 7300 - rm -f core conftest.err conftest.$ac_objext \ 7585 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7301 7586 conftest$ac_exeext conftest.$ac_ext 7302 7587 fi 7303 7588 ··· 7305 7590 CFLAGS="$xorg_testset_save_CFLAGS" 7306 7591 7307 7592 eval supported=\$$cacheid 7308 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7309 - $as_echo "$supported" >&6; } 7593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7594 + printf "%s\n" "$supported" >&6; } 7310 7595 if test "$supported" = "yes" ; then 7311 7596 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 7312 7597 found="yes" ··· 7331 7616 7332 7617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7333 7618 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7334 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7335 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7336 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7337 - $as_echo_n "(cached) " >&6 7338 - else 7619 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7620 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7621 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7622 + then : 7623 + printf %s "(cached) " >&6 7624 + else $as_nop 7339 7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7340 7626 /* end confdefs.h. */ 7341 7627 int i; 7342 7628 _ACEOF 7343 - if ac_fn_c_try_compile "$LINENO"; then : 7629 + if ac_fn_c_try_compile "$LINENO" 7630 + then : 7344 7631 xorg_cv_cc_flag_unknown_warning_option=yes 7345 - else 7632 + else $as_nop 7346 7633 xorg_cv_cc_flag_unknown_warning_option=no 7347 7634 fi 7348 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7635 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7349 7636 fi 7350 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7351 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7637 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7638 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7352 7639 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7353 7640 CFLAGS="$xorg_testset_save_CFLAGS" 7354 7641 fi ··· 7358 7645 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7359 7646 fi 7360 7647 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7361 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7362 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7363 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7364 - $as_echo_n "(cached) " >&6 7365 - else 7648 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7649 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7650 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7651 + then : 7652 + printf %s "(cached) " >&6 7653 + else $as_nop 7366 7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7367 7655 /* end confdefs.h. */ 7368 7656 int i; 7369 7657 _ACEOF 7370 - if ac_fn_c_try_compile "$LINENO"; then : 7658 + if ac_fn_c_try_compile "$LINENO" 7659 + then : 7371 7660 xorg_cv_cc_flag_unused_command_line_argument=yes 7372 - else 7661 + else $as_nop 7373 7662 xorg_cv_cc_flag_unused_command_line_argument=no 7374 7663 fi 7375 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7664 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7376 7665 fi 7377 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7378 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7666 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7667 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7379 7668 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7380 7669 CFLAGS="$xorg_testset_save_CFLAGS" 7381 7670 fi ··· 7393 7682 7394 7683 CFLAGS="$CFLAGS -Werror=return-type" 7395 7684 7396 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7397 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 7685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7686 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 7398 7687 cacheid=xorg_cv_cc_flag__Werror_return_type 7399 - if eval \${$cacheid+:} false; then : 7400 - $as_echo_n "(cached) " >&6 7401 - else 7688 + if eval test \${$cacheid+y} 7689 + then : 7690 + printf %s "(cached) " >&6 7691 + else $as_nop 7402 7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7403 7693 /* end confdefs.h. */ 7404 7694 int i; 7405 7695 int 7406 - main () 7696 + main (void) 7407 7697 { 7408 7698 7409 7699 ; 7410 7700 return 0; 7411 7701 } 7412 7702 _ACEOF 7413 - if ac_fn_c_try_link "$LINENO"; then : 7703 + if ac_fn_c_try_link "$LINENO" 7704 + then : 7414 7705 eval $cacheid=yes 7415 - else 7706 + else $as_nop 7416 7707 eval $cacheid=no 7417 7708 fi 7418 - rm -f core conftest.err conftest.$ac_objext \ 7709 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7419 7710 conftest$ac_exeext conftest.$ac_ext 7420 7711 fi 7421 7712 ··· 7423 7714 CFLAGS="$xorg_testset_save_CFLAGS" 7424 7715 7425 7716 eval supported=\$$cacheid 7426 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7427 - $as_echo "$supported" >&6; } 7717 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7718 + printf "%s\n" "$supported" >&6; } 7428 7719 if test "$supported" = "yes" ; then 7429 7720 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 7430 7721 found="yes" ··· 7442 7733 7443 7734 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7444 7735 7445 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7446 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7736 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7737 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7447 7738 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 7448 - if eval \${$cacheid+:} false; then : 7449 - $as_echo_n "(cached) " >&6 7450 - else 7739 + if eval test \${$cacheid+y} 7740 + then : 7741 + printf %s "(cached) " >&6 7742 + else $as_nop 7451 7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7452 7744 /* end confdefs.h. */ 7453 7745 int i; 7454 7746 int 7455 - main () 7747 + main (void) 7456 7748 { 7457 7749 7458 7750 ; 7459 7751 return 0; 7460 7752 } 7461 7753 _ACEOF 7462 - if ac_fn_c_try_link "$LINENO"; then : 7754 + if ac_fn_c_try_link "$LINENO" 7755 + then : 7463 7756 eval $cacheid=yes 7464 - else 7757 + else $as_nop 7465 7758 eval $cacheid=no 7466 7759 fi 7467 - rm -f core conftest.err conftest.$ac_objext \ 7760 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7468 7761 conftest$ac_exeext conftest.$ac_ext 7469 7762 fi 7470 7763 ··· 7472 7765 CFLAGS="$xorg_testset_save_CFLAGS" 7473 7766 7474 7767 eval supported=\$$cacheid 7475 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7476 - $as_echo "$supported" >&6; } 7768 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7769 + printf "%s\n" "$supported" >&6; } 7477 7770 if test "$supported" = "yes" ; then 7478 7771 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7479 7772 found="yes" ··· 7498 7791 7499 7792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7500 7793 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7501 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7502 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7503 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7504 - $as_echo_n "(cached) " >&6 7505 - else 7794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7795 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7796 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7797 + then : 7798 + printf %s "(cached) " >&6 7799 + else $as_nop 7506 7800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7507 7801 /* end confdefs.h. */ 7508 7802 int i; 7509 7803 _ACEOF 7510 - if ac_fn_c_try_compile "$LINENO"; then : 7804 + if ac_fn_c_try_compile "$LINENO" 7805 + then : 7511 7806 xorg_cv_cc_flag_unknown_warning_option=yes 7512 - else 7807 + else $as_nop 7513 7808 xorg_cv_cc_flag_unknown_warning_option=no 7514 7809 fi 7515 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7810 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7516 7811 fi 7517 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7518 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7812 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7813 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7519 7814 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7520 7815 CFLAGS="$xorg_testset_save_CFLAGS" 7521 7816 fi ··· 7525 7820 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7526 7821 fi 7527 7822 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7528 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7529 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7530 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7531 - $as_echo_n "(cached) " >&6 7532 - else 7823 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7824 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7825 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7826 + then : 7827 + printf %s "(cached) " >&6 7828 + else $as_nop 7533 7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7534 7830 /* end confdefs.h. */ 7535 7831 int i; 7536 7832 _ACEOF 7537 - if ac_fn_c_try_compile "$LINENO"; then : 7833 + if ac_fn_c_try_compile "$LINENO" 7834 + then : 7538 7835 xorg_cv_cc_flag_unused_command_line_argument=yes 7539 - else 7836 + else $as_nop 7540 7837 xorg_cv_cc_flag_unused_command_line_argument=no 7541 7838 fi 7542 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7839 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7543 7840 fi 7544 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7545 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7842 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7546 7843 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7547 7844 CFLAGS="$xorg_testset_save_CFLAGS" 7548 7845 fi ··· 7560 7857 7561 7858 CFLAGS="$CFLAGS -Werror=trigraphs" 7562 7859 7563 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7564 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 7860 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7861 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 7565 7862 cacheid=xorg_cv_cc_flag__Werror_trigraphs 7566 - if eval \${$cacheid+:} false; then : 7567 - $as_echo_n "(cached) " >&6 7568 - else 7863 + if eval test \${$cacheid+y} 7864 + then : 7865 + printf %s "(cached) " >&6 7866 + else $as_nop 7569 7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570 7868 /* end confdefs.h. */ 7571 7869 int i; 7572 7870 int 7573 - main () 7871 + main (void) 7574 7872 { 7575 7873 7576 7874 ; 7577 7875 return 0; 7578 7876 } 7579 7877 _ACEOF 7580 - if ac_fn_c_try_link "$LINENO"; then : 7878 + if ac_fn_c_try_link "$LINENO" 7879 + then : 7581 7880 eval $cacheid=yes 7582 - else 7881 + else $as_nop 7583 7882 eval $cacheid=no 7584 7883 fi 7585 - rm -f core conftest.err conftest.$ac_objext \ 7884 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7586 7885 conftest$ac_exeext conftest.$ac_ext 7587 7886 fi 7588 7887 ··· 7590 7889 CFLAGS="$xorg_testset_save_CFLAGS" 7591 7890 7592 7891 eval supported=\$$cacheid 7593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7594 - $as_echo "$supported" >&6; } 7892 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7893 + printf "%s\n" "$supported" >&6; } 7595 7894 if test "$supported" = "yes" ; then 7596 7895 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 7597 7896 found="yes" ··· 7616 7915 7617 7916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7618 7917 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7619 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7620 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7621 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7622 - $as_echo_n "(cached) " >&6 7623 - else 7918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7919 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7920 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7921 + then : 7922 + printf %s "(cached) " >&6 7923 + else $as_nop 7624 7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7625 7925 /* end confdefs.h. */ 7626 7926 int i; 7627 7927 _ACEOF 7628 - if ac_fn_c_try_compile "$LINENO"; then : 7928 + if ac_fn_c_try_compile "$LINENO" 7929 + then : 7629 7930 xorg_cv_cc_flag_unknown_warning_option=yes 7630 - else 7931 + else $as_nop 7631 7932 xorg_cv_cc_flag_unknown_warning_option=no 7632 7933 fi 7633 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7934 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7634 7935 fi 7635 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7636 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7936 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7937 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7637 7938 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7638 7939 CFLAGS="$xorg_testset_save_CFLAGS" 7639 7940 fi ··· 7643 7944 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7644 7945 fi 7645 7946 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7646 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7647 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7648 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7649 - $as_echo_n "(cached) " >&6 7650 - else 7947 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7948 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7949 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7950 + then : 7951 + printf %s "(cached) " >&6 7952 + else $as_nop 7651 7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7652 7954 /* end confdefs.h. */ 7653 7955 int i; 7654 7956 _ACEOF 7655 - if ac_fn_c_try_compile "$LINENO"; then : 7957 + if ac_fn_c_try_compile "$LINENO" 7958 + then : 7656 7959 xorg_cv_cc_flag_unused_command_line_argument=yes 7657 - else 7960 + else $as_nop 7658 7961 xorg_cv_cc_flag_unused_command_line_argument=no 7659 7962 fi 7660 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7963 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7661 7964 fi 7662 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7663 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7965 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7966 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7664 7967 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7665 7968 CFLAGS="$xorg_testset_save_CFLAGS" 7666 7969 fi ··· 7678 7981 7679 7982 CFLAGS="$CFLAGS -Werror=array-bounds" 7680 7983 7681 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7682 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 7984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7985 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 7683 7986 cacheid=xorg_cv_cc_flag__Werror_array_bounds 7684 - if eval \${$cacheid+:} false; then : 7685 - $as_echo_n "(cached) " >&6 7686 - else 7987 + if eval test \${$cacheid+y} 7988 + then : 7989 + printf %s "(cached) " >&6 7990 + else $as_nop 7687 7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7688 7992 /* end confdefs.h. */ 7689 7993 int i; 7690 7994 int 7691 - main () 7995 + main (void) 7692 7996 { 7693 7997 7694 7998 ; 7695 7999 return 0; 7696 8000 } 7697 8001 _ACEOF 7698 - if ac_fn_c_try_link "$LINENO"; then : 8002 + if ac_fn_c_try_link "$LINENO" 8003 + then : 7699 8004 eval $cacheid=yes 7700 - else 8005 + else $as_nop 7701 8006 eval $cacheid=no 7702 8007 fi 7703 - rm -f core conftest.err conftest.$ac_objext \ 8008 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7704 8009 conftest$ac_exeext conftest.$ac_ext 7705 8010 fi 7706 8011 ··· 7708 8013 CFLAGS="$xorg_testset_save_CFLAGS" 7709 8014 7710 8015 eval supported=\$$cacheid 7711 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7712 - $as_echo "$supported" >&6; } 8016 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8017 + printf "%s\n" "$supported" >&6; } 7713 8018 if test "$supported" = "yes" ; then 7714 8019 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 7715 8020 found="yes" ··· 7734 8039 7735 8040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7736 8041 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7737 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7738 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7739 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7740 - $as_echo_n "(cached) " >&6 7741 - else 8042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8043 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8044 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8045 + then : 8046 + printf %s "(cached) " >&6 8047 + else $as_nop 7742 8048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7743 8049 /* end confdefs.h. */ 7744 8050 int i; 7745 8051 _ACEOF 7746 - if ac_fn_c_try_compile "$LINENO"; then : 8052 + if ac_fn_c_try_compile "$LINENO" 8053 + then : 7747 8054 xorg_cv_cc_flag_unknown_warning_option=yes 7748 - else 8055 + else $as_nop 7749 8056 xorg_cv_cc_flag_unknown_warning_option=no 7750 8057 fi 7751 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8058 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7752 8059 fi 7753 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7754 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8060 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8061 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7755 8062 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7756 8063 CFLAGS="$xorg_testset_save_CFLAGS" 7757 8064 fi ··· 7761 8068 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7762 8069 fi 7763 8070 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7764 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7765 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7766 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7767 - $as_echo_n "(cached) " >&6 7768 - else 8071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8072 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8073 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8074 + then : 8075 + printf %s "(cached) " >&6 8076 + else $as_nop 7769 8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7770 8078 /* end confdefs.h. */ 7771 8079 int i; 7772 8080 _ACEOF 7773 - if ac_fn_c_try_compile "$LINENO"; then : 8081 + if ac_fn_c_try_compile "$LINENO" 8082 + then : 7774 8083 xorg_cv_cc_flag_unused_command_line_argument=yes 7775 - else 8084 + else $as_nop 7776 8085 xorg_cv_cc_flag_unused_command_line_argument=no 7777 8086 fi 7778 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8087 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7779 8088 fi 7780 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7781 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8089 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8090 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7782 8091 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7783 8092 CFLAGS="$xorg_testset_save_CFLAGS" 7784 8093 fi ··· 7796 8105 7797 8106 CFLAGS="$CFLAGS -Werror=write-strings" 7798 8107 7799 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 7800 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 8108 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 8109 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 7801 8110 cacheid=xorg_cv_cc_flag__Werror_write_strings 7802 - if eval \${$cacheid+:} false; then : 7803 - $as_echo_n "(cached) " >&6 7804 - else 8111 + if eval test \${$cacheid+y} 8112 + then : 8113 + printf %s "(cached) " >&6 8114 + else $as_nop 7805 8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7806 8116 /* end confdefs.h. */ 7807 8117 int i; 7808 8118 int 7809 - main () 8119 + main (void) 7810 8120 { 7811 8121 7812 8122 ; 7813 8123 return 0; 7814 8124 } 7815 8125 _ACEOF 7816 - if ac_fn_c_try_link "$LINENO"; then : 8126 + if ac_fn_c_try_link "$LINENO" 8127 + then : 7817 8128 eval $cacheid=yes 7818 - else 8129 + else $as_nop 7819 8130 eval $cacheid=no 7820 8131 fi 7821 - rm -f core conftest.err conftest.$ac_objext \ 8132 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7822 8133 conftest$ac_exeext conftest.$ac_ext 7823 8134 fi 7824 8135 ··· 7826 8137 CFLAGS="$xorg_testset_save_CFLAGS" 7827 8138 7828 8139 eval supported=\$$cacheid 7829 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7830 - $as_echo "$supported" >&6; } 8140 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8141 + printf "%s\n" "$supported" >&6; } 7831 8142 if test "$supported" = "yes" ; then 7832 8143 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 7833 8144 found="yes" ··· 7852 8163 7853 8164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7854 8165 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7855 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7856 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7857 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7858 - $as_echo_n "(cached) " >&6 7859 - else 8166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8167 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8168 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8169 + then : 8170 + printf %s "(cached) " >&6 8171 + else $as_nop 7860 8172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7861 8173 /* end confdefs.h. */ 7862 8174 int i; 7863 8175 _ACEOF 7864 - if ac_fn_c_try_compile "$LINENO"; then : 8176 + if ac_fn_c_try_compile "$LINENO" 8177 + then : 7865 8178 xorg_cv_cc_flag_unknown_warning_option=yes 7866 - else 8179 + else $as_nop 7867 8180 xorg_cv_cc_flag_unknown_warning_option=no 7868 8181 fi 7869 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8182 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7870 8183 fi 7871 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7872 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8184 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8185 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7873 8186 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7874 8187 CFLAGS="$xorg_testset_save_CFLAGS" 7875 8188 fi ··· 7879 8192 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7880 8193 fi 7881 8194 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7882 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7883 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7884 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7885 - $as_echo_n "(cached) " >&6 7886 - else 8195 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8196 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8197 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8198 + then : 8199 + printf %s "(cached) " >&6 8200 + else $as_nop 7887 8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7888 8202 /* end confdefs.h. */ 7889 8203 int i; 7890 8204 _ACEOF 7891 - if ac_fn_c_try_compile "$LINENO"; then : 8205 + if ac_fn_c_try_compile "$LINENO" 8206 + then : 7892 8207 xorg_cv_cc_flag_unused_command_line_argument=yes 7893 - else 8208 + else $as_nop 7894 8209 xorg_cv_cc_flag_unused_command_line_argument=no 7895 8210 fi 7896 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8211 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7897 8212 fi 7898 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7899 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8213 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8214 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7900 8215 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7901 8216 CFLAGS="$xorg_testset_save_CFLAGS" 7902 8217 fi ··· 7914 8229 7915 8230 CFLAGS="$CFLAGS -Werror=address" 7916 8231 7917 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 7918 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 8232 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8233 + printf %s "checking if $CC supports -Werror=address... " >&6; } 7919 8234 cacheid=xorg_cv_cc_flag__Werror_address 7920 - if eval \${$cacheid+:} false; then : 7921 - $as_echo_n "(cached) " >&6 7922 - else 8235 + if eval test \${$cacheid+y} 8236 + then : 8237 + printf %s "(cached) " >&6 8238 + else $as_nop 7923 8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7924 8240 /* end confdefs.h. */ 7925 8241 int i; 7926 8242 int 7927 - main () 8243 + main (void) 7928 8244 { 7929 8245 7930 8246 ; 7931 8247 return 0; 7932 8248 } 7933 8249 _ACEOF 7934 - if ac_fn_c_try_link "$LINENO"; then : 8250 + if ac_fn_c_try_link "$LINENO" 8251 + then : 7935 8252 eval $cacheid=yes 7936 - else 8253 + else $as_nop 7937 8254 eval $cacheid=no 7938 8255 fi 7939 - rm -f core conftest.err conftest.$ac_objext \ 8256 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7940 8257 conftest$ac_exeext conftest.$ac_ext 7941 8258 fi 7942 8259 ··· 7944 8261 CFLAGS="$xorg_testset_save_CFLAGS" 7945 8262 7946 8263 eval supported=\$$cacheid 7947 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7948 - $as_echo "$supported" >&6; } 8264 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8265 + printf "%s\n" "$supported" >&6; } 7949 8266 if test "$supported" = "yes" ; then 7950 8267 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 7951 8268 found="yes" ··· 7970 8287 7971 8288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7972 8289 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7973 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7974 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7975 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7976 - $as_echo_n "(cached) " >&6 7977 - else 8290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8291 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8292 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8293 + then : 8294 + printf %s "(cached) " >&6 8295 + else $as_nop 7978 8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7979 8297 /* end confdefs.h. */ 7980 8298 int i; 7981 8299 _ACEOF 7982 - if ac_fn_c_try_compile "$LINENO"; then : 8300 + if ac_fn_c_try_compile "$LINENO" 8301 + then : 7983 8302 xorg_cv_cc_flag_unknown_warning_option=yes 7984 - else 8303 + else $as_nop 7985 8304 xorg_cv_cc_flag_unknown_warning_option=no 7986 8305 fi 7987 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8306 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7988 8307 fi 7989 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7990 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8308 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8309 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7991 8310 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7992 8311 CFLAGS="$xorg_testset_save_CFLAGS" 7993 8312 fi ··· 7997 8316 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7998 8317 fi 7999 8318 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8000 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8001 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8002 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8003 - $as_echo_n "(cached) " >&6 8004 - else 8319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8320 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8321 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8322 + then : 8323 + printf %s "(cached) " >&6 8324 + else $as_nop 8005 8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8006 8326 /* end confdefs.h. */ 8007 8327 int i; 8008 8328 _ACEOF 8009 - if ac_fn_c_try_compile "$LINENO"; then : 8329 + if ac_fn_c_try_compile "$LINENO" 8330 + then : 8010 8331 xorg_cv_cc_flag_unused_command_line_argument=yes 8011 - else 8332 + else $as_nop 8012 8333 xorg_cv_cc_flag_unused_command_line_argument=no 8013 8334 fi 8014 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8335 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8015 8336 fi 8016 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8017 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8337 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8338 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8018 8339 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8019 8340 CFLAGS="$xorg_testset_save_CFLAGS" 8020 8341 fi ··· 8032 8353 8033 8354 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 8034 8355 8035 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8036 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8357 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8037 8358 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 8038 - if eval \${$cacheid+:} false; then : 8039 - $as_echo_n "(cached) " >&6 8040 - else 8359 + if eval test \${$cacheid+y} 8360 + then : 8361 + printf %s "(cached) " >&6 8362 + else $as_nop 8041 8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8042 8364 /* end confdefs.h. */ 8043 8365 int i; 8044 8366 int 8045 - main () 8367 + main (void) 8046 8368 { 8047 8369 8048 8370 ; 8049 8371 return 0; 8050 8372 } 8051 8373 _ACEOF 8052 - if ac_fn_c_try_link "$LINENO"; then : 8374 + if ac_fn_c_try_link "$LINENO" 8375 + then : 8053 8376 eval $cacheid=yes 8054 - else 8377 + else $as_nop 8055 8378 eval $cacheid=no 8056 8379 fi 8057 - rm -f core conftest.err conftest.$ac_objext \ 8380 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8058 8381 conftest$ac_exeext conftest.$ac_ext 8059 8382 fi 8060 8383 ··· 8062 8385 CFLAGS="$xorg_testset_save_CFLAGS" 8063 8386 8064 8387 eval supported=\$$cacheid 8065 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8066 - $as_echo "$supported" >&6; } 8388 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8389 + printf "%s\n" "$supported" >&6; } 8067 8390 if test "$supported" = "yes" ; then 8068 8391 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 8069 8392 found="yes" ··· 8081 8404 8082 8405 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8083 8406 8084 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8085 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8407 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8408 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8086 8409 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 8087 - if eval \${$cacheid+:} false; then : 8088 - $as_echo_n "(cached) " >&6 8089 - else 8410 + if eval test \${$cacheid+y} 8411 + then : 8412 + printf %s "(cached) " >&6 8413 + else $as_nop 8090 8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8091 8415 /* end confdefs.h. */ 8092 8416 int i; 8093 8417 int 8094 - main () 8418 + main (void) 8095 8419 { 8096 8420 8097 8421 ; 8098 8422 return 0; 8099 8423 } 8100 8424 _ACEOF 8101 - if ac_fn_c_try_link "$LINENO"; then : 8425 + if ac_fn_c_try_link "$LINENO" 8426 + then : 8102 8427 eval $cacheid=yes 8103 - else 8428 + else $as_nop 8104 8429 eval $cacheid=no 8105 8430 fi 8106 - rm -f core conftest.err conftest.$ac_objext \ 8431 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8107 8432 conftest$ac_exeext conftest.$ac_ext 8108 8433 fi 8109 8434 ··· 8111 8436 CFLAGS="$xorg_testset_save_CFLAGS" 8112 8437 8113 8438 eval supported=\$$cacheid 8114 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8115 - $as_echo "$supported" >&6; } 8439 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8440 + printf "%s\n" "$supported" >&6; } 8116 8441 if test "$supported" = "yes" ; then 8117 8442 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8118 8443 found="yes" ··· 8137 8462 8138 8463 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8139 8464 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8140 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8141 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8142 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8143 - $as_echo_n "(cached) " >&6 8144 - else 8465 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8466 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8467 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8468 + then : 8469 + printf %s "(cached) " >&6 8470 + else $as_nop 8145 8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8146 8472 /* end confdefs.h. */ 8147 8473 int i; 8148 8474 _ACEOF 8149 - if ac_fn_c_try_compile "$LINENO"; then : 8475 + if ac_fn_c_try_compile "$LINENO" 8476 + then : 8150 8477 xorg_cv_cc_flag_unknown_warning_option=yes 8151 - else 8478 + else $as_nop 8152 8479 xorg_cv_cc_flag_unknown_warning_option=no 8153 8480 fi 8154 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8481 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8155 8482 fi 8156 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8157 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8483 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8484 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8158 8485 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8159 8486 CFLAGS="$xorg_testset_save_CFLAGS" 8160 8487 fi ··· 8164 8491 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8165 8492 fi 8166 8493 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8167 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8168 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8169 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8170 - $as_echo_n "(cached) " >&6 8171 - else 8494 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8495 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8496 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8497 + then : 8498 + printf %s "(cached) " >&6 8499 + else $as_nop 8172 8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8173 8501 /* end confdefs.h. */ 8174 8502 int i; 8175 8503 _ACEOF 8176 - if ac_fn_c_try_compile "$LINENO"; then : 8504 + if ac_fn_c_try_compile "$LINENO" 8505 + then : 8177 8506 xorg_cv_cc_flag_unused_command_line_argument=yes 8178 - else 8507 + else $as_nop 8179 8508 xorg_cv_cc_flag_unused_command_line_argument=no 8180 8509 fi 8181 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8510 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8182 8511 fi 8183 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8184 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8512 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8513 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8185 8514 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8186 8515 CFLAGS="$xorg_testset_save_CFLAGS" 8187 8516 fi ··· 8199 8528 8200 8529 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 8201 8530 8202 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8203 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8531 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8532 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8204 8533 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 8205 - if eval \${$cacheid+:} false; then : 8206 - $as_echo_n "(cached) " >&6 8207 - else 8534 + if eval test \${$cacheid+y} 8535 + then : 8536 + printf %s "(cached) " >&6 8537 + else $as_nop 8208 8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8209 8539 /* end confdefs.h. */ 8210 8540 int i; 8211 8541 int 8212 - main () 8542 + main (void) 8213 8543 { 8214 8544 8215 8545 ; 8216 8546 return 0; 8217 8547 } 8218 8548 _ACEOF 8219 - if ac_fn_c_try_link "$LINENO"; then : 8549 + if ac_fn_c_try_link "$LINENO" 8550 + then : 8220 8551 eval $cacheid=yes 8221 - else 8552 + else $as_nop 8222 8553 eval $cacheid=no 8223 8554 fi 8224 - rm -f core conftest.err conftest.$ac_objext \ 8555 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8225 8556 conftest$ac_exeext conftest.$ac_ext 8226 8557 fi 8227 8558 ··· 8229 8560 CFLAGS="$xorg_testset_save_CFLAGS" 8230 8561 8231 8562 eval supported=\$$cacheid 8232 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8233 - $as_echo "$supported" >&6; } 8563 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8564 + printf "%s\n" "$supported" >&6; } 8234 8565 if test "$supported" = "yes" ; then 8235 8566 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 8236 8567 found="yes" ··· 8239 8570 8240 8571 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 8241 8572 else 8242 - { $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 8243 - $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;} 8573 + { 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 8574 + 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;} 8244 8575 8245 8576 8246 8577 ··· 8258 8589 8259 8590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8260 8591 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8261 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8262 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8263 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8264 - $as_echo_n "(cached) " >&6 8265 - else 8592 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8593 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8594 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8595 + then : 8596 + printf %s "(cached) " >&6 8597 + else $as_nop 8266 8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8267 8599 /* end confdefs.h. */ 8268 8600 int i; 8269 8601 _ACEOF 8270 - if ac_fn_c_try_compile "$LINENO"; then : 8602 + if ac_fn_c_try_compile "$LINENO" 8603 + then : 8271 8604 xorg_cv_cc_flag_unknown_warning_option=yes 8272 - else 8605 + else $as_nop 8273 8606 xorg_cv_cc_flag_unknown_warning_option=no 8274 8607 fi 8275 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8608 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8276 8609 fi 8277 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8278 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8611 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8279 8612 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8280 8613 CFLAGS="$xorg_testset_save_CFLAGS" 8281 8614 fi ··· 8285 8618 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8286 8619 fi 8287 8620 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8288 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8289 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8290 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8291 - $as_echo_n "(cached) " >&6 8292 - else 8621 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8622 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8623 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8624 + then : 8625 + printf %s "(cached) " >&6 8626 + else $as_nop 8293 8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8294 8628 /* end confdefs.h. */ 8295 8629 int i; 8296 8630 _ACEOF 8297 - if ac_fn_c_try_compile "$LINENO"; then : 8631 + if ac_fn_c_try_compile "$LINENO" 8632 + then : 8298 8633 xorg_cv_cc_flag_unused_command_line_argument=yes 8299 - else 8634 + else $as_nop 8300 8635 xorg_cv_cc_flag_unused_command_line_argument=no 8301 8636 fi 8302 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8637 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8303 8638 fi 8304 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8305 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8639 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8640 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8306 8641 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8307 8642 CFLAGS="$xorg_testset_save_CFLAGS" 8308 8643 fi ··· 8320 8655 8321 8656 CFLAGS="$CFLAGS -Wimplicit" 8322 8657 8323 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8324 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 8658 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8659 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 8325 8660 cacheid=xorg_cv_cc_flag__Wimplicit 8326 - if eval \${$cacheid+:} false; then : 8327 - $as_echo_n "(cached) " >&6 8328 - else 8661 + if eval test \${$cacheid+y} 8662 + then : 8663 + printf %s "(cached) " >&6 8664 + else $as_nop 8329 8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8330 8666 /* end confdefs.h. */ 8331 8667 int i; 8332 8668 int 8333 - main () 8669 + main (void) 8334 8670 { 8335 8671 8336 8672 ; 8337 8673 return 0; 8338 8674 } 8339 8675 _ACEOF 8340 - if ac_fn_c_try_link "$LINENO"; then : 8676 + if ac_fn_c_try_link "$LINENO" 8677 + then : 8341 8678 eval $cacheid=yes 8342 - else 8679 + else $as_nop 8343 8680 eval $cacheid=no 8344 8681 fi 8345 - rm -f core conftest.err conftest.$ac_objext \ 8682 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8346 8683 conftest$ac_exeext conftest.$ac_ext 8347 8684 fi 8348 8685 ··· 8350 8687 CFLAGS="$xorg_testset_save_CFLAGS" 8351 8688 8352 8689 eval supported=\$$cacheid 8353 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8354 - $as_echo "$supported" >&6; } 8690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8691 + printf "%s\n" "$supported" >&6; } 8355 8692 if test "$supported" = "yes" ; then 8356 8693 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 8357 8694 found="yes" ··· 8376 8713 8377 8714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8378 8715 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8379 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8380 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8381 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8382 - $as_echo_n "(cached) " >&6 8383 - else 8716 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8717 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8718 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8719 + then : 8720 + printf %s "(cached) " >&6 8721 + else $as_nop 8384 8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8385 8723 /* end confdefs.h. */ 8386 8724 int i; 8387 8725 _ACEOF 8388 - if ac_fn_c_try_compile "$LINENO"; then : 8726 + if ac_fn_c_try_compile "$LINENO" 8727 + then : 8389 8728 xorg_cv_cc_flag_unknown_warning_option=yes 8390 - else 8729 + else $as_nop 8391 8730 xorg_cv_cc_flag_unknown_warning_option=no 8392 8731 fi 8393 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8732 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8394 8733 fi 8395 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8396 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8734 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8735 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8397 8736 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8398 8737 CFLAGS="$xorg_testset_save_CFLAGS" 8399 8738 fi ··· 8403 8742 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8404 8743 fi 8405 8744 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8406 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8407 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8408 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8409 - $as_echo_n "(cached) " >&6 8410 - else 8745 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8746 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8747 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8748 + then : 8749 + printf %s "(cached) " >&6 8750 + else $as_nop 8411 8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8412 8752 /* end confdefs.h. */ 8413 8753 int i; 8414 8754 _ACEOF 8415 - if ac_fn_c_try_compile "$LINENO"; then : 8755 + if ac_fn_c_try_compile "$LINENO" 8756 + then : 8416 8757 xorg_cv_cc_flag_unused_command_line_argument=yes 8417 - else 8758 + else $as_nop 8418 8759 xorg_cv_cc_flag_unused_command_line_argument=no 8419 8760 fi 8420 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8761 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8421 8762 fi 8422 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8423 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8763 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8764 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8424 8765 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8425 8766 CFLAGS="$xorg_testset_save_CFLAGS" 8426 8767 fi ··· 8438 8779 8439 8780 CFLAGS="$CFLAGS -Wnonnull" 8440 8781 8441 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8442 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 8782 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8783 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 8443 8784 cacheid=xorg_cv_cc_flag__Wnonnull 8444 - if eval \${$cacheid+:} false; then : 8445 - $as_echo_n "(cached) " >&6 8446 - else 8785 + if eval test \${$cacheid+y} 8786 + then : 8787 + printf %s "(cached) " >&6 8788 + else $as_nop 8447 8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8448 8790 /* end confdefs.h. */ 8449 8791 int i; 8450 8792 int 8451 - main () 8793 + main (void) 8452 8794 { 8453 8795 8454 8796 ; 8455 8797 return 0; 8456 8798 } 8457 8799 _ACEOF 8458 - if ac_fn_c_try_link "$LINENO"; then : 8800 + if ac_fn_c_try_link "$LINENO" 8801 + then : 8459 8802 eval $cacheid=yes 8460 - else 8803 + else $as_nop 8461 8804 eval $cacheid=no 8462 8805 fi 8463 - rm -f core conftest.err conftest.$ac_objext \ 8806 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8464 8807 conftest$ac_exeext conftest.$ac_ext 8465 8808 fi 8466 8809 ··· 8468 8811 CFLAGS="$xorg_testset_save_CFLAGS" 8469 8812 8470 8813 eval supported=\$$cacheid 8471 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8472 - $as_echo "$supported" >&6; } 8814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8815 + printf "%s\n" "$supported" >&6; } 8473 8816 if test "$supported" = "yes" ; then 8474 8817 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 8475 8818 found="yes" ··· 8494 8837 8495 8838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8496 8839 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8497 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8498 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8499 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8500 - $as_echo_n "(cached) " >&6 8501 - else 8840 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8841 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8842 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8843 + then : 8844 + printf %s "(cached) " >&6 8845 + else $as_nop 8502 8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8503 8847 /* end confdefs.h. */ 8504 8848 int i; 8505 8849 _ACEOF 8506 - if ac_fn_c_try_compile "$LINENO"; then : 8850 + if ac_fn_c_try_compile "$LINENO" 8851 + then : 8507 8852 xorg_cv_cc_flag_unknown_warning_option=yes 8508 - else 8853 + else $as_nop 8509 8854 xorg_cv_cc_flag_unknown_warning_option=no 8510 8855 fi 8511 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8856 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8512 8857 fi 8513 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8514 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8858 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8859 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8515 8860 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8516 8861 CFLAGS="$xorg_testset_save_CFLAGS" 8517 8862 fi ··· 8521 8866 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8522 8867 fi 8523 8868 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8524 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8525 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8526 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8527 - $as_echo_n "(cached) " >&6 8528 - else 8869 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8870 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8871 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8872 + then : 8873 + printf %s "(cached) " >&6 8874 + else $as_nop 8529 8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8530 8876 /* end confdefs.h. */ 8531 8877 int i; 8532 8878 _ACEOF 8533 - if ac_fn_c_try_compile "$LINENO"; then : 8879 + if ac_fn_c_try_compile "$LINENO" 8880 + then : 8534 8881 xorg_cv_cc_flag_unused_command_line_argument=yes 8535 - else 8882 + else $as_nop 8536 8883 xorg_cv_cc_flag_unused_command_line_argument=no 8537 8884 fi 8538 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8885 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8539 8886 fi 8540 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8541 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8887 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8888 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8542 8889 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8543 8890 CFLAGS="$xorg_testset_save_CFLAGS" 8544 8891 fi ··· 8556 8903 8557 8904 CFLAGS="$CFLAGS -Winit-self" 8558 8905 8559 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8560 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 8906 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8907 + printf %s "checking if $CC supports -Winit-self... " >&6; } 8561 8908 cacheid=xorg_cv_cc_flag__Winit_self 8562 - if eval \${$cacheid+:} false; then : 8563 - $as_echo_n "(cached) " >&6 8564 - else 8909 + if eval test \${$cacheid+y} 8910 + then : 8911 + printf %s "(cached) " >&6 8912 + else $as_nop 8565 8913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8566 8914 /* end confdefs.h. */ 8567 8915 int i; 8568 8916 int 8569 - main () 8917 + main (void) 8570 8918 { 8571 8919 8572 8920 ; 8573 8921 return 0; 8574 8922 } 8575 8923 _ACEOF 8576 - if ac_fn_c_try_link "$LINENO"; then : 8924 + if ac_fn_c_try_link "$LINENO" 8925 + then : 8577 8926 eval $cacheid=yes 8578 - else 8927 + else $as_nop 8579 8928 eval $cacheid=no 8580 8929 fi 8581 - rm -f core conftest.err conftest.$ac_objext \ 8930 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8582 8931 conftest$ac_exeext conftest.$ac_ext 8583 8932 fi 8584 8933 ··· 8586 8935 CFLAGS="$xorg_testset_save_CFLAGS" 8587 8936 8588 8937 eval supported=\$$cacheid 8589 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8590 - $as_echo "$supported" >&6; } 8938 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8939 + printf "%s\n" "$supported" >&6; } 8591 8940 if test "$supported" = "yes" ; then 8592 8941 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 8593 8942 found="yes" ··· 8612 8961 8613 8962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8614 8963 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8615 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8616 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8617 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8618 - $as_echo_n "(cached) " >&6 8619 - else 8964 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8965 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8966 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8967 + then : 8968 + printf %s "(cached) " >&6 8969 + else $as_nop 8620 8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8621 8971 /* end confdefs.h. */ 8622 8972 int i; 8623 8973 _ACEOF 8624 - if ac_fn_c_try_compile "$LINENO"; then : 8974 + if ac_fn_c_try_compile "$LINENO" 8975 + then : 8625 8976 xorg_cv_cc_flag_unknown_warning_option=yes 8626 - else 8977 + else $as_nop 8627 8978 xorg_cv_cc_flag_unknown_warning_option=no 8628 8979 fi 8629 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8980 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8630 8981 fi 8631 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8632 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8982 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8983 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8633 8984 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8634 8985 CFLAGS="$xorg_testset_save_CFLAGS" 8635 8986 fi ··· 8639 8990 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8640 8991 fi 8641 8992 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8642 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8643 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8644 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8645 - $as_echo_n "(cached) " >&6 8646 - else 8993 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8994 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8995 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8996 + then : 8997 + printf %s "(cached) " >&6 8998 + else $as_nop 8647 8999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8648 9000 /* end confdefs.h. */ 8649 9001 int i; 8650 9002 _ACEOF 8651 - if ac_fn_c_try_compile "$LINENO"; then : 9003 + if ac_fn_c_try_compile "$LINENO" 9004 + then : 8652 9005 xorg_cv_cc_flag_unused_command_line_argument=yes 8653 - else 9006 + else $as_nop 8654 9007 xorg_cv_cc_flag_unused_command_line_argument=no 8655 9008 fi 8656 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9009 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8657 9010 fi 8658 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8659 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9011 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9012 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8660 9013 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8661 9014 CFLAGS="$xorg_testset_save_CFLAGS" 8662 9015 fi ··· 8674 9027 8675 9028 CFLAGS="$CFLAGS -Wmain" 8676 9029 8677 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 8678 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 9030 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 9031 + printf %s "checking if $CC supports -Wmain... " >&6; } 8679 9032 cacheid=xorg_cv_cc_flag__Wmain 8680 - if eval \${$cacheid+:} false; then : 8681 - $as_echo_n "(cached) " >&6 8682 - else 9033 + if eval test \${$cacheid+y} 9034 + then : 9035 + printf %s "(cached) " >&6 9036 + else $as_nop 8683 9037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8684 9038 /* end confdefs.h. */ 8685 9039 int i; 8686 9040 int 8687 - main () 9041 + main (void) 8688 9042 { 8689 9043 8690 9044 ; 8691 9045 return 0; 8692 9046 } 8693 9047 _ACEOF 8694 - if ac_fn_c_try_link "$LINENO"; then : 9048 + if ac_fn_c_try_link "$LINENO" 9049 + then : 8695 9050 eval $cacheid=yes 8696 - else 9051 + else $as_nop 8697 9052 eval $cacheid=no 8698 9053 fi 8699 - rm -f core conftest.err conftest.$ac_objext \ 9054 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8700 9055 conftest$ac_exeext conftest.$ac_ext 8701 9056 fi 8702 9057 ··· 8704 9059 CFLAGS="$xorg_testset_save_CFLAGS" 8705 9060 8706 9061 eval supported=\$$cacheid 8707 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8708 - $as_echo "$supported" >&6; } 9062 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9063 + printf "%s\n" "$supported" >&6; } 8709 9064 if test "$supported" = "yes" ; then 8710 9065 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 8711 9066 found="yes" ··· 8730 9085 8731 9086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8732 9087 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8733 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8734 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8735 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8736 - $as_echo_n "(cached) " >&6 8737 - else 9088 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9089 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9090 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9091 + then : 9092 + printf %s "(cached) " >&6 9093 + else $as_nop 8738 9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8739 9095 /* end confdefs.h. */ 8740 9096 int i; 8741 9097 _ACEOF 8742 - if ac_fn_c_try_compile "$LINENO"; then : 9098 + if ac_fn_c_try_compile "$LINENO" 9099 + then : 8743 9100 xorg_cv_cc_flag_unknown_warning_option=yes 8744 - else 9101 + else $as_nop 8745 9102 xorg_cv_cc_flag_unknown_warning_option=no 8746 9103 fi 8747 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9104 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8748 9105 fi 8749 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8750 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9106 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9107 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8751 9108 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8752 9109 CFLAGS="$xorg_testset_save_CFLAGS" 8753 9110 fi ··· 8757 9114 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8758 9115 fi 8759 9116 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8760 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8761 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8762 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8763 - $as_echo_n "(cached) " >&6 8764 - else 9117 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9118 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9119 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9120 + then : 9121 + printf %s "(cached) " >&6 9122 + else $as_nop 8765 9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8766 9124 /* end confdefs.h. */ 8767 9125 int i; 8768 9126 _ACEOF 8769 - if ac_fn_c_try_compile "$LINENO"; then : 9127 + if ac_fn_c_try_compile "$LINENO" 9128 + then : 8770 9129 xorg_cv_cc_flag_unused_command_line_argument=yes 8771 - else 9130 + else $as_nop 8772 9131 xorg_cv_cc_flag_unused_command_line_argument=no 8773 9132 fi 8774 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9133 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8775 9134 fi 8776 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8777 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9135 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9136 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8778 9137 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8779 9138 CFLAGS="$xorg_testset_save_CFLAGS" 8780 9139 fi ··· 8792 9151 8793 9152 CFLAGS="$CFLAGS -Wmissing-braces" 8794 9153 8795 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 8796 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 9154 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 9155 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 8797 9156 cacheid=xorg_cv_cc_flag__Wmissing_braces 8798 - if eval \${$cacheid+:} false; then : 8799 - $as_echo_n "(cached) " >&6 8800 - else 9157 + if eval test \${$cacheid+y} 9158 + then : 9159 + printf %s "(cached) " >&6 9160 + else $as_nop 8801 9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8802 9162 /* end confdefs.h. */ 8803 9163 int i; 8804 9164 int 8805 - main () 9165 + main (void) 8806 9166 { 8807 9167 8808 9168 ; 8809 9169 return 0; 8810 9170 } 8811 9171 _ACEOF 8812 - if ac_fn_c_try_link "$LINENO"; then : 9172 + if ac_fn_c_try_link "$LINENO" 9173 + then : 8813 9174 eval $cacheid=yes 8814 - else 9175 + else $as_nop 8815 9176 eval $cacheid=no 8816 9177 fi 8817 - rm -f core conftest.err conftest.$ac_objext \ 9178 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8818 9179 conftest$ac_exeext conftest.$ac_ext 8819 9180 fi 8820 9181 ··· 8822 9183 CFLAGS="$xorg_testset_save_CFLAGS" 8823 9184 8824 9185 eval supported=\$$cacheid 8825 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8826 - $as_echo "$supported" >&6; } 9186 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9187 + printf "%s\n" "$supported" >&6; } 8827 9188 if test "$supported" = "yes" ; then 8828 9189 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 8829 9190 found="yes" ··· 8848 9209 8849 9210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8850 9211 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8851 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8852 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8853 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8854 - $as_echo_n "(cached) " >&6 8855 - else 9212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9213 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9214 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9215 + then : 9216 + printf %s "(cached) " >&6 9217 + else $as_nop 8856 9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8857 9219 /* end confdefs.h. */ 8858 9220 int i; 8859 9221 _ACEOF 8860 - if ac_fn_c_try_compile "$LINENO"; then : 9222 + if ac_fn_c_try_compile "$LINENO" 9223 + then : 8861 9224 xorg_cv_cc_flag_unknown_warning_option=yes 8862 - else 9225 + else $as_nop 8863 9226 xorg_cv_cc_flag_unknown_warning_option=no 8864 9227 fi 8865 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9228 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8866 9229 fi 8867 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8868 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9230 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9231 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8869 9232 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8870 9233 CFLAGS="$xorg_testset_save_CFLAGS" 8871 9234 fi ··· 8875 9238 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8876 9239 fi 8877 9240 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8878 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8879 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8880 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8881 - $as_echo_n "(cached) " >&6 8882 - else 9241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9242 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9243 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9244 + then : 9245 + printf %s "(cached) " >&6 9246 + else $as_nop 8883 9247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8884 9248 /* end confdefs.h. */ 8885 9249 int i; 8886 9250 _ACEOF 8887 - if ac_fn_c_try_compile "$LINENO"; then : 9251 + if ac_fn_c_try_compile "$LINENO" 9252 + then : 8888 9253 xorg_cv_cc_flag_unused_command_line_argument=yes 8889 - else 9254 + else $as_nop 8890 9255 xorg_cv_cc_flag_unused_command_line_argument=no 8891 9256 fi 8892 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9257 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8893 9258 fi 8894 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8895 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9259 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9260 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8896 9261 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8897 9262 CFLAGS="$xorg_testset_save_CFLAGS" 8898 9263 fi ··· 8910 9275 8911 9276 CFLAGS="$CFLAGS -Wsequence-point" 8912 9277 8913 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 8914 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 9278 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9279 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 8915 9280 cacheid=xorg_cv_cc_flag__Wsequence_point 8916 - if eval \${$cacheid+:} false; then : 8917 - $as_echo_n "(cached) " >&6 8918 - else 9281 + if eval test \${$cacheid+y} 9282 + then : 9283 + printf %s "(cached) " >&6 9284 + else $as_nop 8919 9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8920 9286 /* end confdefs.h. */ 8921 9287 int i; 8922 9288 int 8923 - main () 9289 + main (void) 8924 9290 { 8925 9291 8926 9292 ; 8927 9293 return 0; 8928 9294 } 8929 9295 _ACEOF 8930 - if ac_fn_c_try_link "$LINENO"; then : 9296 + if ac_fn_c_try_link "$LINENO" 9297 + then : 8931 9298 eval $cacheid=yes 8932 - else 9299 + else $as_nop 8933 9300 eval $cacheid=no 8934 9301 fi 8935 - rm -f core conftest.err conftest.$ac_objext \ 9302 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8936 9303 conftest$ac_exeext conftest.$ac_ext 8937 9304 fi 8938 9305 ··· 8940 9307 CFLAGS="$xorg_testset_save_CFLAGS" 8941 9308 8942 9309 eval supported=\$$cacheid 8943 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8944 - $as_echo "$supported" >&6; } 9310 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9311 + printf "%s\n" "$supported" >&6; } 8945 9312 if test "$supported" = "yes" ; then 8946 9313 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 8947 9314 found="yes" ··· 8966 9333 8967 9334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8968 9335 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8969 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8970 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8971 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8972 - $as_echo_n "(cached) " >&6 8973 - else 9336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9337 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9338 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9339 + then : 9340 + printf %s "(cached) " >&6 9341 + else $as_nop 8974 9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8975 9343 /* end confdefs.h. */ 8976 9344 int i; 8977 9345 _ACEOF 8978 - if ac_fn_c_try_compile "$LINENO"; then : 9346 + if ac_fn_c_try_compile "$LINENO" 9347 + then : 8979 9348 xorg_cv_cc_flag_unknown_warning_option=yes 8980 - else 9349 + else $as_nop 8981 9350 xorg_cv_cc_flag_unknown_warning_option=no 8982 9351 fi 8983 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9352 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8984 9353 fi 8985 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8986 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9355 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8987 9356 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8988 9357 CFLAGS="$xorg_testset_save_CFLAGS" 8989 9358 fi ··· 8993 9362 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8994 9363 fi 8995 9364 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8996 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8997 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8998 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8999 - $as_echo_n "(cached) " >&6 9000 - else 9365 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9366 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9367 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9368 + then : 9369 + printf %s "(cached) " >&6 9370 + else $as_nop 9001 9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9002 9372 /* end confdefs.h. */ 9003 9373 int i; 9004 9374 _ACEOF 9005 - if ac_fn_c_try_compile "$LINENO"; then : 9375 + if ac_fn_c_try_compile "$LINENO" 9376 + then : 9006 9377 xorg_cv_cc_flag_unused_command_line_argument=yes 9007 - else 9378 + else $as_nop 9008 9379 xorg_cv_cc_flag_unused_command_line_argument=no 9009 9380 fi 9010 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9381 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9011 9382 fi 9012 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9013 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9383 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9384 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9014 9385 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9015 9386 CFLAGS="$xorg_testset_save_CFLAGS" 9016 9387 fi ··· 9028 9399 9029 9400 CFLAGS="$CFLAGS -Wreturn-type" 9030 9401 9031 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9032 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 9402 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9403 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 9033 9404 cacheid=xorg_cv_cc_flag__Wreturn_type 9034 - if eval \${$cacheid+:} false; then : 9035 - $as_echo_n "(cached) " >&6 9036 - else 9405 + if eval test \${$cacheid+y} 9406 + then : 9407 + printf %s "(cached) " >&6 9408 + else $as_nop 9037 9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9038 9410 /* end confdefs.h. */ 9039 9411 int i; 9040 9412 int 9041 - main () 9413 + main (void) 9042 9414 { 9043 9415 9044 9416 ; 9045 9417 return 0; 9046 9418 } 9047 9419 _ACEOF 9048 - if ac_fn_c_try_link "$LINENO"; then : 9420 + if ac_fn_c_try_link "$LINENO" 9421 + then : 9049 9422 eval $cacheid=yes 9050 - else 9423 + else $as_nop 9051 9424 eval $cacheid=no 9052 9425 fi 9053 - rm -f core conftest.err conftest.$ac_objext \ 9426 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9054 9427 conftest$ac_exeext conftest.$ac_ext 9055 9428 fi 9056 9429 ··· 9058 9431 CFLAGS="$xorg_testset_save_CFLAGS" 9059 9432 9060 9433 eval supported=\$$cacheid 9061 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9062 - $as_echo "$supported" >&6; } 9434 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9435 + printf "%s\n" "$supported" >&6; } 9063 9436 if test "$supported" = "yes" ; then 9064 9437 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 9065 9438 found="yes" ··· 9084 9457 9085 9458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9086 9459 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9087 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9088 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9089 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9090 - $as_echo_n "(cached) " >&6 9091 - else 9460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9461 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9462 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9463 + then : 9464 + printf %s "(cached) " >&6 9465 + else $as_nop 9092 9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9093 9467 /* end confdefs.h. */ 9094 9468 int i; 9095 9469 _ACEOF 9096 - if ac_fn_c_try_compile "$LINENO"; then : 9470 + if ac_fn_c_try_compile "$LINENO" 9471 + then : 9097 9472 xorg_cv_cc_flag_unknown_warning_option=yes 9098 - else 9473 + else $as_nop 9099 9474 xorg_cv_cc_flag_unknown_warning_option=no 9100 9475 fi 9101 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9476 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9102 9477 fi 9103 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9104 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9478 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9479 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9105 9480 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9106 9481 CFLAGS="$xorg_testset_save_CFLAGS" 9107 9482 fi ··· 9111 9486 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9112 9487 fi 9113 9488 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9114 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9115 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9116 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9117 - $as_echo_n "(cached) " >&6 9118 - else 9489 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9490 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9491 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9492 + then : 9493 + printf %s "(cached) " >&6 9494 + else $as_nop 9119 9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9120 9496 /* end confdefs.h. */ 9121 9497 int i; 9122 9498 _ACEOF 9123 - if ac_fn_c_try_compile "$LINENO"; then : 9499 + if ac_fn_c_try_compile "$LINENO" 9500 + then : 9124 9501 xorg_cv_cc_flag_unused_command_line_argument=yes 9125 - else 9502 + else $as_nop 9126 9503 xorg_cv_cc_flag_unused_command_line_argument=no 9127 9504 fi 9128 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9505 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9129 9506 fi 9130 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9131 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9507 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9508 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9132 9509 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9133 9510 CFLAGS="$xorg_testset_save_CFLAGS" 9134 9511 fi ··· 9146 9523 9147 9524 CFLAGS="$CFLAGS -Wtrigraphs" 9148 9525 9149 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9150 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 9526 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9527 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 9151 9528 cacheid=xorg_cv_cc_flag__Wtrigraphs 9152 - if eval \${$cacheid+:} false; then : 9153 - $as_echo_n "(cached) " >&6 9154 - else 9529 + if eval test \${$cacheid+y} 9530 + then : 9531 + printf %s "(cached) " >&6 9532 + else $as_nop 9155 9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9156 9534 /* end confdefs.h. */ 9157 9535 int i; 9158 9536 int 9159 - main () 9537 + main (void) 9160 9538 { 9161 9539 9162 9540 ; 9163 9541 return 0; 9164 9542 } 9165 9543 _ACEOF 9166 - if ac_fn_c_try_link "$LINENO"; then : 9544 + if ac_fn_c_try_link "$LINENO" 9545 + then : 9167 9546 eval $cacheid=yes 9168 - else 9547 + else $as_nop 9169 9548 eval $cacheid=no 9170 9549 fi 9171 - rm -f core conftest.err conftest.$ac_objext \ 9550 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9172 9551 conftest$ac_exeext conftest.$ac_ext 9173 9552 fi 9174 9553 ··· 9176 9555 CFLAGS="$xorg_testset_save_CFLAGS" 9177 9556 9178 9557 eval supported=\$$cacheid 9179 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9180 - $as_echo "$supported" >&6; } 9558 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9559 + printf "%s\n" "$supported" >&6; } 9181 9560 if test "$supported" = "yes" ; then 9182 9561 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 9183 9562 found="yes" ··· 9202 9581 9203 9582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9204 9583 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9205 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9206 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9207 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9208 - $as_echo_n "(cached) " >&6 9209 - else 9584 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9585 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9586 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9587 + then : 9588 + printf %s "(cached) " >&6 9589 + else $as_nop 9210 9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9211 9591 /* end confdefs.h. */ 9212 9592 int i; 9213 9593 _ACEOF 9214 - if ac_fn_c_try_compile "$LINENO"; then : 9594 + if ac_fn_c_try_compile "$LINENO" 9595 + then : 9215 9596 xorg_cv_cc_flag_unknown_warning_option=yes 9216 - else 9597 + else $as_nop 9217 9598 xorg_cv_cc_flag_unknown_warning_option=no 9218 9599 fi 9219 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9600 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9220 9601 fi 9221 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9222 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9602 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9603 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9223 9604 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9224 9605 CFLAGS="$xorg_testset_save_CFLAGS" 9225 9606 fi ··· 9229 9610 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9230 9611 fi 9231 9612 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9232 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9233 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9234 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9235 - $as_echo_n "(cached) " >&6 9236 - else 9613 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9614 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9615 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9616 + then : 9617 + printf %s "(cached) " >&6 9618 + else $as_nop 9237 9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9238 9620 /* end confdefs.h. */ 9239 9621 int i; 9240 9622 _ACEOF 9241 - if ac_fn_c_try_compile "$LINENO"; then : 9623 + if ac_fn_c_try_compile "$LINENO" 9624 + then : 9242 9625 xorg_cv_cc_flag_unused_command_line_argument=yes 9243 - else 9626 + else $as_nop 9244 9627 xorg_cv_cc_flag_unused_command_line_argument=no 9245 9628 fi 9246 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9629 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9247 9630 fi 9248 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9249 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9631 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9632 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9250 9633 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9251 9634 CFLAGS="$xorg_testset_save_CFLAGS" 9252 9635 fi ··· 9264 9647 9265 9648 CFLAGS="$CFLAGS -Warray-bounds" 9266 9649 9267 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9268 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 9650 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9651 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 9269 9652 cacheid=xorg_cv_cc_flag__Warray_bounds 9270 - if eval \${$cacheid+:} false; then : 9271 - $as_echo_n "(cached) " >&6 9272 - else 9653 + if eval test \${$cacheid+y} 9654 + then : 9655 + printf %s "(cached) " >&6 9656 + else $as_nop 9273 9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9274 9658 /* end confdefs.h. */ 9275 9659 int i; 9276 9660 int 9277 - main () 9661 + main (void) 9278 9662 { 9279 9663 9280 9664 ; 9281 9665 return 0; 9282 9666 } 9283 9667 _ACEOF 9284 - if ac_fn_c_try_link "$LINENO"; then : 9668 + if ac_fn_c_try_link "$LINENO" 9669 + then : 9285 9670 eval $cacheid=yes 9286 - else 9671 + else $as_nop 9287 9672 eval $cacheid=no 9288 9673 fi 9289 - rm -f core conftest.err conftest.$ac_objext \ 9674 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9290 9675 conftest$ac_exeext conftest.$ac_ext 9291 9676 fi 9292 9677 ··· 9294 9679 CFLAGS="$xorg_testset_save_CFLAGS" 9295 9680 9296 9681 eval supported=\$$cacheid 9297 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9298 - $as_echo "$supported" >&6; } 9682 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9683 + printf "%s\n" "$supported" >&6; } 9299 9684 if test "$supported" = "yes" ; then 9300 9685 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 9301 9686 found="yes" ··· 9320 9705 9321 9706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9322 9707 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9323 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9324 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9325 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9326 - $as_echo_n "(cached) " >&6 9327 - else 9708 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9709 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9710 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9711 + then : 9712 + printf %s "(cached) " >&6 9713 + else $as_nop 9328 9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9329 9715 /* end confdefs.h. */ 9330 9716 int i; 9331 9717 _ACEOF 9332 - if ac_fn_c_try_compile "$LINENO"; then : 9718 + if ac_fn_c_try_compile "$LINENO" 9719 + then : 9333 9720 xorg_cv_cc_flag_unknown_warning_option=yes 9334 - else 9721 + else $as_nop 9335 9722 xorg_cv_cc_flag_unknown_warning_option=no 9336 9723 fi 9337 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9724 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9338 9725 fi 9339 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9340 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9726 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9727 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9341 9728 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9342 9729 CFLAGS="$xorg_testset_save_CFLAGS" 9343 9730 fi ··· 9347 9734 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9348 9735 fi 9349 9736 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9350 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9351 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9352 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9353 - $as_echo_n "(cached) " >&6 9354 - else 9737 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9738 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9739 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9740 + then : 9741 + printf %s "(cached) " >&6 9742 + else $as_nop 9355 9743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9356 9744 /* end confdefs.h. */ 9357 9745 int i; 9358 9746 _ACEOF 9359 - if ac_fn_c_try_compile "$LINENO"; then : 9747 + if ac_fn_c_try_compile "$LINENO" 9748 + then : 9360 9749 xorg_cv_cc_flag_unused_command_line_argument=yes 9361 - else 9750 + else $as_nop 9362 9751 xorg_cv_cc_flag_unused_command_line_argument=no 9363 9752 fi 9364 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9753 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9365 9754 fi 9366 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9367 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9755 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9756 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9368 9757 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9369 9758 CFLAGS="$xorg_testset_save_CFLAGS" 9370 9759 fi ··· 9382 9771 9383 9772 CFLAGS="$CFLAGS -Wwrite-strings" 9384 9773 9385 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9386 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 9774 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9775 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 9387 9776 cacheid=xorg_cv_cc_flag__Wwrite_strings 9388 - if eval \${$cacheid+:} false; then : 9389 - $as_echo_n "(cached) " >&6 9390 - else 9777 + if eval test \${$cacheid+y} 9778 + then : 9779 + printf %s "(cached) " >&6 9780 + else $as_nop 9391 9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9392 9782 /* end confdefs.h. */ 9393 9783 int i; 9394 9784 int 9395 - main () 9785 + main (void) 9396 9786 { 9397 9787 9398 9788 ; 9399 9789 return 0; 9400 9790 } 9401 9791 _ACEOF 9402 - if ac_fn_c_try_link "$LINENO"; then : 9792 + if ac_fn_c_try_link "$LINENO" 9793 + then : 9403 9794 eval $cacheid=yes 9404 - else 9795 + else $as_nop 9405 9796 eval $cacheid=no 9406 9797 fi 9407 - rm -f core conftest.err conftest.$ac_objext \ 9798 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9408 9799 conftest$ac_exeext conftest.$ac_ext 9409 9800 fi 9410 9801 ··· 9412 9803 CFLAGS="$xorg_testset_save_CFLAGS" 9413 9804 9414 9805 eval supported=\$$cacheid 9415 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9416 - $as_echo "$supported" >&6; } 9806 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9807 + printf "%s\n" "$supported" >&6; } 9417 9808 if test "$supported" = "yes" ; then 9418 9809 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 9419 9810 found="yes" ··· 9438 9829 9439 9830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9440 9831 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9441 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9442 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9443 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9444 - $as_echo_n "(cached) " >&6 9445 - else 9832 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9833 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9834 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9835 + then : 9836 + printf %s "(cached) " >&6 9837 + else $as_nop 9446 9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9447 9839 /* end confdefs.h. */ 9448 9840 int i; 9449 9841 _ACEOF 9450 - if ac_fn_c_try_compile "$LINENO"; then : 9842 + if ac_fn_c_try_compile "$LINENO" 9843 + then : 9451 9844 xorg_cv_cc_flag_unknown_warning_option=yes 9452 - else 9845 + else $as_nop 9453 9846 xorg_cv_cc_flag_unknown_warning_option=no 9454 9847 fi 9455 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9848 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9456 9849 fi 9457 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9458 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9850 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9851 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9459 9852 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9460 9853 CFLAGS="$xorg_testset_save_CFLAGS" 9461 9854 fi ··· 9465 9858 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9466 9859 fi 9467 9860 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9468 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9469 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9470 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9471 - $as_echo_n "(cached) " >&6 9472 - else 9861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9862 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9863 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9864 + then : 9865 + printf %s "(cached) " >&6 9866 + else $as_nop 9473 9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9474 9868 /* end confdefs.h. */ 9475 9869 int i; 9476 9870 _ACEOF 9477 - if ac_fn_c_try_compile "$LINENO"; then : 9871 + if ac_fn_c_try_compile "$LINENO" 9872 + then : 9478 9873 xorg_cv_cc_flag_unused_command_line_argument=yes 9479 - else 9874 + else $as_nop 9480 9875 xorg_cv_cc_flag_unused_command_line_argument=no 9481 9876 fi 9482 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9877 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9483 9878 fi 9484 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9485 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9879 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9880 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9486 9881 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9487 9882 CFLAGS="$xorg_testset_save_CFLAGS" 9488 9883 fi ··· 9500 9895 9501 9896 CFLAGS="$CFLAGS -Waddress" 9502 9897 9503 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9504 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 9898 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9899 + printf %s "checking if $CC supports -Waddress... " >&6; } 9505 9900 cacheid=xorg_cv_cc_flag__Waddress 9506 - if eval \${$cacheid+:} false; then : 9507 - $as_echo_n "(cached) " >&6 9508 - else 9901 + if eval test \${$cacheid+y} 9902 + then : 9903 + printf %s "(cached) " >&6 9904 + else $as_nop 9509 9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9510 9906 /* end confdefs.h. */ 9511 9907 int i; 9512 9908 int 9513 - main () 9909 + main (void) 9514 9910 { 9515 9911 9516 9912 ; 9517 9913 return 0; 9518 9914 } 9519 9915 _ACEOF 9520 - if ac_fn_c_try_link "$LINENO"; then : 9916 + if ac_fn_c_try_link "$LINENO" 9917 + then : 9521 9918 eval $cacheid=yes 9522 - else 9919 + else $as_nop 9523 9920 eval $cacheid=no 9524 9921 fi 9525 - rm -f core conftest.err conftest.$ac_objext \ 9922 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9526 9923 conftest$ac_exeext conftest.$ac_ext 9527 9924 fi 9528 9925 ··· 9530 9927 CFLAGS="$xorg_testset_save_CFLAGS" 9531 9928 9532 9929 eval supported=\$$cacheid 9533 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9534 - $as_echo "$supported" >&6; } 9930 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9931 + printf "%s\n" "$supported" >&6; } 9535 9932 if test "$supported" = "yes" ; then 9536 9933 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 9537 9934 found="yes" ··· 9556 9953 9557 9954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9558 9955 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9559 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9560 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9561 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9562 - $as_echo_n "(cached) " >&6 9563 - else 9956 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9957 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9958 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9959 + then : 9960 + printf %s "(cached) " >&6 9961 + else $as_nop 9564 9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9565 9963 /* end confdefs.h. */ 9566 9964 int i; 9567 9965 _ACEOF 9568 - if ac_fn_c_try_compile "$LINENO"; then : 9966 + if ac_fn_c_try_compile "$LINENO" 9967 + then : 9569 9968 xorg_cv_cc_flag_unknown_warning_option=yes 9570 - else 9969 + else $as_nop 9571 9970 xorg_cv_cc_flag_unknown_warning_option=no 9572 9971 fi 9573 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9972 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9574 9973 fi 9575 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9576 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9974 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9975 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9577 9976 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9578 9977 CFLAGS="$xorg_testset_save_CFLAGS" 9579 9978 fi ··· 9583 9982 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9584 9983 fi 9585 9984 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9586 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9587 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9588 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9589 - $as_echo_n "(cached) " >&6 9590 - else 9985 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9986 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9987 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9988 + then : 9989 + printf %s "(cached) " >&6 9990 + else $as_nop 9591 9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9592 9992 /* end confdefs.h. */ 9593 9993 int i; 9594 9994 _ACEOF 9595 - if ac_fn_c_try_compile "$LINENO"; then : 9995 + if ac_fn_c_try_compile "$LINENO" 9996 + then : 9596 9997 xorg_cv_cc_flag_unused_command_line_argument=yes 9597 - else 9998 + else $as_nop 9598 9999 xorg_cv_cc_flag_unused_command_line_argument=no 9599 10000 fi 9600 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10001 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9601 10002 fi 9602 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9603 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10003 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10004 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9604 10005 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9605 10006 CFLAGS="$xorg_testset_save_CFLAGS" 9606 10007 fi ··· 9618 10019 9619 10020 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 9620 10021 9621 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 9622 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 10022 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 10023 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9623 10024 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 9624 - if eval \${$cacheid+:} false; then : 9625 - $as_echo_n "(cached) " >&6 9626 - else 10025 + if eval test \${$cacheid+y} 10026 + then : 10027 + printf %s "(cached) " >&6 10028 + else $as_nop 9627 10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9628 10030 /* end confdefs.h. */ 9629 10031 int i; 9630 10032 int 9631 - main () 10033 + main (void) 9632 10034 { 9633 10035 9634 10036 ; 9635 10037 return 0; 9636 10038 } 9637 10039 _ACEOF 9638 - if ac_fn_c_try_link "$LINENO"; then : 10040 + if ac_fn_c_try_link "$LINENO" 10041 + then : 9639 10042 eval $cacheid=yes 9640 - else 10043 + else $as_nop 9641 10044 eval $cacheid=no 9642 10045 fi 9643 - rm -f core conftest.err conftest.$ac_objext \ 10046 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9644 10047 conftest$ac_exeext conftest.$ac_ext 9645 10048 fi 9646 10049 ··· 9648 10051 CFLAGS="$xorg_testset_save_CFLAGS" 9649 10052 9650 10053 eval supported=\$$cacheid 9651 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9652 - $as_echo "$supported" >&6; } 10054 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10055 + printf "%s\n" "$supported" >&6; } 9653 10056 if test "$supported" = "yes" ; then 9654 10057 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 9655 10058 found="yes" ··· 9674 10077 9675 10078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9676 10079 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9677 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9678 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9679 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9680 - $as_echo_n "(cached) " >&6 9681 - else 10080 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10081 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10082 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10083 + then : 10084 + printf %s "(cached) " >&6 10085 + else $as_nop 9682 10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9683 10087 /* end confdefs.h. */ 9684 10088 int i; 9685 10089 _ACEOF 9686 - if ac_fn_c_try_compile "$LINENO"; then : 10090 + if ac_fn_c_try_compile "$LINENO" 10091 + then : 9687 10092 xorg_cv_cc_flag_unknown_warning_option=yes 9688 - else 10093 + else $as_nop 9689 10094 xorg_cv_cc_flag_unknown_warning_option=no 9690 10095 fi 9691 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10096 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9692 10097 fi 9693 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9694 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10098 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10099 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9695 10100 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9696 10101 CFLAGS="$xorg_testset_save_CFLAGS" 9697 10102 fi ··· 9701 10106 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9702 10107 fi 9703 10108 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9704 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9705 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9706 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9707 - $as_echo_n "(cached) " >&6 9708 - else 10109 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10110 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10111 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10112 + then : 10113 + printf %s "(cached) " >&6 10114 + else $as_nop 9709 10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9710 10116 /* end confdefs.h. */ 9711 10117 int i; 9712 10118 _ACEOF 9713 - if ac_fn_c_try_compile "$LINENO"; then : 10119 + if ac_fn_c_try_compile "$LINENO" 10120 + then : 9714 10121 xorg_cv_cc_flag_unused_command_line_argument=yes 9715 - else 10122 + else $as_nop 9716 10123 xorg_cv_cc_flag_unused_command_line_argument=no 9717 10124 fi 9718 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10125 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9719 10126 fi 9720 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9721 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10127 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10128 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9722 10129 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9723 10130 CFLAGS="$xorg_testset_save_CFLAGS" 9724 10131 fi ··· 9736 10143 9737 10144 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 9738 10145 9739 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 9740 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 10146 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 10147 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 9741 10148 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 9742 - if eval \${$cacheid+:} false; then : 9743 - $as_echo_n "(cached) " >&6 9744 - else 10149 + if eval test \${$cacheid+y} 10150 + then : 10151 + printf %s "(cached) " >&6 10152 + else $as_nop 9745 10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9746 10154 /* end confdefs.h. */ 9747 10155 int i; 9748 10156 int 9749 - main () 10157 + main (void) 9750 10158 { 9751 10159 9752 10160 ; 9753 10161 return 0; 9754 10162 } 9755 10163 _ACEOF 9756 - if ac_fn_c_try_link "$LINENO"; then : 10164 + if ac_fn_c_try_link "$LINENO" 10165 + then : 9757 10166 eval $cacheid=yes 9758 - else 10167 + else $as_nop 9759 10168 eval $cacheid=no 9760 10169 fi 9761 - rm -f core conftest.err conftest.$ac_objext \ 10170 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9762 10171 conftest$ac_exeext conftest.$ac_ext 9763 10172 fi 9764 10173 ··· 9766 10175 CFLAGS="$xorg_testset_save_CFLAGS" 9767 10176 9768 10177 eval supported=\$$cacheid 9769 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9770 - $as_echo "$supported" >&6; } 10178 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10179 + printf "%s\n" "$supported" >&6; } 9771 10180 if test "$supported" = "yes" ; then 9772 10181 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 9773 10182 found="yes" ··· 9796 10205 9797 10206 9798 10207 # Check whether --enable-strict-compilation was given. 9799 - if test "${enable_strict_compilation+set}" = set; then : 10208 + if test ${enable_strict_compilation+y} 10209 + then : 9800 10210 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 9801 - else 10211 + else $as_nop 9802 10212 STRICT_COMPILE=no 9803 10213 fi 9804 10214 ··· 9825 10235 9826 10236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9827 10237 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9828 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9829 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9830 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9831 - $as_echo_n "(cached) " >&6 9832 - else 10238 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10239 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10240 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10241 + then : 10242 + printf %s "(cached) " >&6 10243 + else $as_nop 9833 10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9834 10245 /* end confdefs.h. */ 9835 10246 int i; 9836 10247 _ACEOF 9837 - if ac_fn_c_try_compile "$LINENO"; then : 10248 + if ac_fn_c_try_compile "$LINENO" 10249 + then : 9838 10250 xorg_cv_cc_flag_unknown_warning_option=yes 9839 - else 10251 + else $as_nop 9840 10252 xorg_cv_cc_flag_unknown_warning_option=no 9841 10253 fi 9842 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10254 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9843 10255 fi 9844 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9845 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10256 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10257 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9846 10258 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9847 10259 CFLAGS="$xorg_testset_save_CFLAGS" 9848 10260 fi ··· 9852 10264 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9853 10265 fi 9854 10266 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9855 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9856 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9857 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9858 - $as_echo_n "(cached) " >&6 9859 - else 10267 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10268 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10269 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10270 + then : 10271 + printf %s "(cached) " >&6 10272 + else $as_nop 9860 10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9861 10274 /* end confdefs.h. */ 9862 10275 int i; 9863 10276 _ACEOF 9864 - if ac_fn_c_try_compile "$LINENO"; then : 10277 + if ac_fn_c_try_compile "$LINENO" 10278 + then : 9865 10279 xorg_cv_cc_flag_unused_command_line_argument=yes 9866 - else 10280 + else $as_nop 9867 10281 xorg_cv_cc_flag_unused_command_line_argument=no 9868 10282 fi 9869 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10283 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9870 10284 fi 9871 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9872 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10285 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10286 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9873 10287 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9874 10288 CFLAGS="$xorg_testset_save_CFLAGS" 9875 10289 fi ··· 9887 10301 9888 10302 CFLAGS="$CFLAGS -pedantic" 9889 10303 9890 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 9891 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 10304 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 10305 + printf %s "checking if $CC supports -pedantic... " >&6; } 9892 10306 cacheid=xorg_cv_cc_flag__pedantic 9893 - if eval \${$cacheid+:} false; then : 9894 - $as_echo_n "(cached) " >&6 9895 - else 10307 + if eval test \${$cacheid+y} 10308 + then : 10309 + printf %s "(cached) " >&6 10310 + else $as_nop 9896 10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9897 10312 /* end confdefs.h. */ 9898 10313 int i; 9899 10314 int 9900 - main () 10315 + main (void) 9901 10316 { 9902 10317 9903 10318 ; 9904 10319 return 0; 9905 10320 } 9906 10321 _ACEOF 9907 - if ac_fn_c_try_link "$LINENO"; then : 10322 + if ac_fn_c_try_link "$LINENO" 10323 + then : 9908 10324 eval $cacheid=yes 9909 - else 10325 + else $as_nop 9910 10326 eval $cacheid=no 9911 10327 fi 9912 - rm -f core conftest.err conftest.$ac_objext \ 10328 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9913 10329 conftest$ac_exeext conftest.$ac_ext 9914 10330 fi 9915 10331 ··· 9917 10333 CFLAGS="$xorg_testset_save_CFLAGS" 9918 10334 9919 10335 eval supported=\$$cacheid 9920 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9921 - $as_echo "$supported" >&6; } 10336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10337 + printf "%s\n" "$supported" >&6; } 9922 10338 if test "$supported" = "yes" ; then 9923 10339 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 9924 10340 found="yes" ··· 9943 10359 9944 10360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9945 10361 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9946 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9947 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9948 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9949 - $as_echo_n "(cached) " >&6 9950 - else 10362 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10363 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10364 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10365 + then : 10366 + printf %s "(cached) " >&6 10367 + else $as_nop 9951 10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9952 10369 /* end confdefs.h. */ 9953 10370 int i; 9954 10371 _ACEOF 9955 - if ac_fn_c_try_compile "$LINENO"; then : 10372 + if ac_fn_c_try_compile "$LINENO" 10373 + then : 9956 10374 xorg_cv_cc_flag_unknown_warning_option=yes 9957 - else 10375 + else $as_nop 9958 10376 xorg_cv_cc_flag_unknown_warning_option=no 9959 10377 fi 9960 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10378 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9961 10379 fi 9962 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9963 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10380 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10381 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9964 10382 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9965 10383 CFLAGS="$xorg_testset_save_CFLAGS" 9966 10384 fi ··· 9970 10388 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9971 10389 fi 9972 10390 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9973 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9974 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9975 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9976 - $as_echo_n "(cached) " >&6 9977 - else 10391 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10392 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10393 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10394 + then : 10395 + printf %s "(cached) " >&6 10396 + else $as_nop 9978 10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9979 10398 /* end confdefs.h. */ 9980 10399 int i; 9981 10400 _ACEOF 9982 - if ac_fn_c_try_compile "$LINENO"; then : 10401 + if ac_fn_c_try_compile "$LINENO" 10402 + then : 9983 10403 xorg_cv_cc_flag_unused_command_line_argument=yes 9984 - else 10404 + else $as_nop 9985 10405 xorg_cv_cc_flag_unused_command_line_argument=no 9986 10406 fi 9987 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10407 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9988 10408 fi 9989 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9990 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10409 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10410 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9991 10411 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9992 10412 CFLAGS="$xorg_testset_save_CFLAGS" 9993 10413 fi ··· 10005 10425 10006 10426 CFLAGS="$CFLAGS -Werror" 10007 10427 10008 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10009 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 10428 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10429 + printf %s "checking if $CC supports -Werror... " >&6; } 10010 10430 cacheid=xorg_cv_cc_flag__Werror 10011 - if eval \${$cacheid+:} false; then : 10012 - $as_echo_n "(cached) " >&6 10013 - else 10431 + if eval test \${$cacheid+y} 10432 + then : 10433 + printf %s "(cached) " >&6 10434 + else $as_nop 10014 10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10015 10436 /* end confdefs.h. */ 10016 10437 int i; 10017 10438 int 10018 - main () 10439 + main (void) 10019 10440 { 10020 10441 10021 10442 ; 10022 10443 return 0; 10023 10444 } 10024 10445 _ACEOF 10025 - if ac_fn_c_try_link "$LINENO"; then : 10446 + if ac_fn_c_try_link "$LINENO" 10447 + then : 10026 10448 eval $cacheid=yes 10027 - else 10449 + else $as_nop 10028 10450 eval $cacheid=no 10029 10451 fi 10030 - rm -f core conftest.err conftest.$ac_objext \ 10452 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10031 10453 conftest$ac_exeext conftest.$ac_ext 10032 10454 fi 10033 10455 ··· 10035 10457 CFLAGS="$xorg_testset_save_CFLAGS" 10036 10458 10037 10459 eval supported=\$$cacheid 10038 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10039 - $as_echo "$supported" >&6; } 10460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10461 + printf "%s\n" "$supported" >&6; } 10040 10462 if test "$supported" = "yes" ; then 10041 10463 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 10042 10464 found="yes" ··· 10054 10476 10055 10477 CFLAGS="$CFLAGS -errwarn" 10056 10478 10057 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10058 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 10479 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10480 + printf %s "checking if $CC supports -errwarn... " >&6; } 10059 10481 cacheid=xorg_cv_cc_flag__errwarn 10060 - if eval \${$cacheid+:} false; then : 10061 - $as_echo_n "(cached) " >&6 10062 - else 10482 + if eval test \${$cacheid+y} 10483 + then : 10484 + printf %s "(cached) " >&6 10485 + else $as_nop 10063 10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10064 10487 /* end confdefs.h. */ 10065 10488 int i; 10066 10489 int 10067 - main () 10490 + main (void) 10068 10491 { 10069 10492 10070 10493 ; 10071 10494 return 0; 10072 10495 } 10073 10496 _ACEOF 10074 - if ac_fn_c_try_link "$LINENO"; then : 10497 + if ac_fn_c_try_link "$LINENO" 10498 + then : 10075 10499 eval $cacheid=yes 10076 - else 10500 + else $as_nop 10077 10501 eval $cacheid=no 10078 10502 fi 10079 - rm -f core conftest.err conftest.$ac_objext \ 10503 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10080 10504 conftest$ac_exeext conftest.$ac_ext 10081 10505 fi 10082 10506 ··· 10084 10508 CFLAGS="$xorg_testset_save_CFLAGS" 10085 10509 10086 10510 eval supported=\$$cacheid 10087 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10088 - $as_echo "$supported" >&6; } 10511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10512 + printf "%s\n" "$supported" >&6; } 10089 10513 if test "$supported" = "yes" ; then 10090 10514 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 10091 10515 found="yes" ··· 10113 10537 10114 10538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10115 10539 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10116 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10117 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10118 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10119 - $as_echo_n "(cached) " >&6 10120 - else 10540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10541 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10542 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10543 + then : 10544 + printf %s "(cached) " >&6 10545 + else $as_nop 10121 10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10122 10547 /* end confdefs.h. */ 10123 10548 int i; 10124 10549 _ACEOF 10125 - if ac_fn_c_try_compile "$LINENO"; then : 10550 + if ac_fn_c_try_compile "$LINENO" 10551 + then : 10126 10552 xorg_cv_cc_flag_unknown_warning_option=yes 10127 - else 10553 + else $as_nop 10128 10554 xorg_cv_cc_flag_unknown_warning_option=no 10129 10555 fi 10130 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10556 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10131 10557 fi 10132 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10133 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10558 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10559 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10134 10560 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10135 10561 CFLAGS="$xorg_testset_save_CFLAGS" 10136 10562 fi ··· 10140 10566 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10141 10567 fi 10142 10568 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10143 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10144 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10145 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10146 - $as_echo_n "(cached) " >&6 10147 - else 10569 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10570 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10571 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10572 + then : 10573 + printf %s "(cached) " >&6 10574 + else $as_nop 10148 10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10149 10576 /* end confdefs.h. */ 10150 10577 int i; 10151 10578 _ACEOF 10152 - if ac_fn_c_try_compile "$LINENO"; then : 10579 + if ac_fn_c_try_compile "$LINENO" 10580 + then : 10153 10581 xorg_cv_cc_flag_unused_command_line_argument=yes 10154 - else 10582 + else $as_nop 10155 10583 xorg_cv_cc_flag_unused_command_line_argument=no 10156 10584 fi 10157 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10585 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10158 10586 fi 10159 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10160 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10588 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10161 10589 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10162 10590 CFLAGS="$xorg_testset_save_CFLAGS" 10163 10591 fi ··· 10175 10603 10176 10604 CFLAGS="$CFLAGS -Werror=attributes" 10177 10605 10178 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10179 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 10606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10607 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 10180 10608 cacheid=xorg_cv_cc_flag__Werror_attributes 10181 - if eval \${$cacheid+:} false; then : 10182 - $as_echo_n "(cached) " >&6 10183 - else 10609 + if eval test \${$cacheid+y} 10610 + then : 10611 + printf %s "(cached) " >&6 10612 + else $as_nop 10184 10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10185 10614 /* end confdefs.h. */ 10186 10615 int i; 10187 10616 int 10188 - main () 10617 + main (void) 10189 10618 { 10190 10619 10191 10620 ; 10192 10621 return 0; 10193 10622 } 10194 10623 _ACEOF 10195 - if ac_fn_c_try_link "$LINENO"; then : 10624 + if ac_fn_c_try_link "$LINENO" 10625 + then : 10196 10626 eval $cacheid=yes 10197 - else 10627 + else $as_nop 10198 10628 eval $cacheid=no 10199 10629 fi 10200 - rm -f core conftest.err conftest.$ac_objext \ 10630 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10201 10631 conftest$ac_exeext conftest.$ac_ext 10202 10632 fi 10203 10633 ··· 10205 10635 CFLAGS="$xorg_testset_save_CFLAGS" 10206 10636 10207 10637 eval supported=\$$cacheid 10208 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10209 - $as_echo "$supported" >&6; } 10638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10639 + printf "%s\n" "$supported" >&6; } 10210 10640 if test "$supported" = "yes" ; then 10211 10641 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 10212 10642 found="yes" ··· 10219 10649 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS" 10220 10650 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 10221 10651 fi 10652 + 10653 + 10222 10654 10223 10655 10224 10656 ··· 10234 10666 PVM="0" 10235 10667 fi 10236 10668 10237 - cat >>confdefs.h <<_ACEOF 10238 - #define PACKAGE_VERSION_MINOR $PVM 10239 - _ACEOF 10669 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 10240 10670 10241 10671 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10242 10672 if test "x$PVP" = "x"; then 10243 10673 PVP="0" 10244 10674 fi 10245 10675 10246 - cat >>confdefs.h <<_ACEOF 10247 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 10248 - _ACEOF 10676 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 10249 10677 10250 10678 10251 10679 ··· 10275 10703 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10276 10704 # check for a man page file found in later versions that use 10277 10705 # traditional section numbers instead 10278 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10279 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 10280 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 10281 - $as_echo_n "(cached) " >&6 10282 - else 10706 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10707 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 10708 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 10709 + then : 10710 + printf %s "(cached) " >&6 10711 + else $as_nop 10283 10712 test "$cross_compiling" = yes && 10284 10713 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 10285 10714 if test -r "/usr/share/man/man7/attributes.7"; then ··· 10288 10717 ac_cv_file__usr_share_man_man7_attributes_7=no 10289 10718 fi 10290 10719 fi 10291 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10292 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10293 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 10720 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10721 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10722 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 10723 + then : 10294 10724 SYSV_MAN_SECTIONS=false 10295 - else 10725 + else $as_nop 10296 10726 SYSV_MAN_SECTIONS=true 10297 10727 fi 10298 10728 ··· 10387 10817 10388 10818 10389 10819 # Check whether --enable-silent-rules was given. 10390 - if test "${enable_silent_rules+set}" = set; then : 10820 + if test ${enable_silent_rules+y} 10821 + then : 10391 10822 enableval=$enable_silent_rules; 10392 10823 fi 10393 10824 ··· 10397 10828 *) AM_DEFAULT_VERBOSITY=0;; 10398 10829 esac 10399 10830 am_make=${MAKE-make} 10400 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10401 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 10402 - if ${am_cv_make_support_nested_variables+:} false; then : 10403 - $as_echo_n "(cached) " >&6 10404 - else 10405 - if $as_echo 'TRUE=$(BAR$(V)) 10831 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10832 + printf %s "checking whether $am_make supports nested variables... " >&6; } 10833 + if test ${am_cv_make_support_nested_variables+y} 10834 + then : 10835 + printf %s "(cached) " >&6 10836 + else $as_nop 10837 + if printf "%s\n" 'TRUE=$(BAR$(V)) 10406 10838 BAR0=false 10407 10839 BAR1=true 10408 10840 V=1 ··· 10414 10846 am_cv_make_support_nested_variables=no 10415 10847 fi 10416 10848 fi 10417 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10418 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 10849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10850 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 10419 10851 if test $am_cv_make_support_nested_variables = yes; then 10420 10852 AM_V='$(V)' 10421 10853 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 10428 10860 10429 10861 10430 10862 10863 + 10431 10864 pkg_failed=no 10432 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw7 xmu xt x11 xproto >= 7.0.17" >&5 10433 - $as_echo_n "checking for xaw7 xmu xt x11 xproto >= 7.0.17... " >&6; } 10865 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xaw7 xmu xt x11 xproto >= 7.0.17" >&5 10866 + printf %s "checking for xaw7 xmu xt x11 xproto >= 7.0.17... " >&6; } 10434 10867 10435 10868 if test -n "$XFONTSEL_CFLAGS"; then 10436 10869 pkg_cv_XFONTSEL_CFLAGS="$XFONTSEL_CFLAGS" 10437 10870 elif test -n "$PKG_CONFIG"; then 10438 10871 if test -n "$PKG_CONFIG" && \ 10439 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5 10872 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5 10440 10873 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11 xproto >= 7.0.17") 2>&5 10441 10874 ac_status=$? 10442 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10875 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10443 10876 test $ac_status = 0; }; then 10444 10877 pkg_cv_XFONTSEL_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt x11 xproto >= 7.0.17" 2>/dev/null` 10445 10878 test "x$?" != "x0" && pkg_failed=yes ··· 10453 10886 pkg_cv_XFONTSEL_LIBS="$XFONTSEL_LIBS" 10454 10887 elif test -n "$PKG_CONFIG"; then 10455 10888 if test -n "$PKG_CONFIG" && \ 10456 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5 10889 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5 10457 10890 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11 xproto >= 7.0.17") 2>&5 10458 10891 ac_status=$? 10459 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10892 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10460 10893 test $ac_status = 0; }; then 10461 10894 pkg_cv_XFONTSEL_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>/dev/null` 10462 10895 test "x$?" != "x0" && pkg_failed=yes ··· 10470 10903 10471 10904 10472 10905 if test $pkg_failed = yes; then 10473 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10474 - $as_echo "no" >&6; } 10906 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10907 + printf "%s\n" "no" >&6; } 10475 10908 10476 10909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10477 10910 _pkg_short_errors_supported=yes ··· 10497 10930 and XFONTSEL_LIBS to avoid the need to call pkg-config. 10498 10931 See the pkg-config man page for more details." "$LINENO" 5 10499 10932 elif test $pkg_failed = untried; then 10500 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10501 - $as_echo "no" >&6; } 10502 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10503 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10933 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10934 + printf "%s\n" "no" >&6; } 10935 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10936 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 10504 10937 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 10505 10938 is in your PATH or set the PKG_CONFIG environment variable to the full 10506 10939 path to pkg-config. ··· 10514 10947 else 10515 10948 XFONTSEL_CFLAGS=$pkg_cv_XFONTSEL_CFLAGS 10516 10949 XFONTSEL_LIBS=$pkg_cv_XFONTSEL_LIBS 10517 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10518 - $as_echo "yes" >&6; } 10950 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10951 + printf "%s\n" "yes" >&6; } 10519 10952 10520 10953 fi 10521 10954 10522 10955 10523 10956 pkg_failed=no 10524 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xt" >&5 10525 - $as_echo_n "checking for xt... " >&6; } 10957 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xt" >&5 10958 + printf %s "checking for xt... " >&6; } 10526 10959 10527 10960 if test -n "$APPDEFS_CFLAGS"; then 10528 10961 pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS" 10529 10962 elif test -n "$PKG_CONFIG"; then 10530 10963 if test -n "$PKG_CONFIG" && \ 10531 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 10964 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 10532 10965 ($PKG_CONFIG --exists --print-errors "xt") 2>&5 10533 10966 ac_status=$? 10534 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10967 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10535 10968 test $ac_status = 0; }; then 10536 10969 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 10537 10970 test "x$?" != "x0" && pkg_failed=yes ··· 10545 10978 pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS" 10546 10979 elif test -n "$PKG_CONFIG"; then 10547 10980 if test -n "$PKG_CONFIG" && \ 10548 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 10981 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 10549 10982 ($PKG_CONFIG --exists --print-errors "xt") 2>&5 10550 10983 ac_status=$? 10551 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10984 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10552 10985 test $ac_status = 0; }; then 10553 10986 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 10554 10987 test "x$?" != "x0" && pkg_failed=yes ··· 10562 10995 10563 10996 10564 10997 if test $pkg_failed = yes; then 10565 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10566 - $as_echo "no" >&6; } 10998 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10999 + printf "%s\n" "no" >&6; } 10567 11000 10568 11001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10569 11002 _pkg_short_errors_supported=yes ··· 10589 11022 and APPDEFS_LIBS to avoid the need to call pkg-config. 10590 11023 See the pkg-config man page for more details." "$LINENO" 5 10591 11024 elif test $pkg_failed = untried; then 10592 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10593 - $as_echo "no" >&6; } 10594 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10595 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11025 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11026 + printf "%s\n" "no" >&6; } 11027 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11028 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 10596 11029 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 10597 11030 is in your PATH or set the PKG_CONFIG environment variable to the full 10598 11031 path to pkg-config. ··· 10606 11039 else 10607 11040 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 10608 11041 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 10609 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10610 - $as_echo "yes" >&6; } 11042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11043 + printf "%s\n" "yes" >&6; } 10611 11044 10612 11045 fi 10613 11046 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 10614 11047 10615 11048 # Check whether --with-appdefaultdir was given. 10616 - if test "${with_appdefaultdir+set}" = set; then : 11049 + if test ${with_appdefaultdir+y} 11050 + then : 10617 11051 withval=$with_appdefaultdir; appdefaultdir="$withval" 11052 + else $as_nop 11053 + appdefaultdir="${xt_appdefaultdir}" 11054 + fi 11055 + 11056 + 11057 + 11058 + # Internationalization & localization support 11059 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5 11060 + printf %s "checking for library containing gettext... " >&6; } 11061 + if test ${ac_cv_search_gettext+y} 11062 + then : 11063 + printf %s "(cached) " >&6 11064 + else $as_nop 11065 + ac_func_search_save_LIBS=$LIBS 11066 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11067 + /* end confdefs.h. */ 11068 + 11069 + /* Override any GCC internal prototype to avoid an error. 11070 + Use char because int might match the return type of a GCC 11071 + builtin and then its argument prototype would still apply. */ 11072 + char gettext (); 11073 + int 11074 + main (void) 11075 + { 11076 + return gettext (); 11077 + ; 11078 + return 0; 11079 + } 11080 + _ACEOF 11081 + for ac_lib in '' intl 11082 + do 11083 + if test -z "$ac_lib"; then 11084 + ac_res="none required" 11085 + else 11086 + ac_res=-l$ac_lib 11087 + LIBS="-l$ac_lib $ac_func_search_save_LIBS" 11088 + fi 11089 + if ac_fn_c_try_link "$LINENO" 11090 + then : 11091 + ac_cv_search_gettext=$ac_res 11092 + fi 11093 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11094 + conftest$ac_exeext 11095 + if test ${ac_cv_search_gettext+y} 11096 + then : 11097 + break 11098 + fi 11099 + done 11100 + if test ${ac_cv_search_gettext+y} 11101 + then : 11102 + 11103 + else $as_nop 11104 + ac_cv_search_gettext=no 11105 + fi 11106 + rm conftest.$ac_ext 11107 + LIBS=$ac_func_search_save_LIBS 11108 + fi 11109 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5 11110 + printf "%s\n" "$ac_cv_search_gettext" >&6; } 11111 + ac_res=$ac_cv_search_gettext 11112 + if test "$ac_res" != no 11113 + then : 11114 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 11115 + USE_GETTEXT="yes" 11116 + else $as_nop 11117 + USE_GETTEXT="no" 11118 + fi 11119 + 11120 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5 11121 + printf %s "checking where to install localized messages... " >&6; } 11122 + 11123 + # Check whether --with-localedir was given. 11124 + if test ${with_localedir+y} 11125 + then : 11126 + withval=$with_localedir; LOCALEDIR=${withval} 11127 + else $as_nop 11128 + LOCALEDIR=${datadir}/locale 11129 + fi 11130 + 11131 + if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then 11132 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5 11133 + printf "%s\n" "nowhere" >&6; } 11134 + USE_GETTEXT="no" 10618 11135 else 10619 - appdefaultdir="${xt_appdefaultdir}" 11136 + 11137 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5 11138 + printf "%s\n" "$LOCALEDIR" >&6; } 10620 11139 fi 10621 11140 11141 + if test "x$USE_GETTEXT" = "xyes" ; then 11142 + 11143 + printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h 11144 + 11145 + fi 11146 + if test "x$USE_GETTEXT" = "xyes"; then 11147 + USE_GETTEXT_TRUE= 11148 + USE_GETTEXT_FALSE='#' 11149 + else 11150 + USE_GETTEXT_TRUE='#' 11151 + USE_GETTEXT_FALSE= 11152 + fi 10622 11153 10623 11154 10624 11155 ··· 10651 11182 case $ac_val in #( 10652 11183 *${as_nl}*) 10653 11184 case $ac_var in #( 10654 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10655 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11185 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11186 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10656 11187 esac 10657 11188 case $ac_var in #( 10658 11189 _ | IFS | as_nl) ;; #( ··· 10682 11213 /^ac_cv_env_/b end 10683 11214 t clear 10684 11215 :clear 10685 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11216 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 10686 11217 t end 10687 11218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10688 11219 :end' >>confcache 10689 11220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10690 11221 if test -w "$cache_file"; then 10691 11222 if test "x$cache_file" != "x/dev/null"; then 10692 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10693 - $as_echo "$as_me: updating cache $cache_file" >&6;} 11223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11224 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 10694 11225 if test ! -f "$cache_file" || test -h "$cache_file"; then 10695 11226 cat confcache >"$cache_file" 10696 11227 else ··· 10704 11235 fi 10705 11236 fi 10706 11237 else 10707 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10708 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11238 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11239 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 10709 11240 fi 10710 11241 fi 10711 11242 rm -f confcache ··· 10722 11253 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10723 11254 # 1. Remove the extension, and $U if already installed. 10724 11255 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10725 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11256 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 10726 11257 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10727 11258 # will be set to the directory where LIBOBJS objects are built. 10728 11259 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 10733 11264 LTLIBOBJS=$ac_ltlibobjs 10734 11265 10735 11266 10736 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10737 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 11267 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11268 + printf %s "checking that generated files are newer than configure... " >&6; } 10738 11269 if test -n "$am_sleep_pid"; then 10739 11270 # Hide warnings about reused PIDs. 10740 11271 wait $am_sleep_pid 2>/dev/null 10741 11272 fi 10742 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10743 - $as_echo "done" >&6; } 11273 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 11274 + printf "%s\n" "done" >&6; } 10744 11275 if test -n "$EXEEXT"; then 10745 11276 am__EXEEXT_TRUE= 10746 11277 am__EXEEXT_FALSE='#' ··· 10761 11292 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 10762 11293 Usually this means the macro was only invoked conditionally." "$LINENO" 5 10763 11294 fi 11295 + if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then 11296 + as_fn_error $? "conditional \"USE_GETTEXT\" was never defined. 11297 + Usually this means the macro was only invoked conditionally." "$LINENO" 5 11298 + fi 10764 11299 10765 11300 : "${CONFIG_STATUS=./config.status}" 10766 11301 ac_write_fail=0 10767 11302 ac_clean_files_save=$ac_clean_files 10768 11303 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10769 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10770 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11304 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11305 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 10771 11306 as_write_fail=0 10772 11307 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10773 11308 #! $SHELL ··· 10790 11325 10791 11326 # Be more Bourne compatible 10792 11327 DUALCASE=1; export DUALCASE # for MKS sh 10793 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11328 + as_nop=: 11329 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 11330 + then : 10794 11331 emulate sh 10795 11332 NULLCMD=: 10796 11333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10797 11334 # is contrary to our usage. Disable this feature. 10798 11335 alias -g '${1+"$@"}'='"$@"' 10799 11336 setopt NO_GLOB_SUBST 10800 - else 11337 + else $as_nop 10801 11338 case `(set -o) 2>/dev/null` in #( 10802 11339 *posix*) : 10803 11340 set -o posix ;; #( ··· 10807 11344 fi 10808 11345 10809 11346 11347 + 11348 + # Reset variables that may have inherited troublesome values from 11349 + # the environment. 11350 + 11351 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 11352 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 11353 + # side effect of setting IFS to empty, thus disabling word splitting.) 11354 + # Quoting is to prevent editors from complaining about space-tab. 10810 11355 as_nl=' 10811 11356 ' 10812 11357 export as_nl 10813 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 10814 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10815 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10816 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10817 - # Prefer a ksh shell builtin over an external printf program on Solaris, 10818 - # but without wasting forks for bash or zsh. 10819 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 10820 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10821 - as_echo='print -r --' 10822 - as_echo_n='print -rn --' 10823 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10824 - as_echo='printf %s\n' 10825 - as_echo_n='printf %s' 10826 - else 10827 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10828 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10829 - as_echo_n='/usr/ucb/echo -n' 10830 - else 10831 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10832 - as_echo_n_body='eval 10833 - arg=$1; 10834 - case $arg in #( 10835 - *"$as_nl"*) 10836 - expr "X$arg" : "X\\(.*\\)$as_nl"; 10837 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10838 - esac; 10839 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10840 - ' 10841 - export as_echo_n_body 10842 - as_echo_n='sh -c $as_echo_n_body as_echo' 10843 - fi 10844 - export as_echo_body 10845 - as_echo='sh -c $as_echo_body as_echo' 10846 - fi 11358 + IFS=" "" $as_nl" 11359 + 11360 + PS1='$ ' 11361 + PS2='> ' 11362 + PS4='+ ' 11363 + 11364 + # Ensure predictable behavior from utilities with locale-dependent output. 11365 + LC_ALL=C 11366 + export LC_ALL 11367 + LANGUAGE=C 11368 + export LANGUAGE 11369 + 11370 + # We cannot yet rely on "unset" to work, but we need these variables 11371 + # to be unset--not just set to an empty or harmless value--now, to 11372 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 11373 + # also avoids known problems related to "unset" and subshell syntax 11374 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 11375 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 11376 + do eval test \${$as_var+y} \ 11377 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11378 + done 11379 + 11380 + # Ensure that fds 0, 1, and 2 are open. 11381 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 11382 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 11383 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 10847 11384 10848 11385 # The user is always right. 10849 - if test "${PATH_SEPARATOR+set}" != set; then 11386 + if ${PATH_SEPARATOR+false} :; then 10850 11387 PATH_SEPARATOR=: 10851 11388 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10852 11389 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 10855 11392 fi 10856 11393 10857 11394 10858 - # IFS 10859 - # We need space, tab and new line, in precisely that order. Quoting is 10860 - # there to prevent editors from complaining about space-tab. 10861 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 10862 - # splitting by setting IFS to empty value.) 10863 - IFS=" "" $as_nl" 10864 - 10865 11395 # Find who we are. Look in the path if we contain no directory separator. 10866 11396 as_myself= 10867 11397 case $0 in #(( ··· 10870 11400 for as_dir in $PATH 10871 11401 do 10872 11402 IFS=$as_save_IFS 10873 - test -z "$as_dir" && as_dir=. 10874 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11403 + case $as_dir in #((( 11404 + '') as_dir=./ ;; 11405 + */) ;; 11406 + *) as_dir=$as_dir/ ;; 11407 + esac 11408 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10875 11409 done 10876 11410 IFS=$as_save_IFS 10877 11411 ··· 10883 11417 as_myself=$0 10884 11418 fi 10885 11419 if test ! -f "$as_myself"; then 10886 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11420 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10887 11421 exit 1 10888 11422 fi 10889 11423 10890 - # Unset variables that we do not need and which cause bugs (e.g. in 10891 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10892 - # suppresses any "Segmentation fault" message there. '((' could 10893 - # trigger a bug in pdksh 5.2.14. 10894 - for as_var in BASH_ENV ENV MAIL MAILPATH 10895 - do eval test x\${$as_var+set} = xset \ 10896 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10897 - done 10898 - PS1='$ ' 10899 - PS2='> ' 10900 - PS4='+ ' 10901 - 10902 - # NLS nuisances. 10903 - LC_ALL=C 10904 - export LC_ALL 10905 - LANGUAGE=C 10906 - export LANGUAGE 10907 - 10908 - # CDPATH. 10909 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10910 11424 10911 11425 10912 11426 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 10919 11433 as_status=$1; test $as_status -eq 0 && as_status=1 10920 11434 if test "$4"; then 10921 11435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10922 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11436 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10923 11437 fi 10924 - $as_echo "$as_me: error: $2" >&2 11438 + printf "%s\n" "$as_me: error: $2" >&2 10925 11439 as_fn_exit $as_status 10926 11440 } # as_fn_error 11441 + 10927 11442 10928 11443 10929 11444 # as_fn_set_status STATUS ··· 10952 11467 { eval $1=; unset $1;} 10953 11468 } 10954 11469 as_unset=as_fn_unset 11470 + 10955 11471 # as_fn_append VAR VALUE 10956 11472 # ---------------------- 10957 11473 # Append the text in VALUE to the end of the definition contained in VAR. Take 10958 11474 # advantage of any shell optimizations that allow amortized linear growth over 10959 11475 # repeated appends, instead of the typical quadratic growth present in naive 10960 11476 # implementations. 10961 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11477 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 11478 + then : 10962 11479 eval 'as_fn_append () 10963 11480 { 10964 11481 eval $1+=\$2 10965 11482 }' 10966 - else 11483 + else $as_nop 10967 11484 as_fn_append () 10968 11485 { 10969 11486 eval $1=\$$1\$2 ··· 10975 11492 # Perform arithmetic evaluation on the ARGs, and store the result in the 10976 11493 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10977 11494 # must be portable across $(()) and expr. 10978 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11495 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 11496 + then : 10979 11497 eval 'as_fn_arith () 10980 11498 { 10981 11499 as_val=$(( $* )) 10982 11500 }' 10983 - else 11501 + else $as_nop 10984 11502 as_fn_arith () 10985 11503 { 10986 11504 as_val=`expr "$@" || test $? -eq 1` ··· 11011 11529 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11012 11530 X"$0" : 'X\(//\)$' \| \ 11013 11531 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11014 - $as_echo X/"$0" | 11532 + printf "%s\n" X/"$0" | 11015 11533 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11016 11534 s//\1/ 11017 11535 q ··· 11033 11551 as_cr_digits='0123456789' 11034 11552 as_cr_alnum=$as_cr_Letters$as_cr_digits 11035 11553 11554 + 11555 + # Determine whether it's possible to make 'echo' print without a newline. 11556 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 11557 + # for compatibility with existing Makefiles. 11036 11558 ECHO_C= ECHO_N= ECHO_T= 11037 11559 case `echo -n x` in #((((( 11038 11560 -n*) ··· 11046 11568 ECHO_N='-n';; 11047 11569 esac 11048 11570 11571 + # For backward compatibility with old third-party macros, we provide 11572 + # the shell variables $as_echo and $as_echo_n. New code should use 11573 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 11574 + as_echo='printf %s\n' 11575 + as_echo_n='printf %s' 11576 + 11049 11577 rm -f conf$$ conf$$.exe conf$$.file 11050 11578 if test -d conf$$.dir; then 11051 11579 rm -f conf$$.dir/conf$$.file ··· 11087 11615 as_dirs= 11088 11616 while :; do 11089 11617 case $as_dir in #( 11090 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11618 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11091 11619 *) as_qdir=$as_dir;; 11092 11620 esac 11093 11621 as_dirs="'$as_qdir' $as_dirs" ··· 11096 11624 X"$as_dir" : 'X\(//\)[^/]' \| \ 11097 11625 X"$as_dir" : 'X\(//\)$' \| \ 11098 11626 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11099 - $as_echo X"$as_dir" | 11627 + printf "%s\n" X"$as_dir" | 11100 11628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11101 11629 s//\1/ 11102 11630 q ··· 11158 11686 # report actual input values of CONFIG_FILES etc. instead of their 11159 11687 # values after options handling. 11160 11688 ac_log=" 11161 - This file was extended by xfontsel $as_me 1.1.0, which was 11162 - generated by GNU Autoconf 2.69. Invocation command line was 11689 + This file was extended by xfontsel $as_me 1.1.1, which was 11690 + generated by GNU Autoconf 2.71. Invocation command line was 11163 11691 11164 11692 CONFIG_FILES = $CONFIG_FILES 11165 11693 CONFIG_HEADERS = $CONFIG_HEADERS ··· 11218 11746 Configuration commands: 11219 11747 $config_commands 11220 11748 11221 - Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfontsel/issues>." 11749 + Report bugs to <https://gitlab.freedesktop.org/xorg/app/xfontsel/-/issues>." 11222 11750 11223 11751 _ACEOF 11752 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 11753 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 11224 11754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11225 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11755 + ac_cs_config='$ac_cs_config_escaped' 11226 11756 ac_cs_version="\\ 11227 - xfontsel config.status 1.1.0 11228 - configured by $0, generated by GNU Autoconf 2.69, 11757 + xfontsel config.status 1.1.1 11758 + configured by $0, generated by GNU Autoconf 2.71, 11229 11759 with options \\"\$ac_cs_config\\" 11230 11760 11231 - Copyright (C) 2012 Free Software Foundation, Inc. 11761 + Copyright (C) 2021 Free Software Foundation, Inc. 11232 11762 This config.status script is free software; the Free Software Foundation 11233 11763 gives unlimited permission to copy, distribute and modify it." 11234 11764 ··· 11268 11798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11269 11799 ac_cs_recheck=: ;; 11270 11800 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11271 - $as_echo "$ac_cs_version"; exit ;; 11801 + printf "%s\n" "$ac_cs_version"; exit ;; 11272 11802 --config | --confi | --conf | --con | --co | --c ) 11273 - $as_echo "$ac_cs_config"; exit ;; 11803 + printf "%s\n" "$ac_cs_config"; exit ;; 11274 11804 --debug | --debu | --deb | --de | --d | -d ) 11275 11805 debug=: ;; 11276 11806 --file | --fil | --fi | --f ) 11277 11807 $ac_shift 11278 11808 case $ac_optarg in 11279 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11809 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11280 11810 '') as_fn_error $? "missing file argument" ;; 11281 11811 esac 11282 11812 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 11284 11814 --header | --heade | --head | --hea ) 11285 11815 $ac_shift 11286 11816 case $ac_optarg in 11287 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11817 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11288 11818 esac 11289 11819 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11290 11820 ac_need_defaults=false;; ··· 11293 11823 as_fn_error $? "ambiguous option: \`$1' 11294 11824 Try \`$0 --help' for more information.";; 11295 11825 --help | --hel | -h ) 11296 - $as_echo "$ac_cs_usage"; exit ;; 11826 + printf "%s\n" "$ac_cs_usage"; exit ;; 11297 11827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11298 11828 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11299 11829 ac_cs_silent=: ;; ··· 11321 11851 if \$ac_cs_recheck; then 11322 11852 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11323 11853 shift 11324 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11854 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 11325 11855 CONFIG_SHELL='$SHELL' 11326 11856 export CONFIG_SHELL 11327 11857 exec "\$@" ··· 11335 11865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11336 11866 ## Running $as_me. ## 11337 11867 _ASBOX 11338 - $as_echo "$ac_log" 11868 + printf "%s\n" "$ac_log" 11339 11869 } >&5 11340 11870 11341 11871 _ACEOF ··· 11368 11898 # We use the long form for the default assignment because of an extremely 11369 11899 # bizarre bug on SunOS 4.1.3. 11370 11900 if $ac_need_defaults; then 11371 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11372 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11373 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11901 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 11902 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 11903 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 11374 11904 fi 11375 11905 11376 11906 # Have a temporary directory for convenience. Make it in the build tree ··· 11706 12236 esac || 11707 12237 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11708 12238 esac 11709 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12239 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11710 12240 as_fn_append ac_file_inputs " '$ac_f'" 11711 12241 done 11712 12242 ··· 11714 12244 # use $as_me), people would be surprised to read: 11715 12245 # /* config.h. Generated by config.status. */ 11716 12246 configure_input='Generated from '` 11717 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12247 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11718 12248 `' by configure.' 11719 12249 if test x"$ac_file" != x-; then 11720 12250 configure_input="$ac_file. $configure_input" 11721 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11722 - $as_echo "$as_me: creating $ac_file" >&6;} 12251 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12252 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 11723 12253 fi 11724 12254 # Neutralize special characters interpreted by sed in replacement strings. 11725 12255 case $configure_input in #( 11726 12256 *\&* | *\|* | *\\* ) 11727 - ac_sed_conf_input=`$as_echo "$configure_input" | 12257 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 11728 12258 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11729 12259 *) ac_sed_conf_input=$configure_input;; 11730 12260 esac ··· 11741 12271 X"$ac_file" : 'X\(//\)[^/]' \| \ 11742 12272 X"$ac_file" : 'X\(//\)$' \| \ 11743 12273 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11744 - $as_echo X"$ac_file" | 12274 + printf "%s\n" X"$ac_file" | 11745 12275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11746 12276 s//\1/ 11747 12277 q ··· 11765 12295 case "$ac_dir" in 11766 12296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11767 12297 *) 11768 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12298 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 11769 12299 # A ".." for each directory in $ac_dir_suffix. 11770 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12300 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11771 12301 case $ac_top_builddir_sub in 11772 12302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11773 12303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 11829 12359 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11830 12360 *datarootdir*) ac_datarootdir_seen=yes;; 11831 12361 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11832 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11833 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12362 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12363 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11834 12364 _ACEOF 11835 12365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11836 12366 ac_datarootdir_hack=' ··· 11874 12404 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11875 12405 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11876 12406 "$ac_tmp/out"`; test -z "$ac_out"; } && 11877 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12407 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11878 12408 which seems to be undefined. Please make sure it is defined" >&5 11879 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12409 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11880 12410 which seems to be undefined. Please make sure it is defined" >&2;} 11881 12411 11882 12412 rm -f "$ac_tmp/stdin" ··· 11892 12422 # 11893 12423 if test x"$ac_file" != x-; then 11894 12424 { 11895 - $as_echo "/* $configure_input */" \ 12425 + printf "%s\n" "/* $configure_input */" >&1 \ 11896 12426 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11897 12427 } >"$ac_tmp/config.h" \ 11898 12428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11899 12429 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11900 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11901 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 12430 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12431 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 11902 12432 else 11903 12433 rm -f "$ac_file" 11904 12434 mv "$ac_tmp/config.h" "$ac_file" \ 11905 12435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11906 12436 fi 11907 12437 else 11908 - $as_echo "/* $configure_input */" \ 12438 + printf "%s\n" "/* $configure_input */" >&1 \ 11909 12439 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11910 12440 || as_fn_error $? "could not create -" "$LINENO" 5 11911 12441 fi ··· 11925 12455 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11926 12456 X"$_am_arg" : 'X\(//\)$' \| \ 11927 12457 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11928 - $as_echo X"$_am_arg" | 12458 + printf "%s\n" X"$_am_arg" | 11929 12459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11930 12460 s//\1/ 11931 12461 q ··· 11945 12475 s/.*/./; q'`/stamp-h$_am_stamp_count 11946 12476 ;; 11947 12477 11948 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 11949 - $as_echo "$as_me: executing $ac_file commands" >&6;} 12478 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12479 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 11950 12480 ;; 11951 12481 esac 11952 12482 ··· 11978 12508 X"$mf" : 'X\(//\)[^/]' \| \ 11979 12509 X"$mf" : 'X\(//\)$' \| \ 11980 12510 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11981 - $as_echo X"$mf" | 12511 + printf "%s\n" X"$mf" | 11982 12512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11983 12513 s//\1/ 11984 12514 q ··· 12020 12550 X"$file" : 'X\(//\)[^/]' \| \ 12021 12551 X"$file" : 'X\(//\)$' \| \ 12022 12552 X"$file" : 'X\(/\)' \| . 2>/dev/null || 12023 - $as_echo X"$file" | 12553 + printf "%s\n" X"$file" | 12024 12554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12025 12555 s//\1/ 12026 12556 q ··· 12079 12609 $ac_cs_success || as_fn_exit 1 12080 12610 fi 12081 12611 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12082 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12083 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12612 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12613 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12084 12614 fi 12085 12615
+22 -2
app/xfontsel/configure.ac
··· 23 23 24 24 # Initialize Autoconf 25 25 AC_PREREQ([2.60]) 26 - AC_INIT([xfontsel], [1.1.0], 27 - [https://gitlab.freedesktop.org/xorg/app/xfontsel/issues], [xfontsel]) 26 + AC_INIT([xfontsel], [1.1.1], 27 + [https://gitlab.freedesktop.org/xorg/app/xfontsel/-/issues], [xfontsel]) 28 28 AC_CONFIG_SRCDIR([Makefile.am]) 29 29 AC_CONFIG_HEADERS([config.h]) 30 30 ··· 46 46 [specify directory for app-defaults files (default is autodetected)]), 47 47 [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) 48 48 AC_SUBST(appdefaultdir) 49 + 50 + # Internationalization & localization support 51 + AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"]) 52 + AC_MSG_CHECKING([where to install localized messages]) 53 + AC_ARG_WITH([localedir], AS_HELP_STRING([--with-localedir=<path>], 54 + [Path to install message files in (default: datadir/locale)]), 55 + [LOCALEDIR=${withval}], [LOCALEDIR=${datadir}/locale]) 56 + if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then 57 + AC_MSG_RESULT([nowhere]) 58 + USE_GETTEXT="no" 59 + else 60 + AC_SUBST([LOCALEDIR]) 61 + AC_MSG_RESULT([$LOCALEDIR]) 62 + fi 63 + 64 + if test "x$USE_GETTEXT" = "xyes" ; then 65 + AC_DEFINE([USE_GETTEXT], 1, 66 + [Define to 1 if you want to use the gettext() function.]) 67 + fi 68 + AM_CONDITIONAL(USE_GETTEXT, test "x$USE_GETTEXT" = "xyes") 49 69 50 70 51 71 AC_CONFIG_FILES([
+214 -200
app/xfontsel/install-sh
··· 1 1 #!/bin/sh 2 2 # install - install a program, script, or datafile 3 3 4 - scriptversion=2011-11-20.07; # UTC 4 + scriptversion=2020-11-14.01; # UTC 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 7 # later released in X11R6 (xc/config/util/install.sh) with the ··· 41 41 # This script is compatible with the BSD install script, but was written 42 42 # from scratch. 43 43 44 + tab=' ' 44 45 nl=' 45 46 ' 46 - IFS=" "" $nl" 47 + IFS=" $tab$nl" 47 48 48 - # set DOITPROG to echo to test this script 49 + # Set DOITPROG to "echo" to test this script. 49 50 50 - # Don't use :- since 4.3BSD and earlier shells don't like it. 51 51 doit=${DOITPROG-} 52 - if test -z "$doit"; then 53 - doit_exec=exec 54 - else 55 - doit_exec=$doit 56 - fi 52 + doit_exec=${doit:-exec} 57 53 58 54 # Put in absolute file names if you don't have them in your path; 59 55 # or use environment vars. ··· 68 64 rmprog=${RMPROG-rm} 69 65 stripprog=${STRIPPROG-strip} 70 66 71 - posix_glob='?' 72 - initialize_posix_glob=' 73 - test "$posix_glob" != "?" || { 74 - if (set -f) 2>/dev/null; then 75 - posix_glob= 76 - else 77 - posix_glob=: 78 - fi 79 - } 80 - ' 81 - 82 67 posix_mkdir= 83 68 84 69 # Desired mode of installed file. 85 70 mode=0755 86 71 72 + # Create dirs (including intermediate dirs) using mode 755. 73 + # This is like GNU 'install' as of coreutils 8.32 (2020). 74 + mkdir_umask=22 75 + 76 + backupsuffix= 87 77 chgrpcmd= 88 78 chmodcmd=$chmodprog 89 79 chowncmd= ··· 97 87 dst_arg= 98 88 99 89 copy_on_change=false 100 - no_target_directory= 90 + is_target_a_directory=possibly 101 91 102 92 usage="\ 103 93 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ··· 114 104 --version display version info and exit. 115 105 116 106 -c (ignored) 117 - -C install only if different (preserve the last data modification time) 107 + -C install only if different (preserve data modification time) 118 108 -d create directories instead of installing files. 119 109 -g GROUP $chgrpprog installed files to GROUP. 120 110 -m MODE $chmodprog installed files to MODE. 121 111 -o USER $chownprog installed files to USER. 112 + -p pass -p to $cpprog. 122 113 -s $stripprog installed files. 114 + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. 123 115 -t DIRECTORY install into DIRECTORY. 124 116 -T report an error if DSTFILE is a directory. 125 117 126 118 Environment variables override the default commands: 127 119 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG 128 120 RMPROG STRIPPROG 121 + 122 + By default, rm is invoked with -f; when overridden with RMPROG, 123 + it's up to you to specify -f if you want it. 124 + 125 + If -S is not specified, no backups are attempted. 126 + 127 + Email bug reports to bug-automake@gnu.org. 128 + Automake home page: https://www.gnu.org/software/automake/ 129 129 " 130 130 131 131 while test $# -ne 0; do ··· 137 137 -d) dir_arg=true;; 138 138 139 139 -g) chgrpcmd="$chgrpprog $2" 140 - shift;; 140 + shift;; 141 141 142 142 --help) echo "$usage"; exit $?;; 143 143 144 144 -m) mode=$2 145 - case $mode in 146 - *' '* | *' '* | *' 147 - '* | *'*'* | *'?'* | *'['*) 148 - echo "$0: invalid mode: $mode" >&2 149 - exit 1;; 150 - esac 151 - shift;; 145 + case $mode in 146 + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) 147 + echo "$0: invalid mode: $mode" >&2 148 + exit 1;; 149 + esac 150 + shift;; 152 151 153 152 -o) chowncmd="$chownprog $2" 154 - shift;; 153 + shift;; 154 + 155 + -p) cpprog="$cpprog -p";; 155 156 156 157 -s) stripcmd=$stripprog;; 157 158 158 - -t) dst_arg=$2 159 - # Protect names problematic for 'test' and other utilities. 160 - case $dst_arg in 161 - -* | [=\(\)!]) dst_arg=./$dst_arg;; 162 - esac 163 - shift;; 159 + -S) backupsuffix="$2" 160 + shift;; 164 161 165 - -T) no_target_directory=true;; 162 + -t) 163 + is_target_a_directory=always 164 + dst_arg=$2 165 + # Protect names problematic for 'test' and other utilities. 166 + case $dst_arg in 167 + -* | [=\(\)!]) dst_arg=./$dst_arg;; 168 + esac 169 + shift;; 170 + 171 + -T) is_target_a_directory=never;; 166 172 167 173 --version) echo "$0 $scriptversion"; exit $?;; 168 174 169 - --) shift 170 - break;; 175 + --) shift 176 + break;; 171 177 172 - -*) echo "$0: invalid option: $1" >&2 173 - exit 1;; 178 + -*) echo "$0: invalid option: $1" >&2 179 + exit 1;; 174 180 175 181 *) break;; 176 182 esac 177 183 shift 178 184 done 185 + 186 + # We allow the use of options -d and -T together, by making -d 187 + # take the precedence; this is for compatibility with GNU install. 188 + 189 + if test -n "$dir_arg"; then 190 + if test -n "$dst_arg"; then 191 + echo "$0: target directory not allowed when installing a directory." >&2 192 + exit 1 193 + fi 194 + fi 179 195 180 196 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then 181 197 # When -d is used, all remaining arguments are directories to create. ··· 208 224 fi 209 225 210 226 if test -z "$dir_arg"; then 227 + if test $# -gt 1 || test "$is_target_a_directory" = always; then 228 + if test ! -d "$dst_arg"; then 229 + echo "$0: $dst_arg: Is not a directory." >&2 230 + exit 1 231 + fi 232 + fi 233 + fi 234 + 235 + if test -z "$dir_arg"; then 211 236 do_exit='(exit $ret); exit $ret' 212 237 trap "ret=129; $do_exit" 1 213 238 trap "ret=130; $do_exit" 2 ··· 223 248 224 249 *[0-7]) 225 250 if test -z "$stripcmd"; then 226 - u_plus_rw= 251 + u_plus_rw= 227 252 else 228 - u_plus_rw='% 200' 253 + u_plus_rw='% 200' 229 254 fi 230 255 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; 231 256 *) 232 257 if test -z "$stripcmd"; then 233 - u_plus_rw= 258 + u_plus_rw= 234 259 else 235 - u_plus_rw=,u+rw 260 + u_plus_rw=,u+rw 236 261 fi 237 262 cp_umask=$mode$u_plus_rw;; 238 263 esac ··· 250 275 dstdir=$dst 251 276 test -d "$dstdir" 252 277 dstdir_status=$? 278 + # Don't chown directories that already exist. 279 + if test $dstdir_status = 0; then 280 + chowncmd="" 281 + fi 253 282 else 254 283 255 284 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ··· 266 295 fi 267 296 dst=$dst_arg 268 297 269 - # If destination is a directory, append the input filename; won't work 270 - # if double slashes aren't ignored. 298 + # If destination is a directory, append the input filename. 271 299 if test -d "$dst"; then 272 - if test -n "$no_target_directory"; then 273 - echo "$0: $dst_arg: Is a directory" >&2 274 - exit 1 300 + if test "$is_target_a_directory" = never; then 301 + echo "$0: $dst_arg: Is a directory" >&2 302 + exit 1 275 303 fi 276 304 dstdir=$dst 277 - dst=$dstdir/`basename "$src"` 305 + dstbase=`basename "$src"` 306 + case $dst in 307 + */) dst=$dst$dstbase;; 308 + *) dst=$dst/$dstbase;; 309 + esac 278 310 dstdir_status=0 279 311 else 280 - # Prefer dirname, but fall back on a substitute if dirname fails. 281 - dstdir=` 282 - (dirname "$dst") 2>/dev/null || 283 - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 - X"$dst" : 'X\(//\)[^/]' \| \ 285 - X"$dst" : 'X\(//\)$' \| \ 286 - X"$dst" : 'X\(/\)' \| . 2>/dev/null || 287 - echo X"$dst" | 288 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 289 - s//\1/ 290 - q 291 - } 292 - /^X\(\/\/\)[^/].*/{ 293 - s//\1/ 294 - q 295 - } 296 - /^X\(\/\/\)$/{ 297 - s//\1/ 298 - q 299 - } 300 - /^X\(\/\).*/{ 301 - s//\1/ 302 - q 303 - } 304 - s/.*/./; q' 305 - ` 306 - 312 + dstdir=`dirname "$dst"` 307 313 test -d "$dstdir" 308 314 dstdir_status=$? 309 315 fi 310 316 fi 317 + 318 + case $dstdir in 319 + */) dstdirslash=$dstdir;; 320 + *) dstdirslash=$dstdir/;; 321 + esac 311 322 312 323 obsolete_mkdir_used=false 313 324 314 325 if test $dstdir_status != 0; then 315 326 case $posix_mkdir in 316 327 '') 317 - # Create intermediate dirs using mode 755 as modified by the umask. 318 - # This is like FreeBSD 'install' as of 1997-10-28. 319 - umask=`umask` 320 - case $stripcmd.$umask in 321 - # Optimize common cases. 322 - *[2367][2367]) mkdir_umask=$umask;; 323 - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; 328 + # With -d, create the new directory with the user-specified mode. 329 + # Otherwise, rely on $mkdir_umask. 330 + if test -n "$dir_arg"; then 331 + mkdir_mode=-m$mode 332 + else 333 + mkdir_mode= 334 + fi 335 + 336 + posix_mkdir=false 337 + # The $RANDOM variable is not portable (e.g., dash). Use it 338 + # here however when possible just to lower collision chance. 339 + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 324 340 325 - *[0-7]) 326 - mkdir_umask=`expr $umask + 22 \ 327 - - $umask % 100 % 40 + $umask % 20 \ 328 - - $umask % 10 % 4 + $umask % 2 329 - `;; 330 - *) mkdir_umask=$umask,go-w;; 331 - esac 341 + trap ' 342 + ret=$? 343 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null 344 + exit $ret 345 + ' 0 332 346 333 - # With -d, create the new directory with the user-specified mode. 334 - # Otherwise, rely on $mkdir_umask. 335 - if test -n "$dir_arg"; then 336 - mkdir_mode=-m$mode 347 + # Because "mkdir -p" follows existing symlinks and we likely work 348 + # directly in world-writeable /tmp, make sure that the '$tmpdir' 349 + # directory is successfully created first before we actually test 350 + # 'mkdir -p'. 351 + if (umask $mkdir_umask && 352 + $mkdirprog $mkdir_mode "$tmpdir" && 353 + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 354 + then 355 + if test -z "$dir_arg" || { 356 + # Check for POSIX incompatibilities with -m. 357 + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 358 + # other-writable bit of parent directory when it shouldn't. 359 + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 360 + test_tmpdir="$tmpdir/a" 361 + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` 362 + case $ls_ld_tmpdir in 363 + d????-?r-*) different_mode=700;; 364 + d????-?--*) different_mode=755;; 365 + *) false;; 366 + esac && 367 + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { 368 + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` 369 + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 370 + } 371 + } 372 + then posix_mkdir=: 373 + fi 374 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 337 375 else 338 - mkdir_mode= 376 + # Remove any dirs left behind by ancient mkdir implementations. 377 + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null 339 378 fi 340 - 341 - posix_mkdir=false 342 - case $umask in 343 - *[123567][0-7][0-7]) 344 - # POSIX mkdir -p sets u+wx bits regardless of umask, which 345 - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. 346 - ;; 347 - *) 348 - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 349 - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 350 - 351 - if (umask $mkdir_umask && 352 - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 353 - then 354 - if test -z "$dir_arg" || { 355 - # Check for POSIX incompatibilities with -m. 356 - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 357 - # other-writable bit of parent directory when it shouldn't. 358 - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 359 - ls_ld_tmpdir=`ls -ld "$tmpdir"` 360 - case $ls_ld_tmpdir in 361 - d????-?r-*) different_mode=700;; 362 - d????-?--*) different_mode=755;; 363 - *) false;; 364 - esac && 365 - $mkdirprog -m$different_mode -p -- "$tmpdir" && { 366 - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` 367 - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 368 - } 369 - } 370 - then posix_mkdir=: 371 - fi 372 - rmdir "$tmpdir/d" "$tmpdir" 373 - else 374 - # Remove any dirs left behind by ancient mkdir implementations. 375 - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null 376 - fi 377 - trap '' 0;; 378 - esac;; 379 + trap '' 0;; 379 380 esac 380 381 381 382 if 382 383 $posix_mkdir && ( 383 - umask $mkdir_umask && 384 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 384 + umask $mkdir_umask && 385 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 385 386 ) 386 387 then : 387 388 else 388 389 389 - # The umask is ridiculous, or mkdir does not conform to POSIX, 390 + # mkdir does not conform to POSIX, 390 391 # or it failed possibly due to a race condition. Create the 391 392 # directory the slow way, step by step, checking for races as we go. 392 393 393 394 case $dstdir in 394 - /*) prefix='/';; 395 - [-=\(\)!]*) prefix='./';; 396 - *) prefix='';; 395 + /*) prefix='/';; 396 + [-=\(\)!]*) prefix='./';; 397 + *) prefix='';; 397 398 esac 398 - 399 - eval "$initialize_posix_glob" 400 399 401 400 oIFS=$IFS 402 401 IFS=/ 403 - $posix_glob set -f 402 + set -f 404 403 set fnord $dstdir 405 404 shift 406 - $posix_glob set +f 405 + set +f 407 406 IFS=$oIFS 408 407 409 408 prefixes= 410 409 411 410 for d 412 411 do 413 - test X"$d" = X && continue 412 + test X"$d" = X && continue 414 413 415 - prefix=$prefix$d 416 - if test -d "$prefix"; then 417 - prefixes= 418 - else 419 - if $posix_mkdir; then 420 - (umask=$mkdir_umask && 421 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 422 - # Don't fail if two instances are running concurrently. 423 - test -d "$prefix" || exit 1 424 - else 425 - case $prefix in 426 - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 427 - *) qprefix=$prefix;; 428 - esac 429 - prefixes="$prefixes '$qprefix'" 430 - fi 431 - fi 432 - prefix=$prefix/ 414 + prefix=$prefix$d 415 + if test -d "$prefix"; then 416 + prefixes= 417 + else 418 + if $posix_mkdir; then 419 + (umask $mkdir_umask && 420 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 421 + # Don't fail if two instances are running concurrently. 422 + test -d "$prefix" || exit 1 423 + else 424 + case $prefix in 425 + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 426 + *) qprefix=$prefix;; 427 + esac 428 + prefixes="$prefixes '$qprefix'" 429 + fi 430 + fi 431 + prefix=$prefix/ 433 432 done 434 433 435 434 if test -n "$prefixes"; then 436 - # Don't fail if two instances are running concurrently. 437 - (umask $mkdir_umask && 438 - eval "\$doit_exec \$mkdirprog $prefixes") || 439 - test -d "$dstdir" || exit 1 440 - obsolete_mkdir_used=true 435 + # Don't fail if two instances are running concurrently. 436 + (umask $mkdir_umask && 437 + eval "\$doit_exec \$mkdirprog $prefixes") || 438 + test -d "$dstdir" || exit 1 439 + obsolete_mkdir_used=true 441 440 fi 442 441 fi 443 442 fi ··· 450 449 else 451 450 452 451 # Make a couple of temp file names in the proper directory. 453 - dsttmp=$dstdir/_inst.$$_ 454 - rmtmp=$dstdir/_rm.$$_ 452 + dsttmp=${dstdirslash}_inst.$$_ 453 + rmtmp=${dstdirslash}_rm.$$_ 455 454 456 455 # Trap to clean up those temp files at exit. 457 456 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 458 457 459 458 # Copy the file name to the temp name. 460 - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && 459 + (umask $cp_umask && 460 + { test -z "$stripcmd" || { 461 + # Create $dsttmp read-write so that cp doesn't create it read-only, 462 + # which would cause strip to fail. 463 + if test -z "$doit"; then 464 + : >"$dsttmp" # No need to fork-exec 'touch'. 465 + else 466 + $doit touch "$dsttmp" 467 + fi 468 + } 469 + } && 470 + $doit_exec $cpprog "$src" "$dsttmp") && 461 471 462 472 # and set any options; do chmod last to preserve setuid bits. 463 473 # ··· 472 482 473 483 # If -C, don't bother to copy if it wouldn't change the file. 474 484 if $copy_on_change && 475 - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 476 - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 477 - 478 - eval "$initialize_posix_glob" && 479 - $posix_glob set -f && 485 + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 486 + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 487 + set -f && 480 488 set X $old && old=:$2:$4:$5:$6 && 481 489 set X $new && new=:$2:$4:$5:$6 && 482 - $posix_glob set +f && 483 - 490 + set +f && 484 491 test "$old" = "$new" && 485 492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 486 493 then 487 494 rm -f "$dsttmp" 488 495 else 496 + # If $backupsuffix is set, and the file being installed 497 + # already exists, attempt a backup. Don't worry if it fails, 498 + # e.g., if mv doesn't support -f. 499 + if test -n "$backupsuffix" && test -f "$dst"; then 500 + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null 501 + fi 502 + 489 503 # Rename the file to the real destination. 490 504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || 491 505 ··· 493 507 # to itself, or perhaps because mv is so ancient that it does not 494 508 # support -f. 495 509 { 496 - # Now remove or move aside any old file at destination location. 497 - # We try this two ways since rm can't unlink itself on some 498 - # systems and the destination file might be busy for other 499 - # reasons. In this case, the final cleanup might fail but the new 500 - # file should still install successfully. 501 - { 502 - test ! -f "$dst" || 503 - $doit $rmcmd -f "$dst" 2>/dev/null || 504 - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 505 - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } 506 - } || 507 - { echo "$0: cannot unlink or rename $dst" >&2 508 - (exit 1); exit 1 509 - } 510 - } && 510 + # Now remove or move aside any old file at destination location. 511 + # We try this two ways since rm can't unlink itself on some 512 + # systems and the destination file might be busy for other 513 + # reasons. In this case, the final cleanup might fail but the new 514 + # file should still install successfully. 515 + { 516 + test ! -f "$dst" || 517 + $doit $rmcmd "$dst" 2>/dev/null || 518 + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 519 + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } 520 + } || 521 + { echo "$0: cannot unlink or rename $dst" >&2 522 + (exit 1); exit 1 523 + } 524 + } && 511 525 512 - # Now rename the file to the real destination. 513 - $doit $mvcmd "$dsttmp" "$dst" 526 + # Now rename the file to the real destination. 527 + $doit $mvcmd "$dsttmp" "$dst" 514 528 } 515 529 fi || exit 1 516 530 ··· 519 533 done 520 534 521 535 # Local variables: 522 - # eval: (add-hook 'write-file-hooks 'time-stamp) 536 + # eval: (add-hook 'before-save-hook 'time-stamp) 523 537 # time-stamp-start: "scriptversion=" 524 538 # time-stamp-format: "%:y-%02m-%02d.%02H" 525 - # time-stamp-time-zone: "UTC" 539 + # time-stamp-time-zone: "UTC0" 526 540 # time-stamp-end: "; # UTC" 527 541 # End:
+1 -3
app/xfontsel/man/Makefile.in
··· 127 127 CCDEPMODE = @CCDEPMODE@ 128 128 CFLAGS = @CFLAGS@ 129 129 CHANGELOG_CMD = @CHANGELOG_CMD@ 130 - CPP = @CPP@ 131 130 CPPFLAGS = @CPPFLAGS@ 132 131 CWARNFLAGS = @CWARNFLAGS@ 133 132 CYGPATH_W = @CYGPATH_W@ ··· 138 137 ECHO_C = @ECHO_C@ 139 138 ECHO_N = @ECHO_N@ 140 139 ECHO_T = @ECHO_T@ 141 - EGREP = @EGREP@ 142 140 EXEEXT = @EXEEXT@ 143 141 FILE_MAN_DIR = @FILE_MAN_DIR@ 144 142 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 145 - GREP = @GREP@ 146 143 INSTALL = @INSTALL@ 147 144 INSTALL_CMD = @INSTALL_CMD@ 148 145 INSTALL_DATA = @INSTALL_DATA@ ··· 154 151 LIBS = @LIBS@ 155 152 LIB_MAN_DIR = @LIB_MAN_DIR@ 156 153 LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ 154 + LOCALEDIR = @LOCALEDIR@ 157 155 LTLIBOBJS = @LTLIBOBJS@ 158 156 MAINT = @MAINT@ 159 157 MAKEINFO = @MAKEINFO@
+11 -7
app/xfontsel/man/xfontsel.man
··· 42 42 xfontsel \- point and click selection of X11 font names 43 43 .SH SYNTAX 44 44 .PP 45 - \fBxfontsel\fP [-\fItoolkitoption\fP ...] 46 - [\fB-pattern \fIfontname\fP] 47 - [\fB-print\fP] 48 - [\fB-sample \fItext\fP] 49 - [\fB-sample16 \fItext16\fP] 50 - [\fB-sampleUCS \fItextUCS\fP] 51 - [\fB-scaled\fP] 45 + .nf 46 + \fBxfontsel\fP [-\fItoolkitoption\fP ...] [\fB-help\fP] [\fB-pattern\fP \fIfontname\fP] [\fB-print\fP] 47 + [\fB-sample\fP \fItext\fP] [\fB-sample16\fP \fItext16\fP] [\fB-sampleUCS\fP \fItextUCS\fP] 48 + [\fB-scaled\fP] [\fB-version\fP] 49 + .fi 52 50 .PP 53 51 .SH DESCRIPTION 54 52 .PP ··· 84 82 .PP 85 83 The \fB-scaled\fP option enables the ability to select scaled fonts 86 84 at arbitrary pixel or point sizes. 85 + .PP 86 + The \fB\-help\fP option specifies that \fIxfontsel\fP should 87 + print a usage message and exit. 88 + .PP 89 + The \fB\-version\fP option specifies that \fIxfontsel\fP should 90 + print version info and exit. 87 91 .PP 88 92 .SH INTERACTIONS 89 93 .PP
+116 -33
app/xfontsel/xfontsel.c
··· 31 31 Modified: Mark Leisher <mleisher@crl.nmsu.edu> to deal with UCS sample text. 32 32 */ 33 33 34 + /* 35 + * Copyright (c) 2000, 2022, Oracle and/or its affiliates. 36 + * 37 + * Permission is hereby granted, free of charge, to any person obtaining a 38 + * copy of this software and associated documentation files (the "Software"), 39 + * to deal in the Software without restriction, including without limitation 40 + * the rights to use, copy, modify, merge, publish, distribute, sublicense, 41 + * and/or sell copies of the Software, and to permit persons to whom the 42 + * Software is furnished to do so, subject to the following conditions: 43 + * 44 + * The above copyright notice and this permission notice (including the next 45 + * paragraph) shall be included in all copies or substantial portions of the 46 + * Software. 47 + * 48 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 49 + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 50 + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 51 + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 52 + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 53 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 54 + * DEALINGS IN THE SOFTWARE. 55 + * 56 + * Modifications by Jay Hobson (Sun Microsystems) to internationalize messages 57 + */ 58 + 59 + #ifdef HAVE_CONFIG_H 60 + # include "config.h" 61 + #endif 62 + 34 63 #include <stdio.h> 35 64 #include <stdlib.h> 36 65 #include <X11/Intrinsic.h> ··· 52 81 #include <X11/Xfuncs.h> 53 82 #include <X11/Xlib.h> 54 83 #include "ULabel.h" 84 + 85 + #ifdef USE_GETTEXT 86 + # include <locale.h> /* setlocale() */ 87 + # include <libintl.h> /* gettext(), textdomain(), etc. */ 88 + #else 89 + # define gettext(a) (a) 90 + #endif 55 91 56 92 #define MIN_APP_DEFAULTS_VERSION 1 57 93 #define FIELD_COUNT 14 ··· 151 187 {"-scaled", "scaledFonts", XrmoptionNoArg, "True"}, 152 188 }; 153 189 154 - static void Syntax(const char *call) 190 + static void Syntax(const char *call, int exitval) 155 191 { 156 192 fprintf (stderr, "usage: %s [-options ...] -fn font\n\n%s\n", call, 193 + gettext( 157 194 "where options include:\n" 158 195 " -display dpy X server to contact\n" 159 196 " -geometry geom size and location of window\n" ··· 163 200 " -sample16 string sample text to use for 2-byte fonts\n" 164 201 " -sampleUCS string sample text to use for ISO10646 fonts\n" 165 202 " -scaled use scaled instances of fonts\n" 166 - "plus any standard toolkit options\n"); 167 - exit (1); 203 + "plus any standard toolkit options\n")); 204 + exit (exitval); 168 205 } 169 206 170 207 ··· 260 297 261 298 XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL); 262 299 300 + /* Handle args that don't require opening a display */ 301 + for (int n = 1; n < argc; n++) { 302 + const char *argn = argv[n]; 303 + /* accept single or double dash for -help & -version */ 304 + if (argn[0] == '-' && argn[1] == '-') { 305 + argn++; 306 + } 307 + if (strcmp(argn, "-help") == 0) { 308 + Syntax(argv[0], 0); 309 + } 310 + if (strcmp(argn, "-version") == 0) { 311 + puts(PACKAGE_STRING); 312 + exit(0); 313 + } 314 + } 315 + 263 316 topLevel = XtAppInitialize(&appCtx, "XFontSel", options, XtNumber(options), 264 317 &argc, argv, NULL, NULL, 0); 265 318 266 - if (argc != 1) Syntax(argv[0]); 319 + #ifdef USE_GETTEXT 320 + /* 321 + * Set up internationalized messages Jhobson 8/23/00 322 + * 323 + * Do this after the AppInitialize since setlocale is setup by 324 + * XtSetLanguageProc, but does not occur until XtAppInitialize happens. 325 + */ 326 + textdomain("xfontsel"); 327 + 328 + { 329 + const char *domaindir; 330 + 331 + if ((domaindir = getenv("TEXTDOMAINDIR")) == NULL) { 332 + domaindir = LOCALEDIR; 333 + } 334 + bindtextdomain("xfontsel", domaindir); 335 + } 336 + #endif 337 + 338 + if (argc != 1) { 339 + fputs(gettext("Unknown argument(s):"), stderr); 340 + for (int n = 1; n < argc; n++) { 341 + fprintf(stderr, " %s", argv[n]); 342 + } 343 + fputs("\n\n", stderr); 344 + Syntax(argv[0], 1); 345 + } 267 346 268 347 XtAppAddActions(appCtx, xfontsel_actions, XtNumber(xfontsel_actions)); 269 348 XtOverrideTranslations ··· 272 351 XtGetApplicationResources( topLevel, (XtPointer)&AppRes, 273 352 resources, XtNumber(resources), NZ ); 274 353 if (AppRes.app_defaults_version < MIN_APP_DEFAULTS_VERSION) { 354 + char full_message[300]; 275 355 XrmDatabase rdb = XtDatabase(XtDisplay(topLevel)); 276 - XtWarning( "app-defaults file not properly installed." ); 277 - XrmPutLineResource( &rdb, 278 - "*sampleText*UCSLabel:XFontSel app-defaults file not properly installed;\\n\ 279 - see 'xfontsel' manual page." 280 - ); 356 + 357 + XtWarning(gettext("app-defaults file not properly installed.")); 358 + 359 + snprintf(full_message, sizeof(full_message), 360 + "*sampleText*UCSLabel:%s", 361 + gettext("XFontSel app-defaults file not properly installed;\\n" 362 + "see 'xfontsel' manual page.")); 363 + XrmPutLineResource(&rdb, full_message); 281 364 } 282 365 283 366 ScheduleWork(GetFontNames, (XtPointer)topLevel, 0); ··· 519 602 } 520 603 else 521 604 XtAppWarning( appCtx, 522 - "internal error; pattern didn't match first font" ); 605 + gettext("internal error; pattern didn't match first font" )); 523 606 } 524 607 else { 525 608 SetNoFonts(); ··· 535 618 ParseRec *parseRec = (ParseRec*)closure; 536 619 char **fontNames = parseRec->fontNames; 537 620 int num_fonts = parseRec->end; 538 - FieldValueList **fieldValues = parseRec->fieldValues; 621 + FieldValueList **fValues = parseRec->fieldValues; 539 622 FontValues *fontValues = parseRec->fonts - numBadFonts; 540 623 int i, font; 541 624 ··· 562 645 while (*p && *++p != DELIM); 563 646 len = p - fieldP; 564 647 } 565 - for (i=fieldValues[f]->count,v=fieldValues[f]->value; i;i--,v++) { 648 + for (i=fValues[f]->count,v=fValues[f]->value; i;i--,v++) { 566 649 if (len == 0) { 567 650 if (v->string == NULL) break; 568 651 } ··· 573 656 break; 574 657 } 575 658 if (i == 0) { 576 - int count = fieldValues[f]->count++; 577 - if (count == fieldValues[f]->allocated) { 578 - int allocated = (fieldValues[f]->allocated += 10); 579 - fieldValues[f] = (FieldValueList*) 580 - XtRealloc( (char *) fieldValues[f], 659 + int count = fValues[f]->count++; 660 + if (count == fValues[f]->allocated) { 661 + int allocated = (fValues[f]->allocated += 10); 662 + fValues[f] = (FieldValueList*) 663 + XtRealloc( (char *) fValues[f], 581 664 sizeof(FieldValueList) + 582 665 (allocated-1) * sizeof(FieldValue) ); 583 666 } 584 - v = &fieldValues[f]->value[count]; 667 + v = &fValues[f]->value[count]; 585 668 v->field = f; 586 669 if (len == 0) 587 670 v->string = NULL; ··· 597 680 v->enable = True; 598 681 i = 1; 599 682 } 600 - fontValues->value_index[f] = fieldValues[f]->count - i; 683 + fontValues->value_index[f] = fValues[f]->count - i; 601 684 if ((i = v->count++) == v->allocated) { 602 685 int allocated = (v->allocated += 10); 603 686 v->font = (int*)XtRealloc( (char *) v->font, ··· 623 706 FieldValue *fval = fieldValues[f]->value; 624 707 625 708 for (i = 0; i < max; i++, fval++) { 626 - int *oofonts, *ofonts, *nfonts, *fonts; 709 + int *oofonts, *ofonts, *nfonts, *sfonts; 627 710 int ocount, ncount, count; 628 711 629 712 if (fval->string && !strcmp(fval->string, "0")) 630 713 continue; 631 714 count = numScaledFonts; 632 - fonts = scaledFonts; 715 + sfonts = scaledFonts; 633 716 ocount = fval->count; 634 717 ncount = ocount + count; 635 718 nfonts = (int *)XtMalloc( ncount * sizeof(int) ); ··· 638 721 fval->count = ncount; 639 722 fval->allocated = ncount; 640 723 while (count && ocount) { 641 - if (*fonts < *ofonts) { 642 - *nfonts++ = *fonts++; 724 + if (*sfonts < *ofonts) { 725 + *nfonts++ = *sfonts++; 643 726 count--; 644 - } else if (*fonts == *ofonts) { 645 - *nfonts++ = *fonts++; 727 + } else if (*sfonts == *ofonts) { 728 + *nfonts++ = *sfonts++; 646 729 count--; 647 730 ofonts++; 648 731 ocount--; ··· 657 740 ocount--; 658 741 } 659 742 while (count) { 660 - *nfonts++ = *fonts++; 743 + *nfonts++ = *sfonts++; 661 744 count--; 662 745 } 663 746 XtFree((char *)oofonts); ··· 1056 1139 char label[80]; 1057 1140 Arg args[1]; 1058 1141 if (matchingFontCount == 1) 1059 - strcpy( label, "1 name matches" ); 1142 + strcpy( label, gettext("1 name matches") ); 1060 1143 else if (matchingFontCount) 1061 - snprintf( label, sizeof(label), "%d names match", matchingFontCount ); 1144 + snprintf( label, sizeof(label), gettext("%d names match"), matchingFontCount); 1062 1145 else 1063 - strcpy( label, "no names match" ); 1146 + strcpy( label, gettext("no names match") ); 1064 1147 XtSetArg( args[0], XtNlabel, label ); 1065 1148 XtSetValues( countLabel, args, ONE ); 1066 1149 } ··· 1071 1154 char label[80]; 1072 1155 Arg args[1]; 1073 1156 if (count == 1) 1074 - strcpy( label, "1 name to parse" ); 1157 + strcpy( label, gettext("1 name to parse") ); 1075 1158 else 1076 - snprintf( label, sizeof(label), "%d names to parse", count ); 1159 + snprintf( label, sizeof(label), gettext("%d names to parse"), count ); 1077 1160 XtSetArg( args[0], XtNlabel, label ); 1078 1161 XtSetValues( countLabel, args, ONE ); 1079 1162 FlushXqueue(XtDisplay(countLabel)); ··· 1279 1362 int field = (long)closure; 1280 1363 FieldValue *values = fieldValues[field]->value; 1281 1364 int count = fieldValues[field]->count; 1282 - printf( "field %d:\n", field ); 1365 + printf(gettext("field %d:\n"), field ); 1283 1366 while (count--) { 1284 - printf( " %s: %d fonts\n", values->string, values->count ); 1367 + printf( gettext(" %s: %d fonts\n"), values->string, values->count ); 1285 1368 values++; 1286 1369 } 1287 1370 printf( "\n" );