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 listres 1.0.6

matthieu f43e8b4b 3d047d44

+3757 -3239
+34 -2
app/listres/ChangeLog
··· 1 + commit be836dd49be49040f0420893393c1b864fc79611 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sun Mar 3 09:51:43 2024 -0800 4 + 5 + listres 1.0.6 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit aee575262a9c70fe537bc1cda72c1b00931f87b0 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Wed Feb 8 15:15:32 2023 -0800 12 + 13 + Add -help and -version options 14 + 15 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16 + 17 + commit 3f09f6c5771cfc70ab73ce301da683c3884cabd1 18 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 19 + Date: Wed Feb 8 15:09:58 2023 -0800 20 + 21 + Print which argument was unknown before giving usage message 22 + 23 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24 + 25 + commit 1565da2398ea92eb5e2bf9a308c004feedfe1fa6 26 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 27 + Date: Thu Jul 28 17:30:21 2022 -0700 28 + 29 + gitlab CI: stop requiring Signed-off-by in commits 30 + 31 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32 + 1 33 commit 0527098de837af8c4720170df94ba9748ba8009e 2 34 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 35 Date: Sun Apr 3 12:06:29 2022 -0700 ··· 524 556 configure cache, you cache it, and the cached value is probably wrong. 525 557 526 558 commit 8b25b98b1cbe95610a862d75cdecd59cd40bca30 527 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 559 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 528 560 Date: Thu Jul 14 22:40:14 2005 +0000 529 561 530 562 Add _BSD_SOURCE to lots of applications - patch from Stefan Dirsch 531 563 532 564 commit 0b8defdf67bc0354d90c525bd4d81dff7f397925 533 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 565 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 534 566 Date: Tue Jun 28 15:09:55 2005 +0000 535 567 536 568 Check in build system for listres
-3
app/listres/Makefile.in
··· 202 202 CCDEPMODE = @CCDEPMODE@ 203 203 CFLAGS = @CFLAGS@ 204 204 CHANGELOG_CMD = @CHANGELOG_CMD@ 205 - CPP = @CPP@ 206 205 CPPFLAGS = @CPPFLAGS@ 207 206 CWARNFLAGS = @CWARNFLAGS@ 208 207 CYGPATH_W = @CYGPATH_W@ ··· 213 212 ECHO_C = @ECHO_C@ 214 213 ECHO_N = @ECHO_N@ 215 214 ECHO_T = @ECHO_T@ 216 - EGREP = @EGREP@ 217 215 EXEEXT = @EXEEXT@ 218 216 FILE_MAN_DIR = @FILE_MAN_DIR@ 219 217 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 220 - GREP = @GREP@ 221 218 INSTALL = @INSTALL@ 222 219 INSTALL_CMD = @INSTALL_CMD@ 223 220 INSTALL_DATA = @INSTALL_DATA@
+45 -25
app/listres/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()
+6 -4
app/listres/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 62 64 63 65 /* Version number of package */
+3416 -2994
app/listres/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for listres 1.0.5. 3 + # Generated by GNU Autoconf 2.71 for listres 1.0.6. 4 4 # 5 - # Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/issues>. 5 + # Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/-/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 : 226 + IFS=$as_save_IFS 227 + if $as_found 228 + then : 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 : 235 234 CONFIG_SHELL=$SHELL as_have_required=yes 236 - fi; } 237 - IFS=$as_save_IFS 235 + fi 236 + fi 238 237 239 238 240 - if test "x$CONFIG_SHELL" != x; then : 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/listres/issues 270 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 271 + $0: https://gitlab.freedesktop.org/xorg/app/listres/-/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*) ··· 513 537 *) 514 538 ECHO_N='-n';; 515 539 esac 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 + 516 547 517 548 rm -f conf$$ conf$$.exe conf$$.file 518 549 if test -d conf$$.dir; then ··· 581 612 # Identity of this package. 582 613 PACKAGE_NAME='listres' 583 614 PACKAGE_TARNAME='listres' 584 - PACKAGE_VERSION='1.0.5' 585 - PACKAGE_STRING='listres 1.0.5' 586 - PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/listres/issues' 615 + PACKAGE_VERSION='1.0.6' 616 + PACKAGE_STRING='listres 1.0.6' 617 + PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/listres/-/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 ··· 664 691 STRICT_CFLAGS 665 692 CWARNFLAGS 666 693 BASE_CFLAGS 667 - EGREP 668 - GREP 669 - CPP 670 694 am__fastdepCC_FALSE 671 695 am__fastdepCC_TRUE 672 696 CCDEPMODE ··· 766 790 LDFLAGS 767 791 LIBS 768 792 CPPFLAGS 769 - CPP 770 793 PKG_CONFIG 771 794 PKG_CONFIG_PATH 772 795 PKG_CONFIG_LIBDIR ··· 840 863 *) ac_optarg=yes ;; 841 864 esac 842 865 843 - # Accept the important Cygnus configure options, so we can diagnose typos. 844 - 845 866 case $ac_dashdash$ac_option in 846 867 --) 847 868 ac_dashdash=yes ;; ··· 882 903 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 883 904 # Reject names that are not valid shell variable names. 884 905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 - as_fn_error $? "invalid feature name: $ac_useropt" 906 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 886 907 ac_useropt_orig=$ac_useropt 887 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 908 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 888 909 case $ac_user_opts in 889 910 *" 890 911 "enable_$ac_useropt" ··· 908 929 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 909 930 # Reject names that are not valid shell variable names. 910 931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 911 - as_fn_error $? "invalid feature name: $ac_useropt" 932 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 912 933 ac_useropt_orig=$ac_useropt 913 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 934 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 914 935 case $ac_user_opts in 915 936 *" 916 937 "enable_$ac_useropt" ··· 1121 1142 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1122 1143 # Reject names that are not valid shell variable names. 1123 1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1124 - as_fn_error $? "invalid package name: $ac_useropt" 1145 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1125 1146 ac_useropt_orig=$ac_useropt 1126 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1147 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1127 1148 case $ac_user_opts in 1128 1149 *" 1129 1150 "with_$ac_useropt" ··· 1137 1158 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1138 1159 # Reject names that are not valid shell variable names. 1139 1160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1140 - as_fn_error $? "invalid package name: $ac_useropt" 1161 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1141 1162 ac_useropt_orig=$ac_useropt 1142 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1143 1164 case $ac_user_opts in 1144 1165 *" 1145 1166 "with_$ac_useropt" ··· 1183 1204 1184 1205 *) 1185 1206 # FIXME: should be removed in autoconf 3.0. 1186 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1207 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1187 1208 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1188 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1209 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1189 1210 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1190 1211 ;; 1191 1212 ··· 1201 1222 case $enable_option_checking in 1202 1223 no) ;; 1203 1224 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1204 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1225 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1205 1226 esac 1206 1227 fi 1207 1228 ··· 1265 1286 X"$as_myself" : 'X\(//\)[^/]' \| \ 1266 1287 X"$as_myself" : 'X\(//\)$' \| \ 1267 1288 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1268 - $as_echo X"$as_myself" | 1289 + printf "%s\n" X"$as_myself" | 1269 1290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1270 1291 s//\1/ 1271 1292 q ··· 1322 1343 # Omit some internal or obsolete options to make the list less imposing. 1323 1344 # This message is too long to be a string in the A/UX 3.1 sh. 1324 1345 cat <<_ACEOF 1325 - \`configure' configures listres 1.0.5 to adapt to many kinds of systems. 1346 + \`configure' configures listres 1.0.6 to adapt to many kinds of systems. 1326 1347 1327 1348 Usage: $0 [OPTION]... [VAR=VALUE]... 1328 1349 ··· 1393 1414 1394 1415 if test -n "$ac_init_help"; then 1395 1416 case $ac_init_help in 1396 - short | recursive ) echo "Configuration of listres 1.0.5:";; 1417 + short | recursive ) echo "Configuration of listres 1.0.6:";; 1397 1418 esac 1398 1419 cat <<\_ACEOF 1399 1420 ··· 1425 1446 LIBS libraries to pass to the linker, e.g. -l<library> 1426 1447 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1427 1448 you have headers in a nonstandard directory <include dir> 1428 - CPP C preprocessor 1429 1449 PKG_CONFIG path to pkg-config utility 1430 1450 PKG_CONFIG_PATH 1431 1451 directories to add to pkg-config's search path ··· 1439 1459 Use these variables to override the choices made by `configure' or to help 1440 1460 it to find libraries and programs with nonstandard names/locations. 1441 1461 1442 - Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/issues>. 1462 + Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/-/issues>. 1443 1463 _ACEOF 1444 1464 ac_status=$? 1445 1465 fi ··· 1455 1475 case "$ac_dir" in 1456 1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 1477 *) 1458 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1478 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1459 1479 # A ".." for each directory in $ac_dir_suffix. 1460 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1480 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1461 1481 case $ac_top_builddir_sub in 1462 1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1463 1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1485 1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1486 1506 1487 1507 cd "$ac_dir" || { ac_status=$?; continue; } 1488 - # Check for guested configure. 1508 + # Check for configure.gnu first; this name is used for a wrapper for 1509 + # Metaconfig's "Configure" on case-insensitive file systems. 1489 1510 if test -f "$ac_srcdir/configure.gnu"; then 1490 1511 echo && 1491 1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1493 1514 echo && 1494 1515 $SHELL "$ac_srcdir/configure" --help=recursive 1495 1516 else 1496 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1517 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1497 1518 fi || ac_status=$? 1498 1519 cd "$ac_pwd" || { ac_status=$?; break; } 1499 1520 done ··· 1502 1523 test -n "$ac_init_help" && exit $ac_status 1503 1524 if $ac_init_version; then 1504 1525 cat <<\_ACEOF 1505 - listres configure 1.0.5 1506 - generated by GNU Autoconf 2.69 1526 + listres configure 1.0.6 1527 + generated by GNU Autoconf 2.71 1507 1528 1508 - Copyright (C) 2012 Free Software Foundation, Inc. 1529 + Copyright (C) 2021 Free Software Foundation, Inc. 1509 1530 This configure script is free software; the Free Software Foundation 1510 1531 gives unlimited permission to copy, distribute and modify it. 1511 1532 _ACEOF ··· 1522 1543 ac_fn_c_try_compile () 1523 1544 { 1524 1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1525 - rm -f conftest.$ac_objext 1546 + rm -f conftest.$ac_objext conftest.beam 1526 1547 if { { ac_try="$ac_compile" 1527 1548 case "(($ac_try" in 1528 1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1529 1550 *) ac_try_echo=$ac_try;; 1530 1551 esac 1531 1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1532 - $as_echo "$ac_try_echo"; } >&5 1553 + printf "%s\n" "$ac_try_echo"; } >&5 1533 1554 (eval "$ac_compile") 2>conftest.err 1534 1555 ac_status=$? 1535 1556 if test -s conftest.err; then ··· 1537 1558 cat conftest.er1 >&5 1538 1559 mv -f conftest.er1 conftest.err 1539 1560 fi 1540 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1561 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1541 1562 test $ac_status = 0; } && { 1542 1563 test -z "$ac_c_werror_flag" || 1543 1564 test ! -s conftest.err 1544 - } && test -s conftest.$ac_objext; then : 1565 + } && test -s conftest.$ac_objext 1566 + then : 1545 1567 ac_retval=0 1546 - else 1547 - $as_echo "$as_me: failed program was:" >&5 1568 + else $as_nop 1569 + printf "%s\n" "$as_me: failed program was:" >&5 1548 1570 sed 's/^/| /' conftest.$ac_ext >&5 1549 1571 1550 1572 ac_retval=1 ··· 1554 1576 1555 1577 } # ac_fn_c_try_compile 1556 1578 1557 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1558 - # --------------------------------------------- 1579 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1580 + # ------------------------------------------------------------------ 1559 1581 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1560 - # accordingly. 1561 - ac_fn_c_check_decl () 1582 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1583 + ac_fn_check_decl () 1562 1584 { 1563 1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 1586 as_decl_name=`echo $2|sed 's/ *(.*//'` 1587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1588 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1589 + if eval test \${$3+y} 1590 + then : 1591 + printf %s "(cached) " >&6 1592 + else $as_nop 1565 1593 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1566 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1567 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1568 - if eval \${$3+:} false; then : 1569 - $as_echo_n "(cached) " >&6 1570 - else 1594 + eval ac_save_FLAGS=\$$6 1595 + as_fn_append $6 " $5" 1571 1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1572 1597 /* end confdefs.h. */ 1573 1598 $4 1574 1599 int 1575 - main () 1600 + main (void) 1576 1601 { 1577 1602 #ifndef $as_decl_name 1578 1603 #ifdef __cplusplus ··· 1586 1611 return 0; 1587 1612 } 1588 1613 _ACEOF 1589 - if ac_fn_c_try_compile "$LINENO"; then : 1614 + if ac_fn_c_try_compile "$LINENO" 1615 + then : 1590 1616 eval "$3=yes" 1591 - else 1617 + else $as_nop 1592 1618 eval "$3=no" 1593 1619 fi 1594 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1595 - fi 1596 - eval ac_res=\$$3 1597 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1598 - $as_echo "$ac_res" >&6; } 1599 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1600 - 1601 - } # ac_fn_c_check_decl 1602 - 1603 - # ac_fn_c_try_cpp LINENO 1604 - # ---------------------- 1605 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1606 - ac_fn_c_try_cpp () 1607 - { 1608 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1610 - case "(($ac_try" in 1611 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1612 - *) ac_try_echo=$ac_try;; 1613 - esac 1614 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1615 - $as_echo "$ac_try_echo"; } >&5 1616 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1617 - ac_status=$? 1618 - if test -s conftest.err; then 1619 - grep -v '^ *+' conftest.err >conftest.er1 1620 - cat conftest.er1 >&5 1621 - mv -f conftest.er1 conftest.err 1622 - fi 1623 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1624 - test $ac_status = 0; } > conftest.i && { 1625 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1626 - test ! -s conftest.err 1627 - }; then : 1628 - ac_retval=0 1629 - else 1630 - $as_echo "$as_me: failed program was:" >&5 1631 - sed 's/^/| /' conftest.$ac_ext >&5 1620 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1621 + eval $6=\$ac_save_FLAGS 1632 1622 1633 - ac_retval=1 1634 1623 fi 1624 + eval ac_res=\$$3 1625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1626 + printf "%s\n" "$ac_res" >&6; } 1635 1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1636 - as_fn_set_status $ac_retval 1637 1628 1638 - } # ac_fn_c_try_cpp 1639 - 1640 - # ac_fn_c_try_run LINENO 1641 - # ---------------------- 1642 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1643 - # that executables *can* be run. 1644 - ac_fn_c_try_run () 1645 - { 1646 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1647 - if { { ac_try="$ac_link" 1648 - case "(($ac_try" in 1649 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1650 - *) ac_try_echo=$ac_try;; 1651 - esac 1652 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1653 - $as_echo "$ac_try_echo"; } >&5 1654 - (eval "$ac_link") 2>&5 1655 - ac_status=$? 1656 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1657 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1658 - { { case "(($ac_try" in 1659 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1660 - *) ac_try_echo=$ac_try;; 1661 - esac 1662 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1663 - $as_echo "$ac_try_echo"; } >&5 1664 - (eval "$ac_try") 2>&5 1665 - ac_status=$? 1666 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1667 - test $ac_status = 0; }; }; then : 1668 - ac_retval=0 1669 - else 1670 - $as_echo "$as_me: program exited with status $ac_status" >&5 1671 - $as_echo "$as_me: failed program was:" >&5 1672 - sed 's/^/| /' conftest.$ac_ext >&5 1673 - 1674 - ac_retval=$ac_status 1675 - fi 1676 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1677 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1678 - as_fn_set_status $ac_retval 1679 - 1680 - } # ac_fn_c_try_run 1629 + } # ac_fn_check_decl 1681 1630 1682 1631 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1683 1632 # ------------------------------------------------------- ··· 1686 1635 ac_fn_c_check_header_compile () 1687 1636 { 1688 1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1689 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1690 - $as_echo_n "checking for $2... " >&6; } 1691 - if eval \${$3+:} false; then : 1692 - $as_echo_n "(cached) " >&6 1693 - else 1638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1639 + printf %s "checking for $2... " >&6; } 1640 + if eval test \${$3+y} 1641 + then : 1642 + printf %s "(cached) " >&6 1643 + else $as_nop 1694 1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1695 1645 /* end confdefs.h. */ 1696 1646 $4 1697 1647 #include <$2> 1698 1648 _ACEOF 1699 - if ac_fn_c_try_compile "$LINENO"; then : 1649 + if ac_fn_c_try_compile "$LINENO" 1650 + then : 1700 1651 eval "$3=yes" 1701 - else 1652 + else $as_nop 1702 1653 eval "$3=no" 1703 1654 fi 1704 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1655 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1705 1656 fi 1706 1657 eval ac_res=\$$3 1707 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1708 - $as_echo "$ac_res" >&6; } 1658 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1659 + printf "%s\n" "$ac_res" >&6; } 1709 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1710 1661 1711 1662 } # ac_fn_c_check_header_compile ··· 1716 1667 ac_fn_c_try_link () 1717 1668 { 1718 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1719 - rm -f conftest.$ac_objext conftest$ac_exeext 1670 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1720 1671 if { { ac_try="$ac_link" 1721 1672 case "(($ac_try" in 1722 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 1674 *) ac_try_echo=$ac_try;; 1724 1675 esac 1725 1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726 - $as_echo "$ac_try_echo"; } >&5 1677 + printf "%s\n" "$ac_try_echo"; } >&5 1727 1678 (eval "$ac_link") 2>conftest.err 1728 1679 ac_status=$? 1729 1680 if test -s conftest.err; then ··· 1731 1682 cat conftest.er1 >&5 1732 1683 mv -f conftest.er1 conftest.err 1733 1684 fi 1734 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1685 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1735 1686 test $ac_status = 0; } && { 1736 1687 test -z "$ac_c_werror_flag" || 1737 1688 test ! -s conftest.err 1738 1689 } && test -s conftest$ac_exeext && { 1739 1690 test "$cross_compiling" = yes || 1740 1691 test -x conftest$ac_exeext 1741 - }; then : 1692 + } 1693 + then : 1742 1694 ac_retval=0 1743 - else 1744 - $as_echo "$as_me: failed program was:" >&5 1695 + else $as_nop 1696 + printf "%s\n" "$as_me: failed program was:" >&5 1745 1697 sed 's/^/| /' conftest.$ac_ext >&5 1746 1698 1747 1699 ac_retval=1 ··· 1755 1707 as_fn_set_status $ac_retval 1756 1708 1757 1709 } # ac_fn_c_try_link 1710 + ac_configure_args_raw= 1711 + for ac_arg 1712 + do 1713 + case $ac_arg in 1714 + *\'*) 1715 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1716 + esac 1717 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1718 + done 1719 + 1720 + case $ac_configure_args_raw in 1721 + *$as_nl*) 1722 + ac_safe_unquote= ;; 1723 + *) 1724 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1725 + ac_unsafe_a="$ac_unsafe_z#~" 1726 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1727 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1728 + esac 1729 + 1758 1730 cat >config.log <<_ACEOF 1759 1731 This file contains any messages produced by compilers while 1760 1732 running configure, to aid debugging if configure makes a mistake. 1761 1733 1762 - It was created by listres $as_me 1.0.5, which was 1763 - generated by GNU Autoconf 2.69. Invocation command line was 1734 + It was created by listres $as_me 1.0.6, which was 1735 + generated by GNU Autoconf 2.71. Invocation command line was 1764 1736 1765 - $ $0 $@ 1737 + $ $0$ac_configure_args_raw 1766 1738 1767 1739 _ACEOF 1768 1740 exec 5>>config.log ··· 1795 1767 for as_dir in $PATH 1796 1768 do 1797 1769 IFS=$as_save_IFS 1798 - test -z "$as_dir" && as_dir=. 1799 - $as_echo "PATH: $as_dir" 1770 + case $as_dir in #((( 1771 + '') as_dir=./ ;; 1772 + */) ;; 1773 + *) as_dir=$as_dir/ ;; 1774 + esac 1775 + printf "%s\n" "PATH: $as_dir" 1800 1776 done 1801 1777 IFS=$as_save_IFS 1802 1778 ··· 1831 1807 | -silent | --silent | --silen | --sile | --sil) 1832 1808 continue ;; 1833 1809 *\'*) 1834 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1810 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1835 1811 esac 1836 1812 case $ac_pass in 1837 1813 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1866 1842 # WARNING: Use '\'' to represent an apostrophe within the trap. 1867 1843 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1868 1844 trap 'exit_status=$? 1845 + # Sanitize IFS. 1846 + IFS=" "" $as_nl" 1869 1847 # Save into config.log some information that might help in debugging. 1870 1848 { 1871 1849 echo 1872 1850 1873 - $as_echo "## ---------------- ## 1851 + printf "%s\n" "## ---------------- ## 1874 1852 ## Cache variables. ## 1875 1853 ## ---------------- ##" 1876 1854 echo ··· 1881 1859 case $ac_val in #( 1882 1860 *${as_nl}*) 1883 1861 case $ac_var in #( 1884 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1885 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1862 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1863 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1886 1864 esac 1887 1865 case $ac_var in #( 1888 1866 _ | IFS | as_nl) ;; #( ··· 1906 1884 ) 1907 1885 echo 1908 1886 1909 - $as_echo "## ----------------- ## 1887 + printf "%s\n" "## ----------------- ## 1910 1888 ## Output variables. ## 1911 1889 ## ----------------- ##" 1912 1890 echo ··· 1914 1892 do 1915 1893 eval ac_val=\$$ac_var 1916 1894 case $ac_val in 1917 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1895 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1918 1896 esac 1919 - $as_echo "$ac_var='\''$ac_val'\''" 1897 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1920 1898 done | sort 1921 1899 echo 1922 1900 1923 1901 if test -n "$ac_subst_files"; then 1924 - $as_echo "## ------------------- ## 1902 + printf "%s\n" "## ------------------- ## 1925 1903 ## File substitutions. ## 1926 1904 ## ------------------- ##" 1927 1905 echo ··· 1929 1907 do 1930 1908 eval ac_val=\$$ac_var 1931 1909 case $ac_val in 1932 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1910 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1933 1911 esac 1934 - $as_echo "$ac_var='\''$ac_val'\''" 1912 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1935 1913 done | sort 1936 1914 echo 1937 1915 fi 1938 1916 1939 1917 if test -s confdefs.h; then 1940 - $as_echo "## ----------- ## 1918 + printf "%s\n" "## ----------- ## 1941 1919 ## confdefs.h. ## 1942 1920 ## ----------- ##" 1943 1921 echo ··· 1945 1923 echo 1946 1924 fi 1947 1925 test "$ac_signal" != 0 && 1948 - $as_echo "$as_me: caught signal $ac_signal" 1949 - $as_echo "$as_me: exit $exit_status" 1926 + printf "%s\n" "$as_me: caught signal $ac_signal" 1927 + printf "%s\n" "$as_me: exit $exit_status" 1950 1928 } >&5 1951 1929 rm -f core *.core core.conftest.* && 1952 1930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 1960 1938 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1961 1939 rm -f -r conftest* confdefs.h 1962 1940 1963 - $as_echo "/* confdefs.h */" > confdefs.h 1941 + printf "%s\n" "/* confdefs.h */" > confdefs.h 1964 1942 1965 1943 # Predefined preprocessor variables. 1966 1944 1967 - cat >>confdefs.h <<_ACEOF 1968 - #define PACKAGE_NAME "$PACKAGE_NAME" 1969 - _ACEOF 1945 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1970 1946 1971 - cat >>confdefs.h <<_ACEOF 1972 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1973 - _ACEOF 1947 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1974 1948 1975 - cat >>confdefs.h <<_ACEOF 1976 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 1977 - _ACEOF 1949 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1978 1950 1979 - cat >>confdefs.h <<_ACEOF 1980 - #define PACKAGE_STRING "$PACKAGE_STRING" 1981 - _ACEOF 1951 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1982 1952 1983 - cat >>confdefs.h <<_ACEOF 1984 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1985 - _ACEOF 1953 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1986 1954 1987 - cat >>confdefs.h <<_ACEOF 1988 - #define PACKAGE_URL "$PACKAGE_URL" 1989 - _ACEOF 1955 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1990 1956 1991 1957 1992 1958 # Let the site file select an alternate cache file if it wants to. 1993 1959 # Prefer an explicitly selected file to automatically selected ones. 1994 - ac_site_file1=NONE 1995 - ac_site_file2=NONE 1996 1960 if test -n "$CONFIG_SITE"; then 1997 - # We do not want a PATH search for config.site. 1998 - case $CONFIG_SITE in #(( 1999 - -*) ac_site_file1=./$CONFIG_SITE;; 2000 - */*) ac_site_file1=$CONFIG_SITE;; 2001 - *) ac_site_file1=./$CONFIG_SITE;; 2002 - esac 1961 + ac_site_files="$CONFIG_SITE" 2003 1962 elif test "x$prefix" != xNONE; then 2004 - ac_site_file1=$prefix/share/config.site 2005 - ac_site_file2=$prefix/etc/config.site 1963 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2006 1964 else 2007 - ac_site_file1=$ac_default_prefix/share/config.site 2008 - ac_site_file2=$ac_default_prefix/etc/config.site 1965 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2009 1966 fi 2010 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1967 + 1968 + for ac_site_file in $ac_site_files 2011 1969 do 2012 - test "x$ac_site_file" = xNONE && continue 2013 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2014 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2015 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1970 + case $ac_site_file in #( 1971 + */*) : 1972 + ;; #( 1973 + *) : 1974 + ac_site_file=./$ac_site_file ;; 1975 + esac 1976 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1977 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1978 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2016 1979 sed 's/^/| /' "$ac_site_file" >&5 2017 1980 . "$ac_site_file" \ 2018 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2019 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1981 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1982 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2020 1983 as_fn_error $? "failed to load site script $ac_site_file 2021 1984 See \`config.log' for more details" "$LINENO" 5; } 2022 1985 fi ··· 2026 1989 # Some versions of bash will fail to source /dev/null (special files 2027 1990 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2028 1991 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2029 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2030 - $as_echo "$as_me: loading cache $cache_file" >&6;} 1992 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1993 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2031 1994 case $cache_file in 2032 1995 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2033 1996 *) . "./$cache_file";; 2034 1997 esac 2035 1998 fi 2036 1999 else 2037 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2038 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2001 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2039 2002 >$cache_file 2040 2003 fi 2041 2004 2005 + # Test code for whether the C compiler supports C89 (global declarations) 2006 + ac_c_conftest_c89_globals=' 2007 + /* Does the compiler advertise C89 conformance? 2008 + Do not test the value of __STDC__, because some compilers set it to 0 2009 + while being otherwise adequately conformant. */ 2010 + #if !defined __STDC__ 2011 + # error "Compiler does not advertise C89 conformance" 2012 + #endif 2013 + 2014 + #include <stddef.h> 2015 + #include <stdarg.h> 2016 + struct stat; 2017 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2018 + struct buf { int x; }; 2019 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2020 + static char *e (p, i) 2021 + char **p; 2022 + int i; 2023 + { 2024 + return p[i]; 2025 + } 2026 + static char *f (char * (*g) (char **, int), char **p, ...) 2027 + { 2028 + char *s; 2029 + va_list v; 2030 + va_start (v,p); 2031 + s = g (p, va_arg (v,int)); 2032 + va_end (v); 2033 + return s; 2034 + } 2035 + 2036 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2037 + function prototypes and stuff, but not \xHH hex character constants. 2038 + These do not provoke an error unfortunately, instead are silently treated 2039 + as an "x". The following induces an error, until -std is added to get 2040 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2041 + array size at least. It is necessary to write \x00 == 0 to get something 2042 + that is true only with -std. */ 2043 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2044 + 2045 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2046 + inside strings and character constants. */ 2047 + #define FOO(x) '\''x'\'' 2048 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2049 + 2050 + int test (int i, double x); 2051 + struct s1 {int (*f) (int a);}; 2052 + struct s2 {int (*f) (double a);}; 2053 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2054 + int, int);' 2055 + 2056 + # Test code for whether the C compiler supports C89 (body of main). 2057 + ac_c_conftest_c89_main=' 2058 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2059 + ' 2060 + 2061 + # Test code for whether the C compiler supports C99 (global declarations) 2062 + ac_c_conftest_c99_globals=' 2063 + // Does the compiler advertise C99 conformance? 2064 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2065 + # error "Compiler does not advertise C99 conformance" 2066 + #endif 2067 + 2068 + #include <stdbool.h> 2069 + extern int puts (const char *); 2070 + extern int printf (const char *, ...); 2071 + extern int dprintf (int, const char *, ...); 2072 + extern void *malloc (size_t); 2073 + 2074 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2075 + // dprintf is used instead of fprintf to avoid needing to declare 2076 + // FILE and stderr. 2077 + #define debug(...) dprintf (2, __VA_ARGS__) 2078 + #define showlist(...) puts (#__VA_ARGS__) 2079 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2080 + static void 2081 + test_varargs_macros (void) 2082 + { 2083 + int x = 1234; 2084 + int y = 5678; 2085 + debug ("Flag"); 2086 + debug ("X = %d\n", x); 2087 + showlist (The first, second, and third items.); 2088 + report (x>y, "x is %d but y is %d", x, y); 2089 + } 2090 + 2091 + // Check long long types. 2092 + #define BIG64 18446744073709551615ull 2093 + #define BIG32 4294967295ul 2094 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2095 + #if !BIG_OK 2096 + #error "your preprocessor is broken" 2097 + #endif 2098 + #if BIG_OK 2099 + #else 2100 + #error "your preprocessor is broken" 2101 + #endif 2102 + static long long int bignum = -9223372036854775807LL; 2103 + static unsigned long long int ubignum = BIG64; 2104 + 2105 + struct incomplete_array 2106 + { 2107 + int datasize; 2108 + double data[]; 2109 + }; 2110 + 2111 + struct named_init { 2112 + int number; 2113 + const wchar_t *name; 2114 + double average; 2115 + }; 2116 + 2117 + typedef const char *ccp; 2118 + 2119 + static inline int 2120 + test_restrict (ccp restrict text) 2121 + { 2122 + // See if C++-style comments work. 2123 + // Iterate through items via the restricted pointer. 2124 + // Also check for declarations in for loops. 2125 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2126 + continue; 2127 + return 0; 2128 + } 2129 + 2130 + // Check varargs and va_copy. 2131 + static bool 2132 + test_varargs (const char *format, ...) 2133 + { 2134 + va_list args; 2135 + va_start (args, format); 2136 + va_list args_copy; 2137 + va_copy (args_copy, args); 2138 + 2139 + const char *str = ""; 2140 + int number = 0; 2141 + float fnumber = 0; 2142 + 2143 + while (*format) 2144 + { 2145 + switch (*format++) 2146 + { 2147 + case '\''s'\'': // string 2148 + str = va_arg (args_copy, const char *); 2149 + break; 2150 + case '\''d'\'': // int 2151 + number = va_arg (args_copy, int); 2152 + break; 2153 + case '\''f'\'': // float 2154 + fnumber = va_arg (args_copy, double); 2155 + break; 2156 + default: 2157 + break; 2158 + } 2159 + } 2160 + va_end (args_copy); 2161 + va_end (args); 2162 + 2163 + return *str && number && fnumber; 2164 + } 2165 + ' 2166 + 2167 + # Test code for whether the C compiler supports C99 (body of main). 2168 + ac_c_conftest_c99_main=' 2169 + // Check bool. 2170 + _Bool success = false; 2171 + success |= (argc != 0); 2172 + 2173 + // Check restrict. 2174 + if (test_restrict ("String literal") == 0) 2175 + success = true; 2176 + char *restrict newvar = "Another string"; 2177 + 2178 + // Check varargs. 2179 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2180 + test_varargs_macros (); 2181 + 2182 + // Check flexible array members. 2183 + struct incomplete_array *ia = 2184 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2185 + ia->datasize = 10; 2186 + for (int i = 0; i < ia->datasize; ++i) 2187 + ia->data[i] = i * 1.234; 2188 + 2189 + // Check named initializers. 2190 + struct named_init ni = { 2191 + .number = 34, 2192 + .name = L"Test wide string", 2193 + .average = 543.34343, 2194 + }; 2195 + 2196 + ni.number = 58; 2197 + 2198 + int dynamic_array[ni.number]; 2199 + dynamic_array[0] = argv[0][0]; 2200 + dynamic_array[ni.number - 1] = 543; 2201 + 2202 + // work around unused variable warnings 2203 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2204 + || dynamic_array[ni.number - 1] != 543); 2205 + ' 2206 + 2207 + # Test code for whether the C compiler supports C11 (global declarations) 2208 + ac_c_conftest_c11_globals=' 2209 + // Does the compiler advertise C11 conformance? 2210 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2211 + # error "Compiler does not advertise C11 conformance" 2212 + #endif 2213 + 2214 + // Check _Alignas. 2215 + char _Alignas (double) aligned_as_double; 2216 + char _Alignas (0) no_special_alignment; 2217 + extern char aligned_as_int; 2218 + char _Alignas (0) _Alignas (int) aligned_as_int; 2219 + 2220 + // Check _Alignof. 2221 + enum 2222 + { 2223 + int_alignment = _Alignof (int), 2224 + int_array_alignment = _Alignof (int[100]), 2225 + char_alignment = _Alignof (char) 2226 + }; 2227 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2228 + 2229 + // Check _Noreturn. 2230 + int _Noreturn does_not_return (void) { for (;;) continue; } 2231 + 2232 + // Check _Static_assert. 2233 + struct test_static_assert 2234 + { 2235 + int x; 2236 + _Static_assert (sizeof (int) <= sizeof (long int), 2237 + "_Static_assert does not work in struct"); 2238 + long int y; 2239 + }; 2240 + 2241 + // Check UTF-8 literals. 2242 + #define u8 syntax error! 2243 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2244 + 2245 + // Check duplicate typedefs. 2246 + typedef long *long_ptr; 2247 + typedef long int *long_ptr; 2248 + typedef long_ptr long_ptr; 2249 + 2250 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2251 + struct anonymous 2252 + { 2253 + union { 2254 + struct { int i; int j; }; 2255 + struct { int k; long int l; } w; 2256 + }; 2257 + int m; 2258 + } v1; 2259 + ' 2260 + 2261 + # Test code for whether the C compiler supports C11 (body of main). 2262 + ac_c_conftest_c11_main=' 2263 + _Static_assert ((offsetof (struct anonymous, i) 2264 + == offsetof (struct anonymous, w.k)), 2265 + "Anonymous union alignment botch"); 2266 + v1.i = 2; 2267 + v1.w.k = 5; 2268 + ok |= v1.i != 5; 2269 + ' 2270 + 2271 + # Test code for whether the C compiler supports C11 (complete). 2272 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2273 + ${ac_c_conftest_c99_globals} 2274 + ${ac_c_conftest_c11_globals} 2275 + 2276 + int 2277 + main (int argc, char **argv) 2278 + { 2279 + int ok = 0; 2280 + ${ac_c_conftest_c89_main} 2281 + ${ac_c_conftest_c99_main} 2282 + ${ac_c_conftest_c11_main} 2283 + return ok; 2284 + } 2285 + " 2286 + 2287 + # Test code for whether the C compiler supports C99 (complete). 2288 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2289 + ${ac_c_conftest_c99_globals} 2290 + 2291 + int 2292 + main (int argc, char **argv) 2293 + { 2294 + int ok = 0; 2295 + ${ac_c_conftest_c89_main} 2296 + ${ac_c_conftest_c99_main} 2297 + return ok; 2298 + } 2299 + " 2300 + 2301 + # Test code for whether the C compiler supports C89 (complete). 2302 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2303 + 2304 + int 2305 + main (int argc, char **argv) 2306 + { 2307 + int ok = 0; 2308 + ${ac_c_conftest_c89_main} 2309 + return ok; 2310 + } 2311 + " 2312 + 2313 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2314 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2315 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2316 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2317 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2318 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2319 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2320 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2321 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2322 + 2323 + # Auxiliary files required by this configure script. 2324 + ac_aux_files="config.guess config.sub missing install-sh" 2325 + 2326 + # Locations in which to look for auxiliary files. 2327 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2328 + 2329 + # Search for a directory containing all of the required auxiliary files, 2330 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2331 + # If we don't find one directory that contains all the files we need, 2332 + # we report the set of missing files from the *first* directory in 2333 + # $ac_aux_dir_candidates and give up. 2334 + ac_missing_aux_files="" 2335 + ac_first_candidate=: 2336 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2337 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2338 + as_found=false 2339 + for as_dir in $ac_aux_dir_candidates 2340 + do 2341 + IFS=$as_save_IFS 2342 + case $as_dir in #((( 2343 + '') as_dir=./ ;; 2344 + */) ;; 2345 + *) as_dir=$as_dir/ ;; 2346 + esac 2347 + as_found=: 2348 + 2349 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2350 + ac_aux_dir_found=yes 2351 + ac_install_sh= 2352 + for ac_aux in $ac_aux_files 2353 + do 2354 + # As a special case, if "install-sh" is required, that requirement 2355 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2356 + # and $ac_install_sh is set appropriately for whichever one is found. 2357 + if test x"$ac_aux" = x"install-sh" 2358 + then 2359 + if test -f "${as_dir}install-sh"; then 2360 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2361 + ac_install_sh="${as_dir}install-sh -c" 2362 + elif test -f "${as_dir}install.sh"; then 2363 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2364 + ac_install_sh="${as_dir}install.sh -c" 2365 + elif test -f "${as_dir}shtool"; then 2366 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2367 + ac_install_sh="${as_dir}shtool install -c" 2368 + else 2369 + ac_aux_dir_found=no 2370 + if $ac_first_candidate; then 2371 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2372 + else 2373 + break 2374 + fi 2375 + fi 2376 + else 2377 + if test -f "${as_dir}${ac_aux}"; then 2378 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2379 + else 2380 + ac_aux_dir_found=no 2381 + if $ac_first_candidate; then 2382 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2383 + else 2384 + break 2385 + fi 2386 + fi 2387 + fi 2388 + done 2389 + if test "$ac_aux_dir_found" = yes; then 2390 + ac_aux_dir="$as_dir" 2391 + break 2392 + fi 2393 + ac_first_candidate=false 2394 + 2395 + as_found=false 2396 + done 2397 + IFS=$as_save_IFS 2398 + if $as_found 2399 + then : 2400 + 2401 + else $as_nop 2402 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2403 + fi 2404 + 2405 + 2406 + # These three variables are undocumented and unsupported, 2407 + # and are intended to be withdrawn in a future Autoconf release. 2408 + # They can cause serious problems if a builder's source tree is in a directory 2409 + # whose full name contains unusual characters. 2410 + if test -f "${ac_aux_dir}config.guess"; then 2411 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2412 + fi 2413 + if test -f "${ac_aux_dir}config.sub"; then 2414 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2415 + fi 2416 + if test -f "$ac_aux_dir/configure"; then 2417 + ac_configure="$SHELL ${ac_aux_dir}configure" 2418 + fi 2419 + 2042 2420 # Check that the precious variables saved in the cache have kept the same 2043 2421 # value. 2044 2422 ac_cache_corrupted=false ··· 2049 2427 eval ac_new_val=\$ac_env_${ac_var}_value 2050 2428 case $ac_old_set,$ac_new_set in 2051 2429 set,) 2052 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2053 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2430 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2431 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2054 2432 ac_cache_corrupted=: ;; 2055 2433 ,set) 2056 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2057 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2434 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2435 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2058 2436 ac_cache_corrupted=: ;; 2059 2437 ,);; 2060 2438 *) ··· 2063 2441 ac_old_val_w=`echo x $ac_old_val` 2064 2442 ac_new_val_w=`echo x $ac_new_val` 2065 2443 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2066 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2067 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2444 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2445 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2068 2446 ac_cache_corrupted=: 2069 2447 else 2070 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2071 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2448 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2449 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2072 2450 eval $ac_var=\$ac_old_val 2073 2451 fi 2074 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2075 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2076 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2077 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2452 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2453 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2454 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2455 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2078 2456 fi;; 2079 2457 esac 2080 2458 # Pass precious variables to config.status. 2081 2459 if test "$ac_new_set" = set; then 2082 2460 case $ac_new_val in 2083 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2461 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2084 2462 *) ac_arg=$ac_var=$ac_new_val ;; 2085 2463 esac 2086 2464 case " $ac_configure_args " in ··· 2090 2468 fi 2091 2469 done 2092 2470 if $ac_cache_corrupted; then 2093 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2094 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2095 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2096 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2097 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2472 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2473 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2474 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2475 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2476 + and start over" "$LINENO" 5 2098 2477 fi 2099 2478 ## -------------------- ## 2100 2479 ## Main body of script. ## ··· 2114 2493 # Initialize Automake 2115 2494 am__api_version='1.12' 2116 2495 2117 - ac_aux_dir= 2118 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2119 - if test -f "$ac_dir/install-sh"; then 2120 - ac_aux_dir=$ac_dir 2121 - ac_install_sh="$ac_aux_dir/install-sh -c" 2122 - break 2123 - elif test -f "$ac_dir/install.sh"; then 2124 - ac_aux_dir=$ac_dir 2125 - ac_install_sh="$ac_aux_dir/install.sh -c" 2126 - break 2127 - elif test -f "$ac_dir/shtool"; then 2128 - ac_aux_dir=$ac_dir 2129 - ac_install_sh="$ac_aux_dir/shtool install -c" 2130 - break 2131 - fi 2132 - done 2133 - if test -z "$ac_aux_dir"; then 2134 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2135 - fi 2136 2496 2137 - # These three variables are undocumented and unsupported, 2138 - # and are intended to be withdrawn in a future Autoconf release. 2139 - # They can cause serious problems if a builder's source tree is in a directory 2140 - # whose full name contains unusual characters. 2141 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2142 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2143 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2144 2497 2145 - 2146 - # Find a good install program. We prefer a C program (faster), 2498 + # Find a good install program. We prefer a C program (faster), 2147 2499 # so one script is as good as another. But avoid the broken or 2148 2500 # incompatible versions: 2149 2501 # SysV /etc/install, /usr/sbin/install ··· 2157 2509 # OS/2's system install, which has a completely different semantic 2158 2510 # ./install, which can be erroneously created by make from ./install.sh. 2159 2511 # Reject install programs that cannot install multiple files. 2160 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2161 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2512 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2513 + printf %s "checking for a BSD-compatible install... " >&6; } 2162 2514 if test -z "$INSTALL"; then 2163 - if ${ac_cv_path_install+:} false; then : 2164 - $as_echo_n "(cached) " >&6 2165 - else 2515 + if test ${ac_cv_path_install+y} 2516 + then : 2517 + printf %s "(cached) " >&6 2518 + else $as_nop 2166 2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2167 2520 for as_dir in $PATH 2168 2521 do 2169 2522 IFS=$as_save_IFS 2170 - test -z "$as_dir" && as_dir=. 2171 - # Account for people who put trailing slashes in PATH elements. 2172 - case $as_dir/ in #(( 2173 - ./ | .// | /[cC]/* | \ 2523 + case $as_dir in #((( 2524 + '') as_dir=./ ;; 2525 + */) ;; 2526 + *) as_dir=$as_dir/ ;; 2527 + esac 2528 + # Account for fact that we put trailing slashes in our PATH walk. 2529 + case $as_dir in #(( 2530 + ./ | /[cC]/* | \ 2174 2531 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2175 2532 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2176 2533 /usr/ucb/* ) ;; ··· 2180 2537 # by default. 2181 2538 for ac_prog in ginstall scoinst install; do 2182 2539 for ac_exec_ext in '' $ac_executable_extensions; do 2183 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2540 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2184 2541 if test $ac_prog = install && 2185 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2542 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2186 2543 # AIX install. It has an incompatible calling convention. 2187 2544 : 2188 2545 elif test $ac_prog = install && 2189 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2546 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2190 2547 # program-specific install script used by HP pwplus--don't use. 2191 2548 : 2192 2549 else ··· 2194 2551 echo one > conftest.one 2195 2552 echo two > conftest.two 2196 2553 mkdir conftest.dir 2197 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2554 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2198 2555 test -s conftest.one && test -s conftest.two && 2199 2556 test -s conftest.dir/conftest.one && 2200 2557 test -s conftest.dir/conftest.two 2201 2558 then 2202 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2559 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2203 2560 break 3 2204 2561 fi 2205 2562 fi ··· 2215 2572 rm -rf conftest.one conftest.two conftest.dir 2216 2573 2217 2574 fi 2218 - if test "${ac_cv_path_install+set}" = set; then 2575 + if test ${ac_cv_path_install+y}; then 2219 2576 INSTALL=$ac_cv_path_install 2220 2577 else 2221 2578 # As a last resort, use the slow shell script. Don't cache a ··· 2225 2582 INSTALL=$ac_install_sh 2226 2583 fi 2227 2584 fi 2228 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2229 - $as_echo "$INSTALL" >&6; } 2585 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2586 + printf "%s\n" "$INSTALL" >&6; } 2230 2587 2231 2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2232 2589 # It thinks the first close brace ends the variable substitution. ··· 2236 2593 2237 2594 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2238 2595 2239 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2240 - $as_echo_n "checking whether build environment is sane... " >&6; } 2596 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2597 + printf %s "checking whether build environment is sane... " >&6; } 2241 2598 # Reject unsafe characters in $srcdir or the absolute working directory 2242 2599 # name. Accept space and tab only in the latter. 2243 2600 am_lf=' ··· 2291 2648 as_fn_error $? "newly created file is older than distributed files! 2292 2649 Check your system clock" "$LINENO" 5 2293 2650 fi 2294 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2295 - $as_echo "yes" >&6; } 2651 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2652 + printf "%s\n" "yes" >&6; } 2296 2653 # If we didn't sleep, we still need to ensure time stamps of config.status and 2297 2654 # generated files are strictly newer. 2298 2655 am_sleep_pid= ··· 2311 2668 # Double any \ or $. 2312 2669 # By default was `s,x,x', remove it if useless. 2313 2670 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2314 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2671 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2315 2672 2316 2673 # expand $ac_aux_dir to an absolute path 2317 2674 am_aux_dir=`cd $ac_aux_dir && pwd` 2318 2675 2319 - if test x"${MISSING+set}" != xset; then 2676 + 2677 + if test x"${MISSING+set}" != xset; then 2320 2678 case $am_aux_dir in 2321 2679 *\ * | *\ *) 2322 2680 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2329 2687 am_missing_run="$MISSING --run " 2330 2688 else 2331 2689 am_missing_run= 2332 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2333 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2691 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2334 2692 fi 2335 2693 2336 2694 if test x"${install_sh}" != xset; then ··· 2350 2708 if test -n "$ac_tool_prefix"; then 2351 2709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2352 2710 set dummy ${ac_tool_prefix}strip; ac_word=$2 2353 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2354 - $as_echo_n "checking for $ac_word... " >&6; } 2355 - if ${ac_cv_prog_STRIP+:} false; then : 2356 - $as_echo_n "(cached) " >&6 2357 - else 2711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2712 + printf %s "checking for $ac_word... " >&6; } 2713 + if test ${ac_cv_prog_STRIP+y} 2714 + then : 2715 + printf %s "(cached) " >&6 2716 + else $as_nop 2358 2717 if test -n "$STRIP"; then 2359 2718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2360 2719 else ··· 2362 2721 for as_dir in $PATH 2363 2722 do 2364 2723 IFS=$as_save_IFS 2365 - test -z "$as_dir" && as_dir=. 2724 + case $as_dir in #((( 2725 + '') as_dir=./ ;; 2726 + */) ;; 2727 + *) as_dir=$as_dir/ ;; 2728 + esac 2366 2729 for ac_exec_ext in '' $ac_executable_extensions; do 2367 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2730 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2368 2731 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2369 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2732 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2370 2733 break 2 2371 2734 fi 2372 2735 done ··· 2377 2740 fi 2378 2741 STRIP=$ac_cv_prog_STRIP 2379 2742 if test -n "$STRIP"; then 2380 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2381 - $as_echo "$STRIP" >&6; } 2743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2744 + printf "%s\n" "$STRIP" >&6; } 2382 2745 else 2383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2384 - $as_echo "no" >&6; } 2746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2747 + printf "%s\n" "no" >&6; } 2385 2748 fi 2386 2749 2387 2750 ··· 2390 2753 ac_ct_STRIP=$STRIP 2391 2754 # Extract the first word of "strip", so it can be a program name with args. 2392 2755 set dummy strip; ac_word=$2 2393 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2394 - $as_echo_n "checking for $ac_word... " >&6; } 2395 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2396 - $as_echo_n "(cached) " >&6 2397 - else 2756 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2757 + printf %s "checking for $ac_word... " >&6; } 2758 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2759 + then : 2760 + printf %s "(cached) " >&6 2761 + else $as_nop 2398 2762 if test -n "$ac_ct_STRIP"; then 2399 2763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2400 2764 else ··· 2402 2766 for as_dir in $PATH 2403 2767 do 2404 2768 IFS=$as_save_IFS 2405 - test -z "$as_dir" && as_dir=. 2769 + case $as_dir in #((( 2770 + '') as_dir=./ ;; 2771 + */) ;; 2772 + *) as_dir=$as_dir/ ;; 2773 + esac 2406 2774 for ac_exec_ext in '' $ac_executable_extensions; do 2407 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2775 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2408 2776 ac_cv_prog_ac_ct_STRIP="strip" 2409 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2410 2778 break 2 2411 2779 fi 2412 2780 done ··· 2417 2785 fi 2418 2786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2419 2787 if test -n "$ac_ct_STRIP"; then 2420 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2421 - $as_echo "$ac_ct_STRIP" >&6; } 2788 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2789 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2422 2790 else 2423 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2424 - $as_echo "no" >&6; } 2791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2792 + printf "%s\n" "no" >&6; } 2425 2793 fi 2426 2794 2427 2795 if test "x$ac_ct_STRIP" = x; then ··· 2429 2797 else 2430 2798 case $cross_compiling:$ac_tool_warned in 2431 2799 yes:) 2432 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2433 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2800 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2801 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2434 2802 ac_tool_warned=yes ;; 2435 2803 esac 2436 2804 STRIP=$ac_ct_STRIP ··· 2442 2810 fi 2443 2811 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2444 2812 2445 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2446 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2813 + 2814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2815 + printf %s "checking for a race-free mkdir -p... " >&6; } 2447 2816 if test -z "$MKDIR_P"; then 2448 - if ${ac_cv_path_mkdir+:} false; then : 2449 - $as_echo_n "(cached) " >&6 2450 - else 2817 + if test ${ac_cv_path_mkdir+y} 2818 + then : 2819 + printf %s "(cached) " >&6 2820 + else $as_nop 2451 2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2452 2822 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2453 2823 do 2454 2824 IFS=$as_save_IFS 2455 - test -z "$as_dir" && as_dir=. 2825 + case $as_dir in #((( 2826 + '') as_dir=./ ;; 2827 + */) ;; 2828 + *) as_dir=$as_dir/ ;; 2829 + esac 2456 2830 for ac_prog in mkdir gmkdir; do 2457 2831 for ac_exec_ext in '' $ac_executable_extensions; do 2458 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2459 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2460 - 'mkdir (GNU coreutils) '* | \ 2461 - 'mkdir (coreutils) '* | \ 2832 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2833 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2834 + 'mkdir ('*'coreutils) '* | \ 2835 + 'BusyBox '* | \ 2462 2836 'mkdir (fileutils) '4.1*) 2463 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2837 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2464 2838 break 3;; 2465 2839 esac 2466 2840 done ··· 2471 2845 fi 2472 2846 2473 2847 test -d ./--version && rmdir ./--version 2474 - if test "${ac_cv_path_mkdir+set}" = set; then 2848 + if test ${ac_cv_path_mkdir+y}; then 2475 2849 MKDIR_P="$ac_cv_path_mkdir -p" 2476 2850 else 2477 2851 # As a last resort, use the slow shell script. Don't cache a ··· 2481 2855 MKDIR_P="$ac_install_sh -d" 2482 2856 fi 2483 2857 fi 2484 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2485 - $as_echo "$MKDIR_P" >&6; } 2858 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2859 + printf "%s\n" "$MKDIR_P" >&6; } 2486 2860 2487 2861 for ac_prog in gawk mawk nawk awk 2488 2862 do 2489 2863 # Extract the first word of "$ac_prog", so it can be a program name with args. 2490 2864 set dummy $ac_prog; ac_word=$2 2491 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2492 - $as_echo_n "checking for $ac_word... " >&6; } 2493 - if ${ac_cv_prog_AWK+:} false; then : 2494 - $as_echo_n "(cached) " >&6 2495 - else 2865 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2866 + printf %s "checking for $ac_word... " >&6; } 2867 + if test ${ac_cv_prog_AWK+y} 2868 + then : 2869 + printf %s "(cached) " >&6 2870 + else $as_nop 2496 2871 if test -n "$AWK"; then 2497 2872 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2498 2873 else ··· 2500 2875 for as_dir in $PATH 2501 2876 do 2502 2877 IFS=$as_save_IFS 2503 - test -z "$as_dir" && as_dir=. 2878 + case $as_dir in #((( 2879 + '') as_dir=./ ;; 2880 + */) ;; 2881 + *) as_dir=$as_dir/ ;; 2882 + esac 2504 2883 for ac_exec_ext in '' $ac_executable_extensions; do 2505 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2884 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2506 2885 ac_cv_prog_AWK="$ac_prog" 2507 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2886 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2508 2887 break 2 2509 2888 fi 2510 2889 done ··· 2515 2894 fi 2516 2895 AWK=$ac_cv_prog_AWK 2517 2896 if test -n "$AWK"; then 2518 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2519 - $as_echo "$AWK" >&6; } 2897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2898 + printf "%s\n" "$AWK" >&6; } 2520 2899 else 2521 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2522 - $as_echo "no" >&6; } 2900 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2901 + printf "%s\n" "no" >&6; } 2523 2902 fi 2524 2903 2525 2904 2526 2905 test -n "$AWK" && break 2527 2906 done 2528 2907 2529 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2530 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2908 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2909 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2531 2910 set x ${MAKE-make} 2532 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2533 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2534 - $as_echo_n "(cached) " >&6 2535 - else 2911 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2912 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2913 + then : 2914 + printf %s "(cached) " >&6 2915 + else $as_nop 2536 2916 cat >conftest.make <<\_ACEOF 2537 2917 SHELL = /bin/sh 2538 2918 all: ··· 2548 2928 rm -f conftest.make 2549 2929 fi 2550 2930 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2551 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2552 - $as_echo "yes" >&6; } 2931 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2932 + printf "%s\n" "yes" >&6; } 2553 2933 SET_MAKE= 2554 2934 else 2555 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2556 - $as_echo "no" >&6; } 2935 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2936 + printf "%s\n" "no" >&6; } 2557 2937 SET_MAKE="MAKE=${MAKE-make}" 2558 2938 fi 2559 2939 ··· 2588 2968 2589 2969 # Define the identity of the package. 2590 2970 PACKAGE='listres' 2591 - VERSION='1.0.5' 2971 + VERSION='1.0.6' 2592 2972 2593 2973 2594 - cat >>confdefs.h <<_ACEOF 2595 - #define PACKAGE "$PACKAGE" 2596 - _ACEOF 2974 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2597 2975 2598 2976 2599 - cat >>confdefs.h <<_ACEOF 2600 - #define VERSION "$VERSION" 2601 - _ACEOF 2977 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2602 2978 2603 2979 # Some tools Automake needs. 2604 2980 ··· 2647 3023 2648 3024 2649 3025 2650 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2651 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3026 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3027 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2652 3028 # Check whether --enable-maintainer-mode was given. 2653 - if test "${enable_maintainer_mode+set}" = set; then : 3029 + if test ${enable_maintainer_mode+y} 3030 + then : 2654 3031 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2655 - else 3032 + else $as_nop 2656 3033 USE_MAINTAINER_MODE=no 2657 3034 fi 2658 3035 2659 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2660 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 3036 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3037 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 2661 3038 if test $USE_MAINTAINER_MODE = yes; then 2662 3039 MAINTAINER_MODE_TRUE= 2663 3040 MAINTAINER_MODE_FALSE='#' ··· 2667 3044 fi 2668 3045 2669 3046 MAINT=$MAINTAINER_MODE_TRUE 3047 + 3048 + 3049 + 3050 + 3051 + 3052 + 3053 + 3054 + 3055 + 2670 3056 2671 3057 2672 3058 ··· 2682 3068 .PHONY: am__doit 2683 3069 END 2684 3070 # If we don't find an include directive, just comment out the code. 2685 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2686 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3072 + printf %s "checking for style of include used by $am_make... " >&6; } 2687 3073 am__include="#" 2688 3074 am__quote= 2689 3075 _am_result=none ··· 2710 3096 fi 2711 3097 2712 3098 2713 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2714 - $as_echo "$_am_result" >&6; } 3099 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3100 + printf "%s\n" "$_am_result" >&6; } 2715 3101 rm -f confinc confmf 2716 3102 2717 3103 # Check whether --enable-dependency-tracking was given. 2718 - if test "${enable_dependency_tracking+set}" = set; then : 3104 + if test ${enable_dependency_tracking+y} 3105 + then : 2719 3106 enableval=$enable_dependency_tracking; 2720 3107 fi 2721 3108 ··· 2741 3128 if test -n "$ac_tool_prefix"; then 2742 3129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2743 3130 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2744 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2745 - $as_echo_n "checking for $ac_word... " >&6; } 2746 - if ${ac_cv_prog_CC+:} false; then : 2747 - $as_echo_n "(cached) " >&6 2748 - else 3131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3132 + printf %s "checking for $ac_word... " >&6; } 3133 + if test ${ac_cv_prog_CC+y} 3134 + then : 3135 + printf %s "(cached) " >&6 3136 + else $as_nop 2749 3137 if test -n "$CC"; then 2750 3138 ac_cv_prog_CC="$CC" # Let the user override the test. 2751 3139 else ··· 2753 3141 for as_dir in $PATH 2754 3142 do 2755 3143 IFS=$as_save_IFS 2756 - test -z "$as_dir" && as_dir=. 3144 + case $as_dir in #((( 3145 + '') as_dir=./ ;; 3146 + */) ;; 3147 + *) as_dir=$as_dir/ ;; 3148 + esac 2757 3149 for ac_exec_ext in '' $ac_executable_extensions; do 2758 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3150 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2759 3151 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2760 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3152 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2761 3153 break 2 2762 3154 fi 2763 3155 done ··· 2768 3160 fi 2769 3161 CC=$ac_cv_prog_CC 2770 3162 if test -n "$CC"; then 2771 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2772 - $as_echo "$CC" >&6; } 3163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3164 + printf "%s\n" "$CC" >&6; } 2773 3165 else 2774 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2775 - $as_echo "no" >&6; } 3166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3167 + printf "%s\n" "no" >&6; } 2776 3168 fi 2777 3169 2778 3170 ··· 2781 3173 ac_ct_CC=$CC 2782 3174 # Extract the first word of "gcc", so it can be a program name with args. 2783 3175 set dummy gcc; ac_word=$2 2784 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2785 - $as_echo_n "checking for $ac_word... " >&6; } 2786 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2787 - $as_echo_n "(cached) " >&6 2788 - else 3176 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3177 + printf %s "checking for $ac_word... " >&6; } 3178 + if test ${ac_cv_prog_ac_ct_CC+y} 3179 + then : 3180 + printf %s "(cached) " >&6 3181 + else $as_nop 2789 3182 if test -n "$ac_ct_CC"; then 2790 3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2791 3184 else ··· 2793 3186 for as_dir in $PATH 2794 3187 do 2795 3188 IFS=$as_save_IFS 2796 - test -z "$as_dir" && as_dir=. 3189 + case $as_dir in #((( 3190 + '') as_dir=./ ;; 3191 + */) ;; 3192 + *) as_dir=$as_dir/ ;; 3193 + esac 2797 3194 for ac_exec_ext in '' $ac_executable_extensions; do 2798 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3195 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2799 3196 ac_cv_prog_ac_ct_CC="gcc" 2800 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3197 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2801 3198 break 2 2802 3199 fi 2803 3200 done ··· 2808 3205 fi 2809 3206 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2810 3207 if test -n "$ac_ct_CC"; then 2811 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2812 - $as_echo "$ac_ct_CC" >&6; } 3208 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3209 + printf "%s\n" "$ac_ct_CC" >&6; } 2813 3210 else 2814 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2815 - $as_echo "no" >&6; } 3211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3212 + printf "%s\n" "no" >&6; } 2816 3213 fi 2817 3214 2818 3215 if test "x$ac_ct_CC" = x; then ··· 2820 3217 else 2821 3218 case $cross_compiling:$ac_tool_warned in 2822 3219 yes:) 2823 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2824 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3220 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3221 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2825 3222 ac_tool_warned=yes ;; 2826 3223 esac 2827 3224 CC=$ac_ct_CC ··· 2834 3231 if test -n "$ac_tool_prefix"; then 2835 3232 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2836 3233 set dummy ${ac_tool_prefix}cc; ac_word=$2 2837 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2838 - $as_echo_n "checking for $ac_word... " >&6; } 2839 - if ${ac_cv_prog_CC+:} false; then : 2840 - $as_echo_n "(cached) " >&6 2841 - else 3234 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3235 + printf %s "checking for $ac_word... " >&6; } 3236 + if test ${ac_cv_prog_CC+y} 3237 + then : 3238 + printf %s "(cached) " >&6 3239 + else $as_nop 2842 3240 if test -n "$CC"; then 2843 3241 ac_cv_prog_CC="$CC" # Let the user override the test. 2844 3242 else ··· 2846 3244 for as_dir in $PATH 2847 3245 do 2848 3246 IFS=$as_save_IFS 2849 - test -z "$as_dir" && as_dir=. 3247 + case $as_dir in #((( 3248 + '') as_dir=./ ;; 3249 + */) ;; 3250 + *) as_dir=$as_dir/ ;; 3251 + esac 2850 3252 for ac_exec_ext in '' $ac_executable_extensions; do 2851 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3253 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2852 3254 ac_cv_prog_CC="${ac_tool_prefix}cc" 2853 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3255 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2854 3256 break 2 2855 3257 fi 2856 3258 done ··· 2861 3263 fi 2862 3264 CC=$ac_cv_prog_CC 2863 3265 if test -n "$CC"; then 2864 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2865 - $as_echo "$CC" >&6; } 3266 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3267 + printf "%s\n" "$CC" >&6; } 2866 3268 else 2867 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2868 - $as_echo "no" >&6; } 3269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3270 + printf "%s\n" "no" >&6; } 2869 3271 fi 2870 3272 2871 3273 ··· 2874 3276 if test -z "$CC"; then 2875 3277 # Extract the first word of "cc", so it can be a program name with args. 2876 3278 set dummy cc; ac_word=$2 2877 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2878 - $as_echo_n "checking for $ac_word... " >&6; } 2879 - if ${ac_cv_prog_CC+:} false; then : 2880 - $as_echo_n "(cached) " >&6 2881 - else 3279 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3280 + printf %s "checking for $ac_word... " >&6; } 3281 + if test ${ac_cv_prog_CC+y} 3282 + then : 3283 + printf %s "(cached) " >&6 3284 + else $as_nop 2882 3285 if test -n "$CC"; then 2883 3286 ac_cv_prog_CC="$CC" # Let the user override the test. 2884 3287 else ··· 2887 3290 for as_dir in $PATH 2888 3291 do 2889 3292 IFS=$as_save_IFS 2890 - test -z "$as_dir" && as_dir=. 3293 + case $as_dir in #((( 3294 + '') as_dir=./ ;; 3295 + */) ;; 3296 + *) as_dir=$as_dir/ ;; 3297 + esac 2891 3298 for ac_exec_ext in '' $ac_executable_extensions; do 2892 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2893 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3299 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3300 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2894 3301 ac_prog_rejected=yes 2895 3302 continue 2896 3303 fi 2897 3304 ac_cv_prog_CC="cc" 2898 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3305 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2899 3306 break 2 2900 3307 fi 2901 3308 done ··· 2911 3318 # However, it has the same basename, so the bogon will be chosen 2912 3319 # first if we set CC to just the basename; use the full file name. 2913 3320 shift 2914 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3321 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 2915 3322 fi 2916 3323 fi 2917 3324 fi 2918 3325 fi 2919 3326 CC=$ac_cv_prog_CC 2920 3327 if test -n "$CC"; then 2921 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2922 - $as_echo "$CC" >&6; } 3328 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3329 + printf "%s\n" "$CC" >&6; } 2923 3330 else 2924 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2925 - $as_echo "no" >&6; } 3331 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3332 + printf "%s\n" "no" >&6; } 2926 3333 fi 2927 3334 2928 3335 ··· 2933 3340 do 2934 3341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2935 3342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2936 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2937 - $as_echo_n "checking for $ac_word... " >&6; } 2938 - if ${ac_cv_prog_CC+:} false; then : 2939 - $as_echo_n "(cached) " >&6 2940 - else 3343 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3344 + printf %s "checking for $ac_word... " >&6; } 3345 + if test ${ac_cv_prog_CC+y} 3346 + then : 3347 + printf %s "(cached) " >&6 3348 + else $as_nop 2941 3349 if test -n "$CC"; then 2942 3350 ac_cv_prog_CC="$CC" # Let the user override the test. 2943 3351 else ··· 2945 3353 for as_dir in $PATH 2946 3354 do 2947 3355 IFS=$as_save_IFS 2948 - test -z "$as_dir" && as_dir=. 3356 + case $as_dir in #((( 3357 + '') as_dir=./ ;; 3358 + */) ;; 3359 + *) as_dir=$as_dir/ ;; 3360 + esac 2949 3361 for ac_exec_ext in '' $ac_executable_extensions; do 2950 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3362 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2951 3363 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2952 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3364 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2953 3365 break 2 2954 3366 fi 2955 3367 done ··· 2960 3372 fi 2961 3373 CC=$ac_cv_prog_CC 2962 3374 if test -n "$CC"; then 2963 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2964 - $as_echo "$CC" >&6; } 3375 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3376 + printf "%s\n" "$CC" >&6; } 2965 3377 else 2966 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2967 - $as_echo "no" >&6; } 3378 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3379 + printf "%s\n" "no" >&6; } 2968 3380 fi 2969 3381 2970 3382 ··· 2977 3389 do 2978 3390 # Extract the first word of "$ac_prog", so it can be a program name with args. 2979 3391 set dummy $ac_prog; ac_word=$2 2980 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2981 - $as_echo_n "checking for $ac_word... " >&6; } 2982 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2983 - $as_echo_n "(cached) " >&6 2984 - else 3392 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3393 + printf %s "checking for $ac_word... " >&6; } 3394 + if test ${ac_cv_prog_ac_ct_CC+y} 3395 + then : 3396 + printf %s "(cached) " >&6 3397 + else $as_nop 2985 3398 if test -n "$ac_ct_CC"; then 2986 3399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2987 3400 else ··· 2989 3402 for as_dir in $PATH 2990 3403 do 2991 3404 IFS=$as_save_IFS 2992 - test -z "$as_dir" && as_dir=. 3405 + case $as_dir in #((( 3406 + '') as_dir=./ ;; 3407 + */) ;; 3408 + *) as_dir=$as_dir/ ;; 3409 + esac 2993 3410 for ac_exec_ext in '' $ac_executable_extensions; do 2994 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3411 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2995 3412 ac_cv_prog_ac_ct_CC="$ac_prog" 2996 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3413 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2997 3414 break 2 2998 3415 fi 2999 3416 done ··· 3004 3421 fi 3005 3422 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3006 3423 if test -n "$ac_ct_CC"; then 3007 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3008 - $as_echo "$ac_ct_CC" >&6; } 3424 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3425 + printf "%s\n" "$ac_ct_CC" >&6; } 3009 3426 else 3010 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3011 - $as_echo "no" >&6; } 3427 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3428 + printf "%s\n" "no" >&6; } 3012 3429 fi 3013 3430 3014 3431 ··· 3020 3437 else 3021 3438 case $cross_compiling:$ac_tool_warned in 3022 3439 yes:) 3023 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3024 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3440 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3441 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3442 + ac_tool_warned=yes ;; 3443 + esac 3444 + CC=$ac_ct_CC 3445 + fi 3446 + fi 3447 + 3448 + fi 3449 + if test -z "$CC"; then 3450 + if test -n "$ac_tool_prefix"; then 3451 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3452 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3453 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3454 + printf %s "checking for $ac_word... " >&6; } 3455 + if test ${ac_cv_prog_CC+y} 3456 + then : 3457 + printf %s "(cached) " >&6 3458 + else $as_nop 3459 + if test -n "$CC"; then 3460 + ac_cv_prog_CC="$CC" # Let the user override the test. 3461 + else 3462 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3463 + for as_dir in $PATH 3464 + do 3465 + IFS=$as_save_IFS 3466 + case $as_dir in #((( 3467 + '') as_dir=./ ;; 3468 + */) ;; 3469 + *) as_dir=$as_dir/ ;; 3470 + esac 3471 + for ac_exec_ext in '' $ac_executable_extensions; do 3472 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3473 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3474 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3475 + break 2 3476 + fi 3477 + done 3478 + done 3479 + IFS=$as_save_IFS 3480 + 3481 + fi 3482 + fi 3483 + CC=$ac_cv_prog_CC 3484 + if test -n "$CC"; then 3485 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3486 + printf "%s\n" "$CC" >&6; } 3487 + else 3488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3489 + printf "%s\n" "no" >&6; } 3490 + fi 3491 + 3492 + 3493 + fi 3494 + if test -z "$ac_cv_prog_CC"; then 3495 + ac_ct_CC=$CC 3496 + # Extract the first word of "clang", so it can be a program name with args. 3497 + set dummy clang; ac_word=$2 3498 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3499 + printf %s "checking for $ac_word... " >&6; } 3500 + if test ${ac_cv_prog_ac_ct_CC+y} 3501 + then : 3502 + printf %s "(cached) " >&6 3503 + else $as_nop 3504 + if test -n "$ac_ct_CC"; then 3505 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3506 + else 3507 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3508 + for as_dir in $PATH 3509 + do 3510 + IFS=$as_save_IFS 3511 + case $as_dir in #((( 3512 + '') as_dir=./ ;; 3513 + */) ;; 3514 + *) as_dir=$as_dir/ ;; 3515 + esac 3516 + for ac_exec_ext in '' $ac_executable_extensions; do 3517 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3518 + ac_cv_prog_ac_ct_CC="clang" 3519 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3520 + break 2 3521 + fi 3522 + done 3523 + done 3524 + IFS=$as_save_IFS 3525 + 3526 + fi 3527 + fi 3528 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3529 + if test -n "$ac_ct_CC"; then 3530 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3531 + printf "%s\n" "$ac_ct_CC" >&6; } 3532 + else 3533 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3534 + printf "%s\n" "no" >&6; } 3535 + fi 3536 + 3537 + if test "x$ac_ct_CC" = x; then 3538 + CC="" 3539 + else 3540 + case $cross_compiling:$ac_tool_warned in 3541 + yes:) 3542 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3543 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3025 3544 ac_tool_warned=yes ;; 3026 3545 esac 3027 3546 CC=$ac_ct_CC 3028 3547 fi 3548 + else 3549 + CC="$ac_cv_prog_CC" 3029 3550 fi 3030 3551 3031 3552 fi 3032 3553 3033 3554 3034 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3035 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3555 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3556 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3036 3557 as_fn_error $? "no acceptable C compiler found in \$PATH 3037 3558 See \`config.log' for more details" "$LINENO" 5; } 3038 3559 3039 3560 # Provide some information about the compiler. 3040 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3561 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3041 3562 set X $ac_compile 3042 3563 ac_compiler=$2 3043 - for ac_option in --version -v -V -qversion; do 3564 + for ac_option in --version -v -V -qversion -version; do 3044 3565 { { ac_try="$ac_compiler $ac_option >&5" 3045 3566 case "(($ac_try" in 3046 3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3047 3568 *) ac_try_echo=$ac_try;; 3048 3569 esac 3049 3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3050 - $as_echo "$ac_try_echo"; } >&5 3571 + printf "%s\n" "$ac_try_echo"; } >&5 3051 3572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3052 3573 ac_status=$? 3053 3574 if test -s conftest.err; then ··· 3057 3578 cat conftest.er1 >&5 3058 3579 fi 3059 3580 rm -f conftest.er1 conftest.err 3060 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3581 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3061 3582 test $ac_status = 0; } 3062 3583 done 3063 3584 ··· 3065 3586 /* end confdefs.h. */ 3066 3587 3067 3588 int 3068 - main () 3589 + main (void) 3069 3590 { 3070 3591 3071 3592 ; ··· 3077 3598 # Try to create an executable without -o first, disregard a.out. 3078 3599 # It will help us diagnose broken compilers, and finding out an intuition 3079 3600 # of exeext. 3080 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3081 - $as_echo_n "checking whether the C compiler works... " >&6; } 3082 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3601 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3602 + printf %s "checking whether the C compiler works... " >&6; } 3603 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3083 3604 3084 3605 # The possible output files: 3085 3606 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3100 3621 *) ac_try_echo=$ac_try;; 3101 3622 esac 3102 3623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3103 - $as_echo "$ac_try_echo"; } >&5 3624 + printf "%s\n" "$ac_try_echo"; } >&5 3104 3625 (eval "$ac_link_default") 2>&5 3105 3626 ac_status=$? 3106 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3107 - test $ac_status = 0; }; then : 3627 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3628 + test $ac_status = 0; } 3629 + then : 3108 3630 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3109 3631 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3110 3632 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3121 3643 # certainly right. 3122 3644 break;; 3123 3645 *.* ) 3124 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3646 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3125 3647 then :; else 3126 3648 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3127 3649 fi ··· 3137 3659 done 3138 3660 test "$ac_cv_exeext" = no && ac_cv_exeext= 3139 3661 3140 - else 3662 + else $as_nop 3141 3663 ac_file='' 3142 3664 fi 3143 - if test -z "$ac_file"; then : 3144 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3145 - $as_echo "no" >&6; } 3146 - $as_echo "$as_me: failed program was:" >&5 3665 + if test -z "$ac_file" 3666 + then : 3667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3668 + printf "%s\n" "no" >&6; } 3669 + printf "%s\n" "$as_me: failed program was:" >&5 3147 3670 sed 's/^/| /' conftest.$ac_ext >&5 3148 3671 3149 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3150 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3672 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3673 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3151 3674 as_fn_error 77 "C compiler cannot create executables 3152 3675 See \`config.log' for more details" "$LINENO" 5; } 3153 - else 3154 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3155 - $as_echo "yes" >&6; } 3676 + else $as_nop 3677 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3678 + printf "%s\n" "yes" >&6; } 3156 3679 fi 3157 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3158 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3159 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3160 - $as_echo "$ac_file" >&6; } 3680 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3681 + printf %s "checking for C compiler default output file name... " >&6; } 3682 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3683 + printf "%s\n" "$ac_file" >&6; } 3161 3684 ac_exeext=$ac_cv_exeext 3162 3685 3163 3686 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3164 3687 ac_clean_files=$ac_clean_files_save 3165 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3166 - $as_echo_n "checking for suffix of executables... " >&6; } 3688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3689 + printf %s "checking for suffix of executables... " >&6; } 3167 3690 if { { ac_try="$ac_link" 3168 3691 case "(($ac_try" in 3169 3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3170 3693 *) ac_try_echo=$ac_try;; 3171 3694 esac 3172 3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3173 - $as_echo "$ac_try_echo"; } >&5 3696 + printf "%s\n" "$ac_try_echo"; } >&5 3174 3697 (eval "$ac_link") 2>&5 3175 3698 ac_status=$? 3176 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3177 - test $ac_status = 0; }; then : 3699 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3700 + test $ac_status = 0; } 3701 + then : 3178 3702 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3179 3703 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3180 3704 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3188 3712 * ) break;; 3189 3713 esac 3190 3714 done 3191 - else 3192 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3193 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3715 + else $as_nop 3716 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3717 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3194 3718 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3195 3719 See \`config.log' for more details" "$LINENO" 5; } 3196 3720 fi 3197 3721 rm -f conftest conftest$ac_cv_exeext 3198 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3199 - $as_echo "$ac_cv_exeext" >&6; } 3722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3723 + printf "%s\n" "$ac_cv_exeext" >&6; } 3200 3724 3201 3725 rm -f conftest.$ac_ext 3202 3726 EXEEXT=$ac_cv_exeext ··· 3205 3729 /* end confdefs.h. */ 3206 3730 #include <stdio.h> 3207 3731 int 3208 - main () 3732 + main (void) 3209 3733 { 3210 3734 FILE *f = fopen ("conftest.out", "w"); 3211 3735 return ferror (f) || fclose (f) != 0; ··· 3217 3741 ac_clean_files="$ac_clean_files conftest.out" 3218 3742 # Check that the compiler produces executables we can run. If not, either 3219 3743 # the compiler is broken, or we cross compile. 3220 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3221 - $as_echo_n "checking whether we are cross compiling... " >&6; } 3744 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3745 + printf %s "checking whether we are cross compiling... " >&6; } 3222 3746 if test "$cross_compiling" != yes; then 3223 3747 { { ac_try="$ac_link" 3224 3748 case "(($ac_try" in ··· 3226 3750 *) ac_try_echo=$ac_try;; 3227 3751 esac 3228 3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3229 - $as_echo "$ac_try_echo"; } >&5 3753 + printf "%s\n" "$ac_try_echo"; } >&5 3230 3754 (eval "$ac_link") 2>&5 3231 3755 ac_status=$? 3232 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3756 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3233 3757 test $ac_status = 0; } 3234 3758 if { ac_try='./conftest$ac_cv_exeext' 3235 3759 { { case "(($ac_try" in ··· 3237 3761 *) ac_try_echo=$ac_try;; 3238 3762 esac 3239 3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3240 - $as_echo "$ac_try_echo"; } >&5 3764 + printf "%s\n" "$ac_try_echo"; } >&5 3241 3765 (eval "$ac_try") 2>&5 3242 3766 ac_status=$? 3243 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3767 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3244 3768 test $ac_status = 0; }; }; then 3245 3769 cross_compiling=no 3246 3770 else 3247 3771 if test "$cross_compiling" = maybe; then 3248 3772 cross_compiling=yes 3249 3773 else 3250 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3251 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3252 - as_fn_error $? "cannot run C compiled programs. 3774 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3775 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3776 + as_fn_error 77 "cannot run C compiled programs. 3253 3777 If you meant to cross compile, use \`--host'. 3254 3778 See \`config.log' for more details" "$LINENO" 5; } 3255 3779 fi 3256 3780 fi 3257 3781 fi 3258 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3259 - $as_echo "$cross_compiling" >&6; } 3782 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3783 + printf "%s\n" "$cross_compiling" >&6; } 3260 3784 3261 3785 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3262 3786 ac_clean_files=$ac_clean_files_save 3263 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3264 - $as_echo_n "checking for suffix of object files... " >&6; } 3265 - if ${ac_cv_objext+:} false; then : 3266 - $as_echo_n "(cached) " >&6 3267 - else 3787 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3788 + printf %s "checking for suffix of object files... " >&6; } 3789 + if test ${ac_cv_objext+y} 3790 + then : 3791 + printf %s "(cached) " >&6 3792 + else $as_nop 3268 3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3269 3794 /* end confdefs.h. */ 3270 3795 3271 3796 int 3272 - main () 3797 + main (void) 3273 3798 { 3274 3799 3275 3800 ; ··· 3283 3808 *) ac_try_echo=$ac_try;; 3284 3809 esac 3285 3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3286 - $as_echo "$ac_try_echo"; } >&5 3811 + printf "%s\n" "$ac_try_echo"; } >&5 3287 3812 (eval "$ac_compile") 2>&5 3288 3813 ac_status=$? 3289 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3290 - test $ac_status = 0; }; then : 3814 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3815 + test $ac_status = 0; } 3816 + then : 3291 3817 for ac_file in conftest.o conftest.obj conftest.*; do 3292 3818 test -f "$ac_file" || continue; 3293 3819 case $ac_file in ··· 3296 3822 break;; 3297 3823 esac 3298 3824 done 3299 - else 3300 - $as_echo "$as_me: failed program was:" >&5 3825 + else $as_nop 3826 + printf "%s\n" "$as_me: failed program was:" >&5 3301 3827 sed 's/^/| /' conftest.$ac_ext >&5 3302 3828 3303 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3304 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3829 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3830 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3305 3831 as_fn_error $? "cannot compute suffix of object files: cannot compile 3306 3832 See \`config.log' for more details" "$LINENO" 5; } 3307 3833 fi 3308 3834 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3309 3835 fi 3310 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3311 - $as_echo "$ac_cv_objext" >&6; } 3836 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3837 + printf "%s\n" "$ac_cv_objext" >&6; } 3312 3838 OBJEXT=$ac_cv_objext 3313 3839 ac_objext=$OBJEXT 3314 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3315 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3316 - if ${ac_cv_c_compiler_gnu+:} false; then : 3317 - $as_echo_n "(cached) " >&6 3318 - else 3840 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3841 + printf %s "checking whether the compiler supports GNU C... " >&6; } 3842 + if test ${ac_cv_c_compiler_gnu+y} 3843 + then : 3844 + printf %s "(cached) " >&6 3845 + else $as_nop 3319 3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3320 3847 /* end confdefs.h. */ 3321 3848 3322 3849 int 3323 - main () 3850 + main (void) 3324 3851 { 3325 3852 #ifndef __GNUC__ 3326 3853 choke me ··· 3330 3857 return 0; 3331 3858 } 3332 3859 _ACEOF 3333 - if ac_fn_c_try_compile "$LINENO"; then : 3860 + if ac_fn_c_try_compile "$LINENO" 3861 + then : 3334 3862 ac_compiler_gnu=yes 3335 - else 3863 + else $as_nop 3336 3864 ac_compiler_gnu=no 3337 3865 fi 3338 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3866 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3339 3867 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3340 3868 3341 3869 fi 3342 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3343 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3871 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3872 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3873 + 3344 3874 if test $ac_compiler_gnu = yes; then 3345 3875 GCC=yes 3346 3876 else 3347 3877 GCC= 3348 3878 fi 3349 - ac_test_CFLAGS=${CFLAGS+set} 3879 + ac_test_CFLAGS=${CFLAGS+y} 3350 3880 ac_save_CFLAGS=$CFLAGS 3351 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3352 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3353 - if ${ac_cv_prog_cc_g+:} false; then : 3354 - $as_echo_n "(cached) " >&6 3355 - else 3881 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3882 + printf %s "checking whether $CC accepts -g... " >&6; } 3883 + if test ${ac_cv_prog_cc_g+y} 3884 + then : 3885 + printf %s "(cached) " >&6 3886 + else $as_nop 3356 3887 ac_save_c_werror_flag=$ac_c_werror_flag 3357 3888 ac_c_werror_flag=yes 3358 3889 ac_cv_prog_cc_g=no ··· 3361 3892 /* end confdefs.h. */ 3362 3893 3363 3894 int 3364 - main () 3895 + main (void) 3365 3896 { 3366 3897 3367 3898 ; 3368 3899 return 0; 3369 3900 } 3370 3901 _ACEOF 3371 - if ac_fn_c_try_compile "$LINENO"; then : 3902 + if ac_fn_c_try_compile "$LINENO" 3903 + then : 3372 3904 ac_cv_prog_cc_g=yes 3373 - else 3905 + else $as_nop 3374 3906 CFLAGS="" 3375 3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3376 3908 /* end confdefs.h. */ 3377 3909 3378 3910 int 3379 - main () 3911 + main (void) 3380 3912 { 3381 3913 3382 3914 ; 3383 3915 return 0; 3384 3916 } 3385 3917 _ACEOF 3386 - if ac_fn_c_try_compile "$LINENO"; then : 3918 + if ac_fn_c_try_compile "$LINENO" 3919 + then : 3387 3920 3388 - else 3921 + else $as_nop 3389 3922 ac_c_werror_flag=$ac_save_c_werror_flag 3390 3923 CFLAGS="-g" 3391 3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3392 3925 /* end confdefs.h. */ 3393 3926 3394 3927 int 3395 - main () 3928 + main (void) 3396 3929 { 3397 3930 3398 3931 ; 3399 3932 return 0; 3400 3933 } 3401 3934 _ACEOF 3402 - if ac_fn_c_try_compile "$LINENO"; then : 3935 + if ac_fn_c_try_compile "$LINENO" 3936 + then : 3403 3937 ac_cv_prog_cc_g=yes 3404 3938 fi 3405 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3939 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3406 3940 fi 3407 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3941 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3408 3942 fi 3409 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3943 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3410 3944 ac_c_werror_flag=$ac_save_c_werror_flag 3411 3945 fi 3412 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3413 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3414 - if test "$ac_test_CFLAGS" = set; then 3946 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3947 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3948 + if test $ac_test_CFLAGS; then 3415 3949 CFLAGS=$ac_save_CFLAGS 3416 3950 elif test $ac_cv_prog_cc_g = yes; then 3417 3951 if test "$GCC" = yes; then ··· 3426 3960 CFLAGS= 3427 3961 fi 3428 3962 fi 3429 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3430 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3431 - if ${ac_cv_prog_cc_c89+:} false; then : 3432 - $as_echo_n "(cached) " >&6 3433 - else 3434 - ac_cv_prog_cc_c89=no 3963 + ac_prog_cc_stdc=no 3964 + if test x$ac_prog_cc_stdc = xno 3965 + then : 3966 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3967 + printf %s "checking for $CC option to enable C11 features... " >&6; } 3968 + if test ${ac_cv_prog_cc_c11+y} 3969 + then : 3970 + printf %s "(cached) " >&6 3971 + else $as_nop 3972 + ac_cv_prog_cc_c11=no 3435 3973 ac_save_CC=$CC 3436 3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3437 3975 /* end confdefs.h. */ 3438 - #include <stdarg.h> 3439 - #include <stdio.h> 3440 - struct stat; 3441 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3442 - struct buf { int x; }; 3443 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3444 - static char *e (p, i) 3445 - char **p; 3446 - int i; 3447 - { 3448 - return p[i]; 3449 - } 3450 - static char *f (char * (*g) (char **, int), char **p, ...) 3451 - { 3452 - char *s; 3453 - va_list v; 3454 - va_start (v,p); 3455 - s = g (p, va_arg (v,int)); 3456 - va_end (v); 3457 - return s; 3458 - } 3459 - 3460 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3461 - function prototypes and stuff, but not '\xHH' hex character constants. 3462 - These don't provoke an error unfortunately, instead are silently treated 3463 - as 'x'. The following induces an error, until -std is added to get 3464 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3465 - array size at least. It's necessary to write '\x00'==0 to get something 3466 - that's true only with -std. */ 3467 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3976 + $ac_c_conftest_c11_program 3977 + _ACEOF 3978 + for ac_arg in '' -std=gnu11 3979 + do 3980 + CC="$ac_save_CC $ac_arg" 3981 + if ac_fn_c_try_compile "$LINENO" 3982 + then : 3983 + ac_cv_prog_cc_c11=$ac_arg 3984 + fi 3985 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3986 + test "x$ac_cv_prog_cc_c11" != "xno" && break 3987 + done 3988 + rm -f conftest.$ac_ext 3989 + CC=$ac_save_CC 3990 + fi 3468 3991 3469 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3470 - inside strings and character constants. */ 3471 - #define FOO(x) 'x' 3472 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3992 + if test "x$ac_cv_prog_cc_c11" = xno 3993 + then : 3994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3995 + printf "%s\n" "unsupported" >&6; } 3996 + else $as_nop 3997 + if test "x$ac_cv_prog_cc_c11" = x 3998 + then : 3999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4000 + printf "%s\n" "none needed" >&6; } 4001 + else $as_nop 4002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4003 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4004 + CC="$CC $ac_cv_prog_cc_c11" 4005 + fi 4006 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4007 + ac_prog_cc_stdc=c11 4008 + fi 4009 + fi 4010 + if test x$ac_prog_cc_stdc = xno 4011 + then : 4012 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4013 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4014 + if test ${ac_cv_prog_cc_c99+y} 4015 + then : 4016 + printf %s "(cached) " >&6 4017 + else $as_nop 4018 + ac_cv_prog_cc_c99=no 4019 + ac_save_CC=$CC 4020 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4021 + /* end confdefs.h. */ 4022 + $ac_c_conftest_c99_program 4023 + _ACEOF 4024 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4025 + do 4026 + CC="$ac_save_CC $ac_arg" 4027 + if ac_fn_c_try_compile "$LINENO" 4028 + then : 4029 + ac_cv_prog_cc_c99=$ac_arg 4030 + fi 4031 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4032 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4033 + done 4034 + rm -f conftest.$ac_ext 4035 + CC=$ac_save_CC 4036 + fi 3473 4037 3474 - int test (int i, double x); 3475 - struct s1 {int (*f) (int a);}; 3476 - struct s2 {int (*f) (double a);}; 3477 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3478 - int argc; 3479 - char **argv; 3480 - int 3481 - main () 3482 - { 3483 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3484 - ; 3485 - return 0; 3486 - } 4038 + if test "x$ac_cv_prog_cc_c99" = xno 4039 + then : 4040 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4041 + printf "%s\n" "unsupported" >&6; } 4042 + else $as_nop 4043 + if test "x$ac_cv_prog_cc_c99" = x 4044 + then : 4045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4046 + printf "%s\n" "none needed" >&6; } 4047 + else $as_nop 4048 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4049 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4050 + CC="$CC $ac_cv_prog_cc_c99" 4051 + fi 4052 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4053 + ac_prog_cc_stdc=c99 4054 + fi 4055 + fi 4056 + if test x$ac_prog_cc_stdc = xno 4057 + then : 4058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4059 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4060 + if test ${ac_cv_prog_cc_c89+y} 4061 + then : 4062 + printf %s "(cached) " >&6 4063 + else $as_nop 4064 + ac_cv_prog_cc_c89=no 4065 + ac_save_CC=$CC 4066 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4067 + /* end confdefs.h. */ 4068 + $ac_c_conftest_c89_program 3487 4069 _ACEOF 3488 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3489 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4070 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3490 4071 do 3491 4072 CC="$ac_save_CC $ac_arg" 3492 - if ac_fn_c_try_compile "$LINENO"; then : 4073 + if ac_fn_c_try_compile "$LINENO" 4074 + then : 3493 4075 ac_cv_prog_cc_c89=$ac_arg 3494 4076 fi 3495 - rm -f core conftest.err conftest.$ac_objext 4077 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3496 4078 test "x$ac_cv_prog_cc_c89" != "xno" && break 3497 4079 done 3498 4080 rm -f conftest.$ac_ext 3499 4081 CC=$ac_save_CC 4082 + fi 3500 4083 4084 + if test "x$ac_cv_prog_cc_c89" = xno 4085 + then : 4086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4087 + printf "%s\n" "unsupported" >&6; } 4088 + else $as_nop 4089 + if test "x$ac_cv_prog_cc_c89" = x 4090 + then : 4091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4092 + printf "%s\n" "none needed" >&6; } 4093 + else $as_nop 4094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4095 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4096 + CC="$CC $ac_cv_prog_cc_c89" 3501 4097 fi 3502 - # AC_CACHE_VAL 3503 - case "x$ac_cv_prog_cc_c89" in 3504 - x) 3505 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3506 - $as_echo "none needed" >&6; } ;; 3507 - xno) 3508 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3509 - $as_echo "unsupported" >&6; } ;; 3510 - *) 3511 - CC="$CC $ac_cv_prog_cc_c89" 3512 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3513 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3514 - esac 3515 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3516 - 4098 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4099 + ac_prog_cc_stdc=c89 4100 + fi 3517 4101 fi 3518 4102 3519 4103 ac_ext=c ··· 3524 4108 3525 4109 depcc="$CC" am_compiler_list= 3526 4110 3527 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3528 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3529 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3530 - $as_echo_n "(cached) " >&6 3531 - else 4111 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4112 + printf %s "checking dependency style of $depcc... " >&6; } 4113 + if test ${am_cv_CC_dependencies_compiler_type+y} 4114 + then : 4115 + printf %s "(cached) " >&6 4116 + else $as_nop 3532 4117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3533 4118 # We make a subdir and do the tests there. Otherwise we can end up 3534 4119 # making bogus files that we don't know about and never remove. For ··· 3635 4220 fi 3636 4221 3637 4222 fi 3638 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3639 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4224 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3640 4225 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3641 4226 3642 4227 if ··· 3650 4235 fi 3651 4236 3652 4237 3653 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3654 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3655 - if ${ac_cv_prog_cc_c99+:} false; then : 3656 - $as_echo_n "(cached) " >&6 3657 - else 3658 - ac_cv_prog_cc_c99=no 3659 - ac_save_CC=$CC 3660 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3661 - /* end confdefs.h. */ 3662 - #include <stdarg.h> 3663 - #include <stdbool.h> 3664 - #include <stdlib.h> 3665 - #include <wchar.h> 3666 - #include <stdio.h> 3667 4238 3668 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 3669 - #define debug(...) fprintf (stderr, __VA_ARGS__) 3670 - #define showlist(...) puts (#__VA_ARGS__) 3671 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3672 - static void 3673 - test_varargs_macros (void) 3674 - { 3675 - int x = 1234; 3676 - int y = 5678; 3677 - debug ("Flag"); 3678 - debug ("X = %d\n", x); 3679 - showlist (The first, second, and third items.); 3680 - report (x>y, "x is %d but y is %d", x, y); 3681 - } 3682 - 3683 - // Check long long types. 3684 - #define BIG64 18446744073709551615ull 3685 - #define BIG32 4294967295ul 3686 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3687 - #if !BIG_OK 3688 - your preprocessor is broken; 3689 - #endif 3690 - #if BIG_OK 3691 - #else 3692 - your preprocessor is broken; 3693 - #endif 3694 - static long long int bignum = -9223372036854775807LL; 3695 - static unsigned long long int ubignum = BIG64; 3696 - 3697 - struct incomplete_array 3698 - { 3699 - int datasize; 3700 - double data[]; 3701 - }; 3702 - 3703 - struct named_init { 3704 - int number; 3705 - const wchar_t *name; 3706 - double average; 3707 - }; 3708 - 3709 - typedef const char *ccp; 4239 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 4240 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 4241 + if test ${ac_cv_c_undeclared_builtin_options+y} 4242 + then : 4243 + printf %s "(cached) " >&6 4244 + else $as_nop 4245 + ac_save_CFLAGS=$CFLAGS 4246 + ac_cv_c_undeclared_builtin_options='cannot detect' 4247 + for ac_arg in '' -fno-builtin; do 4248 + CFLAGS="$ac_save_CFLAGS $ac_arg" 4249 + # This test program should *not* compile successfully. 4250 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4251 + /* end confdefs.h. */ 3710 4252 3711 - static inline int 3712 - test_restrict (ccp restrict text) 4253 + int 4254 + main (void) 3713 4255 { 3714 - // See if C++-style comments work. 3715 - // Iterate through items via the restricted pointer. 3716 - // Also check for declarations in for loops. 3717 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3718 - continue; 4256 + (void) strchr; 4257 + ; 3719 4258 return 0; 3720 4259 } 3721 - 3722 - // Check varargs and va_copy. 3723 - static void 3724 - test_varargs (const char *format, ...) 3725 - { 3726 - va_list args; 3727 - va_start (args, format); 3728 - va_list args_copy; 3729 - va_copy (args_copy, args); 3730 - 3731 - const char *str; 3732 - int number; 3733 - float fnumber; 4260 + _ACEOF 4261 + if ac_fn_c_try_compile "$LINENO" 4262 + then : 3734 4263 3735 - while (*format) 3736 - { 3737 - switch (*format++) 3738 - { 3739 - case 's': // string 3740 - str = va_arg (args_copy, const char *); 3741 - break; 3742 - case 'd': // int 3743 - number = va_arg (args_copy, int); 3744 - break; 3745 - case 'f': // float 3746 - fnumber = va_arg (args_copy, double); 3747 - break; 3748 - default: 3749 - break; 3750 - } 3751 - } 3752 - va_end (args_copy); 3753 - va_end (args); 3754 - } 4264 + else $as_nop 4265 + # This test program should compile successfully. 4266 + # No library function is consistently available on 4267 + # freestanding implementations, so test against a dummy 4268 + # declaration. Include always-available headers on the 4269 + # off chance that they somehow elicit warnings. 4270 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4271 + /* end confdefs.h. */ 4272 + #include <float.h> 4273 + #include <limits.h> 4274 + #include <stdarg.h> 4275 + #include <stddef.h> 4276 + extern void ac_decl (int, char *); 3755 4277 3756 4278 int 3757 - main () 4279 + main (void) 3758 4280 { 3759 - 3760 - // Check bool. 3761 - _Bool success = false; 3762 - 3763 - // Check restrict. 3764 - if (test_restrict ("String literal") == 0) 3765 - success = true; 3766 - char *restrict newvar = "Another string"; 3767 - 3768 - // Check varargs. 3769 - test_varargs ("s, d' f .", "string", 65, 34.234); 3770 - test_varargs_macros (); 3771 - 3772 - // Check flexible array members. 3773 - struct incomplete_array *ia = 3774 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3775 - ia->datasize = 10; 3776 - for (int i = 0; i < ia->datasize; ++i) 3777 - ia->data[i] = i * 1.234; 3778 - 3779 - // Check named initializers. 3780 - struct named_init ni = { 3781 - .number = 34, 3782 - .name = L"Test wide string", 3783 - .average = 543.34343, 3784 - }; 3785 - 3786 - ni.number = 58; 3787 - 3788 - int dynamic_array[ni.number]; 3789 - dynamic_array[ni.number - 1] = 543; 3790 - 3791 - // work around unused variable warnings 3792 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3793 - || dynamic_array[ni.number - 1] != 543); 4281 + (void) ac_decl (0, (char *) 0); 4282 + (void) ac_decl; 3794 4283 3795 4284 ; 3796 4285 return 0; 3797 4286 } 3798 4287 _ACEOF 3799 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3800 - do 3801 - CC="$ac_save_CC $ac_arg" 3802 - if ac_fn_c_try_compile "$LINENO"; then : 3803 - ac_cv_prog_cc_c99=$ac_arg 3804 - fi 3805 - rm -f core conftest.err conftest.$ac_objext 3806 - test "x$ac_cv_prog_cc_c99" != "xno" && break 3807 - done 3808 - rm -f conftest.$ac_ext 3809 - CC=$ac_save_CC 3810 - 3811 - fi 3812 - # AC_CACHE_VAL 3813 - case "x$ac_cv_prog_cc_c99" in 3814 - x) 3815 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3816 - $as_echo "none needed" >&6; } ;; 3817 - xno) 3818 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3819 - $as_echo "unsupported" >&6; } ;; 3820 - *) 3821 - CC="$CC $ac_cv_prog_cc_c99" 3822 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3823 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3824 - esac 3825 - if test "x$ac_cv_prog_cc_c99" != xno; then : 3826 - 3827 - fi 3828 - 3829 - 3830 - 3831 - ac_ext=c 3832 - ac_cpp='$CPP $CPPFLAGS' 3833 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3834 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3835 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3836 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3837 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 3838 - # On Suns, sometimes $CPP names a directory. 3839 - if test -n "$CPP" && test -d "$CPP"; then 3840 - CPP= 3841 - fi 3842 - if test -z "$CPP"; then 3843 - if ${ac_cv_prog_CPP+:} false; then : 3844 - $as_echo_n "(cached) " >&6 3845 - else 3846 - # Double quotes because CPP needs to be expanded 3847 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3848 - do 3849 - ac_preproc_ok=false 3850 - for ac_c_preproc_warn_flag in '' yes 3851 - do 3852 - # Use a header file that comes with gcc, so configuring glibc 3853 - # with a fresh cross-compiler works. 3854 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3855 - # <limits.h> exists even on freestanding compilers. 3856 - # On the NeXT, cc -E runs the code through the compiler's parser, 3857 - # not just through cpp. "Syntax error" is here to catch this case. 3858 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3859 - /* end confdefs.h. */ 3860 - #ifdef __STDC__ 3861 - # include <limits.h> 3862 - #else 3863 - # include <assert.h> 3864 - #endif 3865 - Syntax error 3866 - _ACEOF 3867 - if ac_fn_c_try_cpp "$LINENO"; then : 3868 - 3869 - else 3870 - # Broken: fails on valid input. 3871 - continue 4288 + if ac_fn_c_try_compile "$LINENO" 4289 + then : 4290 + if test x"$ac_arg" = x 4291 + then : 4292 + ac_cv_c_undeclared_builtin_options='none needed' 4293 + else $as_nop 4294 + ac_cv_c_undeclared_builtin_options=$ac_arg 3872 4295 fi 3873 - rm -f conftest.err conftest.i conftest.$ac_ext 3874 - 3875 - # OK, works on sane cases. Now check whether nonexistent headers 3876 - # can be detected and how. 3877 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3878 - /* end confdefs.h. */ 3879 - #include <ac_nonexistent.h> 3880 - _ACEOF 3881 - if ac_fn_c_try_cpp "$LINENO"; then : 3882 - # Broken: success on invalid input. 3883 - continue 3884 - else 3885 - # Passes both tests. 3886 - ac_preproc_ok=: 3887 - break 4296 + break 3888 4297 fi 3889 - rm -f conftest.err conftest.i conftest.$ac_ext 3890 - 3891 - done 3892 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3893 - rm -f conftest.i conftest.err conftest.$ac_ext 3894 - if $ac_preproc_ok; then : 3895 - break 4298 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3896 4299 fi 3897 - 4300 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3898 4301 done 3899 - ac_cv_prog_CPP=$CPP 3900 - 3901 - fi 3902 - CPP=$ac_cv_prog_CPP 3903 - else 3904 - ac_cv_prog_CPP=$CPP 3905 - fi 3906 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3907 - $as_echo "$CPP" >&6; } 3908 - ac_preproc_ok=false 3909 - for ac_c_preproc_warn_flag in '' yes 3910 - do 3911 - # Use a header file that comes with gcc, so configuring glibc 3912 - # with a fresh cross-compiler works. 3913 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3914 - # <limits.h> exists even on freestanding compilers. 3915 - # On the NeXT, cc -E runs the code through the compiler's parser, 3916 - # not just through cpp. "Syntax error" is here to catch this case. 3917 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3918 - /* end confdefs.h. */ 3919 - #ifdef __STDC__ 3920 - # include <limits.h> 3921 - #else 3922 - # include <assert.h> 3923 - #endif 3924 - Syntax error 3925 - _ACEOF 3926 - if ac_fn_c_try_cpp "$LINENO"; then : 3927 - 3928 - else 3929 - # Broken: fails on valid input. 3930 - continue 3931 - fi 3932 - rm -f conftest.err conftest.i conftest.$ac_ext 3933 - 3934 - # OK, works on sane cases. Now check whether nonexistent headers 3935 - # can be detected and how. 3936 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3937 - /* end confdefs.h. */ 3938 - #include <ac_nonexistent.h> 3939 - _ACEOF 3940 - if ac_fn_c_try_cpp "$LINENO"; then : 3941 - # Broken: success on invalid input. 3942 - continue 3943 - else 3944 - # Passes both tests. 3945 - ac_preproc_ok=: 3946 - break 3947 - fi 3948 - rm -f conftest.err conftest.i conftest.$ac_ext 4302 + CFLAGS=$ac_save_CFLAGS 3949 4303 3950 - done 3951 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3952 - rm -f conftest.i conftest.err conftest.$ac_ext 3953 - if $ac_preproc_ok; then : 3954 - 3955 - else 3956 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3957 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3958 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3959 - See \`config.log' for more details" "$LINENO" 5; } 3960 4304 fi 3961 - 3962 - ac_ext=c 3963 - ac_cpp='$CPP $CPPFLAGS' 3964 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3965 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3966 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3967 - 3968 - 3969 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3970 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3971 - if ${ac_cv_path_GREP+:} false; then : 3972 - $as_echo_n "(cached) " >&6 3973 - else 3974 - if test -z "$GREP"; then 3975 - ac_path_GREP_found=false 3976 - # Loop through the user's path and test for each of PROGNAME-LIST 3977 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3978 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3979 - do 3980 - IFS=$as_save_IFS 3981 - test -z "$as_dir" && as_dir=. 3982 - for ac_prog in grep ggrep; do 3983 - for ac_exec_ext in '' $ac_executable_extensions; do 3984 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3985 - as_fn_executable_p "$ac_path_GREP" || continue 3986 - # Check for GNU ac_path_GREP and select it if it is found. 3987 - # Check for GNU $ac_path_GREP 3988 - case `"$ac_path_GREP" --version 2>&1` in 3989 - *GNU*) 3990 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3991 - *) 3992 - ac_count=0 3993 - $as_echo_n 0123456789 >"conftest.in" 3994 - while : 3995 - do 3996 - cat "conftest.in" "conftest.in" >"conftest.tmp" 3997 - mv "conftest.tmp" "conftest.in" 3998 - cp "conftest.in" "conftest.nl" 3999 - $as_echo 'GREP' >> "conftest.nl" 4000 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4001 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4002 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4003 - if test $ac_count -gt ${ac_path_GREP_max-0}; then 4004 - # Best one so far, save it but keep looking for a better one 4005 - ac_cv_path_GREP="$ac_path_GREP" 4006 - ac_path_GREP_max=$ac_count 4007 - fi 4008 - # 10*(2^10) chars as input seems more than enough 4009 - test $ac_count -gt 10 && break 4010 - done 4011 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4305 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 4306 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 4307 + case $ac_cv_c_undeclared_builtin_options in #( 4308 + 'cannot detect') : 4309 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4310 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4311 + as_fn_error $? "cannot make $CC report undeclared builtins 4312 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 4313 + 'none needed') : 4314 + ac_c_undeclared_builtin_options='' ;; #( 4315 + *) : 4316 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 4012 4317 esac 4013 4318 4014 - $ac_path_GREP_found && break 3 4015 - done 4016 - done 4017 - done 4018 - IFS=$as_save_IFS 4019 - if test -z "$ac_cv_path_GREP"; then 4020 - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4021 - fi 4022 - else 4023 - ac_cv_path_GREP=$GREP 4024 - fi 4025 - 4026 - fi 4027 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4028 - $as_echo "$ac_cv_path_GREP" >&6; } 4029 - GREP="$ac_cv_path_GREP" 4030 - 4031 - 4032 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4033 - $as_echo_n "checking for egrep... " >&6; } 4034 - if ${ac_cv_path_EGREP+:} false; then : 4035 - $as_echo_n "(cached) " >&6 4036 - else 4037 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4038 - then ac_cv_path_EGREP="$GREP -E" 4039 - else 4040 - if test -z "$EGREP"; then 4041 - ac_path_EGREP_found=false 4042 - # Loop through the user's path and test for each of PROGNAME-LIST 4043 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4044 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4319 + ac_header= ac_cache= 4320 + for ac_item in $ac_header_c_list 4045 4321 do 4046 - IFS=$as_save_IFS 4047 - test -z "$as_dir" && as_dir=. 4048 - for ac_prog in egrep; do 4049 - for ac_exec_ext in '' $ac_executable_extensions; do 4050 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4051 - as_fn_executable_p "$ac_path_EGREP" || continue 4052 - # Check for GNU ac_path_EGREP and select it if it is found. 4053 - # Check for GNU $ac_path_EGREP 4054 - case `"$ac_path_EGREP" --version 2>&1` in 4055 - *GNU*) 4056 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4057 - *) 4058 - ac_count=0 4059 - $as_echo_n 0123456789 >"conftest.in" 4060 - while : 4061 - do 4062 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4063 - mv "conftest.tmp" "conftest.in" 4064 - cp "conftest.in" "conftest.nl" 4065 - $as_echo 'EGREP' >> "conftest.nl" 4066 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4067 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4068 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4069 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4070 - # Best one so far, save it but keep looking for a better one 4071 - ac_cv_path_EGREP="$ac_path_EGREP" 4072 - ac_path_EGREP_max=$ac_count 4322 + if test $ac_cache; then 4323 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 4324 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 4325 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 4073 4326 fi 4074 - # 10*(2^10) chars as input seems more than enough 4075 - test $ac_count -gt 10 && break 4076 - done 4077 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4078 - esac 4079 - 4080 - $ac_path_EGREP_found && break 3 4081 - done 4082 - done 4083 - done 4084 - IFS=$as_save_IFS 4085 - if test -z "$ac_cv_path_EGREP"; then 4086 - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4327 + ac_header= ac_cache= 4328 + elif test $ac_header; then 4329 + ac_cache=$ac_item 4330 + else 4331 + ac_header=$ac_item 4087 4332 fi 4088 - else 4089 - ac_cv_path_EGREP=$EGREP 4090 - fi 4333 + done 4091 4334 4092 - fi 4093 - fi 4094 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4095 - $as_echo "$ac_cv_path_EGREP" >&6; } 4096 - EGREP="$ac_cv_path_EGREP" 4097 4335 4098 4336 4099 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4100 - $as_echo_n "checking for ANSI C header files... " >&6; } 4101 - if ${ac_cv_header_stdc+:} false; then : 4102 - $as_echo_n "(cached) " >&6 4103 - else 4104 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4105 - /* end confdefs.h. */ 4106 - #include <stdlib.h> 4107 - #include <stdarg.h> 4108 - #include <string.h> 4109 - #include <float.h> 4110 4337 4111 - int 4112 - main () 4113 - { 4114 4338 4115 - ; 4116 - return 0; 4117 - } 4118 - _ACEOF 4119 - if ac_fn_c_try_compile "$LINENO"; then : 4120 - ac_cv_header_stdc=yes 4121 - else 4122 - ac_cv_header_stdc=no 4123 - fi 4124 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4125 4339 4126 - if test $ac_cv_header_stdc = yes; then 4127 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4128 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4129 - /* end confdefs.h. */ 4130 - #include <string.h> 4131 4340 4132 - _ACEOF 4133 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4134 - $EGREP "memchr" >/dev/null 2>&1; then : 4135 4341 4136 - else 4137 - ac_cv_header_stdc=no 4138 - fi 4139 - rm -f conftest* 4342 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 4343 + then : 4140 4344 4141 - fi 4345 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 4142 4346 4143 - if test $ac_cv_header_stdc = yes; then 4144 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4145 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4146 - /* end confdefs.h. */ 4147 - #include <stdlib.h> 4148 - 4149 - _ACEOF 4150 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4151 - $EGREP "free" >/dev/null 2>&1; then : 4152 - 4153 - else 4154 - ac_cv_header_stdc=no 4155 4347 fi 4156 - rm -f conftest* 4157 4348 4158 - fi 4159 4349 4160 - if test $ac_cv_header_stdc = yes; then 4161 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4162 - if test "$cross_compiling" = yes; then : 4163 - : 4164 - else 4165 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4166 - /* end confdefs.h. */ 4167 - #include <ctype.h> 4168 - #include <stdlib.h> 4169 - #if ((' ' & 0x0FF) == 0x020) 4170 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4171 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4172 - #else 4173 - # define ISLOWER(c) \ 4174 - (('a' <= (c) && (c) <= 'i') \ 4175 - || ('j' <= (c) && (c) <= 'r') \ 4176 - || ('s' <= (c) && (c) <= 'z')) 4177 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4178 - #endif 4179 4350 4180 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4181 - int 4182 - main () 4183 - { 4184 - int i; 4185 - for (i = 0; i < 256; i++) 4186 - if (XOR (islower (i), ISLOWER (i)) 4187 - || toupper (i) != TOUPPER (i)) 4188 - return 2; 4189 - return 0; 4190 - } 4191 - _ACEOF 4192 - if ac_fn_c_try_run "$LINENO"; then : 4193 - 4194 - else 4195 - ac_cv_header_stdc=no 4196 - fi 4197 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4198 - conftest.$ac_objext conftest.beam conftest.$ac_ext 4199 - fi 4200 - 4201 - fi 4202 - fi 4203 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4204 - $as_echo "$ac_cv_header_stdc" >&6; } 4205 - if test $ac_cv_header_stdc = yes; then 4206 - 4207 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4208 - 4209 - fi 4210 4351 4211 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4212 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4213 - inttypes.h stdint.h unistd.h 4214 - do : 4215 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4216 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4217 - " 4218 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4219 - cat >>confdefs.h <<_ACEOF 4220 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4221 - _ACEOF 4222 - 4223 - fi 4224 - 4225 - done 4226 - 4227 - 4228 - 4229 - 4230 - 4231 - 4232 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4233 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 4352 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4353 + if test "x$ac_cv_have_decl___clang__" = xyes 4354 + then : 4234 4355 CLANGCC="yes" 4235 - else 4356 + else $as_nop 4236 4357 CLANGCC="no" 4237 4358 fi 4238 - 4239 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4240 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4359 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4360 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 4361 + then : 4241 4362 INTELCC="yes" 4242 - else 4363 + else $as_nop 4243 4364 INTELCC="no" 4244 4365 fi 4245 - 4246 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4247 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4366 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4367 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 4368 + then : 4248 4369 SUNCC="yes" 4249 - else 4370 + else $as_nop 4250 4371 SUNCC="no" 4251 4372 fi 4252 4373 ··· 4257 4378 4258 4379 4259 4380 4260 - 4261 4381 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4262 4382 if test -n "$ac_tool_prefix"; then 4263 4383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4264 4384 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4265 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4266 - $as_echo_n "checking for $ac_word... " >&6; } 4267 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 4268 - $as_echo_n "(cached) " >&6 4269 - else 4385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4386 + printf %s "checking for $ac_word... " >&6; } 4387 + if test ${ac_cv_path_PKG_CONFIG+y} 4388 + then : 4389 + printf %s "(cached) " >&6 4390 + else $as_nop 4270 4391 case $PKG_CONFIG in 4271 4392 [\\/]* | ?:[\\/]*) 4272 4393 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 4276 4397 for as_dir in $PATH 4277 4398 do 4278 4399 IFS=$as_save_IFS 4279 - test -z "$as_dir" && as_dir=. 4400 + case $as_dir in #((( 4401 + '') as_dir=./ ;; 4402 + */) ;; 4403 + *) as_dir=$as_dir/ ;; 4404 + esac 4280 4405 for ac_exec_ext in '' $ac_executable_extensions; do 4281 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4282 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4283 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4406 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4407 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4408 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4284 4409 break 2 4285 4410 fi 4286 4411 done ··· 4292 4417 fi 4293 4418 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4294 4419 if test -n "$PKG_CONFIG"; then 4295 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4296 - $as_echo "$PKG_CONFIG" >&6; } 4420 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4421 + printf "%s\n" "$PKG_CONFIG" >&6; } 4297 4422 else 4298 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4299 - $as_echo "no" >&6; } 4423 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4424 + printf "%s\n" "no" >&6; } 4300 4425 fi 4301 4426 4302 4427 ··· 4305 4430 ac_pt_PKG_CONFIG=$PKG_CONFIG 4306 4431 # Extract the first word of "pkg-config", so it can be a program name with args. 4307 4432 set dummy pkg-config; ac_word=$2 4308 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4309 - $as_echo_n "checking for $ac_word... " >&6; } 4310 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4311 - $as_echo_n "(cached) " >&6 4312 - else 4433 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4434 + printf %s "checking for $ac_word... " >&6; } 4435 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 4436 + then : 4437 + printf %s "(cached) " >&6 4438 + else $as_nop 4313 4439 case $ac_pt_PKG_CONFIG in 4314 4440 [\\/]* | ?:[\\/]*) 4315 4441 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 4319 4445 for as_dir in $PATH 4320 4446 do 4321 4447 IFS=$as_save_IFS 4322 - test -z "$as_dir" && as_dir=. 4448 + case $as_dir in #((( 4449 + '') as_dir=./ ;; 4450 + */) ;; 4451 + *) as_dir=$as_dir/ ;; 4452 + esac 4323 4453 for ac_exec_ext in '' $ac_executable_extensions; do 4324 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4325 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4326 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4454 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4455 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4456 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4327 4457 break 2 4328 4458 fi 4329 4459 done ··· 4335 4465 fi 4336 4466 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4337 4467 if test -n "$ac_pt_PKG_CONFIG"; then 4338 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4339 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4468 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4469 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 4340 4470 else 4341 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4342 - $as_echo "no" >&6; } 4471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4472 + printf "%s\n" "no" >&6; } 4343 4473 fi 4344 4474 4345 4475 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 4347 4477 else 4348 4478 case $cross_compiling:$ac_tool_warned in 4349 4479 yes:) 4350 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4351 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4480 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4481 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4352 4482 ac_tool_warned=yes ;; 4353 4483 esac 4354 4484 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 4360 4490 fi 4361 4491 if test -n "$PKG_CONFIG"; then 4362 4492 _pkg_min_version=0.9.0 4363 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4364 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4494 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4365 4495 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4366 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4367 - $as_echo "yes" >&6; } 4496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4497 + printf "%s\n" "yes" >&6; } 4368 4498 else 4369 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4370 - $as_echo "no" >&6; } 4499 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4500 + printf "%s\n" "no" >&6; } 4371 4501 PKG_CONFIG="" 4372 4502 fi 4373 4503 fi 4374 - # Make sure we can run config.sub. 4375 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4376 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4504 + 4505 + 4506 + # Make sure we can run config.sub. 4507 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 4508 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 4377 4509 4378 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4379 - $as_echo_n "checking build system type... " >&6; } 4380 - if ${ac_cv_build+:} false; then : 4381 - $as_echo_n "(cached) " >&6 4382 - else 4510 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4511 + printf %s "checking build system type... " >&6; } 4512 + if test ${ac_cv_build+y} 4513 + then : 4514 + printf %s "(cached) " >&6 4515 + else $as_nop 4383 4516 ac_build_alias=$build_alias 4384 4517 test "x$ac_build_alias" = x && 4385 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4518 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 4386 4519 test "x$ac_build_alias" = x && 4387 4520 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4388 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4389 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4521 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 4522 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 4390 4523 4391 4524 fi 4392 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4393 - $as_echo "$ac_cv_build" >&6; } 4525 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4526 + printf "%s\n" "$ac_cv_build" >&6; } 4394 4527 case $ac_cv_build in 4395 4528 *-*-*) ;; 4396 4529 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 4409 4542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4410 4543 4411 4544 4412 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4413 - $as_echo_n "checking host system type... " >&6; } 4414 - if ${ac_cv_host+:} false; then : 4415 - $as_echo_n "(cached) " >&6 4416 - else 4545 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4546 + printf %s "checking host system type... " >&6; } 4547 + if test ${ac_cv_host+y} 4548 + then : 4549 + printf %s "(cached) " >&6 4550 + else $as_nop 4417 4551 if test "x$host_alias" = x; then 4418 4552 ac_cv_host=$ac_cv_build 4419 4553 else 4420 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4421 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4554 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 4555 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 4422 4556 fi 4423 4557 4424 4558 fi 4425 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4426 - $as_echo "$ac_cv_host" >&6; } 4559 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4560 + printf "%s\n" "$ac_cv_host" >&6; } 4427 4561 case $ac_cv_host in 4428 4562 *-*-*) ;; 4429 4563 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 4442 4576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4443 4577 4444 4578 4445 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4446 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4447 - if ${ac_cv_path_SED+:} false; then : 4448 - $as_echo_n "(cached) " >&6 4449 - else 4579 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4580 + printf %s "checking for a sed that does not truncate output... " >&6; } 4581 + if test ${ac_cv_path_SED+y} 4582 + then : 4583 + printf %s "(cached) " >&6 4584 + else $as_nop 4450 4585 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4451 4586 for ac_i in 1 2 3 4 5 6 7; do 4452 4587 ac_script="$ac_script$as_nl$ac_script" ··· 4460 4595 for as_dir in $PATH 4461 4596 do 4462 4597 IFS=$as_save_IFS 4463 - test -z "$as_dir" && as_dir=. 4464 - for ac_prog in sed gsed; do 4598 + case $as_dir in #((( 4599 + '') as_dir=./ ;; 4600 + */) ;; 4601 + *) as_dir=$as_dir/ ;; 4602 + esac 4603 + for ac_prog in sed gsed 4604 + do 4465 4605 for ac_exec_ext in '' $ac_executable_extensions; do 4466 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4606 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4467 4607 as_fn_executable_p "$ac_path_SED" || continue 4468 4608 # Check for GNU ac_path_SED and select it if it is found. 4469 4609 # Check for GNU $ac_path_SED ··· 4472 4612 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4473 4613 *) 4474 4614 ac_count=0 4475 - $as_echo_n 0123456789 >"conftest.in" 4615 + printf %s 0123456789 >"conftest.in" 4476 4616 while : 4477 4617 do 4478 4618 cat "conftest.in" "conftest.in" >"conftest.tmp" 4479 4619 mv "conftest.tmp" "conftest.in" 4480 4620 cp "conftest.in" "conftest.nl" 4481 - $as_echo '' >> "conftest.nl" 4621 + printf "%s\n" '' >> "conftest.nl" 4482 4622 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4483 4623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4484 4624 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4506 4646 fi 4507 4647 4508 4648 fi 4509 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4510 - $as_echo "$ac_cv_path_SED" >&6; } 4649 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4650 + printf "%s\n" "$ac_cv_path_SED" >&6; } 4511 4651 SED="$ac_cv_path_SED" 4512 4652 rm -f conftest.sed 4513 4653 ··· 4517 4657 4518 4658 4519 4659 # Check whether --enable-selective-werror was given. 4520 - if test "${enable_selective_werror+set}" = set; then : 4660 + if test ${enable_selective_werror+y} 4661 + then : 4521 4662 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 4522 - else 4663 + else $as_nop 4523 4664 SELECTIVE_WERROR=yes 4524 4665 fi 4525 4666 ··· 4552 4693 4553 4694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4554 4695 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4555 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4556 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4557 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4558 - $as_echo_n "(cached) " >&6 4559 - else 4696 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4697 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4698 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4699 + then : 4700 + printf %s "(cached) " >&6 4701 + else $as_nop 4560 4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4561 4703 /* end confdefs.h. */ 4562 4704 int i; 4563 4705 _ACEOF 4564 - if ac_fn_c_try_compile "$LINENO"; then : 4706 + if ac_fn_c_try_compile "$LINENO" 4707 + then : 4565 4708 xorg_cv_cc_flag_unknown_warning_option=yes 4566 - else 4709 + else $as_nop 4567 4710 xorg_cv_cc_flag_unknown_warning_option=no 4568 4711 fi 4569 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4712 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4570 4713 fi 4571 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4572 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4715 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4573 4716 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4574 4717 CFLAGS="$xorg_testset_save_CFLAGS" 4575 4718 fi ··· 4579 4722 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4580 4723 fi 4581 4724 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4582 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4583 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4584 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4585 - $as_echo_n "(cached) " >&6 4586 - else 4725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4726 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4727 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4728 + then : 4729 + printf %s "(cached) " >&6 4730 + else $as_nop 4587 4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4588 4732 /* end confdefs.h. */ 4589 4733 int i; 4590 4734 _ACEOF 4591 - if ac_fn_c_try_compile "$LINENO"; then : 4735 + if ac_fn_c_try_compile "$LINENO" 4736 + then : 4592 4737 xorg_cv_cc_flag_unused_command_line_argument=yes 4593 - else 4738 + else $as_nop 4594 4739 xorg_cv_cc_flag_unused_command_line_argument=no 4595 4740 fi 4596 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4741 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4597 4742 fi 4598 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4599 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4744 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4600 4745 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4601 4746 CFLAGS="$xorg_testset_save_CFLAGS" 4602 4747 fi ··· 4614 4759 4615 4760 CFLAGS="$CFLAGS -Wall" 4616 4761 4617 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4618 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 4762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4763 + printf %s "checking if $CC supports -Wall... " >&6; } 4619 4764 cacheid=xorg_cv_cc_flag__Wall 4620 - if eval \${$cacheid+:} false; then : 4621 - $as_echo_n "(cached) " >&6 4622 - else 4765 + if eval test \${$cacheid+y} 4766 + then : 4767 + printf %s "(cached) " >&6 4768 + else $as_nop 4623 4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4624 4770 /* end confdefs.h. */ 4625 4771 int i; 4626 4772 int 4627 - main () 4773 + main (void) 4628 4774 { 4629 4775 4630 4776 ; 4631 4777 return 0; 4632 4778 } 4633 4779 _ACEOF 4634 - if ac_fn_c_try_link "$LINENO"; then : 4780 + if ac_fn_c_try_link "$LINENO" 4781 + then : 4635 4782 eval $cacheid=yes 4636 - else 4783 + else $as_nop 4637 4784 eval $cacheid=no 4638 4785 fi 4639 - rm -f core conftest.err conftest.$ac_objext \ 4786 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4640 4787 conftest$ac_exeext conftest.$ac_ext 4641 4788 fi 4642 4789 ··· 4644 4791 CFLAGS="$xorg_testset_save_CFLAGS" 4645 4792 4646 4793 eval supported=\$$cacheid 4647 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4648 - $as_echo "$supported" >&6; } 4794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4795 + printf "%s\n" "$supported" >&6; } 4649 4796 if test "$supported" = "yes" ; then 4650 4797 BASE_CFLAGS="$BASE_CFLAGS -Wall" 4651 4798 found="yes" ··· 4670 4817 4671 4818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4672 4819 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4673 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4674 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4675 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4676 - $as_echo_n "(cached) " >&6 4677 - else 4820 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4821 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4822 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4823 + then : 4824 + printf %s "(cached) " >&6 4825 + else $as_nop 4678 4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4679 4827 /* end confdefs.h. */ 4680 4828 int i; 4681 4829 _ACEOF 4682 - if ac_fn_c_try_compile "$LINENO"; then : 4830 + if ac_fn_c_try_compile "$LINENO" 4831 + then : 4683 4832 xorg_cv_cc_flag_unknown_warning_option=yes 4684 - else 4833 + else $as_nop 4685 4834 xorg_cv_cc_flag_unknown_warning_option=no 4686 4835 fi 4687 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4836 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4688 4837 fi 4689 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4690 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4839 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4691 4840 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4692 4841 CFLAGS="$xorg_testset_save_CFLAGS" 4693 4842 fi ··· 4697 4846 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4698 4847 fi 4699 4848 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4700 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4701 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4702 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4703 - $as_echo_n "(cached) " >&6 4704 - else 4849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4850 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4851 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4852 + then : 4853 + printf %s "(cached) " >&6 4854 + else $as_nop 4705 4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4706 4856 /* end confdefs.h. */ 4707 4857 int i; 4708 4858 _ACEOF 4709 - if ac_fn_c_try_compile "$LINENO"; then : 4859 + if ac_fn_c_try_compile "$LINENO" 4860 + then : 4710 4861 xorg_cv_cc_flag_unused_command_line_argument=yes 4711 - else 4862 + else $as_nop 4712 4863 xorg_cv_cc_flag_unused_command_line_argument=no 4713 4864 fi 4714 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4865 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4715 4866 fi 4716 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4717 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4868 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4718 4869 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4719 4870 CFLAGS="$xorg_testset_save_CFLAGS" 4720 4871 fi ··· 4732 4883 4733 4884 CFLAGS="$CFLAGS -Wpointer-arith" 4734 4885 4735 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4736 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 4886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4887 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 4737 4888 cacheid=xorg_cv_cc_flag__Wpointer_arith 4738 - if eval \${$cacheid+:} false; then : 4739 - $as_echo_n "(cached) " >&6 4740 - else 4889 + if eval test \${$cacheid+y} 4890 + then : 4891 + printf %s "(cached) " >&6 4892 + else $as_nop 4741 4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4742 4894 /* end confdefs.h. */ 4743 4895 int i; 4744 4896 int 4745 - main () 4897 + main (void) 4746 4898 { 4747 4899 4748 4900 ; 4749 4901 return 0; 4750 4902 } 4751 4903 _ACEOF 4752 - if ac_fn_c_try_link "$LINENO"; then : 4904 + if ac_fn_c_try_link "$LINENO" 4905 + then : 4753 4906 eval $cacheid=yes 4754 - else 4907 + else $as_nop 4755 4908 eval $cacheid=no 4756 4909 fi 4757 - rm -f core conftest.err conftest.$ac_objext \ 4910 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4758 4911 conftest$ac_exeext conftest.$ac_ext 4759 4912 fi 4760 4913 ··· 4762 4915 CFLAGS="$xorg_testset_save_CFLAGS" 4763 4916 4764 4917 eval supported=\$$cacheid 4765 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4766 - $as_echo "$supported" >&6; } 4918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4919 + printf "%s\n" "$supported" >&6; } 4767 4920 if test "$supported" = "yes" ; then 4768 4921 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 4769 4922 found="yes" ··· 4788 4941 4789 4942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4790 4943 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4791 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4792 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4793 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4794 - $as_echo_n "(cached) " >&6 4795 - else 4944 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4945 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4946 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4947 + then : 4948 + printf %s "(cached) " >&6 4949 + else $as_nop 4796 4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4797 4951 /* end confdefs.h. */ 4798 4952 int i; 4799 4953 _ACEOF 4800 - if ac_fn_c_try_compile "$LINENO"; then : 4954 + if ac_fn_c_try_compile "$LINENO" 4955 + then : 4801 4956 xorg_cv_cc_flag_unknown_warning_option=yes 4802 - else 4957 + else $as_nop 4803 4958 xorg_cv_cc_flag_unknown_warning_option=no 4804 4959 fi 4805 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4960 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4806 4961 fi 4807 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4808 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4963 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4809 4964 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4810 4965 CFLAGS="$xorg_testset_save_CFLAGS" 4811 4966 fi ··· 4815 4970 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4816 4971 fi 4817 4972 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4818 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4819 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4820 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4821 - $as_echo_n "(cached) " >&6 4822 - else 4973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4974 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4975 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4976 + then : 4977 + printf %s "(cached) " >&6 4978 + else $as_nop 4823 4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4824 4980 /* end confdefs.h. */ 4825 4981 int i; 4826 4982 _ACEOF 4827 - if ac_fn_c_try_compile "$LINENO"; then : 4983 + if ac_fn_c_try_compile "$LINENO" 4984 + then : 4828 4985 xorg_cv_cc_flag_unused_command_line_argument=yes 4829 - else 4986 + else $as_nop 4830 4987 xorg_cv_cc_flag_unused_command_line_argument=no 4831 4988 fi 4832 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4989 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4833 4990 fi 4834 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4835 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4991 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4992 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4836 4993 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4837 4994 CFLAGS="$xorg_testset_save_CFLAGS" 4838 4995 fi ··· 4850 5007 4851 5008 CFLAGS="$CFLAGS -Wmissing-declarations" 4852 5009 4853 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 4854 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 5010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 5011 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 4855 5012 cacheid=xorg_cv_cc_flag__Wmissing_declarations 4856 - if eval \${$cacheid+:} false; then : 4857 - $as_echo_n "(cached) " >&6 4858 - else 5013 + if eval test \${$cacheid+y} 5014 + then : 5015 + printf %s "(cached) " >&6 5016 + else $as_nop 4859 5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4860 5018 /* end confdefs.h. */ 4861 5019 int i; 4862 5020 int 4863 - main () 5021 + main (void) 4864 5022 { 4865 5023 4866 5024 ; 4867 5025 return 0; 4868 5026 } 4869 5027 _ACEOF 4870 - if ac_fn_c_try_link "$LINENO"; then : 5028 + if ac_fn_c_try_link "$LINENO" 5029 + then : 4871 5030 eval $cacheid=yes 4872 - else 5031 + else $as_nop 4873 5032 eval $cacheid=no 4874 5033 fi 4875 - rm -f core conftest.err conftest.$ac_objext \ 5034 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4876 5035 conftest$ac_exeext conftest.$ac_ext 4877 5036 fi 4878 5037 ··· 4880 5039 CFLAGS="$xorg_testset_save_CFLAGS" 4881 5040 4882 5041 eval supported=\$$cacheid 4883 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4884 - $as_echo "$supported" >&6; } 5042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5043 + printf "%s\n" "$supported" >&6; } 4885 5044 if test "$supported" = "yes" ; then 4886 5045 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 4887 5046 found="yes" ··· 4906 5065 4907 5066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4908 5067 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4909 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4910 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4911 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4912 - $as_echo_n "(cached) " >&6 4913 - else 5068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5069 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5070 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5071 + then : 5072 + printf %s "(cached) " >&6 5073 + else $as_nop 4914 5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4915 5075 /* end confdefs.h. */ 4916 5076 int i; 4917 5077 _ACEOF 4918 - if ac_fn_c_try_compile "$LINENO"; then : 5078 + if ac_fn_c_try_compile "$LINENO" 5079 + then : 4919 5080 xorg_cv_cc_flag_unknown_warning_option=yes 4920 - else 5081 + else $as_nop 4921 5082 xorg_cv_cc_flag_unknown_warning_option=no 4922 5083 fi 4923 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5084 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4924 5085 fi 4925 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4926 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5087 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4927 5088 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4928 5089 CFLAGS="$xorg_testset_save_CFLAGS" 4929 5090 fi ··· 4933 5094 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4934 5095 fi 4935 5096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4936 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4937 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4938 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4939 - $as_echo_n "(cached) " >&6 4940 - else 5097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5098 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5099 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5100 + then : 5101 + printf %s "(cached) " >&6 5102 + else $as_nop 4941 5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4942 5104 /* end confdefs.h. */ 4943 5105 int i; 4944 5106 _ACEOF 4945 - if ac_fn_c_try_compile "$LINENO"; then : 5107 + if ac_fn_c_try_compile "$LINENO" 5108 + then : 4946 5109 xorg_cv_cc_flag_unused_command_line_argument=yes 4947 - else 5110 + else $as_nop 4948 5111 xorg_cv_cc_flag_unused_command_line_argument=no 4949 5112 fi 4950 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5113 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4951 5114 fi 4952 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4953 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5116 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4954 5117 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4955 5118 CFLAGS="$xorg_testset_save_CFLAGS" 4956 5119 fi ··· 4968 5131 4969 5132 CFLAGS="$CFLAGS -Wformat=2" 4970 5133 4971 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 4972 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 5134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5135 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 4973 5136 cacheid=xorg_cv_cc_flag__Wformat_2 4974 - if eval \${$cacheid+:} false; then : 4975 - $as_echo_n "(cached) " >&6 4976 - else 5137 + if eval test \${$cacheid+y} 5138 + then : 5139 + printf %s "(cached) " >&6 5140 + else $as_nop 4977 5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4978 5142 /* end confdefs.h. */ 4979 5143 int i; 4980 5144 int 4981 - main () 5145 + main (void) 4982 5146 { 4983 5147 4984 5148 ; 4985 5149 return 0; 4986 5150 } 4987 5151 _ACEOF 4988 - if ac_fn_c_try_link "$LINENO"; then : 5152 + if ac_fn_c_try_link "$LINENO" 5153 + then : 4989 5154 eval $cacheid=yes 4990 - else 5155 + else $as_nop 4991 5156 eval $cacheid=no 4992 5157 fi 4993 - rm -f core conftest.err conftest.$ac_objext \ 5158 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4994 5159 conftest$ac_exeext conftest.$ac_ext 4995 5160 fi 4996 5161 ··· 4998 5163 CFLAGS="$xorg_testset_save_CFLAGS" 4999 5164 5000 5165 eval supported=\$$cacheid 5001 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5002 - $as_echo "$supported" >&6; } 5166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5167 + printf "%s\n" "$supported" >&6; } 5003 5168 if test "$supported" = "yes" ; then 5004 5169 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 5005 5170 found="yes" ··· 5017 5182 5018 5183 CFLAGS="$CFLAGS -Wformat" 5019 5184 5020 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5021 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 5185 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5186 + printf %s "checking if $CC supports -Wformat... " >&6; } 5022 5187 cacheid=xorg_cv_cc_flag__Wformat 5023 - if eval \${$cacheid+:} false; then : 5024 - $as_echo_n "(cached) " >&6 5025 - else 5188 + if eval test \${$cacheid+y} 5189 + then : 5190 + printf %s "(cached) " >&6 5191 + else $as_nop 5026 5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5027 5193 /* end confdefs.h. */ 5028 5194 int i; 5029 5195 int 5030 - main () 5196 + main (void) 5031 5197 { 5032 5198 5033 5199 ; 5034 5200 return 0; 5035 5201 } 5036 5202 _ACEOF 5037 - if ac_fn_c_try_link "$LINENO"; then : 5203 + if ac_fn_c_try_link "$LINENO" 5204 + then : 5038 5205 eval $cacheid=yes 5039 - else 5206 + else $as_nop 5040 5207 eval $cacheid=no 5041 5208 fi 5042 - rm -f core conftest.err conftest.$ac_objext \ 5209 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5043 5210 conftest$ac_exeext conftest.$ac_ext 5044 5211 fi 5045 5212 ··· 5047 5214 CFLAGS="$xorg_testset_save_CFLAGS" 5048 5215 5049 5216 eval supported=\$$cacheid 5050 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5051 - $as_echo "$supported" >&6; } 5217 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5218 + printf "%s\n" "$supported" >&6; } 5052 5219 if test "$supported" = "yes" ; then 5053 5220 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 5054 5221 found="yes" ··· 5075 5242 5076 5243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5077 5244 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5078 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5079 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5080 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5081 - $as_echo_n "(cached) " >&6 5082 - else 5245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5246 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5247 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5248 + then : 5249 + printf %s "(cached) " >&6 5250 + else $as_nop 5083 5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5084 5252 /* end confdefs.h. */ 5085 5253 int i; 5086 5254 _ACEOF 5087 - if ac_fn_c_try_compile "$LINENO"; then : 5255 + if ac_fn_c_try_compile "$LINENO" 5256 + then : 5088 5257 xorg_cv_cc_flag_unknown_warning_option=yes 5089 - else 5258 + else $as_nop 5090 5259 xorg_cv_cc_flag_unknown_warning_option=no 5091 5260 fi 5092 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5261 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5093 5262 fi 5094 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5095 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5263 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5264 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5096 5265 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5097 5266 CFLAGS="$xorg_testset_save_CFLAGS" 5098 5267 fi ··· 5102 5271 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5103 5272 fi 5104 5273 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5105 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5106 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5107 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5108 - $as_echo_n "(cached) " >&6 5109 - else 5274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5275 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5276 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5277 + then : 5278 + printf %s "(cached) " >&6 5279 + else $as_nop 5110 5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5111 5281 /* end confdefs.h. */ 5112 5282 int i; 5113 5283 _ACEOF 5114 - if ac_fn_c_try_compile "$LINENO"; then : 5284 + if ac_fn_c_try_compile "$LINENO" 5285 + then : 5115 5286 xorg_cv_cc_flag_unused_command_line_argument=yes 5116 - else 5287 + else $as_nop 5117 5288 xorg_cv_cc_flag_unused_command_line_argument=no 5118 5289 fi 5119 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5290 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5120 5291 fi 5121 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5122 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5292 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5293 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5123 5294 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5124 5295 CFLAGS="$xorg_testset_save_CFLAGS" 5125 5296 fi ··· 5137 5308 5138 5309 CFLAGS="$CFLAGS -Wstrict-prototypes" 5139 5310 5140 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5141 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 5311 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5312 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 5142 5313 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 5143 - if eval \${$cacheid+:} false; then : 5144 - $as_echo_n "(cached) " >&6 5145 - else 5314 + if eval test \${$cacheid+y} 5315 + then : 5316 + printf %s "(cached) " >&6 5317 + else $as_nop 5146 5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5147 5319 /* end confdefs.h. */ 5148 5320 int i; 5149 5321 int 5150 - main () 5322 + main (void) 5151 5323 { 5152 5324 5153 5325 ; 5154 5326 return 0; 5155 5327 } 5156 5328 _ACEOF 5157 - if ac_fn_c_try_link "$LINENO"; then : 5329 + if ac_fn_c_try_link "$LINENO" 5330 + then : 5158 5331 eval $cacheid=yes 5159 - else 5332 + else $as_nop 5160 5333 eval $cacheid=no 5161 5334 fi 5162 - rm -f core conftest.err conftest.$ac_objext \ 5335 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5163 5336 conftest$ac_exeext conftest.$ac_ext 5164 5337 fi 5165 5338 ··· 5167 5340 CFLAGS="$xorg_testset_save_CFLAGS" 5168 5341 5169 5342 eval supported=\$$cacheid 5170 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5171 - $as_echo "$supported" >&6; } 5343 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5344 + printf "%s\n" "$supported" >&6; } 5172 5345 if test "$supported" = "yes" ; then 5173 5346 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 5174 5347 found="yes" ··· 5193 5366 5194 5367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5195 5368 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5196 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5197 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5198 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5199 - $as_echo_n "(cached) " >&6 5200 - else 5369 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5370 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5371 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5372 + then : 5373 + printf %s "(cached) " >&6 5374 + else $as_nop 5201 5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5202 5376 /* end confdefs.h. */ 5203 5377 int i; 5204 5378 _ACEOF 5205 - if ac_fn_c_try_compile "$LINENO"; then : 5379 + if ac_fn_c_try_compile "$LINENO" 5380 + then : 5206 5381 xorg_cv_cc_flag_unknown_warning_option=yes 5207 - else 5382 + else $as_nop 5208 5383 xorg_cv_cc_flag_unknown_warning_option=no 5209 5384 fi 5210 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5385 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5211 5386 fi 5212 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5213 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5388 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5214 5389 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5215 5390 CFLAGS="$xorg_testset_save_CFLAGS" 5216 5391 fi ··· 5220 5395 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5221 5396 fi 5222 5397 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5223 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5224 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5225 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5226 - $as_echo_n "(cached) " >&6 5227 - else 5398 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5399 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5400 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5401 + then : 5402 + printf %s "(cached) " >&6 5403 + else $as_nop 5228 5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5229 5405 /* end confdefs.h. */ 5230 5406 int i; 5231 5407 _ACEOF 5232 - if ac_fn_c_try_compile "$LINENO"; then : 5408 + if ac_fn_c_try_compile "$LINENO" 5409 + then : 5233 5410 xorg_cv_cc_flag_unused_command_line_argument=yes 5234 - else 5411 + else $as_nop 5235 5412 xorg_cv_cc_flag_unused_command_line_argument=no 5236 5413 fi 5237 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5414 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5238 5415 fi 5239 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5240 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5417 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5241 5418 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5242 5419 CFLAGS="$xorg_testset_save_CFLAGS" 5243 5420 fi ··· 5255 5432 5256 5433 CFLAGS="$CFLAGS -Wmissing-prototypes" 5257 5434 5258 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5259 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 5435 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5436 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 5260 5437 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 5261 - if eval \${$cacheid+:} false; then : 5262 - $as_echo_n "(cached) " >&6 5263 - else 5438 + if eval test \${$cacheid+y} 5439 + then : 5440 + printf %s "(cached) " >&6 5441 + else $as_nop 5264 5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5265 5443 /* end confdefs.h. */ 5266 5444 int i; 5267 5445 int 5268 - main () 5446 + main (void) 5269 5447 { 5270 5448 5271 5449 ; 5272 5450 return 0; 5273 5451 } 5274 5452 _ACEOF 5275 - if ac_fn_c_try_link "$LINENO"; then : 5453 + if ac_fn_c_try_link "$LINENO" 5454 + then : 5276 5455 eval $cacheid=yes 5277 - else 5456 + else $as_nop 5278 5457 eval $cacheid=no 5279 5458 fi 5280 - rm -f core conftest.err conftest.$ac_objext \ 5459 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5281 5460 conftest$ac_exeext conftest.$ac_ext 5282 5461 fi 5283 5462 ··· 5285 5464 CFLAGS="$xorg_testset_save_CFLAGS" 5286 5465 5287 5466 eval supported=\$$cacheid 5288 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5289 - $as_echo "$supported" >&6; } 5467 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5468 + printf "%s\n" "$supported" >&6; } 5290 5469 if test "$supported" = "yes" ; then 5291 5470 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 5292 5471 found="yes" ··· 5311 5490 5312 5491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5313 5492 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5314 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5315 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5316 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5317 - $as_echo_n "(cached) " >&6 5318 - else 5493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5494 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5495 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5496 + then : 5497 + printf %s "(cached) " >&6 5498 + else $as_nop 5319 5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5320 5500 /* end confdefs.h. */ 5321 5501 int i; 5322 5502 _ACEOF 5323 - if ac_fn_c_try_compile "$LINENO"; then : 5503 + if ac_fn_c_try_compile "$LINENO" 5504 + then : 5324 5505 xorg_cv_cc_flag_unknown_warning_option=yes 5325 - else 5506 + else $as_nop 5326 5507 xorg_cv_cc_flag_unknown_warning_option=no 5327 5508 fi 5328 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5509 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5329 5510 fi 5330 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5331 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5512 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5332 5513 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5333 5514 CFLAGS="$xorg_testset_save_CFLAGS" 5334 5515 fi ··· 5338 5519 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5339 5520 fi 5340 5521 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5341 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5342 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5343 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5344 - $as_echo_n "(cached) " >&6 5345 - else 5522 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5523 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5524 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5525 + then : 5526 + printf %s "(cached) " >&6 5527 + else $as_nop 5346 5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5347 5529 /* end confdefs.h. */ 5348 5530 int i; 5349 5531 _ACEOF 5350 - if ac_fn_c_try_compile "$LINENO"; then : 5532 + if ac_fn_c_try_compile "$LINENO" 5533 + then : 5351 5534 xorg_cv_cc_flag_unused_command_line_argument=yes 5352 - else 5535 + else $as_nop 5353 5536 xorg_cv_cc_flag_unused_command_line_argument=no 5354 5537 fi 5355 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5538 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5356 5539 fi 5357 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5358 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5541 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5359 5542 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5360 5543 CFLAGS="$xorg_testset_save_CFLAGS" 5361 5544 fi ··· 5373 5556 5374 5557 CFLAGS="$CFLAGS -Wnested-externs" 5375 5558 5376 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5377 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 5559 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5560 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 5378 5561 cacheid=xorg_cv_cc_flag__Wnested_externs 5379 - if eval \${$cacheid+:} false; then : 5380 - $as_echo_n "(cached) " >&6 5381 - else 5562 + if eval test \${$cacheid+y} 5563 + then : 5564 + printf %s "(cached) " >&6 5565 + else $as_nop 5382 5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5383 5567 /* end confdefs.h. */ 5384 5568 int i; 5385 5569 int 5386 - main () 5570 + main (void) 5387 5571 { 5388 5572 5389 5573 ; 5390 5574 return 0; 5391 5575 } 5392 5576 _ACEOF 5393 - if ac_fn_c_try_link "$LINENO"; then : 5577 + if ac_fn_c_try_link "$LINENO" 5578 + then : 5394 5579 eval $cacheid=yes 5395 - else 5580 + else $as_nop 5396 5581 eval $cacheid=no 5397 5582 fi 5398 - rm -f core conftest.err conftest.$ac_objext \ 5583 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5399 5584 conftest$ac_exeext conftest.$ac_ext 5400 5585 fi 5401 5586 ··· 5403 5588 CFLAGS="$xorg_testset_save_CFLAGS" 5404 5589 5405 5590 eval supported=\$$cacheid 5406 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5407 - $as_echo "$supported" >&6; } 5591 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5592 + printf "%s\n" "$supported" >&6; } 5408 5593 if test "$supported" = "yes" ; then 5409 5594 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 5410 5595 found="yes" ··· 5429 5614 5430 5615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5431 5616 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5432 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5433 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5434 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5435 - $as_echo_n "(cached) " >&6 5436 - else 5617 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5618 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5619 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5620 + then : 5621 + printf %s "(cached) " >&6 5622 + else $as_nop 5437 5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5438 5624 /* end confdefs.h. */ 5439 5625 int i; 5440 5626 _ACEOF 5441 - if ac_fn_c_try_compile "$LINENO"; then : 5627 + if ac_fn_c_try_compile "$LINENO" 5628 + then : 5442 5629 xorg_cv_cc_flag_unknown_warning_option=yes 5443 - else 5630 + else $as_nop 5444 5631 xorg_cv_cc_flag_unknown_warning_option=no 5445 5632 fi 5446 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5633 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5447 5634 fi 5448 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5449 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5636 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5450 5637 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5451 5638 CFLAGS="$xorg_testset_save_CFLAGS" 5452 5639 fi ··· 5456 5643 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5457 5644 fi 5458 5645 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5459 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5460 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5461 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5462 - $as_echo_n "(cached) " >&6 5463 - else 5646 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5647 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5648 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5649 + then : 5650 + printf %s "(cached) " >&6 5651 + else $as_nop 5464 5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5465 5653 /* end confdefs.h. */ 5466 5654 int i; 5467 5655 _ACEOF 5468 - if ac_fn_c_try_compile "$LINENO"; then : 5656 + if ac_fn_c_try_compile "$LINENO" 5657 + then : 5469 5658 xorg_cv_cc_flag_unused_command_line_argument=yes 5470 - else 5659 + else $as_nop 5471 5660 xorg_cv_cc_flag_unused_command_line_argument=no 5472 5661 fi 5473 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5662 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5474 5663 fi 5475 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5476 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5664 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5665 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5477 5666 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5478 5667 CFLAGS="$xorg_testset_save_CFLAGS" 5479 5668 fi ··· 5491 5680 5492 5681 CFLAGS="$CFLAGS -Wbad-function-cast" 5493 5682 5494 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5495 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 5683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5684 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 5496 5685 cacheid=xorg_cv_cc_flag__Wbad_function_cast 5497 - if eval \${$cacheid+:} false; then : 5498 - $as_echo_n "(cached) " >&6 5499 - else 5686 + if eval test \${$cacheid+y} 5687 + then : 5688 + printf %s "(cached) " >&6 5689 + else $as_nop 5500 5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5501 5691 /* end confdefs.h. */ 5502 5692 int i; 5503 5693 int 5504 - main () 5694 + main (void) 5505 5695 { 5506 5696 5507 5697 ; 5508 5698 return 0; 5509 5699 } 5510 5700 _ACEOF 5511 - if ac_fn_c_try_link "$LINENO"; then : 5701 + if ac_fn_c_try_link "$LINENO" 5702 + then : 5512 5703 eval $cacheid=yes 5513 - else 5704 + else $as_nop 5514 5705 eval $cacheid=no 5515 5706 fi 5516 - rm -f core conftest.err conftest.$ac_objext \ 5707 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5517 5708 conftest$ac_exeext conftest.$ac_ext 5518 5709 fi 5519 5710 ··· 5521 5712 CFLAGS="$xorg_testset_save_CFLAGS" 5522 5713 5523 5714 eval supported=\$$cacheid 5524 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5525 - $as_echo "$supported" >&6; } 5715 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5716 + printf "%s\n" "$supported" >&6; } 5526 5717 if test "$supported" = "yes" ; then 5527 5718 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 5528 5719 found="yes" ··· 5547 5738 5548 5739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5549 5740 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5550 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5551 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5552 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5553 - $as_echo_n "(cached) " >&6 5554 - else 5741 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5742 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5743 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5744 + then : 5745 + printf %s "(cached) " >&6 5746 + else $as_nop 5555 5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5556 5748 /* end confdefs.h. */ 5557 5749 int i; 5558 5750 _ACEOF 5559 - if ac_fn_c_try_compile "$LINENO"; then : 5751 + if ac_fn_c_try_compile "$LINENO" 5752 + then : 5560 5753 xorg_cv_cc_flag_unknown_warning_option=yes 5561 - else 5754 + else $as_nop 5562 5755 xorg_cv_cc_flag_unknown_warning_option=no 5563 5756 fi 5564 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5757 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5565 5758 fi 5566 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5567 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5760 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5568 5761 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5569 5762 CFLAGS="$xorg_testset_save_CFLAGS" 5570 5763 fi ··· 5574 5767 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5575 5768 fi 5576 5769 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5577 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5578 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5579 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5580 - $as_echo_n "(cached) " >&6 5581 - else 5770 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5771 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5772 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5773 + then : 5774 + printf %s "(cached) " >&6 5775 + else $as_nop 5582 5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5583 5777 /* end confdefs.h. */ 5584 5778 int i; 5585 5779 _ACEOF 5586 - if ac_fn_c_try_compile "$LINENO"; then : 5780 + if ac_fn_c_try_compile "$LINENO" 5781 + then : 5587 5782 xorg_cv_cc_flag_unused_command_line_argument=yes 5588 - else 5783 + else $as_nop 5589 5784 xorg_cv_cc_flag_unused_command_line_argument=no 5590 5785 fi 5591 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5786 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5592 5787 fi 5593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5594 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5788 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5789 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5595 5790 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5596 5791 CFLAGS="$xorg_testset_save_CFLAGS" 5597 5792 fi ··· 5609 5804 5610 5805 CFLAGS="$CFLAGS -Wold-style-definition" 5611 5806 5612 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5613 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 5807 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5808 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 5614 5809 cacheid=xorg_cv_cc_flag__Wold_style_definition 5615 - if eval \${$cacheid+:} false; then : 5616 - $as_echo_n "(cached) " >&6 5617 - else 5810 + if eval test \${$cacheid+y} 5811 + then : 5812 + printf %s "(cached) " >&6 5813 + else $as_nop 5618 5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5619 5815 /* end confdefs.h. */ 5620 5816 int i; 5621 5817 int 5622 - main () 5818 + main (void) 5623 5819 { 5624 5820 5625 5821 ; 5626 5822 return 0; 5627 5823 } 5628 5824 _ACEOF 5629 - if ac_fn_c_try_link "$LINENO"; then : 5825 + if ac_fn_c_try_link "$LINENO" 5826 + then : 5630 5827 eval $cacheid=yes 5631 - else 5828 + else $as_nop 5632 5829 eval $cacheid=no 5633 5830 fi 5634 - rm -f core conftest.err conftest.$ac_objext \ 5831 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5635 5832 conftest$ac_exeext conftest.$ac_ext 5636 5833 fi 5637 5834 ··· 5639 5836 CFLAGS="$xorg_testset_save_CFLAGS" 5640 5837 5641 5838 eval supported=\$$cacheid 5642 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5643 - $as_echo "$supported" >&6; } 5839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5840 + printf "%s\n" "$supported" >&6; } 5644 5841 if test "$supported" = "yes" ; then 5645 5842 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 5646 5843 found="yes" ··· 5658 5855 5659 5856 CFLAGS="$CFLAGS -fd" 5660 5857 5661 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5662 - $as_echo_n "checking if $CC supports -fd... " >&6; } 5858 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5859 + printf %s "checking if $CC supports -fd... " >&6; } 5663 5860 cacheid=xorg_cv_cc_flag__fd 5664 - if eval \${$cacheid+:} false; then : 5665 - $as_echo_n "(cached) " >&6 5666 - else 5861 + if eval test \${$cacheid+y} 5862 + then : 5863 + printf %s "(cached) " >&6 5864 + else $as_nop 5667 5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5668 5866 /* end confdefs.h. */ 5669 5867 int i; 5670 5868 int 5671 - main () 5869 + main (void) 5672 5870 { 5673 5871 5674 5872 ; 5675 5873 return 0; 5676 5874 } 5677 5875 _ACEOF 5678 - if ac_fn_c_try_link "$LINENO"; then : 5876 + if ac_fn_c_try_link "$LINENO" 5877 + then : 5679 5878 eval $cacheid=yes 5680 - else 5879 + else $as_nop 5681 5880 eval $cacheid=no 5682 5881 fi 5683 - rm -f core conftest.err conftest.$ac_objext \ 5882 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5684 5883 conftest$ac_exeext conftest.$ac_ext 5685 5884 fi 5686 5885 ··· 5688 5887 CFLAGS="$xorg_testset_save_CFLAGS" 5689 5888 5690 5889 eval supported=\$$cacheid 5691 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5692 - $as_echo "$supported" >&6; } 5890 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5891 + printf "%s\n" "$supported" >&6; } 5693 5892 if test "$supported" = "yes" ; then 5694 5893 BASE_CFLAGS="$BASE_CFLAGS -fd" 5695 5894 found="yes" ··· 5714 5913 5715 5914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5716 5915 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5717 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5718 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5719 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5720 - $as_echo_n "(cached) " >&6 5721 - else 5916 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5917 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5918 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5919 + then : 5920 + printf %s "(cached) " >&6 5921 + else $as_nop 5722 5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5723 5923 /* end confdefs.h. */ 5724 5924 int i; 5725 5925 _ACEOF 5726 - if ac_fn_c_try_compile "$LINENO"; then : 5926 + if ac_fn_c_try_compile "$LINENO" 5927 + then : 5727 5928 xorg_cv_cc_flag_unknown_warning_option=yes 5728 - else 5929 + else $as_nop 5729 5930 xorg_cv_cc_flag_unknown_warning_option=no 5730 5931 fi 5731 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5932 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5732 5933 fi 5733 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5734 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5935 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5735 5936 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5736 5937 CFLAGS="$xorg_testset_save_CFLAGS" 5737 5938 fi ··· 5741 5942 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5742 5943 fi 5743 5944 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5744 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5745 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5746 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5747 - $as_echo_n "(cached) " >&6 5748 - else 5945 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5946 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5947 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5948 + then : 5949 + printf %s "(cached) " >&6 5950 + else $as_nop 5749 5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5750 5952 /* end confdefs.h. */ 5751 5953 int i; 5752 5954 _ACEOF 5753 - if ac_fn_c_try_compile "$LINENO"; then : 5955 + if ac_fn_c_try_compile "$LINENO" 5956 + then : 5754 5957 xorg_cv_cc_flag_unused_command_line_argument=yes 5755 - else 5958 + else $as_nop 5756 5959 xorg_cv_cc_flag_unused_command_line_argument=no 5757 5960 fi 5758 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5961 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5759 5962 fi 5760 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5761 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5964 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5762 5965 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5763 5966 CFLAGS="$xorg_testset_save_CFLAGS" 5764 5967 fi ··· 5776 5979 5777 5980 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 5778 5981 5779 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5780 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5982 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5983 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5781 5984 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 5782 - if eval \${$cacheid+:} false; then : 5783 - $as_echo_n "(cached) " >&6 5784 - else 5985 + if eval test \${$cacheid+y} 5986 + then : 5987 + printf %s "(cached) " >&6 5988 + else $as_nop 5785 5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5786 5990 /* end confdefs.h. */ 5787 5991 int i; 5788 5992 int 5789 - main () 5993 + main (void) 5790 5994 { 5791 5995 5792 5996 ; 5793 5997 return 0; 5794 5998 } 5795 5999 _ACEOF 5796 - if ac_fn_c_try_link "$LINENO"; then : 6000 + if ac_fn_c_try_link "$LINENO" 6001 + then : 5797 6002 eval $cacheid=yes 5798 - else 6003 + else $as_nop 5799 6004 eval $cacheid=no 5800 6005 fi 5801 - rm -f core conftest.err conftest.$ac_objext \ 6006 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5802 6007 conftest$ac_exeext conftest.$ac_ext 5803 6008 fi 5804 6009 ··· 5806 6011 CFLAGS="$xorg_testset_save_CFLAGS" 5807 6012 5808 6013 eval supported=\$$cacheid 5809 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5810 - $as_echo "$supported" >&6; } 6014 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6015 + printf "%s\n" "$supported" >&6; } 5811 6016 if test "$supported" = "yes" ; then 5812 6017 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 5813 6018 found="yes" ··· 5836 6041 5837 6042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5838 6043 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5839 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5840 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5841 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5842 - $as_echo_n "(cached) " >&6 5843 - else 6044 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6045 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6046 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6047 + then : 6048 + printf %s "(cached) " >&6 6049 + else $as_nop 5844 6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5845 6051 /* end confdefs.h. */ 5846 6052 int i; 5847 6053 _ACEOF 5848 - if ac_fn_c_try_compile "$LINENO"; then : 6054 + if ac_fn_c_try_compile "$LINENO" 6055 + then : 5849 6056 xorg_cv_cc_flag_unknown_warning_option=yes 5850 - else 6057 + else $as_nop 5851 6058 xorg_cv_cc_flag_unknown_warning_option=no 5852 6059 fi 5853 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6060 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5854 6061 fi 5855 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5856 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6062 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6063 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5857 6064 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5858 6065 CFLAGS="$xorg_testset_save_CFLAGS" 5859 6066 fi ··· 5863 6070 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5864 6071 fi 5865 6072 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5866 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5867 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5868 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5869 - $as_echo_n "(cached) " >&6 5870 - else 6073 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6074 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6075 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6076 + then : 6077 + printf %s "(cached) " >&6 6078 + else $as_nop 5871 6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5872 6080 /* end confdefs.h. */ 5873 6081 int i; 5874 6082 _ACEOF 5875 - if ac_fn_c_try_compile "$LINENO"; then : 6083 + if ac_fn_c_try_compile "$LINENO" 6084 + then : 5876 6085 xorg_cv_cc_flag_unused_command_line_argument=yes 5877 - else 6086 + else $as_nop 5878 6087 xorg_cv_cc_flag_unused_command_line_argument=no 5879 6088 fi 5880 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6089 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5881 6090 fi 5882 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5883 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6092 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5884 6093 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5885 6094 CFLAGS="$xorg_testset_save_CFLAGS" 5886 6095 fi ··· 5898 6107 5899 6108 CFLAGS="$CFLAGS -Wunused" 5900 6109 5901 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 5902 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 6110 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 6111 + printf %s "checking if $CC supports -Wunused... " >&6; } 5903 6112 cacheid=xorg_cv_cc_flag__Wunused 5904 - if eval \${$cacheid+:} false; then : 5905 - $as_echo_n "(cached) " >&6 5906 - else 6113 + if eval test \${$cacheid+y} 6114 + then : 6115 + printf %s "(cached) " >&6 6116 + else $as_nop 5907 6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5908 6118 /* end confdefs.h. */ 5909 6119 int i; 5910 6120 int 5911 - main () 6121 + main (void) 5912 6122 { 5913 6123 5914 6124 ; 5915 6125 return 0; 5916 6126 } 5917 6127 _ACEOF 5918 - if ac_fn_c_try_link "$LINENO"; then : 6128 + if ac_fn_c_try_link "$LINENO" 6129 + then : 5919 6130 eval $cacheid=yes 5920 - else 6131 + else $as_nop 5921 6132 eval $cacheid=no 5922 6133 fi 5923 - rm -f core conftest.err conftest.$ac_objext \ 6134 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5924 6135 conftest$ac_exeext conftest.$ac_ext 5925 6136 fi 5926 6137 ··· 5928 6139 CFLAGS="$xorg_testset_save_CFLAGS" 5929 6140 5930 6141 eval supported=\$$cacheid 5931 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5932 - $as_echo "$supported" >&6; } 6142 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6143 + printf "%s\n" "$supported" >&6; } 5933 6144 if test "$supported" = "yes" ; then 5934 6145 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 5935 6146 found="yes" ··· 5954 6165 5955 6166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5956 6167 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5957 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5958 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5959 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5960 - $as_echo_n "(cached) " >&6 5961 - else 6168 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6169 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6170 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6171 + then : 6172 + printf %s "(cached) " >&6 6173 + else $as_nop 5962 6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5963 6175 /* end confdefs.h. */ 5964 6176 int i; 5965 6177 _ACEOF 5966 - if ac_fn_c_try_compile "$LINENO"; then : 6178 + if ac_fn_c_try_compile "$LINENO" 6179 + then : 5967 6180 xorg_cv_cc_flag_unknown_warning_option=yes 5968 - else 6181 + else $as_nop 5969 6182 xorg_cv_cc_flag_unknown_warning_option=no 5970 6183 fi 5971 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6184 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5972 6185 fi 5973 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5974 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6186 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6187 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5975 6188 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5976 6189 CFLAGS="$xorg_testset_save_CFLAGS" 5977 6190 fi ··· 5981 6194 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5982 6195 fi 5983 6196 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5984 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5985 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5986 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5987 - $as_echo_n "(cached) " >&6 5988 - else 6197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6198 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6199 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6200 + then : 6201 + printf %s "(cached) " >&6 6202 + else $as_nop 5989 6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5990 6204 /* end confdefs.h. */ 5991 6205 int i; 5992 6206 _ACEOF 5993 - if ac_fn_c_try_compile "$LINENO"; then : 6207 + if ac_fn_c_try_compile "$LINENO" 6208 + then : 5994 6209 xorg_cv_cc_flag_unused_command_line_argument=yes 5995 - else 6210 + else $as_nop 5996 6211 xorg_cv_cc_flag_unused_command_line_argument=no 5997 6212 fi 5998 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6213 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5999 6214 fi 6000 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6001 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6216 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6002 6217 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6003 6218 CFLAGS="$xorg_testset_save_CFLAGS" 6004 6219 fi ··· 6016 6231 6017 6232 CFLAGS="$CFLAGS -Wuninitialized" 6018 6233 6019 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6020 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 6234 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6235 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 6021 6236 cacheid=xorg_cv_cc_flag__Wuninitialized 6022 - if eval \${$cacheid+:} false; then : 6023 - $as_echo_n "(cached) " >&6 6024 - else 6237 + if eval test \${$cacheid+y} 6238 + then : 6239 + printf %s "(cached) " >&6 6240 + else $as_nop 6025 6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6026 6242 /* end confdefs.h. */ 6027 6243 int i; 6028 6244 int 6029 - main () 6245 + main (void) 6030 6246 { 6031 6247 6032 6248 ; 6033 6249 return 0; 6034 6250 } 6035 6251 _ACEOF 6036 - if ac_fn_c_try_link "$LINENO"; then : 6252 + if ac_fn_c_try_link "$LINENO" 6253 + then : 6037 6254 eval $cacheid=yes 6038 - else 6255 + else $as_nop 6039 6256 eval $cacheid=no 6040 6257 fi 6041 - rm -f core conftest.err conftest.$ac_objext \ 6258 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6042 6259 conftest$ac_exeext conftest.$ac_ext 6043 6260 fi 6044 6261 ··· 6046 6263 CFLAGS="$xorg_testset_save_CFLAGS" 6047 6264 6048 6265 eval supported=\$$cacheid 6049 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6050 - $as_echo "$supported" >&6; } 6266 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6267 + printf "%s\n" "$supported" >&6; } 6051 6268 if test "$supported" = "yes" ; then 6052 6269 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 6053 6270 found="yes" ··· 6072 6289 6073 6290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6074 6291 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6075 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6076 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6077 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6078 - $as_echo_n "(cached) " >&6 6079 - else 6292 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6293 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6294 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6295 + then : 6296 + printf %s "(cached) " >&6 6297 + else $as_nop 6080 6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6081 6299 /* end confdefs.h. */ 6082 6300 int i; 6083 6301 _ACEOF 6084 - if ac_fn_c_try_compile "$LINENO"; then : 6302 + if ac_fn_c_try_compile "$LINENO" 6303 + then : 6085 6304 xorg_cv_cc_flag_unknown_warning_option=yes 6086 - else 6305 + else $as_nop 6087 6306 xorg_cv_cc_flag_unknown_warning_option=no 6088 6307 fi 6089 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6308 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6090 6309 fi 6091 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6092 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6310 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6311 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6093 6312 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6094 6313 CFLAGS="$xorg_testset_save_CFLAGS" 6095 6314 fi ··· 6099 6318 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6100 6319 fi 6101 6320 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6102 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6103 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6104 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6105 - $as_echo_n "(cached) " >&6 6106 - else 6321 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6322 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6323 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6324 + then : 6325 + printf %s "(cached) " >&6 6326 + else $as_nop 6107 6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6108 6328 /* end confdefs.h. */ 6109 6329 int i; 6110 6330 _ACEOF 6111 - if ac_fn_c_try_compile "$LINENO"; then : 6331 + if ac_fn_c_try_compile "$LINENO" 6332 + then : 6112 6333 xorg_cv_cc_flag_unused_command_line_argument=yes 6113 - else 6334 + else $as_nop 6114 6335 xorg_cv_cc_flag_unused_command_line_argument=no 6115 6336 fi 6116 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6337 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6117 6338 fi 6118 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6119 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6340 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6120 6341 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6121 6342 CFLAGS="$xorg_testset_save_CFLAGS" 6122 6343 fi ··· 6134 6355 6135 6356 CFLAGS="$CFLAGS -Wshadow" 6136 6357 6137 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6138 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 6358 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6359 + printf %s "checking if $CC supports -Wshadow... " >&6; } 6139 6360 cacheid=xorg_cv_cc_flag__Wshadow 6140 - if eval \${$cacheid+:} false; then : 6141 - $as_echo_n "(cached) " >&6 6142 - else 6361 + if eval test \${$cacheid+y} 6362 + then : 6363 + printf %s "(cached) " >&6 6364 + else $as_nop 6143 6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6144 6366 /* end confdefs.h. */ 6145 6367 int i; 6146 6368 int 6147 - main () 6369 + main (void) 6148 6370 { 6149 6371 6150 6372 ; 6151 6373 return 0; 6152 6374 } 6153 6375 _ACEOF 6154 - if ac_fn_c_try_link "$LINENO"; then : 6376 + if ac_fn_c_try_link "$LINENO" 6377 + then : 6155 6378 eval $cacheid=yes 6156 - else 6379 + else $as_nop 6157 6380 eval $cacheid=no 6158 6381 fi 6159 - rm -f core conftest.err conftest.$ac_objext \ 6382 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6160 6383 conftest$ac_exeext conftest.$ac_ext 6161 6384 fi 6162 6385 ··· 6164 6387 CFLAGS="$xorg_testset_save_CFLAGS" 6165 6388 6166 6389 eval supported=\$$cacheid 6167 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6168 - $as_echo "$supported" >&6; } 6390 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6391 + printf "%s\n" "$supported" >&6; } 6169 6392 if test "$supported" = "yes" ; then 6170 6393 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 6171 6394 found="yes" ··· 6190 6413 6191 6414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6192 6415 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6193 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6194 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6195 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6196 - $as_echo_n "(cached) " >&6 6197 - else 6416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6417 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6418 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6419 + then : 6420 + printf %s "(cached) " >&6 6421 + else $as_nop 6198 6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6199 6423 /* end confdefs.h. */ 6200 6424 int i; 6201 6425 _ACEOF 6202 - if ac_fn_c_try_compile "$LINENO"; then : 6426 + if ac_fn_c_try_compile "$LINENO" 6427 + then : 6203 6428 xorg_cv_cc_flag_unknown_warning_option=yes 6204 - else 6429 + else $as_nop 6205 6430 xorg_cv_cc_flag_unknown_warning_option=no 6206 6431 fi 6207 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6432 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6208 6433 fi 6209 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6210 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6434 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6435 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6211 6436 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6212 6437 CFLAGS="$xorg_testset_save_CFLAGS" 6213 6438 fi ··· 6217 6442 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6218 6443 fi 6219 6444 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6220 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6221 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6222 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6223 - $as_echo_n "(cached) " >&6 6224 - else 6445 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6446 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6447 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6448 + then : 6449 + printf %s "(cached) " >&6 6450 + else $as_nop 6225 6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6226 6452 /* end confdefs.h. */ 6227 6453 int i; 6228 6454 _ACEOF 6229 - if ac_fn_c_try_compile "$LINENO"; then : 6455 + if ac_fn_c_try_compile "$LINENO" 6456 + then : 6230 6457 xorg_cv_cc_flag_unused_command_line_argument=yes 6231 - else 6458 + else $as_nop 6232 6459 xorg_cv_cc_flag_unused_command_line_argument=no 6233 6460 fi 6234 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6461 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6235 6462 fi 6236 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6237 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6464 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6238 6465 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6239 6466 CFLAGS="$xorg_testset_save_CFLAGS" 6240 6467 fi ··· 6252 6479 6253 6480 CFLAGS="$CFLAGS -Wmissing-noreturn" 6254 6481 6255 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6256 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 6482 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6483 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 6257 6484 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 6258 - if eval \${$cacheid+:} false; then : 6259 - $as_echo_n "(cached) " >&6 6260 - else 6485 + if eval test \${$cacheid+y} 6486 + then : 6487 + printf %s "(cached) " >&6 6488 + else $as_nop 6261 6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6262 6490 /* end confdefs.h. */ 6263 6491 int i; 6264 6492 int 6265 - main () 6493 + main (void) 6266 6494 { 6267 6495 6268 6496 ; 6269 6497 return 0; 6270 6498 } 6271 6499 _ACEOF 6272 - if ac_fn_c_try_link "$LINENO"; then : 6500 + if ac_fn_c_try_link "$LINENO" 6501 + then : 6273 6502 eval $cacheid=yes 6274 - else 6503 + else $as_nop 6275 6504 eval $cacheid=no 6276 6505 fi 6277 - rm -f core conftest.err conftest.$ac_objext \ 6506 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6278 6507 conftest$ac_exeext conftest.$ac_ext 6279 6508 fi 6280 6509 ··· 6282 6511 CFLAGS="$xorg_testset_save_CFLAGS" 6283 6512 6284 6513 eval supported=\$$cacheid 6285 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6286 - $as_echo "$supported" >&6; } 6514 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6515 + printf "%s\n" "$supported" >&6; } 6287 6516 if test "$supported" = "yes" ; then 6288 6517 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 6289 6518 found="yes" ··· 6308 6537 6309 6538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6310 6539 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6311 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6312 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6313 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6314 - $as_echo_n "(cached) " >&6 6315 - else 6540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6541 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6542 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6543 + then : 6544 + printf %s "(cached) " >&6 6545 + else $as_nop 6316 6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6317 6547 /* end confdefs.h. */ 6318 6548 int i; 6319 6549 _ACEOF 6320 - if ac_fn_c_try_compile "$LINENO"; then : 6550 + if ac_fn_c_try_compile "$LINENO" 6551 + then : 6321 6552 xorg_cv_cc_flag_unknown_warning_option=yes 6322 - else 6553 + else $as_nop 6323 6554 xorg_cv_cc_flag_unknown_warning_option=no 6324 6555 fi 6325 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6556 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6326 6557 fi 6327 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6328 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6558 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6559 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6329 6560 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6330 6561 CFLAGS="$xorg_testset_save_CFLAGS" 6331 6562 fi ··· 6335 6566 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6336 6567 fi 6337 6568 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6338 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6339 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6340 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6341 - $as_echo_n "(cached) " >&6 6342 - else 6569 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6570 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6571 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6572 + then : 6573 + printf %s "(cached) " >&6 6574 + else $as_nop 6343 6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6344 6576 /* end confdefs.h. */ 6345 6577 int i; 6346 6578 _ACEOF 6347 - if ac_fn_c_try_compile "$LINENO"; then : 6579 + if ac_fn_c_try_compile "$LINENO" 6580 + then : 6348 6581 xorg_cv_cc_flag_unused_command_line_argument=yes 6349 - else 6582 + else $as_nop 6350 6583 xorg_cv_cc_flag_unused_command_line_argument=no 6351 6584 fi 6352 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6585 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6353 6586 fi 6354 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6355 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6588 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6356 6589 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6357 6590 CFLAGS="$xorg_testset_save_CFLAGS" 6358 6591 fi ··· 6370 6603 6371 6604 CFLAGS="$CFLAGS -Wmissing-format-attribute" 6372 6605 6373 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6374 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6607 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6375 6608 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 6376 - if eval \${$cacheid+:} false; then : 6377 - $as_echo_n "(cached) " >&6 6378 - else 6609 + if eval test \${$cacheid+y} 6610 + then : 6611 + printf %s "(cached) " >&6 6612 + else $as_nop 6379 6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6380 6614 /* end confdefs.h. */ 6381 6615 int i; 6382 6616 int 6383 - main () 6617 + main (void) 6384 6618 { 6385 6619 6386 6620 ; 6387 6621 return 0; 6388 6622 } 6389 6623 _ACEOF 6390 - if ac_fn_c_try_link "$LINENO"; then : 6624 + if ac_fn_c_try_link "$LINENO" 6625 + then : 6391 6626 eval $cacheid=yes 6392 - else 6627 + else $as_nop 6393 6628 eval $cacheid=no 6394 6629 fi 6395 - rm -f core conftest.err conftest.$ac_objext \ 6630 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6396 6631 conftest$ac_exeext conftest.$ac_ext 6397 6632 fi 6398 6633 ··· 6400 6635 CFLAGS="$xorg_testset_save_CFLAGS" 6401 6636 6402 6637 eval supported=\$$cacheid 6403 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6404 - $as_echo "$supported" >&6; } 6638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6639 + printf "%s\n" "$supported" >&6; } 6405 6640 if test "$supported" = "yes" ; then 6406 6641 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 6407 6642 found="yes" ··· 6427 6662 6428 6663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6429 6664 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6430 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6431 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6432 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6433 - $as_echo_n "(cached) " >&6 6434 - else 6665 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6666 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6667 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6668 + then : 6669 + printf %s "(cached) " >&6 6670 + else $as_nop 6435 6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6436 6672 /* end confdefs.h. */ 6437 6673 int i; 6438 6674 _ACEOF 6439 - if ac_fn_c_try_compile "$LINENO"; then : 6675 + if ac_fn_c_try_compile "$LINENO" 6676 + then : 6440 6677 xorg_cv_cc_flag_unknown_warning_option=yes 6441 - else 6678 + else $as_nop 6442 6679 xorg_cv_cc_flag_unknown_warning_option=no 6443 6680 fi 6444 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6681 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6445 6682 fi 6446 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6447 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6684 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6448 6685 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6449 6686 CFLAGS="$xorg_testset_save_CFLAGS" 6450 6687 fi ··· 6454 6691 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6455 6692 fi 6456 6693 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6457 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6458 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6459 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6460 - $as_echo_n "(cached) " >&6 6461 - else 6694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6695 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6696 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6697 + then : 6698 + printf %s "(cached) " >&6 6699 + else $as_nop 6462 6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6463 6701 /* end confdefs.h. */ 6464 6702 int i; 6465 6703 _ACEOF 6466 - if ac_fn_c_try_compile "$LINENO"; then : 6704 + if ac_fn_c_try_compile "$LINENO" 6705 + then : 6467 6706 xorg_cv_cc_flag_unused_command_line_argument=yes 6468 - else 6707 + else $as_nop 6469 6708 xorg_cv_cc_flag_unused_command_line_argument=no 6470 6709 fi 6471 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6710 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6472 6711 fi 6473 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6474 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6712 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6713 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6475 6714 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6476 6715 CFLAGS="$xorg_testset_save_CFLAGS" 6477 6716 fi ··· 6489 6728 6490 6729 CFLAGS="$CFLAGS -Wlogical-op" 6491 6730 6492 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6493 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 6731 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6732 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 6494 6733 cacheid=xorg_cv_cc_flag__Wlogical_op 6495 - if eval \${$cacheid+:} false; then : 6496 - $as_echo_n "(cached) " >&6 6497 - else 6734 + if eval test \${$cacheid+y} 6735 + then : 6736 + printf %s "(cached) " >&6 6737 + else $as_nop 6498 6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6499 6739 /* end confdefs.h. */ 6500 6740 int i; 6501 6741 int 6502 - main () 6742 + main (void) 6503 6743 { 6504 6744 6505 6745 ; 6506 6746 return 0; 6507 6747 } 6508 6748 _ACEOF 6509 - if ac_fn_c_try_link "$LINENO"; then : 6749 + if ac_fn_c_try_link "$LINENO" 6750 + then : 6510 6751 eval $cacheid=yes 6511 - else 6752 + else $as_nop 6512 6753 eval $cacheid=no 6513 6754 fi 6514 - rm -f core conftest.err conftest.$ac_objext \ 6755 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6515 6756 conftest$ac_exeext conftest.$ac_ext 6516 6757 fi 6517 6758 ··· 6519 6760 CFLAGS="$xorg_testset_save_CFLAGS" 6520 6761 6521 6762 eval supported=\$$cacheid 6522 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6523 - $as_echo "$supported" >&6; } 6763 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6764 + printf "%s\n" "$supported" >&6; } 6524 6765 if test "$supported" = "yes" ; then 6525 6766 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 6526 6767 found="yes" ··· 6536 6777 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 6537 6778 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 6538 6779 6539 - # Turn some warnings into errors, so we don't accidently get successful builds 6780 + # Turn some warnings into errors, so we don't accidentally get successful builds 6540 6781 # when there are problems that should be fixed. 6541 6782 6542 6783 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 6557 6798 6558 6799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6559 6800 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6560 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6561 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6562 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6563 - $as_echo_n "(cached) " >&6 6564 - else 6801 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6802 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6803 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6804 + then : 6805 + printf %s "(cached) " >&6 6806 + else $as_nop 6565 6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6566 6808 /* end confdefs.h. */ 6567 6809 int i; 6568 6810 _ACEOF 6569 - if ac_fn_c_try_compile "$LINENO"; then : 6811 + if ac_fn_c_try_compile "$LINENO" 6812 + then : 6570 6813 xorg_cv_cc_flag_unknown_warning_option=yes 6571 - else 6814 + else $as_nop 6572 6815 xorg_cv_cc_flag_unknown_warning_option=no 6573 6816 fi 6574 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6817 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6575 6818 fi 6576 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6577 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6819 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6820 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6578 6821 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6579 6822 CFLAGS="$xorg_testset_save_CFLAGS" 6580 6823 fi ··· 6584 6827 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6585 6828 fi 6586 6829 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6587 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6588 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6589 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6590 - $as_echo_n "(cached) " >&6 6591 - else 6830 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6831 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6832 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6833 + then : 6834 + printf %s "(cached) " >&6 6835 + else $as_nop 6592 6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6593 6837 /* end confdefs.h. */ 6594 6838 int i; 6595 6839 _ACEOF 6596 - if ac_fn_c_try_compile "$LINENO"; then : 6840 + if ac_fn_c_try_compile "$LINENO" 6841 + then : 6597 6842 xorg_cv_cc_flag_unused_command_line_argument=yes 6598 - else 6843 + else $as_nop 6599 6844 xorg_cv_cc_flag_unused_command_line_argument=no 6600 6845 fi 6601 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6846 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6602 6847 fi 6603 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6604 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6848 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6849 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6605 6850 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6606 6851 CFLAGS="$xorg_testset_save_CFLAGS" 6607 6852 fi ··· 6619 6864 6620 6865 CFLAGS="$CFLAGS -Werror=implicit" 6621 6866 6622 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6623 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 6867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6868 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 6624 6869 cacheid=xorg_cv_cc_flag__Werror_implicit 6625 - if eval \${$cacheid+:} false; then : 6626 - $as_echo_n "(cached) " >&6 6627 - else 6870 + if eval test \${$cacheid+y} 6871 + then : 6872 + printf %s "(cached) " >&6 6873 + else $as_nop 6628 6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6629 6875 /* end confdefs.h. */ 6630 6876 int i; 6631 6877 int 6632 - main () 6878 + main (void) 6633 6879 { 6634 6880 6635 6881 ; 6636 6882 return 0; 6637 6883 } 6638 6884 _ACEOF 6639 - if ac_fn_c_try_link "$LINENO"; then : 6885 + if ac_fn_c_try_link "$LINENO" 6886 + then : 6640 6887 eval $cacheid=yes 6641 - else 6888 + else $as_nop 6642 6889 eval $cacheid=no 6643 6890 fi 6644 - rm -f core conftest.err conftest.$ac_objext \ 6891 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6645 6892 conftest$ac_exeext conftest.$ac_ext 6646 6893 fi 6647 6894 ··· 6649 6896 CFLAGS="$xorg_testset_save_CFLAGS" 6650 6897 6651 6898 eval supported=\$$cacheid 6652 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6653 - $as_echo "$supported" >&6; } 6899 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6900 + printf "%s\n" "$supported" >&6; } 6654 6901 if test "$supported" = "yes" ; then 6655 6902 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 6656 6903 found="yes" ··· 6668 6915 6669 6916 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6670 6917 6671 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6672 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6918 + { 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 6919 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6673 6920 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 6674 - if eval \${$cacheid+:} false; then : 6675 - $as_echo_n "(cached) " >&6 6676 - else 6921 + if eval test \${$cacheid+y} 6922 + then : 6923 + printf %s "(cached) " >&6 6924 + else $as_nop 6677 6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6678 6926 /* end confdefs.h. */ 6679 6927 int i; 6680 6928 int 6681 - main () 6929 + main (void) 6682 6930 { 6683 6931 6684 6932 ; 6685 6933 return 0; 6686 6934 } 6687 6935 _ACEOF 6688 - if ac_fn_c_try_link "$LINENO"; then : 6936 + if ac_fn_c_try_link "$LINENO" 6937 + then : 6689 6938 eval $cacheid=yes 6690 - else 6939 + else $as_nop 6691 6940 eval $cacheid=no 6692 6941 fi 6693 - rm -f core conftest.err conftest.$ac_objext \ 6942 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6694 6943 conftest$ac_exeext conftest.$ac_ext 6695 6944 fi 6696 6945 ··· 6698 6947 CFLAGS="$xorg_testset_save_CFLAGS" 6699 6948 6700 6949 eval supported=\$$cacheid 6701 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6702 - $as_echo "$supported" >&6; } 6950 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6951 + printf "%s\n" "$supported" >&6; } 6703 6952 if test "$supported" = "yes" ; then 6704 6953 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6705 6954 found="yes" ··· 6724 6973 6725 6974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6726 6975 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6727 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6728 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6729 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6730 - $as_echo_n "(cached) " >&6 6731 - else 6976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6977 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6978 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6979 + then : 6980 + printf %s "(cached) " >&6 6981 + else $as_nop 6732 6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6733 6983 /* end confdefs.h. */ 6734 6984 int i; 6735 6985 _ACEOF 6736 - if ac_fn_c_try_compile "$LINENO"; then : 6986 + if ac_fn_c_try_compile "$LINENO" 6987 + then : 6737 6988 xorg_cv_cc_flag_unknown_warning_option=yes 6738 - else 6989 + else $as_nop 6739 6990 xorg_cv_cc_flag_unknown_warning_option=no 6740 6991 fi 6741 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6992 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6742 6993 fi 6743 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6744 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6995 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6745 6996 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6746 6997 CFLAGS="$xorg_testset_save_CFLAGS" 6747 6998 fi ··· 6751 7002 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6752 7003 fi 6753 7004 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6754 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6755 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6756 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6757 - $as_echo_n "(cached) " >&6 6758 - else 7005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7006 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7007 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7008 + then : 7009 + printf %s "(cached) " >&6 7010 + else $as_nop 6759 7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6760 7012 /* end confdefs.h. */ 6761 7013 int i; 6762 7014 _ACEOF 6763 - if ac_fn_c_try_compile "$LINENO"; then : 7015 + if ac_fn_c_try_compile "$LINENO" 7016 + then : 6764 7017 xorg_cv_cc_flag_unused_command_line_argument=yes 6765 - else 7018 + else $as_nop 6766 7019 xorg_cv_cc_flag_unused_command_line_argument=no 6767 7020 fi 6768 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7021 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6769 7022 fi 6770 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6771 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7023 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7024 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6772 7025 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6773 7026 CFLAGS="$xorg_testset_save_CFLAGS" 6774 7027 fi ··· 6786 7039 6787 7040 CFLAGS="$CFLAGS -Werror=nonnull" 6788 7041 6789 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 6790 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 7042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 7043 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 6791 7044 cacheid=xorg_cv_cc_flag__Werror_nonnull 6792 - if eval \${$cacheid+:} false; then : 6793 - $as_echo_n "(cached) " >&6 6794 - else 7045 + if eval test \${$cacheid+y} 7046 + then : 7047 + printf %s "(cached) " >&6 7048 + else $as_nop 6795 7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6796 7050 /* end confdefs.h. */ 6797 7051 int i; 6798 7052 int 6799 - main () 7053 + main (void) 6800 7054 { 6801 7055 6802 7056 ; 6803 7057 return 0; 6804 7058 } 6805 7059 _ACEOF 6806 - if ac_fn_c_try_link "$LINENO"; then : 7060 + if ac_fn_c_try_link "$LINENO" 7061 + then : 6807 7062 eval $cacheid=yes 6808 - else 7063 + else $as_nop 6809 7064 eval $cacheid=no 6810 7065 fi 6811 - rm -f core conftest.err conftest.$ac_objext \ 7066 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6812 7067 conftest$ac_exeext conftest.$ac_ext 6813 7068 fi 6814 7069 ··· 6816 7071 CFLAGS="$xorg_testset_save_CFLAGS" 6817 7072 6818 7073 eval supported=\$$cacheid 6819 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6820 - $as_echo "$supported" >&6; } 7074 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7075 + printf "%s\n" "$supported" >&6; } 6821 7076 if test "$supported" = "yes" ; then 6822 7077 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 6823 7078 found="yes" ··· 6842 7097 6843 7098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6844 7099 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6845 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6846 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6847 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6848 - $as_echo_n "(cached) " >&6 6849 - else 7100 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7101 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7102 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7103 + then : 7104 + printf %s "(cached) " >&6 7105 + else $as_nop 6850 7106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6851 7107 /* end confdefs.h. */ 6852 7108 int i; 6853 7109 _ACEOF 6854 - if ac_fn_c_try_compile "$LINENO"; then : 7110 + if ac_fn_c_try_compile "$LINENO" 7111 + then : 6855 7112 xorg_cv_cc_flag_unknown_warning_option=yes 6856 - else 7113 + else $as_nop 6857 7114 xorg_cv_cc_flag_unknown_warning_option=no 6858 7115 fi 6859 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7116 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6860 7117 fi 6861 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6862 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7119 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6863 7120 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6864 7121 CFLAGS="$xorg_testset_save_CFLAGS" 6865 7122 fi ··· 6869 7126 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6870 7127 fi 6871 7128 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6872 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6873 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6874 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6875 - $as_echo_n "(cached) " >&6 6876 - else 7129 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7130 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7131 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7132 + then : 7133 + printf %s "(cached) " >&6 7134 + else $as_nop 6877 7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6878 7136 /* end confdefs.h. */ 6879 7137 int i; 6880 7138 _ACEOF 6881 - if ac_fn_c_try_compile "$LINENO"; then : 7139 + if ac_fn_c_try_compile "$LINENO" 7140 + then : 6882 7141 xorg_cv_cc_flag_unused_command_line_argument=yes 6883 - else 7142 + else $as_nop 6884 7143 xorg_cv_cc_flag_unused_command_line_argument=no 6885 7144 fi 6886 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7145 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6887 7146 fi 6888 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6889 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7147 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7148 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6890 7149 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6891 7150 CFLAGS="$xorg_testset_save_CFLAGS" 6892 7151 fi ··· 6904 7163 6905 7164 CFLAGS="$CFLAGS -Werror=init-self" 6906 7165 6907 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 6908 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 7166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7167 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 6909 7168 cacheid=xorg_cv_cc_flag__Werror_init_self 6910 - if eval \${$cacheid+:} false; then : 6911 - $as_echo_n "(cached) " >&6 6912 - else 7169 + if eval test \${$cacheid+y} 7170 + then : 7171 + printf %s "(cached) " >&6 7172 + else $as_nop 6913 7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6914 7174 /* end confdefs.h. */ 6915 7175 int i; 6916 7176 int 6917 - main () 7177 + main (void) 6918 7178 { 6919 7179 6920 7180 ; 6921 7181 return 0; 6922 7182 } 6923 7183 _ACEOF 6924 - if ac_fn_c_try_link "$LINENO"; then : 7184 + if ac_fn_c_try_link "$LINENO" 7185 + then : 6925 7186 eval $cacheid=yes 6926 - else 7187 + else $as_nop 6927 7188 eval $cacheid=no 6928 7189 fi 6929 - rm -f core conftest.err conftest.$ac_objext \ 7190 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6930 7191 conftest$ac_exeext conftest.$ac_ext 6931 7192 fi 6932 7193 ··· 6934 7195 CFLAGS="$xorg_testset_save_CFLAGS" 6935 7196 6936 7197 eval supported=\$$cacheid 6937 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6938 - $as_echo "$supported" >&6; } 7198 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7199 + printf "%s\n" "$supported" >&6; } 6939 7200 if test "$supported" = "yes" ; then 6940 7201 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 6941 7202 found="yes" ··· 6960 7221 6961 7222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6962 7223 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6963 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6964 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6965 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6966 - $as_echo_n "(cached) " >&6 6967 - else 7224 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7225 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7226 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7227 + then : 7228 + printf %s "(cached) " >&6 7229 + else $as_nop 6968 7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6969 7231 /* end confdefs.h. */ 6970 7232 int i; 6971 7233 _ACEOF 6972 - if ac_fn_c_try_compile "$LINENO"; then : 7234 + if ac_fn_c_try_compile "$LINENO" 7235 + then : 6973 7236 xorg_cv_cc_flag_unknown_warning_option=yes 6974 - else 7237 + else $as_nop 6975 7238 xorg_cv_cc_flag_unknown_warning_option=no 6976 7239 fi 6977 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7240 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6978 7241 fi 6979 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6980 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7243 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6981 7244 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6982 7245 CFLAGS="$xorg_testset_save_CFLAGS" 6983 7246 fi ··· 6987 7250 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6988 7251 fi 6989 7252 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6990 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6991 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6992 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6993 - $as_echo_n "(cached) " >&6 6994 - else 7253 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7254 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7255 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7256 + then : 7257 + printf %s "(cached) " >&6 7258 + else $as_nop 6995 7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6996 7260 /* end confdefs.h. */ 6997 7261 int i; 6998 7262 _ACEOF 6999 - if ac_fn_c_try_compile "$LINENO"; then : 7263 + if ac_fn_c_try_compile "$LINENO" 7264 + then : 7000 7265 xorg_cv_cc_flag_unused_command_line_argument=yes 7001 - else 7266 + else $as_nop 7002 7267 xorg_cv_cc_flag_unused_command_line_argument=no 7003 7268 fi 7004 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7269 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7005 7270 fi 7006 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7007 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7271 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7272 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7008 7273 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7009 7274 CFLAGS="$xorg_testset_save_CFLAGS" 7010 7275 fi ··· 7022 7287 7023 7288 CFLAGS="$CFLAGS -Werror=main" 7024 7289 7025 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7026 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 7290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7291 + printf %s "checking if $CC supports -Werror=main... " >&6; } 7027 7292 cacheid=xorg_cv_cc_flag__Werror_main 7028 - if eval \${$cacheid+:} false; then : 7029 - $as_echo_n "(cached) " >&6 7030 - else 7293 + if eval test \${$cacheid+y} 7294 + then : 7295 + printf %s "(cached) " >&6 7296 + else $as_nop 7031 7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7032 7298 /* end confdefs.h. */ 7033 7299 int i; 7034 7300 int 7035 - main () 7301 + main (void) 7036 7302 { 7037 7303 7038 7304 ; 7039 7305 return 0; 7040 7306 } 7041 7307 _ACEOF 7042 - if ac_fn_c_try_link "$LINENO"; then : 7308 + if ac_fn_c_try_link "$LINENO" 7309 + then : 7043 7310 eval $cacheid=yes 7044 - else 7311 + else $as_nop 7045 7312 eval $cacheid=no 7046 7313 fi 7047 - rm -f core conftest.err conftest.$ac_objext \ 7314 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7048 7315 conftest$ac_exeext conftest.$ac_ext 7049 7316 fi 7050 7317 ··· 7052 7319 CFLAGS="$xorg_testset_save_CFLAGS" 7053 7320 7054 7321 eval supported=\$$cacheid 7055 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7056 - $as_echo "$supported" >&6; } 7322 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7323 + printf "%s\n" "$supported" >&6; } 7057 7324 if test "$supported" = "yes" ; then 7058 7325 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 7059 7326 found="yes" ··· 7078 7345 7079 7346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7080 7347 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7081 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7082 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7083 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7084 - $as_echo_n "(cached) " >&6 7085 - else 7348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7349 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7350 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7351 + then : 7352 + printf %s "(cached) " >&6 7353 + else $as_nop 7086 7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7087 7355 /* end confdefs.h. */ 7088 7356 int i; 7089 7357 _ACEOF 7090 - if ac_fn_c_try_compile "$LINENO"; then : 7358 + if ac_fn_c_try_compile "$LINENO" 7359 + then : 7091 7360 xorg_cv_cc_flag_unknown_warning_option=yes 7092 - else 7361 + else $as_nop 7093 7362 xorg_cv_cc_flag_unknown_warning_option=no 7094 7363 fi 7095 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7364 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7096 7365 fi 7097 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7098 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7367 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7099 7368 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7100 7369 CFLAGS="$xorg_testset_save_CFLAGS" 7101 7370 fi ··· 7105 7374 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7106 7375 fi 7107 7376 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7108 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7109 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7110 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7111 - $as_echo_n "(cached) " >&6 7112 - else 7377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7378 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7379 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7380 + then : 7381 + printf %s "(cached) " >&6 7382 + else $as_nop 7113 7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7114 7384 /* end confdefs.h. */ 7115 7385 int i; 7116 7386 _ACEOF 7117 - if ac_fn_c_try_compile "$LINENO"; then : 7387 + if ac_fn_c_try_compile "$LINENO" 7388 + then : 7118 7389 xorg_cv_cc_flag_unused_command_line_argument=yes 7119 - else 7390 + else $as_nop 7120 7391 xorg_cv_cc_flag_unused_command_line_argument=no 7121 7392 fi 7122 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7393 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7123 7394 fi 7124 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7125 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7396 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7126 7397 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7127 7398 CFLAGS="$xorg_testset_save_CFLAGS" 7128 7399 fi ··· 7140 7411 7141 7412 CFLAGS="$CFLAGS -Werror=missing-braces" 7142 7413 7143 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7144 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 7414 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7415 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 7145 7416 cacheid=xorg_cv_cc_flag__Werror_missing_braces 7146 - if eval \${$cacheid+:} false; then : 7147 - $as_echo_n "(cached) " >&6 7148 - else 7417 + if eval test \${$cacheid+y} 7418 + then : 7419 + printf %s "(cached) " >&6 7420 + else $as_nop 7149 7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7150 7422 /* end confdefs.h. */ 7151 7423 int i; 7152 7424 int 7153 - main () 7425 + main (void) 7154 7426 { 7155 7427 7156 7428 ; 7157 7429 return 0; 7158 7430 } 7159 7431 _ACEOF 7160 - if ac_fn_c_try_link "$LINENO"; then : 7432 + if ac_fn_c_try_link "$LINENO" 7433 + then : 7161 7434 eval $cacheid=yes 7162 - else 7435 + else $as_nop 7163 7436 eval $cacheid=no 7164 7437 fi 7165 - rm -f core conftest.err conftest.$ac_objext \ 7438 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7166 7439 conftest$ac_exeext conftest.$ac_ext 7167 7440 fi 7168 7441 ··· 7170 7443 CFLAGS="$xorg_testset_save_CFLAGS" 7171 7444 7172 7445 eval supported=\$$cacheid 7173 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7174 - $as_echo "$supported" >&6; } 7446 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7447 + printf "%s\n" "$supported" >&6; } 7175 7448 if test "$supported" = "yes" ; then 7176 7449 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 7177 7450 found="yes" ··· 7196 7469 7197 7470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7198 7471 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7199 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7200 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7201 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7202 - $as_echo_n "(cached) " >&6 7203 - else 7472 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7473 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7474 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7475 + then : 7476 + printf %s "(cached) " >&6 7477 + else $as_nop 7204 7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7205 7479 /* end confdefs.h. */ 7206 7480 int i; 7207 7481 _ACEOF 7208 - if ac_fn_c_try_compile "$LINENO"; then : 7482 + if ac_fn_c_try_compile "$LINENO" 7483 + then : 7209 7484 xorg_cv_cc_flag_unknown_warning_option=yes 7210 - else 7485 + else $as_nop 7211 7486 xorg_cv_cc_flag_unknown_warning_option=no 7212 7487 fi 7213 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7488 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7214 7489 fi 7215 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7216 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7491 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7217 7492 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7218 7493 CFLAGS="$xorg_testset_save_CFLAGS" 7219 7494 fi ··· 7223 7498 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7224 7499 fi 7225 7500 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7226 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7227 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7228 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7229 - $as_echo_n "(cached) " >&6 7230 - else 7501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7502 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7503 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7504 + then : 7505 + printf %s "(cached) " >&6 7506 + else $as_nop 7231 7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7232 7508 /* end confdefs.h. */ 7233 7509 int i; 7234 7510 _ACEOF 7235 - if ac_fn_c_try_compile "$LINENO"; then : 7511 + if ac_fn_c_try_compile "$LINENO" 7512 + then : 7236 7513 xorg_cv_cc_flag_unused_command_line_argument=yes 7237 - else 7514 + else $as_nop 7238 7515 xorg_cv_cc_flag_unused_command_line_argument=no 7239 7516 fi 7240 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7517 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7241 7518 fi 7242 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7243 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7520 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7244 7521 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7245 7522 CFLAGS="$xorg_testset_save_CFLAGS" 7246 7523 fi ··· 7258 7535 7259 7536 CFLAGS="$CFLAGS -Werror=sequence-point" 7260 7537 7261 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7262 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 7538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7539 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 7263 7540 cacheid=xorg_cv_cc_flag__Werror_sequence_point 7264 - if eval \${$cacheid+:} false; then : 7265 - $as_echo_n "(cached) " >&6 7266 - else 7541 + if eval test \${$cacheid+y} 7542 + then : 7543 + printf %s "(cached) " >&6 7544 + else $as_nop 7267 7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7268 7546 /* end confdefs.h. */ 7269 7547 int i; 7270 7548 int 7271 - main () 7549 + main (void) 7272 7550 { 7273 7551 7274 7552 ; 7275 7553 return 0; 7276 7554 } 7277 7555 _ACEOF 7278 - if ac_fn_c_try_link "$LINENO"; then : 7556 + if ac_fn_c_try_link "$LINENO" 7557 + then : 7279 7558 eval $cacheid=yes 7280 - else 7559 + else $as_nop 7281 7560 eval $cacheid=no 7282 7561 fi 7283 - rm -f core conftest.err conftest.$ac_objext \ 7562 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7284 7563 conftest$ac_exeext conftest.$ac_ext 7285 7564 fi 7286 7565 ··· 7288 7567 CFLAGS="$xorg_testset_save_CFLAGS" 7289 7568 7290 7569 eval supported=\$$cacheid 7291 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7292 - $as_echo "$supported" >&6; } 7570 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7571 + printf "%s\n" "$supported" >&6; } 7293 7572 if test "$supported" = "yes" ; then 7294 7573 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 7295 7574 found="yes" ··· 7314 7593 7315 7594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7316 7595 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7317 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7318 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7319 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7320 - $as_echo_n "(cached) " >&6 7321 - else 7596 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7597 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7598 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7599 + then : 7600 + printf %s "(cached) " >&6 7601 + else $as_nop 7322 7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7323 7603 /* end confdefs.h. */ 7324 7604 int i; 7325 7605 _ACEOF 7326 - if ac_fn_c_try_compile "$LINENO"; then : 7606 + if ac_fn_c_try_compile "$LINENO" 7607 + then : 7327 7608 xorg_cv_cc_flag_unknown_warning_option=yes 7328 - else 7609 + else $as_nop 7329 7610 xorg_cv_cc_flag_unknown_warning_option=no 7330 7611 fi 7331 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7612 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7332 7613 fi 7333 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7334 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7615 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7335 7616 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7336 7617 CFLAGS="$xorg_testset_save_CFLAGS" 7337 7618 fi ··· 7341 7622 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7342 7623 fi 7343 7624 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7344 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7345 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7346 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7347 - $as_echo_n "(cached) " >&6 7348 - else 7625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7626 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7627 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7628 + then : 7629 + printf %s "(cached) " >&6 7630 + else $as_nop 7349 7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7350 7632 /* end confdefs.h. */ 7351 7633 int i; 7352 7634 _ACEOF 7353 - if ac_fn_c_try_compile "$LINENO"; then : 7635 + if ac_fn_c_try_compile "$LINENO" 7636 + then : 7354 7637 xorg_cv_cc_flag_unused_command_line_argument=yes 7355 - else 7638 + else $as_nop 7356 7639 xorg_cv_cc_flag_unused_command_line_argument=no 7357 7640 fi 7358 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7641 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7359 7642 fi 7360 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7361 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7644 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7362 7645 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7363 7646 CFLAGS="$xorg_testset_save_CFLAGS" 7364 7647 fi ··· 7376 7659 7377 7660 CFLAGS="$CFLAGS -Werror=return-type" 7378 7661 7379 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7380 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 7662 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7663 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 7381 7664 cacheid=xorg_cv_cc_flag__Werror_return_type 7382 - if eval \${$cacheid+:} false; then : 7383 - $as_echo_n "(cached) " >&6 7384 - else 7665 + if eval test \${$cacheid+y} 7666 + then : 7667 + printf %s "(cached) " >&6 7668 + else $as_nop 7385 7669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7386 7670 /* end confdefs.h. */ 7387 7671 int i; 7388 7672 int 7389 - main () 7673 + main (void) 7390 7674 { 7391 7675 7392 7676 ; 7393 7677 return 0; 7394 7678 } 7395 7679 _ACEOF 7396 - if ac_fn_c_try_link "$LINENO"; then : 7680 + if ac_fn_c_try_link "$LINENO" 7681 + then : 7397 7682 eval $cacheid=yes 7398 - else 7683 + else $as_nop 7399 7684 eval $cacheid=no 7400 7685 fi 7401 - rm -f core conftest.err conftest.$ac_objext \ 7686 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7402 7687 conftest$ac_exeext conftest.$ac_ext 7403 7688 fi 7404 7689 ··· 7406 7691 CFLAGS="$xorg_testset_save_CFLAGS" 7407 7692 7408 7693 eval supported=\$$cacheid 7409 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7410 - $as_echo "$supported" >&6; } 7694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7695 + printf "%s\n" "$supported" >&6; } 7411 7696 if test "$supported" = "yes" ; then 7412 7697 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 7413 7698 found="yes" ··· 7425 7710 7426 7711 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7427 7712 7428 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7429 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7713 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7714 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7430 7715 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 7431 - if eval \${$cacheid+:} false; then : 7432 - $as_echo_n "(cached) " >&6 7433 - else 7716 + if eval test \${$cacheid+y} 7717 + then : 7718 + printf %s "(cached) " >&6 7719 + else $as_nop 7434 7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7435 7721 /* end confdefs.h. */ 7436 7722 int i; 7437 7723 int 7438 - main () 7724 + main (void) 7439 7725 { 7440 7726 7441 7727 ; 7442 7728 return 0; 7443 7729 } 7444 7730 _ACEOF 7445 - if ac_fn_c_try_link "$LINENO"; then : 7731 + if ac_fn_c_try_link "$LINENO" 7732 + then : 7446 7733 eval $cacheid=yes 7447 - else 7734 + else $as_nop 7448 7735 eval $cacheid=no 7449 7736 fi 7450 - rm -f core conftest.err conftest.$ac_objext \ 7737 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7451 7738 conftest$ac_exeext conftest.$ac_ext 7452 7739 fi 7453 7740 ··· 7455 7742 CFLAGS="$xorg_testset_save_CFLAGS" 7456 7743 7457 7744 eval supported=\$$cacheid 7458 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7459 - $as_echo "$supported" >&6; } 7745 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7746 + printf "%s\n" "$supported" >&6; } 7460 7747 if test "$supported" = "yes" ; then 7461 7748 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7462 7749 found="yes" ··· 7481 7768 7482 7769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7483 7770 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7484 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7485 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7486 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7487 - $as_echo_n "(cached) " >&6 7488 - else 7771 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7772 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7773 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7774 + then : 7775 + printf %s "(cached) " >&6 7776 + else $as_nop 7489 7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7490 7778 /* end confdefs.h. */ 7491 7779 int i; 7492 7780 _ACEOF 7493 - if ac_fn_c_try_compile "$LINENO"; then : 7781 + if ac_fn_c_try_compile "$LINENO" 7782 + then : 7494 7783 xorg_cv_cc_flag_unknown_warning_option=yes 7495 - else 7784 + else $as_nop 7496 7785 xorg_cv_cc_flag_unknown_warning_option=no 7497 7786 fi 7498 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7787 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7499 7788 fi 7500 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7501 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7789 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7790 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7502 7791 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7503 7792 CFLAGS="$xorg_testset_save_CFLAGS" 7504 7793 fi ··· 7508 7797 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7509 7798 fi 7510 7799 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7511 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7512 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7513 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7514 - $as_echo_n "(cached) " >&6 7515 - else 7800 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7801 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7802 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7803 + then : 7804 + printf %s "(cached) " >&6 7805 + else $as_nop 7516 7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7517 7807 /* end confdefs.h. */ 7518 7808 int i; 7519 7809 _ACEOF 7520 - if ac_fn_c_try_compile "$LINENO"; then : 7810 + if ac_fn_c_try_compile "$LINENO" 7811 + then : 7521 7812 xorg_cv_cc_flag_unused_command_line_argument=yes 7522 - else 7813 + else $as_nop 7523 7814 xorg_cv_cc_flag_unused_command_line_argument=no 7524 7815 fi 7525 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7816 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7526 7817 fi 7527 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7528 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7818 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7819 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7529 7820 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7530 7821 CFLAGS="$xorg_testset_save_CFLAGS" 7531 7822 fi ··· 7543 7834 7544 7835 CFLAGS="$CFLAGS -Werror=trigraphs" 7545 7836 7546 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7547 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 7837 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7838 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 7548 7839 cacheid=xorg_cv_cc_flag__Werror_trigraphs 7549 - if eval \${$cacheid+:} false; then : 7550 - $as_echo_n "(cached) " >&6 7551 - else 7840 + if eval test \${$cacheid+y} 7841 + then : 7842 + printf %s "(cached) " >&6 7843 + else $as_nop 7552 7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7553 7845 /* end confdefs.h. */ 7554 7846 int i; 7555 7847 int 7556 - main () 7848 + main (void) 7557 7849 { 7558 7850 7559 7851 ; 7560 7852 return 0; 7561 7853 } 7562 7854 _ACEOF 7563 - if ac_fn_c_try_link "$LINENO"; then : 7855 + if ac_fn_c_try_link "$LINENO" 7856 + then : 7564 7857 eval $cacheid=yes 7565 - else 7858 + else $as_nop 7566 7859 eval $cacheid=no 7567 7860 fi 7568 - rm -f core conftest.err conftest.$ac_objext \ 7861 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7569 7862 conftest$ac_exeext conftest.$ac_ext 7570 7863 fi 7571 7864 ··· 7573 7866 CFLAGS="$xorg_testset_save_CFLAGS" 7574 7867 7575 7868 eval supported=\$$cacheid 7576 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7577 - $as_echo "$supported" >&6; } 7869 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7870 + printf "%s\n" "$supported" >&6; } 7578 7871 if test "$supported" = "yes" ; then 7579 7872 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 7580 7873 found="yes" ··· 7599 7892 7600 7893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7601 7894 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7602 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7603 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7604 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7605 - $as_echo_n "(cached) " >&6 7606 - else 7895 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7896 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7897 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7898 + then : 7899 + printf %s "(cached) " >&6 7900 + else $as_nop 7607 7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7608 7902 /* end confdefs.h. */ 7609 7903 int i; 7610 7904 _ACEOF 7611 - if ac_fn_c_try_compile "$LINENO"; then : 7905 + if ac_fn_c_try_compile "$LINENO" 7906 + then : 7612 7907 xorg_cv_cc_flag_unknown_warning_option=yes 7613 - else 7908 + else $as_nop 7614 7909 xorg_cv_cc_flag_unknown_warning_option=no 7615 7910 fi 7616 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7911 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7617 7912 fi 7618 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7619 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7913 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7914 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7620 7915 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7621 7916 CFLAGS="$xorg_testset_save_CFLAGS" 7622 7917 fi ··· 7626 7921 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7627 7922 fi 7628 7923 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7629 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7630 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7631 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7632 - $as_echo_n "(cached) " >&6 7633 - else 7924 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7925 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7926 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7927 + then : 7928 + printf %s "(cached) " >&6 7929 + else $as_nop 7634 7930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7635 7931 /* end confdefs.h. */ 7636 7932 int i; 7637 7933 _ACEOF 7638 - if ac_fn_c_try_compile "$LINENO"; then : 7934 + if ac_fn_c_try_compile "$LINENO" 7935 + then : 7639 7936 xorg_cv_cc_flag_unused_command_line_argument=yes 7640 - else 7937 + else $as_nop 7641 7938 xorg_cv_cc_flag_unused_command_line_argument=no 7642 7939 fi 7643 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7940 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7644 7941 fi 7645 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7646 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7942 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7943 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7647 7944 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7648 7945 CFLAGS="$xorg_testset_save_CFLAGS" 7649 7946 fi ··· 7661 7958 7662 7959 CFLAGS="$CFLAGS -Werror=array-bounds" 7663 7960 7664 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7665 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 7961 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7962 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 7666 7963 cacheid=xorg_cv_cc_flag__Werror_array_bounds 7667 - if eval \${$cacheid+:} false; then : 7668 - $as_echo_n "(cached) " >&6 7669 - else 7964 + if eval test \${$cacheid+y} 7965 + then : 7966 + printf %s "(cached) " >&6 7967 + else $as_nop 7670 7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7671 7969 /* end confdefs.h. */ 7672 7970 int i; 7673 7971 int 7674 - main () 7972 + main (void) 7675 7973 { 7676 7974 7677 7975 ; 7678 7976 return 0; 7679 7977 } 7680 7978 _ACEOF 7681 - if ac_fn_c_try_link "$LINENO"; then : 7979 + if ac_fn_c_try_link "$LINENO" 7980 + then : 7682 7981 eval $cacheid=yes 7683 - else 7982 + else $as_nop 7684 7983 eval $cacheid=no 7685 7984 fi 7686 - rm -f core conftest.err conftest.$ac_objext \ 7985 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7687 7986 conftest$ac_exeext conftest.$ac_ext 7688 7987 fi 7689 7988 ··· 7691 7990 CFLAGS="$xorg_testset_save_CFLAGS" 7692 7991 7693 7992 eval supported=\$$cacheid 7694 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7695 - $as_echo "$supported" >&6; } 7993 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7994 + printf "%s\n" "$supported" >&6; } 7696 7995 if test "$supported" = "yes" ; then 7697 7996 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 7698 7997 found="yes" ··· 7717 8016 7718 8017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7719 8018 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7720 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7721 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7722 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7723 - $as_echo_n "(cached) " >&6 7724 - else 8019 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8020 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8021 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8022 + then : 8023 + printf %s "(cached) " >&6 8024 + else $as_nop 7725 8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7726 8026 /* end confdefs.h. */ 7727 8027 int i; 7728 8028 _ACEOF 7729 - if ac_fn_c_try_compile "$LINENO"; then : 8029 + if ac_fn_c_try_compile "$LINENO" 8030 + then : 7730 8031 xorg_cv_cc_flag_unknown_warning_option=yes 7731 - else 8032 + else $as_nop 7732 8033 xorg_cv_cc_flag_unknown_warning_option=no 7733 8034 fi 7734 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8035 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7735 8036 fi 7736 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7737 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8038 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7738 8039 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7739 8040 CFLAGS="$xorg_testset_save_CFLAGS" 7740 8041 fi ··· 7744 8045 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7745 8046 fi 7746 8047 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7747 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7748 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7749 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7750 - $as_echo_n "(cached) " >&6 7751 - else 8048 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8049 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8050 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8051 + then : 8052 + printf %s "(cached) " >&6 8053 + else $as_nop 7752 8054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7753 8055 /* end confdefs.h. */ 7754 8056 int i; 7755 8057 _ACEOF 7756 - if ac_fn_c_try_compile "$LINENO"; then : 8058 + if ac_fn_c_try_compile "$LINENO" 8059 + then : 7757 8060 xorg_cv_cc_flag_unused_command_line_argument=yes 7758 - else 8061 + else $as_nop 7759 8062 xorg_cv_cc_flag_unused_command_line_argument=no 7760 8063 fi 7761 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8064 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7762 8065 fi 7763 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7764 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8066 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8067 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7765 8068 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7766 8069 CFLAGS="$xorg_testset_save_CFLAGS" 7767 8070 fi ··· 7779 8082 7780 8083 CFLAGS="$CFLAGS -Werror=write-strings" 7781 8084 7782 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 7783 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 8085 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 8086 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 7784 8087 cacheid=xorg_cv_cc_flag__Werror_write_strings 7785 - if eval \${$cacheid+:} false; then : 7786 - $as_echo_n "(cached) " >&6 7787 - else 8088 + if eval test \${$cacheid+y} 8089 + then : 8090 + printf %s "(cached) " >&6 8091 + else $as_nop 7788 8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7789 8093 /* end confdefs.h. */ 7790 8094 int i; 7791 8095 int 7792 - main () 8096 + main (void) 7793 8097 { 7794 8098 7795 8099 ; 7796 8100 return 0; 7797 8101 } 7798 8102 _ACEOF 7799 - if ac_fn_c_try_link "$LINENO"; then : 8103 + if ac_fn_c_try_link "$LINENO" 8104 + then : 7800 8105 eval $cacheid=yes 7801 - else 8106 + else $as_nop 7802 8107 eval $cacheid=no 7803 8108 fi 7804 - rm -f core conftest.err conftest.$ac_objext \ 8109 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7805 8110 conftest$ac_exeext conftest.$ac_ext 7806 8111 fi 7807 8112 ··· 7809 8114 CFLAGS="$xorg_testset_save_CFLAGS" 7810 8115 7811 8116 eval supported=\$$cacheid 7812 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7813 - $as_echo "$supported" >&6; } 8117 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8118 + printf "%s\n" "$supported" >&6; } 7814 8119 if test "$supported" = "yes" ; then 7815 8120 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 7816 8121 found="yes" ··· 7835 8140 7836 8141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7837 8142 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7838 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7839 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7840 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7841 - $as_echo_n "(cached) " >&6 7842 - else 8143 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8144 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8145 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8146 + then : 8147 + printf %s "(cached) " >&6 8148 + else $as_nop 7843 8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7844 8150 /* end confdefs.h. */ 7845 8151 int i; 7846 8152 _ACEOF 7847 - if ac_fn_c_try_compile "$LINENO"; then : 8153 + if ac_fn_c_try_compile "$LINENO" 8154 + then : 7848 8155 xorg_cv_cc_flag_unknown_warning_option=yes 7849 - else 8156 + else $as_nop 7850 8157 xorg_cv_cc_flag_unknown_warning_option=no 7851 8158 fi 7852 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8159 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7853 8160 fi 7854 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7855 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8161 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8162 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7856 8163 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7857 8164 CFLAGS="$xorg_testset_save_CFLAGS" 7858 8165 fi ··· 7862 8169 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7863 8170 fi 7864 8171 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7865 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7866 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7867 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7868 - $as_echo_n "(cached) " >&6 7869 - else 8172 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8173 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8174 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8175 + then : 8176 + printf %s "(cached) " >&6 8177 + else $as_nop 7870 8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7871 8179 /* end confdefs.h. */ 7872 8180 int i; 7873 8181 _ACEOF 7874 - if ac_fn_c_try_compile "$LINENO"; then : 8182 + if ac_fn_c_try_compile "$LINENO" 8183 + then : 7875 8184 xorg_cv_cc_flag_unused_command_line_argument=yes 7876 - else 8185 + else $as_nop 7877 8186 xorg_cv_cc_flag_unused_command_line_argument=no 7878 8187 fi 7879 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8188 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7880 8189 fi 7881 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7882 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8190 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8191 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7883 8192 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7884 8193 CFLAGS="$xorg_testset_save_CFLAGS" 7885 8194 fi ··· 7897 8206 7898 8207 CFLAGS="$CFLAGS -Werror=address" 7899 8208 7900 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 7901 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 8209 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8210 + printf %s "checking if $CC supports -Werror=address... " >&6; } 7902 8211 cacheid=xorg_cv_cc_flag__Werror_address 7903 - if eval \${$cacheid+:} false; then : 7904 - $as_echo_n "(cached) " >&6 7905 - else 8212 + if eval test \${$cacheid+y} 8213 + then : 8214 + printf %s "(cached) " >&6 8215 + else $as_nop 7906 8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7907 8217 /* end confdefs.h. */ 7908 8218 int i; 7909 8219 int 7910 - main () 8220 + main (void) 7911 8221 { 7912 8222 7913 8223 ; 7914 8224 return 0; 7915 8225 } 7916 8226 _ACEOF 7917 - if ac_fn_c_try_link "$LINENO"; then : 8227 + if ac_fn_c_try_link "$LINENO" 8228 + then : 7918 8229 eval $cacheid=yes 7919 - else 8230 + else $as_nop 7920 8231 eval $cacheid=no 7921 8232 fi 7922 - rm -f core conftest.err conftest.$ac_objext \ 8233 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7923 8234 conftest$ac_exeext conftest.$ac_ext 7924 8235 fi 7925 8236 ··· 7927 8238 CFLAGS="$xorg_testset_save_CFLAGS" 7928 8239 7929 8240 eval supported=\$$cacheid 7930 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7931 - $as_echo "$supported" >&6; } 8241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8242 + printf "%s\n" "$supported" >&6; } 7932 8243 if test "$supported" = "yes" ; then 7933 8244 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 7934 8245 found="yes" ··· 7953 8264 7954 8265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7955 8266 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7956 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7957 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7958 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7959 - $as_echo_n "(cached) " >&6 7960 - else 8267 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8268 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8269 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8270 + then : 8271 + printf %s "(cached) " >&6 8272 + else $as_nop 7961 8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7962 8274 /* end confdefs.h. */ 7963 8275 int i; 7964 8276 _ACEOF 7965 - if ac_fn_c_try_compile "$LINENO"; then : 8277 + if ac_fn_c_try_compile "$LINENO" 8278 + then : 7966 8279 xorg_cv_cc_flag_unknown_warning_option=yes 7967 - else 8280 + else $as_nop 7968 8281 xorg_cv_cc_flag_unknown_warning_option=no 7969 8282 fi 7970 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8283 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7971 8284 fi 7972 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7973 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8285 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8286 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7974 8287 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7975 8288 CFLAGS="$xorg_testset_save_CFLAGS" 7976 8289 fi ··· 7980 8293 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7981 8294 fi 7982 8295 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7983 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7984 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7985 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7986 - $as_echo_n "(cached) " >&6 7987 - else 8296 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8297 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8298 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8299 + then : 8300 + printf %s "(cached) " >&6 8301 + else $as_nop 7988 8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7989 8303 /* end confdefs.h. */ 7990 8304 int i; 7991 8305 _ACEOF 7992 - if ac_fn_c_try_compile "$LINENO"; then : 8306 + if ac_fn_c_try_compile "$LINENO" 8307 + then : 7993 8308 xorg_cv_cc_flag_unused_command_line_argument=yes 7994 - else 8309 + else $as_nop 7995 8310 xorg_cv_cc_flag_unused_command_line_argument=no 7996 8311 fi 7997 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8312 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7998 8313 fi 7999 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8000 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8314 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8315 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8001 8316 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8002 8317 CFLAGS="$xorg_testset_save_CFLAGS" 8003 8318 fi ··· 8015 8330 8016 8331 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 8017 8332 8018 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8019 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8333 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8334 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8020 8335 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 8021 - if eval \${$cacheid+:} false; then : 8022 - $as_echo_n "(cached) " >&6 8023 - else 8336 + if eval test \${$cacheid+y} 8337 + then : 8338 + printf %s "(cached) " >&6 8339 + else $as_nop 8024 8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8025 8341 /* end confdefs.h. */ 8026 8342 int i; 8027 8343 int 8028 - main () 8344 + main (void) 8029 8345 { 8030 8346 8031 8347 ; 8032 8348 return 0; 8033 8349 } 8034 8350 _ACEOF 8035 - if ac_fn_c_try_link "$LINENO"; then : 8351 + if ac_fn_c_try_link "$LINENO" 8352 + then : 8036 8353 eval $cacheid=yes 8037 - else 8354 + else $as_nop 8038 8355 eval $cacheid=no 8039 8356 fi 8040 - rm -f core conftest.err conftest.$ac_objext \ 8357 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8041 8358 conftest$ac_exeext conftest.$ac_ext 8042 8359 fi 8043 8360 ··· 8045 8362 CFLAGS="$xorg_testset_save_CFLAGS" 8046 8363 8047 8364 eval supported=\$$cacheid 8048 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8049 - $as_echo "$supported" >&6; } 8365 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8366 + printf "%s\n" "$supported" >&6; } 8050 8367 if test "$supported" = "yes" ; then 8051 8368 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 8052 8369 found="yes" ··· 8064 8381 8065 8382 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8066 8383 8067 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8068 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8384 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8385 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8069 8386 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 8070 - if eval \${$cacheid+:} false; then : 8071 - $as_echo_n "(cached) " >&6 8072 - else 8387 + if eval test \${$cacheid+y} 8388 + then : 8389 + printf %s "(cached) " >&6 8390 + else $as_nop 8073 8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8074 8392 /* end confdefs.h. */ 8075 8393 int i; 8076 8394 int 8077 - main () 8395 + main (void) 8078 8396 { 8079 8397 8080 8398 ; 8081 8399 return 0; 8082 8400 } 8083 8401 _ACEOF 8084 - if ac_fn_c_try_link "$LINENO"; then : 8402 + if ac_fn_c_try_link "$LINENO" 8403 + then : 8085 8404 eval $cacheid=yes 8086 - else 8405 + else $as_nop 8087 8406 eval $cacheid=no 8088 8407 fi 8089 - rm -f core conftest.err conftest.$ac_objext \ 8408 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8090 8409 conftest$ac_exeext conftest.$ac_ext 8091 8410 fi 8092 8411 ··· 8094 8413 CFLAGS="$xorg_testset_save_CFLAGS" 8095 8414 8096 8415 eval supported=\$$cacheid 8097 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8098 - $as_echo "$supported" >&6; } 8416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8417 + printf "%s\n" "$supported" >&6; } 8099 8418 if test "$supported" = "yes" ; then 8100 8419 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8101 8420 found="yes" ··· 8120 8439 8121 8440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8122 8441 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8123 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8124 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8125 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8126 - $as_echo_n "(cached) " >&6 8127 - else 8442 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8443 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8444 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8445 + then : 8446 + printf %s "(cached) " >&6 8447 + else $as_nop 8128 8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8129 8449 /* end confdefs.h. */ 8130 8450 int i; 8131 8451 _ACEOF 8132 - if ac_fn_c_try_compile "$LINENO"; then : 8452 + if ac_fn_c_try_compile "$LINENO" 8453 + then : 8133 8454 xorg_cv_cc_flag_unknown_warning_option=yes 8134 - else 8455 + else $as_nop 8135 8456 xorg_cv_cc_flag_unknown_warning_option=no 8136 8457 fi 8137 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8458 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8138 8459 fi 8139 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8140 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8461 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8141 8462 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8142 8463 CFLAGS="$xorg_testset_save_CFLAGS" 8143 8464 fi ··· 8147 8468 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8148 8469 fi 8149 8470 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8150 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8151 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8152 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8153 - $as_echo_n "(cached) " >&6 8154 - else 8471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8472 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8473 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8474 + then : 8475 + printf %s "(cached) " >&6 8476 + else $as_nop 8155 8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8156 8478 /* end confdefs.h. */ 8157 8479 int i; 8158 8480 _ACEOF 8159 - if ac_fn_c_try_compile "$LINENO"; then : 8481 + if ac_fn_c_try_compile "$LINENO" 8482 + then : 8160 8483 xorg_cv_cc_flag_unused_command_line_argument=yes 8161 - else 8484 + else $as_nop 8162 8485 xorg_cv_cc_flag_unused_command_line_argument=no 8163 8486 fi 8164 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8487 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8165 8488 fi 8166 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8167 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8489 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8490 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8168 8491 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8169 8492 CFLAGS="$xorg_testset_save_CFLAGS" 8170 8493 fi ··· 8182 8505 8183 8506 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 8184 8507 8185 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8186 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8508 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8509 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8187 8510 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 8188 - if eval \${$cacheid+:} false; then : 8189 - $as_echo_n "(cached) " >&6 8190 - else 8511 + if eval test \${$cacheid+y} 8512 + then : 8513 + printf %s "(cached) " >&6 8514 + else $as_nop 8191 8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8192 8516 /* end confdefs.h. */ 8193 8517 int i; 8194 8518 int 8195 - main () 8519 + main (void) 8196 8520 { 8197 8521 8198 8522 ; 8199 8523 return 0; 8200 8524 } 8201 8525 _ACEOF 8202 - if ac_fn_c_try_link "$LINENO"; then : 8526 + if ac_fn_c_try_link "$LINENO" 8527 + then : 8203 8528 eval $cacheid=yes 8204 - else 8529 + else $as_nop 8205 8530 eval $cacheid=no 8206 8531 fi 8207 - rm -f core conftest.err conftest.$ac_objext \ 8532 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8208 8533 conftest$ac_exeext conftest.$ac_ext 8209 8534 fi 8210 8535 ··· 8212 8537 CFLAGS="$xorg_testset_save_CFLAGS" 8213 8538 8214 8539 eval supported=\$$cacheid 8215 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8216 - $as_echo "$supported" >&6; } 8540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8541 + printf "%s\n" "$supported" >&6; } 8217 8542 if test "$supported" = "yes" ; then 8218 8543 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 8219 8544 found="yes" ··· 8222 8547 8223 8548 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 8224 8549 else 8225 - { $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 8226 - $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;} 8550 + { 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 8551 + 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;} 8227 8552 8228 8553 8229 8554 ··· 8241 8566 8242 8567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8243 8568 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8244 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8245 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8246 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8247 - $as_echo_n "(cached) " >&6 8248 - else 8569 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8570 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8571 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8572 + then : 8573 + printf %s "(cached) " >&6 8574 + else $as_nop 8249 8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8250 8576 /* end confdefs.h. */ 8251 8577 int i; 8252 8578 _ACEOF 8253 - if ac_fn_c_try_compile "$LINENO"; then : 8579 + if ac_fn_c_try_compile "$LINENO" 8580 + then : 8254 8581 xorg_cv_cc_flag_unknown_warning_option=yes 8255 - else 8582 + else $as_nop 8256 8583 xorg_cv_cc_flag_unknown_warning_option=no 8257 8584 fi 8258 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8585 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8259 8586 fi 8260 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8261 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8588 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8262 8589 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8263 8590 CFLAGS="$xorg_testset_save_CFLAGS" 8264 8591 fi ··· 8268 8595 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8269 8596 fi 8270 8597 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8271 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8272 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8273 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8274 - $as_echo_n "(cached) " >&6 8275 - else 8598 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8599 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8600 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8601 + then : 8602 + printf %s "(cached) " >&6 8603 + else $as_nop 8276 8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8277 8605 /* end confdefs.h. */ 8278 8606 int i; 8279 8607 _ACEOF 8280 - if ac_fn_c_try_compile "$LINENO"; then : 8608 + if ac_fn_c_try_compile "$LINENO" 8609 + then : 8281 8610 xorg_cv_cc_flag_unused_command_line_argument=yes 8282 - else 8611 + else $as_nop 8283 8612 xorg_cv_cc_flag_unused_command_line_argument=no 8284 8613 fi 8285 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8614 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8286 8615 fi 8287 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8288 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8616 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8617 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8289 8618 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8290 8619 CFLAGS="$xorg_testset_save_CFLAGS" 8291 8620 fi ··· 8303 8632 8304 8633 CFLAGS="$CFLAGS -Wimplicit" 8305 8634 8306 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8307 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 8635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8636 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 8308 8637 cacheid=xorg_cv_cc_flag__Wimplicit 8309 - if eval \${$cacheid+:} false; then : 8310 - $as_echo_n "(cached) " >&6 8311 - else 8638 + if eval test \${$cacheid+y} 8639 + then : 8640 + printf %s "(cached) " >&6 8641 + else $as_nop 8312 8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8313 8643 /* end confdefs.h. */ 8314 8644 int i; 8315 8645 int 8316 - main () 8646 + main (void) 8317 8647 { 8318 8648 8319 8649 ; 8320 8650 return 0; 8321 8651 } 8322 8652 _ACEOF 8323 - if ac_fn_c_try_link "$LINENO"; then : 8653 + if ac_fn_c_try_link "$LINENO" 8654 + then : 8324 8655 eval $cacheid=yes 8325 - else 8656 + else $as_nop 8326 8657 eval $cacheid=no 8327 8658 fi 8328 - rm -f core conftest.err conftest.$ac_objext \ 8659 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8329 8660 conftest$ac_exeext conftest.$ac_ext 8330 8661 fi 8331 8662 ··· 8333 8664 CFLAGS="$xorg_testset_save_CFLAGS" 8334 8665 8335 8666 eval supported=\$$cacheid 8336 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8337 - $as_echo "$supported" >&6; } 8667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8668 + printf "%s\n" "$supported" >&6; } 8338 8669 if test "$supported" = "yes" ; then 8339 8670 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 8340 8671 found="yes" ··· 8359 8690 8360 8691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8361 8692 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8362 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8363 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8364 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8365 - $as_echo_n "(cached) " >&6 8366 - else 8693 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8694 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8695 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8696 + then : 8697 + printf %s "(cached) " >&6 8698 + else $as_nop 8367 8699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8368 8700 /* end confdefs.h. */ 8369 8701 int i; 8370 8702 _ACEOF 8371 - if ac_fn_c_try_compile "$LINENO"; then : 8703 + if ac_fn_c_try_compile "$LINENO" 8704 + then : 8372 8705 xorg_cv_cc_flag_unknown_warning_option=yes 8373 - else 8706 + else $as_nop 8374 8707 xorg_cv_cc_flag_unknown_warning_option=no 8375 8708 fi 8376 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8709 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8377 8710 fi 8378 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8379 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8712 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8380 8713 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8381 8714 CFLAGS="$xorg_testset_save_CFLAGS" 8382 8715 fi ··· 8386 8719 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8387 8720 fi 8388 8721 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8389 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8390 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8391 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8392 - $as_echo_n "(cached) " >&6 8393 - else 8722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8723 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8724 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8725 + then : 8726 + printf %s "(cached) " >&6 8727 + else $as_nop 8394 8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8395 8729 /* end confdefs.h. */ 8396 8730 int i; 8397 8731 _ACEOF 8398 - if ac_fn_c_try_compile "$LINENO"; then : 8732 + if ac_fn_c_try_compile "$LINENO" 8733 + then : 8399 8734 xorg_cv_cc_flag_unused_command_line_argument=yes 8400 - else 8735 + else $as_nop 8401 8736 xorg_cv_cc_flag_unused_command_line_argument=no 8402 8737 fi 8403 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8738 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8404 8739 fi 8405 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8406 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8740 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8741 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8407 8742 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8408 8743 CFLAGS="$xorg_testset_save_CFLAGS" 8409 8744 fi ··· 8421 8756 8422 8757 CFLAGS="$CFLAGS -Wnonnull" 8423 8758 8424 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8425 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 8759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8760 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 8426 8761 cacheid=xorg_cv_cc_flag__Wnonnull 8427 - if eval \${$cacheid+:} false; then : 8428 - $as_echo_n "(cached) " >&6 8429 - else 8762 + if eval test \${$cacheid+y} 8763 + then : 8764 + printf %s "(cached) " >&6 8765 + else $as_nop 8430 8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8431 8767 /* end confdefs.h. */ 8432 8768 int i; 8433 8769 int 8434 - main () 8770 + main (void) 8435 8771 { 8436 8772 8437 8773 ; 8438 8774 return 0; 8439 8775 } 8440 8776 _ACEOF 8441 - if ac_fn_c_try_link "$LINENO"; then : 8777 + if ac_fn_c_try_link "$LINENO" 8778 + then : 8442 8779 eval $cacheid=yes 8443 - else 8780 + else $as_nop 8444 8781 eval $cacheid=no 8445 8782 fi 8446 - rm -f core conftest.err conftest.$ac_objext \ 8783 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8447 8784 conftest$ac_exeext conftest.$ac_ext 8448 8785 fi 8449 8786 ··· 8451 8788 CFLAGS="$xorg_testset_save_CFLAGS" 8452 8789 8453 8790 eval supported=\$$cacheid 8454 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8455 - $as_echo "$supported" >&6; } 8791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8792 + printf "%s\n" "$supported" >&6; } 8456 8793 if test "$supported" = "yes" ; then 8457 8794 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 8458 8795 found="yes" ··· 8477 8814 8478 8815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8479 8816 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8480 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8481 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8482 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8483 - $as_echo_n "(cached) " >&6 8484 - else 8817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8818 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8819 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8820 + then : 8821 + printf %s "(cached) " >&6 8822 + else $as_nop 8485 8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8486 8824 /* end confdefs.h. */ 8487 8825 int i; 8488 8826 _ACEOF 8489 - if ac_fn_c_try_compile "$LINENO"; then : 8827 + if ac_fn_c_try_compile "$LINENO" 8828 + then : 8490 8829 xorg_cv_cc_flag_unknown_warning_option=yes 8491 - else 8830 + else $as_nop 8492 8831 xorg_cv_cc_flag_unknown_warning_option=no 8493 8832 fi 8494 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8833 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8495 8834 fi 8496 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8497 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8835 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8836 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8498 8837 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8499 8838 CFLAGS="$xorg_testset_save_CFLAGS" 8500 8839 fi ··· 8504 8843 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8505 8844 fi 8506 8845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8507 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8508 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8509 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8510 - $as_echo_n "(cached) " >&6 8511 - else 8846 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8847 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8848 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8849 + then : 8850 + printf %s "(cached) " >&6 8851 + else $as_nop 8512 8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8513 8853 /* end confdefs.h. */ 8514 8854 int i; 8515 8855 _ACEOF 8516 - if ac_fn_c_try_compile "$LINENO"; then : 8856 + if ac_fn_c_try_compile "$LINENO" 8857 + then : 8517 8858 xorg_cv_cc_flag_unused_command_line_argument=yes 8518 - else 8859 + else $as_nop 8519 8860 xorg_cv_cc_flag_unused_command_line_argument=no 8520 8861 fi 8521 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8862 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8522 8863 fi 8523 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8524 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8864 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8865 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8525 8866 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8526 8867 CFLAGS="$xorg_testset_save_CFLAGS" 8527 8868 fi ··· 8539 8880 8540 8881 CFLAGS="$CFLAGS -Winit-self" 8541 8882 8542 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8543 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 8883 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8884 + printf %s "checking if $CC supports -Winit-self... " >&6; } 8544 8885 cacheid=xorg_cv_cc_flag__Winit_self 8545 - if eval \${$cacheid+:} false; then : 8546 - $as_echo_n "(cached) " >&6 8547 - else 8886 + if eval test \${$cacheid+y} 8887 + then : 8888 + printf %s "(cached) " >&6 8889 + else $as_nop 8548 8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8549 8891 /* end confdefs.h. */ 8550 8892 int i; 8551 8893 int 8552 - main () 8894 + main (void) 8553 8895 { 8554 8896 8555 8897 ; 8556 8898 return 0; 8557 8899 } 8558 8900 _ACEOF 8559 - if ac_fn_c_try_link "$LINENO"; then : 8901 + if ac_fn_c_try_link "$LINENO" 8902 + then : 8560 8903 eval $cacheid=yes 8561 - else 8904 + else $as_nop 8562 8905 eval $cacheid=no 8563 8906 fi 8564 - rm -f core conftest.err conftest.$ac_objext \ 8907 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8565 8908 conftest$ac_exeext conftest.$ac_ext 8566 8909 fi 8567 8910 ··· 8569 8912 CFLAGS="$xorg_testset_save_CFLAGS" 8570 8913 8571 8914 eval supported=\$$cacheid 8572 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8573 - $as_echo "$supported" >&6; } 8915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8916 + printf "%s\n" "$supported" >&6; } 8574 8917 if test "$supported" = "yes" ; then 8575 8918 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 8576 8919 found="yes" ··· 8595 8938 8596 8939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8597 8940 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8598 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8599 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8600 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8601 - $as_echo_n "(cached) " >&6 8602 - else 8941 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8942 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8943 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8944 + then : 8945 + printf %s "(cached) " >&6 8946 + else $as_nop 8603 8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8604 8948 /* end confdefs.h. */ 8605 8949 int i; 8606 8950 _ACEOF 8607 - if ac_fn_c_try_compile "$LINENO"; then : 8951 + if ac_fn_c_try_compile "$LINENO" 8952 + then : 8608 8953 xorg_cv_cc_flag_unknown_warning_option=yes 8609 - else 8954 + else $as_nop 8610 8955 xorg_cv_cc_flag_unknown_warning_option=no 8611 8956 fi 8612 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8957 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8613 8958 fi 8614 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8615 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8959 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8960 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8616 8961 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8617 8962 CFLAGS="$xorg_testset_save_CFLAGS" 8618 8963 fi ··· 8622 8967 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8623 8968 fi 8624 8969 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8625 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8626 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8627 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8628 - $as_echo_n "(cached) " >&6 8629 - else 8970 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8971 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8972 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8973 + then : 8974 + printf %s "(cached) " >&6 8975 + else $as_nop 8630 8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8631 8977 /* end confdefs.h. */ 8632 8978 int i; 8633 8979 _ACEOF 8634 - if ac_fn_c_try_compile "$LINENO"; then : 8980 + if ac_fn_c_try_compile "$LINENO" 8981 + then : 8635 8982 xorg_cv_cc_flag_unused_command_line_argument=yes 8636 - else 8983 + else $as_nop 8637 8984 xorg_cv_cc_flag_unused_command_line_argument=no 8638 8985 fi 8639 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8986 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8640 8987 fi 8641 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8642 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8988 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8989 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8643 8990 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8644 8991 CFLAGS="$xorg_testset_save_CFLAGS" 8645 8992 fi ··· 8657 9004 8658 9005 CFLAGS="$CFLAGS -Wmain" 8659 9006 8660 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 8661 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 9007 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 9008 + printf %s "checking if $CC supports -Wmain... " >&6; } 8662 9009 cacheid=xorg_cv_cc_flag__Wmain 8663 - if eval \${$cacheid+:} false; then : 8664 - $as_echo_n "(cached) " >&6 8665 - else 9010 + if eval test \${$cacheid+y} 9011 + then : 9012 + printf %s "(cached) " >&6 9013 + else $as_nop 8666 9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8667 9015 /* end confdefs.h. */ 8668 9016 int i; 8669 9017 int 8670 - main () 9018 + main (void) 8671 9019 { 8672 9020 8673 9021 ; 8674 9022 return 0; 8675 9023 } 8676 9024 _ACEOF 8677 - if ac_fn_c_try_link "$LINENO"; then : 9025 + if ac_fn_c_try_link "$LINENO" 9026 + then : 8678 9027 eval $cacheid=yes 8679 - else 9028 + else $as_nop 8680 9029 eval $cacheid=no 8681 9030 fi 8682 - rm -f core conftest.err conftest.$ac_objext \ 9031 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8683 9032 conftest$ac_exeext conftest.$ac_ext 8684 9033 fi 8685 9034 ··· 8687 9036 CFLAGS="$xorg_testset_save_CFLAGS" 8688 9037 8689 9038 eval supported=\$$cacheid 8690 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8691 - $as_echo "$supported" >&6; } 9039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9040 + printf "%s\n" "$supported" >&6; } 8692 9041 if test "$supported" = "yes" ; then 8693 9042 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 8694 9043 found="yes" ··· 8713 9062 8714 9063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8715 9064 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8716 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8717 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8718 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8719 - $as_echo_n "(cached) " >&6 8720 - else 9065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9066 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9067 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9068 + then : 9069 + printf %s "(cached) " >&6 9070 + else $as_nop 8721 9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8722 9072 /* end confdefs.h. */ 8723 9073 int i; 8724 9074 _ACEOF 8725 - if ac_fn_c_try_compile "$LINENO"; then : 9075 + if ac_fn_c_try_compile "$LINENO" 9076 + then : 8726 9077 xorg_cv_cc_flag_unknown_warning_option=yes 8727 - else 9078 + else $as_nop 8728 9079 xorg_cv_cc_flag_unknown_warning_option=no 8729 9080 fi 8730 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9081 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8731 9082 fi 8732 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8733 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9083 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9084 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8734 9085 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8735 9086 CFLAGS="$xorg_testset_save_CFLAGS" 8736 9087 fi ··· 8740 9091 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8741 9092 fi 8742 9093 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8743 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8744 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8745 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8746 - $as_echo_n "(cached) " >&6 8747 - else 9094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9095 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9096 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9097 + then : 9098 + printf %s "(cached) " >&6 9099 + else $as_nop 8748 9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8749 9101 /* end confdefs.h. */ 8750 9102 int i; 8751 9103 _ACEOF 8752 - if ac_fn_c_try_compile "$LINENO"; then : 9104 + if ac_fn_c_try_compile "$LINENO" 9105 + then : 8753 9106 xorg_cv_cc_flag_unused_command_line_argument=yes 8754 - else 9107 + else $as_nop 8755 9108 xorg_cv_cc_flag_unused_command_line_argument=no 8756 9109 fi 8757 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9110 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8758 9111 fi 8759 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8760 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9112 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9113 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8761 9114 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8762 9115 CFLAGS="$xorg_testset_save_CFLAGS" 8763 9116 fi ··· 8775 9128 8776 9129 CFLAGS="$CFLAGS -Wmissing-braces" 8777 9130 8778 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 8779 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 9131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 9132 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 8780 9133 cacheid=xorg_cv_cc_flag__Wmissing_braces 8781 - if eval \${$cacheid+:} false; then : 8782 - $as_echo_n "(cached) " >&6 8783 - else 9134 + if eval test \${$cacheid+y} 9135 + then : 9136 + printf %s "(cached) " >&6 9137 + else $as_nop 8784 9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8785 9139 /* end confdefs.h. */ 8786 9140 int i; 8787 9141 int 8788 - main () 9142 + main (void) 8789 9143 { 8790 9144 8791 9145 ; 8792 9146 return 0; 8793 9147 } 8794 9148 _ACEOF 8795 - if ac_fn_c_try_link "$LINENO"; then : 9149 + if ac_fn_c_try_link "$LINENO" 9150 + then : 8796 9151 eval $cacheid=yes 8797 - else 9152 + else $as_nop 8798 9153 eval $cacheid=no 8799 9154 fi 8800 - rm -f core conftest.err conftest.$ac_objext \ 9155 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8801 9156 conftest$ac_exeext conftest.$ac_ext 8802 9157 fi 8803 9158 ··· 8805 9160 CFLAGS="$xorg_testset_save_CFLAGS" 8806 9161 8807 9162 eval supported=\$$cacheid 8808 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8809 - $as_echo "$supported" >&6; } 9163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9164 + printf "%s\n" "$supported" >&6; } 8810 9165 if test "$supported" = "yes" ; then 8811 9166 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 8812 9167 found="yes" ··· 8831 9186 8832 9187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8833 9188 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8834 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8835 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8836 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8837 - $as_echo_n "(cached) " >&6 8838 - else 9189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9190 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9191 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9192 + then : 9193 + printf %s "(cached) " >&6 9194 + else $as_nop 8839 9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8840 9196 /* end confdefs.h. */ 8841 9197 int i; 8842 9198 _ACEOF 8843 - if ac_fn_c_try_compile "$LINENO"; then : 9199 + if ac_fn_c_try_compile "$LINENO" 9200 + then : 8844 9201 xorg_cv_cc_flag_unknown_warning_option=yes 8845 - else 9202 + else $as_nop 8846 9203 xorg_cv_cc_flag_unknown_warning_option=no 8847 9204 fi 8848 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9205 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8849 9206 fi 8850 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8851 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9207 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9208 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8852 9209 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8853 9210 CFLAGS="$xorg_testset_save_CFLAGS" 8854 9211 fi ··· 8858 9215 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8859 9216 fi 8860 9217 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8861 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8862 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8863 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8864 - $as_echo_n "(cached) " >&6 8865 - else 9218 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9219 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9220 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9221 + then : 9222 + printf %s "(cached) " >&6 9223 + else $as_nop 8866 9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8867 9225 /* end confdefs.h. */ 8868 9226 int i; 8869 9227 _ACEOF 8870 - if ac_fn_c_try_compile "$LINENO"; then : 9228 + if ac_fn_c_try_compile "$LINENO" 9229 + then : 8871 9230 xorg_cv_cc_flag_unused_command_line_argument=yes 8872 - else 9231 + else $as_nop 8873 9232 xorg_cv_cc_flag_unused_command_line_argument=no 8874 9233 fi 8875 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9234 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8876 9235 fi 8877 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8878 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9236 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9237 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8879 9238 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8880 9239 CFLAGS="$xorg_testset_save_CFLAGS" 8881 9240 fi ··· 8893 9252 8894 9253 CFLAGS="$CFLAGS -Wsequence-point" 8895 9254 8896 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 8897 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 9255 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9256 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 8898 9257 cacheid=xorg_cv_cc_flag__Wsequence_point 8899 - if eval \${$cacheid+:} false; then : 8900 - $as_echo_n "(cached) " >&6 8901 - else 9258 + if eval test \${$cacheid+y} 9259 + then : 9260 + printf %s "(cached) " >&6 9261 + else $as_nop 8902 9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8903 9263 /* end confdefs.h. */ 8904 9264 int i; 8905 9265 int 8906 - main () 9266 + main (void) 8907 9267 { 8908 9268 8909 9269 ; 8910 9270 return 0; 8911 9271 } 8912 9272 _ACEOF 8913 - if ac_fn_c_try_link "$LINENO"; then : 9273 + if ac_fn_c_try_link "$LINENO" 9274 + then : 8914 9275 eval $cacheid=yes 8915 - else 9276 + else $as_nop 8916 9277 eval $cacheid=no 8917 9278 fi 8918 - rm -f core conftest.err conftest.$ac_objext \ 9279 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8919 9280 conftest$ac_exeext conftest.$ac_ext 8920 9281 fi 8921 9282 ··· 8923 9284 CFLAGS="$xorg_testset_save_CFLAGS" 8924 9285 8925 9286 eval supported=\$$cacheid 8926 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8927 - $as_echo "$supported" >&6; } 9287 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9288 + printf "%s\n" "$supported" >&6; } 8928 9289 if test "$supported" = "yes" ; then 8929 9290 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 8930 9291 found="yes" ··· 8949 9310 8950 9311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8951 9312 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8952 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8953 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8954 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8955 - $as_echo_n "(cached) " >&6 8956 - else 9313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9314 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9315 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9316 + then : 9317 + printf %s "(cached) " >&6 9318 + else $as_nop 8957 9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8958 9320 /* end confdefs.h. */ 8959 9321 int i; 8960 9322 _ACEOF 8961 - if ac_fn_c_try_compile "$LINENO"; then : 9323 + if ac_fn_c_try_compile "$LINENO" 9324 + then : 8962 9325 xorg_cv_cc_flag_unknown_warning_option=yes 8963 - else 9326 + else $as_nop 8964 9327 xorg_cv_cc_flag_unknown_warning_option=no 8965 9328 fi 8966 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9329 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8967 9330 fi 8968 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8969 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9331 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9332 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8970 9333 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8971 9334 CFLAGS="$xorg_testset_save_CFLAGS" 8972 9335 fi ··· 8976 9339 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8977 9340 fi 8978 9341 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8979 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8980 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8981 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8982 - $as_echo_n "(cached) " >&6 8983 - else 9342 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9343 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9344 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9345 + then : 9346 + printf %s "(cached) " >&6 9347 + else $as_nop 8984 9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8985 9349 /* end confdefs.h. */ 8986 9350 int i; 8987 9351 _ACEOF 8988 - if ac_fn_c_try_compile "$LINENO"; then : 9352 + if ac_fn_c_try_compile "$LINENO" 9353 + then : 8989 9354 xorg_cv_cc_flag_unused_command_line_argument=yes 8990 - else 9355 + else $as_nop 8991 9356 xorg_cv_cc_flag_unused_command_line_argument=no 8992 9357 fi 8993 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9358 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8994 9359 fi 8995 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8996 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9360 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9361 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8997 9362 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8998 9363 CFLAGS="$xorg_testset_save_CFLAGS" 8999 9364 fi ··· 9011 9376 9012 9377 CFLAGS="$CFLAGS -Wreturn-type" 9013 9378 9014 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9015 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 9379 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9380 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 9016 9381 cacheid=xorg_cv_cc_flag__Wreturn_type 9017 - if eval \${$cacheid+:} false; then : 9018 - $as_echo_n "(cached) " >&6 9019 - else 9382 + if eval test \${$cacheid+y} 9383 + then : 9384 + printf %s "(cached) " >&6 9385 + else $as_nop 9020 9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9021 9387 /* end confdefs.h. */ 9022 9388 int i; 9023 9389 int 9024 - main () 9390 + main (void) 9025 9391 { 9026 9392 9027 9393 ; 9028 9394 return 0; 9029 9395 } 9030 9396 _ACEOF 9031 - if ac_fn_c_try_link "$LINENO"; then : 9397 + if ac_fn_c_try_link "$LINENO" 9398 + then : 9032 9399 eval $cacheid=yes 9033 - else 9400 + else $as_nop 9034 9401 eval $cacheid=no 9035 9402 fi 9036 - rm -f core conftest.err conftest.$ac_objext \ 9403 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9037 9404 conftest$ac_exeext conftest.$ac_ext 9038 9405 fi 9039 9406 ··· 9041 9408 CFLAGS="$xorg_testset_save_CFLAGS" 9042 9409 9043 9410 eval supported=\$$cacheid 9044 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9045 - $as_echo "$supported" >&6; } 9411 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9412 + printf "%s\n" "$supported" >&6; } 9046 9413 if test "$supported" = "yes" ; then 9047 9414 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 9048 9415 found="yes" ··· 9067 9434 9068 9435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9069 9436 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9070 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9071 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9072 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9073 - $as_echo_n "(cached) " >&6 9074 - else 9437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9438 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9439 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9440 + then : 9441 + printf %s "(cached) " >&6 9442 + else $as_nop 9075 9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9076 9444 /* end confdefs.h. */ 9077 9445 int i; 9078 9446 _ACEOF 9079 - if ac_fn_c_try_compile "$LINENO"; then : 9447 + if ac_fn_c_try_compile "$LINENO" 9448 + then : 9080 9449 xorg_cv_cc_flag_unknown_warning_option=yes 9081 - else 9450 + else $as_nop 9082 9451 xorg_cv_cc_flag_unknown_warning_option=no 9083 9452 fi 9084 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9453 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9085 9454 fi 9086 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9087 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9455 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9456 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9088 9457 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9089 9458 CFLAGS="$xorg_testset_save_CFLAGS" 9090 9459 fi ··· 9094 9463 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9095 9464 fi 9096 9465 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9097 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9098 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9099 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9100 - $as_echo_n "(cached) " >&6 9101 - else 9466 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9467 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9468 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9469 + then : 9470 + printf %s "(cached) " >&6 9471 + else $as_nop 9102 9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9103 9473 /* end confdefs.h. */ 9104 9474 int i; 9105 9475 _ACEOF 9106 - if ac_fn_c_try_compile "$LINENO"; then : 9476 + if ac_fn_c_try_compile "$LINENO" 9477 + then : 9107 9478 xorg_cv_cc_flag_unused_command_line_argument=yes 9108 - else 9479 + else $as_nop 9109 9480 xorg_cv_cc_flag_unused_command_line_argument=no 9110 9481 fi 9111 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9482 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9112 9483 fi 9113 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9114 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9484 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9485 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9115 9486 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9116 9487 CFLAGS="$xorg_testset_save_CFLAGS" 9117 9488 fi ··· 9129 9500 9130 9501 CFLAGS="$CFLAGS -Wtrigraphs" 9131 9502 9132 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9133 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 9503 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9504 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 9134 9505 cacheid=xorg_cv_cc_flag__Wtrigraphs 9135 - if eval \${$cacheid+:} false; then : 9136 - $as_echo_n "(cached) " >&6 9137 - else 9506 + if eval test \${$cacheid+y} 9507 + then : 9508 + printf %s "(cached) " >&6 9509 + else $as_nop 9138 9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9139 9511 /* end confdefs.h. */ 9140 9512 int i; 9141 9513 int 9142 - main () 9514 + main (void) 9143 9515 { 9144 9516 9145 9517 ; 9146 9518 return 0; 9147 9519 } 9148 9520 _ACEOF 9149 - if ac_fn_c_try_link "$LINENO"; then : 9521 + if ac_fn_c_try_link "$LINENO" 9522 + then : 9150 9523 eval $cacheid=yes 9151 - else 9524 + else $as_nop 9152 9525 eval $cacheid=no 9153 9526 fi 9154 - rm -f core conftest.err conftest.$ac_objext \ 9527 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9155 9528 conftest$ac_exeext conftest.$ac_ext 9156 9529 fi 9157 9530 ··· 9159 9532 CFLAGS="$xorg_testset_save_CFLAGS" 9160 9533 9161 9534 eval supported=\$$cacheid 9162 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9163 - $as_echo "$supported" >&6; } 9535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9536 + printf "%s\n" "$supported" >&6; } 9164 9537 if test "$supported" = "yes" ; then 9165 9538 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 9166 9539 found="yes" ··· 9185 9558 9186 9559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9187 9560 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9188 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9189 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9190 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9191 - $as_echo_n "(cached) " >&6 9192 - else 9561 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9562 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9563 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9564 + then : 9565 + printf %s "(cached) " >&6 9566 + else $as_nop 9193 9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9194 9568 /* end confdefs.h. */ 9195 9569 int i; 9196 9570 _ACEOF 9197 - if ac_fn_c_try_compile "$LINENO"; then : 9571 + if ac_fn_c_try_compile "$LINENO" 9572 + then : 9198 9573 xorg_cv_cc_flag_unknown_warning_option=yes 9199 - else 9574 + else $as_nop 9200 9575 xorg_cv_cc_flag_unknown_warning_option=no 9201 9576 fi 9202 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9577 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9203 9578 fi 9204 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9205 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9579 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9580 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9206 9581 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9207 9582 CFLAGS="$xorg_testset_save_CFLAGS" 9208 9583 fi ··· 9212 9587 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9213 9588 fi 9214 9589 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9215 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9216 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9217 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9218 - $as_echo_n "(cached) " >&6 9219 - else 9590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9591 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9592 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9593 + then : 9594 + printf %s "(cached) " >&6 9595 + else $as_nop 9220 9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9221 9597 /* end confdefs.h. */ 9222 9598 int i; 9223 9599 _ACEOF 9224 - if ac_fn_c_try_compile "$LINENO"; then : 9600 + if ac_fn_c_try_compile "$LINENO" 9601 + then : 9225 9602 xorg_cv_cc_flag_unused_command_line_argument=yes 9226 - else 9603 + else $as_nop 9227 9604 xorg_cv_cc_flag_unused_command_line_argument=no 9228 9605 fi 9229 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9606 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9230 9607 fi 9231 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9232 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9608 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9609 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9233 9610 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9234 9611 CFLAGS="$xorg_testset_save_CFLAGS" 9235 9612 fi ··· 9247 9624 9248 9625 CFLAGS="$CFLAGS -Warray-bounds" 9249 9626 9250 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9251 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 9627 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9628 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 9252 9629 cacheid=xorg_cv_cc_flag__Warray_bounds 9253 - if eval \${$cacheid+:} false; then : 9254 - $as_echo_n "(cached) " >&6 9255 - else 9630 + if eval test \${$cacheid+y} 9631 + then : 9632 + printf %s "(cached) " >&6 9633 + else $as_nop 9256 9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9257 9635 /* end confdefs.h. */ 9258 9636 int i; 9259 9637 int 9260 - main () 9638 + main (void) 9261 9639 { 9262 9640 9263 9641 ; 9264 9642 return 0; 9265 9643 } 9266 9644 _ACEOF 9267 - if ac_fn_c_try_link "$LINENO"; then : 9645 + if ac_fn_c_try_link "$LINENO" 9646 + then : 9268 9647 eval $cacheid=yes 9269 - else 9648 + else $as_nop 9270 9649 eval $cacheid=no 9271 9650 fi 9272 - rm -f core conftest.err conftest.$ac_objext \ 9651 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9273 9652 conftest$ac_exeext conftest.$ac_ext 9274 9653 fi 9275 9654 ··· 9277 9656 CFLAGS="$xorg_testset_save_CFLAGS" 9278 9657 9279 9658 eval supported=\$$cacheid 9280 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9281 - $as_echo "$supported" >&6; } 9659 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9660 + printf "%s\n" "$supported" >&6; } 9282 9661 if test "$supported" = "yes" ; then 9283 9662 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 9284 9663 found="yes" ··· 9303 9682 9304 9683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9305 9684 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9306 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9307 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9308 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9309 - $as_echo_n "(cached) " >&6 9310 - else 9685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9686 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9687 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9688 + then : 9689 + printf %s "(cached) " >&6 9690 + else $as_nop 9311 9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9312 9692 /* end confdefs.h. */ 9313 9693 int i; 9314 9694 _ACEOF 9315 - if ac_fn_c_try_compile "$LINENO"; then : 9695 + if ac_fn_c_try_compile "$LINENO" 9696 + then : 9316 9697 xorg_cv_cc_flag_unknown_warning_option=yes 9317 - else 9698 + else $as_nop 9318 9699 xorg_cv_cc_flag_unknown_warning_option=no 9319 9700 fi 9320 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9701 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9321 9702 fi 9322 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9323 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9704 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9324 9705 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9325 9706 CFLAGS="$xorg_testset_save_CFLAGS" 9326 9707 fi ··· 9330 9711 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9331 9712 fi 9332 9713 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9333 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9334 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9335 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9336 - $as_echo_n "(cached) " >&6 9337 - else 9714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9715 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9716 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9717 + then : 9718 + printf %s "(cached) " >&6 9719 + else $as_nop 9338 9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9339 9721 /* end confdefs.h. */ 9340 9722 int i; 9341 9723 _ACEOF 9342 - if ac_fn_c_try_compile "$LINENO"; then : 9724 + if ac_fn_c_try_compile "$LINENO" 9725 + then : 9343 9726 xorg_cv_cc_flag_unused_command_line_argument=yes 9344 - else 9727 + else $as_nop 9345 9728 xorg_cv_cc_flag_unused_command_line_argument=no 9346 9729 fi 9347 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9730 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9348 9731 fi 9349 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9350 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9732 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9733 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9351 9734 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9352 9735 CFLAGS="$xorg_testset_save_CFLAGS" 9353 9736 fi ··· 9365 9748 9366 9749 CFLAGS="$CFLAGS -Wwrite-strings" 9367 9750 9368 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9369 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 9751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9752 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 9370 9753 cacheid=xorg_cv_cc_flag__Wwrite_strings 9371 - if eval \${$cacheid+:} false; then : 9372 - $as_echo_n "(cached) " >&6 9373 - else 9754 + if eval test \${$cacheid+y} 9755 + then : 9756 + printf %s "(cached) " >&6 9757 + else $as_nop 9374 9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9375 9759 /* end confdefs.h. */ 9376 9760 int i; 9377 9761 int 9378 - main () 9762 + main (void) 9379 9763 { 9380 9764 9381 9765 ; 9382 9766 return 0; 9383 9767 } 9384 9768 _ACEOF 9385 - if ac_fn_c_try_link "$LINENO"; then : 9769 + if ac_fn_c_try_link "$LINENO" 9770 + then : 9386 9771 eval $cacheid=yes 9387 - else 9772 + else $as_nop 9388 9773 eval $cacheid=no 9389 9774 fi 9390 - rm -f core conftest.err conftest.$ac_objext \ 9775 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9391 9776 conftest$ac_exeext conftest.$ac_ext 9392 9777 fi 9393 9778 ··· 9395 9780 CFLAGS="$xorg_testset_save_CFLAGS" 9396 9781 9397 9782 eval supported=\$$cacheid 9398 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9399 - $as_echo "$supported" >&6; } 9783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9784 + printf "%s\n" "$supported" >&6; } 9400 9785 if test "$supported" = "yes" ; then 9401 9786 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 9402 9787 found="yes" ··· 9421 9806 9422 9807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9423 9808 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9424 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9425 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9426 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9427 - $as_echo_n "(cached) " >&6 9428 - else 9809 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9810 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9811 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9812 + then : 9813 + printf %s "(cached) " >&6 9814 + else $as_nop 9429 9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9430 9816 /* end confdefs.h. */ 9431 9817 int i; 9432 9818 _ACEOF 9433 - if ac_fn_c_try_compile "$LINENO"; then : 9819 + if ac_fn_c_try_compile "$LINENO" 9820 + then : 9434 9821 xorg_cv_cc_flag_unknown_warning_option=yes 9435 - else 9822 + else $as_nop 9436 9823 xorg_cv_cc_flag_unknown_warning_option=no 9437 9824 fi 9438 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9825 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9439 9826 fi 9440 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9441 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9827 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9828 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9442 9829 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9443 9830 CFLAGS="$xorg_testset_save_CFLAGS" 9444 9831 fi ··· 9448 9835 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9449 9836 fi 9450 9837 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9451 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9452 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9453 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9454 - $as_echo_n "(cached) " >&6 9455 - else 9838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9839 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9840 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9841 + then : 9842 + printf %s "(cached) " >&6 9843 + else $as_nop 9456 9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9457 9845 /* end confdefs.h. */ 9458 9846 int i; 9459 9847 _ACEOF 9460 - if ac_fn_c_try_compile "$LINENO"; then : 9848 + if ac_fn_c_try_compile "$LINENO" 9849 + then : 9461 9850 xorg_cv_cc_flag_unused_command_line_argument=yes 9462 - else 9851 + else $as_nop 9463 9852 xorg_cv_cc_flag_unused_command_line_argument=no 9464 9853 fi 9465 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9854 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9466 9855 fi 9467 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9468 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9856 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9857 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9469 9858 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9470 9859 CFLAGS="$xorg_testset_save_CFLAGS" 9471 9860 fi ··· 9483 9872 9484 9873 CFLAGS="$CFLAGS -Waddress" 9485 9874 9486 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9487 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 9875 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9876 + printf %s "checking if $CC supports -Waddress... " >&6; } 9488 9877 cacheid=xorg_cv_cc_flag__Waddress 9489 - if eval \${$cacheid+:} false; then : 9490 - $as_echo_n "(cached) " >&6 9491 - else 9878 + if eval test \${$cacheid+y} 9879 + then : 9880 + printf %s "(cached) " >&6 9881 + else $as_nop 9492 9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9493 9883 /* end confdefs.h. */ 9494 9884 int i; 9495 9885 int 9496 - main () 9886 + main (void) 9497 9887 { 9498 9888 9499 9889 ; 9500 9890 return 0; 9501 9891 } 9502 9892 _ACEOF 9503 - if ac_fn_c_try_link "$LINENO"; then : 9893 + if ac_fn_c_try_link "$LINENO" 9894 + then : 9504 9895 eval $cacheid=yes 9505 - else 9896 + else $as_nop 9506 9897 eval $cacheid=no 9507 9898 fi 9508 - rm -f core conftest.err conftest.$ac_objext \ 9899 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9509 9900 conftest$ac_exeext conftest.$ac_ext 9510 9901 fi 9511 9902 ··· 9513 9904 CFLAGS="$xorg_testset_save_CFLAGS" 9514 9905 9515 9906 eval supported=\$$cacheid 9516 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9517 - $as_echo "$supported" >&6; } 9907 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9908 + printf "%s\n" "$supported" >&6; } 9518 9909 if test "$supported" = "yes" ; then 9519 9910 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 9520 9911 found="yes" ··· 9539 9930 9540 9931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9541 9932 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9542 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9543 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9544 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9545 - $as_echo_n "(cached) " >&6 9546 - else 9933 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9934 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9935 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9936 + then : 9937 + printf %s "(cached) " >&6 9938 + else $as_nop 9547 9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9548 9940 /* end confdefs.h. */ 9549 9941 int i; 9550 9942 _ACEOF 9551 - if ac_fn_c_try_compile "$LINENO"; then : 9943 + if ac_fn_c_try_compile "$LINENO" 9944 + then : 9552 9945 xorg_cv_cc_flag_unknown_warning_option=yes 9553 - else 9946 + else $as_nop 9554 9947 xorg_cv_cc_flag_unknown_warning_option=no 9555 9948 fi 9556 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9949 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9557 9950 fi 9558 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9559 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9951 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9952 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9560 9953 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9561 9954 CFLAGS="$xorg_testset_save_CFLAGS" 9562 9955 fi ··· 9566 9959 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9567 9960 fi 9568 9961 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9569 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9570 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9571 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9572 - $as_echo_n "(cached) " >&6 9573 - else 9962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9963 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9964 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9965 + then : 9966 + printf %s "(cached) " >&6 9967 + else $as_nop 9574 9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9575 9969 /* end confdefs.h. */ 9576 9970 int i; 9577 9971 _ACEOF 9578 - if ac_fn_c_try_compile "$LINENO"; then : 9972 + if ac_fn_c_try_compile "$LINENO" 9973 + then : 9579 9974 xorg_cv_cc_flag_unused_command_line_argument=yes 9580 - else 9975 + else $as_nop 9581 9976 xorg_cv_cc_flag_unused_command_line_argument=no 9582 9977 fi 9583 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9978 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9584 9979 fi 9585 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9586 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9980 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9981 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9587 9982 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9588 9983 CFLAGS="$xorg_testset_save_CFLAGS" 9589 9984 fi ··· 9601 9996 9602 9997 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 9603 9998 9604 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 9605 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 10000 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9606 10001 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 9607 - if eval \${$cacheid+:} false; then : 9608 - $as_echo_n "(cached) " >&6 9609 - else 10002 + if eval test \${$cacheid+y} 10003 + then : 10004 + printf %s "(cached) " >&6 10005 + else $as_nop 9610 10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9611 10007 /* end confdefs.h. */ 9612 10008 int i; 9613 10009 int 9614 - main () 10010 + main (void) 9615 10011 { 9616 10012 9617 10013 ; 9618 10014 return 0; 9619 10015 } 9620 10016 _ACEOF 9621 - if ac_fn_c_try_link "$LINENO"; then : 10017 + if ac_fn_c_try_link "$LINENO" 10018 + then : 9622 10019 eval $cacheid=yes 9623 - else 10020 + else $as_nop 9624 10021 eval $cacheid=no 9625 10022 fi 9626 - rm -f core conftest.err conftest.$ac_objext \ 10023 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9627 10024 conftest$ac_exeext conftest.$ac_ext 9628 10025 fi 9629 10026 ··· 9631 10028 CFLAGS="$xorg_testset_save_CFLAGS" 9632 10029 9633 10030 eval supported=\$$cacheid 9634 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9635 - $as_echo "$supported" >&6; } 10031 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10032 + printf "%s\n" "$supported" >&6; } 9636 10033 if test "$supported" = "yes" ; then 9637 10034 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 9638 10035 found="yes" ··· 9657 10054 9658 10055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9659 10056 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9660 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9661 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9662 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9663 - $as_echo_n "(cached) " >&6 9664 - else 10057 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10058 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10059 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10060 + then : 10061 + printf %s "(cached) " >&6 10062 + else $as_nop 9665 10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9666 10064 /* end confdefs.h. */ 9667 10065 int i; 9668 10066 _ACEOF 9669 - if ac_fn_c_try_compile "$LINENO"; then : 10067 + if ac_fn_c_try_compile "$LINENO" 10068 + then : 9670 10069 xorg_cv_cc_flag_unknown_warning_option=yes 9671 - else 10070 + else $as_nop 9672 10071 xorg_cv_cc_flag_unknown_warning_option=no 9673 10072 fi 9674 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10073 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9675 10074 fi 9676 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9677 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10075 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10076 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9678 10077 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9679 10078 CFLAGS="$xorg_testset_save_CFLAGS" 9680 10079 fi ··· 9684 10083 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9685 10084 fi 9686 10085 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9687 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9688 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9689 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9690 - $as_echo_n "(cached) " >&6 9691 - else 10086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10087 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10088 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10089 + then : 10090 + printf %s "(cached) " >&6 10091 + else $as_nop 9692 10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9693 10093 /* end confdefs.h. */ 9694 10094 int i; 9695 10095 _ACEOF 9696 - if ac_fn_c_try_compile "$LINENO"; then : 10096 + if ac_fn_c_try_compile "$LINENO" 10097 + then : 9697 10098 xorg_cv_cc_flag_unused_command_line_argument=yes 9698 - else 10099 + else $as_nop 9699 10100 xorg_cv_cc_flag_unused_command_line_argument=no 9700 10101 fi 9701 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10102 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9702 10103 fi 9703 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9704 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10104 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10105 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9705 10106 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9706 10107 CFLAGS="$xorg_testset_save_CFLAGS" 9707 10108 fi ··· 9719 10120 9720 10121 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 9721 10122 9722 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 9723 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 10123 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 10124 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 9724 10125 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 9725 - if eval \${$cacheid+:} false; then : 9726 - $as_echo_n "(cached) " >&6 9727 - else 10126 + if eval test \${$cacheid+y} 10127 + then : 10128 + printf %s "(cached) " >&6 10129 + else $as_nop 9728 10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9729 10131 /* end confdefs.h. */ 9730 10132 int i; 9731 10133 int 9732 - main () 10134 + main (void) 9733 10135 { 9734 10136 9735 10137 ; 9736 10138 return 0; 9737 10139 } 9738 10140 _ACEOF 9739 - if ac_fn_c_try_link "$LINENO"; then : 10141 + if ac_fn_c_try_link "$LINENO" 10142 + then : 9740 10143 eval $cacheid=yes 9741 - else 10144 + else $as_nop 9742 10145 eval $cacheid=no 9743 10146 fi 9744 - rm -f core conftest.err conftest.$ac_objext \ 10147 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9745 10148 conftest$ac_exeext conftest.$ac_ext 9746 10149 fi 9747 10150 ··· 9749 10152 CFLAGS="$xorg_testset_save_CFLAGS" 9750 10153 9751 10154 eval supported=\$$cacheid 9752 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9753 - $as_echo "$supported" >&6; } 10155 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10156 + printf "%s\n" "$supported" >&6; } 9754 10157 if test "$supported" = "yes" ; then 9755 10158 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 9756 10159 found="yes" ··· 9779 10182 9780 10183 9781 10184 # Check whether --enable-strict-compilation was given. 9782 - if test "${enable_strict_compilation+set}" = set; then : 10185 + if test ${enable_strict_compilation+y} 10186 + then : 9783 10187 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 9784 - else 10188 + else $as_nop 9785 10189 STRICT_COMPILE=no 9786 10190 fi 9787 10191 ··· 9808 10212 9809 10213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9810 10214 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9811 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9812 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9813 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9814 - $as_echo_n "(cached) " >&6 9815 - else 10215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10216 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10217 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10218 + then : 10219 + printf %s "(cached) " >&6 10220 + else $as_nop 9816 10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9817 10222 /* end confdefs.h. */ 9818 10223 int i; 9819 10224 _ACEOF 9820 - if ac_fn_c_try_compile "$LINENO"; then : 10225 + if ac_fn_c_try_compile "$LINENO" 10226 + then : 9821 10227 xorg_cv_cc_flag_unknown_warning_option=yes 9822 - else 10228 + else $as_nop 9823 10229 xorg_cv_cc_flag_unknown_warning_option=no 9824 10230 fi 9825 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10231 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9826 10232 fi 9827 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9828 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10233 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10234 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9829 10235 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9830 10236 CFLAGS="$xorg_testset_save_CFLAGS" 9831 10237 fi ··· 9835 10241 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9836 10242 fi 9837 10243 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9838 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9839 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9840 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9841 - $as_echo_n "(cached) " >&6 9842 - else 10244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10245 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10246 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10247 + then : 10248 + printf %s "(cached) " >&6 10249 + else $as_nop 9843 10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9844 10251 /* end confdefs.h. */ 9845 10252 int i; 9846 10253 _ACEOF 9847 - if ac_fn_c_try_compile "$LINENO"; then : 10254 + if ac_fn_c_try_compile "$LINENO" 10255 + then : 9848 10256 xorg_cv_cc_flag_unused_command_line_argument=yes 9849 - else 10257 + else $as_nop 9850 10258 xorg_cv_cc_flag_unused_command_line_argument=no 9851 10259 fi 9852 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10260 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9853 10261 fi 9854 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9855 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10262 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10263 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9856 10264 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9857 10265 CFLAGS="$xorg_testset_save_CFLAGS" 9858 10266 fi ··· 9870 10278 9871 10279 CFLAGS="$CFLAGS -pedantic" 9872 10280 9873 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 9874 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 10281 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 10282 + printf %s "checking if $CC supports -pedantic... " >&6; } 9875 10283 cacheid=xorg_cv_cc_flag__pedantic 9876 - if eval \${$cacheid+:} false; then : 9877 - $as_echo_n "(cached) " >&6 9878 - else 10284 + if eval test \${$cacheid+y} 10285 + then : 10286 + printf %s "(cached) " >&6 10287 + else $as_nop 9879 10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9880 10289 /* end confdefs.h. */ 9881 10290 int i; 9882 10291 int 9883 - main () 10292 + main (void) 9884 10293 { 9885 10294 9886 10295 ; 9887 10296 return 0; 9888 10297 } 9889 10298 _ACEOF 9890 - if ac_fn_c_try_link "$LINENO"; then : 10299 + if ac_fn_c_try_link "$LINENO" 10300 + then : 9891 10301 eval $cacheid=yes 9892 - else 10302 + else $as_nop 9893 10303 eval $cacheid=no 9894 10304 fi 9895 - rm -f core conftest.err conftest.$ac_objext \ 10305 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9896 10306 conftest$ac_exeext conftest.$ac_ext 9897 10307 fi 9898 10308 ··· 9900 10310 CFLAGS="$xorg_testset_save_CFLAGS" 9901 10311 9902 10312 eval supported=\$$cacheid 9903 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9904 - $as_echo "$supported" >&6; } 10313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10314 + printf "%s\n" "$supported" >&6; } 9905 10315 if test "$supported" = "yes" ; then 9906 10316 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 9907 10317 found="yes" ··· 9926 10336 9927 10337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9928 10338 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9929 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9930 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9931 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9932 - $as_echo_n "(cached) " >&6 9933 - else 10339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10340 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10341 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10342 + then : 10343 + printf %s "(cached) " >&6 10344 + else $as_nop 9934 10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9935 10346 /* end confdefs.h. */ 9936 10347 int i; 9937 10348 _ACEOF 9938 - if ac_fn_c_try_compile "$LINENO"; then : 10349 + if ac_fn_c_try_compile "$LINENO" 10350 + then : 9939 10351 xorg_cv_cc_flag_unknown_warning_option=yes 9940 - else 10352 + else $as_nop 9941 10353 xorg_cv_cc_flag_unknown_warning_option=no 9942 10354 fi 9943 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10355 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9944 10356 fi 9945 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9946 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10357 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10358 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9947 10359 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9948 10360 CFLAGS="$xorg_testset_save_CFLAGS" 9949 10361 fi ··· 9953 10365 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9954 10366 fi 9955 10367 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9956 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9957 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9958 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9959 - $as_echo_n "(cached) " >&6 9960 - else 10368 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10369 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10370 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10371 + then : 10372 + printf %s "(cached) " >&6 10373 + else $as_nop 9961 10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9962 10375 /* end confdefs.h. */ 9963 10376 int i; 9964 10377 _ACEOF 9965 - if ac_fn_c_try_compile "$LINENO"; then : 10378 + if ac_fn_c_try_compile "$LINENO" 10379 + then : 9966 10380 xorg_cv_cc_flag_unused_command_line_argument=yes 9967 - else 10381 + else $as_nop 9968 10382 xorg_cv_cc_flag_unused_command_line_argument=no 9969 10383 fi 9970 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10384 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9971 10385 fi 9972 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9973 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10386 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10387 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9974 10388 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9975 10389 CFLAGS="$xorg_testset_save_CFLAGS" 9976 10390 fi ··· 9988 10402 9989 10403 CFLAGS="$CFLAGS -Werror" 9990 10404 9991 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 9992 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 10405 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10406 + printf %s "checking if $CC supports -Werror... " >&6; } 9993 10407 cacheid=xorg_cv_cc_flag__Werror 9994 - if eval \${$cacheid+:} false; then : 9995 - $as_echo_n "(cached) " >&6 9996 - else 10408 + if eval test \${$cacheid+y} 10409 + then : 10410 + printf %s "(cached) " >&6 10411 + else $as_nop 9997 10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9998 10413 /* end confdefs.h. */ 9999 10414 int i; 10000 10415 int 10001 - main () 10416 + main (void) 10002 10417 { 10003 10418 10004 10419 ; 10005 10420 return 0; 10006 10421 } 10007 10422 _ACEOF 10008 - if ac_fn_c_try_link "$LINENO"; then : 10423 + if ac_fn_c_try_link "$LINENO" 10424 + then : 10009 10425 eval $cacheid=yes 10010 - else 10426 + else $as_nop 10011 10427 eval $cacheid=no 10012 10428 fi 10013 - rm -f core conftest.err conftest.$ac_objext \ 10429 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10014 10430 conftest$ac_exeext conftest.$ac_ext 10015 10431 fi 10016 10432 ··· 10018 10434 CFLAGS="$xorg_testset_save_CFLAGS" 10019 10435 10020 10436 eval supported=\$$cacheid 10021 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10022 - $as_echo "$supported" >&6; } 10437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10438 + printf "%s\n" "$supported" >&6; } 10023 10439 if test "$supported" = "yes" ; then 10024 10440 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 10025 10441 found="yes" ··· 10037 10453 10038 10454 CFLAGS="$CFLAGS -errwarn" 10039 10455 10040 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10041 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 10456 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10457 + printf %s "checking if $CC supports -errwarn... " >&6; } 10042 10458 cacheid=xorg_cv_cc_flag__errwarn 10043 - if eval \${$cacheid+:} false; then : 10044 - $as_echo_n "(cached) " >&6 10045 - else 10459 + if eval test \${$cacheid+y} 10460 + then : 10461 + printf %s "(cached) " >&6 10462 + else $as_nop 10046 10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10047 10464 /* end confdefs.h. */ 10048 10465 int i; 10049 10466 int 10050 - main () 10467 + main (void) 10051 10468 { 10052 10469 10053 10470 ; 10054 10471 return 0; 10055 10472 } 10056 10473 _ACEOF 10057 - if ac_fn_c_try_link "$LINENO"; then : 10474 + if ac_fn_c_try_link "$LINENO" 10475 + then : 10058 10476 eval $cacheid=yes 10059 - else 10477 + else $as_nop 10060 10478 eval $cacheid=no 10061 10479 fi 10062 - rm -f core conftest.err conftest.$ac_objext \ 10480 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10063 10481 conftest$ac_exeext conftest.$ac_ext 10064 10482 fi 10065 10483 ··· 10067 10485 CFLAGS="$xorg_testset_save_CFLAGS" 10068 10486 10069 10487 eval supported=\$$cacheid 10070 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10071 - $as_echo "$supported" >&6; } 10488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10489 + printf "%s\n" "$supported" >&6; } 10072 10490 if test "$supported" = "yes" ; then 10073 10491 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 10074 10492 found="yes" ··· 10096 10514 10097 10515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10098 10516 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10099 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10100 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10101 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10102 - $as_echo_n "(cached) " >&6 10103 - else 10517 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10518 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10519 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10520 + then : 10521 + printf %s "(cached) " >&6 10522 + else $as_nop 10104 10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10105 10524 /* end confdefs.h. */ 10106 10525 int i; 10107 10526 _ACEOF 10108 - if ac_fn_c_try_compile "$LINENO"; then : 10527 + if ac_fn_c_try_compile "$LINENO" 10528 + then : 10109 10529 xorg_cv_cc_flag_unknown_warning_option=yes 10110 - else 10530 + else $as_nop 10111 10531 xorg_cv_cc_flag_unknown_warning_option=no 10112 10532 fi 10113 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10533 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10114 10534 fi 10115 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10116 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10536 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10117 10537 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10118 10538 CFLAGS="$xorg_testset_save_CFLAGS" 10119 10539 fi ··· 10123 10543 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10124 10544 fi 10125 10545 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10126 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10127 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10128 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10129 - $as_echo_n "(cached) " >&6 10130 - else 10546 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10547 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10548 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10549 + then : 10550 + printf %s "(cached) " >&6 10551 + else $as_nop 10131 10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10132 10553 /* end confdefs.h. */ 10133 10554 int i; 10134 10555 _ACEOF 10135 - if ac_fn_c_try_compile "$LINENO"; then : 10556 + if ac_fn_c_try_compile "$LINENO" 10557 + then : 10136 10558 xorg_cv_cc_flag_unused_command_line_argument=yes 10137 - else 10559 + else $as_nop 10138 10560 xorg_cv_cc_flag_unused_command_line_argument=no 10139 10561 fi 10140 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10562 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10141 10563 fi 10142 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10143 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10564 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10565 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10144 10566 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10145 10567 CFLAGS="$xorg_testset_save_CFLAGS" 10146 10568 fi ··· 10158 10580 10159 10581 CFLAGS="$CFLAGS -Werror=attributes" 10160 10582 10161 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10162 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 10583 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10584 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 10163 10585 cacheid=xorg_cv_cc_flag__Werror_attributes 10164 - if eval \${$cacheid+:} false; then : 10165 - $as_echo_n "(cached) " >&6 10166 - else 10586 + if eval test \${$cacheid+y} 10587 + then : 10588 + printf %s "(cached) " >&6 10589 + else $as_nop 10167 10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10168 10591 /* end confdefs.h. */ 10169 10592 int i; 10170 10593 int 10171 - main () 10594 + main (void) 10172 10595 { 10173 10596 10174 10597 ; 10175 10598 return 0; 10176 10599 } 10177 10600 _ACEOF 10178 - if ac_fn_c_try_link "$LINENO"; then : 10601 + if ac_fn_c_try_link "$LINENO" 10602 + then : 10179 10603 eval $cacheid=yes 10180 - else 10604 + else $as_nop 10181 10605 eval $cacheid=no 10182 10606 fi 10183 - rm -f core conftest.err conftest.$ac_objext \ 10607 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10184 10608 conftest$ac_exeext conftest.$ac_ext 10185 10609 fi 10186 10610 ··· 10188 10612 CFLAGS="$xorg_testset_save_CFLAGS" 10189 10613 10190 10614 eval supported=\$$cacheid 10191 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10192 - $as_echo "$supported" >&6; } 10615 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10616 + printf "%s\n" "$supported" >&6; } 10193 10617 if test "$supported" = "yes" ; then 10194 10618 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 10195 10619 found="yes" ··· 10208 10632 10209 10633 10210 10634 10635 + 10636 + 10211 10637 cat >>confdefs.h <<_ACEOF 10212 10638 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 10213 10639 _ACEOF ··· 10217 10643 PVM="0" 10218 10644 fi 10219 10645 10220 - cat >>confdefs.h <<_ACEOF 10221 - #define PACKAGE_VERSION_MINOR $PVM 10222 - _ACEOF 10646 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 10223 10647 10224 10648 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10225 10649 if test "x$PVP" = "x"; then 10226 10650 PVP="0" 10227 10651 fi 10228 10652 10229 - cat >>confdefs.h <<_ACEOF 10230 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 10231 - _ACEOF 10653 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 10232 10654 10233 10655 10234 10656 ··· 10258 10680 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10259 10681 # check for a man page file found in later versions that use 10260 10682 # traditional section numbers instead 10261 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10262 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 10263 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 10264 - $as_echo_n "(cached) " >&6 10265 - else 10683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10684 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 10685 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 10686 + then : 10687 + printf %s "(cached) " >&6 10688 + else $as_nop 10266 10689 test "$cross_compiling" = yes && 10267 10690 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 10268 10691 if test -r "/usr/share/man/man7/attributes.7"; then ··· 10271 10694 ac_cv_file__usr_share_man_man7_attributes_7=no 10272 10695 fi 10273 10696 fi 10274 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10275 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10276 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 10697 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10698 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10699 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 10700 + then : 10277 10701 SYSV_MAN_SECTIONS=false 10278 - else 10702 + else $as_nop 10279 10703 SYSV_MAN_SECTIONS=true 10280 10704 fi 10281 10705 ··· 10370 10794 10371 10795 10372 10796 # Check whether --enable-silent-rules was given. 10373 - if test "${enable_silent_rules+set}" = set; then : 10797 + if test ${enable_silent_rules+y} 10798 + then : 10374 10799 enableval=$enable_silent_rules; 10375 10800 fi 10376 10801 ··· 10380 10805 *) AM_DEFAULT_VERBOSITY=0;; 10381 10806 esac 10382 10807 am_make=${MAKE-make} 10383 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10384 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 10385 - if ${am_cv_make_support_nested_variables+:} false; then : 10386 - $as_echo_n "(cached) " >&6 10387 - else 10388 - if $as_echo 'TRUE=$(BAR$(V)) 10808 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10809 + printf %s "checking whether $am_make supports nested variables... " >&6; } 10810 + if test ${am_cv_make_support_nested_variables+y} 10811 + then : 10812 + printf %s "(cached) " >&6 10813 + else $as_nop 10814 + if printf "%s\n" 'TRUE=$(BAR$(V)) 10389 10815 BAR0=false 10390 10816 BAR1=true 10391 10817 V=1 ··· 10397 10823 am_cv_make_support_nested_variables=no 10398 10824 fi 10399 10825 fi 10400 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10401 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 10826 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10827 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 10402 10828 if test $am_cv_make_support_nested_variables = yes; then 10403 10829 AM_V='$(V)' 10404 10830 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 10410 10836 10411 10837 10412 10838 10839 + 10413 10840 # Checks for pkg-config packages 10414 10841 10415 10842 pkg_failed=no 10416 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw7 xproto xt xmu" >&5 10417 - $as_echo_n "checking for xaw7 xproto xt xmu... " >&6; } 10843 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xaw7 xproto xt xmu" >&5 10844 + printf %s "checking for xaw7 xproto xt xmu... " >&6; } 10418 10845 10419 10846 if test -n "$LISTRES_CFLAGS"; then 10420 10847 pkg_cv_LISTRES_CFLAGS="$LISTRES_CFLAGS" 10421 10848 elif test -n "$PKG_CONFIG"; then 10422 10849 if test -n "$PKG_CONFIG" && \ 10423 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5 10850 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5 10424 10851 ($PKG_CONFIG --exists --print-errors "xaw7 xproto xt xmu") 2>&5 10425 10852 ac_status=$? 10426 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10853 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10427 10854 test $ac_status = 0; }; then 10428 10855 pkg_cv_LISTRES_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xproto xt xmu" 2>/dev/null` 10429 10856 test "x$?" != "x0" && pkg_failed=yes ··· 10437 10864 pkg_cv_LISTRES_LIBS="$LISTRES_LIBS" 10438 10865 elif test -n "$PKG_CONFIG"; then 10439 10866 if test -n "$PKG_CONFIG" && \ 10440 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5 10867 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5 10441 10868 ($PKG_CONFIG --exists --print-errors "xaw7 xproto xt xmu") 2>&5 10442 10869 ac_status=$? 10443 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10870 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10444 10871 test $ac_status = 0; }; then 10445 10872 pkg_cv_LISTRES_LIBS=`$PKG_CONFIG --libs "xaw7 xproto xt xmu" 2>/dev/null` 10446 10873 test "x$?" != "x0" && pkg_failed=yes ··· 10454 10881 10455 10882 10456 10883 if test $pkg_failed = yes; then 10457 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10458 - $as_echo "no" >&6; } 10884 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10885 + printf "%s\n" "no" >&6; } 10459 10886 10460 10887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10461 10888 _pkg_short_errors_supported=yes ··· 10481 10908 and LISTRES_LIBS to avoid the need to call pkg-config. 10482 10909 See the pkg-config man page for more details." "$LINENO" 5 10483 10910 elif test $pkg_failed = untried; then 10484 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10485 - $as_echo "no" >&6; } 10486 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10487 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10911 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10912 + printf "%s\n" "no" >&6; } 10913 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10914 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 10488 10915 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 10489 10916 is in your PATH or set the PKG_CONFIG environment variable to the full 10490 10917 path to pkg-config. ··· 10498 10925 else 10499 10926 LISTRES_CFLAGS=$pkg_cv_LISTRES_CFLAGS 10500 10927 LISTRES_LIBS=$pkg_cv_LISTRES_LIBS 10501 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10502 - $as_echo "yes" >&6; } 10928 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10929 + printf "%s\n" "yes" >&6; } 10503 10930 10504 10931 fi 10505 10932 ··· 10532 10959 case $ac_val in #( 10533 10960 *${as_nl}*) 10534 10961 case $ac_var in #( 10535 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10536 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10962 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10963 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10537 10964 esac 10538 10965 case $ac_var in #( 10539 10966 _ | IFS | as_nl) ;; #( ··· 10563 10990 /^ac_cv_env_/b end 10564 10991 t clear 10565 10992 :clear 10566 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10993 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 10567 10994 t end 10568 10995 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10569 10996 :end' >>confcache 10570 10997 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10571 10998 if test -w "$cache_file"; then 10572 10999 if test "x$cache_file" != "x/dev/null"; then 10573 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10574 - $as_echo "$as_me: updating cache $cache_file" >&6;} 11000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11001 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 10575 11002 if test ! -f "$cache_file" || test -h "$cache_file"; then 10576 11003 cat confcache >"$cache_file" 10577 11004 else ··· 10585 11012 fi 10586 11013 fi 10587 11014 else 10588 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10589 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11015 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11016 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 10590 11017 fi 10591 11018 fi 10592 11019 rm -f confcache ··· 10603 11030 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10604 11031 # 1. Remove the extension, and $U if already installed. 10605 11032 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10606 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11033 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 10607 11034 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10608 11035 # will be set to the directory where LIBOBJS objects are built. 10609 11036 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 10614 11041 LTLIBOBJS=$ac_ltlibobjs 10615 11042 10616 11043 10617 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10618 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 11044 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11045 + printf %s "checking that generated files are newer than configure... " >&6; } 10619 11046 if test -n "$am_sleep_pid"; then 10620 11047 # Hide warnings about reused PIDs. 10621 11048 wait $am_sleep_pid 2>/dev/null 10622 11049 fi 10623 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10624 - $as_echo "done" >&6; } 11050 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 11051 + printf "%s\n" "done" >&6; } 10625 11052 if test -n "$EXEEXT"; then 10626 11053 am__EXEEXT_TRUE= 10627 11054 am__EXEEXT_FALSE='#' ··· 10647 11074 ac_write_fail=0 10648 11075 ac_clean_files_save=$ac_clean_files 10649 11076 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10650 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10651 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11077 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11078 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 10652 11079 as_write_fail=0 10653 11080 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10654 11081 #! $SHELL ··· 10671 11098 10672 11099 # Be more Bourne compatible 10673 11100 DUALCASE=1; export DUALCASE # for MKS sh 10674 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11101 + as_nop=: 11102 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 11103 + then : 10675 11104 emulate sh 10676 11105 NULLCMD=: 10677 11106 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10678 11107 # is contrary to our usage. Disable this feature. 10679 11108 alias -g '${1+"$@"}'='"$@"' 10680 11109 setopt NO_GLOB_SUBST 10681 - else 11110 + else $as_nop 10682 11111 case `(set -o) 2>/dev/null` in #( 10683 11112 *posix*) : 10684 11113 set -o posix ;; #( ··· 10688 11117 fi 10689 11118 10690 11119 11120 + 11121 + # Reset variables that may have inherited troublesome values from 11122 + # the environment. 11123 + 11124 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 11125 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 11126 + # side effect of setting IFS to empty, thus disabling word splitting.) 11127 + # Quoting is to prevent editors from complaining about space-tab. 10691 11128 as_nl=' 10692 11129 ' 10693 11130 export as_nl 10694 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 10695 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10696 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10697 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10698 - # Prefer a ksh shell builtin over an external printf program on Solaris, 10699 - # but without wasting forks for bash or zsh. 10700 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 10701 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10702 - as_echo='print -r --' 10703 - as_echo_n='print -rn --' 10704 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10705 - as_echo='printf %s\n' 10706 - as_echo_n='printf %s' 10707 - else 10708 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10709 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10710 - as_echo_n='/usr/ucb/echo -n' 10711 - else 10712 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10713 - as_echo_n_body='eval 10714 - arg=$1; 10715 - case $arg in #( 10716 - *"$as_nl"*) 10717 - expr "X$arg" : "X\\(.*\\)$as_nl"; 10718 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10719 - esac; 10720 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10721 - ' 10722 - export as_echo_n_body 10723 - as_echo_n='sh -c $as_echo_n_body as_echo' 10724 - fi 10725 - export as_echo_body 10726 - as_echo='sh -c $as_echo_body as_echo' 10727 - fi 11131 + IFS=" "" $as_nl" 11132 + 11133 + PS1='$ ' 11134 + PS2='> ' 11135 + PS4='+ ' 11136 + 11137 + # Ensure predictable behavior from utilities with locale-dependent output. 11138 + LC_ALL=C 11139 + export LC_ALL 11140 + LANGUAGE=C 11141 + export LANGUAGE 11142 + 11143 + # We cannot yet rely on "unset" to work, but we need these variables 11144 + # to be unset--not just set to an empty or harmless value--now, to 11145 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 11146 + # also avoids known problems related to "unset" and subshell syntax 11147 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 11148 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 11149 + do eval test \${$as_var+y} \ 11150 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11151 + done 11152 + 11153 + # Ensure that fds 0, 1, and 2 are open. 11154 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 11155 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 11156 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 10728 11157 10729 11158 # The user is always right. 10730 - if test "${PATH_SEPARATOR+set}" != set; then 11159 + if ${PATH_SEPARATOR+false} :; then 10731 11160 PATH_SEPARATOR=: 10732 11161 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10733 11162 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 10736 11165 fi 10737 11166 10738 11167 10739 - # IFS 10740 - # We need space, tab and new line, in precisely that order. Quoting is 10741 - # there to prevent editors from complaining about space-tab. 10742 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 10743 - # splitting by setting IFS to empty value.) 10744 - IFS=" "" $as_nl" 10745 - 10746 11168 # Find who we are. Look in the path if we contain no directory separator. 10747 11169 as_myself= 10748 11170 case $0 in #(( ··· 10751 11173 for as_dir in $PATH 10752 11174 do 10753 11175 IFS=$as_save_IFS 10754 - test -z "$as_dir" && as_dir=. 10755 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11176 + case $as_dir in #((( 11177 + '') as_dir=./ ;; 11178 + */) ;; 11179 + *) as_dir=$as_dir/ ;; 11180 + esac 11181 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10756 11182 done 10757 11183 IFS=$as_save_IFS 10758 11184 ··· 10764 11190 as_myself=$0 10765 11191 fi 10766 11192 if test ! -f "$as_myself"; then 10767 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11193 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10768 11194 exit 1 10769 11195 fi 10770 11196 10771 - # Unset variables that we do not need and which cause bugs (e.g. in 10772 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10773 - # suppresses any "Segmentation fault" message there. '((' could 10774 - # trigger a bug in pdksh 5.2.14. 10775 - for as_var in BASH_ENV ENV MAIL MAILPATH 10776 - do eval test x\${$as_var+set} = xset \ 10777 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10778 - done 10779 - PS1='$ ' 10780 - PS2='> ' 10781 - PS4='+ ' 10782 - 10783 - # NLS nuisances. 10784 - LC_ALL=C 10785 - export LC_ALL 10786 - LANGUAGE=C 10787 - export LANGUAGE 10788 - 10789 - # CDPATH. 10790 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10791 11197 10792 11198 10793 11199 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 10800 11206 as_status=$1; test $as_status -eq 0 && as_status=1 10801 11207 if test "$4"; then 10802 11208 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10803 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11209 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10804 11210 fi 10805 - $as_echo "$as_me: error: $2" >&2 11211 + printf "%s\n" "$as_me: error: $2" >&2 10806 11212 as_fn_exit $as_status 10807 11213 } # as_fn_error 11214 + 10808 11215 10809 11216 10810 11217 # as_fn_set_status STATUS ··· 10833 11240 { eval $1=; unset $1;} 10834 11241 } 10835 11242 as_unset=as_fn_unset 11243 + 10836 11244 # as_fn_append VAR VALUE 10837 11245 # ---------------------- 10838 11246 # Append the text in VALUE to the end of the definition contained in VAR. Take 10839 11247 # advantage of any shell optimizations that allow amortized linear growth over 10840 11248 # repeated appends, instead of the typical quadratic growth present in naive 10841 11249 # implementations. 10842 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11250 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 11251 + then : 10843 11252 eval 'as_fn_append () 10844 11253 { 10845 11254 eval $1+=\$2 10846 11255 }' 10847 - else 11256 + else $as_nop 10848 11257 as_fn_append () 10849 11258 { 10850 11259 eval $1=\$$1\$2 ··· 10856 11265 # Perform arithmetic evaluation on the ARGs, and store the result in the 10857 11266 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10858 11267 # must be portable across $(()) and expr. 10859 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11268 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 11269 + then : 10860 11270 eval 'as_fn_arith () 10861 11271 { 10862 11272 as_val=$(( $* )) 10863 11273 }' 10864 - else 11274 + else $as_nop 10865 11275 as_fn_arith () 10866 11276 { 10867 11277 as_val=`expr "$@" || test $? -eq 1` ··· 10892 11302 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10893 11303 X"$0" : 'X\(//\)$' \| \ 10894 11304 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10895 - $as_echo X/"$0" | 11305 + printf "%s\n" X/"$0" | 10896 11306 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10897 11307 s//\1/ 10898 11308 q ··· 10914 11324 as_cr_digits='0123456789' 10915 11325 as_cr_alnum=$as_cr_Letters$as_cr_digits 10916 11326 11327 + 11328 + # Determine whether it's possible to make 'echo' print without a newline. 11329 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 11330 + # for compatibility with existing Makefiles. 10917 11331 ECHO_C= ECHO_N= ECHO_T= 10918 11332 case `echo -n x` in #((((( 10919 11333 -n*) ··· 10927 11341 ECHO_N='-n';; 10928 11342 esac 10929 11343 11344 + # For backward compatibility with old third-party macros, we provide 11345 + # the shell variables $as_echo and $as_echo_n. New code should use 11346 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 11347 + as_echo='printf %s\n' 11348 + as_echo_n='printf %s' 11349 + 10930 11350 rm -f conf$$ conf$$.exe conf$$.file 10931 11351 if test -d conf$$.dir; then 10932 11352 rm -f conf$$.dir/conf$$.file ··· 10968 11388 as_dirs= 10969 11389 while :; do 10970 11390 case $as_dir in #( 10971 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11391 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10972 11392 *) as_qdir=$as_dir;; 10973 11393 esac 10974 11394 as_dirs="'$as_qdir' $as_dirs" ··· 10977 11397 X"$as_dir" : 'X\(//\)[^/]' \| \ 10978 11398 X"$as_dir" : 'X\(//\)$' \| \ 10979 11399 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10980 - $as_echo X"$as_dir" | 11400 + printf "%s\n" X"$as_dir" | 10981 11401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10982 11402 s//\1/ 10983 11403 q ··· 11039 11459 # report actual input values of CONFIG_FILES etc. instead of their 11040 11460 # values after options handling. 11041 11461 ac_log=" 11042 - This file was extended by listres $as_me 1.0.5, which was 11043 - generated by GNU Autoconf 2.69. Invocation command line was 11462 + This file was extended by listres $as_me 1.0.6, which was 11463 + generated by GNU Autoconf 2.71. Invocation command line was 11044 11464 11045 11465 CONFIG_FILES = $CONFIG_FILES 11046 11466 CONFIG_HEADERS = $CONFIG_HEADERS ··· 11099 11519 Configuration commands: 11100 11520 $config_commands 11101 11521 11102 - Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/issues>." 11522 + Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/-/issues>." 11103 11523 11104 11524 _ACEOF 11525 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 11526 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 11105 11527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11106 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11528 + ac_cs_config='$ac_cs_config_escaped' 11107 11529 ac_cs_version="\\ 11108 - listres config.status 1.0.5 11109 - configured by $0, generated by GNU Autoconf 2.69, 11530 + listres config.status 1.0.6 11531 + configured by $0, generated by GNU Autoconf 2.71, 11110 11532 with options \\"\$ac_cs_config\\" 11111 11533 11112 - Copyright (C) 2012 Free Software Foundation, Inc. 11534 + Copyright (C) 2021 Free Software Foundation, Inc. 11113 11535 This config.status script is free software; the Free Software Foundation 11114 11536 gives unlimited permission to copy, distribute and modify it." 11115 11537 ··· 11149 11571 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11150 11572 ac_cs_recheck=: ;; 11151 11573 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11152 - $as_echo "$ac_cs_version"; exit ;; 11574 + printf "%s\n" "$ac_cs_version"; exit ;; 11153 11575 --config | --confi | --conf | --con | --co | --c ) 11154 - $as_echo "$ac_cs_config"; exit ;; 11576 + printf "%s\n" "$ac_cs_config"; exit ;; 11155 11577 --debug | --debu | --deb | --de | --d | -d ) 11156 11578 debug=: ;; 11157 11579 --file | --fil | --fi | --f ) 11158 11580 $ac_shift 11159 11581 case $ac_optarg in 11160 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11582 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11161 11583 '') as_fn_error $? "missing file argument" ;; 11162 11584 esac 11163 11585 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 11165 11587 --header | --heade | --head | --hea ) 11166 11588 $ac_shift 11167 11589 case $ac_optarg in 11168 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11590 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11169 11591 esac 11170 11592 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11171 11593 ac_need_defaults=false;; ··· 11174 11596 as_fn_error $? "ambiguous option: \`$1' 11175 11597 Try \`$0 --help' for more information.";; 11176 11598 --help | --hel | -h ) 11177 - $as_echo "$ac_cs_usage"; exit ;; 11599 + printf "%s\n" "$ac_cs_usage"; exit ;; 11178 11600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11179 11601 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11180 11602 ac_cs_silent=: ;; ··· 11202 11624 if \$ac_cs_recheck; then 11203 11625 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11204 11626 shift 11205 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11627 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 11206 11628 CONFIG_SHELL='$SHELL' 11207 11629 export CONFIG_SHELL 11208 11630 exec "\$@" ··· 11216 11638 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11217 11639 ## Running $as_me. ## 11218 11640 _ASBOX 11219 - $as_echo "$ac_log" 11641 + printf "%s\n" "$ac_log" 11220 11642 } >&5 11221 11643 11222 11644 _ACEOF ··· 11249 11671 # We use the long form for the default assignment because of an extremely 11250 11672 # bizarre bug on SunOS 4.1.3. 11251 11673 if $ac_need_defaults; then 11252 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11253 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11254 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11674 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 11675 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 11676 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 11255 11677 fi 11256 11678 11257 11679 # Have a temporary directory for convenience. Make it in the build tree ··· 11587 12009 esac || 11588 12010 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11589 12011 esac 11590 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12012 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11591 12013 as_fn_append ac_file_inputs " '$ac_f'" 11592 12014 done 11593 12015 ··· 11595 12017 # use $as_me), people would be surprised to read: 11596 12018 # /* config.h. Generated by config.status. */ 11597 12019 configure_input='Generated from '` 11598 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12020 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11599 12021 `' by configure.' 11600 12022 if test x"$ac_file" != x-; then 11601 12023 configure_input="$ac_file. $configure_input" 11602 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11603 - $as_echo "$as_me: creating $ac_file" >&6;} 12024 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12025 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 11604 12026 fi 11605 12027 # Neutralize special characters interpreted by sed in replacement strings. 11606 12028 case $configure_input in #( 11607 12029 *\&* | *\|* | *\\* ) 11608 - ac_sed_conf_input=`$as_echo "$configure_input" | 12030 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 11609 12031 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11610 12032 *) ac_sed_conf_input=$configure_input;; 11611 12033 esac ··· 11622 12044 X"$ac_file" : 'X\(//\)[^/]' \| \ 11623 12045 X"$ac_file" : 'X\(//\)$' \| \ 11624 12046 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11625 - $as_echo X"$ac_file" | 12047 + printf "%s\n" X"$ac_file" | 11626 12048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11627 12049 s//\1/ 11628 12050 q ··· 11646 12068 case "$ac_dir" in 11647 12069 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11648 12070 *) 11649 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12071 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 11650 12072 # A ".." for each directory in $ac_dir_suffix. 11651 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12073 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11652 12074 case $ac_top_builddir_sub in 11653 12075 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11654 12076 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 11710 12132 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11711 12133 *datarootdir*) ac_datarootdir_seen=yes;; 11712 12134 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11713 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11714 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12135 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12136 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11715 12137 _ACEOF 11716 12138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11717 12139 ac_datarootdir_hack=' ··· 11755 12177 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11756 12178 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11757 12179 "$ac_tmp/out"`; test -z "$ac_out"; } && 11758 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12180 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11759 12181 which seems to be undefined. Please make sure it is defined" >&5 11760 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12182 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11761 12183 which seems to be undefined. Please make sure it is defined" >&2;} 11762 12184 11763 12185 rm -f "$ac_tmp/stdin" ··· 11773 12195 # 11774 12196 if test x"$ac_file" != x-; then 11775 12197 { 11776 - $as_echo "/* $configure_input */" \ 12198 + printf "%s\n" "/* $configure_input */" >&1 \ 11777 12199 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11778 12200 } >"$ac_tmp/config.h" \ 11779 12201 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11780 12202 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11781 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11782 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 12203 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12204 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 11783 12205 else 11784 12206 rm -f "$ac_file" 11785 12207 mv "$ac_tmp/config.h" "$ac_file" \ 11786 12208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11787 12209 fi 11788 12210 else 11789 - $as_echo "/* $configure_input */" \ 12211 + printf "%s\n" "/* $configure_input */" >&1 \ 11790 12212 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11791 12213 || as_fn_error $? "could not create -" "$LINENO" 5 11792 12214 fi ··· 11806 12228 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11807 12229 X"$_am_arg" : 'X\(//\)$' \| \ 11808 12230 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11809 - $as_echo X"$_am_arg" | 12231 + printf "%s\n" X"$_am_arg" | 11810 12232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11811 12233 s//\1/ 11812 12234 q ··· 11826 12248 s/.*/./; q'`/stamp-h$_am_stamp_count 11827 12249 ;; 11828 12250 11829 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 11830 - $as_echo "$as_me: executing $ac_file commands" >&6;} 12251 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12252 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 11831 12253 ;; 11832 12254 esac 11833 12255 ··· 11859 12281 X"$mf" : 'X\(//\)[^/]' \| \ 11860 12282 X"$mf" : 'X\(//\)$' \| \ 11861 12283 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11862 - $as_echo X"$mf" | 12284 + printf "%s\n" X"$mf" | 11863 12285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11864 12286 s//\1/ 11865 12287 q ··· 11901 12323 X"$file" : 'X\(//\)[^/]' \| \ 11902 12324 X"$file" : 'X\(//\)$' \| \ 11903 12325 X"$file" : 'X\(/\)' \| . 2>/dev/null || 11904 - $as_echo X"$file" | 12326 + printf "%s\n" X"$file" | 11905 12327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11906 12328 s//\1/ 11907 12329 q ··· 11960 12382 $ac_cs_success || as_fn_exit 1 11961 12383 fi 11962 12384 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11963 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11964 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12386 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11965 12387 fi 11966 12388
+2 -2
app/listres/configure.ac
··· 23 23 24 24 # Initialize Autoconf 25 25 AC_PREREQ([2.60]) 26 - AC_INIT(listres, [1.0.5], 27 - [https://gitlab.freedesktop.org/xorg/app/listres/issues], listres) 26 + AC_INIT(listres, [1.0.6], 27 + [https://gitlab.freedesktop.org/xorg/app/listres/-/issues], [listres]) 28 28 AC_CONFIG_SRCDIR([Makefile.am]) 29 29 AC_CONFIG_HEADERS([config.h]) 30 30
+214 -200
app/listres/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:
+34 -6
app/listres/listres.c
··· 29 29 */ 30 30 /* $XFree86: xc/programs/listres/listres.c,v 1.3 2000/02/17 14:00:32 dawes Exp $ */ 31 31 32 + #ifdef HAVE_CONFIG_H 33 + # include "config.h" 34 + #endif 35 + 32 36 #include <stdio.h> 33 37 #include <stdlib.h> 34 38 #include <X11/Xos.h> ··· 83 87 static const char *ProgramName; 84 88 85 89 static void 86 - usage (void) 90 + usage (int exitval) 87 91 { 88 92 fprintf(stderr, "usage: %s [-options...]\n%s\n", ProgramName, 89 93 "\nwhere options include:\n" ··· 92 96 " -nosuper do not print superclass resources\n" 93 97 " -variable show variable name instead of class name\n" 94 98 " -top name object to be top of tree\n" 95 - " -format string printf format for instance, class, type\n"); 96 - exit (1); 99 + " -format string printf format for instance, class, type\n" 100 + " -help print this message and exit\n" 101 + " -version print version info and exit\n" 102 + ); 103 + exit (exitval); 97 104 } 98 105 99 106 static void print_tree_level (register XmuWidgetNode *wn, register int level) ··· 234 241 235 242 XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL); 236 243 244 + /* Handle args that don't require opening a display */ 245 + for (int n = 1; n < argc; n++) { 246 + const char *argn = argv[n]; 247 + /* accept single or double dash for -help & -version */ 248 + if (argn[0] == '-' && argn[1] == '-') { 249 + argn++; 250 + } 251 + if (strcmp(argn, "-help") == 0) { 252 + usage(0); 253 + } 254 + if (strcmp(argn, "-version") == 0) { 255 + puts(PACKAGE_STRING); 256 + exit(0); 257 + } 258 + } 259 + 237 260 toplevel = XtAppInitialize (&appcon, "Listres", Options, XtNumber(Options), 238 261 &argc, argv, NULL, NULL, 0); 239 262 container = XtCreateWidget ("dummy", widgetClass, toplevel, NULL, ZERO); ··· 262 285 (Bool) options.show_superclass, 263 286 (Bool) options.show_variable); 264 287 } 265 - } else 266 - usage(); 288 + } else { 289 + fprintf(stderr, "Unknown argument: %s\n", argv[0]); 290 + usage(1); 291 + } 267 292 } else { 268 293 for (; argc > 0; argc--, argv++) { 269 294 XmuWidgetNode *node; 270 295 271 - if (argv[0][0] == '-') usage (); 296 + if (argv[0][0] == '-') { 297 + fprintf(stderr, "Unknown argument: %s\n", argv[0]); 298 + usage(1); 299 + } 272 300 node = XmuWnNameToNode (widget_list, nwidgets, *argv); 273 301 if (!node) { 274 302 fprintf (stderr, "%s: unable to find widget \"%s\"\n",
-3
app/listres/man/Makefile.in
··· 125 125 CCDEPMODE = @CCDEPMODE@ 126 126 CFLAGS = @CFLAGS@ 127 127 CHANGELOG_CMD = @CHANGELOG_CMD@ 128 - CPP = @CPP@ 129 128 CPPFLAGS = @CPPFLAGS@ 130 129 CWARNFLAGS = @CWARNFLAGS@ 131 130 CYGPATH_W = @CYGPATH_W@ ··· 136 135 ECHO_C = @ECHO_C@ 137 136 ECHO_N = @ECHO_N@ 138 137 ECHO_T = @ECHO_T@ 139 - EGREP = @EGREP@ 140 138 EXEEXT = @EXEEXT@ 141 139 FILE_MAN_DIR = @FILE_MAN_DIR@ 142 140 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 143 - GREP = @GREP@ 144 141 INSTALL = @INSTALL@ 145 142 INSTALL_CMD = @INSTALL_CMD@ 146 143 INSTALL_DATA = @INSTALL_DATA@
+6
app/listres/man/listres.man
··· 67 67 .B \-format \fIprintf\-string\fP 68 68 This option specifies the \fIprintf\fP-style format string to be used to print 69 69 out the name, instance, class, and type of each resource. 70 + .TP 8 71 + .B \-help 72 + This option indicates that \fIlistres\fP should print a usage message and exit. 73 + .TP 8 74 + .B \-version 75 + This option indicates that \fIlistres\fP should print version info and exit. 70 76 .SH "X DEFAULTS" 71 77 To be written. 72 78 .SH "SEE ALSO"