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 font-util to 1.4.1

matthieu ff317ba0 f64dfb69

+3944 -3728
+48 -14
font/util/COPYING
··· 1 - Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 1 + Copyright (c) 2009, 2023, Oracle and/or its affiliates. 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a 4 4 copy of this software and associated documentation files (the "Software"), ··· 103 103 104 104 ------------------------------------------------------------------------ 105 105 106 - Copyright (c) 1991-2011 Unicode, Inc. All Rights reserved. 106 + Unicode® Copyright and Terms of Use 107 107 108 - This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 109 - No claims are made as to fitness for any particular purpose. No 110 - warranties of any kind are expressed or implied. The recipient 111 - agrees to determine applicability of information provided. If this 112 - file has been provided on optical media by Unicode, Inc., the sole 113 - remedy for any claim will be exchange of defective media within 90 114 - days of receipt. 108 + For the general privacy policy governing access to this site, see the Unicode Privacy Policy. 115 109 116 - Unicode, Inc. hereby grants the right to freely use the information 117 - supplied in this file in the creation of products supporting the 118 - Unicode Standard, and to make copies of this file in any form for 119 - internal or external distribution as long as this notice remains 120 - attached. 110 + Unicode Copyright 111 + Copyright © 1991-2023 Unicode, Inc. All rights reserved. 112 + Definitions 113 + 114 + Unicode Data Files ("DATA FILES") include all data files under the directories: 115 + https://www.unicode.org/Public/ 116 + https://www.unicode.org/reports/ 117 + https://www.unicode.org/ivd/data/ 118 + 119 + Unicode Data Files do not include PDF online code charts under the directory: 120 + https://www.unicode.org/Public/ 121 + 122 + Unicode Software ("SOFTWARE") includes any source code published in the Unicode Standard 123 + or any source code or compiled code under the directories: 124 + https://www.unicode.org/Public/PROGRAMS/ 125 + https://www.unicode.org/Public/cldr/ 126 + http://site.icu-project.org/download/ 127 + 128 + Terms of Use 129 + Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein. 130 + Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files, subject to the Terms and Conditions herein. 131 + Further specifications of rights and restrictions pertaining to the use of the Unicode DATA FILES and SOFTWARE can be found in the Unicode Data Files and Software License. 132 + Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page. 133 + The Unicode PDF online code charts carry specific restrictions. Those restrictions are incorporated as the first page of each PDF code chart. 134 + All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use. 135 + No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site. 136 + Modification is not permitted with respect to this document. All copies of this document must be verbatim. 137 + Restricted Rights Legend 138 + Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement. 139 + Warranties and Disclaimers 140 + This publication and/or website may include technical or typographical errors or other inaccuracies. Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode, Inc. may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time. 141 + If this file has been purchased on magnetic or optical media from Unicode, Inc. the sole and exclusive remedy for any claim will be exchange of the defective media within ninety (90) days of original purchase. 142 + EXCEPT AS PROVIDED IN SECTION E.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE, INC. AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE. 143 + Waiver of Damages 144 + In no event shall Unicode, Inc. or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode, Inc. was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives. 145 + Trademarks & Logos 146 + The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode, Inc.” are trade names of Unicode, Inc. Use of the information and materials found on this website indicates your acknowledgement of Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the Unicode Logo, and the Unicode trade names. 147 + The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc. 148 + All third party trademarks referenced herein are the property of their respective owners. 149 + Miscellaneous 150 + Jurisdiction and Venue. This website is operated from a location in the State of California, United States of America. Unicode, Inc. makes no representation that the materials are appropriate for use in other locations. If you access this website from other locations, you are responsible for compliance with local laws. This Agreement, all use of this website and any claims and damages resulting from use of this website are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this website shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum. 151 + Modification by Unicode, Inc. Unicode, Inc. shall have the right to modify this Agreement at any time by posting it to this website. The user may not assign any part of this Agreement without Unicode, Inc.’s prior written consent. 152 + Taxes. The user agrees to pay any taxes arising from access to this website or use of the information herein, except for those based on Unicode’s net income. 153 + Severability. If any provision of this Agreement is declared invalid or unenforceable, the remaining provisions of this Agreement shall remain in effect. 154 + Entire Agreement. This Agreement constitutes the entire agreement between the parties.
+34 -1
font/util/ChangeLog
··· 1 + commit b5ca142f81a6f14eddb23be050291d1c25514777 2 + Author: Peter Hutterer <peter.hutterer@who-t.net> 3 + Date: Fri Sep 8 14:03:50 2023 +1000 4 + 5 + font-util 1.4.1 6 + 7 + Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8 + 9 + commit 5a9e7c7d3c3da68e5b421e7d038bc0a7a5f66b22 10 + Author: Peter Hutterer <peter.hutterer@who-t.net> 11 + Date: Wed Sep 6 12:11:31 2023 +1000 12 + 13 + Replace unicode files with ones that provide better terms of use 14 + 15 + Identical files but these have the unicode terms-of-use (SPDX: 16 + Unicode-TOU) instead of some old license format. 17 + 18 + https://www.unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT 19 + https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/JIS0201.TXT 20 + https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT 21 + 22 + Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 23 + 24 + commit c28d8ca618f24855e735313c2b8f6effa7b7f1e4 25 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 26 + Date: Sat Feb 25 09:15:09 2023 -0800 27 + 28 + Remove "All rights reserved" from Oracle copyright notices 29 + 30 + Oracle no longer includes this term in our copyright & license notices. 31 + 32 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33 + 1 34 commit eee69c3f26f8e5d7f97599185d8d009f7fd76a7c 2 35 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 36 Date: Wed Feb 22 10:41:20 2023 -0800 ··· 471 504 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 472 505 473 506 commit 62529733e57b6d6c775b1bcf584260b1cff6af5c 474 - Author: Michał Górny < <mgorny@gentoo.org> 507 + Author: Michał Górny <mgorny@gentoo.org> 475 508 Date: Thu Oct 7 17:31:06 2010 +0200 476 509 477 510 fontutil.m4: Add a shorthand --disable-all-encodings option.
-3
font/util/Makefile.in
··· 235 235 CCDEPMODE = @CCDEPMODE@ 236 236 CFLAGS = @CFLAGS@ 237 237 CHANGELOG_CMD = @CHANGELOG_CMD@ 238 - CPP = @CPP@ 239 238 CPPFLAGS = @CPPFLAGS@ 240 239 CWARNFLAGS = @CWARNFLAGS@ 241 240 CYGPATH_W = @CYGPATH_W@ ··· 246 245 ECHO_C = @ECHO_C@ 247 246 ECHO_N = @ECHO_N@ 248 247 ECHO_T = @ECHO_T@ 249 - EGREP = @EGREP@ 250 248 EXEEXT = @EXEEXT@ 251 249 FILE_MAN_DIR = @FILE_MAN_DIR@ 252 250 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 253 - GREP = @GREP@ 254 251 INSTALL = @INSTALL@ 255 252 INSTALL_CMD = @INSTALL_CMD@ 256 253 INSTALL_DATA = @INSTALL_DATA@
+3 -3
font/util/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'.])]) ··· 3023 3023 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow]) 3024 3024 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn]) 3025 3025 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute]) 3026 - XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls]) 3026 + # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls]) 3027 3027 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op]) 3028 3028 3029 3029 # These are currently disabled because they are noisy. They will be enabled
+6 -4
font/util/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 */
+3402 -3098
font/util/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for font-util 1.4.0. 3 + # Generated by GNU Autoconf 2.71 for font-util 1.4.1. 4 4 # 5 5 # Report bugs to <https://gitlab.freedesktop.org/xorg/font/util/-/issues>. 6 6 # 7 7 # 8 - # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 + # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9 + # Inc. 9 10 # 10 11 # 11 12 # This configure script is free software; the Free Software Foundation ··· 16 17 17 18 # Be more Bourne compatible 18 19 DUALCASE=1; export DUALCASE # for MKS sh 19 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 + as_nop=: 21 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22 + then : 20 23 emulate sh 21 24 NULLCMD=: 22 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 26 # is contrary to our usage. Disable this feature. 24 27 alias -g '${1+"$@"}'='"$@"' 25 28 setopt NO_GLOB_SUBST 26 - else 29 + else $as_nop 27 30 case `(set -o) 2>/dev/null` in #( 28 31 *posix*) : 29 32 set -o posix ;; #( ··· 33 36 fi 34 37 35 38 39 + 40 + # Reset variables that may have inherited troublesome values from 41 + # the environment. 42 + 43 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 44 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 45 + # side effect of setting IFS to empty, thus disabling word splitting.) 46 + # Quoting is to prevent editors from complaining about space-tab. 36 47 as_nl=' 37 48 ' 38 49 export as_nl 39 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 - # Prefer a ksh shell builtin over an external printf program on Solaris, 44 - # but without wasting forks for bash or zsh. 45 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 - as_echo='print -r --' 48 - as_echo_n='print -rn --' 49 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 - as_echo='printf %s\n' 51 - as_echo_n='printf %s' 52 - else 53 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 - as_echo_n='/usr/ucb/echo -n' 56 - else 57 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 - as_echo_n_body='eval 59 - arg=$1; 60 - case $arg in #( 61 - *"$as_nl"*) 62 - expr "X$arg" : "X\\(.*\\)$as_nl"; 63 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 - esac; 65 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 - ' 67 - export as_echo_n_body 68 - as_echo_n='sh -c $as_echo_n_body as_echo' 69 - fi 70 - export as_echo_body 71 - as_echo='sh -c $as_echo_body as_echo' 72 - fi 50 + IFS=" "" $as_nl" 51 + 52 + PS1='$ ' 53 + PS2='> ' 54 + PS4='+ ' 55 + 56 + # Ensure predictable behavior from utilities with locale-dependent output. 57 + LC_ALL=C 58 + export LC_ALL 59 + LANGUAGE=C 60 + export LANGUAGE 61 + 62 + # We cannot yet rely on "unset" to work, but we need these variables 63 + # to be unset--not just set to an empty or harmless value--now, to 64 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65 + # also avoids known problems related to "unset" and subshell syntax 66 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 + do eval test \${$as_var+y} \ 69 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 + done 71 + 72 + # Ensure that fds 0, 1, and 2 are open. 73 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 73 76 74 77 # The user is always right. 75 - if test "${PATH_SEPARATOR+set}" != set; then 78 + if ${PATH_SEPARATOR+false} :; then 76 79 PATH_SEPARATOR=: 77 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 81 84 fi 82 85 83 86 84 - # IFS 85 - # We need space, tab and new line, in precisely that order. Quoting is 86 - # there to prevent editors from complaining about space-tab. 87 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 - # splitting by setting IFS to empty value.) 89 - IFS=" "" $as_nl" 90 - 91 87 # Find who we are. Look in the path if we contain no directory separator. 92 88 as_myself= 93 89 case $0 in #(( ··· 96 92 for as_dir in $PATH 97 93 do 98 94 IFS=$as_save_IFS 99 - test -z "$as_dir" && as_dir=. 100 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95 + case $as_dir in #((( 96 + '') as_dir=./ ;; 97 + */) ;; 98 + *) as_dir=$as_dir/ ;; 99 + esac 100 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101 101 done 102 102 IFS=$as_save_IFS 103 103 ··· 109 109 as_myself=$0 110 110 fi 111 111 if test ! -f "$as_myself"; then 112 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 113 exit 1 114 114 fi 115 115 116 - # Unset variables that we do not need and which cause bugs (e.g. in 117 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 - # suppresses any "Segmentation fault" message there. '((' could 119 - # trigger a bug in pdksh 5.2.14. 120 - for as_var in BASH_ENV ENV MAIL MAILPATH 121 - do eval test x\${$as_var+set} = xset \ 122 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 - done 124 - PS1='$ ' 125 - PS2='> ' 126 - PS4='+ ' 127 - 128 - # NLS nuisances. 129 - LC_ALL=C 130 - export LC_ALL 131 - LANGUAGE=C 132 - export LANGUAGE 133 - 134 - # CDPATH. 135 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 116 137 117 # Use a proper internal environment variable to ensure we don't fall 138 118 # into an infinite loop, continuously re-executing ourselves. ··· 154 134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 135 # Admittedly, this is quite paranoid, since all the known shells bail 156 136 # out after a failed `exec'. 157 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 - as_fn_exit 255 137 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138 + exit 255 159 139 fi 160 140 # We don't want this to propagate to other subprocesses. 161 141 { _as_can_reexec=; unset _as_can_reexec;} 162 142 if test "x$CONFIG_SHELL" = x; then 163 - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 + as_bourne_compatible="as_nop=: 144 + if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145 + then : 164 146 emulate sh 165 147 NULLCMD=: 166 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 149 # is contrary to our usage. Disable this feature. 168 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 151 setopt NO_GLOB_SUBST 170 - else 152 + else \$as_nop 171 153 case \`(set -o) 2>/dev/null\` in #( 172 154 *posix*) : 173 155 set -o posix ;; #( ··· 187 169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 - if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 172 + if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173 + then : 191 174 192 - else 175 + else \$as_nop 193 176 exitcode=1; echo positional parameters were not saved. 194 177 fi 195 178 test x\$exitcode = x0 || exit 1 179 + blah=\$(echo \$(echo blah)) 180 + test x\"\$blah\" = xblah || exit 1 196 181 test -x / || exit 1" 197 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 186 test \$(( 1 + 1 )) = 2 || exit 1" 202 - if (eval "$as_required") 2>/dev/null; then : 187 + if (eval "$as_required") 2>/dev/null 188 + then : 203 189 as_have_required=yes 204 - else 190 + else $as_nop 205 191 as_have_required=no 206 192 fi 207 - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 193 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194 + then : 208 195 209 - else 196 + else $as_nop 210 197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 198 as_found=false 212 199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 200 do 214 201 IFS=$as_save_IFS 215 - test -z "$as_dir" && as_dir=. 202 + case $as_dir in #((( 203 + '') as_dir=./ ;; 204 + */) ;; 205 + *) as_dir=$as_dir/ ;; 206 + esac 216 207 as_found=: 217 208 case $as_dir in #( 218 209 /*) 219 210 for as_base in sh bash ksh sh5; do 220 211 # Try only shells that exist, to save several forks. 221 - as_shell=$as_dir/$as_base 212 + as_shell=$as_dir$as_base 222 213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 214 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215 + then : 224 216 CONFIG_SHELL=$as_shell as_have_required=yes 225 - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 217 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218 + then : 226 219 break 2 227 220 fi 228 221 fi ··· 230 223 esac 231 224 as_found=false 232 225 done 233 - $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 - CONFIG_SHELL=$SHELL as_have_required=yes 236 - fi; } 237 226 IFS=$as_save_IFS 227 + if $as_found 228 + then : 238 229 230 + else $as_nop 231 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233 + then : 234 + CONFIG_SHELL=$SHELL as_have_required=yes 235 + fi 236 + fi 239 237 240 - if test "x$CONFIG_SHELL" != x; then : 238 + 239 + if test "x$CONFIG_SHELL" != x 240 + then : 241 241 export CONFIG_SHELL 242 242 # We cannot yet assume a decent shell, so we have to provide a 243 243 # neutralization value for shells without unset; and this also ··· 255 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 257 # out after a failed `exec'. 258 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 258 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259 259 exit 255 260 260 fi 261 261 262 - if test x$as_have_required = xno; then : 263 - $as_echo "$0: This script requires a shell more modern than all" 264 - $as_echo "$0: the shells that I found on your system." 265 - if test x${ZSH_VERSION+set} = xset ; then 266 - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 - $as_echo "$0: be upgraded to zsh 4.3.4 or later." 262 + if test x$as_have_required = xno 263 + then : 264 + printf "%s\n" "$0: This script requires a shell more modern than all" 265 + printf "%s\n" "$0: the shells that I found on your system." 266 + if test ${ZSH_VERSION+y} ; then 267 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 268 269 else 269 - $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 270 271 $0: https://gitlab.freedesktop.org/xorg/font/util/-/issues 271 272 $0: about your system, including any error possibly output 272 273 $0: before this message. Then install a modern shell, or ··· 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='font-util' 583 614 PACKAGE_TARNAME='font-util' 584 - PACKAGE_VERSION='1.4.0' 585 - PACKAGE_STRING='font-util 1.4.0' 615 + PACKAGE_VERSION='1.4.1' 616 + PACKAGE_STRING='font-util 1.4.1' 586 617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/util/-/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> 595 - #endif 596 - #ifdef HAVE_SYS_STAT_H 597 - # include <sys/stat.h> 623 + #include <stddef.h> 624 + #ifdef HAVE_STDIO_H 625 + # include <stdio.h> 598 626 #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 632 #endif 613 - #ifdef HAVE_STRINGS_H 614 - # include <strings.h> 615 - #endif 616 633 #ifdef HAVE_INTTYPES_H 617 634 # include <inttypes.h> 618 635 #endif 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 ··· 768 792 LDFLAGS 769 793 LIBS 770 794 CPPFLAGS 771 - CPP 772 795 PKG_CONFIG 773 796 PKG_CONFIG_PATH 774 797 PKG_CONFIG_LIBDIR' ··· 839 862 *=) ac_optarg= ;; 840 863 *) ac_optarg=yes ;; 841 864 esac 842 - 843 - # Accept the important Cygnus configure options, so we can diagnose typos. 844 865 845 866 case $ac_dashdash$ac_option in 846 867 --) ··· 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 font-util 1.4.0 to adapt to many kinds of systems. 1346 + \`configure' configures font-util 1.4.1 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 font-util 1.4.0:";; 1417 + short | recursive ) echo "Configuration of font-util 1.4.1:";; 1397 1418 esac 1398 1419 cat <<\_ACEOF 1399 1420 ··· 1432 1453 LIBS libraries to pass to the linker, e.g. -l<library> 1433 1454 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1434 1455 you have headers in a nonstandard directory <include dir> 1435 - CPP C preprocessor 1436 1456 PKG_CONFIG path to pkg-config utility 1437 1457 PKG_CONFIG_PATH 1438 1458 directories to add to pkg-config's search path ··· 1458 1478 case "$ac_dir" in 1459 1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1460 1480 *) 1461 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1481 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1462 1482 # A ".." for each directory in $ac_dir_suffix. 1463 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1483 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1464 1484 case $ac_top_builddir_sub in 1465 1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1466 1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1488 1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1489 1509 1490 1510 cd "$ac_dir" || { ac_status=$?; continue; } 1491 - # Check for guested configure. 1511 + # Check for configure.gnu first; this name is used for a wrapper for 1512 + # Metaconfig's "Configure" on case-insensitive file systems. 1492 1513 if test -f "$ac_srcdir/configure.gnu"; then 1493 1514 echo && 1494 1515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1496 1517 echo && 1497 1518 $SHELL "$ac_srcdir/configure" --help=recursive 1498 1519 else 1499 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1520 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1500 1521 fi || ac_status=$? 1501 1522 cd "$ac_pwd" || { ac_status=$?; break; } 1502 1523 done ··· 1505 1526 test -n "$ac_init_help" && exit $ac_status 1506 1527 if $ac_init_version; then 1507 1528 cat <<\_ACEOF 1508 - font-util configure 1.4.0 1509 - generated by GNU Autoconf 2.69 1529 + font-util configure 1.4.1 1530 + generated by GNU Autoconf 2.71 1510 1531 1511 - Copyright (C) 2012 Free Software Foundation, Inc. 1532 + Copyright (C) 2021 Free Software Foundation, Inc. 1512 1533 This configure script is free software; the Free Software Foundation 1513 1534 gives unlimited permission to copy, distribute and modify it. 1514 1535 _ACEOF ··· 1525 1546 ac_fn_c_try_compile () 1526 1547 { 1527 1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1528 - rm -f conftest.$ac_objext 1549 + rm -f conftest.$ac_objext conftest.beam 1529 1550 if { { ac_try="$ac_compile" 1530 1551 case "(($ac_try" in 1531 1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1532 1553 *) ac_try_echo=$ac_try;; 1533 1554 esac 1534 1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1535 - $as_echo "$ac_try_echo"; } >&5 1556 + printf "%s\n" "$ac_try_echo"; } >&5 1536 1557 (eval "$ac_compile") 2>conftest.err 1537 1558 ac_status=$? 1538 1559 if test -s conftest.err; then ··· 1540 1561 cat conftest.er1 >&5 1541 1562 mv -f conftest.er1 conftest.err 1542 1563 fi 1543 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1564 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1544 1565 test $ac_status = 0; } && { 1545 1566 test -z "$ac_c_werror_flag" || 1546 1567 test ! -s conftest.err 1547 - } && test -s conftest.$ac_objext; then : 1568 + } && test -s conftest.$ac_objext 1569 + then : 1548 1570 ac_retval=0 1549 - else 1550 - $as_echo "$as_me: failed program was:" >&5 1571 + else $as_nop 1572 + printf "%s\n" "$as_me: failed program was:" >&5 1551 1573 sed 's/^/| /' conftest.$ac_ext >&5 1552 1574 1553 1575 ac_retval=1 ··· 1557 1579 1558 1580 } # ac_fn_c_try_compile 1559 1581 1560 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1561 - # --------------------------------------------- 1582 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1583 + # ------------------------------------------------------------------ 1562 1584 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1563 - # accordingly. 1564 - ac_fn_c_check_decl () 1585 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1586 + ac_fn_check_decl () 1565 1587 { 1566 1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1567 1589 as_decl_name=`echo $2|sed 's/ *(.*//'` 1590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1591 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1592 + if eval test \${$3+y} 1593 + then : 1594 + printf %s "(cached) " >&6 1595 + else $as_nop 1568 1596 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1569 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1570 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1571 - if eval \${$3+:} false; then : 1572 - $as_echo_n "(cached) " >&6 1573 - else 1597 + eval ac_save_FLAGS=\$$6 1598 + as_fn_append $6 " $5" 1574 1599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1575 1600 /* end confdefs.h. */ 1576 1601 $4 1577 1602 int 1578 - main () 1603 + main (void) 1579 1604 { 1580 1605 #ifndef $as_decl_name 1581 1606 #ifdef __cplusplus ··· 1589 1614 return 0; 1590 1615 } 1591 1616 _ACEOF 1592 - if ac_fn_c_try_compile "$LINENO"; then : 1617 + if ac_fn_c_try_compile "$LINENO" 1618 + then : 1593 1619 eval "$3=yes" 1594 - else 1620 + else $as_nop 1595 1621 eval "$3=no" 1596 1622 fi 1597 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1623 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1624 + eval $6=\$ac_save_FLAGS 1625 + 1598 1626 fi 1599 1627 eval ac_res=\$$3 1600 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1601 - $as_echo "$ac_res" >&6; } 1628 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1629 + printf "%s\n" "$ac_res" >&6; } 1602 1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1603 1631 1604 - } # ac_fn_c_check_decl 1605 - 1606 - # ac_fn_c_try_cpp LINENO 1607 - # ---------------------- 1608 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1609 - ac_fn_c_try_cpp () 1610 - { 1611 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1612 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1613 - case "(($ac_try" in 1614 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1615 - *) ac_try_echo=$ac_try;; 1616 - esac 1617 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1618 - $as_echo "$ac_try_echo"; } >&5 1619 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1620 - ac_status=$? 1621 - if test -s conftest.err; then 1622 - grep -v '^ *+' conftest.err >conftest.er1 1623 - cat conftest.er1 >&5 1624 - mv -f conftest.er1 conftest.err 1625 - fi 1626 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1627 - test $ac_status = 0; } > conftest.i && { 1628 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1629 - test ! -s conftest.err 1630 - }; then : 1631 - ac_retval=0 1632 - else 1633 - $as_echo "$as_me: failed program was:" >&5 1634 - sed 's/^/| /' conftest.$ac_ext >&5 1635 - 1636 - ac_retval=1 1637 - fi 1638 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1639 - as_fn_set_status $ac_retval 1640 - 1641 - } # ac_fn_c_try_cpp 1642 - 1643 - # ac_fn_c_try_run LINENO 1644 - # ---------------------- 1645 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1646 - # that executables *can* be run. 1647 - ac_fn_c_try_run () 1648 - { 1649 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1650 - if { { ac_try="$ac_link" 1651 - case "(($ac_try" in 1652 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1653 - *) ac_try_echo=$ac_try;; 1654 - esac 1655 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1656 - $as_echo "$ac_try_echo"; } >&5 1657 - (eval "$ac_link") 2>&5 1658 - ac_status=$? 1659 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1660 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1661 - { { case "(($ac_try" in 1662 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1663 - *) ac_try_echo=$ac_try;; 1664 - esac 1665 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1666 - $as_echo "$ac_try_echo"; } >&5 1667 - (eval "$ac_try") 2>&5 1668 - ac_status=$? 1669 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1670 - test $ac_status = 0; }; }; then : 1671 - ac_retval=0 1672 - else 1673 - $as_echo "$as_me: program exited with status $ac_status" >&5 1674 - $as_echo "$as_me: failed program was:" >&5 1675 - sed 's/^/| /' conftest.$ac_ext >&5 1676 - 1677 - ac_retval=$ac_status 1678 - fi 1679 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1680 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 - as_fn_set_status $ac_retval 1682 - 1683 - } # ac_fn_c_try_run 1632 + } # ac_fn_check_decl 1684 1633 1685 1634 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1686 1635 # ------------------------------------------------------- ··· 1689 1638 ac_fn_c_check_header_compile () 1690 1639 { 1691 1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1693 - $as_echo_n "checking for $2... " >&6; } 1694 - if eval \${$3+:} false; then : 1695 - $as_echo_n "(cached) " >&6 1696 - else 1641 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1642 + printf %s "checking for $2... " >&6; } 1643 + if eval test \${$3+y} 1644 + then : 1645 + printf %s "(cached) " >&6 1646 + else $as_nop 1697 1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1698 1648 /* end confdefs.h. */ 1699 1649 $4 1700 1650 #include <$2> 1701 1651 _ACEOF 1702 - if ac_fn_c_try_compile "$LINENO"; then : 1652 + if ac_fn_c_try_compile "$LINENO" 1653 + then : 1703 1654 eval "$3=yes" 1704 - else 1655 + else $as_nop 1705 1656 eval "$3=no" 1706 1657 fi 1707 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1658 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1708 1659 fi 1709 1660 eval ac_res=\$$3 1710 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1711 - $as_echo "$ac_res" >&6; } 1661 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1662 + printf "%s\n" "$ac_res" >&6; } 1712 1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1713 1664 1714 1665 } # ac_fn_c_check_header_compile ··· 1719 1670 ac_fn_c_try_link () 1720 1671 { 1721 1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1722 - rm -f conftest.$ac_objext conftest$ac_exeext 1673 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1723 1674 if { { ac_try="$ac_link" 1724 1675 case "(($ac_try" in 1725 1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1726 1677 *) ac_try_echo=$ac_try;; 1727 1678 esac 1728 1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1729 - $as_echo "$ac_try_echo"; } >&5 1680 + printf "%s\n" "$ac_try_echo"; } >&5 1730 1681 (eval "$ac_link") 2>conftest.err 1731 1682 ac_status=$? 1732 1683 if test -s conftest.err; then ··· 1734 1685 cat conftest.er1 >&5 1735 1686 mv -f conftest.er1 conftest.err 1736 1687 fi 1737 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1688 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1738 1689 test $ac_status = 0; } && { 1739 1690 test -z "$ac_c_werror_flag" || 1740 1691 test ! -s conftest.err 1741 1692 } && test -s conftest$ac_exeext && { 1742 1693 test "$cross_compiling" = yes || 1743 1694 test -x conftest$ac_exeext 1744 - }; then : 1695 + } 1696 + then : 1745 1697 ac_retval=0 1746 - else 1747 - $as_echo "$as_me: failed program was:" >&5 1698 + else $as_nop 1699 + printf "%s\n" "$as_me: failed program was:" >&5 1748 1700 sed 's/^/| /' conftest.$ac_ext >&5 1749 1701 1750 1702 ac_retval=1 ··· 1758 1710 as_fn_set_status $ac_retval 1759 1711 1760 1712 } # ac_fn_c_try_link 1713 + ac_configure_args_raw= 1714 + for ac_arg 1715 + do 1716 + case $ac_arg in 1717 + *\'*) 1718 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1719 + esac 1720 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1721 + done 1722 + 1723 + case $ac_configure_args_raw in 1724 + *$as_nl*) 1725 + ac_safe_unquote= ;; 1726 + *) 1727 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1728 + ac_unsafe_a="$ac_unsafe_z#~" 1729 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1730 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1731 + esac 1732 + 1761 1733 cat >config.log <<_ACEOF 1762 1734 This file contains any messages produced by compilers while 1763 1735 running configure, to aid debugging if configure makes a mistake. 1764 1736 1765 - It was created by font-util $as_me 1.4.0, which was 1766 - generated by GNU Autoconf 2.69. Invocation command line was 1737 + It was created by font-util $as_me 1.4.1, which was 1738 + generated by GNU Autoconf 2.71. Invocation command line was 1767 1739 1768 - $ $0 $@ 1740 + $ $0$ac_configure_args_raw 1769 1741 1770 1742 _ACEOF 1771 1743 exec 5>>config.log ··· 1798 1770 for as_dir in $PATH 1799 1771 do 1800 1772 IFS=$as_save_IFS 1801 - test -z "$as_dir" && as_dir=. 1802 - $as_echo "PATH: $as_dir" 1773 + case $as_dir in #((( 1774 + '') as_dir=./ ;; 1775 + */) ;; 1776 + *) as_dir=$as_dir/ ;; 1777 + esac 1778 + printf "%s\n" "PATH: $as_dir" 1803 1779 done 1804 1780 IFS=$as_save_IFS 1805 1781 ··· 1834 1810 | -silent | --silent | --silen | --sile | --sil) 1835 1811 continue ;; 1836 1812 *\'*) 1837 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1813 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1838 1814 esac 1839 1815 case $ac_pass in 1840 1816 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1869 1845 # WARNING: Use '\'' to represent an apostrophe within the trap. 1870 1846 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1871 1847 trap 'exit_status=$? 1848 + # Sanitize IFS. 1849 + IFS=" "" $as_nl" 1872 1850 # Save into config.log some information that might help in debugging. 1873 1851 { 1874 1852 echo 1875 1853 1876 - $as_echo "## ---------------- ## 1854 + printf "%s\n" "## ---------------- ## 1877 1855 ## Cache variables. ## 1878 1856 ## ---------------- ##" 1879 1857 echo ··· 1884 1862 case $ac_val in #( 1885 1863 *${as_nl}*) 1886 1864 case $ac_var in #( 1887 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1888 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1865 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1866 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1889 1867 esac 1890 1868 case $ac_var in #( 1891 1869 _ | IFS | as_nl) ;; #( ··· 1909 1887 ) 1910 1888 echo 1911 1889 1912 - $as_echo "## ----------------- ## 1890 + printf "%s\n" "## ----------------- ## 1913 1891 ## Output variables. ## 1914 1892 ## ----------------- ##" 1915 1893 echo ··· 1917 1895 do 1918 1896 eval ac_val=\$$ac_var 1919 1897 case $ac_val in 1920 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1898 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1921 1899 esac 1922 - $as_echo "$ac_var='\''$ac_val'\''" 1900 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1923 1901 done | sort 1924 1902 echo 1925 1903 1926 1904 if test -n "$ac_subst_files"; then 1927 - $as_echo "## ------------------- ## 1905 + printf "%s\n" "## ------------------- ## 1928 1906 ## File substitutions. ## 1929 1907 ## ------------------- ##" 1930 1908 echo ··· 1932 1910 do 1933 1911 eval ac_val=\$$ac_var 1934 1912 case $ac_val in 1935 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1913 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1936 1914 esac 1937 - $as_echo "$ac_var='\''$ac_val'\''" 1915 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1938 1916 done | sort 1939 1917 echo 1940 1918 fi 1941 1919 1942 1920 if test -s confdefs.h; then 1943 - $as_echo "## ----------- ## 1921 + printf "%s\n" "## ----------- ## 1944 1922 ## confdefs.h. ## 1945 1923 ## ----------- ##" 1946 1924 echo ··· 1948 1926 echo 1949 1927 fi 1950 1928 test "$ac_signal" != 0 && 1951 - $as_echo "$as_me: caught signal $ac_signal" 1952 - $as_echo "$as_me: exit $exit_status" 1929 + printf "%s\n" "$as_me: caught signal $ac_signal" 1930 + printf "%s\n" "$as_me: exit $exit_status" 1953 1931 } >&5 1954 1932 rm -f core *.core core.conftest.* && 1955 1933 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 1963 1941 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1964 1942 rm -f -r conftest* confdefs.h 1965 1943 1966 - $as_echo "/* confdefs.h */" > confdefs.h 1944 + printf "%s\n" "/* confdefs.h */" > confdefs.h 1967 1945 1968 1946 # Predefined preprocessor variables. 1969 1947 1970 - cat >>confdefs.h <<_ACEOF 1971 - #define PACKAGE_NAME "$PACKAGE_NAME" 1972 - _ACEOF 1948 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1973 1949 1974 - cat >>confdefs.h <<_ACEOF 1975 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1976 - _ACEOF 1950 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1977 1951 1978 - cat >>confdefs.h <<_ACEOF 1979 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 1980 - _ACEOF 1952 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1981 1953 1982 - cat >>confdefs.h <<_ACEOF 1983 - #define PACKAGE_STRING "$PACKAGE_STRING" 1984 - _ACEOF 1954 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1985 1955 1986 - cat >>confdefs.h <<_ACEOF 1987 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1988 - _ACEOF 1956 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1989 1957 1990 - cat >>confdefs.h <<_ACEOF 1991 - #define PACKAGE_URL "$PACKAGE_URL" 1992 - _ACEOF 1958 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1993 1959 1994 1960 1995 1961 # Let the site file select an alternate cache file if it wants to. 1996 1962 # Prefer an explicitly selected file to automatically selected ones. 1997 - ac_site_file1=NONE 1998 - ac_site_file2=NONE 1999 1963 if test -n "$CONFIG_SITE"; then 2000 - # We do not want a PATH search for config.site. 2001 - case $CONFIG_SITE in #(( 2002 - -*) ac_site_file1=./$CONFIG_SITE;; 2003 - */*) ac_site_file1=$CONFIG_SITE;; 2004 - *) ac_site_file1=./$CONFIG_SITE;; 2005 - esac 1964 + ac_site_files="$CONFIG_SITE" 2006 1965 elif test "x$prefix" != xNONE; then 2007 - ac_site_file1=$prefix/share/config.site 2008 - ac_site_file2=$prefix/etc/config.site 1966 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2009 1967 else 2010 - ac_site_file1=$ac_default_prefix/share/config.site 2011 - ac_site_file2=$ac_default_prefix/etc/config.site 1968 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2012 1969 fi 2013 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1970 + 1971 + for ac_site_file in $ac_site_files 2014 1972 do 2015 - test "x$ac_site_file" = xNONE && continue 2016 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2017 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2018 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1973 + case $ac_site_file in #( 1974 + */*) : 1975 + ;; #( 1976 + *) : 1977 + ac_site_file=./$ac_site_file ;; 1978 + esac 1979 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1980 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1981 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2019 1982 sed 's/^/| /' "$ac_site_file" >&5 2020 1983 . "$ac_site_file" \ 2021 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2022 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1984 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1985 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2023 1986 as_fn_error $? "failed to load site script $ac_site_file 2024 1987 See \`config.log' for more details" "$LINENO" 5; } 2025 1988 fi ··· 2029 1992 # Some versions of bash will fail to source /dev/null (special files 2030 1993 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2031 1994 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2032 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2033 - $as_echo "$as_me: loading cache $cache_file" >&6;} 1995 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1996 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2034 1997 case $cache_file in 2035 1998 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2036 1999 *) . "./$cache_file";; 2037 2000 esac 2038 2001 fi 2039 2002 else 2040 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2041 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2003 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2004 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2042 2005 >$cache_file 2043 2006 fi 2044 2007 2008 + # Test code for whether the C compiler supports C89 (global declarations) 2009 + ac_c_conftest_c89_globals=' 2010 + /* Does the compiler advertise C89 conformance? 2011 + Do not test the value of __STDC__, because some compilers set it to 0 2012 + while being otherwise adequately conformant. */ 2013 + #if !defined __STDC__ 2014 + # error "Compiler does not advertise C89 conformance" 2015 + #endif 2016 + 2017 + #include <stddef.h> 2018 + #include <stdarg.h> 2019 + struct stat; 2020 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2021 + struct buf { int x; }; 2022 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2023 + static char *e (p, i) 2024 + char **p; 2025 + int i; 2026 + { 2027 + return p[i]; 2028 + } 2029 + static char *f (char * (*g) (char **, int), char **p, ...) 2030 + { 2031 + char *s; 2032 + va_list v; 2033 + va_start (v,p); 2034 + s = g (p, va_arg (v,int)); 2035 + va_end (v); 2036 + return s; 2037 + } 2038 + 2039 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2040 + function prototypes and stuff, but not \xHH hex character constants. 2041 + These do not provoke an error unfortunately, instead are silently treated 2042 + as an "x". The following induces an error, until -std is added to get 2043 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2044 + array size at least. It is necessary to write \x00 == 0 to get something 2045 + that is true only with -std. */ 2046 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2047 + 2048 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2049 + inside strings and character constants. */ 2050 + #define FOO(x) '\''x'\'' 2051 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2052 + 2053 + int test (int i, double x); 2054 + struct s1 {int (*f) (int a);}; 2055 + struct s2 {int (*f) (double a);}; 2056 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2057 + int, int);' 2058 + 2059 + # Test code for whether the C compiler supports C89 (body of main). 2060 + ac_c_conftest_c89_main=' 2061 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2062 + ' 2063 + 2064 + # Test code for whether the C compiler supports C99 (global declarations) 2065 + ac_c_conftest_c99_globals=' 2066 + // Does the compiler advertise C99 conformance? 2067 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2068 + # error "Compiler does not advertise C99 conformance" 2069 + #endif 2070 + 2071 + #include <stdbool.h> 2072 + extern int puts (const char *); 2073 + extern int printf (const char *, ...); 2074 + extern int dprintf (int, const char *, ...); 2075 + extern void *malloc (size_t); 2076 + 2077 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2078 + // dprintf is used instead of fprintf to avoid needing to declare 2079 + // FILE and stderr. 2080 + #define debug(...) dprintf (2, __VA_ARGS__) 2081 + #define showlist(...) puts (#__VA_ARGS__) 2082 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2083 + static void 2084 + test_varargs_macros (void) 2085 + { 2086 + int x = 1234; 2087 + int y = 5678; 2088 + debug ("Flag"); 2089 + debug ("X = %d\n", x); 2090 + showlist (The first, second, and third items.); 2091 + report (x>y, "x is %d but y is %d", x, y); 2092 + } 2093 + 2094 + // Check long long types. 2095 + #define BIG64 18446744073709551615ull 2096 + #define BIG32 4294967295ul 2097 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2098 + #if !BIG_OK 2099 + #error "your preprocessor is broken" 2100 + #endif 2101 + #if BIG_OK 2102 + #else 2103 + #error "your preprocessor is broken" 2104 + #endif 2105 + static long long int bignum = -9223372036854775807LL; 2106 + static unsigned long long int ubignum = BIG64; 2107 + 2108 + struct incomplete_array 2109 + { 2110 + int datasize; 2111 + double data[]; 2112 + }; 2113 + 2114 + struct named_init { 2115 + int number; 2116 + const wchar_t *name; 2117 + double average; 2118 + }; 2119 + 2120 + typedef const char *ccp; 2121 + 2122 + static inline int 2123 + test_restrict (ccp restrict text) 2124 + { 2125 + // See if C++-style comments work. 2126 + // Iterate through items via the restricted pointer. 2127 + // Also check for declarations in for loops. 2128 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2129 + continue; 2130 + return 0; 2131 + } 2132 + 2133 + // Check varargs and va_copy. 2134 + static bool 2135 + test_varargs (const char *format, ...) 2136 + { 2137 + va_list args; 2138 + va_start (args, format); 2139 + va_list args_copy; 2140 + va_copy (args_copy, args); 2141 + 2142 + const char *str = ""; 2143 + int number = 0; 2144 + float fnumber = 0; 2145 + 2146 + while (*format) 2147 + { 2148 + switch (*format++) 2149 + { 2150 + case '\''s'\'': // string 2151 + str = va_arg (args_copy, const char *); 2152 + break; 2153 + case '\''d'\'': // int 2154 + number = va_arg (args_copy, int); 2155 + break; 2156 + case '\''f'\'': // float 2157 + fnumber = va_arg (args_copy, double); 2158 + break; 2159 + default: 2160 + break; 2161 + } 2162 + } 2163 + va_end (args_copy); 2164 + va_end (args); 2165 + 2166 + return *str && number && fnumber; 2167 + } 2168 + ' 2169 + 2170 + # Test code for whether the C compiler supports C99 (body of main). 2171 + ac_c_conftest_c99_main=' 2172 + // Check bool. 2173 + _Bool success = false; 2174 + success |= (argc != 0); 2175 + 2176 + // Check restrict. 2177 + if (test_restrict ("String literal") == 0) 2178 + success = true; 2179 + char *restrict newvar = "Another string"; 2180 + 2181 + // Check varargs. 2182 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2183 + test_varargs_macros (); 2184 + 2185 + // Check flexible array members. 2186 + struct incomplete_array *ia = 2187 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2188 + ia->datasize = 10; 2189 + for (int i = 0; i < ia->datasize; ++i) 2190 + ia->data[i] = i * 1.234; 2191 + 2192 + // Check named initializers. 2193 + struct named_init ni = { 2194 + .number = 34, 2195 + .name = L"Test wide string", 2196 + .average = 543.34343, 2197 + }; 2198 + 2199 + ni.number = 58; 2200 + 2201 + int dynamic_array[ni.number]; 2202 + dynamic_array[0] = argv[0][0]; 2203 + dynamic_array[ni.number - 1] = 543; 2204 + 2205 + // work around unused variable warnings 2206 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2207 + || dynamic_array[ni.number - 1] != 543); 2208 + ' 2209 + 2210 + # Test code for whether the C compiler supports C11 (global declarations) 2211 + ac_c_conftest_c11_globals=' 2212 + // Does the compiler advertise C11 conformance? 2213 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2214 + # error "Compiler does not advertise C11 conformance" 2215 + #endif 2216 + 2217 + // Check _Alignas. 2218 + char _Alignas (double) aligned_as_double; 2219 + char _Alignas (0) no_special_alignment; 2220 + extern char aligned_as_int; 2221 + char _Alignas (0) _Alignas (int) aligned_as_int; 2222 + 2223 + // Check _Alignof. 2224 + enum 2225 + { 2226 + int_alignment = _Alignof (int), 2227 + int_array_alignment = _Alignof (int[100]), 2228 + char_alignment = _Alignof (char) 2229 + }; 2230 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2231 + 2232 + // Check _Noreturn. 2233 + int _Noreturn does_not_return (void) { for (;;) continue; } 2234 + 2235 + // Check _Static_assert. 2236 + struct test_static_assert 2237 + { 2238 + int x; 2239 + _Static_assert (sizeof (int) <= sizeof (long int), 2240 + "_Static_assert does not work in struct"); 2241 + long int y; 2242 + }; 2243 + 2244 + // Check UTF-8 literals. 2245 + #define u8 syntax error! 2246 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2247 + 2248 + // Check duplicate typedefs. 2249 + typedef long *long_ptr; 2250 + typedef long int *long_ptr; 2251 + typedef long_ptr long_ptr; 2252 + 2253 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2254 + struct anonymous 2255 + { 2256 + union { 2257 + struct { int i; int j; }; 2258 + struct { int k; long int l; } w; 2259 + }; 2260 + int m; 2261 + } v1; 2262 + ' 2263 + 2264 + # Test code for whether the C compiler supports C11 (body of main). 2265 + ac_c_conftest_c11_main=' 2266 + _Static_assert ((offsetof (struct anonymous, i) 2267 + == offsetof (struct anonymous, w.k)), 2268 + "Anonymous union alignment botch"); 2269 + v1.i = 2; 2270 + v1.w.k = 5; 2271 + ok |= v1.i != 5; 2272 + ' 2273 + 2274 + # Test code for whether the C compiler supports C11 (complete). 2275 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2276 + ${ac_c_conftest_c99_globals} 2277 + ${ac_c_conftest_c11_globals} 2278 + 2279 + int 2280 + main (int argc, char **argv) 2281 + { 2282 + int ok = 0; 2283 + ${ac_c_conftest_c89_main} 2284 + ${ac_c_conftest_c99_main} 2285 + ${ac_c_conftest_c11_main} 2286 + return ok; 2287 + } 2288 + " 2289 + 2290 + # Test code for whether the C compiler supports C99 (complete). 2291 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2292 + ${ac_c_conftest_c99_globals} 2293 + 2294 + int 2295 + main (int argc, char **argv) 2296 + { 2297 + int ok = 0; 2298 + ${ac_c_conftest_c89_main} 2299 + ${ac_c_conftest_c99_main} 2300 + return ok; 2301 + } 2302 + " 2303 + 2304 + # Test code for whether the C compiler supports C89 (complete). 2305 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2306 + 2307 + int 2308 + main (int argc, char **argv) 2309 + { 2310 + int ok = 0; 2311 + ${ac_c_conftest_c89_main} 2312 + return ok; 2313 + } 2314 + " 2315 + 2316 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2317 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2318 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2319 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2320 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2321 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2322 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2323 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2324 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2325 + 2326 + # Auxiliary files required by this configure script. 2327 + ac_aux_files="config.guess config.sub missing install-sh" 2328 + 2329 + # Locations in which to look for auxiliary files. 2330 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2331 + 2332 + # Search for a directory containing all of the required auxiliary files, 2333 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2334 + # If we don't find one directory that contains all the files we need, 2335 + # we report the set of missing files from the *first* directory in 2336 + # $ac_aux_dir_candidates and give up. 2337 + ac_missing_aux_files="" 2338 + ac_first_candidate=: 2339 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2340 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2341 + as_found=false 2342 + for as_dir in $ac_aux_dir_candidates 2343 + do 2344 + IFS=$as_save_IFS 2345 + case $as_dir in #((( 2346 + '') as_dir=./ ;; 2347 + */) ;; 2348 + *) as_dir=$as_dir/ ;; 2349 + esac 2350 + as_found=: 2351 + 2352 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2353 + ac_aux_dir_found=yes 2354 + ac_install_sh= 2355 + for ac_aux in $ac_aux_files 2356 + do 2357 + # As a special case, if "install-sh" is required, that requirement 2358 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2359 + # and $ac_install_sh is set appropriately for whichever one is found. 2360 + if test x"$ac_aux" = x"install-sh" 2361 + then 2362 + if 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}install.sh"; then 2366 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2367 + ac_install_sh="${as_dir}install.sh -c" 2368 + elif test -f "${as_dir}shtool"; then 2369 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2370 + ac_install_sh="${as_dir}shtool install -c" 2371 + else 2372 + ac_aux_dir_found=no 2373 + if $ac_first_candidate; then 2374 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2375 + else 2376 + break 2377 + fi 2378 + fi 2379 + else 2380 + if test -f "${as_dir}${ac_aux}"; then 2381 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2382 + else 2383 + ac_aux_dir_found=no 2384 + if $ac_first_candidate; then 2385 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2386 + else 2387 + break 2388 + fi 2389 + fi 2390 + fi 2391 + done 2392 + if test "$ac_aux_dir_found" = yes; then 2393 + ac_aux_dir="$as_dir" 2394 + break 2395 + fi 2396 + ac_first_candidate=false 2397 + 2398 + as_found=false 2399 + done 2400 + IFS=$as_save_IFS 2401 + if $as_found 2402 + then : 2403 + 2404 + else $as_nop 2405 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2406 + fi 2407 + 2408 + 2409 + # These three variables are undocumented and unsupported, 2410 + # and are intended to be withdrawn in a future Autoconf release. 2411 + # They can cause serious problems if a builder's source tree is in a directory 2412 + # whose full name contains unusual characters. 2413 + if test -f "${ac_aux_dir}config.guess"; then 2414 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2415 + fi 2416 + if test -f "${ac_aux_dir}config.sub"; then 2417 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2418 + fi 2419 + if test -f "$ac_aux_dir/configure"; then 2420 + ac_configure="$SHELL ${ac_aux_dir}configure" 2421 + fi 2422 + 2045 2423 # Check that the precious variables saved in the cache have kept the same 2046 2424 # value. 2047 2425 ac_cache_corrupted=false ··· 2052 2430 eval ac_new_val=\$ac_env_${ac_var}_value 2053 2431 case $ac_old_set,$ac_new_set in 2054 2432 set,) 2055 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2056 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2433 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2434 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2057 2435 ac_cache_corrupted=: ;; 2058 2436 ,set) 2059 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2060 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2438 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2061 2439 ac_cache_corrupted=: ;; 2062 2440 ,);; 2063 2441 *) ··· 2066 2444 ac_old_val_w=`echo x $ac_old_val` 2067 2445 ac_new_val_w=`echo x $ac_new_val` 2068 2446 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2069 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2070 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2447 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2448 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2071 2449 ac_cache_corrupted=: 2072 2450 else 2073 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2074 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2451 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2452 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2075 2453 eval $ac_var=\$ac_old_val 2076 2454 fi 2077 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2078 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2079 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2080 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2455 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2456 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2457 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2458 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2081 2459 fi;; 2082 2460 esac 2083 2461 # Pass precious variables to config.status. 2084 2462 if test "$ac_new_set" = set; then 2085 2463 case $ac_new_val in 2086 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2464 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2087 2465 *) ac_arg=$ac_var=$ac_new_val ;; 2088 2466 esac 2089 2467 case " $ac_configure_args " in ··· 2093 2471 fi 2094 2472 done 2095 2473 if $ac_cache_corrupted; then 2096 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2097 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2098 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2099 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2100 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2474 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2475 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2476 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2477 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2478 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2479 + and start over" "$LINENO" 5 2101 2480 fi 2102 2481 ## -------------------- ## 2103 2482 ## Main body of script. ## ··· 2117 2496 # Initialize Automake 2118 2497 am__api_version='1.12' 2119 2498 2120 - ac_aux_dir= 2121 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2122 - if test -f "$ac_dir/install-sh"; then 2123 - ac_aux_dir=$ac_dir 2124 - ac_install_sh="$ac_aux_dir/install-sh -c" 2125 - break 2126 - elif test -f "$ac_dir/install.sh"; then 2127 - ac_aux_dir=$ac_dir 2128 - ac_install_sh="$ac_aux_dir/install.sh -c" 2129 - break 2130 - elif test -f "$ac_dir/shtool"; then 2131 - ac_aux_dir=$ac_dir 2132 - ac_install_sh="$ac_aux_dir/shtool install -c" 2133 - break 2134 - fi 2135 - done 2136 - if test -z "$ac_aux_dir"; then 2137 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2138 - fi 2139 2499 2140 - # These three variables are undocumented and unsupported, 2141 - # and are intended to be withdrawn in a future Autoconf release. 2142 - # They can cause serious problems if a builder's source tree is in a directory 2143 - # whose full name contains unusual characters. 2144 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2145 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2146 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2147 2500 2148 - 2149 - # Find a good install program. We prefer a C program (faster), 2501 + # Find a good install program. We prefer a C program (faster), 2150 2502 # so one script is as good as another. But avoid the broken or 2151 2503 # incompatible versions: 2152 2504 # SysV /etc/install, /usr/sbin/install ··· 2160 2512 # OS/2's system install, which has a completely different semantic 2161 2513 # ./install, which can be erroneously created by make from ./install.sh. 2162 2514 # Reject install programs that cannot install multiple files. 2163 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2164 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2515 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2516 + printf %s "checking for a BSD-compatible install... " >&6; } 2165 2517 if test -z "$INSTALL"; then 2166 - if ${ac_cv_path_install+:} false; then : 2167 - $as_echo_n "(cached) " >&6 2168 - else 2518 + if test ${ac_cv_path_install+y} 2519 + then : 2520 + printf %s "(cached) " >&6 2521 + else $as_nop 2169 2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2170 2523 for as_dir in $PATH 2171 2524 do 2172 2525 IFS=$as_save_IFS 2173 - test -z "$as_dir" && as_dir=. 2174 - # Account for people who put trailing slashes in PATH elements. 2175 - case $as_dir/ in #(( 2176 - ./ | .// | /[cC]/* | \ 2526 + case $as_dir in #((( 2527 + '') as_dir=./ ;; 2528 + */) ;; 2529 + *) as_dir=$as_dir/ ;; 2530 + esac 2531 + # Account for fact that we put trailing slashes in our PATH walk. 2532 + case $as_dir in #(( 2533 + ./ | /[cC]/* | \ 2177 2534 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2178 2535 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2179 2536 /usr/ucb/* ) ;; ··· 2183 2540 # by default. 2184 2541 for ac_prog in ginstall scoinst install; do 2185 2542 for ac_exec_ext in '' $ac_executable_extensions; do 2186 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2543 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2187 2544 if test $ac_prog = install && 2188 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2545 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2189 2546 # AIX install. It has an incompatible calling convention. 2190 2547 : 2191 2548 elif test $ac_prog = install && 2192 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2549 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2193 2550 # program-specific install script used by HP pwplus--don't use. 2194 2551 : 2195 2552 else ··· 2197 2554 echo one > conftest.one 2198 2555 echo two > conftest.two 2199 2556 mkdir conftest.dir 2200 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2557 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2201 2558 test -s conftest.one && test -s conftest.two && 2202 2559 test -s conftest.dir/conftest.one && 2203 2560 test -s conftest.dir/conftest.two 2204 2561 then 2205 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2562 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2206 2563 break 3 2207 2564 fi 2208 2565 fi ··· 2218 2575 rm -rf conftest.one conftest.two conftest.dir 2219 2576 2220 2577 fi 2221 - if test "${ac_cv_path_install+set}" = set; then 2578 + if test ${ac_cv_path_install+y}; then 2222 2579 INSTALL=$ac_cv_path_install 2223 2580 else 2224 2581 # As a last resort, use the slow shell script. Don't cache a ··· 2228 2585 INSTALL=$ac_install_sh 2229 2586 fi 2230 2587 fi 2231 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2232 - $as_echo "$INSTALL" >&6; } 2588 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2589 + printf "%s\n" "$INSTALL" >&6; } 2233 2590 2234 2591 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2235 2592 # It thinks the first close brace ends the variable substitution. ··· 2239 2596 2240 2597 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2241 2598 2242 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2243 - $as_echo_n "checking whether build environment is sane... " >&6; } 2599 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2600 + printf %s "checking whether build environment is sane... " >&6; } 2244 2601 # Reject unsafe characters in $srcdir or the absolute working directory 2245 2602 # name. Accept space and tab only in the latter. 2246 2603 am_lf=' ··· 2294 2651 as_fn_error $? "newly created file is older than distributed files! 2295 2652 Check your system clock" "$LINENO" 5 2296 2653 fi 2297 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2298 - $as_echo "yes" >&6; } 2654 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2655 + printf "%s\n" "yes" >&6; } 2299 2656 # If we didn't sleep, we still need to ensure time stamps of config.status and 2300 2657 # generated files are strictly newer. 2301 2658 am_sleep_pid= ··· 2314 2671 # Double any \ or $. 2315 2672 # By default was `s,x,x', remove it if useless. 2316 2673 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2317 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2674 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2318 2675 2319 2676 # expand $ac_aux_dir to an absolute path 2320 2677 am_aux_dir=`cd $ac_aux_dir && pwd` 2321 2678 2322 - if test x"${MISSING+set}" != xset; then 2679 + 2680 + if test x"${MISSING+set}" != xset; then 2323 2681 case $am_aux_dir in 2324 2682 *\ * | *\ *) 2325 2683 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2332 2690 am_missing_run="$MISSING --run " 2333 2691 else 2334 2692 am_missing_run= 2335 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2336 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2693 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2694 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2337 2695 fi 2338 2696 2339 2697 if test x"${install_sh}" != xset; then ··· 2353 2711 if test -n "$ac_tool_prefix"; then 2354 2712 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2355 2713 set dummy ${ac_tool_prefix}strip; ac_word=$2 2356 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2357 - $as_echo_n "checking for $ac_word... " >&6; } 2358 - if ${ac_cv_prog_STRIP+:} false; then : 2359 - $as_echo_n "(cached) " >&6 2360 - else 2714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2715 + printf %s "checking for $ac_word... " >&6; } 2716 + if test ${ac_cv_prog_STRIP+y} 2717 + then : 2718 + printf %s "(cached) " >&6 2719 + else $as_nop 2361 2720 if test -n "$STRIP"; then 2362 2721 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2363 2722 else ··· 2365 2724 for as_dir in $PATH 2366 2725 do 2367 2726 IFS=$as_save_IFS 2368 - test -z "$as_dir" && as_dir=. 2727 + case $as_dir in #((( 2728 + '') as_dir=./ ;; 2729 + */) ;; 2730 + *) as_dir=$as_dir/ ;; 2731 + esac 2369 2732 for ac_exec_ext in '' $ac_executable_extensions; do 2370 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2733 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2371 2734 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2372 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2735 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2373 2736 break 2 2374 2737 fi 2375 2738 done ··· 2380 2743 fi 2381 2744 STRIP=$ac_cv_prog_STRIP 2382 2745 if test -n "$STRIP"; then 2383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2384 - $as_echo "$STRIP" >&6; } 2746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2747 + printf "%s\n" "$STRIP" >&6; } 2385 2748 else 2386 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2387 - $as_echo "no" >&6; } 2749 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2750 + printf "%s\n" "no" >&6; } 2388 2751 fi 2389 2752 2390 2753 ··· 2393 2756 ac_ct_STRIP=$STRIP 2394 2757 # Extract the first word of "strip", so it can be a program name with args. 2395 2758 set dummy strip; ac_word=$2 2396 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2397 - $as_echo_n "checking for $ac_word... " >&6; } 2398 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2399 - $as_echo_n "(cached) " >&6 2400 - else 2759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2760 + printf %s "checking for $ac_word... " >&6; } 2761 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2762 + then : 2763 + printf %s "(cached) " >&6 2764 + else $as_nop 2401 2765 if test -n "$ac_ct_STRIP"; then 2402 2766 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2403 2767 else ··· 2405 2769 for as_dir in $PATH 2406 2770 do 2407 2771 IFS=$as_save_IFS 2408 - test -z "$as_dir" && as_dir=. 2772 + case $as_dir in #((( 2773 + '') as_dir=./ ;; 2774 + */) ;; 2775 + *) as_dir=$as_dir/ ;; 2776 + esac 2409 2777 for ac_exec_ext in '' $ac_executable_extensions; do 2410 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2778 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2411 2779 ac_cv_prog_ac_ct_STRIP="strip" 2412 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2780 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2413 2781 break 2 2414 2782 fi 2415 2783 done ··· 2420 2788 fi 2421 2789 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2422 2790 if test -n "$ac_ct_STRIP"; then 2423 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2424 - $as_echo "$ac_ct_STRIP" >&6; } 2791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2792 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2425 2793 else 2426 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2427 - $as_echo "no" >&6; } 2794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2795 + printf "%s\n" "no" >&6; } 2428 2796 fi 2429 2797 2430 2798 if test "x$ac_ct_STRIP" = x; then ··· 2432 2800 else 2433 2801 case $cross_compiling:$ac_tool_warned in 2434 2802 yes:) 2435 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2436 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2803 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2804 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2437 2805 ac_tool_warned=yes ;; 2438 2806 esac 2439 2807 STRIP=$ac_ct_STRIP ··· 2445 2813 fi 2446 2814 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2447 2815 2448 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2449 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2816 + 2817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2818 + printf %s "checking for a race-free mkdir -p... " >&6; } 2450 2819 if test -z "$MKDIR_P"; then 2451 - if ${ac_cv_path_mkdir+:} false; then : 2452 - $as_echo_n "(cached) " >&6 2453 - else 2820 + if test ${ac_cv_path_mkdir+y} 2821 + then : 2822 + printf %s "(cached) " >&6 2823 + else $as_nop 2454 2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2455 2825 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2456 2826 do 2457 2827 IFS=$as_save_IFS 2458 - test -z "$as_dir" && as_dir=. 2828 + case $as_dir in #((( 2829 + '') as_dir=./ ;; 2830 + */) ;; 2831 + *) as_dir=$as_dir/ ;; 2832 + esac 2459 2833 for ac_prog in mkdir gmkdir; do 2460 2834 for ac_exec_ext in '' $ac_executable_extensions; do 2461 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2462 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2463 - 'mkdir (GNU coreutils) '* | \ 2464 - 'mkdir (coreutils) '* | \ 2835 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2836 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2837 + 'mkdir ('*'coreutils) '* | \ 2838 + 'BusyBox '* | \ 2465 2839 'mkdir (fileutils) '4.1*) 2466 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2840 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2467 2841 break 3;; 2468 2842 esac 2469 2843 done ··· 2474 2848 fi 2475 2849 2476 2850 test -d ./--version && rmdir ./--version 2477 - if test "${ac_cv_path_mkdir+set}" = set; then 2851 + if test ${ac_cv_path_mkdir+y}; then 2478 2852 MKDIR_P="$ac_cv_path_mkdir -p" 2479 2853 else 2480 2854 # As a last resort, use the slow shell script. Don't cache a ··· 2484 2858 MKDIR_P="$ac_install_sh -d" 2485 2859 fi 2486 2860 fi 2487 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2488 - $as_echo "$MKDIR_P" >&6; } 2861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2862 + printf "%s\n" "$MKDIR_P" >&6; } 2489 2863 2490 2864 for ac_prog in gawk mawk nawk awk 2491 2865 do 2492 2866 # Extract the first word of "$ac_prog", so it can be a program name with args. 2493 2867 set dummy $ac_prog; ac_word=$2 2494 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2495 - $as_echo_n "checking for $ac_word... " >&6; } 2496 - if ${ac_cv_prog_AWK+:} false; then : 2497 - $as_echo_n "(cached) " >&6 2498 - else 2868 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2869 + printf %s "checking for $ac_word... " >&6; } 2870 + if test ${ac_cv_prog_AWK+y} 2871 + then : 2872 + printf %s "(cached) " >&6 2873 + else $as_nop 2499 2874 if test -n "$AWK"; then 2500 2875 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2501 2876 else ··· 2503 2878 for as_dir in $PATH 2504 2879 do 2505 2880 IFS=$as_save_IFS 2506 - test -z "$as_dir" && as_dir=. 2881 + case $as_dir in #((( 2882 + '') as_dir=./ ;; 2883 + */) ;; 2884 + *) as_dir=$as_dir/ ;; 2885 + esac 2507 2886 for ac_exec_ext in '' $ac_executable_extensions; do 2508 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2887 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2509 2888 ac_cv_prog_AWK="$ac_prog" 2510 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2889 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2511 2890 break 2 2512 2891 fi 2513 2892 done ··· 2518 2897 fi 2519 2898 AWK=$ac_cv_prog_AWK 2520 2899 if test -n "$AWK"; then 2521 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2522 - $as_echo "$AWK" >&6; } 2900 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2901 + printf "%s\n" "$AWK" >&6; } 2523 2902 else 2524 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2525 - $as_echo "no" >&6; } 2903 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2904 + printf "%s\n" "no" >&6; } 2526 2905 fi 2527 2906 2528 2907 2529 2908 test -n "$AWK" && break 2530 2909 done 2531 2910 2532 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2533 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2911 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2912 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2534 2913 set x ${MAKE-make} 2535 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2536 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2537 - $as_echo_n "(cached) " >&6 2538 - else 2914 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2915 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2916 + then : 2917 + printf %s "(cached) " >&6 2918 + else $as_nop 2539 2919 cat >conftest.make <<\_ACEOF 2540 2920 SHELL = /bin/sh 2541 2921 all: ··· 2551 2931 rm -f conftest.make 2552 2932 fi 2553 2933 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2554 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2555 - $as_echo "yes" >&6; } 2934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2935 + printf "%s\n" "yes" >&6; } 2556 2936 SET_MAKE= 2557 2937 else 2558 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2559 - $as_echo "no" >&6; } 2938 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2939 + printf "%s\n" "no" >&6; } 2560 2940 SET_MAKE="MAKE=${MAKE-make}" 2561 2941 fi 2562 2942 ··· 2591 2971 2592 2972 # Define the identity of the package. 2593 2973 PACKAGE='font-util' 2594 - VERSION='1.4.0' 2974 + VERSION='1.4.1' 2595 2975 2596 2976 2597 - cat >>confdefs.h <<_ACEOF 2598 - #define PACKAGE "$PACKAGE" 2599 - _ACEOF 2977 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2600 2978 2601 2979 2602 - cat >>confdefs.h <<_ACEOF 2603 - #define VERSION "$VERSION" 2604 - _ACEOF 2980 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2605 2981 2606 2982 # Some tools Automake needs. 2607 2983 ··· 2650 3026 2651 3027 2652 3028 2653 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2654 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3029 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3030 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2655 3031 # Check whether --enable-maintainer-mode was given. 2656 - if test "${enable_maintainer_mode+set}" = set; then : 3032 + if test ${enable_maintainer_mode+y} 3033 + then : 2657 3034 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2658 - else 3035 + else $as_nop 2659 3036 USE_MAINTAINER_MODE=no 2660 3037 fi 2661 3038 2662 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2663 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 3039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3040 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 2664 3041 if test $USE_MAINTAINER_MODE = yes; then 2665 3042 MAINTAINER_MODE_TRUE= 2666 3043 MAINTAINER_MODE_FALSE='#' ··· 2673 3050 2674 3051 2675 3052 3053 + 3054 + 3055 + 3056 + 3057 + 3058 + 3059 + 3060 + 3061 + 2676 3062 DEPDIR="${am__leading_dot}deps" 2677 3063 2678 3064 ac_config_commands="$ac_config_commands depfiles" ··· 2685 3071 .PHONY: am__doit 2686 3072 END 2687 3073 # If we don't find an include directive, just comment out the code. 2688 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2689 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3074 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3075 + printf %s "checking for style of include used by $am_make... " >&6; } 2690 3076 am__include="#" 2691 3077 am__quote= 2692 3078 _am_result=none ··· 2713 3099 fi 2714 3100 2715 3101 2716 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2717 - $as_echo "$_am_result" >&6; } 3102 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3103 + printf "%s\n" "$_am_result" >&6; } 2718 3104 rm -f confinc confmf 2719 3105 2720 3106 # Check whether --enable-dependency-tracking was given. 2721 - if test "${enable_dependency_tracking+set}" = set; then : 3107 + if test ${enable_dependency_tracking+y} 3108 + then : 2722 3109 enableval=$enable_dependency_tracking; 2723 3110 fi 2724 3111 ··· 2744 3131 if test -n "$ac_tool_prefix"; then 2745 3132 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2746 3133 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2747 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2748 - $as_echo_n "checking for $ac_word... " >&6; } 2749 - if ${ac_cv_prog_CC+:} false; then : 2750 - $as_echo_n "(cached) " >&6 2751 - else 3134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3135 + printf %s "checking for $ac_word... " >&6; } 3136 + if test ${ac_cv_prog_CC+y} 3137 + then : 3138 + printf %s "(cached) " >&6 3139 + else $as_nop 2752 3140 if test -n "$CC"; then 2753 3141 ac_cv_prog_CC="$CC" # Let the user override the test. 2754 3142 else ··· 2756 3144 for as_dir in $PATH 2757 3145 do 2758 3146 IFS=$as_save_IFS 2759 - test -z "$as_dir" && as_dir=. 3147 + case $as_dir in #((( 3148 + '') as_dir=./ ;; 3149 + */) ;; 3150 + *) as_dir=$as_dir/ ;; 3151 + esac 2760 3152 for ac_exec_ext in '' $ac_executable_extensions; do 2761 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3153 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2762 3154 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2763 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3155 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2764 3156 break 2 2765 3157 fi 2766 3158 done ··· 2771 3163 fi 2772 3164 CC=$ac_cv_prog_CC 2773 3165 if test -n "$CC"; then 2774 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2775 - $as_echo "$CC" >&6; } 3166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3167 + printf "%s\n" "$CC" >&6; } 2776 3168 else 2777 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2778 - $as_echo "no" >&6; } 3169 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3170 + printf "%s\n" "no" >&6; } 2779 3171 fi 2780 3172 2781 3173 ··· 2784 3176 ac_ct_CC=$CC 2785 3177 # Extract the first word of "gcc", so it can be a program name with args. 2786 3178 set dummy gcc; ac_word=$2 2787 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2788 - $as_echo_n "checking for $ac_word... " >&6; } 2789 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2790 - $as_echo_n "(cached) " >&6 2791 - else 3179 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3180 + printf %s "checking for $ac_word... " >&6; } 3181 + if test ${ac_cv_prog_ac_ct_CC+y} 3182 + then : 3183 + printf %s "(cached) " >&6 3184 + else $as_nop 2792 3185 if test -n "$ac_ct_CC"; then 2793 3186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2794 3187 else ··· 2796 3189 for as_dir in $PATH 2797 3190 do 2798 3191 IFS=$as_save_IFS 2799 - test -z "$as_dir" && as_dir=. 3192 + case $as_dir in #((( 3193 + '') as_dir=./ ;; 3194 + */) ;; 3195 + *) as_dir=$as_dir/ ;; 3196 + esac 2800 3197 for ac_exec_ext in '' $ac_executable_extensions; do 2801 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3198 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2802 3199 ac_cv_prog_ac_ct_CC="gcc" 2803 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3200 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2804 3201 break 2 2805 3202 fi 2806 3203 done ··· 2811 3208 fi 2812 3209 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2813 3210 if test -n "$ac_ct_CC"; then 2814 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2815 - $as_echo "$ac_ct_CC" >&6; } 3211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3212 + printf "%s\n" "$ac_ct_CC" >&6; } 2816 3213 else 2817 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2818 - $as_echo "no" >&6; } 3214 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3215 + printf "%s\n" "no" >&6; } 2819 3216 fi 2820 3217 2821 3218 if test "x$ac_ct_CC" = x; then ··· 2823 3220 else 2824 3221 case $cross_compiling:$ac_tool_warned in 2825 3222 yes:) 2826 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2827 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3224 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2828 3225 ac_tool_warned=yes ;; 2829 3226 esac 2830 3227 CC=$ac_ct_CC ··· 2837 3234 if test -n "$ac_tool_prefix"; then 2838 3235 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2839 3236 set dummy ${ac_tool_prefix}cc; ac_word=$2 2840 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2841 - $as_echo_n "checking for $ac_word... " >&6; } 2842 - if ${ac_cv_prog_CC+:} false; then : 2843 - $as_echo_n "(cached) " >&6 2844 - else 3237 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3238 + printf %s "checking for $ac_word... " >&6; } 3239 + if test ${ac_cv_prog_CC+y} 3240 + then : 3241 + printf %s "(cached) " >&6 3242 + else $as_nop 2845 3243 if test -n "$CC"; then 2846 3244 ac_cv_prog_CC="$CC" # Let the user override the test. 2847 3245 else ··· 2849 3247 for as_dir in $PATH 2850 3248 do 2851 3249 IFS=$as_save_IFS 2852 - test -z "$as_dir" && as_dir=. 3250 + case $as_dir in #((( 3251 + '') as_dir=./ ;; 3252 + */) ;; 3253 + *) as_dir=$as_dir/ ;; 3254 + esac 2853 3255 for ac_exec_ext in '' $ac_executable_extensions; do 2854 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3256 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2855 3257 ac_cv_prog_CC="${ac_tool_prefix}cc" 2856 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3258 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2857 3259 break 2 2858 3260 fi 2859 3261 done ··· 2864 3266 fi 2865 3267 CC=$ac_cv_prog_CC 2866 3268 if test -n "$CC"; then 2867 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2868 - $as_echo "$CC" >&6; } 3269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3270 + printf "%s\n" "$CC" >&6; } 2869 3271 else 2870 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2871 - $as_echo "no" >&6; } 3272 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3273 + printf "%s\n" "no" >&6; } 2872 3274 fi 2873 3275 2874 3276 ··· 2877 3279 if test -z "$CC"; then 2878 3280 # Extract the first word of "cc", so it can be a program name with args. 2879 3281 set dummy cc; ac_word=$2 2880 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2881 - $as_echo_n "checking for $ac_word... " >&6; } 2882 - if ${ac_cv_prog_CC+:} false; then : 2883 - $as_echo_n "(cached) " >&6 2884 - else 3282 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3283 + printf %s "checking for $ac_word... " >&6; } 3284 + if test ${ac_cv_prog_CC+y} 3285 + then : 3286 + printf %s "(cached) " >&6 3287 + else $as_nop 2885 3288 if test -n "$CC"; then 2886 3289 ac_cv_prog_CC="$CC" # Let the user override the test. 2887 3290 else ··· 2890 3293 for as_dir in $PATH 2891 3294 do 2892 3295 IFS=$as_save_IFS 2893 - test -z "$as_dir" && as_dir=. 3296 + case $as_dir in #((( 3297 + '') as_dir=./ ;; 3298 + */) ;; 3299 + *) as_dir=$as_dir/ ;; 3300 + esac 2894 3301 for ac_exec_ext in '' $ac_executable_extensions; do 2895 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2896 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3302 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3303 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2897 3304 ac_prog_rejected=yes 2898 3305 continue 2899 3306 fi 2900 3307 ac_cv_prog_CC="cc" 2901 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3308 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2902 3309 break 2 2903 3310 fi 2904 3311 done ··· 2914 3321 # However, it has the same basename, so the bogon will be chosen 2915 3322 # first if we set CC to just the basename; use the full file name. 2916 3323 shift 2917 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3324 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 2918 3325 fi 2919 3326 fi 2920 3327 fi 2921 3328 fi 2922 3329 CC=$ac_cv_prog_CC 2923 3330 if test -n "$CC"; then 2924 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2925 - $as_echo "$CC" >&6; } 3331 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3332 + printf "%s\n" "$CC" >&6; } 2926 3333 else 2927 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2928 - $as_echo "no" >&6; } 3334 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3335 + printf "%s\n" "no" >&6; } 2929 3336 fi 2930 3337 2931 3338 ··· 2936 3343 do 2937 3344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2938 3345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2939 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2940 - $as_echo_n "checking for $ac_word... " >&6; } 2941 - if ${ac_cv_prog_CC+:} false; then : 2942 - $as_echo_n "(cached) " >&6 2943 - else 3346 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3347 + printf %s "checking for $ac_word... " >&6; } 3348 + if test ${ac_cv_prog_CC+y} 3349 + then : 3350 + printf %s "(cached) " >&6 3351 + else $as_nop 2944 3352 if test -n "$CC"; then 2945 3353 ac_cv_prog_CC="$CC" # Let the user override the test. 2946 3354 else ··· 2948 3356 for as_dir in $PATH 2949 3357 do 2950 3358 IFS=$as_save_IFS 2951 - test -z "$as_dir" && as_dir=. 3359 + case $as_dir in #((( 3360 + '') as_dir=./ ;; 3361 + */) ;; 3362 + *) as_dir=$as_dir/ ;; 3363 + esac 2952 3364 for ac_exec_ext in '' $ac_executable_extensions; do 2953 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2954 3366 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2955 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2956 3368 break 2 2957 3369 fi 2958 3370 done ··· 2963 3375 fi 2964 3376 CC=$ac_cv_prog_CC 2965 3377 if test -n "$CC"; then 2966 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2967 - $as_echo "$CC" >&6; } 3378 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3379 + printf "%s\n" "$CC" >&6; } 2968 3380 else 2969 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2970 - $as_echo "no" >&6; } 3381 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3382 + printf "%s\n" "no" >&6; } 2971 3383 fi 2972 3384 2973 3385 ··· 2980 3392 do 2981 3393 # Extract the first word of "$ac_prog", so it can be a program name with args. 2982 3394 set dummy $ac_prog; ac_word=$2 2983 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2984 - $as_echo_n "checking for $ac_word... " >&6; } 2985 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2986 - $as_echo_n "(cached) " >&6 2987 - else 3395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3396 + printf %s "checking for $ac_word... " >&6; } 3397 + if test ${ac_cv_prog_ac_ct_CC+y} 3398 + then : 3399 + printf %s "(cached) " >&6 3400 + else $as_nop 2988 3401 if test -n "$ac_ct_CC"; then 2989 3402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2990 3403 else ··· 2992 3405 for as_dir in $PATH 2993 3406 do 2994 3407 IFS=$as_save_IFS 2995 - test -z "$as_dir" && as_dir=. 3408 + case $as_dir in #((( 3409 + '') as_dir=./ ;; 3410 + */) ;; 3411 + *) as_dir=$as_dir/ ;; 3412 + esac 2996 3413 for ac_exec_ext in '' $ac_executable_extensions; do 2997 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3414 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2998 3415 ac_cv_prog_ac_ct_CC="$ac_prog" 2999 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3416 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3000 3417 break 2 3001 3418 fi 3002 3419 done ··· 3007 3424 fi 3008 3425 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3009 3426 if test -n "$ac_ct_CC"; then 3010 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3011 - $as_echo "$ac_ct_CC" >&6; } 3427 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3428 + printf "%s\n" "$ac_ct_CC" >&6; } 3012 3429 else 3013 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3014 - $as_echo "no" >&6; } 3430 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431 + printf "%s\n" "no" >&6; } 3015 3432 fi 3016 3433 3017 3434 ··· 3023 3440 else 3024 3441 case $cross_compiling:$ac_tool_warned in 3025 3442 yes:) 3026 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3027 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3443 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3444 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3028 3445 ac_tool_warned=yes ;; 3029 3446 esac 3030 3447 CC=$ac_ct_CC ··· 3032 3449 fi 3033 3450 3034 3451 fi 3452 + if test -z "$CC"; then 3453 + if test -n "$ac_tool_prefix"; then 3454 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3455 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3456 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3457 + printf %s "checking for $ac_word... " >&6; } 3458 + if test ${ac_cv_prog_CC+y} 3459 + then : 3460 + printf %s "(cached) " >&6 3461 + else $as_nop 3462 + if test -n "$CC"; then 3463 + ac_cv_prog_CC="$CC" # Let the user override the test. 3464 + else 3465 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3466 + for as_dir in $PATH 3467 + do 3468 + IFS=$as_save_IFS 3469 + case $as_dir in #((( 3470 + '') as_dir=./ ;; 3471 + */) ;; 3472 + *) as_dir=$as_dir/ ;; 3473 + esac 3474 + for ac_exec_ext in '' $ac_executable_extensions; do 3475 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3476 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3477 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3478 + break 2 3479 + fi 3480 + done 3481 + done 3482 + IFS=$as_save_IFS 3035 3483 3484 + fi 3485 + fi 3486 + CC=$ac_cv_prog_CC 3487 + if test -n "$CC"; then 3488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3489 + printf "%s\n" "$CC" >&6; } 3490 + else 3491 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3492 + printf "%s\n" "no" >&6; } 3493 + fi 3036 3494 3037 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3038 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3495 + 3496 + fi 3497 + if test -z "$ac_cv_prog_CC"; then 3498 + ac_ct_CC=$CC 3499 + # Extract the first word of "clang", so it can be a program name with args. 3500 + set dummy clang; ac_word=$2 3501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3502 + printf %s "checking for $ac_word... " >&6; } 3503 + if test ${ac_cv_prog_ac_ct_CC+y} 3504 + then : 3505 + printf %s "(cached) " >&6 3506 + else $as_nop 3507 + if test -n "$ac_ct_CC"; then 3508 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3509 + else 3510 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3511 + for as_dir in $PATH 3512 + do 3513 + IFS=$as_save_IFS 3514 + case $as_dir in #((( 3515 + '') as_dir=./ ;; 3516 + */) ;; 3517 + *) as_dir=$as_dir/ ;; 3518 + esac 3519 + for ac_exec_ext in '' $ac_executable_extensions; do 3520 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3521 + ac_cv_prog_ac_ct_CC="clang" 3522 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3523 + break 2 3524 + fi 3525 + done 3526 + done 3527 + IFS=$as_save_IFS 3528 + 3529 + fi 3530 + fi 3531 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3532 + if test -n "$ac_ct_CC"; then 3533 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3534 + printf "%s\n" "$ac_ct_CC" >&6; } 3535 + else 3536 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3537 + printf "%s\n" "no" >&6; } 3538 + fi 3539 + 3540 + if test "x$ac_ct_CC" = x; then 3541 + CC="" 3542 + else 3543 + case $cross_compiling:$ac_tool_warned in 3544 + yes:) 3545 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3546 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3547 + ac_tool_warned=yes ;; 3548 + esac 3549 + CC=$ac_ct_CC 3550 + fi 3551 + else 3552 + CC="$ac_cv_prog_CC" 3553 + fi 3554 + 3555 + fi 3556 + 3557 + 3558 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3559 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3039 3560 as_fn_error $? "no acceptable C compiler found in \$PATH 3040 3561 See \`config.log' for more details" "$LINENO" 5; } 3041 3562 3042 3563 # Provide some information about the compiler. 3043 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3564 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3044 3565 set X $ac_compile 3045 3566 ac_compiler=$2 3046 - for ac_option in --version -v -V -qversion; do 3567 + for ac_option in --version -v -V -qversion -version; do 3047 3568 { { ac_try="$ac_compiler $ac_option >&5" 3048 3569 case "(($ac_try" in 3049 3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3050 3571 *) ac_try_echo=$ac_try;; 3051 3572 esac 3052 3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3053 - $as_echo "$ac_try_echo"; } >&5 3574 + printf "%s\n" "$ac_try_echo"; } >&5 3054 3575 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3055 3576 ac_status=$? 3056 3577 if test -s conftest.err; then ··· 3060 3581 cat conftest.er1 >&5 3061 3582 fi 3062 3583 rm -f conftest.er1 conftest.err 3063 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3584 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3064 3585 test $ac_status = 0; } 3065 3586 done 3066 3587 ··· 3068 3589 /* end confdefs.h. */ 3069 3590 3070 3591 int 3071 - main () 3592 + main (void) 3072 3593 { 3073 3594 3074 3595 ; ··· 3080 3601 # Try to create an executable without -o first, disregard a.out. 3081 3602 # It will help us diagnose broken compilers, and finding out an intuition 3082 3603 # of exeext. 3083 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3084 - $as_echo_n "checking whether the C compiler works... " >&6; } 3085 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3604 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3605 + printf %s "checking whether the C compiler works... " >&6; } 3606 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3086 3607 3087 3608 # The possible output files: 3088 3609 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3103 3624 *) ac_try_echo=$ac_try;; 3104 3625 esac 3105 3626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3106 - $as_echo "$ac_try_echo"; } >&5 3627 + printf "%s\n" "$ac_try_echo"; } >&5 3107 3628 (eval "$ac_link_default") 2>&5 3108 3629 ac_status=$? 3109 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3110 - test $ac_status = 0; }; then : 3630 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3631 + test $ac_status = 0; } 3632 + then : 3111 3633 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3112 3634 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3113 3635 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3124 3646 # certainly right. 3125 3647 break;; 3126 3648 *.* ) 3127 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3649 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3128 3650 then :; else 3129 3651 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3130 3652 fi ··· 3140 3662 done 3141 3663 test "$ac_cv_exeext" = no && ac_cv_exeext= 3142 3664 3143 - else 3665 + else $as_nop 3144 3666 ac_file='' 3145 3667 fi 3146 - if test -z "$ac_file"; then : 3147 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3148 - $as_echo "no" >&6; } 3149 - $as_echo "$as_me: failed program was:" >&5 3668 + if test -z "$ac_file" 3669 + then : 3670 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3671 + printf "%s\n" "no" >&6; } 3672 + printf "%s\n" "$as_me: failed program was:" >&5 3150 3673 sed 's/^/| /' conftest.$ac_ext >&5 3151 3674 3152 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3153 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3675 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3676 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3154 3677 as_fn_error 77 "C compiler cannot create executables 3155 3678 See \`config.log' for more details" "$LINENO" 5; } 3156 - else 3157 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3158 - $as_echo "yes" >&6; } 3679 + else $as_nop 3680 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3681 + printf "%s\n" "yes" >&6; } 3159 3682 fi 3160 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3161 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3162 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3163 - $as_echo "$ac_file" >&6; } 3683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3684 + printf %s "checking for C compiler default output file name... " >&6; } 3685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3686 + printf "%s\n" "$ac_file" >&6; } 3164 3687 ac_exeext=$ac_cv_exeext 3165 3688 3166 3689 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3167 3690 ac_clean_files=$ac_clean_files_save 3168 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3169 - $as_echo_n "checking for suffix of executables... " >&6; } 3691 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3692 + printf %s "checking for suffix of executables... " >&6; } 3170 3693 if { { ac_try="$ac_link" 3171 3694 case "(($ac_try" in 3172 3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3173 3696 *) ac_try_echo=$ac_try;; 3174 3697 esac 3175 3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3176 - $as_echo "$ac_try_echo"; } >&5 3699 + printf "%s\n" "$ac_try_echo"; } >&5 3177 3700 (eval "$ac_link") 2>&5 3178 3701 ac_status=$? 3179 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3180 - test $ac_status = 0; }; then : 3702 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3703 + test $ac_status = 0; } 3704 + then : 3181 3705 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3182 3706 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3183 3707 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3191 3715 * ) break;; 3192 3716 esac 3193 3717 done 3194 - else 3195 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3196 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3718 + else $as_nop 3719 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3720 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3197 3721 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3198 3722 See \`config.log' for more details" "$LINENO" 5; } 3199 3723 fi 3200 3724 rm -f conftest conftest$ac_cv_exeext 3201 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3202 - $as_echo "$ac_cv_exeext" >&6; } 3725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3726 + printf "%s\n" "$ac_cv_exeext" >&6; } 3203 3727 3204 3728 rm -f conftest.$ac_ext 3205 3729 EXEEXT=$ac_cv_exeext ··· 3208 3732 /* end confdefs.h. */ 3209 3733 #include <stdio.h> 3210 3734 int 3211 - main () 3735 + main (void) 3212 3736 { 3213 3737 FILE *f = fopen ("conftest.out", "w"); 3214 3738 return ferror (f) || fclose (f) != 0; ··· 3220 3744 ac_clean_files="$ac_clean_files conftest.out" 3221 3745 # Check that the compiler produces executables we can run. If not, either 3222 3746 # the compiler is broken, or we cross compile. 3223 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3224 - $as_echo_n "checking whether we are cross compiling... " >&6; } 3747 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3748 + printf %s "checking whether we are cross compiling... " >&6; } 3225 3749 if test "$cross_compiling" != yes; then 3226 3750 { { ac_try="$ac_link" 3227 3751 case "(($ac_try" in ··· 3229 3753 *) ac_try_echo=$ac_try;; 3230 3754 esac 3231 3755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3232 - $as_echo "$ac_try_echo"; } >&5 3756 + printf "%s\n" "$ac_try_echo"; } >&5 3233 3757 (eval "$ac_link") 2>&5 3234 3758 ac_status=$? 3235 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3759 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3236 3760 test $ac_status = 0; } 3237 3761 if { ac_try='./conftest$ac_cv_exeext' 3238 3762 { { case "(($ac_try" in ··· 3240 3764 *) ac_try_echo=$ac_try;; 3241 3765 esac 3242 3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3243 - $as_echo "$ac_try_echo"; } >&5 3767 + printf "%s\n" "$ac_try_echo"; } >&5 3244 3768 (eval "$ac_try") 2>&5 3245 3769 ac_status=$? 3246 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3770 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3247 3771 test $ac_status = 0; }; }; then 3248 3772 cross_compiling=no 3249 3773 else 3250 3774 if test "$cross_compiling" = maybe; then 3251 3775 cross_compiling=yes 3252 3776 else 3253 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3254 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3255 - as_fn_error $? "cannot run C compiled programs. 3777 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3778 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3779 + as_fn_error 77 "cannot run C compiled programs. 3256 3780 If you meant to cross compile, use \`--host'. 3257 3781 See \`config.log' for more details" "$LINENO" 5; } 3258 3782 fi 3259 3783 fi 3260 3784 fi 3261 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3262 - $as_echo "$cross_compiling" >&6; } 3785 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3786 + printf "%s\n" "$cross_compiling" >&6; } 3263 3787 3264 3788 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3265 3789 ac_clean_files=$ac_clean_files_save 3266 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3267 - $as_echo_n "checking for suffix of object files... " >&6; } 3268 - if ${ac_cv_objext+:} false; then : 3269 - $as_echo_n "(cached) " >&6 3270 - else 3790 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3791 + printf %s "checking for suffix of object files... " >&6; } 3792 + if test ${ac_cv_objext+y} 3793 + then : 3794 + printf %s "(cached) " >&6 3795 + else $as_nop 3271 3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3272 3797 /* end confdefs.h. */ 3273 3798 3274 3799 int 3275 - main () 3800 + main (void) 3276 3801 { 3277 3802 3278 3803 ; ··· 3286 3811 *) ac_try_echo=$ac_try;; 3287 3812 esac 3288 3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3289 - $as_echo "$ac_try_echo"; } >&5 3814 + printf "%s\n" "$ac_try_echo"; } >&5 3290 3815 (eval "$ac_compile") 2>&5 3291 3816 ac_status=$? 3292 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3293 - test $ac_status = 0; }; then : 3817 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3818 + test $ac_status = 0; } 3819 + then : 3294 3820 for ac_file in conftest.o conftest.obj conftest.*; do 3295 3821 test -f "$ac_file" || continue; 3296 3822 case $ac_file in ··· 3299 3825 break;; 3300 3826 esac 3301 3827 done 3302 - else 3303 - $as_echo "$as_me: failed program was:" >&5 3828 + else $as_nop 3829 + printf "%s\n" "$as_me: failed program was:" >&5 3304 3830 sed 's/^/| /' conftest.$ac_ext >&5 3305 3831 3306 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3307 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3832 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3833 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3308 3834 as_fn_error $? "cannot compute suffix of object files: cannot compile 3309 3835 See \`config.log' for more details" "$LINENO" 5; } 3310 3836 fi 3311 3837 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3312 3838 fi 3313 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3314 - $as_echo "$ac_cv_objext" >&6; } 3839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3840 + printf "%s\n" "$ac_cv_objext" >&6; } 3315 3841 OBJEXT=$ac_cv_objext 3316 3842 ac_objext=$OBJEXT 3317 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3318 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3319 - if ${ac_cv_c_compiler_gnu+:} false; then : 3320 - $as_echo_n "(cached) " >&6 3321 - else 3843 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3844 + printf %s "checking whether the compiler supports GNU C... " >&6; } 3845 + if test ${ac_cv_c_compiler_gnu+y} 3846 + then : 3847 + printf %s "(cached) " >&6 3848 + else $as_nop 3322 3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323 3850 /* end confdefs.h. */ 3324 3851 3325 3852 int 3326 - main () 3853 + main (void) 3327 3854 { 3328 3855 #ifndef __GNUC__ 3329 3856 choke me ··· 3333 3860 return 0; 3334 3861 } 3335 3862 _ACEOF 3336 - if ac_fn_c_try_compile "$LINENO"; then : 3863 + if ac_fn_c_try_compile "$LINENO" 3864 + then : 3337 3865 ac_compiler_gnu=yes 3338 - else 3866 + else $as_nop 3339 3867 ac_compiler_gnu=no 3340 3868 fi 3341 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3869 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3342 3870 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3343 3871 3344 3872 fi 3345 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3346 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3873 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3874 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3875 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3876 + 3347 3877 if test $ac_compiler_gnu = yes; then 3348 3878 GCC=yes 3349 3879 else 3350 3880 GCC= 3351 3881 fi 3352 - ac_test_CFLAGS=${CFLAGS+set} 3882 + ac_test_CFLAGS=${CFLAGS+y} 3353 3883 ac_save_CFLAGS=$CFLAGS 3354 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3355 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3356 - if ${ac_cv_prog_cc_g+:} false; then : 3357 - $as_echo_n "(cached) " >&6 3358 - else 3884 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3885 + printf %s "checking whether $CC accepts -g... " >&6; } 3886 + if test ${ac_cv_prog_cc_g+y} 3887 + then : 3888 + printf %s "(cached) " >&6 3889 + else $as_nop 3359 3890 ac_save_c_werror_flag=$ac_c_werror_flag 3360 3891 ac_c_werror_flag=yes 3361 3892 ac_cv_prog_cc_g=no ··· 3364 3895 /* end confdefs.h. */ 3365 3896 3366 3897 int 3367 - main () 3898 + main (void) 3368 3899 { 3369 3900 3370 3901 ; 3371 3902 return 0; 3372 3903 } 3373 3904 _ACEOF 3374 - if ac_fn_c_try_compile "$LINENO"; then : 3905 + if ac_fn_c_try_compile "$LINENO" 3906 + then : 3375 3907 ac_cv_prog_cc_g=yes 3376 - else 3908 + else $as_nop 3377 3909 CFLAGS="" 3378 3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3379 3911 /* end confdefs.h. */ 3380 3912 3381 3913 int 3382 - main () 3914 + main (void) 3383 3915 { 3384 3916 3385 3917 ; 3386 3918 return 0; 3387 3919 } 3388 3920 _ACEOF 3389 - if ac_fn_c_try_compile "$LINENO"; then : 3921 + if ac_fn_c_try_compile "$LINENO" 3922 + then : 3390 3923 3391 - else 3924 + else $as_nop 3392 3925 ac_c_werror_flag=$ac_save_c_werror_flag 3393 3926 CFLAGS="-g" 3394 3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3395 3928 /* end confdefs.h. */ 3396 3929 3397 3930 int 3398 - main () 3931 + main (void) 3399 3932 { 3400 3933 3401 3934 ; 3402 3935 return 0; 3403 3936 } 3404 3937 _ACEOF 3405 - if ac_fn_c_try_compile "$LINENO"; then : 3938 + if ac_fn_c_try_compile "$LINENO" 3939 + then : 3406 3940 ac_cv_prog_cc_g=yes 3407 3941 fi 3408 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3942 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3409 3943 fi 3410 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3944 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3411 3945 fi 3412 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3946 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3413 3947 ac_c_werror_flag=$ac_save_c_werror_flag 3414 3948 fi 3415 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3416 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3417 - if test "$ac_test_CFLAGS" = set; then 3949 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3950 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3951 + if test $ac_test_CFLAGS; then 3418 3952 CFLAGS=$ac_save_CFLAGS 3419 3953 elif test $ac_cv_prog_cc_g = yes; then 3420 3954 if test "$GCC" = yes; then ··· 3429 3963 CFLAGS= 3430 3964 fi 3431 3965 fi 3432 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3433 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3434 - if ${ac_cv_prog_cc_c89+:} false; then : 3435 - $as_echo_n "(cached) " >&6 3436 - else 3437 - ac_cv_prog_cc_c89=no 3966 + ac_prog_cc_stdc=no 3967 + if test x$ac_prog_cc_stdc = xno 3968 + then : 3969 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3970 + printf %s "checking for $CC option to enable C11 features... " >&6; } 3971 + if test ${ac_cv_prog_cc_c11+y} 3972 + then : 3973 + printf %s "(cached) " >&6 3974 + else $as_nop 3975 + ac_cv_prog_cc_c11=no 3438 3976 ac_save_CC=$CC 3439 3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3440 3978 /* end confdefs.h. */ 3441 - #include <stdarg.h> 3442 - #include <stdio.h> 3443 - struct stat; 3444 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3445 - struct buf { int x; }; 3446 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3447 - static char *e (p, i) 3448 - char **p; 3449 - int i; 3450 - { 3451 - return p[i]; 3452 - } 3453 - static char *f (char * (*g) (char **, int), char **p, ...) 3454 - { 3455 - char *s; 3456 - va_list v; 3457 - va_start (v,p); 3458 - s = g (p, va_arg (v,int)); 3459 - va_end (v); 3460 - return s; 3461 - } 3979 + $ac_c_conftest_c11_program 3980 + _ACEOF 3981 + for ac_arg in '' -std=gnu11 3982 + do 3983 + CC="$ac_save_CC $ac_arg" 3984 + if ac_fn_c_try_compile "$LINENO" 3985 + then : 3986 + ac_cv_prog_cc_c11=$ac_arg 3987 + fi 3988 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3989 + test "x$ac_cv_prog_cc_c11" != "xno" && break 3990 + done 3991 + rm -f conftest.$ac_ext 3992 + CC=$ac_save_CC 3993 + fi 3462 3994 3463 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3464 - function prototypes and stuff, but not '\xHH' hex character constants. 3465 - These don't provoke an error unfortunately, instead are silently treated 3466 - as 'x'. The following induces an error, until -std is added to get 3467 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3468 - array size at least. It's necessary to write '\x00'==0 to get something 3469 - that's true only with -std. */ 3470 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3995 + if test "x$ac_cv_prog_cc_c11" = xno 3996 + then : 3997 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3998 + printf "%s\n" "unsupported" >&6; } 3999 + else $as_nop 4000 + if test "x$ac_cv_prog_cc_c11" = x 4001 + then : 4002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4003 + printf "%s\n" "none needed" >&6; } 4004 + else $as_nop 4005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4006 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4007 + CC="$CC $ac_cv_prog_cc_c11" 4008 + fi 4009 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4010 + ac_prog_cc_stdc=c11 4011 + fi 4012 + fi 4013 + if test x$ac_prog_cc_stdc = xno 4014 + then : 4015 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4016 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4017 + if test ${ac_cv_prog_cc_c99+y} 4018 + then : 4019 + printf %s "(cached) " >&6 4020 + else $as_nop 4021 + ac_cv_prog_cc_c99=no 4022 + ac_save_CC=$CC 4023 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4024 + /* end confdefs.h. */ 4025 + $ac_c_conftest_c99_program 4026 + _ACEOF 4027 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4028 + do 4029 + CC="$ac_save_CC $ac_arg" 4030 + if ac_fn_c_try_compile "$LINENO" 4031 + then : 4032 + ac_cv_prog_cc_c99=$ac_arg 4033 + fi 4034 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4035 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4036 + done 4037 + rm -f conftest.$ac_ext 4038 + CC=$ac_save_CC 4039 + fi 3471 4040 3472 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3473 - inside strings and character constants. */ 3474 - #define FOO(x) 'x' 3475 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3476 - 3477 - int test (int i, double x); 3478 - struct s1 {int (*f) (int a);}; 3479 - struct s2 {int (*f) (double a);}; 3480 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3481 - int argc; 3482 - char **argv; 3483 - int 3484 - main () 3485 - { 3486 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3487 - ; 3488 - return 0; 3489 - } 4041 + if test "x$ac_cv_prog_cc_c99" = xno 4042 + then : 4043 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4044 + printf "%s\n" "unsupported" >&6; } 4045 + else $as_nop 4046 + if test "x$ac_cv_prog_cc_c99" = x 4047 + then : 4048 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4049 + printf "%s\n" "none needed" >&6; } 4050 + else $as_nop 4051 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4052 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4053 + CC="$CC $ac_cv_prog_cc_c99" 4054 + fi 4055 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4056 + ac_prog_cc_stdc=c99 4057 + fi 4058 + fi 4059 + if test x$ac_prog_cc_stdc = xno 4060 + then : 4061 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4062 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4063 + if test ${ac_cv_prog_cc_c89+y} 4064 + then : 4065 + printf %s "(cached) " >&6 4066 + else $as_nop 4067 + ac_cv_prog_cc_c89=no 4068 + ac_save_CC=$CC 4069 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4070 + /* end confdefs.h. */ 4071 + $ac_c_conftest_c89_program 3490 4072 _ACEOF 3491 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3492 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4073 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3493 4074 do 3494 4075 CC="$ac_save_CC $ac_arg" 3495 - if ac_fn_c_try_compile "$LINENO"; then : 4076 + if ac_fn_c_try_compile "$LINENO" 4077 + then : 3496 4078 ac_cv_prog_cc_c89=$ac_arg 3497 4079 fi 3498 - rm -f core conftest.err conftest.$ac_objext 4080 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3499 4081 test "x$ac_cv_prog_cc_c89" != "xno" && break 3500 4082 done 3501 4083 rm -f conftest.$ac_ext 3502 4084 CC=$ac_save_CC 4085 + fi 3503 4086 4087 + if test "x$ac_cv_prog_cc_c89" = xno 4088 + then : 4089 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4090 + printf "%s\n" "unsupported" >&6; } 4091 + else $as_nop 4092 + if test "x$ac_cv_prog_cc_c89" = x 4093 + then : 4094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4095 + printf "%s\n" "none needed" >&6; } 4096 + else $as_nop 4097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4098 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4099 + CC="$CC $ac_cv_prog_cc_c89" 3504 4100 fi 3505 - # AC_CACHE_VAL 3506 - case "x$ac_cv_prog_cc_c89" in 3507 - x) 3508 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3509 - $as_echo "none needed" >&6; } ;; 3510 - xno) 3511 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3512 - $as_echo "unsupported" >&6; } ;; 3513 - *) 3514 - CC="$CC $ac_cv_prog_cc_c89" 3515 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3516 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3517 - esac 3518 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3519 - 4101 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4102 + ac_prog_cc_stdc=c89 4103 + fi 3520 4104 fi 3521 4105 3522 4106 ac_ext=c ··· 3527 4111 3528 4112 depcc="$CC" am_compiler_list= 3529 4113 3530 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3531 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3532 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3533 - $as_echo_n "(cached) " >&6 3534 - else 4114 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4115 + printf %s "checking dependency style of $depcc... " >&6; } 4116 + if test ${am_cv_CC_dependencies_compiler_type+y} 4117 + then : 4118 + printf %s "(cached) " >&6 4119 + else $as_nop 3535 4120 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3536 4121 # We make a subdir and do the tests there. Otherwise we can end up 3537 4122 # making bogus files that we don't know about and never remove. For ··· 3638 4223 fi 3639 4224 3640 4225 fi 3641 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3642 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4226 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4227 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3643 4228 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3644 4229 3645 4230 if ··· 3653 4238 fi 3654 4239 3655 4240 3656 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3657 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3658 - if ${ac_cv_prog_cc_c99+:} false; then : 3659 - $as_echo_n "(cached) " >&6 3660 - else 3661 - ac_cv_prog_cc_c99=no 3662 - ac_save_CC=$CC 3663 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4241 + 4242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 4243 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 4244 + if test ${ac_cv_c_undeclared_builtin_options+y} 4245 + then : 4246 + printf %s "(cached) " >&6 4247 + else $as_nop 4248 + ac_save_CFLAGS=$CFLAGS 4249 + ac_cv_c_undeclared_builtin_options='cannot detect' 4250 + for ac_arg in '' -fno-builtin; do 4251 + CFLAGS="$ac_save_CFLAGS $ac_arg" 4252 + # This test program should *not* compile successfully. 4253 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3664 4254 /* end confdefs.h. */ 3665 - #include <stdarg.h> 3666 - #include <stdbool.h> 3667 - #include <stdlib.h> 3668 - #include <wchar.h> 3669 - #include <stdio.h> 3670 4255 3671 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 3672 - #define debug(...) fprintf (stderr, __VA_ARGS__) 3673 - #define showlist(...) puts (#__VA_ARGS__) 3674 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3675 - static void 3676 - test_varargs_macros (void) 4256 + int 4257 + main (void) 3677 4258 { 3678 - int x = 1234; 3679 - int y = 5678; 3680 - debug ("Flag"); 3681 - debug ("X = %d\n", x); 3682 - showlist (The first, second, and third items.); 3683 - report (x>y, "x is %d but y is %d", x, y); 3684 - } 3685 - 3686 - // Check long long types. 3687 - #define BIG64 18446744073709551615ull 3688 - #define BIG32 4294967295ul 3689 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3690 - #if !BIG_OK 3691 - your preprocessor is broken; 3692 - #endif 3693 - #if BIG_OK 3694 - #else 3695 - your preprocessor is broken; 3696 - #endif 3697 - static long long int bignum = -9223372036854775807LL; 3698 - static unsigned long long int ubignum = BIG64; 3699 - 3700 - struct incomplete_array 3701 - { 3702 - int datasize; 3703 - double data[]; 3704 - }; 3705 - 3706 - struct named_init { 3707 - int number; 3708 - const wchar_t *name; 3709 - double average; 3710 - }; 3711 - 3712 - typedef const char *ccp; 3713 - 3714 - static inline int 3715 - test_restrict (ccp restrict text) 3716 - { 3717 - // See if C++-style comments work. 3718 - // Iterate through items via the restricted pointer. 3719 - // Also check for declarations in for loops. 3720 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3721 - continue; 4259 + (void) strchr; 4260 + ; 3722 4261 return 0; 3723 4262 } 4263 + _ACEOF 4264 + if ac_fn_c_try_compile "$LINENO" 4265 + then : 3724 4266 3725 - // Check varargs and va_copy. 3726 - static void 3727 - test_varargs (const char *format, ...) 3728 - { 3729 - va_list args; 3730 - va_start (args, format); 3731 - va_list args_copy; 3732 - va_copy (args_copy, args); 3733 - 3734 - const char *str; 3735 - int number; 3736 - float fnumber; 3737 - 3738 - while (*format) 3739 - { 3740 - switch (*format++) 3741 - { 3742 - case 's': // string 3743 - str = va_arg (args_copy, const char *); 3744 - break; 3745 - case 'd': // int 3746 - number = va_arg (args_copy, int); 3747 - break; 3748 - case 'f': // float 3749 - fnumber = va_arg (args_copy, double); 3750 - break; 3751 - default: 3752 - break; 3753 - } 3754 - } 3755 - va_end (args_copy); 3756 - va_end (args); 3757 - } 4267 + else $as_nop 4268 + # This test program should compile successfully. 4269 + # No library function is consistently available on 4270 + # freestanding implementations, so test against a dummy 4271 + # declaration. Include always-available headers on the 4272 + # off chance that they somehow elicit warnings. 4273 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4274 + /* end confdefs.h. */ 4275 + #include <float.h> 4276 + #include <limits.h> 4277 + #include <stdarg.h> 4278 + #include <stddef.h> 4279 + extern void ac_decl (int, char *); 3758 4280 3759 4281 int 3760 - main () 4282 + main (void) 3761 4283 { 3762 - 3763 - // Check bool. 3764 - _Bool success = false; 3765 - 3766 - // Check restrict. 3767 - if (test_restrict ("String literal") == 0) 3768 - success = true; 3769 - char *restrict newvar = "Another string"; 3770 - 3771 - // Check varargs. 3772 - test_varargs ("s, d' f .", "string", 65, 34.234); 3773 - test_varargs_macros (); 3774 - 3775 - // Check flexible array members. 3776 - struct incomplete_array *ia = 3777 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3778 - ia->datasize = 10; 3779 - for (int i = 0; i < ia->datasize; ++i) 3780 - ia->data[i] = i * 1.234; 3781 - 3782 - // Check named initializers. 3783 - struct named_init ni = { 3784 - .number = 34, 3785 - .name = L"Test wide string", 3786 - .average = 543.34343, 3787 - }; 3788 - 3789 - ni.number = 58; 3790 - 3791 - int dynamic_array[ni.number]; 3792 - dynamic_array[ni.number - 1] = 543; 3793 - 3794 - // work around unused variable warnings 3795 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3796 - || dynamic_array[ni.number - 1] != 543); 4284 + (void) ac_decl (0, (char *) 0); 4285 + (void) ac_decl; 3797 4286 3798 4287 ; 3799 4288 return 0; 3800 4289 } 3801 4290 _ACEOF 3802 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3803 - do 3804 - CC="$ac_save_CC $ac_arg" 3805 - if ac_fn_c_try_compile "$LINENO"; then : 3806 - ac_cv_prog_cc_c99=$ac_arg 3807 - fi 3808 - rm -f core conftest.err conftest.$ac_objext 3809 - test "x$ac_cv_prog_cc_c99" != "xno" && break 3810 - done 3811 - rm -f conftest.$ac_ext 3812 - CC=$ac_save_CC 3813 - 3814 - fi 3815 - # AC_CACHE_VAL 3816 - case "x$ac_cv_prog_cc_c99" in 3817 - x) 3818 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3819 - $as_echo "none needed" >&6; } ;; 3820 - xno) 3821 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3822 - $as_echo "unsupported" >&6; } ;; 3823 - *) 3824 - CC="$CC $ac_cv_prog_cc_c99" 3825 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3826 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3827 - esac 3828 - if test "x$ac_cv_prog_cc_c99" != xno; then : 3829 - 3830 - fi 3831 - 3832 - 3833 - 3834 - ac_ext=c 3835 - ac_cpp='$CPP $CPPFLAGS' 3836 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3837 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3838 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3839 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3840 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 3841 - # On Suns, sometimes $CPP names a directory. 3842 - if test -n "$CPP" && test -d "$CPP"; then 3843 - CPP= 3844 - fi 3845 - if test -z "$CPP"; then 3846 - if ${ac_cv_prog_CPP+:} false; then : 3847 - $as_echo_n "(cached) " >&6 3848 - else 3849 - # Double quotes because CPP needs to be expanded 3850 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3851 - do 3852 - ac_preproc_ok=false 3853 - for ac_c_preproc_warn_flag in '' yes 3854 - do 3855 - # Use a header file that comes with gcc, so configuring glibc 3856 - # with a fresh cross-compiler works. 3857 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3858 - # <limits.h> exists even on freestanding compilers. 3859 - # On the NeXT, cc -E runs the code through the compiler's parser, 3860 - # not just through cpp. "Syntax error" is here to catch this case. 3861 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3862 - /* end confdefs.h. */ 3863 - #ifdef __STDC__ 3864 - # include <limits.h> 3865 - #else 3866 - # include <assert.h> 3867 - #endif 3868 - Syntax error 3869 - _ACEOF 3870 - if ac_fn_c_try_cpp "$LINENO"; then : 3871 - 3872 - else 3873 - # Broken: fails on valid input. 3874 - continue 4291 + if ac_fn_c_try_compile "$LINENO" 4292 + then : 4293 + if test x"$ac_arg" = x 4294 + then : 4295 + ac_cv_c_undeclared_builtin_options='none needed' 4296 + else $as_nop 4297 + ac_cv_c_undeclared_builtin_options=$ac_arg 3875 4298 fi 3876 - rm -f conftest.err conftest.i conftest.$ac_ext 3877 - 3878 - # OK, works on sane cases. Now check whether nonexistent headers 3879 - # can be detected and how. 3880 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3881 - /* end confdefs.h. */ 3882 - #include <ac_nonexistent.h> 3883 - _ACEOF 3884 - if ac_fn_c_try_cpp "$LINENO"; then : 3885 - # Broken: success on invalid input. 3886 - continue 3887 - else 3888 - # Passes both tests. 3889 - ac_preproc_ok=: 3890 - break 4299 + break 3891 4300 fi 3892 - rm -f conftest.err conftest.i conftest.$ac_ext 3893 - 3894 - done 3895 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3896 - rm -f conftest.i conftest.err conftest.$ac_ext 3897 - if $ac_preproc_ok; then : 3898 - break 4301 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3899 4302 fi 3900 - 4303 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3901 4304 done 3902 - ac_cv_prog_CPP=$CPP 4305 + CFLAGS=$ac_save_CFLAGS 3903 4306 3904 4307 fi 3905 - CPP=$ac_cv_prog_CPP 3906 - else 3907 - ac_cv_prog_CPP=$CPP 3908 - fi 3909 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3910 - $as_echo "$CPP" >&6; } 3911 - ac_preproc_ok=false 3912 - for ac_c_preproc_warn_flag in '' yes 3913 - do 3914 - # Use a header file that comes with gcc, so configuring glibc 3915 - # with a fresh cross-compiler works. 3916 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3917 - # <limits.h> exists even on freestanding compilers. 3918 - # On the NeXT, cc -E runs the code through the compiler's parser, 3919 - # not just through cpp. "Syntax error" is here to catch this case. 3920 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3921 - /* end confdefs.h. */ 3922 - #ifdef __STDC__ 3923 - # include <limits.h> 3924 - #else 3925 - # include <assert.h> 3926 - #endif 3927 - Syntax error 3928 - _ACEOF 3929 - if ac_fn_c_try_cpp "$LINENO"; then : 3930 - 3931 - else 3932 - # Broken: fails on valid input. 3933 - continue 3934 - fi 3935 - rm -f conftest.err conftest.i conftest.$ac_ext 3936 - 3937 - # OK, works on sane cases. Now check whether nonexistent headers 3938 - # can be detected and how. 3939 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3940 - /* end confdefs.h. */ 3941 - #include <ac_nonexistent.h> 3942 - _ACEOF 3943 - if ac_fn_c_try_cpp "$LINENO"; then : 3944 - # Broken: success on invalid input. 3945 - continue 3946 - else 3947 - # Passes both tests. 3948 - ac_preproc_ok=: 3949 - break 3950 - fi 3951 - rm -f conftest.err conftest.i conftest.$ac_ext 3952 - 3953 - done 3954 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3955 - rm -f conftest.i conftest.err conftest.$ac_ext 3956 - if $ac_preproc_ok; then : 3957 - 3958 - else 3959 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3960 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3961 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3962 - See \`config.log' for more details" "$LINENO" 5; } 3963 - fi 3964 - 3965 - ac_ext=c 3966 - ac_cpp='$CPP $CPPFLAGS' 3967 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3968 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3969 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3970 - 3971 - 3972 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3973 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3974 - if ${ac_cv_path_GREP+:} false; then : 3975 - $as_echo_n "(cached) " >&6 3976 - else 3977 - if test -z "$GREP"; then 3978 - ac_path_GREP_found=false 3979 - # Loop through the user's path and test for each of PROGNAME-LIST 3980 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3981 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3982 - do 3983 - IFS=$as_save_IFS 3984 - test -z "$as_dir" && as_dir=. 3985 - for ac_prog in grep ggrep; do 3986 - for ac_exec_ext in '' $ac_executable_extensions; do 3987 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3988 - as_fn_executable_p "$ac_path_GREP" || continue 3989 - # Check for GNU ac_path_GREP and select it if it is found. 3990 - # Check for GNU $ac_path_GREP 3991 - case `"$ac_path_GREP" --version 2>&1` in 3992 - *GNU*) 3993 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3994 - *) 3995 - ac_count=0 3996 - $as_echo_n 0123456789 >"conftest.in" 3997 - while : 3998 - do 3999 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4000 - mv "conftest.tmp" "conftest.in" 4001 - cp "conftest.in" "conftest.nl" 4002 - $as_echo 'GREP' >> "conftest.nl" 4003 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4004 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4005 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4006 - if test $ac_count -gt ${ac_path_GREP_max-0}; then 4007 - # Best one so far, save it but keep looking for a better one 4008 - ac_cv_path_GREP="$ac_path_GREP" 4009 - ac_path_GREP_max=$ac_count 4010 - fi 4011 - # 10*(2^10) chars as input seems more than enough 4012 - test $ac_count -gt 10 && break 4013 - done 4014 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4308 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 4309 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 4310 + case $ac_cv_c_undeclared_builtin_options in #( 4311 + 'cannot detect') : 4312 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4313 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4314 + as_fn_error $? "cannot make $CC report undeclared builtins 4315 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 4316 + 'none needed') : 4317 + ac_c_undeclared_builtin_options='' ;; #( 4318 + *) : 4319 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 4015 4320 esac 4016 4321 4017 - $ac_path_GREP_found && break 3 4018 - done 4019 - done 4020 - done 4021 - IFS=$as_save_IFS 4022 - if test -z "$ac_cv_path_GREP"; then 4023 - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4024 - fi 4025 - else 4026 - ac_cv_path_GREP=$GREP 4027 - fi 4028 - 4029 - fi 4030 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4031 - $as_echo "$ac_cv_path_GREP" >&6; } 4032 - GREP="$ac_cv_path_GREP" 4033 - 4034 - 4035 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4036 - $as_echo_n "checking for egrep... " >&6; } 4037 - if ${ac_cv_path_EGREP+:} false; then : 4038 - $as_echo_n "(cached) " >&6 4039 - else 4040 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4041 - then ac_cv_path_EGREP="$GREP -E" 4042 - else 4043 - if test -z "$EGREP"; then 4044 - ac_path_EGREP_found=false 4045 - # Loop through the user's path and test for each of PROGNAME-LIST 4046 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4047 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4322 + ac_header= ac_cache= 4323 + for ac_item in $ac_header_c_list 4048 4324 do 4049 - IFS=$as_save_IFS 4050 - test -z "$as_dir" && as_dir=. 4051 - for ac_prog in egrep; do 4052 - for ac_exec_ext in '' $ac_executable_extensions; do 4053 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4054 - as_fn_executable_p "$ac_path_EGREP" || continue 4055 - # Check for GNU ac_path_EGREP and select it if it is found. 4056 - # Check for GNU $ac_path_EGREP 4057 - case `"$ac_path_EGREP" --version 2>&1` in 4058 - *GNU*) 4059 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4060 - *) 4061 - ac_count=0 4062 - $as_echo_n 0123456789 >"conftest.in" 4063 - while : 4064 - do 4065 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4066 - mv "conftest.tmp" "conftest.in" 4067 - cp "conftest.in" "conftest.nl" 4068 - $as_echo 'EGREP' >> "conftest.nl" 4069 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4070 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4071 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4072 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4073 - # Best one so far, save it but keep looking for a better one 4074 - ac_cv_path_EGREP="$ac_path_EGREP" 4075 - ac_path_EGREP_max=$ac_count 4325 + if test $ac_cache; then 4326 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 4327 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 4328 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 4076 4329 fi 4077 - # 10*(2^10) chars as input seems more than enough 4078 - test $ac_count -gt 10 && break 4079 - done 4080 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4081 - esac 4082 - 4083 - $ac_path_EGREP_found && break 3 4084 - done 4085 - done 4086 - done 4087 - IFS=$as_save_IFS 4088 - if test -z "$ac_cv_path_EGREP"; then 4089 - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4330 + ac_header= ac_cache= 4331 + elif test $ac_header; then 4332 + ac_cache=$ac_item 4333 + else 4334 + ac_header=$ac_item 4090 4335 fi 4091 - else 4092 - ac_cv_path_EGREP=$EGREP 4093 - fi 4336 + done 4094 4337 4095 - fi 4096 - fi 4097 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4098 - $as_echo "$ac_cv_path_EGREP" >&6; } 4099 - EGREP="$ac_cv_path_EGREP" 4100 4338 4101 4339 4102 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4103 - $as_echo_n "checking for ANSI C header files... " >&6; } 4104 - if ${ac_cv_header_stdc+:} false; then : 4105 - $as_echo_n "(cached) " >&6 4106 - else 4107 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4108 - /* end confdefs.h. */ 4109 - #include <stdlib.h> 4110 - #include <stdarg.h> 4111 - #include <string.h> 4112 - #include <float.h> 4113 4340 4114 - int 4115 - main () 4116 - { 4117 4341 4118 - ; 4119 - return 0; 4120 - } 4121 - _ACEOF 4122 - if ac_fn_c_try_compile "$LINENO"; then : 4123 - ac_cv_header_stdc=yes 4124 - else 4125 - ac_cv_header_stdc=no 4126 - fi 4127 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4128 4342 4129 - if test $ac_cv_header_stdc = yes; then 4130 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4131 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4132 - /* end confdefs.h. */ 4133 - #include <string.h> 4134 4343 4135 - _ACEOF 4136 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4137 - $EGREP "memchr" >/dev/null 2>&1; then : 4138 - 4139 - else 4140 - ac_cv_header_stdc=no 4141 - fi 4142 - rm -f conftest* 4143 - 4144 - fi 4145 - 4146 - if test $ac_cv_header_stdc = yes; then 4147 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4148 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4149 - /* end confdefs.h. */ 4150 - #include <stdlib.h> 4151 - 4152 - _ACEOF 4153 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4154 - $EGREP "free" >/dev/null 2>&1; then : 4155 - 4156 - else 4157 - ac_cv_header_stdc=no 4158 - fi 4159 - rm -f conftest* 4160 - 4161 - fi 4162 - 4163 - if test $ac_cv_header_stdc = yes; then 4164 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4165 - if test "$cross_compiling" = yes; then : 4166 - : 4167 - else 4168 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4169 - /* end confdefs.h. */ 4170 - #include <ctype.h> 4171 - #include <stdlib.h> 4172 - #if ((' ' & 0x0FF) == 0x020) 4173 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4174 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4175 - #else 4176 - # define ISLOWER(c) \ 4177 - (('a' <= (c) && (c) <= 'i') \ 4178 - || ('j' <= (c) && (c) <= 'r') \ 4179 - || ('s' <= (c) && (c) <= 'z')) 4180 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4181 - #endif 4182 - 4183 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4184 - int 4185 - main () 4186 - { 4187 - int i; 4188 - for (i = 0; i < 256; i++) 4189 - if (XOR (islower (i), ISLOWER (i)) 4190 - || toupper (i) != TOUPPER (i)) 4191 - return 2; 4192 - return 0; 4193 - } 4194 - _ACEOF 4195 - if ac_fn_c_try_run "$LINENO"; then : 4196 - 4197 - else 4198 - ac_cv_header_stdc=no 4199 - fi 4200 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4201 - conftest.$ac_objext conftest.beam conftest.$ac_ext 4202 - fi 4203 4344 4204 - fi 4205 - fi 4206 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4207 - $as_echo "$ac_cv_header_stdc" >&6; } 4208 - if test $ac_cv_header_stdc = yes; then 4345 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 4346 + then : 4209 4347 4210 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4348 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 4211 4349 4212 4350 fi 4213 4351 4214 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4215 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4216 - inttypes.h stdint.h unistd.h 4217 - do : 4218 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4219 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4220 - " 4221 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4222 - cat >>confdefs.h <<_ACEOF 4223 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4224 - _ACEOF 4225 4352 4226 - fi 4227 - 4228 - done 4229 4353 4230 4354 4231 - 4232 - 4233 - 4234 - 4235 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4236 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 4355 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4356 + if test "x$ac_cv_have_decl___clang__" = xyes 4357 + then : 4237 4358 CLANGCC="yes" 4238 - else 4359 + else $as_nop 4239 4360 CLANGCC="no" 4240 4361 fi 4241 - 4242 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4243 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4362 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4363 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 4364 + then : 4244 4365 INTELCC="yes" 4245 - else 4366 + else $as_nop 4246 4367 INTELCC="no" 4247 4368 fi 4248 - 4249 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4250 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4369 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4370 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 4371 + then : 4251 4372 SUNCC="yes" 4252 - else 4373 + else $as_nop 4253 4374 SUNCC="no" 4254 4375 fi 4255 - 4256 4376 4257 4377 4258 4378 ··· 4265 4385 if test -n "$ac_tool_prefix"; then 4266 4386 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4267 4387 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4268 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4269 - $as_echo_n "checking for $ac_word... " >&6; } 4270 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 4271 - $as_echo_n "(cached) " >&6 4272 - else 4388 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4389 + printf %s "checking for $ac_word... " >&6; } 4390 + if test ${ac_cv_path_PKG_CONFIG+y} 4391 + then : 4392 + printf %s "(cached) " >&6 4393 + else $as_nop 4273 4394 case $PKG_CONFIG in 4274 4395 [\\/]* | ?:[\\/]*) 4275 4396 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 4279 4400 for as_dir in $PATH 4280 4401 do 4281 4402 IFS=$as_save_IFS 4282 - test -z "$as_dir" && as_dir=. 4403 + case $as_dir in #((( 4404 + '') as_dir=./ ;; 4405 + */) ;; 4406 + *) as_dir=$as_dir/ ;; 4407 + esac 4283 4408 for ac_exec_ext in '' $ac_executable_extensions; do 4284 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4285 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4286 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4409 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4410 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4411 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4287 4412 break 2 4288 4413 fi 4289 4414 done ··· 4295 4420 fi 4296 4421 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4297 4422 if test -n "$PKG_CONFIG"; then 4298 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4299 - $as_echo "$PKG_CONFIG" >&6; } 4423 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4424 + printf "%s\n" "$PKG_CONFIG" >&6; } 4300 4425 else 4301 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4302 - $as_echo "no" >&6; } 4426 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4427 + printf "%s\n" "no" >&6; } 4303 4428 fi 4304 4429 4305 4430 ··· 4308 4433 ac_pt_PKG_CONFIG=$PKG_CONFIG 4309 4434 # Extract the first word of "pkg-config", so it can be a program name with args. 4310 4435 set dummy pkg-config; ac_word=$2 4311 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4312 - $as_echo_n "checking for $ac_word... " >&6; } 4313 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4314 - $as_echo_n "(cached) " >&6 4315 - else 4436 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4437 + printf %s "checking for $ac_word... " >&6; } 4438 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 4439 + then : 4440 + printf %s "(cached) " >&6 4441 + else $as_nop 4316 4442 case $ac_pt_PKG_CONFIG in 4317 4443 [\\/]* | ?:[\\/]*) 4318 4444 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 4322 4448 for as_dir in $PATH 4323 4449 do 4324 4450 IFS=$as_save_IFS 4325 - test -z "$as_dir" && as_dir=. 4451 + case $as_dir in #((( 4452 + '') as_dir=./ ;; 4453 + */) ;; 4454 + *) as_dir=$as_dir/ ;; 4455 + esac 4326 4456 for ac_exec_ext in '' $ac_executable_extensions; do 4327 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4328 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4329 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4457 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4458 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4459 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4330 4460 break 2 4331 4461 fi 4332 4462 done ··· 4338 4468 fi 4339 4469 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4340 4470 if test -n "$ac_pt_PKG_CONFIG"; then 4341 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4342 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4472 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 4343 4473 else 4344 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4345 - $as_echo "no" >&6; } 4474 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4475 + printf "%s\n" "no" >&6; } 4346 4476 fi 4347 4477 4348 4478 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 4350 4480 else 4351 4481 case $cross_compiling:$ac_tool_warned in 4352 4482 yes:) 4353 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4354 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4483 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4484 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4355 4485 ac_tool_warned=yes ;; 4356 4486 esac 4357 4487 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 4363 4493 fi 4364 4494 if test -n "$PKG_CONFIG"; then 4365 4495 _pkg_min_version=0.9.0 4366 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4367 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4497 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4368 4498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4369 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4370 - $as_echo "yes" >&6; } 4499 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4500 + printf "%s\n" "yes" >&6; } 4371 4501 else 4372 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4373 - $as_echo "no" >&6; } 4502 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4503 + printf "%s\n" "no" >&6; } 4374 4504 PKG_CONFIG="" 4375 4505 fi 4376 4506 fi 4377 - # Make sure we can run config.sub. 4378 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4379 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4507 + 4508 + 4509 + # Make sure we can run config.sub. 4510 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 4511 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 4380 4512 4381 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4382 - $as_echo_n "checking build system type... " >&6; } 4383 - if ${ac_cv_build+:} false; then : 4384 - $as_echo_n "(cached) " >&6 4385 - else 4513 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4514 + printf %s "checking build system type... " >&6; } 4515 + if test ${ac_cv_build+y} 4516 + then : 4517 + printf %s "(cached) " >&6 4518 + else $as_nop 4386 4519 ac_build_alias=$build_alias 4387 4520 test "x$ac_build_alias" = x && 4388 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4521 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 4389 4522 test "x$ac_build_alias" = x && 4390 4523 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4391 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4392 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4524 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 4525 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 4393 4526 4394 4527 fi 4395 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4396 - $as_echo "$ac_cv_build" >&6; } 4528 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4529 + printf "%s\n" "$ac_cv_build" >&6; } 4397 4530 case $ac_cv_build in 4398 4531 *-*-*) ;; 4399 4532 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 4412 4545 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4413 4546 4414 4547 4415 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4416 - $as_echo_n "checking host system type... " >&6; } 4417 - if ${ac_cv_host+:} false; then : 4418 - $as_echo_n "(cached) " >&6 4419 - else 4548 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4549 + printf %s "checking host system type... " >&6; } 4550 + if test ${ac_cv_host+y} 4551 + then : 4552 + printf %s "(cached) " >&6 4553 + else $as_nop 4420 4554 if test "x$host_alias" = x; then 4421 4555 ac_cv_host=$ac_cv_build 4422 4556 else 4423 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4424 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4557 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 4558 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 4425 4559 fi 4426 4560 4427 4561 fi 4428 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4429 - $as_echo "$ac_cv_host" >&6; } 4562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4563 + printf "%s\n" "$ac_cv_host" >&6; } 4430 4564 case $ac_cv_host in 4431 4565 *-*-*) ;; 4432 4566 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 4445 4579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4446 4580 4447 4581 4448 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4449 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4450 - if ${ac_cv_path_SED+:} false; then : 4451 - $as_echo_n "(cached) " >&6 4452 - else 4582 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4583 + printf %s "checking for a sed that does not truncate output... " >&6; } 4584 + if test ${ac_cv_path_SED+y} 4585 + then : 4586 + printf %s "(cached) " >&6 4587 + else $as_nop 4453 4588 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4454 4589 for ac_i in 1 2 3 4 5 6 7; do 4455 4590 ac_script="$ac_script$as_nl$ac_script" ··· 4463 4598 for as_dir in $PATH 4464 4599 do 4465 4600 IFS=$as_save_IFS 4466 - test -z "$as_dir" && as_dir=. 4467 - for ac_prog in sed gsed; do 4601 + case $as_dir in #((( 4602 + '') as_dir=./ ;; 4603 + */) ;; 4604 + *) as_dir=$as_dir/ ;; 4605 + esac 4606 + for ac_prog in sed gsed 4607 + do 4468 4608 for ac_exec_ext in '' $ac_executable_extensions; do 4469 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4609 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4470 4610 as_fn_executable_p "$ac_path_SED" || continue 4471 4611 # Check for GNU ac_path_SED and select it if it is found. 4472 4612 # Check for GNU $ac_path_SED ··· 4475 4615 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4476 4616 *) 4477 4617 ac_count=0 4478 - $as_echo_n 0123456789 >"conftest.in" 4618 + printf %s 0123456789 >"conftest.in" 4479 4619 while : 4480 4620 do 4481 4621 cat "conftest.in" "conftest.in" >"conftest.tmp" 4482 4622 mv "conftest.tmp" "conftest.in" 4483 4623 cp "conftest.in" "conftest.nl" 4484 - $as_echo '' >> "conftest.nl" 4624 + printf "%s\n" '' >> "conftest.nl" 4485 4625 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4486 4626 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4487 4627 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4509 4649 fi 4510 4650 4511 4651 fi 4512 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4513 - $as_echo "$ac_cv_path_SED" >&6; } 4652 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4653 + printf "%s\n" "$ac_cv_path_SED" >&6; } 4514 4654 SED="$ac_cv_path_SED" 4515 4655 rm -f conftest.sed 4516 4656 ··· 4520 4660 4521 4661 4522 4662 # Check whether --enable-selective-werror was given. 4523 - if test "${enable_selective_werror+set}" = set; then : 4663 + if test ${enable_selective_werror+y} 4664 + then : 4524 4665 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 4525 - else 4666 + else $as_nop 4526 4667 SELECTIVE_WERROR=yes 4527 4668 fi 4528 4669 ··· 4555 4696 4556 4697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4557 4698 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4558 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4559 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4560 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4561 - $as_echo_n "(cached) " >&6 4562 - else 4699 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4700 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4701 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4702 + then : 4703 + printf %s "(cached) " >&6 4704 + else $as_nop 4563 4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4564 4706 /* end confdefs.h. */ 4565 4707 int i; 4566 4708 _ACEOF 4567 - if ac_fn_c_try_compile "$LINENO"; then : 4709 + if ac_fn_c_try_compile "$LINENO" 4710 + then : 4568 4711 xorg_cv_cc_flag_unknown_warning_option=yes 4569 - else 4712 + else $as_nop 4570 4713 xorg_cv_cc_flag_unknown_warning_option=no 4571 4714 fi 4572 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4715 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4573 4716 fi 4574 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4575 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4717 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4718 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4576 4719 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4577 4720 CFLAGS="$xorg_testset_save_CFLAGS" 4578 4721 fi ··· 4582 4725 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4583 4726 fi 4584 4727 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4585 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4586 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4587 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4588 - $as_echo_n "(cached) " >&6 4589 - else 4728 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4729 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4730 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4731 + then : 4732 + printf %s "(cached) " >&6 4733 + else $as_nop 4590 4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4591 4735 /* end confdefs.h. */ 4592 4736 int i; 4593 4737 _ACEOF 4594 - if ac_fn_c_try_compile "$LINENO"; then : 4738 + if ac_fn_c_try_compile "$LINENO" 4739 + then : 4595 4740 xorg_cv_cc_flag_unused_command_line_argument=yes 4596 - else 4741 + else $as_nop 4597 4742 xorg_cv_cc_flag_unused_command_line_argument=no 4598 4743 fi 4599 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4744 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4600 4745 fi 4601 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4602 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4747 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4603 4748 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4604 4749 CFLAGS="$xorg_testset_save_CFLAGS" 4605 4750 fi ··· 4617 4762 4618 4763 CFLAGS="$CFLAGS -Wall" 4619 4764 4620 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4621 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 4765 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4766 + printf %s "checking if $CC supports -Wall... " >&6; } 4622 4767 cacheid=xorg_cv_cc_flag__Wall 4623 - if eval \${$cacheid+:} false; then : 4624 - $as_echo_n "(cached) " >&6 4625 - else 4768 + if eval test \${$cacheid+y} 4769 + then : 4770 + printf %s "(cached) " >&6 4771 + else $as_nop 4626 4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4627 4773 /* end confdefs.h. */ 4628 4774 int i; 4629 4775 int 4630 - main () 4776 + main (void) 4631 4777 { 4632 4778 4633 4779 ; 4634 4780 return 0; 4635 4781 } 4636 4782 _ACEOF 4637 - if ac_fn_c_try_link "$LINENO"; then : 4783 + if ac_fn_c_try_link "$LINENO" 4784 + then : 4638 4785 eval $cacheid=yes 4639 - else 4786 + else $as_nop 4640 4787 eval $cacheid=no 4641 4788 fi 4642 - rm -f core conftest.err conftest.$ac_objext \ 4789 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4643 4790 conftest$ac_exeext conftest.$ac_ext 4644 4791 fi 4645 4792 ··· 4647 4794 CFLAGS="$xorg_testset_save_CFLAGS" 4648 4795 4649 4796 eval supported=\$$cacheid 4650 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4651 - $as_echo "$supported" >&6; } 4797 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4798 + printf "%s\n" "$supported" >&6; } 4652 4799 if test "$supported" = "yes" ; then 4653 4800 BASE_CFLAGS="$BASE_CFLAGS -Wall" 4654 4801 found="yes" ··· 4673 4820 4674 4821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4675 4822 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4676 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4677 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4678 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4679 - $as_echo_n "(cached) " >&6 4680 - else 4823 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4824 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4825 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4826 + then : 4827 + printf %s "(cached) " >&6 4828 + else $as_nop 4681 4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4682 4830 /* end confdefs.h. */ 4683 4831 int i; 4684 4832 _ACEOF 4685 - if ac_fn_c_try_compile "$LINENO"; then : 4833 + if ac_fn_c_try_compile "$LINENO" 4834 + then : 4686 4835 xorg_cv_cc_flag_unknown_warning_option=yes 4687 - else 4836 + else $as_nop 4688 4837 xorg_cv_cc_flag_unknown_warning_option=no 4689 4838 fi 4690 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4839 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4691 4840 fi 4692 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4693 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4842 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4694 4843 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4695 4844 CFLAGS="$xorg_testset_save_CFLAGS" 4696 4845 fi ··· 4700 4849 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4701 4850 fi 4702 4851 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4703 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4704 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4705 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4706 - $as_echo_n "(cached) " >&6 4707 - else 4852 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4853 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4854 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4855 + then : 4856 + printf %s "(cached) " >&6 4857 + else $as_nop 4708 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4709 4859 /* end confdefs.h. */ 4710 4860 int i; 4711 4861 _ACEOF 4712 - if ac_fn_c_try_compile "$LINENO"; then : 4862 + if ac_fn_c_try_compile "$LINENO" 4863 + then : 4713 4864 xorg_cv_cc_flag_unused_command_line_argument=yes 4714 - else 4865 + else $as_nop 4715 4866 xorg_cv_cc_flag_unused_command_line_argument=no 4716 4867 fi 4717 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4868 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4718 4869 fi 4719 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4720 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4871 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4721 4872 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4722 4873 CFLAGS="$xorg_testset_save_CFLAGS" 4723 4874 fi ··· 4735 4886 4736 4887 CFLAGS="$CFLAGS -Wpointer-arith" 4737 4888 4738 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4739 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 4889 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4890 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 4740 4891 cacheid=xorg_cv_cc_flag__Wpointer_arith 4741 - if eval \${$cacheid+:} false; then : 4742 - $as_echo_n "(cached) " >&6 4743 - else 4892 + if eval test \${$cacheid+y} 4893 + then : 4894 + printf %s "(cached) " >&6 4895 + else $as_nop 4744 4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4745 4897 /* end confdefs.h. */ 4746 4898 int i; 4747 4899 int 4748 - main () 4900 + main (void) 4749 4901 { 4750 4902 4751 4903 ; 4752 4904 return 0; 4753 4905 } 4754 4906 _ACEOF 4755 - if ac_fn_c_try_link "$LINENO"; then : 4907 + if ac_fn_c_try_link "$LINENO" 4908 + then : 4756 4909 eval $cacheid=yes 4757 - else 4910 + else $as_nop 4758 4911 eval $cacheid=no 4759 4912 fi 4760 - rm -f core conftest.err conftest.$ac_objext \ 4913 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4761 4914 conftest$ac_exeext conftest.$ac_ext 4762 4915 fi 4763 4916 ··· 4765 4918 CFLAGS="$xorg_testset_save_CFLAGS" 4766 4919 4767 4920 eval supported=\$$cacheid 4768 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4769 - $as_echo "$supported" >&6; } 4921 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4922 + printf "%s\n" "$supported" >&6; } 4770 4923 if test "$supported" = "yes" ; then 4771 4924 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 4772 4925 found="yes" ··· 4791 4944 4792 4945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4793 4946 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4794 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4795 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4796 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4797 - $as_echo_n "(cached) " >&6 4798 - else 4947 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4948 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4949 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4950 + then : 4951 + printf %s "(cached) " >&6 4952 + else $as_nop 4799 4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4800 4954 /* end confdefs.h. */ 4801 4955 int i; 4802 4956 _ACEOF 4803 - if ac_fn_c_try_compile "$LINENO"; then : 4957 + if ac_fn_c_try_compile "$LINENO" 4958 + then : 4804 4959 xorg_cv_cc_flag_unknown_warning_option=yes 4805 - else 4960 + else $as_nop 4806 4961 xorg_cv_cc_flag_unknown_warning_option=no 4807 4962 fi 4808 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4963 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4809 4964 fi 4810 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4811 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4965 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4966 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4812 4967 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4813 4968 CFLAGS="$xorg_testset_save_CFLAGS" 4814 4969 fi ··· 4818 4973 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4819 4974 fi 4820 4975 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4821 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4822 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4823 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4824 - $as_echo_n "(cached) " >&6 4825 - else 4976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4977 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4978 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4979 + then : 4980 + printf %s "(cached) " >&6 4981 + else $as_nop 4826 4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4827 4983 /* end confdefs.h. */ 4828 4984 int i; 4829 4985 _ACEOF 4830 - if ac_fn_c_try_compile "$LINENO"; then : 4986 + if ac_fn_c_try_compile "$LINENO" 4987 + then : 4831 4988 xorg_cv_cc_flag_unused_command_line_argument=yes 4832 - else 4989 + else $as_nop 4833 4990 xorg_cv_cc_flag_unused_command_line_argument=no 4834 4991 fi 4835 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4992 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4836 4993 fi 4837 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4838 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4995 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4839 4996 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4840 4997 CFLAGS="$xorg_testset_save_CFLAGS" 4841 4998 fi ··· 4853 5010 4854 5011 CFLAGS="$CFLAGS -Wmissing-declarations" 4855 5012 4856 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 4857 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 5013 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 5014 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 4858 5015 cacheid=xorg_cv_cc_flag__Wmissing_declarations 4859 - if eval \${$cacheid+:} false; then : 4860 - $as_echo_n "(cached) " >&6 4861 - else 5016 + if eval test \${$cacheid+y} 5017 + then : 5018 + printf %s "(cached) " >&6 5019 + else $as_nop 4862 5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4863 5021 /* end confdefs.h. */ 4864 5022 int i; 4865 5023 int 4866 - main () 5024 + main (void) 4867 5025 { 4868 5026 4869 5027 ; 4870 5028 return 0; 4871 5029 } 4872 5030 _ACEOF 4873 - if ac_fn_c_try_link "$LINENO"; then : 5031 + if ac_fn_c_try_link "$LINENO" 5032 + then : 4874 5033 eval $cacheid=yes 4875 - else 5034 + else $as_nop 4876 5035 eval $cacheid=no 4877 5036 fi 4878 - rm -f core conftest.err conftest.$ac_objext \ 5037 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4879 5038 conftest$ac_exeext conftest.$ac_ext 4880 5039 fi 4881 5040 ··· 4883 5042 CFLAGS="$xorg_testset_save_CFLAGS" 4884 5043 4885 5044 eval supported=\$$cacheid 4886 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4887 - $as_echo "$supported" >&6; } 5045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5046 + printf "%s\n" "$supported" >&6; } 4888 5047 if test "$supported" = "yes" ; then 4889 5048 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 4890 5049 found="yes" ··· 4909 5068 4910 5069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4911 5070 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4912 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4913 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4914 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4915 - $as_echo_n "(cached) " >&6 4916 - else 5071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5072 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5073 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5074 + then : 5075 + printf %s "(cached) " >&6 5076 + else $as_nop 4917 5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4918 5078 /* end confdefs.h. */ 4919 5079 int i; 4920 5080 _ACEOF 4921 - if ac_fn_c_try_compile "$LINENO"; then : 5081 + if ac_fn_c_try_compile "$LINENO" 5082 + then : 4922 5083 xorg_cv_cc_flag_unknown_warning_option=yes 4923 - else 5084 + else $as_nop 4924 5085 xorg_cv_cc_flag_unknown_warning_option=no 4925 5086 fi 4926 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5087 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4927 5088 fi 4928 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4929 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5089 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5090 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4930 5091 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4931 5092 CFLAGS="$xorg_testset_save_CFLAGS" 4932 5093 fi ··· 4936 5097 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4937 5098 fi 4938 5099 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4939 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4940 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4941 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4942 - $as_echo_n "(cached) " >&6 4943 - else 5100 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5101 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5102 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5103 + then : 5104 + printf %s "(cached) " >&6 5105 + else $as_nop 4944 5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4945 5107 /* end confdefs.h. */ 4946 5108 int i; 4947 5109 _ACEOF 4948 - if ac_fn_c_try_compile "$LINENO"; then : 5110 + if ac_fn_c_try_compile "$LINENO" 5111 + then : 4949 5112 xorg_cv_cc_flag_unused_command_line_argument=yes 4950 - else 5113 + else $as_nop 4951 5114 xorg_cv_cc_flag_unused_command_line_argument=no 4952 5115 fi 4953 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5116 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4954 5117 fi 4955 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4956 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5119 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4957 5120 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4958 5121 CFLAGS="$xorg_testset_save_CFLAGS" 4959 5122 fi ··· 4971 5134 4972 5135 CFLAGS="$CFLAGS -Wformat=2" 4973 5136 4974 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 4975 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 5137 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5138 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 4976 5139 cacheid=xorg_cv_cc_flag__Wformat_2 4977 - if eval \${$cacheid+:} false; then : 4978 - $as_echo_n "(cached) " >&6 4979 - else 5140 + if eval test \${$cacheid+y} 5141 + then : 5142 + printf %s "(cached) " >&6 5143 + else $as_nop 4980 5144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4981 5145 /* end confdefs.h. */ 4982 5146 int i; 4983 5147 int 4984 - main () 5148 + main (void) 4985 5149 { 4986 5150 4987 5151 ; 4988 5152 return 0; 4989 5153 } 4990 5154 _ACEOF 4991 - if ac_fn_c_try_link "$LINENO"; then : 5155 + if ac_fn_c_try_link "$LINENO" 5156 + then : 4992 5157 eval $cacheid=yes 4993 - else 5158 + else $as_nop 4994 5159 eval $cacheid=no 4995 5160 fi 4996 - rm -f core conftest.err conftest.$ac_objext \ 5161 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4997 5162 conftest$ac_exeext conftest.$ac_ext 4998 5163 fi 4999 5164 ··· 5001 5166 CFLAGS="$xorg_testset_save_CFLAGS" 5002 5167 5003 5168 eval supported=\$$cacheid 5004 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5005 - $as_echo "$supported" >&6; } 5169 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5170 + printf "%s\n" "$supported" >&6; } 5006 5171 if test "$supported" = "yes" ; then 5007 5172 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 5008 5173 found="yes" ··· 5020 5185 5021 5186 CFLAGS="$CFLAGS -Wformat" 5022 5187 5023 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5024 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 5188 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5189 + printf %s "checking if $CC supports -Wformat... " >&6; } 5025 5190 cacheid=xorg_cv_cc_flag__Wformat 5026 - if eval \${$cacheid+:} false; then : 5027 - $as_echo_n "(cached) " >&6 5028 - else 5191 + if eval test \${$cacheid+y} 5192 + then : 5193 + printf %s "(cached) " >&6 5194 + else $as_nop 5029 5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5030 5196 /* end confdefs.h. */ 5031 5197 int i; 5032 5198 int 5033 - main () 5199 + main (void) 5034 5200 { 5035 5201 5036 5202 ; 5037 5203 return 0; 5038 5204 } 5039 5205 _ACEOF 5040 - if ac_fn_c_try_link "$LINENO"; then : 5206 + if ac_fn_c_try_link "$LINENO" 5207 + then : 5041 5208 eval $cacheid=yes 5042 - else 5209 + else $as_nop 5043 5210 eval $cacheid=no 5044 5211 fi 5045 - rm -f core conftest.err conftest.$ac_objext \ 5212 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5046 5213 conftest$ac_exeext conftest.$ac_ext 5047 5214 fi 5048 5215 ··· 5050 5217 CFLAGS="$xorg_testset_save_CFLAGS" 5051 5218 5052 5219 eval supported=\$$cacheid 5053 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5054 - $as_echo "$supported" >&6; } 5220 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5221 + printf "%s\n" "$supported" >&6; } 5055 5222 if test "$supported" = "yes" ; then 5056 5223 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 5057 5224 found="yes" ··· 5078 5245 5079 5246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5080 5247 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5081 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5082 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5083 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5084 - $as_echo_n "(cached) " >&6 5085 - else 5248 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5249 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5250 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5251 + then : 5252 + printf %s "(cached) " >&6 5253 + else $as_nop 5086 5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5087 5255 /* end confdefs.h. */ 5088 5256 int i; 5089 5257 _ACEOF 5090 - if ac_fn_c_try_compile "$LINENO"; then : 5258 + if ac_fn_c_try_compile "$LINENO" 5259 + then : 5091 5260 xorg_cv_cc_flag_unknown_warning_option=yes 5092 - else 5261 + else $as_nop 5093 5262 xorg_cv_cc_flag_unknown_warning_option=no 5094 5263 fi 5095 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5264 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5096 5265 fi 5097 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5098 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5266 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5267 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5099 5268 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5100 5269 CFLAGS="$xorg_testset_save_CFLAGS" 5101 5270 fi ··· 5105 5274 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5106 5275 fi 5107 5276 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5108 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5109 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5110 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5111 - $as_echo_n "(cached) " >&6 5112 - else 5277 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5278 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5279 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5280 + then : 5281 + printf %s "(cached) " >&6 5282 + else $as_nop 5113 5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5114 5284 /* end confdefs.h. */ 5115 5285 int i; 5116 5286 _ACEOF 5117 - if ac_fn_c_try_compile "$LINENO"; then : 5287 + if ac_fn_c_try_compile "$LINENO" 5288 + then : 5118 5289 xorg_cv_cc_flag_unused_command_line_argument=yes 5119 - else 5290 + else $as_nop 5120 5291 xorg_cv_cc_flag_unused_command_line_argument=no 5121 5292 fi 5122 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5293 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5123 5294 fi 5124 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5125 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5295 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5296 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5126 5297 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5127 5298 CFLAGS="$xorg_testset_save_CFLAGS" 5128 5299 fi ··· 5140 5311 5141 5312 CFLAGS="$CFLAGS -Wstrict-prototypes" 5142 5313 5143 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5144 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 5314 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5315 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 5145 5316 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 5146 - if eval \${$cacheid+:} false; then : 5147 - $as_echo_n "(cached) " >&6 5148 - else 5317 + if eval test \${$cacheid+y} 5318 + then : 5319 + printf %s "(cached) " >&6 5320 + else $as_nop 5149 5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5150 5322 /* end confdefs.h. */ 5151 5323 int i; 5152 5324 int 5153 - main () 5325 + main (void) 5154 5326 { 5155 5327 5156 5328 ; 5157 5329 return 0; 5158 5330 } 5159 5331 _ACEOF 5160 - if ac_fn_c_try_link "$LINENO"; then : 5332 + if ac_fn_c_try_link "$LINENO" 5333 + then : 5161 5334 eval $cacheid=yes 5162 - else 5335 + else $as_nop 5163 5336 eval $cacheid=no 5164 5337 fi 5165 - rm -f core conftest.err conftest.$ac_objext \ 5338 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5166 5339 conftest$ac_exeext conftest.$ac_ext 5167 5340 fi 5168 5341 ··· 5170 5343 CFLAGS="$xorg_testset_save_CFLAGS" 5171 5344 5172 5345 eval supported=\$$cacheid 5173 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5174 - $as_echo "$supported" >&6; } 5346 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5347 + printf "%s\n" "$supported" >&6; } 5175 5348 if test "$supported" = "yes" ; then 5176 5349 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 5177 5350 found="yes" ··· 5196 5369 5197 5370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5198 5371 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5199 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5200 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5201 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5202 - $as_echo_n "(cached) " >&6 5203 - else 5372 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5373 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5374 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5375 + then : 5376 + printf %s "(cached) " >&6 5377 + else $as_nop 5204 5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5205 5379 /* end confdefs.h. */ 5206 5380 int i; 5207 5381 _ACEOF 5208 - if ac_fn_c_try_compile "$LINENO"; then : 5382 + if ac_fn_c_try_compile "$LINENO" 5383 + then : 5209 5384 xorg_cv_cc_flag_unknown_warning_option=yes 5210 - else 5385 + else $as_nop 5211 5386 xorg_cv_cc_flag_unknown_warning_option=no 5212 5387 fi 5213 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5388 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5214 5389 fi 5215 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5216 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5390 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5391 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5217 5392 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5218 5393 CFLAGS="$xorg_testset_save_CFLAGS" 5219 5394 fi ··· 5223 5398 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5224 5399 fi 5225 5400 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5226 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5227 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5228 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5229 - $as_echo_n "(cached) " >&6 5230 - else 5401 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5402 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5403 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5404 + then : 5405 + printf %s "(cached) " >&6 5406 + else $as_nop 5231 5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5232 5408 /* end confdefs.h. */ 5233 5409 int i; 5234 5410 _ACEOF 5235 - if ac_fn_c_try_compile "$LINENO"; then : 5411 + if ac_fn_c_try_compile "$LINENO" 5412 + then : 5236 5413 xorg_cv_cc_flag_unused_command_line_argument=yes 5237 - else 5414 + else $as_nop 5238 5415 xorg_cv_cc_flag_unused_command_line_argument=no 5239 5416 fi 5240 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5417 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5241 5418 fi 5242 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5243 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5419 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5420 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5244 5421 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5245 5422 CFLAGS="$xorg_testset_save_CFLAGS" 5246 5423 fi ··· 5258 5435 5259 5436 CFLAGS="$CFLAGS -Wmissing-prototypes" 5260 5437 5261 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5262 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 5438 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5439 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 5263 5440 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 5264 - if eval \${$cacheid+:} false; then : 5265 - $as_echo_n "(cached) " >&6 5266 - else 5441 + if eval test \${$cacheid+y} 5442 + then : 5443 + printf %s "(cached) " >&6 5444 + else $as_nop 5267 5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5268 5446 /* end confdefs.h. */ 5269 5447 int i; 5270 5448 int 5271 - main () 5449 + main (void) 5272 5450 { 5273 5451 5274 5452 ; 5275 5453 return 0; 5276 5454 } 5277 5455 _ACEOF 5278 - if ac_fn_c_try_link "$LINENO"; then : 5456 + if ac_fn_c_try_link "$LINENO" 5457 + then : 5279 5458 eval $cacheid=yes 5280 - else 5459 + else $as_nop 5281 5460 eval $cacheid=no 5282 5461 fi 5283 - rm -f core conftest.err conftest.$ac_objext \ 5462 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5284 5463 conftest$ac_exeext conftest.$ac_ext 5285 5464 fi 5286 5465 ··· 5288 5467 CFLAGS="$xorg_testset_save_CFLAGS" 5289 5468 5290 5469 eval supported=\$$cacheid 5291 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5292 - $as_echo "$supported" >&6; } 5470 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5471 + printf "%s\n" "$supported" >&6; } 5293 5472 if test "$supported" = "yes" ; then 5294 5473 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 5295 5474 found="yes" ··· 5314 5493 5315 5494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5316 5495 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5317 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5318 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5319 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5320 - $as_echo_n "(cached) " >&6 5321 - else 5496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5497 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5498 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5499 + then : 5500 + printf %s "(cached) " >&6 5501 + else $as_nop 5322 5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5323 5503 /* end confdefs.h. */ 5324 5504 int i; 5325 5505 _ACEOF 5326 - if ac_fn_c_try_compile "$LINENO"; then : 5506 + if ac_fn_c_try_compile "$LINENO" 5507 + then : 5327 5508 xorg_cv_cc_flag_unknown_warning_option=yes 5328 - else 5509 + else $as_nop 5329 5510 xorg_cv_cc_flag_unknown_warning_option=no 5330 5511 fi 5331 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5512 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5332 5513 fi 5333 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5334 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5514 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5515 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5335 5516 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5336 5517 CFLAGS="$xorg_testset_save_CFLAGS" 5337 5518 fi ··· 5341 5522 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5342 5523 fi 5343 5524 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5344 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5345 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5346 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5347 - $as_echo_n "(cached) " >&6 5348 - else 5525 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5526 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5527 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5528 + then : 5529 + printf %s "(cached) " >&6 5530 + else $as_nop 5349 5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5350 5532 /* end confdefs.h. */ 5351 5533 int i; 5352 5534 _ACEOF 5353 - if ac_fn_c_try_compile "$LINENO"; then : 5535 + if ac_fn_c_try_compile "$LINENO" 5536 + then : 5354 5537 xorg_cv_cc_flag_unused_command_line_argument=yes 5355 - else 5538 + else $as_nop 5356 5539 xorg_cv_cc_flag_unused_command_line_argument=no 5357 5540 fi 5358 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5541 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5359 5542 fi 5360 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5361 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5544 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5362 5545 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5363 5546 CFLAGS="$xorg_testset_save_CFLAGS" 5364 5547 fi ··· 5376 5559 5377 5560 CFLAGS="$CFLAGS -Wnested-externs" 5378 5561 5379 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5380 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 5562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5563 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 5381 5564 cacheid=xorg_cv_cc_flag__Wnested_externs 5382 - if eval \${$cacheid+:} false; then : 5383 - $as_echo_n "(cached) " >&6 5384 - else 5565 + if eval test \${$cacheid+y} 5566 + then : 5567 + printf %s "(cached) " >&6 5568 + else $as_nop 5385 5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5386 5570 /* end confdefs.h. */ 5387 5571 int i; 5388 5572 int 5389 - main () 5573 + main (void) 5390 5574 { 5391 5575 5392 5576 ; 5393 5577 return 0; 5394 5578 } 5395 5579 _ACEOF 5396 - if ac_fn_c_try_link "$LINENO"; then : 5580 + if ac_fn_c_try_link "$LINENO" 5581 + then : 5397 5582 eval $cacheid=yes 5398 - else 5583 + else $as_nop 5399 5584 eval $cacheid=no 5400 5585 fi 5401 - rm -f core conftest.err conftest.$ac_objext \ 5586 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5402 5587 conftest$ac_exeext conftest.$ac_ext 5403 5588 fi 5404 5589 ··· 5406 5591 CFLAGS="$xorg_testset_save_CFLAGS" 5407 5592 5408 5593 eval supported=\$$cacheid 5409 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5410 - $as_echo "$supported" >&6; } 5594 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5595 + printf "%s\n" "$supported" >&6; } 5411 5596 if test "$supported" = "yes" ; then 5412 5597 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 5413 5598 found="yes" ··· 5432 5617 5433 5618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5434 5619 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5435 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5436 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5437 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5438 - $as_echo_n "(cached) " >&6 5439 - else 5620 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5621 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5622 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5623 + then : 5624 + printf %s "(cached) " >&6 5625 + else $as_nop 5440 5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5441 5627 /* end confdefs.h. */ 5442 5628 int i; 5443 5629 _ACEOF 5444 - if ac_fn_c_try_compile "$LINENO"; then : 5630 + if ac_fn_c_try_compile "$LINENO" 5631 + then : 5445 5632 xorg_cv_cc_flag_unknown_warning_option=yes 5446 - else 5633 + else $as_nop 5447 5634 xorg_cv_cc_flag_unknown_warning_option=no 5448 5635 fi 5449 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5636 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5450 5637 fi 5451 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5452 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5639 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5453 5640 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5454 5641 CFLAGS="$xorg_testset_save_CFLAGS" 5455 5642 fi ··· 5459 5646 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5460 5647 fi 5461 5648 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5462 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5463 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5464 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5465 - $as_echo_n "(cached) " >&6 5466 - else 5649 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5650 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5651 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5652 + then : 5653 + printf %s "(cached) " >&6 5654 + else $as_nop 5467 5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5468 5656 /* end confdefs.h. */ 5469 5657 int i; 5470 5658 _ACEOF 5471 - if ac_fn_c_try_compile "$LINENO"; then : 5659 + if ac_fn_c_try_compile "$LINENO" 5660 + then : 5472 5661 xorg_cv_cc_flag_unused_command_line_argument=yes 5473 - else 5662 + else $as_nop 5474 5663 xorg_cv_cc_flag_unused_command_line_argument=no 5475 5664 fi 5476 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5665 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5477 5666 fi 5478 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5479 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5668 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5480 5669 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5481 5670 CFLAGS="$xorg_testset_save_CFLAGS" 5482 5671 fi ··· 5494 5683 5495 5684 CFLAGS="$CFLAGS -Wbad-function-cast" 5496 5685 5497 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5498 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 5686 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5687 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 5499 5688 cacheid=xorg_cv_cc_flag__Wbad_function_cast 5500 - if eval \${$cacheid+:} false; then : 5501 - $as_echo_n "(cached) " >&6 5502 - else 5689 + if eval test \${$cacheid+y} 5690 + then : 5691 + printf %s "(cached) " >&6 5692 + else $as_nop 5503 5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5504 5694 /* end confdefs.h. */ 5505 5695 int i; 5506 5696 int 5507 - main () 5697 + main (void) 5508 5698 { 5509 5699 5510 5700 ; 5511 5701 return 0; 5512 5702 } 5513 5703 _ACEOF 5514 - if ac_fn_c_try_link "$LINENO"; then : 5704 + if ac_fn_c_try_link "$LINENO" 5705 + then : 5515 5706 eval $cacheid=yes 5516 - else 5707 + else $as_nop 5517 5708 eval $cacheid=no 5518 5709 fi 5519 - rm -f core conftest.err conftest.$ac_objext \ 5710 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5520 5711 conftest$ac_exeext conftest.$ac_ext 5521 5712 fi 5522 5713 ··· 5524 5715 CFLAGS="$xorg_testset_save_CFLAGS" 5525 5716 5526 5717 eval supported=\$$cacheid 5527 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5528 - $as_echo "$supported" >&6; } 5718 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5719 + printf "%s\n" "$supported" >&6; } 5529 5720 if test "$supported" = "yes" ; then 5530 5721 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 5531 5722 found="yes" ··· 5550 5741 5551 5742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5552 5743 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5553 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5554 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5555 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5556 - $as_echo_n "(cached) " >&6 5557 - else 5744 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5745 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5746 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5747 + then : 5748 + printf %s "(cached) " >&6 5749 + else $as_nop 5558 5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5559 5751 /* end confdefs.h. */ 5560 5752 int i; 5561 5753 _ACEOF 5562 - if ac_fn_c_try_compile "$LINENO"; then : 5754 + if ac_fn_c_try_compile "$LINENO" 5755 + then : 5563 5756 xorg_cv_cc_flag_unknown_warning_option=yes 5564 - else 5757 + else $as_nop 5565 5758 xorg_cv_cc_flag_unknown_warning_option=no 5566 5759 fi 5567 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5760 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5568 5761 fi 5569 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5570 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5763 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5571 5764 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5572 5765 CFLAGS="$xorg_testset_save_CFLAGS" 5573 5766 fi ··· 5577 5770 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5578 5771 fi 5579 5772 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5580 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5581 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5582 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5583 - $as_echo_n "(cached) " >&6 5584 - else 5773 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5774 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5775 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5776 + then : 5777 + printf %s "(cached) " >&6 5778 + else $as_nop 5585 5779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5586 5780 /* end confdefs.h. */ 5587 5781 int i; 5588 5782 _ACEOF 5589 - if ac_fn_c_try_compile "$LINENO"; then : 5783 + if ac_fn_c_try_compile "$LINENO" 5784 + then : 5590 5785 xorg_cv_cc_flag_unused_command_line_argument=yes 5591 - else 5786 + else $as_nop 5592 5787 xorg_cv_cc_flag_unused_command_line_argument=no 5593 5788 fi 5594 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5789 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5595 5790 fi 5596 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5597 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5792 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5598 5793 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5599 5794 CFLAGS="$xorg_testset_save_CFLAGS" 5600 5795 fi ··· 5612 5807 5613 5808 CFLAGS="$CFLAGS -Wold-style-definition" 5614 5809 5615 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5616 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 5810 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5811 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 5617 5812 cacheid=xorg_cv_cc_flag__Wold_style_definition 5618 - if eval \${$cacheid+:} false; then : 5619 - $as_echo_n "(cached) " >&6 5620 - else 5813 + if eval test \${$cacheid+y} 5814 + then : 5815 + printf %s "(cached) " >&6 5816 + else $as_nop 5621 5817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5622 5818 /* end confdefs.h. */ 5623 5819 int i; 5624 5820 int 5625 - main () 5821 + main (void) 5626 5822 { 5627 5823 5628 5824 ; 5629 5825 return 0; 5630 5826 } 5631 5827 _ACEOF 5632 - if ac_fn_c_try_link "$LINENO"; then : 5828 + if ac_fn_c_try_link "$LINENO" 5829 + then : 5633 5830 eval $cacheid=yes 5634 - else 5831 + else $as_nop 5635 5832 eval $cacheid=no 5636 5833 fi 5637 - rm -f core conftest.err conftest.$ac_objext \ 5834 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5638 5835 conftest$ac_exeext conftest.$ac_ext 5639 5836 fi 5640 5837 ··· 5642 5839 CFLAGS="$xorg_testset_save_CFLAGS" 5643 5840 5644 5841 eval supported=\$$cacheid 5645 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5646 - $as_echo "$supported" >&6; } 5842 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5843 + printf "%s\n" "$supported" >&6; } 5647 5844 if test "$supported" = "yes" ; then 5648 5845 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 5649 5846 found="yes" ··· 5661 5858 5662 5859 CFLAGS="$CFLAGS -fd" 5663 5860 5664 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5665 - $as_echo_n "checking if $CC supports -fd... " >&6; } 5861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5862 + printf %s "checking if $CC supports -fd... " >&6; } 5666 5863 cacheid=xorg_cv_cc_flag__fd 5667 - if eval \${$cacheid+:} false; then : 5668 - $as_echo_n "(cached) " >&6 5669 - else 5864 + if eval test \${$cacheid+y} 5865 + then : 5866 + printf %s "(cached) " >&6 5867 + else $as_nop 5670 5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5671 5869 /* end confdefs.h. */ 5672 5870 int i; 5673 5871 int 5674 - main () 5872 + main (void) 5675 5873 { 5676 5874 5677 5875 ; 5678 5876 return 0; 5679 5877 } 5680 5878 _ACEOF 5681 - if ac_fn_c_try_link "$LINENO"; then : 5879 + if ac_fn_c_try_link "$LINENO" 5880 + then : 5682 5881 eval $cacheid=yes 5683 - else 5882 + else $as_nop 5684 5883 eval $cacheid=no 5685 5884 fi 5686 - rm -f core conftest.err conftest.$ac_objext \ 5885 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5687 5886 conftest$ac_exeext conftest.$ac_ext 5688 5887 fi 5689 5888 ··· 5691 5890 CFLAGS="$xorg_testset_save_CFLAGS" 5692 5891 5693 5892 eval supported=\$$cacheid 5694 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5695 - $as_echo "$supported" >&6; } 5893 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5894 + printf "%s\n" "$supported" >&6; } 5696 5895 if test "$supported" = "yes" ; then 5697 5896 BASE_CFLAGS="$BASE_CFLAGS -fd" 5698 5897 found="yes" ··· 5717 5916 5718 5917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5719 5918 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5720 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5721 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5722 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5723 - $as_echo_n "(cached) " >&6 5724 - else 5919 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5920 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5921 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5922 + then : 5923 + printf %s "(cached) " >&6 5924 + else $as_nop 5725 5925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5726 5926 /* end confdefs.h. */ 5727 5927 int i; 5728 5928 _ACEOF 5729 - if ac_fn_c_try_compile "$LINENO"; then : 5929 + if ac_fn_c_try_compile "$LINENO" 5930 + then : 5730 5931 xorg_cv_cc_flag_unknown_warning_option=yes 5731 - else 5932 + else $as_nop 5732 5933 xorg_cv_cc_flag_unknown_warning_option=no 5733 5934 fi 5734 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5935 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5735 5936 fi 5736 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5737 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5937 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5938 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5738 5939 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5739 5940 CFLAGS="$xorg_testset_save_CFLAGS" 5740 5941 fi ··· 5744 5945 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5745 5946 fi 5746 5947 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5747 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5748 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5749 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5750 - $as_echo_n "(cached) " >&6 5751 - else 5948 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5949 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5950 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5951 + then : 5952 + printf %s "(cached) " >&6 5953 + else $as_nop 5752 5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5753 5955 /* end confdefs.h. */ 5754 5956 int i; 5755 5957 _ACEOF 5756 - if ac_fn_c_try_compile "$LINENO"; then : 5958 + if ac_fn_c_try_compile "$LINENO" 5959 + then : 5757 5960 xorg_cv_cc_flag_unused_command_line_argument=yes 5758 - else 5961 + else $as_nop 5759 5962 xorg_cv_cc_flag_unused_command_line_argument=no 5760 5963 fi 5761 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5964 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5762 5965 fi 5763 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5764 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5966 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5967 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5765 5968 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5766 5969 CFLAGS="$xorg_testset_save_CFLAGS" 5767 5970 fi ··· 5779 5982 5780 5983 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 5781 5984 5782 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5783 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5985 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5986 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5784 5987 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 5785 - if eval \${$cacheid+:} false; then : 5786 - $as_echo_n "(cached) " >&6 5787 - else 5988 + if eval test \${$cacheid+y} 5989 + then : 5990 + printf %s "(cached) " >&6 5991 + else $as_nop 5788 5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5789 5993 /* end confdefs.h. */ 5790 5994 int i; 5791 5995 int 5792 - main () 5996 + main (void) 5793 5997 { 5794 5998 5795 5999 ; 5796 6000 return 0; 5797 6001 } 5798 6002 _ACEOF 5799 - if ac_fn_c_try_link "$LINENO"; then : 6003 + if ac_fn_c_try_link "$LINENO" 6004 + then : 5800 6005 eval $cacheid=yes 5801 - else 6006 + else $as_nop 5802 6007 eval $cacheid=no 5803 6008 fi 5804 - rm -f core conftest.err conftest.$ac_objext \ 6009 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5805 6010 conftest$ac_exeext conftest.$ac_ext 5806 6011 fi 5807 6012 ··· 5809 6014 CFLAGS="$xorg_testset_save_CFLAGS" 5810 6015 5811 6016 eval supported=\$$cacheid 5812 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5813 - $as_echo "$supported" >&6; } 6017 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6018 + printf "%s\n" "$supported" >&6; } 5814 6019 if test "$supported" = "yes" ; then 5815 6020 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 5816 6021 found="yes" ··· 5839 6044 5840 6045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5841 6046 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5842 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5843 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5844 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5845 - $as_echo_n "(cached) " >&6 5846 - else 6047 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6048 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6049 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6050 + then : 6051 + printf %s "(cached) " >&6 6052 + else $as_nop 5847 6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5848 6054 /* end confdefs.h. */ 5849 6055 int i; 5850 6056 _ACEOF 5851 - if ac_fn_c_try_compile "$LINENO"; then : 6057 + if ac_fn_c_try_compile "$LINENO" 6058 + then : 5852 6059 xorg_cv_cc_flag_unknown_warning_option=yes 5853 - else 6060 + else $as_nop 5854 6061 xorg_cv_cc_flag_unknown_warning_option=no 5855 6062 fi 5856 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6063 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5857 6064 fi 5858 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5859 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6066 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5860 6067 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5861 6068 CFLAGS="$xorg_testset_save_CFLAGS" 5862 6069 fi ··· 5866 6073 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5867 6074 fi 5868 6075 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5869 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5870 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5871 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5872 - $as_echo_n "(cached) " >&6 5873 - else 6076 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6077 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6078 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6079 + then : 6080 + printf %s "(cached) " >&6 6081 + else $as_nop 5874 6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5875 6083 /* end confdefs.h. */ 5876 6084 int i; 5877 6085 _ACEOF 5878 - if ac_fn_c_try_compile "$LINENO"; then : 6086 + if ac_fn_c_try_compile "$LINENO" 6087 + then : 5879 6088 xorg_cv_cc_flag_unused_command_line_argument=yes 5880 - else 6089 + else $as_nop 5881 6090 xorg_cv_cc_flag_unused_command_line_argument=no 5882 6091 fi 5883 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6092 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5884 6093 fi 5885 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5886 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6095 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5887 6096 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5888 6097 CFLAGS="$xorg_testset_save_CFLAGS" 5889 6098 fi ··· 5901 6110 5902 6111 CFLAGS="$CFLAGS -Wunused" 5903 6112 5904 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 5905 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 6113 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 6114 + printf %s "checking if $CC supports -Wunused... " >&6; } 5906 6115 cacheid=xorg_cv_cc_flag__Wunused 5907 - if eval \${$cacheid+:} false; then : 5908 - $as_echo_n "(cached) " >&6 5909 - else 6116 + if eval test \${$cacheid+y} 6117 + then : 6118 + printf %s "(cached) " >&6 6119 + else $as_nop 5910 6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5911 6121 /* end confdefs.h. */ 5912 6122 int i; 5913 6123 int 5914 - main () 6124 + main (void) 5915 6125 { 5916 6126 5917 6127 ; 5918 6128 return 0; 5919 6129 } 5920 6130 _ACEOF 5921 - if ac_fn_c_try_link "$LINENO"; then : 6131 + if ac_fn_c_try_link "$LINENO" 6132 + then : 5922 6133 eval $cacheid=yes 5923 - else 6134 + else $as_nop 5924 6135 eval $cacheid=no 5925 6136 fi 5926 - rm -f core conftest.err conftest.$ac_objext \ 6137 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5927 6138 conftest$ac_exeext conftest.$ac_ext 5928 6139 fi 5929 6140 ··· 5931 6142 CFLAGS="$xorg_testset_save_CFLAGS" 5932 6143 5933 6144 eval supported=\$$cacheid 5934 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5935 - $as_echo "$supported" >&6; } 6145 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6146 + printf "%s\n" "$supported" >&6; } 5936 6147 if test "$supported" = "yes" ; then 5937 6148 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 5938 6149 found="yes" ··· 5957 6168 5958 6169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5959 6170 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5960 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5961 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5962 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5963 - $as_echo_n "(cached) " >&6 5964 - else 6171 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6172 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6173 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6174 + then : 6175 + printf %s "(cached) " >&6 6176 + else $as_nop 5965 6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5966 6178 /* end confdefs.h. */ 5967 6179 int i; 5968 6180 _ACEOF 5969 - if ac_fn_c_try_compile "$LINENO"; then : 6181 + if ac_fn_c_try_compile "$LINENO" 6182 + then : 5970 6183 xorg_cv_cc_flag_unknown_warning_option=yes 5971 - else 6184 + else $as_nop 5972 6185 xorg_cv_cc_flag_unknown_warning_option=no 5973 6186 fi 5974 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6187 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5975 6188 fi 5976 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5977 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6190 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5978 6191 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5979 6192 CFLAGS="$xorg_testset_save_CFLAGS" 5980 6193 fi ··· 5984 6197 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5985 6198 fi 5986 6199 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5987 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5988 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5989 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5990 - $as_echo_n "(cached) " >&6 5991 - else 6200 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6201 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6202 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6203 + then : 6204 + printf %s "(cached) " >&6 6205 + else $as_nop 5992 6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5993 6207 /* end confdefs.h. */ 5994 6208 int i; 5995 6209 _ACEOF 5996 - if ac_fn_c_try_compile "$LINENO"; then : 6210 + if ac_fn_c_try_compile "$LINENO" 6211 + then : 5997 6212 xorg_cv_cc_flag_unused_command_line_argument=yes 5998 - else 6213 + else $as_nop 5999 6214 xorg_cv_cc_flag_unused_command_line_argument=no 6000 6215 fi 6001 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6216 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6002 6217 fi 6003 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6004 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6218 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6219 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6005 6220 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6006 6221 CFLAGS="$xorg_testset_save_CFLAGS" 6007 6222 fi ··· 6019 6234 6020 6235 CFLAGS="$CFLAGS -Wuninitialized" 6021 6236 6022 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6023 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 6237 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6238 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 6024 6239 cacheid=xorg_cv_cc_flag__Wuninitialized 6025 - if eval \${$cacheid+:} false; then : 6026 - $as_echo_n "(cached) " >&6 6027 - else 6240 + if eval test \${$cacheid+y} 6241 + then : 6242 + printf %s "(cached) " >&6 6243 + else $as_nop 6028 6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6029 6245 /* end confdefs.h. */ 6030 6246 int i; 6031 6247 int 6032 - main () 6248 + main (void) 6033 6249 { 6034 6250 6035 6251 ; 6036 6252 return 0; 6037 6253 } 6038 6254 _ACEOF 6039 - if ac_fn_c_try_link "$LINENO"; then : 6255 + if ac_fn_c_try_link "$LINENO" 6256 + then : 6040 6257 eval $cacheid=yes 6041 - else 6258 + else $as_nop 6042 6259 eval $cacheid=no 6043 6260 fi 6044 - rm -f core conftest.err conftest.$ac_objext \ 6261 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6045 6262 conftest$ac_exeext conftest.$ac_ext 6046 6263 fi 6047 6264 ··· 6049 6266 CFLAGS="$xorg_testset_save_CFLAGS" 6050 6267 6051 6268 eval supported=\$$cacheid 6052 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6053 - $as_echo "$supported" >&6; } 6269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6270 + printf "%s\n" "$supported" >&6; } 6054 6271 if test "$supported" = "yes" ; then 6055 6272 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 6056 6273 found="yes" ··· 6075 6292 6076 6293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6077 6294 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6078 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6079 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6080 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6081 - $as_echo_n "(cached) " >&6 6082 - else 6295 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6296 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6297 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6298 + then : 6299 + printf %s "(cached) " >&6 6300 + else $as_nop 6083 6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6084 6302 /* end confdefs.h. */ 6085 6303 int i; 6086 6304 _ACEOF 6087 - if ac_fn_c_try_compile "$LINENO"; then : 6305 + if ac_fn_c_try_compile "$LINENO" 6306 + then : 6088 6307 xorg_cv_cc_flag_unknown_warning_option=yes 6089 - else 6308 + else $as_nop 6090 6309 xorg_cv_cc_flag_unknown_warning_option=no 6091 6310 fi 6092 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6311 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6093 6312 fi 6094 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6095 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6314 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6096 6315 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6097 6316 CFLAGS="$xorg_testset_save_CFLAGS" 6098 6317 fi ··· 6102 6321 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6103 6322 fi 6104 6323 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6105 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6106 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6107 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6108 - $as_echo_n "(cached) " >&6 6109 - else 6324 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6325 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6326 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6327 + then : 6328 + printf %s "(cached) " >&6 6329 + else $as_nop 6110 6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6111 6331 /* end confdefs.h. */ 6112 6332 int i; 6113 6333 _ACEOF 6114 - if ac_fn_c_try_compile "$LINENO"; then : 6334 + if ac_fn_c_try_compile "$LINENO" 6335 + then : 6115 6336 xorg_cv_cc_flag_unused_command_line_argument=yes 6116 - else 6337 + else $as_nop 6117 6338 xorg_cv_cc_flag_unused_command_line_argument=no 6118 6339 fi 6119 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6340 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6120 6341 fi 6121 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6122 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6342 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6343 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6123 6344 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6124 6345 CFLAGS="$xorg_testset_save_CFLAGS" 6125 6346 fi ··· 6137 6358 6138 6359 CFLAGS="$CFLAGS -Wshadow" 6139 6360 6140 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6141 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 6361 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6362 + printf %s "checking if $CC supports -Wshadow... " >&6; } 6142 6363 cacheid=xorg_cv_cc_flag__Wshadow 6143 - if eval \${$cacheid+:} false; then : 6144 - $as_echo_n "(cached) " >&6 6145 - else 6364 + if eval test \${$cacheid+y} 6365 + then : 6366 + printf %s "(cached) " >&6 6367 + else $as_nop 6146 6368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6147 6369 /* end confdefs.h. */ 6148 6370 int i; 6149 6371 int 6150 - main () 6372 + main (void) 6151 6373 { 6152 6374 6153 6375 ; 6154 6376 return 0; 6155 6377 } 6156 6378 _ACEOF 6157 - if ac_fn_c_try_link "$LINENO"; then : 6379 + if ac_fn_c_try_link "$LINENO" 6380 + then : 6158 6381 eval $cacheid=yes 6159 - else 6382 + else $as_nop 6160 6383 eval $cacheid=no 6161 6384 fi 6162 - rm -f core conftest.err conftest.$ac_objext \ 6385 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6163 6386 conftest$ac_exeext conftest.$ac_ext 6164 6387 fi 6165 6388 ··· 6167 6390 CFLAGS="$xorg_testset_save_CFLAGS" 6168 6391 6169 6392 eval supported=\$$cacheid 6170 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6171 - $as_echo "$supported" >&6; } 6393 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6394 + printf "%s\n" "$supported" >&6; } 6172 6395 if test "$supported" = "yes" ; then 6173 6396 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 6174 6397 found="yes" ··· 6193 6416 6194 6417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6195 6418 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6196 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6197 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6198 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6199 - $as_echo_n "(cached) " >&6 6200 - else 6419 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6420 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6421 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6422 + then : 6423 + printf %s "(cached) " >&6 6424 + else $as_nop 6201 6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6202 6426 /* end confdefs.h. */ 6203 6427 int i; 6204 6428 _ACEOF 6205 - if ac_fn_c_try_compile "$LINENO"; then : 6429 + if ac_fn_c_try_compile "$LINENO" 6430 + then : 6206 6431 xorg_cv_cc_flag_unknown_warning_option=yes 6207 - else 6432 + else $as_nop 6208 6433 xorg_cv_cc_flag_unknown_warning_option=no 6209 6434 fi 6210 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6435 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6211 6436 fi 6212 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6213 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6438 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6214 6439 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6215 6440 CFLAGS="$xorg_testset_save_CFLAGS" 6216 6441 fi ··· 6220 6445 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6221 6446 fi 6222 6447 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6223 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6224 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6225 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6226 - $as_echo_n "(cached) " >&6 6227 - else 6448 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6449 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6450 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6451 + then : 6452 + printf %s "(cached) " >&6 6453 + else $as_nop 6228 6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6229 6455 /* end confdefs.h. */ 6230 6456 int i; 6231 6457 _ACEOF 6232 - if ac_fn_c_try_compile "$LINENO"; then : 6458 + if ac_fn_c_try_compile "$LINENO" 6459 + then : 6233 6460 xorg_cv_cc_flag_unused_command_line_argument=yes 6234 - else 6461 + else $as_nop 6235 6462 xorg_cv_cc_flag_unused_command_line_argument=no 6236 6463 fi 6237 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6464 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6238 6465 fi 6239 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6240 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6466 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6467 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6241 6468 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6242 6469 CFLAGS="$xorg_testset_save_CFLAGS" 6243 6470 fi ··· 6255 6482 6256 6483 CFLAGS="$CFLAGS -Wmissing-noreturn" 6257 6484 6258 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6259 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 6485 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6486 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 6260 6487 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 6261 - if eval \${$cacheid+:} false; then : 6262 - $as_echo_n "(cached) " >&6 6263 - else 6488 + if eval test \${$cacheid+y} 6489 + then : 6490 + printf %s "(cached) " >&6 6491 + else $as_nop 6264 6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6265 6493 /* end confdefs.h. */ 6266 6494 int i; 6267 6495 int 6268 - main () 6496 + main (void) 6269 6497 { 6270 6498 6271 6499 ; 6272 6500 return 0; 6273 6501 } 6274 6502 _ACEOF 6275 - if ac_fn_c_try_link "$LINENO"; then : 6503 + if ac_fn_c_try_link "$LINENO" 6504 + then : 6276 6505 eval $cacheid=yes 6277 - else 6506 + else $as_nop 6278 6507 eval $cacheid=no 6279 6508 fi 6280 - rm -f core conftest.err conftest.$ac_objext \ 6509 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6281 6510 conftest$ac_exeext conftest.$ac_ext 6282 6511 fi 6283 6512 ··· 6285 6514 CFLAGS="$xorg_testset_save_CFLAGS" 6286 6515 6287 6516 eval supported=\$$cacheid 6288 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6289 - $as_echo "$supported" >&6; } 6517 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6518 + printf "%s\n" "$supported" >&6; } 6290 6519 if test "$supported" = "yes" ; then 6291 6520 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 6292 6521 found="yes" ··· 6311 6540 6312 6541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6313 6542 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6314 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6315 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6316 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6317 - $as_echo_n "(cached) " >&6 6318 - else 6543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6544 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6545 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6546 + then : 6547 + printf %s "(cached) " >&6 6548 + else $as_nop 6319 6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6320 6550 /* end confdefs.h. */ 6321 6551 int i; 6322 6552 _ACEOF 6323 - if ac_fn_c_try_compile "$LINENO"; then : 6553 + if ac_fn_c_try_compile "$LINENO" 6554 + then : 6324 6555 xorg_cv_cc_flag_unknown_warning_option=yes 6325 - else 6556 + else $as_nop 6326 6557 xorg_cv_cc_flag_unknown_warning_option=no 6327 6558 fi 6328 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6559 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6329 6560 fi 6330 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6331 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6561 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6562 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6332 6563 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6333 6564 CFLAGS="$xorg_testset_save_CFLAGS" 6334 6565 fi ··· 6338 6569 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6339 6570 fi 6340 6571 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6341 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6342 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6343 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6344 - $as_echo_n "(cached) " >&6 6345 - else 6572 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6573 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6574 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6575 + then : 6576 + printf %s "(cached) " >&6 6577 + else $as_nop 6346 6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6347 6579 /* end confdefs.h. */ 6348 6580 int i; 6349 6581 _ACEOF 6350 - if ac_fn_c_try_compile "$LINENO"; then : 6582 + if ac_fn_c_try_compile "$LINENO" 6583 + then : 6351 6584 xorg_cv_cc_flag_unused_command_line_argument=yes 6352 - else 6585 + else $as_nop 6353 6586 xorg_cv_cc_flag_unused_command_line_argument=no 6354 6587 fi 6355 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6588 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6356 6589 fi 6357 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6358 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6591 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6359 6592 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6360 6593 CFLAGS="$xorg_testset_save_CFLAGS" 6361 6594 fi ··· 6373 6606 6374 6607 CFLAGS="$CFLAGS -Wmissing-format-attribute" 6375 6608 6376 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6377 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6609 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6610 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6378 6611 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 6379 - if eval \${$cacheid+:} false; then : 6380 - $as_echo_n "(cached) " >&6 6381 - else 6612 + if eval test \${$cacheid+y} 6613 + then : 6614 + printf %s "(cached) " >&6 6615 + else $as_nop 6382 6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6383 6617 /* end confdefs.h. */ 6384 6618 int i; 6385 6619 int 6386 - main () 6620 + main (void) 6387 6621 { 6388 6622 6389 6623 ; 6390 6624 return 0; 6391 6625 } 6392 6626 _ACEOF 6393 - if ac_fn_c_try_link "$LINENO"; then : 6627 + if ac_fn_c_try_link "$LINENO" 6628 + then : 6394 6629 eval $cacheid=yes 6395 - else 6630 + else $as_nop 6396 6631 eval $cacheid=no 6397 6632 fi 6398 - rm -f core conftest.err conftest.$ac_objext \ 6633 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6399 6634 conftest$ac_exeext conftest.$ac_ext 6400 6635 fi 6401 6636 ··· 6403 6638 CFLAGS="$xorg_testset_save_CFLAGS" 6404 6639 6405 6640 eval supported=\$$cacheid 6406 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6407 - $as_echo "$supported" >&6; } 6641 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6642 + printf "%s\n" "$supported" >&6; } 6408 6643 if test "$supported" = "yes" ; then 6409 6644 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 6410 6645 found="yes" ··· 6412 6647 fi 6413 6648 6414 6649 6650 + # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls]) 6415 6651 6416 6652 6417 6653 ··· 6429 6665 6430 6666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6431 6667 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6432 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6433 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6434 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6435 - $as_echo_n "(cached) " >&6 6436 - else 6668 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6669 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6670 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6671 + then : 6672 + printf %s "(cached) " >&6 6673 + else $as_nop 6437 6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6438 6675 /* end confdefs.h. */ 6439 6676 int i; 6440 6677 _ACEOF 6441 - if ac_fn_c_try_compile "$LINENO"; then : 6678 + if ac_fn_c_try_compile "$LINENO" 6679 + then : 6442 6680 xorg_cv_cc_flag_unknown_warning_option=yes 6443 - else 6681 + else $as_nop 6444 6682 xorg_cv_cc_flag_unknown_warning_option=no 6445 6683 fi 6446 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6684 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6447 6685 fi 6448 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6449 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6686 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6687 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6450 6688 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6451 6689 CFLAGS="$xorg_testset_save_CFLAGS" 6452 6690 fi ··· 6456 6694 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6457 6695 fi 6458 6696 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6459 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6460 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6461 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6462 - $as_echo_n "(cached) " >&6 6463 - else 6697 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6698 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6699 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6700 + then : 6701 + printf %s "(cached) " >&6 6702 + else $as_nop 6464 6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6465 6704 /* end confdefs.h. */ 6466 6705 int i; 6467 6706 _ACEOF 6468 - if ac_fn_c_try_compile "$LINENO"; then : 6707 + if ac_fn_c_try_compile "$LINENO" 6708 + then : 6469 6709 xorg_cv_cc_flag_unused_command_line_argument=yes 6470 - else 6710 + else $as_nop 6471 6711 xorg_cv_cc_flag_unused_command_line_argument=no 6472 6712 fi 6473 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6713 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6474 6714 fi 6475 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6476 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6477 - xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6478 - CFLAGS="$xorg_testset_save_CFLAGS" 6479 - fi 6480 - 6481 - found="no" 6482 - 6483 - if test $found = "no" ; then 6484 - if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6485 - CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6486 - fi 6487 - 6488 - if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then 6489 - CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6490 - fi 6491 - 6492 - CFLAGS="$CFLAGS -Wredundant-decls" 6493 - 6494 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5 6495 - $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; } 6496 - cacheid=xorg_cv_cc_flag__Wredundant_decls 6497 - if eval \${$cacheid+:} false; then : 6498 - $as_echo_n "(cached) " >&6 6499 - else 6500 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6501 - /* end confdefs.h. */ 6502 - int i; 6503 - int 6504 - main () 6505 - { 6506 - 6507 - ; 6508 - return 0; 6509 - } 6510 - _ACEOF 6511 - if ac_fn_c_try_link "$LINENO"; then : 6512 - eval $cacheid=yes 6513 - else 6514 - eval $cacheid=no 6515 - fi 6516 - rm -f core conftest.err conftest.$ac_objext \ 6517 - conftest$ac_exeext conftest.$ac_ext 6518 - fi 6519 - 6520 - 6521 - CFLAGS="$xorg_testset_save_CFLAGS" 6522 - 6523 - eval supported=\$$cacheid 6524 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6525 - $as_echo "$supported" >&6; } 6526 - if test "$supported" = "yes" ; then 6527 - BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls" 6528 - found="yes" 6529 - fi 6530 - fi 6531 - 6532 - 6533 - 6534 - 6535 - 6536 - 6537 - 6538 - 6539 - 6540 - 6541 - 6542 - 6543 - 6544 - 6545 - 6546 - xorg_testset_save_CFLAGS="$CFLAGS" 6547 - 6548 - if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6549 - CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6550 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6551 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6552 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6553 - $as_echo_n "(cached) " >&6 6554 - else 6555 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6556 - /* end confdefs.h. */ 6557 - int i; 6558 - _ACEOF 6559 - if ac_fn_c_try_compile "$LINENO"; then : 6560 - xorg_cv_cc_flag_unknown_warning_option=yes 6561 - else 6562 - xorg_cv_cc_flag_unknown_warning_option=no 6563 - fi 6564 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6565 - fi 6566 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6567 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6568 - xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6569 - CFLAGS="$xorg_testset_save_CFLAGS" 6570 - fi 6571 - 6572 - if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then 6573 - if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then 6574 - CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6575 - fi 6576 - CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6577 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6578 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6579 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6580 - $as_echo_n "(cached) " >&6 6581 - else 6582 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6583 - /* end confdefs.h. */ 6584 - int i; 6585 - _ACEOF 6586 - if ac_fn_c_try_compile "$LINENO"; then : 6587 - xorg_cv_cc_flag_unused_command_line_argument=yes 6588 - else 6589 - xorg_cv_cc_flag_unused_command_line_argument=no 6590 - fi 6591 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6592 - fi 6593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6594 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6715 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6716 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6595 6717 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6596 6718 CFLAGS="$xorg_testset_save_CFLAGS" 6597 6719 fi ··· 6609 6731 6610 6732 CFLAGS="$CFLAGS -Wlogical-op" 6611 6733 6612 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6613 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 6734 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6735 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 6614 6736 cacheid=xorg_cv_cc_flag__Wlogical_op 6615 - if eval \${$cacheid+:} false; then : 6616 - $as_echo_n "(cached) " >&6 6617 - else 6737 + if eval test \${$cacheid+y} 6738 + then : 6739 + printf %s "(cached) " >&6 6740 + else $as_nop 6618 6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6619 6742 /* end confdefs.h. */ 6620 6743 int i; 6621 6744 int 6622 - main () 6745 + main (void) 6623 6746 { 6624 6747 6625 6748 ; 6626 6749 return 0; 6627 6750 } 6628 6751 _ACEOF 6629 - if ac_fn_c_try_link "$LINENO"; then : 6752 + if ac_fn_c_try_link "$LINENO" 6753 + then : 6630 6754 eval $cacheid=yes 6631 - else 6755 + else $as_nop 6632 6756 eval $cacheid=no 6633 6757 fi 6634 - rm -f core conftest.err conftest.$ac_objext \ 6758 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6635 6759 conftest$ac_exeext conftest.$ac_ext 6636 6760 fi 6637 6761 ··· 6639 6763 CFLAGS="$xorg_testset_save_CFLAGS" 6640 6764 6641 6765 eval supported=\$$cacheid 6642 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6643 - $as_echo "$supported" >&6; } 6766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6767 + printf "%s\n" "$supported" >&6; } 6644 6768 if test "$supported" = "yes" ; then 6645 6769 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 6646 6770 found="yes" ··· 6677 6801 6678 6802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6679 6803 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6680 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6681 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6682 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6683 - $as_echo_n "(cached) " >&6 6684 - else 6804 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6805 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6806 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6807 + then : 6808 + printf %s "(cached) " >&6 6809 + else $as_nop 6685 6810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6686 6811 /* end confdefs.h. */ 6687 6812 int i; 6688 6813 _ACEOF 6689 - if ac_fn_c_try_compile "$LINENO"; then : 6814 + if ac_fn_c_try_compile "$LINENO" 6815 + then : 6690 6816 xorg_cv_cc_flag_unknown_warning_option=yes 6691 - else 6817 + else $as_nop 6692 6818 xorg_cv_cc_flag_unknown_warning_option=no 6693 6819 fi 6694 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6820 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6695 6821 fi 6696 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6697 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6822 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6823 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6698 6824 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6699 6825 CFLAGS="$xorg_testset_save_CFLAGS" 6700 6826 fi ··· 6704 6830 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6705 6831 fi 6706 6832 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6707 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6708 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6709 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6710 - $as_echo_n "(cached) " >&6 6711 - else 6833 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6834 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6835 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6836 + then : 6837 + printf %s "(cached) " >&6 6838 + else $as_nop 6712 6839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6713 6840 /* end confdefs.h. */ 6714 6841 int i; 6715 6842 _ACEOF 6716 - if ac_fn_c_try_compile "$LINENO"; then : 6843 + if ac_fn_c_try_compile "$LINENO" 6844 + then : 6717 6845 xorg_cv_cc_flag_unused_command_line_argument=yes 6718 - else 6846 + else $as_nop 6719 6847 xorg_cv_cc_flag_unused_command_line_argument=no 6720 6848 fi 6721 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6849 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6722 6850 fi 6723 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6724 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6851 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6852 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6725 6853 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6726 6854 CFLAGS="$xorg_testset_save_CFLAGS" 6727 6855 fi ··· 6739 6867 6740 6868 CFLAGS="$CFLAGS -Werror=implicit" 6741 6869 6742 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6743 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 6870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6871 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 6744 6872 cacheid=xorg_cv_cc_flag__Werror_implicit 6745 - if eval \${$cacheid+:} false; then : 6746 - $as_echo_n "(cached) " >&6 6747 - else 6873 + if eval test \${$cacheid+y} 6874 + then : 6875 + printf %s "(cached) " >&6 6876 + else $as_nop 6748 6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6749 6878 /* end confdefs.h. */ 6750 6879 int i; 6751 6880 int 6752 - main () 6881 + main (void) 6753 6882 { 6754 6883 6755 6884 ; 6756 6885 return 0; 6757 6886 } 6758 6887 _ACEOF 6759 - if ac_fn_c_try_link "$LINENO"; then : 6888 + if ac_fn_c_try_link "$LINENO" 6889 + then : 6760 6890 eval $cacheid=yes 6761 - else 6891 + else $as_nop 6762 6892 eval $cacheid=no 6763 6893 fi 6764 - rm -f core conftest.err conftest.$ac_objext \ 6894 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6765 6895 conftest$ac_exeext conftest.$ac_ext 6766 6896 fi 6767 6897 ··· 6769 6899 CFLAGS="$xorg_testset_save_CFLAGS" 6770 6900 6771 6901 eval supported=\$$cacheid 6772 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6773 - $as_echo "$supported" >&6; } 6902 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6903 + printf "%s\n" "$supported" >&6; } 6774 6904 if test "$supported" = "yes" ; then 6775 6905 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 6776 6906 found="yes" ··· 6788 6918 6789 6919 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6790 6920 6791 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6792 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6921 + { 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 6922 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6793 6923 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 6794 - if eval \${$cacheid+:} false; then : 6795 - $as_echo_n "(cached) " >&6 6796 - else 6924 + if eval test \${$cacheid+y} 6925 + then : 6926 + printf %s "(cached) " >&6 6927 + else $as_nop 6797 6928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6798 6929 /* end confdefs.h. */ 6799 6930 int i; 6800 6931 int 6801 - main () 6932 + main (void) 6802 6933 { 6803 6934 6804 6935 ; 6805 6936 return 0; 6806 6937 } 6807 6938 _ACEOF 6808 - if ac_fn_c_try_link "$LINENO"; then : 6939 + if ac_fn_c_try_link "$LINENO" 6940 + then : 6809 6941 eval $cacheid=yes 6810 - else 6942 + else $as_nop 6811 6943 eval $cacheid=no 6812 6944 fi 6813 - rm -f core conftest.err conftest.$ac_objext \ 6945 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6814 6946 conftest$ac_exeext conftest.$ac_ext 6815 6947 fi 6816 6948 ··· 6818 6950 CFLAGS="$xorg_testset_save_CFLAGS" 6819 6951 6820 6952 eval supported=\$$cacheid 6821 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6822 - $as_echo "$supported" >&6; } 6953 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6954 + printf "%s\n" "$supported" >&6; } 6823 6955 if test "$supported" = "yes" ; then 6824 6956 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6825 6957 found="yes" ··· 6844 6976 6845 6977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6846 6978 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6847 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6848 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6849 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6850 - $as_echo_n "(cached) " >&6 6851 - else 6979 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6980 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6981 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6982 + then : 6983 + printf %s "(cached) " >&6 6984 + else $as_nop 6852 6985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6853 6986 /* end confdefs.h. */ 6854 6987 int i; 6855 6988 _ACEOF 6856 - if ac_fn_c_try_compile "$LINENO"; then : 6989 + if ac_fn_c_try_compile "$LINENO" 6990 + then : 6857 6991 xorg_cv_cc_flag_unknown_warning_option=yes 6858 - else 6992 + else $as_nop 6859 6993 xorg_cv_cc_flag_unknown_warning_option=no 6860 6994 fi 6861 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6995 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6862 6996 fi 6863 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6864 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6997 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6998 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6865 6999 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6866 7000 CFLAGS="$xorg_testset_save_CFLAGS" 6867 7001 fi ··· 6871 7005 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6872 7006 fi 6873 7007 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6874 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6875 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6876 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6877 - $as_echo_n "(cached) " >&6 6878 - else 7008 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7009 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7010 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7011 + then : 7012 + printf %s "(cached) " >&6 7013 + else $as_nop 6879 7014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6880 7015 /* end confdefs.h. */ 6881 7016 int i; 6882 7017 _ACEOF 6883 - if ac_fn_c_try_compile "$LINENO"; then : 7018 + if ac_fn_c_try_compile "$LINENO" 7019 + then : 6884 7020 xorg_cv_cc_flag_unused_command_line_argument=yes 6885 - else 7021 + else $as_nop 6886 7022 xorg_cv_cc_flag_unused_command_line_argument=no 6887 7023 fi 6888 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7024 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6889 7025 fi 6890 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6891 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7026 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7027 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6892 7028 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6893 7029 CFLAGS="$xorg_testset_save_CFLAGS" 6894 7030 fi ··· 6906 7042 6907 7043 CFLAGS="$CFLAGS -Werror=nonnull" 6908 7044 6909 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 6910 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 7045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 7046 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 6911 7047 cacheid=xorg_cv_cc_flag__Werror_nonnull 6912 - if eval \${$cacheid+:} false; then : 6913 - $as_echo_n "(cached) " >&6 6914 - else 7048 + if eval test \${$cacheid+y} 7049 + then : 7050 + printf %s "(cached) " >&6 7051 + else $as_nop 6915 7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6916 7053 /* end confdefs.h. */ 6917 7054 int i; 6918 7055 int 6919 - main () 7056 + main (void) 6920 7057 { 6921 7058 6922 7059 ; 6923 7060 return 0; 6924 7061 } 6925 7062 _ACEOF 6926 - if ac_fn_c_try_link "$LINENO"; then : 7063 + if ac_fn_c_try_link "$LINENO" 7064 + then : 6927 7065 eval $cacheid=yes 6928 - else 7066 + else $as_nop 6929 7067 eval $cacheid=no 6930 7068 fi 6931 - rm -f core conftest.err conftest.$ac_objext \ 7069 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6932 7070 conftest$ac_exeext conftest.$ac_ext 6933 7071 fi 6934 7072 ··· 6936 7074 CFLAGS="$xorg_testset_save_CFLAGS" 6937 7075 6938 7076 eval supported=\$$cacheid 6939 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6940 - $as_echo "$supported" >&6; } 7077 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7078 + printf "%s\n" "$supported" >&6; } 6941 7079 if test "$supported" = "yes" ; then 6942 7080 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 6943 7081 found="yes" ··· 6962 7100 6963 7101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6964 7102 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6965 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6966 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6967 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6968 - $as_echo_n "(cached) " >&6 6969 - else 7103 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7104 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7105 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7106 + then : 7107 + printf %s "(cached) " >&6 7108 + else $as_nop 6970 7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6971 7110 /* end confdefs.h. */ 6972 7111 int i; 6973 7112 _ACEOF 6974 - if ac_fn_c_try_compile "$LINENO"; then : 7113 + if ac_fn_c_try_compile "$LINENO" 7114 + then : 6975 7115 xorg_cv_cc_flag_unknown_warning_option=yes 6976 - else 7116 + else $as_nop 6977 7117 xorg_cv_cc_flag_unknown_warning_option=no 6978 7118 fi 6979 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7119 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6980 7120 fi 6981 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6982 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7121 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7122 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6983 7123 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6984 7124 CFLAGS="$xorg_testset_save_CFLAGS" 6985 7125 fi ··· 6989 7129 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6990 7130 fi 6991 7131 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6992 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6993 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6994 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6995 - $as_echo_n "(cached) " >&6 6996 - else 7132 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7133 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7134 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7135 + then : 7136 + printf %s "(cached) " >&6 7137 + else $as_nop 6997 7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6998 7139 /* end confdefs.h. */ 6999 7140 int i; 7000 7141 _ACEOF 7001 - if ac_fn_c_try_compile "$LINENO"; then : 7142 + if ac_fn_c_try_compile "$LINENO" 7143 + then : 7002 7144 xorg_cv_cc_flag_unused_command_line_argument=yes 7003 - else 7145 + else $as_nop 7004 7146 xorg_cv_cc_flag_unused_command_line_argument=no 7005 7147 fi 7006 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7148 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7007 7149 fi 7008 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7009 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7150 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7151 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7010 7152 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7011 7153 CFLAGS="$xorg_testset_save_CFLAGS" 7012 7154 fi ··· 7024 7166 7025 7167 CFLAGS="$CFLAGS -Werror=init-self" 7026 7168 7027 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7028 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 7169 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7170 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 7029 7171 cacheid=xorg_cv_cc_flag__Werror_init_self 7030 - if eval \${$cacheid+:} false; then : 7031 - $as_echo_n "(cached) " >&6 7032 - else 7172 + if eval test \${$cacheid+y} 7173 + then : 7174 + printf %s "(cached) " >&6 7175 + else $as_nop 7033 7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7034 7177 /* end confdefs.h. */ 7035 7178 int i; 7036 7179 int 7037 - main () 7180 + main (void) 7038 7181 { 7039 7182 7040 7183 ; 7041 7184 return 0; 7042 7185 } 7043 7186 _ACEOF 7044 - if ac_fn_c_try_link "$LINENO"; then : 7187 + if ac_fn_c_try_link "$LINENO" 7188 + then : 7045 7189 eval $cacheid=yes 7046 - else 7190 + else $as_nop 7047 7191 eval $cacheid=no 7048 7192 fi 7049 - rm -f core conftest.err conftest.$ac_objext \ 7193 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7050 7194 conftest$ac_exeext conftest.$ac_ext 7051 7195 fi 7052 7196 ··· 7054 7198 CFLAGS="$xorg_testset_save_CFLAGS" 7055 7199 7056 7200 eval supported=\$$cacheid 7057 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7058 - $as_echo "$supported" >&6; } 7201 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7202 + printf "%s\n" "$supported" >&6; } 7059 7203 if test "$supported" = "yes" ; then 7060 7204 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 7061 7205 found="yes" ··· 7080 7224 7081 7225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7082 7226 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7083 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7084 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7085 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7086 - $as_echo_n "(cached) " >&6 7087 - else 7227 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7228 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7229 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7230 + then : 7231 + printf %s "(cached) " >&6 7232 + else $as_nop 7088 7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7089 7234 /* end confdefs.h. */ 7090 7235 int i; 7091 7236 _ACEOF 7092 - if ac_fn_c_try_compile "$LINENO"; then : 7237 + if ac_fn_c_try_compile "$LINENO" 7238 + then : 7093 7239 xorg_cv_cc_flag_unknown_warning_option=yes 7094 - else 7240 + else $as_nop 7095 7241 xorg_cv_cc_flag_unknown_warning_option=no 7096 7242 fi 7097 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7243 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7098 7244 fi 7099 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7100 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7246 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7101 7247 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7102 7248 CFLAGS="$xorg_testset_save_CFLAGS" 7103 7249 fi ··· 7107 7253 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7108 7254 fi 7109 7255 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7110 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7111 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7112 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7113 - $as_echo_n "(cached) " >&6 7114 - else 7256 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7257 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7258 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7259 + then : 7260 + printf %s "(cached) " >&6 7261 + else $as_nop 7115 7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7116 7263 /* end confdefs.h. */ 7117 7264 int i; 7118 7265 _ACEOF 7119 - if ac_fn_c_try_compile "$LINENO"; then : 7266 + if ac_fn_c_try_compile "$LINENO" 7267 + then : 7120 7268 xorg_cv_cc_flag_unused_command_line_argument=yes 7121 - else 7269 + else $as_nop 7122 7270 xorg_cv_cc_flag_unused_command_line_argument=no 7123 7271 fi 7124 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7272 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7125 7273 fi 7126 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7127 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7275 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7128 7276 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7129 7277 CFLAGS="$xorg_testset_save_CFLAGS" 7130 7278 fi ··· 7142 7290 7143 7291 CFLAGS="$CFLAGS -Werror=main" 7144 7292 7145 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7146 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 7293 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7294 + printf %s "checking if $CC supports -Werror=main... " >&6; } 7147 7295 cacheid=xorg_cv_cc_flag__Werror_main 7148 - if eval \${$cacheid+:} false; then : 7149 - $as_echo_n "(cached) " >&6 7150 - else 7296 + if eval test \${$cacheid+y} 7297 + then : 7298 + printf %s "(cached) " >&6 7299 + else $as_nop 7151 7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7152 7301 /* end confdefs.h. */ 7153 7302 int i; 7154 7303 int 7155 - main () 7304 + main (void) 7156 7305 { 7157 7306 7158 7307 ; 7159 7308 return 0; 7160 7309 } 7161 7310 _ACEOF 7162 - if ac_fn_c_try_link "$LINENO"; then : 7311 + if ac_fn_c_try_link "$LINENO" 7312 + then : 7163 7313 eval $cacheid=yes 7164 - else 7314 + else $as_nop 7165 7315 eval $cacheid=no 7166 7316 fi 7167 - rm -f core conftest.err conftest.$ac_objext \ 7317 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7168 7318 conftest$ac_exeext conftest.$ac_ext 7169 7319 fi 7170 7320 ··· 7172 7322 CFLAGS="$xorg_testset_save_CFLAGS" 7173 7323 7174 7324 eval supported=\$$cacheid 7175 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7176 - $as_echo "$supported" >&6; } 7325 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7326 + printf "%s\n" "$supported" >&6; } 7177 7327 if test "$supported" = "yes" ; then 7178 7328 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 7179 7329 found="yes" ··· 7198 7348 7199 7349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7200 7350 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7201 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7202 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7203 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7204 - $as_echo_n "(cached) " >&6 7205 - else 7351 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7352 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7353 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7354 + then : 7355 + printf %s "(cached) " >&6 7356 + else $as_nop 7206 7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7207 7358 /* end confdefs.h. */ 7208 7359 int i; 7209 7360 _ACEOF 7210 - if ac_fn_c_try_compile "$LINENO"; then : 7361 + if ac_fn_c_try_compile "$LINENO" 7362 + then : 7211 7363 xorg_cv_cc_flag_unknown_warning_option=yes 7212 - else 7364 + else $as_nop 7213 7365 xorg_cv_cc_flag_unknown_warning_option=no 7214 7366 fi 7215 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7367 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7216 7368 fi 7217 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7218 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7369 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7370 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7219 7371 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7220 7372 CFLAGS="$xorg_testset_save_CFLAGS" 7221 7373 fi ··· 7225 7377 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7226 7378 fi 7227 7379 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7228 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7229 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7230 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7231 - $as_echo_n "(cached) " >&6 7232 - else 7380 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7381 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7382 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7383 + then : 7384 + printf %s "(cached) " >&6 7385 + else $as_nop 7233 7386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7234 7387 /* end confdefs.h. */ 7235 7388 int i; 7236 7389 _ACEOF 7237 - if ac_fn_c_try_compile "$LINENO"; then : 7390 + if ac_fn_c_try_compile "$LINENO" 7391 + then : 7238 7392 xorg_cv_cc_flag_unused_command_line_argument=yes 7239 - else 7393 + else $as_nop 7240 7394 xorg_cv_cc_flag_unused_command_line_argument=no 7241 7395 fi 7242 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7396 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7243 7397 fi 7244 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7245 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7398 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7399 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7246 7400 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7247 7401 CFLAGS="$xorg_testset_save_CFLAGS" 7248 7402 fi ··· 7260 7414 7261 7415 CFLAGS="$CFLAGS -Werror=missing-braces" 7262 7416 7263 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7264 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 7417 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7418 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 7265 7419 cacheid=xorg_cv_cc_flag__Werror_missing_braces 7266 - if eval \${$cacheid+:} false; then : 7267 - $as_echo_n "(cached) " >&6 7268 - else 7420 + if eval test \${$cacheid+y} 7421 + then : 7422 + printf %s "(cached) " >&6 7423 + else $as_nop 7269 7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7270 7425 /* end confdefs.h. */ 7271 7426 int i; 7272 7427 int 7273 - main () 7428 + main (void) 7274 7429 { 7275 7430 7276 7431 ; 7277 7432 return 0; 7278 7433 } 7279 7434 _ACEOF 7280 - if ac_fn_c_try_link "$LINENO"; then : 7435 + if ac_fn_c_try_link "$LINENO" 7436 + then : 7281 7437 eval $cacheid=yes 7282 - else 7438 + else $as_nop 7283 7439 eval $cacheid=no 7284 7440 fi 7285 - rm -f core conftest.err conftest.$ac_objext \ 7441 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7286 7442 conftest$ac_exeext conftest.$ac_ext 7287 7443 fi 7288 7444 ··· 7290 7446 CFLAGS="$xorg_testset_save_CFLAGS" 7291 7447 7292 7448 eval supported=\$$cacheid 7293 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7294 - $as_echo "$supported" >&6; } 7449 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7450 + printf "%s\n" "$supported" >&6; } 7295 7451 if test "$supported" = "yes" ; then 7296 7452 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 7297 7453 found="yes" ··· 7316 7472 7317 7473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7318 7474 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7319 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7320 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7321 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7322 - $as_echo_n "(cached) " >&6 7323 - else 7475 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7476 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7477 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7478 + then : 7479 + printf %s "(cached) " >&6 7480 + else $as_nop 7324 7481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7325 7482 /* end confdefs.h. */ 7326 7483 int i; 7327 7484 _ACEOF 7328 - if ac_fn_c_try_compile "$LINENO"; then : 7485 + if ac_fn_c_try_compile "$LINENO" 7486 + then : 7329 7487 xorg_cv_cc_flag_unknown_warning_option=yes 7330 - else 7488 + else $as_nop 7331 7489 xorg_cv_cc_flag_unknown_warning_option=no 7332 7490 fi 7333 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7491 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7334 7492 fi 7335 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7336 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7494 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7337 7495 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7338 7496 CFLAGS="$xorg_testset_save_CFLAGS" 7339 7497 fi ··· 7343 7501 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7344 7502 fi 7345 7503 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7346 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7347 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7348 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7349 - $as_echo_n "(cached) " >&6 7350 - else 7504 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7505 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7506 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7507 + then : 7508 + printf %s "(cached) " >&6 7509 + else $as_nop 7351 7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7352 7511 /* end confdefs.h. */ 7353 7512 int i; 7354 7513 _ACEOF 7355 - if ac_fn_c_try_compile "$LINENO"; then : 7514 + if ac_fn_c_try_compile "$LINENO" 7515 + then : 7356 7516 xorg_cv_cc_flag_unused_command_line_argument=yes 7357 - else 7517 + else $as_nop 7358 7518 xorg_cv_cc_flag_unused_command_line_argument=no 7359 7519 fi 7360 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7520 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7361 7521 fi 7362 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7363 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7522 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7523 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7364 7524 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7365 7525 CFLAGS="$xorg_testset_save_CFLAGS" 7366 7526 fi ··· 7378 7538 7379 7539 CFLAGS="$CFLAGS -Werror=sequence-point" 7380 7540 7381 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7382 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 7541 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7542 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 7383 7543 cacheid=xorg_cv_cc_flag__Werror_sequence_point 7384 - if eval \${$cacheid+:} false; then : 7385 - $as_echo_n "(cached) " >&6 7386 - else 7544 + if eval test \${$cacheid+y} 7545 + then : 7546 + printf %s "(cached) " >&6 7547 + else $as_nop 7387 7548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7388 7549 /* end confdefs.h. */ 7389 7550 int i; 7390 7551 int 7391 - main () 7552 + main (void) 7392 7553 { 7393 7554 7394 7555 ; 7395 7556 return 0; 7396 7557 } 7397 7558 _ACEOF 7398 - if ac_fn_c_try_link "$LINENO"; then : 7559 + if ac_fn_c_try_link "$LINENO" 7560 + then : 7399 7561 eval $cacheid=yes 7400 - else 7562 + else $as_nop 7401 7563 eval $cacheid=no 7402 7564 fi 7403 - rm -f core conftest.err conftest.$ac_objext \ 7565 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7404 7566 conftest$ac_exeext conftest.$ac_ext 7405 7567 fi 7406 7568 ··· 7408 7570 CFLAGS="$xorg_testset_save_CFLAGS" 7409 7571 7410 7572 eval supported=\$$cacheid 7411 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7412 - $as_echo "$supported" >&6; } 7573 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7574 + printf "%s\n" "$supported" >&6; } 7413 7575 if test "$supported" = "yes" ; then 7414 7576 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 7415 7577 found="yes" ··· 7434 7596 7435 7597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7436 7598 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7437 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7438 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7439 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7440 - $as_echo_n "(cached) " >&6 7441 - else 7599 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7600 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7601 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7602 + then : 7603 + printf %s "(cached) " >&6 7604 + else $as_nop 7442 7605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7443 7606 /* end confdefs.h. */ 7444 7607 int i; 7445 7608 _ACEOF 7446 - if ac_fn_c_try_compile "$LINENO"; then : 7609 + if ac_fn_c_try_compile "$LINENO" 7610 + then : 7447 7611 xorg_cv_cc_flag_unknown_warning_option=yes 7448 - else 7612 + else $as_nop 7449 7613 xorg_cv_cc_flag_unknown_warning_option=no 7450 7614 fi 7451 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7615 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7452 7616 fi 7453 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7454 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7617 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7618 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7455 7619 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7456 7620 CFLAGS="$xorg_testset_save_CFLAGS" 7457 7621 fi ··· 7461 7625 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7462 7626 fi 7463 7627 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7464 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7465 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7466 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7467 - $as_echo_n "(cached) " >&6 7468 - else 7628 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7629 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7630 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7631 + then : 7632 + printf %s "(cached) " >&6 7633 + else $as_nop 7469 7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7470 7635 /* end confdefs.h. */ 7471 7636 int i; 7472 7637 _ACEOF 7473 - if ac_fn_c_try_compile "$LINENO"; then : 7638 + if ac_fn_c_try_compile "$LINENO" 7639 + then : 7474 7640 xorg_cv_cc_flag_unused_command_line_argument=yes 7475 - else 7641 + else $as_nop 7476 7642 xorg_cv_cc_flag_unused_command_line_argument=no 7477 7643 fi 7478 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7644 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7479 7645 fi 7480 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7481 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7646 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7647 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7482 7648 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7483 7649 CFLAGS="$xorg_testset_save_CFLAGS" 7484 7650 fi ··· 7496 7662 7497 7663 CFLAGS="$CFLAGS -Werror=return-type" 7498 7664 7499 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7500 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 7665 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7666 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 7501 7667 cacheid=xorg_cv_cc_flag__Werror_return_type 7502 - if eval \${$cacheid+:} false; then : 7503 - $as_echo_n "(cached) " >&6 7504 - else 7668 + if eval test \${$cacheid+y} 7669 + then : 7670 + printf %s "(cached) " >&6 7671 + else $as_nop 7505 7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7506 7673 /* end confdefs.h. */ 7507 7674 int i; 7508 7675 int 7509 - main () 7676 + main (void) 7510 7677 { 7511 7678 7512 7679 ; 7513 7680 return 0; 7514 7681 } 7515 7682 _ACEOF 7516 - if ac_fn_c_try_link "$LINENO"; then : 7683 + if ac_fn_c_try_link "$LINENO" 7684 + then : 7517 7685 eval $cacheid=yes 7518 - else 7686 + else $as_nop 7519 7687 eval $cacheid=no 7520 7688 fi 7521 - rm -f core conftest.err conftest.$ac_objext \ 7689 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7522 7690 conftest$ac_exeext conftest.$ac_ext 7523 7691 fi 7524 7692 ··· 7526 7694 CFLAGS="$xorg_testset_save_CFLAGS" 7527 7695 7528 7696 eval supported=\$$cacheid 7529 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7530 - $as_echo "$supported" >&6; } 7697 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7698 + printf "%s\n" "$supported" >&6; } 7531 7699 if test "$supported" = "yes" ; then 7532 7700 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 7533 7701 found="yes" ··· 7545 7713 7546 7714 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7547 7715 7548 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7549 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7716 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7717 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7550 7718 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 7551 - if eval \${$cacheid+:} false; then : 7552 - $as_echo_n "(cached) " >&6 7553 - else 7719 + if eval test \${$cacheid+y} 7720 + then : 7721 + printf %s "(cached) " >&6 7722 + else $as_nop 7554 7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7555 7724 /* end confdefs.h. */ 7556 7725 int i; 7557 7726 int 7558 - main () 7727 + main (void) 7559 7728 { 7560 7729 7561 7730 ; 7562 7731 return 0; 7563 7732 } 7564 7733 _ACEOF 7565 - if ac_fn_c_try_link "$LINENO"; then : 7734 + if ac_fn_c_try_link "$LINENO" 7735 + then : 7566 7736 eval $cacheid=yes 7567 - else 7737 + else $as_nop 7568 7738 eval $cacheid=no 7569 7739 fi 7570 - rm -f core conftest.err conftest.$ac_objext \ 7740 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7571 7741 conftest$ac_exeext conftest.$ac_ext 7572 7742 fi 7573 7743 ··· 7575 7745 CFLAGS="$xorg_testset_save_CFLAGS" 7576 7746 7577 7747 eval supported=\$$cacheid 7578 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7579 - $as_echo "$supported" >&6; } 7748 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7749 + printf "%s\n" "$supported" >&6; } 7580 7750 if test "$supported" = "yes" ; then 7581 7751 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7582 7752 found="yes" ··· 7601 7771 7602 7772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7603 7773 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7604 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7605 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7606 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7607 - $as_echo_n "(cached) " >&6 7608 - else 7774 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7775 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7776 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7777 + then : 7778 + printf %s "(cached) " >&6 7779 + else $as_nop 7609 7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7610 7781 /* end confdefs.h. */ 7611 7782 int i; 7612 7783 _ACEOF 7613 - if ac_fn_c_try_compile "$LINENO"; then : 7784 + if ac_fn_c_try_compile "$LINENO" 7785 + then : 7614 7786 xorg_cv_cc_flag_unknown_warning_option=yes 7615 - else 7787 + else $as_nop 7616 7788 xorg_cv_cc_flag_unknown_warning_option=no 7617 7789 fi 7618 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7790 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7619 7791 fi 7620 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7621 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7792 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7793 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7622 7794 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7623 7795 CFLAGS="$xorg_testset_save_CFLAGS" 7624 7796 fi ··· 7628 7800 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7629 7801 fi 7630 7802 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7631 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7632 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7633 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7634 - $as_echo_n "(cached) " >&6 7635 - else 7803 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7804 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7805 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7806 + then : 7807 + printf %s "(cached) " >&6 7808 + else $as_nop 7636 7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7637 7810 /* end confdefs.h. */ 7638 7811 int i; 7639 7812 _ACEOF 7640 - if ac_fn_c_try_compile "$LINENO"; then : 7813 + if ac_fn_c_try_compile "$LINENO" 7814 + then : 7641 7815 xorg_cv_cc_flag_unused_command_line_argument=yes 7642 - else 7816 + else $as_nop 7643 7817 xorg_cv_cc_flag_unused_command_line_argument=no 7644 7818 fi 7645 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7819 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7646 7820 fi 7647 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7648 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7821 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7822 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7649 7823 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7650 7824 CFLAGS="$xorg_testset_save_CFLAGS" 7651 7825 fi ··· 7663 7837 7664 7838 CFLAGS="$CFLAGS -Werror=trigraphs" 7665 7839 7666 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7667 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 7840 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7841 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 7668 7842 cacheid=xorg_cv_cc_flag__Werror_trigraphs 7669 - if eval \${$cacheid+:} false; then : 7670 - $as_echo_n "(cached) " >&6 7671 - else 7843 + if eval test \${$cacheid+y} 7844 + then : 7845 + printf %s "(cached) " >&6 7846 + else $as_nop 7672 7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7673 7848 /* end confdefs.h. */ 7674 7849 int i; 7675 7850 int 7676 - main () 7851 + main (void) 7677 7852 { 7678 7853 7679 7854 ; 7680 7855 return 0; 7681 7856 } 7682 7857 _ACEOF 7683 - if ac_fn_c_try_link "$LINENO"; then : 7858 + if ac_fn_c_try_link "$LINENO" 7859 + then : 7684 7860 eval $cacheid=yes 7685 - else 7861 + else $as_nop 7686 7862 eval $cacheid=no 7687 7863 fi 7688 - rm -f core conftest.err conftest.$ac_objext \ 7864 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7689 7865 conftest$ac_exeext conftest.$ac_ext 7690 7866 fi 7691 7867 ··· 7693 7869 CFLAGS="$xorg_testset_save_CFLAGS" 7694 7870 7695 7871 eval supported=\$$cacheid 7696 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7697 - $as_echo "$supported" >&6; } 7872 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7873 + printf "%s\n" "$supported" >&6; } 7698 7874 if test "$supported" = "yes" ; then 7699 7875 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 7700 7876 found="yes" ··· 7719 7895 7720 7896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7721 7897 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7722 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7723 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7724 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7725 - $as_echo_n "(cached) " >&6 7726 - else 7898 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7899 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7900 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7901 + then : 7902 + printf %s "(cached) " >&6 7903 + else $as_nop 7727 7904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7728 7905 /* end confdefs.h. */ 7729 7906 int i; 7730 7907 _ACEOF 7731 - if ac_fn_c_try_compile "$LINENO"; then : 7908 + if ac_fn_c_try_compile "$LINENO" 7909 + then : 7732 7910 xorg_cv_cc_flag_unknown_warning_option=yes 7733 - else 7911 + else $as_nop 7734 7912 xorg_cv_cc_flag_unknown_warning_option=no 7735 7913 fi 7736 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7914 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7737 7915 fi 7738 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7739 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7916 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7917 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7740 7918 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7741 7919 CFLAGS="$xorg_testset_save_CFLAGS" 7742 7920 fi ··· 7746 7924 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7747 7925 fi 7748 7926 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7749 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7750 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7751 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7752 - $as_echo_n "(cached) " >&6 7753 - else 7927 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7928 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7929 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7930 + then : 7931 + printf %s "(cached) " >&6 7932 + else $as_nop 7754 7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7755 7934 /* end confdefs.h. */ 7756 7935 int i; 7757 7936 _ACEOF 7758 - if ac_fn_c_try_compile "$LINENO"; then : 7937 + if ac_fn_c_try_compile "$LINENO" 7938 + then : 7759 7939 xorg_cv_cc_flag_unused_command_line_argument=yes 7760 - else 7940 + else $as_nop 7761 7941 xorg_cv_cc_flag_unused_command_line_argument=no 7762 7942 fi 7763 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7943 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7764 7944 fi 7765 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7766 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7945 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7946 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7767 7947 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7768 7948 CFLAGS="$xorg_testset_save_CFLAGS" 7769 7949 fi ··· 7781 7961 7782 7962 CFLAGS="$CFLAGS -Werror=array-bounds" 7783 7963 7784 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7785 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 7964 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7965 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 7786 7966 cacheid=xorg_cv_cc_flag__Werror_array_bounds 7787 - if eval \${$cacheid+:} false; then : 7788 - $as_echo_n "(cached) " >&6 7789 - else 7967 + if eval test \${$cacheid+y} 7968 + then : 7969 + printf %s "(cached) " >&6 7970 + else $as_nop 7790 7971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7791 7972 /* end confdefs.h. */ 7792 7973 int i; 7793 7974 int 7794 - main () 7975 + main (void) 7795 7976 { 7796 7977 7797 7978 ; 7798 7979 return 0; 7799 7980 } 7800 7981 _ACEOF 7801 - if ac_fn_c_try_link "$LINENO"; then : 7982 + if ac_fn_c_try_link "$LINENO" 7983 + then : 7802 7984 eval $cacheid=yes 7803 - else 7985 + else $as_nop 7804 7986 eval $cacheid=no 7805 7987 fi 7806 - rm -f core conftest.err conftest.$ac_objext \ 7988 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7807 7989 conftest$ac_exeext conftest.$ac_ext 7808 7990 fi 7809 7991 ··· 7811 7993 CFLAGS="$xorg_testset_save_CFLAGS" 7812 7994 7813 7995 eval supported=\$$cacheid 7814 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7815 - $as_echo "$supported" >&6; } 7996 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7997 + printf "%s\n" "$supported" >&6; } 7816 7998 if test "$supported" = "yes" ; then 7817 7999 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 7818 8000 found="yes" ··· 7837 8019 7838 8020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7839 8021 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7840 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7841 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7842 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7843 - $as_echo_n "(cached) " >&6 7844 - else 8022 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8023 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8024 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8025 + then : 8026 + printf %s "(cached) " >&6 8027 + else $as_nop 7845 8028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7846 8029 /* end confdefs.h. */ 7847 8030 int i; 7848 8031 _ACEOF 7849 - if ac_fn_c_try_compile "$LINENO"; then : 8032 + if ac_fn_c_try_compile "$LINENO" 8033 + then : 7850 8034 xorg_cv_cc_flag_unknown_warning_option=yes 7851 - else 8035 + else $as_nop 7852 8036 xorg_cv_cc_flag_unknown_warning_option=no 7853 8037 fi 7854 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8038 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7855 8039 fi 7856 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7857 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8040 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8041 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7858 8042 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7859 8043 CFLAGS="$xorg_testset_save_CFLAGS" 7860 8044 fi ··· 7864 8048 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7865 8049 fi 7866 8050 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7867 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7868 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7869 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7870 - $as_echo_n "(cached) " >&6 7871 - else 8051 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8052 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8053 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8054 + then : 8055 + printf %s "(cached) " >&6 8056 + else $as_nop 7872 8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7873 8058 /* end confdefs.h. */ 7874 8059 int i; 7875 8060 _ACEOF 7876 - if ac_fn_c_try_compile "$LINENO"; then : 8061 + if ac_fn_c_try_compile "$LINENO" 8062 + then : 7877 8063 xorg_cv_cc_flag_unused_command_line_argument=yes 7878 - else 8064 + else $as_nop 7879 8065 xorg_cv_cc_flag_unused_command_line_argument=no 7880 8066 fi 7881 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8067 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7882 8068 fi 7883 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7884 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8069 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8070 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7885 8071 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7886 8072 CFLAGS="$xorg_testset_save_CFLAGS" 7887 8073 fi ··· 7899 8085 7900 8086 CFLAGS="$CFLAGS -Werror=write-strings" 7901 8087 7902 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 7903 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 8088 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 8089 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 7904 8090 cacheid=xorg_cv_cc_flag__Werror_write_strings 7905 - if eval \${$cacheid+:} false; then : 7906 - $as_echo_n "(cached) " >&6 7907 - else 8091 + if eval test \${$cacheid+y} 8092 + then : 8093 + printf %s "(cached) " >&6 8094 + else $as_nop 7908 8095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7909 8096 /* end confdefs.h. */ 7910 8097 int i; 7911 8098 int 7912 - main () 8099 + main (void) 7913 8100 { 7914 8101 7915 8102 ; 7916 8103 return 0; 7917 8104 } 7918 8105 _ACEOF 7919 - if ac_fn_c_try_link "$LINENO"; then : 8106 + if ac_fn_c_try_link "$LINENO" 8107 + then : 7920 8108 eval $cacheid=yes 7921 - else 8109 + else $as_nop 7922 8110 eval $cacheid=no 7923 8111 fi 7924 - rm -f core conftest.err conftest.$ac_objext \ 8112 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7925 8113 conftest$ac_exeext conftest.$ac_ext 7926 8114 fi 7927 8115 ··· 7929 8117 CFLAGS="$xorg_testset_save_CFLAGS" 7930 8118 7931 8119 eval supported=\$$cacheid 7932 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7933 - $as_echo "$supported" >&6; } 8120 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8121 + printf "%s\n" "$supported" >&6; } 7934 8122 if test "$supported" = "yes" ; then 7935 8123 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 7936 8124 found="yes" ··· 7955 8143 7956 8144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7957 8145 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7958 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7959 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7960 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7961 - $as_echo_n "(cached) " >&6 7962 - else 8146 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8147 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8148 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8149 + then : 8150 + printf %s "(cached) " >&6 8151 + else $as_nop 7963 8152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7964 8153 /* end confdefs.h. */ 7965 8154 int i; 7966 8155 _ACEOF 7967 - if ac_fn_c_try_compile "$LINENO"; then : 8156 + if ac_fn_c_try_compile "$LINENO" 8157 + then : 7968 8158 xorg_cv_cc_flag_unknown_warning_option=yes 7969 - else 8159 + else $as_nop 7970 8160 xorg_cv_cc_flag_unknown_warning_option=no 7971 8161 fi 7972 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8162 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7973 8163 fi 7974 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7975 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8165 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7976 8166 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7977 8167 CFLAGS="$xorg_testset_save_CFLAGS" 7978 8168 fi ··· 7982 8172 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7983 8173 fi 7984 8174 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7985 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7986 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7987 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7988 - $as_echo_n "(cached) " >&6 7989 - else 8175 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8176 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8177 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8178 + then : 8179 + printf %s "(cached) " >&6 8180 + else $as_nop 7990 8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7991 8182 /* end confdefs.h. */ 7992 8183 int i; 7993 8184 _ACEOF 7994 - if ac_fn_c_try_compile "$LINENO"; then : 8185 + if ac_fn_c_try_compile "$LINENO" 8186 + then : 7995 8187 xorg_cv_cc_flag_unused_command_line_argument=yes 7996 - else 8188 + else $as_nop 7997 8189 xorg_cv_cc_flag_unused_command_line_argument=no 7998 8190 fi 7999 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8191 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8000 8192 fi 8001 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8002 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8193 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8194 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8003 8195 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8004 8196 CFLAGS="$xorg_testset_save_CFLAGS" 8005 8197 fi ··· 8017 8209 8018 8210 CFLAGS="$CFLAGS -Werror=address" 8019 8211 8020 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8021 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 8212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8213 + printf %s "checking if $CC supports -Werror=address... " >&6; } 8022 8214 cacheid=xorg_cv_cc_flag__Werror_address 8023 - if eval \${$cacheid+:} false; then : 8024 - $as_echo_n "(cached) " >&6 8025 - else 8215 + if eval test \${$cacheid+y} 8216 + then : 8217 + printf %s "(cached) " >&6 8218 + else $as_nop 8026 8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8027 8220 /* end confdefs.h. */ 8028 8221 int i; 8029 8222 int 8030 - main () 8223 + main (void) 8031 8224 { 8032 8225 8033 8226 ; 8034 8227 return 0; 8035 8228 } 8036 8229 _ACEOF 8037 - if ac_fn_c_try_link "$LINENO"; then : 8230 + if ac_fn_c_try_link "$LINENO" 8231 + then : 8038 8232 eval $cacheid=yes 8039 - else 8233 + else $as_nop 8040 8234 eval $cacheid=no 8041 8235 fi 8042 - rm -f core conftest.err conftest.$ac_objext \ 8236 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8043 8237 conftest$ac_exeext conftest.$ac_ext 8044 8238 fi 8045 8239 ··· 8047 8241 CFLAGS="$xorg_testset_save_CFLAGS" 8048 8242 8049 8243 eval supported=\$$cacheid 8050 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8051 - $as_echo "$supported" >&6; } 8244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8245 + printf "%s\n" "$supported" >&6; } 8052 8246 if test "$supported" = "yes" ; then 8053 8247 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 8054 8248 found="yes" ··· 8073 8267 8074 8268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8075 8269 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8076 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8077 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8078 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8079 - $as_echo_n "(cached) " >&6 8080 - else 8270 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8271 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8272 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8273 + then : 8274 + printf %s "(cached) " >&6 8275 + else $as_nop 8081 8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8082 8277 /* end confdefs.h. */ 8083 8278 int i; 8084 8279 _ACEOF 8085 - if ac_fn_c_try_compile "$LINENO"; then : 8280 + if ac_fn_c_try_compile "$LINENO" 8281 + then : 8086 8282 xorg_cv_cc_flag_unknown_warning_option=yes 8087 - else 8283 + else $as_nop 8088 8284 xorg_cv_cc_flag_unknown_warning_option=no 8089 8285 fi 8090 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8286 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8091 8287 fi 8092 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8093 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8288 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8289 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8094 8290 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8095 8291 CFLAGS="$xorg_testset_save_CFLAGS" 8096 8292 fi ··· 8100 8296 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8101 8297 fi 8102 8298 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8103 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8104 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8105 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8106 - $as_echo_n "(cached) " >&6 8107 - else 8299 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8300 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8301 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8302 + then : 8303 + printf %s "(cached) " >&6 8304 + else $as_nop 8108 8305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8109 8306 /* end confdefs.h. */ 8110 8307 int i; 8111 8308 _ACEOF 8112 - if ac_fn_c_try_compile "$LINENO"; then : 8309 + if ac_fn_c_try_compile "$LINENO" 8310 + then : 8113 8311 xorg_cv_cc_flag_unused_command_line_argument=yes 8114 - else 8312 + else $as_nop 8115 8313 xorg_cv_cc_flag_unused_command_line_argument=no 8116 8314 fi 8117 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8315 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8118 8316 fi 8119 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8120 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8317 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8318 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8121 8319 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8122 8320 CFLAGS="$xorg_testset_save_CFLAGS" 8123 8321 fi ··· 8135 8333 8136 8334 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 8137 8335 8138 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8139 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8337 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8140 8338 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 8141 - if eval \${$cacheid+:} false; then : 8142 - $as_echo_n "(cached) " >&6 8143 - else 8339 + if eval test \${$cacheid+y} 8340 + then : 8341 + printf %s "(cached) " >&6 8342 + else $as_nop 8144 8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8145 8344 /* end confdefs.h. */ 8146 8345 int i; 8147 8346 int 8148 - main () 8347 + main (void) 8149 8348 { 8150 8349 8151 8350 ; 8152 8351 return 0; 8153 8352 } 8154 8353 _ACEOF 8155 - if ac_fn_c_try_link "$LINENO"; then : 8354 + if ac_fn_c_try_link "$LINENO" 8355 + then : 8156 8356 eval $cacheid=yes 8157 - else 8357 + else $as_nop 8158 8358 eval $cacheid=no 8159 8359 fi 8160 - rm -f core conftest.err conftest.$ac_objext \ 8360 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8161 8361 conftest$ac_exeext conftest.$ac_ext 8162 8362 fi 8163 8363 ··· 8165 8365 CFLAGS="$xorg_testset_save_CFLAGS" 8166 8366 8167 8367 eval supported=\$$cacheid 8168 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8169 - $as_echo "$supported" >&6; } 8368 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8369 + printf "%s\n" "$supported" >&6; } 8170 8370 if test "$supported" = "yes" ; then 8171 8371 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 8172 8372 found="yes" ··· 8184 8384 8185 8385 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8186 8386 8187 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8188 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8388 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8189 8389 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 8190 - if eval \${$cacheid+:} false; then : 8191 - $as_echo_n "(cached) " >&6 8192 - else 8390 + if eval test \${$cacheid+y} 8391 + then : 8392 + printf %s "(cached) " >&6 8393 + else $as_nop 8193 8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8194 8395 /* end confdefs.h. */ 8195 8396 int i; 8196 8397 int 8197 - main () 8398 + main (void) 8198 8399 { 8199 8400 8200 8401 ; 8201 8402 return 0; 8202 8403 } 8203 8404 _ACEOF 8204 - if ac_fn_c_try_link "$LINENO"; then : 8405 + if ac_fn_c_try_link "$LINENO" 8406 + then : 8205 8407 eval $cacheid=yes 8206 - else 8408 + else $as_nop 8207 8409 eval $cacheid=no 8208 8410 fi 8209 - rm -f core conftest.err conftest.$ac_objext \ 8411 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8210 8412 conftest$ac_exeext conftest.$ac_ext 8211 8413 fi 8212 8414 ··· 8214 8416 CFLAGS="$xorg_testset_save_CFLAGS" 8215 8417 8216 8418 eval supported=\$$cacheid 8217 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8218 - $as_echo "$supported" >&6; } 8419 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8420 + printf "%s\n" "$supported" >&6; } 8219 8421 if test "$supported" = "yes" ; then 8220 8422 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8221 8423 found="yes" ··· 8240 8442 8241 8443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8242 8444 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8243 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8244 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8245 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8246 - $as_echo_n "(cached) " >&6 8247 - else 8445 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8446 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8447 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8448 + then : 8449 + printf %s "(cached) " >&6 8450 + else $as_nop 8248 8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8249 8452 /* end confdefs.h. */ 8250 8453 int i; 8251 8454 _ACEOF 8252 - if ac_fn_c_try_compile "$LINENO"; then : 8455 + if ac_fn_c_try_compile "$LINENO" 8456 + then : 8253 8457 xorg_cv_cc_flag_unknown_warning_option=yes 8254 - else 8458 + else $as_nop 8255 8459 xorg_cv_cc_flag_unknown_warning_option=no 8256 8460 fi 8257 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8461 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8258 8462 fi 8259 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8260 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8464 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8261 8465 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8262 8466 CFLAGS="$xorg_testset_save_CFLAGS" 8263 8467 fi ··· 8267 8471 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8268 8472 fi 8269 8473 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8270 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8271 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8272 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8273 - $as_echo_n "(cached) " >&6 8274 - else 8474 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8475 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8476 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8477 + then : 8478 + printf %s "(cached) " >&6 8479 + else $as_nop 8275 8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8276 8481 /* end confdefs.h. */ 8277 8482 int i; 8278 8483 _ACEOF 8279 - if ac_fn_c_try_compile "$LINENO"; then : 8484 + if ac_fn_c_try_compile "$LINENO" 8485 + then : 8280 8486 xorg_cv_cc_flag_unused_command_line_argument=yes 8281 - else 8487 + else $as_nop 8282 8488 xorg_cv_cc_flag_unused_command_line_argument=no 8283 8489 fi 8284 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8490 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8285 8491 fi 8286 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8287 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8492 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8493 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8288 8494 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8289 8495 CFLAGS="$xorg_testset_save_CFLAGS" 8290 8496 fi ··· 8302 8508 8303 8509 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 8304 8510 8305 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8306 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8512 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8307 8513 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 8308 - if eval \${$cacheid+:} false; then : 8309 - $as_echo_n "(cached) " >&6 8310 - else 8514 + if eval test \${$cacheid+y} 8515 + then : 8516 + printf %s "(cached) " >&6 8517 + else $as_nop 8311 8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8312 8519 /* end confdefs.h. */ 8313 8520 int i; 8314 8521 int 8315 - main () 8522 + main (void) 8316 8523 { 8317 8524 8318 8525 ; 8319 8526 return 0; 8320 8527 } 8321 8528 _ACEOF 8322 - if ac_fn_c_try_link "$LINENO"; then : 8529 + if ac_fn_c_try_link "$LINENO" 8530 + then : 8323 8531 eval $cacheid=yes 8324 - else 8532 + else $as_nop 8325 8533 eval $cacheid=no 8326 8534 fi 8327 - rm -f core conftest.err conftest.$ac_objext \ 8535 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8328 8536 conftest$ac_exeext conftest.$ac_ext 8329 8537 fi 8330 8538 ··· 8332 8540 CFLAGS="$xorg_testset_save_CFLAGS" 8333 8541 8334 8542 eval supported=\$$cacheid 8335 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8336 - $as_echo "$supported" >&6; } 8543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8544 + printf "%s\n" "$supported" >&6; } 8337 8545 if test "$supported" = "yes" ; then 8338 8546 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 8339 8547 found="yes" ··· 8342 8550 8343 8551 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 8344 8552 else 8345 - { $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 8346 - $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;} 8553 + { 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 8554 + 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;} 8347 8555 8348 8556 8349 8557 ··· 8361 8569 8362 8570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8363 8571 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8364 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8365 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8366 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8367 - $as_echo_n "(cached) " >&6 8368 - else 8572 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8573 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8574 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8575 + then : 8576 + printf %s "(cached) " >&6 8577 + else $as_nop 8369 8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8370 8579 /* end confdefs.h. */ 8371 8580 int i; 8372 8581 _ACEOF 8373 - if ac_fn_c_try_compile "$LINENO"; then : 8582 + if ac_fn_c_try_compile "$LINENO" 8583 + then : 8374 8584 xorg_cv_cc_flag_unknown_warning_option=yes 8375 - else 8585 + else $as_nop 8376 8586 xorg_cv_cc_flag_unknown_warning_option=no 8377 8587 fi 8378 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8588 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8379 8589 fi 8380 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8381 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8591 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8382 8592 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8383 8593 CFLAGS="$xorg_testset_save_CFLAGS" 8384 8594 fi ··· 8388 8598 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8389 8599 fi 8390 8600 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8391 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8392 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8393 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8394 - $as_echo_n "(cached) " >&6 8395 - else 8601 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8602 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8603 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8604 + then : 8605 + printf %s "(cached) " >&6 8606 + else $as_nop 8396 8607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8397 8608 /* end confdefs.h. */ 8398 8609 int i; 8399 8610 _ACEOF 8400 - if ac_fn_c_try_compile "$LINENO"; then : 8611 + if ac_fn_c_try_compile "$LINENO" 8612 + then : 8401 8613 xorg_cv_cc_flag_unused_command_line_argument=yes 8402 - else 8614 + else $as_nop 8403 8615 xorg_cv_cc_flag_unused_command_line_argument=no 8404 8616 fi 8405 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8617 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8406 8618 fi 8407 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8408 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8619 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8620 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8409 8621 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8410 8622 CFLAGS="$xorg_testset_save_CFLAGS" 8411 8623 fi ··· 8423 8635 8424 8636 CFLAGS="$CFLAGS -Wimplicit" 8425 8637 8426 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8427 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 8638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8639 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 8428 8640 cacheid=xorg_cv_cc_flag__Wimplicit 8429 - if eval \${$cacheid+:} false; then : 8430 - $as_echo_n "(cached) " >&6 8431 - else 8641 + if eval test \${$cacheid+y} 8642 + then : 8643 + printf %s "(cached) " >&6 8644 + else $as_nop 8432 8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8433 8646 /* end confdefs.h. */ 8434 8647 int i; 8435 8648 int 8436 - main () 8649 + main (void) 8437 8650 { 8438 8651 8439 8652 ; 8440 8653 return 0; 8441 8654 } 8442 8655 _ACEOF 8443 - if ac_fn_c_try_link "$LINENO"; then : 8656 + if ac_fn_c_try_link "$LINENO" 8657 + then : 8444 8658 eval $cacheid=yes 8445 - else 8659 + else $as_nop 8446 8660 eval $cacheid=no 8447 8661 fi 8448 - rm -f core conftest.err conftest.$ac_objext \ 8662 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8449 8663 conftest$ac_exeext conftest.$ac_ext 8450 8664 fi 8451 8665 ··· 8453 8667 CFLAGS="$xorg_testset_save_CFLAGS" 8454 8668 8455 8669 eval supported=\$$cacheid 8456 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8457 - $as_echo "$supported" >&6; } 8670 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8671 + printf "%s\n" "$supported" >&6; } 8458 8672 if test "$supported" = "yes" ; then 8459 8673 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 8460 8674 found="yes" ··· 8479 8693 8480 8694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8481 8695 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8482 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8483 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8484 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8485 - $as_echo_n "(cached) " >&6 8486 - else 8696 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8697 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8698 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8699 + then : 8700 + printf %s "(cached) " >&6 8701 + else $as_nop 8487 8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8488 8703 /* end confdefs.h. */ 8489 8704 int i; 8490 8705 _ACEOF 8491 - if ac_fn_c_try_compile "$LINENO"; then : 8706 + if ac_fn_c_try_compile "$LINENO" 8707 + then : 8492 8708 xorg_cv_cc_flag_unknown_warning_option=yes 8493 - else 8709 + else $as_nop 8494 8710 xorg_cv_cc_flag_unknown_warning_option=no 8495 8711 fi 8496 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8712 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8497 8713 fi 8498 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8499 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8715 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8500 8716 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8501 8717 CFLAGS="$xorg_testset_save_CFLAGS" 8502 8718 fi ··· 8506 8722 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8507 8723 fi 8508 8724 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8509 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8510 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8511 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8512 - $as_echo_n "(cached) " >&6 8513 - else 8725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8726 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8727 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8728 + then : 8729 + printf %s "(cached) " >&6 8730 + else $as_nop 8514 8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8515 8732 /* end confdefs.h. */ 8516 8733 int i; 8517 8734 _ACEOF 8518 - if ac_fn_c_try_compile "$LINENO"; then : 8735 + if ac_fn_c_try_compile "$LINENO" 8736 + then : 8519 8737 xorg_cv_cc_flag_unused_command_line_argument=yes 8520 - else 8738 + else $as_nop 8521 8739 xorg_cv_cc_flag_unused_command_line_argument=no 8522 8740 fi 8523 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8741 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8524 8742 fi 8525 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8526 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8744 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8527 8745 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8528 8746 CFLAGS="$xorg_testset_save_CFLAGS" 8529 8747 fi ··· 8541 8759 8542 8760 CFLAGS="$CFLAGS -Wnonnull" 8543 8761 8544 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8545 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 8762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8763 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 8546 8764 cacheid=xorg_cv_cc_flag__Wnonnull 8547 - if eval \${$cacheid+:} false; then : 8548 - $as_echo_n "(cached) " >&6 8549 - else 8765 + if eval test \${$cacheid+y} 8766 + then : 8767 + printf %s "(cached) " >&6 8768 + else $as_nop 8550 8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8551 8770 /* end confdefs.h. */ 8552 8771 int i; 8553 8772 int 8554 - main () 8773 + main (void) 8555 8774 { 8556 8775 8557 8776 ; 8558 8777 return 0; 8559 8778 } 8560 8779 _ACEOF 8561 - if ac_fn_c_try_link "$LINENO"; then : 8780 + if ac_fn_c_try_link "$LINENO" 8781 + then : 8562 8782 eval $cacheid=yes 8563 - else 8783 + else $as_nop 8564 8784 eval $cacheid=no 8565 8785 fi 8566 - rm -f core conftest.err conftest.$ac_objext \ 8786 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8567 8787 conftest$ac_exeext conftest.$ac_ext 8568 8788 fi 8569 8789 ··· 8571 8791 CFLAGS="$xorg_testset_save_CFLAGS" 8572 8792 8573 8793 eval supported=\$$cacheid 8574 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8575 - $as_echo "$supported" >&6; } 8794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8795 + printf "%s\n" "$supported" >&6; } 8576 8796 if test "$supported" = "yes" ; then 8577 8797 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 8578 8798 found="yes" ··· 8597 8817 8598 8818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8599 8819 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8600 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8601 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8602 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8603 - $as_echo_n "(cached) " >&6 8604 - else 8820 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8821 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8822 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8823 + then : 8824 + printf %s "(cached) " >&6 8825 + else $as_nop 8605 8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8606 8827 /* end confdefs.h. */ 8607 8828 int i; 8608 8829 _ACEOF 8609 - if ac_fn_c_try_compile "$LINENO"; then : 8830 + if ac_fn_c_try_compile "$LINENO" 8831 + then : 8610 8832 xorg_cv_cc_flag_unknown_warning_option=yes 8611 - else 8833 + else $as_nop 8612 8834 xorg_cv_cc_flag_unknown_warning_option=no 8613 8835 fi 8614 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8836 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8615 8837 fi 8616 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8617 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8839 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8618 8840 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8619 8841 CFLAGS="$xorg_testset_save_CFLAGS" 8620 8842 fi ··· 8624 8846 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8625 8847 fi 8626 8848 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8627 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8628 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8629 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8630 - $as_echo_n "(cached) " >&6 8631 - else 8849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8850 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8851 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8852 + then : 8853 + printf %s "(cached) " >&6 8854 + else $as_nop 8632 8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8633 8856 /* end confdefs.h. */ 8634 8857 int i; 8635 8858 _ACEOF 8636 - if ac_fn_c_try_compile "$LINENO"; then : 8859 + if ac_fn_c_try_compile "$LINENO" 8860 + then : 8637 8861 xorg_cv_cc_flag_unused_command_line_argument=yes 8638 - else 8862 + else $as_nop 8639 8863 xorg_cv_cc_flag_unused_command_line_argument=no 8640 8864 fi 8641 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8865 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8642 8866 fi 8643 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8644 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8868 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8645 8869 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8646 8870 CFLAGS="$xorg_testset_save_CFLAGS" 8647 8871 fi ··· 8659 8883 8660 8884 CFLAGS="$CFLAGS -Winit-self" 8661 8885 8662 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8663 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 8886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8887 + printf %s "checking if $CC supports -Winit-self... " >&6; } 8664 8888 cacheid=xorg_cv_cc_flag__Winit_self 8665 - if eval \${$cacheid+:} false; then : 8666 - $as_echo_n "(cached) " >&6 8667 - else 8889 + if eval test \${$cacheid+y} 8890 + then : 8891 + printf %s "(cached) " >&6 8892 + else $as_nop 8668 8893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8669 8894 /* end confdefs.h. */ 8670 8895 int i; 8671 8896 int 8672 - main () 8897 + main (void) 8673 8898 { 8674 8899 8675 8900 ; 8676 8901 return 0; 8677 8902 } 8678 8903 _ACEOF 8679 - if ac_fn_c_try_link "$LINENO"; then : 8904 + if ac_fn_c_try_link "$LINENO" 8905 + then : 8680 8906 eval $cacheid=yes 8681 - else 8907 + else $as_nop 8682 8908 eval $cacheid=no 8683 8909 fi 8684 - rm -f core conftest.err conftest.$ac_objext \ 8910 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8685 8911 conftest$ac_exeext conftest.$ac_ext 8686 8912 fi 8687 8913 ··· 8689 8915 CFLAGS="$xorg_testset_save_CFLAGS" 8690 8916 8691 8917 eval supported=\$$cacheid 8692 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8693 - $as_echo "$supported" >&6; } 8918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8919 + printf "%s\n" "$supported" >&6; } 8694 8920 if test "$supported" = "yes" ; then 8695 8921 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 8696 8922 found="yes" ··· 8715 8941 8716 8942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8717 8943 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8718 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8719 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8720 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8721 - $as_echo_n "(cached) " >&6 8722 - else 8944 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8945 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8946 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8947 + then : 8948 + printf %s "(cached) " >&6 8949 + else $as_nop 8723 8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8724 8951 /* end confdefs.h. */ 8725 8952 int i; 8726 8953 _ACEOF 8727 - if ac_fn_c_try_compile "$LINENO"; then : 8954 + if ac_fn_c_try_compile "$LINENO" 8955 + then : 8728 8956 xorg_cv_cc_flag_unknown_warning_option=yes 8729 - else 8957 + else $as_nop 8730 8958 xorg_cv_cc_flag_unknown_warning_option=no 8731 8959 fi 8732 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8960 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8733 8961 fi 8734 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8735 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8963 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8736 8964 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8737 8965 CFLAGS="$xorg_testset_save_CFLAGS" 8738 8966 fi ··· 8742 8970 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8743 8971 fi 8744 8972 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8745 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8746 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8747 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8748 - $as_echo_n "(cached) " >&6 8749 - else 8973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8974 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8975 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8976 + then : 8977 + printf %s "(cached) " >&6 8978 + else $as_nop 8750 8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8751 8980 /* end confdefs.h. */ 8752 8981 int i; 8753 8982 _ACEOF 8754 - if ac_fn_c_try_compile "$LINENO"; then : 8983 + if ac_fn_c_try_compile "$LINENO" 8984 + then : 8755 8985 xorg_cv_cc_flag_unused_command_line_argument=yes 8756 - else 8986 + else $as_nop 8757 8987 xorg_cv_cc_flag_unused_command_line_argument=no 8758 8988 fi 8759 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8989 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8760 8990 fi 8761 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8762 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8991 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8992 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8763 8993 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8764 8994 CFLAGS="$xorg_testset_save_CFLAGS" 8765 8995 fi ··· 8777 9007 8778 9008 CFLAGS="$CFLAGS -Wmain" 8779 9009 8780 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 8781 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 9010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 9011 + printf %s "checking if $CC supports -Wmain... " >&6; } 8782 9012 cacheid=xorg_cv_cc_flag__Wmain 8783 - if eval \${$cacheid+:} false; then : 8784 - $as_echo_n "(cached) " >&6 8785 - else 9013 + if eval test \${$cacheid+y} 9014 + then : 9015 + printf %s "(cached) " >&6 9016 + else $as_nop 8786 9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8787 9018 /* end confdefs.h. */ 8788 9019 int i; 8789 9020 int 8790 - main () 9021 + main (void) 8791 9022 { 8792 9023 8793 9024 ; 8794 9025 return 0; 8795 9026 } 8796 9027 _ACEOF 8797 - if ac_fn_c_try_link "$LINENO"; then : 9028 + if ac_fn_c_try_link "$LINENO" 9029 + then : 8798 9030 eval $cacheid=yes 8799 - else 9031 + else $as_nop 8800 9032 eval $cacheid=no 8801 9033 fi 8802 - rm -f core conftest.err conftest.$ac_objext \ 9034 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8803 9035 conftest$ac_exeext conftest.$ac_ext 8804 9036 fi 8805 9037 ··· 8807 9039 CFLAGS="$xorg_testset_save_CFLAGS" 8808 9040 8809 9041 eval supported=\$$cacheid 8810 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8811 - $as_echo "$supported" >&6; } 9042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9043 + printf "%s\n" "$supported" >&6; } 8812 9044 if test "$supported" = "yes" ; then 8813 9045 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 8814 9046 found="yes" ··· 8833 9065 8834 9066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8835 9067 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8836 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8837 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8838 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8839 - $as_echo_n "(cached) " >&6 8840 - else 9068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9069 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9070 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9071 + then : 9072 + printf %s "(cached) " >&6 9073 + else $as_nop 8841 9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8842 9075 /* end confdefs.h. */ 8843 9076 int i; 8844 9077 _ACEOF 8845 - if ac_fn_c_try_compile "$LINENO"; then : 9078 + if ac_fn_c_try_compile "$LINENO" 9079 + then : 8846 9080 xorg_cv_cc_flag_unknown_warning_option=yes 8847 - else 9081 + else $as_nop 8848 9082 xorg_cv_cc_flag_unknown_warning_option=no 8849 9083 fi 8850 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9084 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8851 9085 fi 8852 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8853 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9087 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8854 9088 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8855 9089 CFLAGS="$xorg_testset_save_CFLAGS" 8856 9090 fi ··· 8860 9094 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8861 9095 fi 8862 9096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8863 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8864 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8865 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8866 - $as_echo_n "(cached) " >&6 8867 - else 9097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9098 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9099 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9100 + then : 9101 + printf %s "(cached) " >&6 9102 + else $as_nop 8868 9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8869 9104 /* end confdefs.h. */ 8870 9105 int i; 8871 9106 _ACEOF 8872 - if ac_fn_c_try_compile "$LINENO"; then : 9107 + if ac_fn_c_try_compile "$LINENO" 9108 + then : 8873 9109 xorg_cv_cc_flag_unused_command_line_argument=yes 8874 - else 9110 + else $as_nop 8875 9111 xorg_cv_cc_flag_unused_command_line_argument=no 8876 9112 fi 8877 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9113 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8878 9114 fi 8879 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8880 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9116 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8881 9117 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8882 9118 CFLAGS="$xorg_testset_save_CFLAGS" 8883 9119 fi ··· 8895 9131 8896 9132 CFLAGS="$CFLAGS -Wmissing-braces" 8897 9133 8898 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 8899 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 9134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 9135 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 8900 9136 cacheid=xorg_cv_cc_flag__Wmissing_braces 8901 - if eval \${$cacheid+:} false; then : 8902 - $as_echo_n "(cached) " >&6 8903 - else 9137 + if eval test \${$cacheid+y} 9138 + then : 9139 + printf %s "(cached) " >&6 9140 + else $as_nop 8904 9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8905 9142 /* end confdefs.h. */ 8906 9143 int i; 8907 9144 int 8908 - main () 9145 + main (void) 8909 9146 { 8910 9147 8911 9148 ; 8912 9149 return 0; 8913 9150 } 8914 9151 _ACEOF 8915 - if ac_fn_c_try_link "$LINENO"; then : 9152 + if ac_fn_c_try_link "$LINENO" 9153 + then : 8916 9154 eval $cacheid=yes 8917 - else 9155 + else $as_nop 8918 9156 eval $cacheid=no 8919 9157 fi 8920 - rm -f core conftest.err conftest.$ac_objext \ 9158 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8921 9159 conftest$ac_exeext conftest.$ac_ext 8922 9160 fi 8923 9161 ··· 8925 9163 CFLAGS="$xorg_testset_save_CFLAGS" 8926 9164 8927 9165 eval supported=\$$cacheid 8928 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8929 - $as_echo "$supported" >&6; } 9166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9167 + printf "%s\n" "$supported" >&6; } 8930 9168 if test "$supported" = "yes" ; then 8931 9169 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 8932 9170 found="yes" ··· 8951 9189 8952 9190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8953 9191 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8954 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8955 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8956 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8957 - $as_echo_n "(cached) " >&6 8958 - else 9192 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9193 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9194 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9195 + then : 9196 + printf %s "(cached) " >&6 9197 + else $as_nop 8959 9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8960 9199 /* end confdefs.h. */ 8961 9200 int i; 8962 9201 _ACEOF 8963 - if ac_fn_c_try_compile "$LINENO"; then : 9202 + if ac_fn_c_try_compile "$LINENO" 9203 + then : 8964 9204 xorg_cv_cc_flag_unknown_warning_option=yes 8965 - else 9205 + else $as_nop 8966 9206 xorg_cv_cc_flag_unknown_warning_option=no 8967 9207 fi 8968 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9208 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8969 9209 fi 8970 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8971 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9210 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9211 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8972 9212 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8973 9213 CFLAGS="$xorg_testset_save_CFLAGS" 8974 9214 fi ··· 8978 9218 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8979 9219 fi 8980 9220 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8981 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8982 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8983 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8984 - $as_echo_n "(cached) " >&6 8985 - else 9221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9222 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9223 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9224 + then : 9225 + printf %s "(cached) " >&6 9226 + else $as_nop 8986 9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8987 9228 /* end confdefs.h. */ 8988 9229 int i; 8989 9230 _ACEOF 8990 - if ac_fn_c_try_compile "$LINENO"; then : 9231 + if ac_fn_c_try_compile "$LINENO" 9232 + then : 8991 9233 xorg_cv_cc_flag_unused_command_line_argument=yes 8992 - else 9234 + else $as_nop 8993 9235 xorg_cv_cc_flag_unused_command_line_argument=no 8994 9236 fi 8995 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9237 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8996 9238 fi 8997 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8998 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9239 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9240 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8999 9241 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9000 9242 CFLAGS="$xorg_testset_save_CFLAGS" 9001 9243 fi ··· 9013 9255 9014 9256 CFLAGS="$CFLAGS -Wsequence-point" 9015 9257 9016 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9017 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 9258 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9259 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 9018 9260 cacheid=xorg_cv_cc_flag__Wsequence_point 9019 - if eval \${$cacheid+:} false; then : 9020 - $as_echo_n "(cached) " >&6 9021 - else 9261 + if eval test \${$cacheid+y} 9262 + then : 9263 + printf %s "(cached) " >&6 9264 + else $as_nop 9022 9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9023 9266 /* end confdefs.h. */ 9024 9267 int i; 9025 9268 int 9026 - main () 9269 + main (void) 9027 9270 { 9028 9271 9029 9272 ; 9030 9273 return 0; 9031 9274 } 9032 9275 _ACEOF 9033 - if ac_fn_c_try_link "$LINENO"; then : 9276 + if ac_fn_c_try_link "$LINENO" 9277 + then : 9034 9278 eval $cacheid=yes 9035 - else 9279 + else $as_nop 9036 9280 eval $cacheid=no 9037 9281 fi 9038 - rm -f core conftest.err conftest.$ac_objext \ 9282 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9039 9283 conftest$ac_exeext conftest.$ac_ext 9040 9284 fi 9041 9285 ··· 9043 9287 CFLAGS="$xorg_testset_save_CFLAGS" 9044 9288 9045 9289 eval supported=\$$cacheid 9046 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9047 - $as_echo "$supported" >&6; } 9290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9291 + printf "%s\n" "$supported" >&6; } 9048 9292 if test "$supported" = "yes" ; then 9049 9293 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 9050 9294 found="yes" ··· 9069 9313 9070 9314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9071 9315 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9072 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9073 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9074 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9075 - $as_echo_n "(cached) " >&6 9076 - else 9316 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9317 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9318 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9319 + then : 9320 + printf %s "(cached) " >&6 9321 + else $as_nop 9077 9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9078 9323 /* end confdefs.h. */ 9079 9324 int i; 9080 9325 _ACEOF 9081 - if ac_fn_c_try_compile "$LINENO"; then : 9326 + if ac_fn_c_try_compile "$LINENO" 9327 + then : 9082 9328 xorg_cv_cc_flag_unknown_warning_option=yes 9083 - else 9329 + else $as_nop 9084 9330 xorg_cv_cc_flag_unknown_warning_option=no 9085 9331 fi 9086 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9332 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9087 9333 fi 9088 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9089 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9334 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9335 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9090 9336 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9091 9337 CFLAGS="$xorg_testset_save_CFLAGS" 9092 9338 fi ··· 9096 9342 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9097 9343 fi 9098 9344 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9099 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9100 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9101 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9102 - $as_echo_n "(cached) " >&6 9103 - else 9345 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9346 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9347 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9348 + then : 9349 + printf %s "(cached) " >&6 9350 + else $as_nop 9104 9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9105 9352 /* end confdefs.h. */ 9106 9353 int i; 9107 9354 _ACEOF 9108 - if ac_fn_c_try_compile "$LINENO"; then : 9355 + if ac_fn_c_try_compile "$LINENO" 9356 + then : 9109 9357 xorg_cv_cc_flag_unused_command_line_argument=yes 9110 - else 9358 + else $as_nop 9111 9359 xorg_cv_cc_flag_unused_command_line_argument=no 9112 9360 fi 9113 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9361 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9114 9362 fi 9115 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9116 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9363 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9364 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9117 9365 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9118 9366 CFLAGS="$xorg_testset_save_CFLAGS" 9119 9367 fi ··· 9131 9379 9132 9380 CFLAGS="$CFLAGS -Wreturn-type" 9133 9381 9134 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9135 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 9382 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9383 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 9136 9384 cacheid=xorg_cv_cc_flag__Wreturn_type 9137 - if eval \${$cacheid+:} false; then : 9138 - $as_echo_n "(cached) " >&6 9139 - else 9385 + if eval test \${$cacheid+y} 9386 + then : 9387 + printf %s "(cached) " >&6 9388 + else $as_nop 9140 9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9141 9390 /* end confdefs.h. */ 9142 9391 int i; 9143 9392 int 9144 - main () 9393 + main (void) 9145 9394 { 9146 9395 9147 9396 ; 9148 9397 return 0; 9149 9398 } 9150 9399 _ACEOF 9151 - if ac_fn_c_try_link "$LINENO"; then : 9400 + if ac_fn_c_try_link "$LINENO" 9401 + then : 9152 9402 eval $cacheid=yes 9153 - else 9403 + else $as_nop 9154 9404 eval $cacheid=no 9155 9405 fi 9156 - rm -f core conftest.err conftest.$ac_objext \ 9406 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9157 9407 conftest$ac_exeext conftest.$ac_ext 9158 9408 fi 9159 9409 ··· 9161 9411 CFLAGS="$xorg_testset_save_CFLAGS" 9162 9412 9163 9413 eval supported=\$$cacheid 9164 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9165 - $as_echo "$supported" >&6; } 9414 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9415 + printf "%s\n" "$supported" >&6; } 9166 9416 if test "$supported" = "yes" ; then 9167 9417 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 9168 9418 found="yes" ··· 9187 9437 9188 9438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9189 9439 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9190 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9191 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9192 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9193 - $as_echo_n "(cached) " >&6 9194 - else 9440 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9441 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9442 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9443 + then : 9444 + printf %s "(cached) " >&6 9445 + else $as_nop 9195 9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9196 9447 /* end confdefs.h. */ 9197 9448 int i; 9198 9449 _ACEOF 9199 - if ac_fn_c_try_compile "$LINENO"; then : 9450 + if ac_fn_c_try_compile "$LINENO" 9451 + then : 9200 9452 xorg_cv_cc_flag_unknown_warning_option=yes 9201 - else 9453 + else $as_nop 9202 9454 xorg_cv_cc_flag_unknown_warning_option=no 9203 9455 fi 9204 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9456 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9205 9457 fi 9206 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9207 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9458 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9459 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9208 9460 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9209 9461 CFLAGS="$xorg_testset_save_CFLAGS" 9210 9462 fi ··· 9214 9466 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9215 9467 fi 9216 9468 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9217 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9218 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9219 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9220 - $as_echo_n "(cached) " >&6 9221 - else 9469 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9470 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9471 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9472 + then : 9473 + printf %s "(cached) " >&6 9474 + else $as_nop 9222 9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9223 9476 /* end confdefs.h. */ 9224 9477 int i; 9225 9478 _ACEOF 9226 - if ac_fn_c_try_compile "$LINENO"; then : 9479 + if ac_fn_c_try_compile "$LINENO" 9480 + then : 9227 9481 xorg_cv_cc_flag_unused_command_line_argument=yes 9228 - else 9482 + else $as_nop 9229 9483 xorg_cv_cc_flag_unused_command_line_argument=no 9230 9484 fi 9231 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9485 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9232 9486 fi 9233 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9234 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9487 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9488 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9235 9489 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9236 9490 CFLAGS="$xorg_testset_save_CFLAGS" 9237 9491 fi ··· 9249 9503 9250 9504 CFLAGS="$CFLAGS -Wtrigraphs" 9251 9505 9252 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9253 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 9506 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9507 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 9254 9508 cacheid=xorg_cv_cc_flag__Wtrigraphs 9255 - if eval \${$cacheid+:} false; then : 9256 - $as_echo_n "(cached) " >&6 9257 - else 9509 + if eval test \${$cacheid+y} 9510 + then : 9511 + printf %s "(cached) " >&6 9512 + else $as_nop 9258 9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9259 9514 /* end confdefs.h. */ 9260 9515 int i; 9261 9516 int 9262 - main () 9517 + main (void) 9263 9518 { 9264 9519 9265 9520 ; 9266 9521 return 0; 9267 9522 } 9268 9523 _ACEOF 9269 - if ac_fn_c_try_link "$LINENO"; then : 9524 + if ac_fn_c_try_link "$LINENO" 9525 + then : 9270 9526 eval $cacheid=yes 9271 - else 9527 + else $as_nop 9272 9528 eval $cacheid=no 9273 9529 fi 9274 - rm -f core conftest.err conftest.$ac_objext \ 9530 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9275 9531 conftest$ac_exeext conftest.$ac_ext 9276 9532 fi 9277 9533 ··· 9279 9535 CFLAGS="$xorg_testset_save_CFLAGS" 9280 9536 9281 9537 eval supported=\$$cacheid 9282 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9283 - $as_echo "$supported" >&6; } 9538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9539 + printf "%s\n" "$supported" >&6; } 9284 9540 if test "$supported" = "yes" ; then 9285 9541 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 9286 9542 found="yes" ··· 9305 9561 9306 9562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9307 9563 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9308 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9309 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9310 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9311 - $as_echo_n "(cached) " >&6 9312 - else 9564 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9565 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9566 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9567 + then : 9568 + printf %s "(cached) " >&6 9569 + else $as_nop 9313 9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9314 9571 /* end confdefs.h. */ 9315 9572 int i; 9316 9573 _ACEOF 9317 - if ac_fn_c_try_compile "$LINENO"; then : 9574 + if ac_fn_c_try_compile "$LINENO" 9575 + then : 9318 9576 xorg_cv_cc_flag_unknown_warning_option=yes 9319 - else 9577 + else $as_nop 9320 9578 xorg_cv_cc_flag_unknown_warning_option=no 9321 9579 fi 9322 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9580 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9323 9581 fi 9324 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9325 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9582 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9583 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9326 9584 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9327 9585 CFLAGS="$xorg_testset_save_CFLAGS" 9328 9586 fi ··· 9332 9590 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9333 9591 fi 9334 9592 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9335 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9336 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9337 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9338 - $as_echo_n "(cached) " >&6 9339 - else 9593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9594 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9595 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9596 + then : 9597 + printf %s "(cached) " >&6 9598 + else $as_nop 9340 9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9341 9600 /* end confdefs.h. */ 9342 9601 int i; 9343 9602 _ACEOF 9344 - if ac_fn_c_try_compile "$LINENO"; then : 9603 + if ac_fn_c_try_compile "$LINENO" 9604 + then : 9345 9605 xorg_cv_cc_flag_unused_command_line_argument=yes 9346 - else 9606 + else $as_nop 9347 9607 xorg_cv_cc_flag_unused_command_line_argument=no 9348 9608 fi 9349 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9609 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9350 9610 fi 9351 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9352 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9611 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9612 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9353 9613 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9354 9614 CFLAGS="$xorg_testset_save_CFLAGS" 9355 9615 fi ··· 9367 9627 9368 9628 CFLAGS="$CFLAGS -Warray-bounds" 9369 9629 9370 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9371 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 9630 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9631 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 9372 9632 cacheid=xorg_cv_cc_flag__Warray_bounds 9373 - if eval \${$cacheid+:} false; then : 9374 - $as_echo_n "(cached) " >&6 9375 - else 9633 + if eval test \${$cacheid+y} 9634 + then : 9635 + printf %s "(cached) " >&6 9636 + else $as_nop 9376 9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9377 9638 /* end confdefs.h. */ 9378 9639 int i; 9379 9640 int 9380 - main () 9641 + main (void) 9381 9642 { 9382 9643 9383 9644 ; 9384 9645 return 0; 9385 9646 } 9386 9647 _ACEOF 9387 - if ac_fn_c_try_link "$LINENO"; then : 9648 + if ac_fn_c_try_link "$LINENO" 9649 + then : 9388 9650 eval $cacheid=yes 9389 - else 9651 + else $as_nop 9390 9652 eval $cacheid=no 9391 9653 fi 9392 - rm -f core conftest.err conftest.$ac_objext \ 9654 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9393 9655 conftest$ac_exeext conftest.$ac_ext 9394 9656 fi 9395 9657 ··· 9397 9659 CFLAGS="$xorg_testset_save_CFLAGS" 9398 9660 9399 9661 eval supported=\$$cacheid 9400 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9401 - $as_echo "$supported" >&6; } 9662 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9663 + printf "%s\n" "$supported" >&6; } 9402 9664 if test "$supported" = "yes" ; then 9403 9665 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 9404 9666 found="yes" ··· 9423 9685 9424 9686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9425 9687 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9426 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9427 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9428 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9429 - $as_echo_n "(cached) " >&6 9430 - else 9688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9689 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9690 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9691 + then : 9692 + printf %s "(cached) " >&6 9693 + else $as_nop 9431 9694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9432 9695 /* end confdefs.h. */ 9433 9696 int i; 9434 9697 _ACEOF 9435 - if ac_fn_c_try_compile "$LINENO"; then : 9698 + if ac_fn_c_try_compile "$LINENO" 9699 + then : 9436 9700 xorg_cv_cc_flag_unknown_warning_option=yes 9437 - else 9701 + else $as_nop 9438 9702 xorg_cv_cc_flag_unknown_warning_option=no 9439 9703 fi 9440 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9704 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9441 9705 fi 9442 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9443 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9706 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9707 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9444 9708 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9445 9709 CFLAGS="$xorg_testset_save_CFLAGS" 9446 9710 fi ··· 9450 9714 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9451 9715 fi 9452 9716 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9453 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9454 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9455 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9456 - $as_echo_n "(cached) " >&6 9457 - else 9717 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9718 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9719 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9720 + then : 9721 + printf %s "(cached) " >&6 9722 + else $as_nop 9458 9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9459 9724 /* end confdefs.h. */ 9460 9725 int i; 9461 9726 _ACEOF 9462 - if ac_fn_c_try_compile "$LINENO"; then : 9727 + if ac_fn_c_try_compile "$LINENO" 9728 + then : 9463 9729 xorg_cv_cc_flag_unused_command_line_argument=yes 9464 - else 9730 + else $as_nop 9465 9731 xorg_cv_cc_flag_unused_command_line_argument=no 9466 9732 fi 9467 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9733 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9468 9734 fi 9469 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9470 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9735 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9736 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9471 9737 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9472 9738 CFLAGS="$xorg_testset_save_CFLAGS" 9473 9739 fi ··· 9485 9751 9486 9752 CFLAGS="$CFLAGS -Wwrite-strings" 9487 9753 9488 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9489 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 9754 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9755 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 9490 9756 cacheid=xorg_cv_cc_flag__Wwrite_strings 9491 - if eval \${$cacheid+:} false; then : 9492 - $as_echo_n "(cached) " >&6 9493 - else 9757 + if eval test \${$cacheid+y} 9758 + then : 9759 + printf %s "(cached) " >&6 9760 + else $as_nop 9494 9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9495 9762 /* end confdefs.h. */ 9496 9763 int i; 9497 9764 int 9498 - main () 9765 + main (void) 9499 9766 { 9500 9767 9501 9768 ; 9502 9769 return 0; 9503 9770 } 9504 9771 _ACEOF 9505 - if ac_fn_c_try_link "$LINENO"; then : 9772 + if ac_fn_c_try_link "$LINENO" 9773 + then : 9506 9774 eval $cacheid=yes 9507 - else 9775 + else $as_nop 9508 9776 eval $cacheid=no 9509 9777 fi 9510 - rm -f core conftest.err conftest.$ac_objext \ 9778 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9511 9779 conftest$ac_exeext conftest.$ac_ext 9512 9780 fi 9513 9781 ··· 9515 9783 CFLAGS="$xorg_testset_save_CFLAGS" 9516 9784 9517 9785 eval supported=\$$cacheid 9518 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9519 - $as_echo "$supported" >&6; } 9786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9787 + printf "%s\n" "$supported" >&6; } 9520 9788 if test "$supported" = "yes" ; then 9521 9789 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 9522 9790 found="yes" ··· 9541 9809 9542 9810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9543 9811 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9544 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9545 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9546 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9547 - $as_echo_n "(cached) " >&6 9548 - else 9812 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9813 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9814 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9815 + then : 9816 + printf %s "(cached) " >&6 9817 + else $as_nop 9549 9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9550 9819 /* end confdefs.h. */ 9551 9820 int i; 9552 9821 _ACEOF 9553 - if ac_fn_c_try_compile "$LINENO"; then : 9822 + if ac_fn_c_try_compile "$LINENO" 9823 + then : 9554 9824 xorg_cv_cc_flag_unknown_warning_option=yes 9555 - else 9825 + else $as_nop 9556 9826 xorg_cv_cc_flag_unknown_warning_option=no 9557 9827 fi 9558 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9828 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9559 9829 fi 9560 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9561 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9830 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9831 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9562 9832 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9563 9833 CFLAGS="$xorg_testset_save_CFLAGS" 9564 9834 fi ··· 9568 9838 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9569 9839 fi 9570 9840 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9571 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9572 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9573 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9574 - $as_echo_n "(cached) " >&6 9575 - else 9841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9842 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9843 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9844 + then : 9845 + printf %s "(cached) " >&6 9846 + else $as_nop 9576 9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9577 9848 /* end confdefs.h. */ 9578 9849 int i; 9579 9850 _ACEOF 9580 - if ac_fn_c_try_compile "$LINENO"; then : 9851 + if ac_fn_c_try_compile "$LINENO" 9852 + then : 9581 9853 xorg_cv_cc_flag_unused_command_line_argument=yes 9582 - else 9854 + else $as_nop 9583 9855 xorg_cv_cc_flag_unused_command_line_argument=no 9584 9856 fi 9585 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9857 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9586 9858 fi 9587 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9588 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9859 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9860 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9589 9861 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9590 9862 CFLAGS="$xorg_testset_save_CFLAGS" 9591 9863 fi ··· 9603 9875 9604 9876 CFLAGS="$CFLAGS -Waddress" 9605 9877 9606 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9607 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 9878 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9879 + printf %s "checking if $CC supports -Waddress... " >&6; } 9608 9880 cacheid=xorg_cv_cc_flag__Waddress 9609 - if eval \${$cacheid+:} false; then : 9610 - $as_echo_n "(cached) " >&6 9611 - else 9881 + if eval test \${$cacheid+y} 9882 + then : 9883 + printf %s "(cached) " >&6 9884 + else $as_nop 9612 9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9613 9886 /* end confdefs.h. */ 9614 9887 int i; 9615 9888 int 9616 - main () 9889 + main (void) 9617 9890 { 9618 9891 9619 9892 ; 9620 9893 return 0; 9621 9894 } 9622 9895 _ACEOF 9623 - if ac_fn_c_try_link "$LINENO"; then : 9896 + if ac_fn_c_try_link "$LINENO" 9897 + then : 9624 9898 eval $cacheid=yes 9625 - else 9899 + else $as_nop 9626 9900 eval $cacheid=no 9627 9901 fi 9628 - rm -f core conftest.err conftest.$ac_objext \ 9902 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9629 9903 conftest$ac_exeext conftest.$ac_ext 9630 9904 fi 9631 9905 ··· 9633 9907 CFLAGS="$xorg_testset_save_CFLAGS" 9634 9908 9635 9909 eval supported=\$$cacheid 9636 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9637 - $as_echo "$supported" >&6; } 9910 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9911 + printf "%s\n" "$supported" >&6; } 9638 9912 if test "$supported" = "yes" ; then 9639 9913 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 9640 9914 found="yes" ··· 9659 9933 9660 9934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9661 9935 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9662 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9663 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9664 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9665 - $as_echo_n "(cached) " >&6 9666 - else 9936 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9937 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9938 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9939 + then : 9940 + printf %s "(cached) " >&6 9941 + else $as_nop 9667 9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9668 9943 /* end confdefs.h. */ 9669 9944 int i; 9670 9945 _ACEOF 9671 - if ac_fn_c_try_compile "$LINENO"; then : 9946 + if ac_fn_c_try_compile "$LINENO" 9947 + then : 9672 9948 xorg_cv_cc_flag_unknown_warning_option=yes 9673 - else 9949 + else $as_nop 9674 9950 xorg_cv_cc_flag_unknown_warning_option=no 9675 9951 fi 9676 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9952 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9677 9953 fi 9678 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9679 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9954 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9955 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9680 9956 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9681 9957 CFLAGS="$xorg_testset_save_CFLAGS" 9682 9958 fi ··· 9686 9962 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9687 9963 fi 9688 9964 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9689 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9690 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9691 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9692 - $as_echo_n "(cached) " >&6 9693 - else 9965 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9966 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9967 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9968 + then : 9969 + printf %s "(cached) " >&6 9970 + else $as_nop 9694 9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9695 9972 /* end confdefs.h. */ 9696 9973 int i; 9697 9974 _ACEOF 9698 - if ac_fn_c_try_compile "$LINENO"; then : 9975 + if ac_fn_c_try_compile "$LINENO" 9976 + then : 9699 9977 xorg_cv_cc_flag_unused_command_line_argument=yes 9700 - else 9978 + else $as_nop 9701 9979 xorg_cv_cc_flag_unused_command_line_argument=no 9702 9980 fi 9703 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9981 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9704 9982 fi 9705 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9706 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9983 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9984 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9707 9985 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9708 9986 CFLAGS="$xorg_testset_save_CFLAGS" 9709 9987 fi ··· 9721 9999 9722 10000 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 9723 10001 9724 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 9725 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 10002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 10003 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9726 10004 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 9727 - if eval \${$cacheid+:} false; then : 9728 - $as_echo_n "(cached) " >&6 9729 - else 10005 + if eval test \${$cacheid+y} 10006 + then : 10007 + printf %s "(cached) " >&6 10008 + else $as_nop 9730 10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9731 10010 /* end confdefs.h. */ 9732 10011 int i; 9733 10012 int 9734 - main () 10013 + main (void) 9735 10014 { 9736 10015 9737 10016 ; 9738 10017 return 0; 9739 10018 } 9740 10019 _ACEOF 9741 - if ac_fn_c_try_link "$LINENO"; then : 10020 + if ac_fn_c_try_link "$LINENO" 10021 + then : 9742 10022 eval $cacheid=yes 9743 - else 10023 + else $as_nop 9744 10024 eval $cacheid=no 9745 10025 fi 9746 - rm -f core conftest.err conftest.$ac_objext \ 10026 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9747 10027 conftest$ac_exeext conftest.$ac_ext 9748 10028 fi 9749 10029 ··· 9751 10031 CFLAGS="$xorg_testset_save_CFLAGS" 9752 10032 9753 10033 eval supported=\$$cacheid 9754 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9755 - $as_echo "$supported" >&6; } 10034 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10035 + printf "%s\n" "$supported" >&6; } 9756 10036 if test "$supported" = "yes" ; then 9757 10037 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 9758 10038 found="yes" ··· 9777 10057 9778 10058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9779 10059 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9780 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9781 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9782 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9783 - $as_echo_n "(cached) " >&6 9784 - else 10060 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10061 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10062 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10063 + then : 10064 + printf %s "(cached) " >&6 10065 + else $as_nop 9785 10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9786 10067 /* end confdefs.h. */ 9787 10068 int i; 9788 10069 _ACEOF 9789 - if ac_fn_c_try_compile "$LINENO"; then : 10070 + if ac_fn_c_try_compile "$LINENO" 10071 + then : 9790 10072 xorg_cv_cc_flag_unknown_warning_option=yes 9791 - else 10073 + else $as_nop 9792 10074 xorg_cv_cc_flag_unknown_warning_option=no 9793 10075 fi 9794 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10076 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9795 10077 fi 9796 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9797 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10078 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10079 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9798 10080 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9799 10081 CFLAGS="$xorg_testset_save_CFLAGS" 9800 10082 fi ··· 9804 10086 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9805 10087 fi 9806 10088 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9807 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9808 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9809 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9810 - $as_echo_n "(cached) " >&6 9811 - else 10089 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10090 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10091 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10092 + then : 10093 + printf %s "(cached) " >&6 10094 + else $as_nop 9812 10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9813 10096 /* end confdefs.h. */ 9814 10097 int i; 9815 10098 _ACEOF 9816 - if ac_fn_c_try_compile "$LINENO"; then : 10099 + if ac_fn_c_try_compile "$LINENO" 10100 + then : 9817 10101 xorg_cv_cc_flag_unused_command_line_argument=yes 9818 - else 10102 + else $as_nop 9819 10103 xorg_cv_cc_flag_unused_command_line_argument=no 9820 10104 fi 9821 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10105 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9822 10106 fi 9823 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9824 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10107 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10108 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9825 10109 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9826 10110 CFLAGS="$xorg_testset_save_CFLAGS" 9827 10111 fi ··· 9839 10123 9840 10124 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 9841 10125 9842 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 9843 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 10126 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 10127 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 9844 10128 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 9845 - if eval \${$cacheid+:} false; then : 9846 - $as_echo_n "(cached) " >&6 9847 - else 10129 + if eval test \${$cacheid+y} 10130 + then : 10131 + printf %s "(cached) " >&6 10132 + else $as_nop 9848 10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9849 10134 /* end confdefs.h. */ 9850 10135 int i; 9851 10136 int 9852 - main () 10137 + main (void) 9853 10138 { 9854 10139 9855 10140 ; 9856 10141 return 0; 9857 10142 } 9858 10143 _ACEOF 9859 - if ac_fn_c_try_link "$LINENO"; then : 10144 + if ac_fn_c_try_link "$LINENO" 10145 + then : 9860 10146 eval $cacheid=yes 9861 - else 10147 + else $as_nop 9862 10148 eval $cacheid=no 9863 10149 fi 9864 - rm -f core conftest.err conftest.$ac_objext \ 10150 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9865 10151 conftest$ac_exeext conftest.$ac_ext 9866 10152 fi 9867 10153 ··· 9869 10155 CFLAGS="$xorg_testset_save_CFLAGS" 9870 10156 9871 10157 eval supported=\$$cacheid 9872 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9873 - $as_echo "$supported" >&6; } 10158 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10159 + printf "%s\n" "$supported" >&6; } 9874 10160 if test "$supported" = "yes" ; then 9875 10161 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 9876 10162 found="yes" ··· 9899 10185 9900 10186 9901 10187 # Check whether --enable-strict-compilation was given. 9902 - if test "${enable_strict_compilation+set}" = set; then : 10188 + if test ${enable_strict_compilation+y} 10189 + then : 9903 10190 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 9904 - else 10191 + else $as_nop 9905 10192 STRICT_COMPILE=no 9906 10193 fi 9907 10194 ··· 9928 10215 9929 10216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9930 10217 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9931 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9932 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9933 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9934 - $as_echo_n "(cached) " >&6 9935 - else 10218 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10219 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10220 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10221 + then : 10222 + printf %s "(cached) " >&6 10223 + else $as_nop 9936 10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9937 10225 /* end confdefs.h. */ 9938 10226 int i; 9939 10227 _ACEOF 9940 - if ac_fn_c_try_compile "$LINENO"; then : 10228 + if ac_fn_c_try_compile "$LINENO" 10229 + then : 9941 10230 xorg_cv_cc_flag_unknown_warning_option=yes 9942 - else 10231 + else $as_nop 9943 10232 xorg_cv_cc_flag_unknown_warning_option=no 9944 10233 fi 9945 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10234 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9946 10235 fi 9947 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9948 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10236 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10237 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9949 10238 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9950 10239 CFLAGS="$xorg_testset_save_CFLAGS" 9951 10240 fi ··· 9955 10244 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9956 10245 fi 9957 10246 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9958 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9959 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9960 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9961 - $as_echo_n "(cached) " >&6 9962 - else 10247 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10248 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10249 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10250 + then : 10251 + printf %s "(cached) " >&6 10252 + else $as_nop 9963 10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9964 10254 /* end confdefs.h. */ 9965 10255 int i; 9966 10256 _ACEOF 9967 - if ac_fn_c_try_compile "$LINENO"; then : 10257 + if ac_fn_c_try_compile "$LINENO" 10258 + then : 9968 10259 xorg_cv_cc_flag_unused_command_line_argument=yes 9969 - else 10260 + else $as_nop 9970 10261 xorg_cv_cc_flag_unused_command_line_argument=no 9971 10262 fi 9972 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10263 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9973 10264 fi 9974 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9975 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10265 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10266 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9976 10267 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9977 10268 CFLAGS="$xorg_testset_save_CFLAGS" 9978 10269 fi ··· 9990 10281 9991 10282 CFLAGS="$CFLAGS -pedantic" 9992 10283 9993 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 9994 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 10284 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 10285 + printf %s "checking if $CC supports -pedantic... " >&6; } 9995 10286 cacheid=xorg_cv_cc_flag__pedantic 9996 - if eval \${$cacheid+:} false; then : 9997 - $as_echo_n "(cached) " >&6 9998 - else 10287 + if eval test \${$cacheid+y} 10288 + then : 10289 + printf %s "(cached) " >&6 10290 + else $as_nop 9999 10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10000 10292 /* end confdefs.h. */ 10001 10293 int i; 10002 10294 int 10003 - main () 10295 + main (void) 10004 10296 { 10005 10297 10006 10298 ; 10007 10299 return 0; 10008 10300 } 10009 10301 _ACEOF 10010 - if ac_fn_c_try_link "$LINENO"; then : 10302 + if ac_fn_c_try_link "$LINENO" 10303 + then : 10011 10304 eval $cacheid=yes 10012 - else 10305 + else $as_nop 10013 10306 eval $cacheid=no 10014 10307 fi 10015 - rm -f core conftest.err conftest.$ac_objext \ 10308 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10016 10309 conftest$ac_exeext conftest.$ac_ext 10017 10310 fi 10018 10311 ··· 10020 10313 CFLAGS="$xorg_testset_save_CFLAGS" 10021 10314 10022 10315 eval supported=\$$cacheid 10023 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10024 - $as_echo "$supported" >&6; } 10316 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10317 + printf "%s\n" "$supported" >&6; } 10025 10318 if test "$supported" = "yes" ; then 10026 10319 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 10027 10320 found="yes" ··· 10046 10339 10047 10340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10048 10341 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10049 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10050 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10051 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10052 - $as_echo_n "(cached) " >&6 10053 - else 10342 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10343 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10344 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10345 + then : 10346 + printf %s "(cached) " >&6 10347 + else $as_nop 10054 10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10055 10349 /* end confdefs.h. */ 10056 10350 int i; 10057 10351 _ACEOF 10058 - if ac_fn_c_try_compile "$LINENO"; then : 10352 + if ac_fn_c_try_compile "$LINENO" 10353 + then : 10059 10354 xorg_cv_cc_flag_unknown_warning_option=yes 10060 - else 10355 + else $as_nop 10061 10356 xorg_cv_cc_flag_unknown_warning_option=no 10062 10357 fi 10063 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10358 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10064 10359 fi 10065 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10066 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10360 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10361 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10067 10362 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10068 10363 CFLAGS="$xorg_testset_save_CFLAGS" 10069 10364 fi ··· 10073 10368 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10074 10369 fi 10075 10370 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10076 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10077 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10078 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10079 - $as_echo_n "(cached) " >&6 10080 - else 10371 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10372 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10373 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10374 + then : 10375 + printf %s "(cached) " >&6 10376 + else $as_nop 10081 10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10082 10378 /* end confdefs.h. */ 10083 10379 int i; 10084 10380 _ACEOF 10085 - if ac_fn_c_try_compile "$LINENO"; then : 10381 + if ac_fn_c_try_compile "$LINENO" 10382 + then : 10086 10383 xorg_cv_cc_flag_unused_command_line_argument=yes 10087 - else 10384 + else $as_nop 10088 10385 xorg_cv_cc_flag_unused_command_line_argument=no 10089 10386 fi 10090 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10387 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10091 10388 fi 10092 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10093 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10389 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10390 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10094 10391 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10095 10392 CFLAGS="$xorg_testset_save_CFLAGS" 10096 10393 fi ··· 10108 10405 10109 10406 CFLAGS="$CFLAGS -Werror" 10110 10407 10111 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10112 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 10408 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10409 + printf %s "checking if $CC supports -Werror... " >&6; } 10113 10410 cacheid=xorg_cv_cc_flag__Werror 10114 - if eval \${$cacheid+:} false; then : 10115 - $as_echo_n "(cached) " >&6 10116 - else 10411 + if eval test \${$cacheid+y} 10412 + then : 10413 + printf %s "(cached) " >&6 10414 + else $as_nop 10117 10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10118 10416 /* end confdefs.h. */ 10119 10417 int i; 10120 10418 int 10121 - main () 10419 + main (void) 10122 10420 { 10123 10421 10124 10422 ; 10125 10423 return 0; 10126 10424 } 10127 10425 _ACEOF 10128 - if ac_fn_c_try_link "$LINENO"; then : 10426 + if ac_fn_c_try_link "$LINENO" 10427 + then : 10129 10428 eval $cacheid=yes 10130 - else 10429 + else $as_nop 10131 10430 eval $cacheid=no 10132 10431 fi 10133 - rm -f core conftest.err conftest.$ac_objext \ 10432 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10134 10433 conftest$ac_exeext conftest.$ac_ext 10135 10434 fi 10136 10435 ··· 10138 10437 CFLAGS="$xorg_testset_save_CFLAGS" 10139 10438 10140 10439 eval supported=\$$cacheid 10141 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10142 - $as_echo "$supported" >&6; } 10440 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10441 + printf "%s\n" "$supported" >&6; } 10143 10442 if test "$supported" = "yes" ; then 10144 10443 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 10145 10444 found="yes" ··· 10157 10456 10158 10457 CFLAGS="$CFLAGS -errwarn" 10159 10458 10160 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10161 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 10459 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10460 + printf %s "checking if $CC supports -errwarn... " >&6; } 10162 10461 cacheid=xorg_cv_cc_flag__errwarn 10163 - if eval \${$cacheid+:} false; then : 10164 - $as_echo_n "(cached) " >&6 10165 - else 10462 + if eval test \${$cacheid+y} 10463 + then : 10464 + printf %s "(cached) " >&6 10465 + else $as_nop 10166 10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10167 10467 /* end confdefs.h. */ 10168 10468 int i; 10169 10469 int 10170 - main () 10470 + main (void) 10171 10471 { 10172 10472 10173 10473 ; 10174 10474 return 0; 10175 10475 } 10176 10476 _ACEOF 10177 - if ac_fn_c_try_link "$LINENO"; then : 10477 + if ac_fn_c_try_link "$LINENO" 10478 + then : 10178 10479 eval $cacheid=yes 10179 - else 10480 + else $as_nop 10180 10481 eval $cacheid=no 10181 10482 fi 10182 - rm -f core conftest.err conftest.$ac_objext \ 10483 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10183 10484 conftest$ac_exeext conftest.$ac_ext 10184 10485 fi 10185 10486 ··· 10187 10488 CFLAGS="$xorg_testset_save_CFLAGS" 10188 10489 10189 10490 eval supported=\$$cacheid 10190 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10191 - $as_echo "$supported" >&6; } 10491 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10492 + printf "%s\n" "$supported" >&6; } 10192 10493 if test "$supported" = "yes" ; then 10193 10494 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 10194 10495 found="yes" ··· 10216 10517 10217 10518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10218 10519 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10219 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10220 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10221 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10222 - $as_echo_n "(cached) " >&6 10223 - else 10520 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10521 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10522 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10523 + then : 10524 + printf %s "(cached) " >&6 10525 + else $as_nop 10224 10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10225 10527 /* end confdefs.h. */ 10226 10528 int i; 10227 10529 _ACEOF 10228 - if ac_fn_c_try_compile "$LINENO"; then : 10530 + if ac_fn_c_try_compile "$LINENO" 10531 + then : 10229 10532 xorg_cv_cc_flag_unknown_warning_option=yes 10230 - else 10533 + else $as_nop 10231 10534 xorg_cv_cc_flag_unknown_warning_option=no 10232 10535 fi 10233 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10536 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10234 10537 fi 10235 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10236 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10539 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10237 10540 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10238 10541 CFLAGS="$xorg_testset_save_CFLAGS" 10239 10542 fi ··· 10243 10546 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10244 10547 fi 10245 10548 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10246 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10247 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10248 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10249 - $as_echo_n "(cached) " >&6 10250 - else 10549 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10550 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10551 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10552 + then : 10553 + printf %s "(cached) " >&6 10554 + else $as_nop 10251 10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10252 10556 /* end confdefs.h. */ 10253 10557 int i; 10254 10558 _ACEOF 10255 - if ac_fn_c_try_compile "$LINENO"; then : 10559 + if ac_fn_c_try_compile "$LINENO" 10560 + then : 10256 10561 xorg_cv_cc_flag_unused_command_line_argument=yes 10257 - else 10562 + else $as_nop 10258 10563 xorg_cv_cc_flag_unused_command_line_argument=no 10259 10564 fi 10260 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10565 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10261 10566 fi 10262 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10263 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10567 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10568 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10264 10569 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10265 10570 CFLAGS="$xorg_testset_save_CFLAGS" 10266 10571 fi ··· 10278 10583 10279 10584 CFLAGS="$CFLAGS -Werror=attributes" 10280 10585 10281 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10282 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 10586 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10587 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 10283 10588 cacheid=xorg_cv_cc_flag__Werror_attributes 10284 - if eval \${$cacheid+:} false; then : 10285 - $as_echo_n "(cached) " >&6 10286 - else 10589 + if eval test \${$cacheid+y} 10590 + then : 10591 + printf %s "(cached) " >&6 10592 + else $as_nop 10287 10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10288 10594 /* end confdefs.h. */ 10289 10595 int i; 10290 10596 int 10291 - main () 10597 + main (void) 10292 10598 { 10293 10599 10294 10600 ; 10295 10601 return 0; 10296 10602 } 10297 10603 _ACEOF 10298 - if ac_fn_c_try_link "$LINENO"; then : 10604 + if ac_fn_c_try_link "$LINENO" 10605 + then : 10299 10606 eval $cacheid=yes 10300 - else 10607 + else $as_nop 10301 10608 eval $cacheid=no 10302 10609 fi 10303 - rm -f core conftest.err conftest.$ac_objext \ 10610 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10304 10611 conftest$ac_exeext conftest.$ac_ext 10305 10612 fi 10306 10613 ··· 10308 10615 CFLAGS="$xorg_testset_save_CFLAGS" 10309 10616 10310 10617 eval supported=\$$cacheid 10311 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10312 - $as_echo "$supported" >&6; } 10618 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10619 + printf "%s\n" "$supported" >&6; } 10313 10620 if test "$supported" = "yes" ; then 10314 10621 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 10315 10622 found="yes" ··· 10339 10646 PVM="0" 10340 10647 fi 10341 10648 10342 - cat >>confdefs.h <<_ACEOF 10343 - #define PACKAGE_VERSION_MINOR $PVM 10344 - _ACEOF 10649 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 10345 10650 10346 10651 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10347 10652 if test "x$PVP" = "x"; then 10348 10653 PVP="0" 10349 10654 fi 10350 10655 10351 - cat >>confdefs.h <<_ACEOF 10352 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 10353 - _ACEOF 10656 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 10354 10657 10355 10658 10356 10659 ··· 10380 10683 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10381 10684 # check for a man page file found in later versions that use 10382 10685 # traditional section numbers instead 10383 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10384 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 10385 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 10386 - $as_echo_n "(cached) " >&6 10387 - else 10686 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10687 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 10688 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 10689 + then : 10690 + printf %s "(cached) " >&6 10691 + else $as_nop 10388 10692 test "$cross_compiling" = yes && 10389 10693 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 10390 10694 if test -r "/usr/share/man/man7/attributes.7"; then ··· 10393 10697 ac_cv_file__usr_share_man_man7_attributes_7=no 10394 10698 fi 10395 10699 fi 10396 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10397 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10398 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 10700 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10701 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10702 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 10703 + then : 10399 10704 SYSV_MAN_SECTIONS=false 10400 - else 10705 + else $as_nop 10401 10706 SYSV_MAN_SECTIONS=true 10402 10707 fi 10403 10708 ··· 10492 10797 10493 10798 10494 10799 # Check whether --enable-silent-rules was given. 10495 - if test "${enable_silent_rules+set}" = set; then : 10800 + if test ${enable_silent_rules+y} 10801 + then : 10496 10802 enableval=$enable_silent_rules; 10497 10803 fi 10498 10804 ··· 10502 10808 *) AM_DEFAULT_VERBOSITY=0;; 10503 10809 esac 10504 10810 am_make=${MAKE-make} 10505 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10506 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 10507 - if ${am_cv_make_support_nested_variables+:} false; then : 10508 - $as_echo_n "(cached) " >&6 10509 - else 10510 - if $as_echo 'TRUE=$(BAR$(V)) 10811 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10812 + printf %s "checking whether $am_make supports nested variables... " >&6; } 10813 + if test ${am_cv_make_support_nested_variables+y} 10814 + then : 10815 + printf %s "(cached) " >&6 10816 + else $as_nop 10817 + if printf "%s\n" 'TRUE=$(BAR$(V)) 10511 10818 BAR0=false 10512 10819 BAR1=true 10513 10820 V=1 ··· 10519 10826 am_cv_make_support_nested_variables=no 10520 10827 fi 10521 10828 fi 10522 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10523 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 10829 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10830 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 10524 10831 if test $am_cv_make_support_nested_variables = yes; then 10525 10832 AM_V='$(V)' 10526 10833 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 10533 10840 10534 10841 10535 10842 10536 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 10537 - $as_echo_n "checking for root directory for font files... " >&6; } 10843 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 10844 + printf %s "checking for root directory for font files... " >&6; } 10538 10845 fontrootdir='${datadir}/fonts/X11' 10539 10846 10540 10847 # Check whether --with-fontrootdir was given. 10541 - if test "${with_fontrootdir+set}" = set; then : 10848 + if test ${with_fontrootdir+y} 10849 + then : 10542 10850 withval=$with_fontrootdir; fontrootdir="${withval}" 10543 10851 fi 10544 10852 10545 10853 10546 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${fontrootdir}" >&5 10547 - $as_echo "${fontrootdir}" >&6; } 10854 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${fontrootdir}" >&5 10855 + printf "%s\n" "${fontrootdir}" >&6; } 10548 10856 10549 10857 mapdir='${fontrootdir}/util' 10550 10858 10551 10859 # Check whether --with-mapdir was given. 10552 - if test "${with_mapdir+set}" = set; then : 10860 + if test ${with_mapdir+y} 10861 + then : 10553 10862 withval=$with_mapdir; mapdir="${withval}" 10554 10863 fi 10555 10864 ··· 10586 10895 case $ac_val in #( 10587 10896 *${as_nl}*) 10588 10897 case $ac_var in #( 10589 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10590 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10898 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10899 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10591 10900 esac 10592 10901 case $ac_var in #( 10593 10902 _ | IFS | as_nl) ;; #( ··· 10617 10926 /^ac_cv_env_/b end 10618 10927 t clear 10619 10928 :clear 10620 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10929 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 10621 10930 t end 10622 10931 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10623 10932 :end' >>confcache 10624 10933 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10625 10934 if test -w "$cache_file"; then 10626 10935 if test "x$cache_file" != "x/dev/null"; then 10627 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10628 - $as_echo "$as_me: updating cache $cache_file" >&6;} 10936 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10937 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 10629 10938 if test ! -f "$cache_file" || test -h "$cache_file"; then 10630 10939 cat confcache >"$cache_file" 10631 10940 else ··· 10639 10948 fi 10640 10949 fi 10641 10950 else 10642 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10643 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10951 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10952 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 10644 10953 fi 10645 10954 fi 10646 10955 rm -f confcache ··· 10657 10966 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10658 10967 # 1. Remove the extension, and $U if already installed. 10659 10968 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10660 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 10969 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 10661 10970 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10662 10971 # will be set to the directory where LIBOBJS objects are built. 10663 10972 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 10668 10977 LTLIBOBJS=$ac_ltlibobjs 10669 10978 10670 10979 10671 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10672 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 10980 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10981 + printf %s "checking that generated files are newer than configure... " >&6; } 10673 10982 if test -n "$am_sleep_pid"; then 10674 10983 # Hide warnings about reused PIDs. 10675 10984 wait $am_sleep_pid 2>/dev/null 10676 10985 fi 10677 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10678 - $as_echo "done" >&6; } 10986 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 10987 + printf "%s\n" "done" >&6; } 10679 10988 if test -n "$EXEEXT"; then 10680 10989 am__EXEEXT_TRUE= 10681 10990 am__EXEEXT_FALSE='#' ··· 10701 11010 ac_write_fail=0 10702 11011 ac_clean_files_save=$ac_clean_files 10703 11012 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10704 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10705 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11013 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11014 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 10706 11015 as_write_fail=0 10707 11016 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10708 11017 #! $SHELL ··· 10725 11034 10726 11035 # Be more Bourne compatible 10727 11036 DUALCASE=1; export DUALCASE # for MKS sh 10728 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11037 + as_nop=: 11038 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 11039 + then : 10729 11040 emulate sh 10730 11041 NULLCMD=: 10731 11042 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10732 11043 # is contrary to our usage. Disable this feature. 10733 11044 alias -g '${1+"$@"}'='"$@"' 10734 11045 setopt NO_GLOB_SUBST 10735 - else 11046 + else $as_nop 10736 11047 case `(set -o) 2>/dev/null` in #( 10737 11048 *posix*) : 10738 11049 set -o posix ;; #( ··· 10742 11053 fi 10743 11054 10744 11055 11056 + 11057 + # Reset variables that may have inherited troublesome values from 11058 + # the environment. 11059 + 11060 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 11061 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 11062 + # side effect of setting IFS to empty, thus disabling word splitting.) 11063 + # Quoting is to prevent editors from complaining about space-tab. 10745 11064 as_nl=' 10746 11065 ' 10747 11066 export as_nl 10748 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 10749 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10750 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10751 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10752 - # Prefer a ksh shell builtin over an external printf program on Solaris, 10753 - # but without wasting forks for bash or zsh. 10754 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 10755 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10756 - as_echo='print -r --' 10757 - as_echo_n='print -rn --' 10758 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10759 - as_echo='printf %s\n' 10760 - as_echo_n='printf %s' 10761 - else 10762 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10763 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10764 - as_echo_n='/usr/ucb/echo -n' 10765 - else 10766 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10767 - as_echo_n_body='eval 10768 - arg=$1; 10769 - case $arg in #( 10770 - *"$as_nl"*) 10771 - expr "X$arg" : "X\\(.*\\)$as_nl"; 10772 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10773 - esac; 10774 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10775 - ' 10776 - export as_echo_n_body 10777 - as_echo_n='sh -c $as_echo_n_body as_echo' 10778 - fi 10779 - export as_echo_body 10780 - as_echo='sh -c $as_echo_body as_echo' 10781 - fi 11067 + IFS=" "" $as_nl" 11068 + 11069 + PS1='$ ' 11070 + PS2='> ' 11071 + PS4='+ ' 11072 + 11073 + # Ensure predictable behavior from utilities with locale-dependent output. 11074 + LC_ALL=C 11075 + export LC_ALL 11076 + LANGUAGE=C 11077 + export LANGUAGE 11078 + 11079 + # We cannot yet rely on "unset" to work, but we need these variables 11080 + # to be unset--not just set to an empty or harmless value--now, to 11081 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 11082 + # also avoids known problems related to "unset" and subshell syntax 11083 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 11084 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 11085 + do eval test \${$as_var+y} \ 11086 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11087 + done 11088 + 11089 + # Ensure that fds 0, 1, and 2 are open. 11090 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 11091 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 11092 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 10782 11093 10783 11094 # The user is always right. 10784 - if test "${PATH_SEPARATOR+set}" != set; then 11095 + if ${PATH_SEPARATOR+false} :; then 10785 11096 PATH_SEPARATOR=: 10786 11097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10787 11098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 10790 11101 fi 10791 11102 10792 11103 10793 - # IFS 10794 - # We need space, tab and new line, in precisely that order. Quoting is 10795 - # there to prevent editors from complaining about space-tab. 10796 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 10797 - # splitting by setting IFS to empty value.) 10798 - IFS=" "" $as_nl" 10799 - 10800 11104 # Find who we are. Look in the path if we contain no directory separator. 10801 11105 as_myself= 10802 11106 case $0 in #(( ··· 10805 11109 for as_dir in $PATH 10806 11110 do 10807 11111 IFS=$as_save_IFS 10808 - test -z "$as_dir" && as_dir=. 10809 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11112 + case $as_dir in #((( 11113 + '') as_dir=./ ;; 11114 + */) ;; 11115 + *) as_dir=$as_dir/ ;; 11116 + esac 11117 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10810 11118 done 10811 11119 IFS=$as_save_IFS 10812 11120 ··· 10818 11126 as_myself=$0 10819 11127 fi 10820 11128 if test ! -f "$as_myself"; then 10821 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11129 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10822 11130 exit 1 10823 11131 fi 10824 11132 10825 - # Unset variables that we do not need and which cause bugs (e.g. in 10826 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10827 - # suppresses any "Segmentation fault" message there. '((' could 10828 - # trigger a bug in pdksh 5.2.14. 10829 - for as_var in BASH_ENV ENV MAIL MAILPATH 10830 - do eval test x\${$as_var+set} = xset \ 10831 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10832 - done 10833 - PS1='$ ' 10834 - PS2='> ' 10835 - PS4='+ ' 10836 - 10837 - # NLS nuisances. 10838 - LC_ALL=C 10839 - export LC_ALL 10840 - LANGUAGE=C 10841 - export LANGUAGE 10842 - 10843 - # CDPATH. 10844 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10845 11133 10846 11134 10847 11135 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 10854 11142 as_status=$1; test $as_status -eq 0 && as_status=1 10855 11143 if test "$4"; then 10856 11144 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10857 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11145 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10858 11146 fi 10859 - $as_echo "$as_me: error: $2" >&2 11147 + printf "%s\n" "$as_me: error: $2" >&2 10860 11148 as_fn_exit $as_status 10861 11149 } # as_fn_error 11150 + 10862 11151 10863 11152 10864 11153 # as_fn_set_status STATUS ··· 10887 11176 { eval $1=; unset $1;} 10888 11177 } 10889 11178 as_unset=as_fn_unset 11179 + 10890 11180 # as_fn_append VAR VALUE 10891 11181 # ---------------------- 10892 11182 # Append the text in VALUE to the end of the definition contained in VAR. Take 10893 11183 # advantage of any shell optimizations that allow amortized linear growth over 10894 11184 # repeated appends, instead of the typical quadratic growth present in naive 10895 11185 # implementations. 10896 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11186 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 11187 + then : 10897 11188 eval 'as_fn_append () 10898 11189 { 10899 11190 eval $1+=\$2 10900 11191 }' 10901 - else 11192 + else $as_nop 10902 11193 as_fn_append () 10903 11194 { 10904 11195 eval $1=\$$1\$2 ··· 10910 11201 # Perform arithmetic evaluation on the ARGs, and store the result in the 10911 11202 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10912 11203 # must be portable across $(()) and expr. 10913 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11204 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 11205 + then : 10914 11206 eval 'as_fn_arith () 10915 11207 { 10916 11208 as_val=$(( $* )) 10917 11209 }' 10918 - else 11210 + else $as_nop 10919 11211 as_fn_arith () 10920 11212 { 10921 11213 as_val=`expr "$@" || test $? -eq 1` ··· 10946 11238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10947 11239 X"$0" : 'X\(//\)$' \| \ 10948 11240 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10949 - $as_echo X/"$0" | 11241 + printf "%s\n" X/"$0" | 10950 11242 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10951 11243 s//\1/ 10952 11244 q ··· 10968 11260 as_cr_digits='0123456789' 10969 11261 as_cr_alnum=$as_cr_Letters$as_cr_digits 10970 11262 11263 + 11264 + # Determine whether it's possible to make 'echo' print without a newline. 11265 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 11266 + # for compatibility with existing Makefiles. 10971 11267 ECHO_C= ECHO_N= ECHO_T= 10972 11268 case `echo -n x` in #((((( 10973 11269 -n*) ··· 10981 11277 ECHO_N='-n';; 10982 11278 esac 10983 11279 11280 + # For backward compatibility with old third-party macros, we provide 11281 + # the shell variables $as_echo and $as_echo_n. New code should use 11282 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 11283 + as_echo='printf %s\n' 11284 + as_echo_n='printf %s' 11285 + 10984 11286 rm -f conf$$ conf$$.exe conf$$.file 10985 11287 if test -d conf$$.dir; then 10986 11288 rm -f conf$$.dir/conf$$.file ··· 11022 11324 as_dirs= 11023 11325 while :; do 11024 11326 case $as_dir in #( 11025 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11327 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11026 11328 *) as_qdir=$as_dir;; 11027 11329 esac 11028 11330 as_dirs="'$as_qdir' $as_dirs" ··· 11031 11333 X"$as_dir" : 'X\(//\)[^/]' \| \ 11032 11334 X"$as_dir" : 'X\(//\)$' \| \ 11033 11335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11034 - $as_echo X"$as_dir" | 11336 + printf "%s\n" X"$as_dir" | 11035 11337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11036 11338 s//\1/ 11037 11339 q ··· 11093 11395 # report actual input values of CONFIG_FILES etc. instead of their 11094 11396 # values after options handling. 11095 11397 ac_log=" 11096 - This file was extended by font-util $as_me 1.4.0, which was 11097 - generated by GNU Autoconf 2.69. Invocation command line was 11398 + This file was extended by font-util $as_me 1.4.1, which was 11399 + generated by GNU Autoconf 2.71. Invocation command line was 11098 11400 11099 11401 CONFIG_FILES = $CONFIG_FILES 11100 11402 CONFIG_HEADERS = $CONFIG_HEADERS ··· 11156 11458 Report bugs to <https://gitlab.freedesktop.org/xorg/font/util/-/issues>." 11157 11459 11158 11460 _ACEOF 11461 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 11462 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 11159 11463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11160 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11464 + ac_cs_config='$ac_cs_config_escaped' 11161 11465 ac_cs_version="\\ 11162 - font-util config.status 1.4.0 11163 - configured by $0, generated by GNU Autoconf 2.69, 11466 + font-util config.status 1.4.1 11467 + configured by $0, generated by GNU Autoconf 2.71, 11164 11468 with options \\"\$ac_cs_config\\" 11165 11469 11166 - Copyright (C) 2012 Free Software Foundation, Inc. 11470 + Copyright (C) 2021 Free Software Foundation, Inc. 11167 11471 This config.status script is free software; the Free Software Foundation 11168 11472 gives unlimited permission to copy, distribute and modify it." 11169 11473 ··· 11203 11507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11204 11508 ac_cs_recheck=: ;; 11205 11509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11206 - $as_echo "$ac_cs_version"; exit ;; 11510 + printf "%s\n" "$ac_cs_version"; exit ;; 11207 11511 --config | --confi | --conf | --con | --co | --c ) 11208 - $as_echo "$ac_cs_config"; exit ;; 11512 + printf "%s\n" "$ac_cs_config"; exit ;; 11209 11513 --debug | --debu | --deb | --de | --d | -d ) 11210 11514 debug=: ;; 11211 11515 --file | --fil | --fi | --f ) 11212 11516 $ac_shift 11213 11517 case $ac_optarg in 11214 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11518 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11215 11519 '') as_fn_error $? "missing file argument" ;; 11216 11520 esac 11217 11521 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 11219 11523 --header | --heade | --head | --hea ) 11220 11524 $ac_shift 11221 11525 case $ac_optarg in 11222 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11526 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11223 11527 esac 11224 11528 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11225 11529 ac_need_defaults=false;; ··· 11228 11532 as_fn_error $? "ambiguous option: \`$1' 11229 11533 Try \`$0 --help' for more information.";; 11230 11534 --help | --hel | -h ) 11231 - $as_echo "$ac_cs_usage"; exit ;; 11535 + printf "%s\n" "$ac_cs_usage"; exit ;; 11232 11536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11233 11537 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11234 11538 ac_cs_silent=: ;; ··· 11256 11560 if \$ac_cs_recheck; then 11257 11561 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11258 11562 shift 11259 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11563 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 11260 11564 CONFIG_SHELL='$SHELL' 11261 11565 export CONFIG_SHELL 11262 11566 exec "\$@" ··· 11270 11574 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11271 11575 ## Running $as_me. ## 11272 11576 _ASBOX 11273 - $as_echo "$ac_log" 11577 + printf "%s\n" "$ac_log" 11274 11578 } >&5 11275 11579 11276 11580 _ACEOF ··· 11305 11609 # We use the long form for the default assignment because of an extremely 11306 11610 # bizarre bug on SunOS 4.1.3. 11307 11611 if $ac_need_defaults; then 11308 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11309 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11310 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11612 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 11613 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 11614 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 11311 11615 fi 11312 11616 11313 11617 # Have a temporary directory for convenience. Make it in the build tree ··· 11643 11947 esac || 11644 11948 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11645 11949 esac 11646 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11950 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11647 11951 as_fn_append ac_file_inputs " '$ac_f'" 11648 11952 done 11649 11953 ··· 11651 11955 # use $as_me), people would be surprised to read: 11652 11956 # /* config.h. Generated by config.status. */ 11653 11957 configure_input='Generated from '` 11654 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11958 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11655 11959 `' by configure.' 11656 11960 if test x"$ac_file" != x-; then 11657 11961 configure_input="$ac_file. $configure_input" 11658 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11659 - $as_echo "$as_me: creating $ac_file" >&6;} 11962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11963 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 11660 11964 fi 11661 11965 # Neutralize special characters interpreted by sed in replacement strings. 11662 11966 case $configure_input in #( 11663 11967 *\&* | *\|* | *\\* ) 11664 - ac_sed_conf_input=`$as_echo "$configure_input" | 11968 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 11665 11969 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11666 11970 *) ac_sed_conf_input=$configure_input;; 11667 11971 esac ··· 11678 11982 X"$ac_file" : 'X\(//\)[^/]' \| \ 11679 11983 X"$ac_file" : 'X\(//\)$' \| \ 11680 11984 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11681 - $as_echo X"$ac_file" | 11985 + printf "%s\n" X"$ac_file" | 11682 11986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11683 11987 s//\1/ 11684 11988 q ··· 11702 12006 case "$ac_dir" in 11703 12007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11704 12008 *) 11705 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12009 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 11706 12010 # A ".." for each directory in $ac_dir_suffix. 11707 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12011 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11708 12012 case $ac_top_builddir_sub in 11709 12013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11710 12014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 11766 12070 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11767 12071 *datarootdir*) ac_datarootdir_seen=yes;; 11768 12072 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11769 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11770 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12073 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12074 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11771 12075 _ACEOF 11772 12076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11773 12077 ac_datarootdir_hack=' ··· 11811 12115 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11812 12116 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11813 12117 "$ac_tmp/out"`; test -z "$ac_out"; } && 11814 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11815 12119 which seems to be undefined. Please make sure it is defined" >&5 11816 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12120 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11817 12121 which seems to be undefined. Please make sure it is defined" >&2;} 11818 12122 11819 12123 rm -f "$ac_tmp/stdin" ··· 11829 12133 # 11830 12134 if test x"$ac_file" != x-; then 11831 12135 { 11832 - $as_echo "/* $configure_input */" \ 12136 + printf "%s\n" "/* $configure_input */" >&1 \ 11833 12137 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11834 12138 } >"$ac_tmp/config.h" \ 11835 12139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11836 12140 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11837 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11838 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 12141 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12142 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 11839 12143 else 11840 12144 rm -f "$ac_file" 11841 12145 mv "$ac_tmp/config.h" "$ac_file" \ 11842 12146 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11843 12147 fi 11844 12148 else 11845 - $as_echo "/* $configure_input */" \ 12149 + printf "%s\n" "/* $configure_input */" >&1 \ 11846 12150 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11847 12151 || as_fn_error $? "could not create -" "$LINENO" 5 11848 12152 fi ··· 11862 12166 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11863 12167 X"$_am_arg" : 'X\(//\)$' \| \ 11864 12168 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11865 - $as_echo X"$_am_arg" | 12169 + printf "%s\n" X"$_am_arg" | 11866 12170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11867 12171 s//\1/ 11868 12172 q ··· 11882 12186 s/.*/./; q'`/stamp-h$_am_stamp_count 11883 12187 ;; 11884 12188 11885 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 11886 - $as_echo "$as_me: executing $ac_file commands" >&6;} 12189 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12190 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 11887 12191 ;; 11888 12192 esac 11889 12193 ··· 11915 12219 X"$mf" : 'X\(//\)[^/]' \| \ 11916 12220 X"$mf" : 'X\(//\)$' \| \ 11917 12221 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11918 - $as_echo X"$mf" | 12222 + printf "%s\n" X"$mf" | 11919 12223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11920 12224 s//\1/ 11921 12225 q ··· 11957 12261 X"$file" : 'X\(//\)[^/]' \| \ 11958 12262 X"$file" : 'X\(//\)$' \| \ 11959 12263 X"$file" : 'X\(/\)' \| . 2>/dev/null || 11960 - $as_echo X"$file" | 12264 + printf "%s\n" X"$file" | 11961 12265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11962 12266 s//\1/ 11963 12267 q ··· 12016 12320 $ac_cs_success || as_fn_exit 1 12017 12321 fi 12018 12322 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12019 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12020 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12323 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12324 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12021 12325 fi 12022 12326
+1 -1
font/util/configure.ac
··· 23 23 24 24 # Initialize Autoconf 25 25 AC_PREREQ([2.60]) 26 - AC_INIT([font-util], [1.4.0], 26 + AC_INIT([font-util], [1.4.1], 27 27 [https://gitlab.freedesktop.org/xorg/font/util/-/issues], [font-util]) 28 28 AC_CONFIG_SRCDIR([Makefile.am]) 29 29 AC_CONFIG_HEADERS([config.h])
+1 -1
font/util/fontutil.m4.in
··· 2 2 dnl 3 3 dnl This file comes from X.Org's @PACKAGE_STRING@ 4 4 dnl 5 - dnl Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 5 + dnl Copyright (c) 2009, 2023, Oracle and/or its affiliates. 6 6 dnl 7 7 dnl Permission is hereby granted, free of charge, to any person obtaining a 8 8 dnl copy of this software and associated documentation files (the "Software"),
+214 -200
font/util/install-sh
··· 1 1 #!/bin/sh 2 2 # install - install a program, script, or datafile 3 3 4 - scriptversion=2011-11-20.07; # UTC 4 + scriptversion=2020-11-14.01; # UTC 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 7 # later released in X11R6 (xc/config/util/install.sh) with the ··· 41 41 # This script is compatible with the BSD install script, but was written 42 42 # from scratch. 43 43 44 + tab=' ' 44 45 nl=' 45 46 ' 46 - IFS=" "" $nl" 47 + IFS=" $tab$nl" 47 48 48 - # set DOITPROG to echo to test this script 49 + # Set DOITPROG to "echo" to test this script. 49 50 50 - # Don't use :- since 4.3BSD and earlier shells don't like it. 51 51 doit=${DOITPROG-} 52 - if test -z "$doit"; then 53 - doit_exec=exec 54 - else 55 - doit_exec=$doit 56 - fi 52 + doit_exec=${doit:-exec} 57 53 58 54 # Put in absolute file names if you don't have them in your path; 59 55 # or use environment vars. ··· 68 64 rmprog=${RMPROG-rm} 69 65 stripprog=${STRIPPROG-strip} 70 66 71 - posix_glob='?' 72 - initialize_posix_glob=' 73 - test "$posix_glob" != "?" || { 74 - if (set -f) 2>/dev/null; then 75 - posix_glob= 76 - else 77 - posix_glob=: 78 - fi 79 - } 80 - ' 81 - 82 67 posix_mkdir= 83 68 84 69 # Desired mode of installed file. 85 70 mode=0755 86 71 72 + # Create dirs (including intermediate dirs) using mode 755. 73 + # This is like GNU 'install' as of coreutils 8.32 (2020). 74 + mkdir_umask=22 75 + 76 + backupsuffix= 87 77 chgrpcmd= 88 78 chmodcmd=$chmodprog 89 79 chowncmd= ··· 97 87 dst_arg= 98 88 99 89 copy_on_change=false 100 - no_target_directory= 90 + is_target_a_directory=possibly 101 91 102 92 usage="\ 103 93 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ··· 114 104 --version display version info and exit. 115 105 116 106 -c (ignored) 117 - -C install only if different (preserve the last data modification time) 107 + -C install only if different (preserve data modification time) 118 108 -d create directories instead of installing files. 119 109 -g GROUP $chgrpprog installed files to GROUP. 120 110 -m MODE $chmodprog installed files to MODE. 121 111 -o USER $chownprog installed files to USER. 112 + -p pass -p to $cpprog. 122 113 -s $stripprog installed files. 114 + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. 123 115 -t DIRECTORY install into DIRECTORY. 124 116 -T report an error if DSTFILE is a directory. 125 117 126 118 Environment variables override the default commands: 127 119 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG 128 120 RMPROG STRIPPROG 121 + 122 + By default, rm is invoked with -f; when overridden with RMPROG, 123 + it's up to you to specify -f if you want it. 124 + 125 + If -S is not specified, no backups are attempted. 126 + 127 + Email bug reports to bug-automake@gnu.org. 128 + Automake home page: https://www.gnu.org/software/automake/ 129 129 " 130 130 131 131 while test $# -ne 0; do ··· 137 137 -d) dir_arg=true;; 138 138 139 139 -g) chgrpcmd="$chgrpprog $2" 140 - shift;; 140 + shift;; 141 141 142 142 --help) echo "$usage"; exit $?;; 143 143 144 144 -m) mode=$2 145 - case $mode in 146 - *' '* | *' '* | *' 147 - '* | *'*'* | *'?'* | *'['*) 148 - echo "$0: invalid mode: $mode" >&2 149 - exit 1;; 150 - esac 151 - shift;; 145 + case $mode in 146 + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) 147 + echo "$0: invalid mode: $mode" >&2 148 + exit 1;; 149 + esac 150 + shift;; 152 151 153 152 -o) chowncmd="$chownprog $2" 154 - shift;; 153 + shift;; 154 + 155 + -p) cpprog="$cpprog -p";; 155 156 156 157 -s) stripcmd=$stripprog;; 157 158 158 - -t) dst_arg=$2 159 - # Protect names problematic for 'test' and other utilities. 160 - case $dst_arg in 161 - -* | [=\(\)!]) dst_arg=./$dst_arg;; 162 - esac 163 - shift;; 159 + -S) backupsuffix="$2" 160 + shift;; 164 161 165 - -T) no_target_directory=true;; 162 + -t) 163 + is_target_a_directory=always 164 + dst_arg=$2 165 + # Protect names problematic for 'test' and other utilities. 166 + case $dst_arg in 167 + -* | [=\(\)!]) dst_arg=./$dst_arg;; 168 + esac 169 + shift;; 170 + 171 + -T) is_target_a_directory=never;; 166 172 167 173 --version) echo "$0 $scriptversion"; exit $?;; 168 174 169 - --) shift 170 - break;; 175 + --) shift 176 + break;; 171 177 172 - -*) echo "$0: invalid option: $1" >&2 173 - exit 1;; 178 + -*) echo "$0: invalid option: $1" >&2 179 + exit 1;; 174 180 175 181 *) break;; 176 182 esac 177 183 shift 178 184 done 185 + 186 + # We allow the use of options -d and -T together, by making -d 187 + # take the precedence; this is for compatibility with GNU install. 188 + 189 + if test -n "$dir_arg"; then 190 + if test -n "$dst_arg"; then 191 + echo "$0: target directory not allowed when installing a directory." >&2 192 + exit 1 193 + fi 194 + fi 179 195 180 196 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then 181 197 # When -d is used, all remaining arguments are directories to create. ··· 208 224 fi 209 225 210 226 if test -z "$dir_arg"; then 227 + if test $# -gt 1 || test "$is_target_a_directory" = always; then 228 + if test ! -d "$dst_arg"; then 229 + echo "$0: $dst_arg: Is not a directory." >&2 230 + exit 1 231 + fi 232 + fi 233 + fi 234 + 235 + if test -z "$dir_arg"; then 211 236 do_exit='(exit $ret); exit $ret' 212 237 trap "ret=129; $do_exit" 1 213 238 trap "ret=130; $do_exit" 2 ··· 223 248 224 249 *[0-7]) 225 250 if test -z "$stripcmd"; then 226 - u_plus_rw= 251 + u_plus_rw= 227 252 else 228 - u_plus_rw='% 200' 253 + u_plus_rw='% 200' 229 254 fi 230 255 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; 231 256 *) 232 257 if test -z "$stripcmd"; then 233 - u_plus_rw= 258 + u_plus_rw= 234 259 else 235 - u_plus_rw=,u+rw 260 + u_plus_rw=,u+rw 236 261 fi 237 262 cp_umask=$mode$u_plus_rw;; 238 263 esac ··· 250 275 dstdir=$dst 251 276 test -d "$dstdir" 252 277 dstdir_status=$? 278 + # Don't chown directories that already exist. 279 + if test $dstdir_status = 0; then 280 + chowncmd="" 281 + fi 253 282 else 254 283 255 284 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ··· 266 295 fi 267 296 dst=$dst_arg 268 297 269 - # If destination is a directory, append the input filename; won't work 270 - # if double slashes aren't ignored. 298 + # If destination is a directory, append the input filename. 271 299 if test -d "$dst"; then 272 - if test -n "$no_target_directory"; then 273 - echo "$0: $dst_arg: Is a directory" >&2 274 - exit 1 300 + if test "$is_target_a_directory" = never; then 301 + echo "$0: $dst_arg: Is a directory" >&2 302 + exit 1 275 303 fi 276 304 dstdir=$dst 277 - dst=$dstdir/`basename "$src"` 305 + dstbase=`basename "$src"` 306 + case $dst in 307 + */) dst=$dst$dstbase;; 308 + *) dst=$dst/$dstbase;; 309 + esac 278 310 dstdir_status=0 279 311 else 280 - # Prefer dirname, but fall back on a substitute if dirname fails. 281 - dstdir=` 282 - (dirname "$dst") 2>/dev/null || 283 - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 - X"$dst" : 'X\(//\)[^/]' \| \ 285 - X"$dst" : 'X\(//\)$' \| \ 286 - X"$dst" : 'X\(/\)' \| . 2>/dev/null || 287 - echo X"$dst" | 288 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 289 - s//\1/ 290 - q 291 - } 292 - /^X\(\/\/\)[^/].*/{ 293 - s//\1/ 294 - q 295 - } 296 - /^X\(\/\/\)$/{ 297 - s//\1/ 298 - q 299 - } 300 - /^X\(\/\).*/{ 301 - s//\1/ 302 - q 303 - } 304 - s/.*/./; q' 305 - ` 306 - 312 + dstdir=`dirname "$dst"` 307 313 test -d "$dstdir" 308 314 dstdir_status=$? 309 315 fi 310 316 fi 317 + 318 + case $dstdir in 319 + */) dstdirslash=$dstdir;; 320 + *) dstdirslash=$dstdir/;; 321 + esac 311 322 312 323 obsolete_mkdir_used=false 313 324 314 325 if test $dstdir_status != 0; then 315 326 case $posix_mkdir in 316 327 '') 317 - # Create intermediate dirs using mode 755 as modified by the umask. 318 - # This is like FreeBSD 'install' as of 1997-10-28. 319 - umask=`umask` 320 - case $stripcmd.$umask in 321 - # Optimize common cases. 322 - *[2367][2367]) mkdir_umask=$umask;; 323 - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; 328 + # With -d, create the new directory with the user-specified mode. 329 + # Otherwise, rely on $mkdir_umask. 330 + if test -n "$dir_arg"; then 331 + mkdir_mode=-m$mode 332 + else 333 + mkdir_mode= 334 + fi 335 + 336 + posix_mkdir=false 337 + # The $RANDOM variable is not portable (e.g., dash). Use it 338 + # here however when possible just to lower collision chance. 339 + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 324 340 325 - *[0-7]) 326 - mkdir_umask=`expr $umask + 22 \ 327 - - $umask % 100 % 40 + $umask % 20 \ 328 - - $umask % 10 % 4 + $umask % 2 329 - `;; 330 - *) mkdir_umask=$umask,go-w;; 331 - esac 341 + trap ' 342 + ret=$? 343 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null 344 + exit $ret 345 + ' 0 332 346 333 - # With -d, create the new directory with the user-specified mode. 334 - # Otherwise, rely on $mkdir_umask. 335 - if test -n "$dir_arg"; then 336 - mkdir_mode=-m$mode 347 + # Because "mkdir -p" follows existing symlinks and we likely work 348 + # directly in world-writeable /tmp, make sure that the '$tmpdir' 349 + # directory is successfully created first before we actually test 350 + # 'mkdir -p'. 351 + if (umask $mkdir_umask && 352 + $mkdirprog $mkdir_mode "$tmpdir" && 353 + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 354 + then 355 + if test -z "$dir_arg" || { 356 + # Check for POSIX incompatibilities with -m. 357 + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 358 + # other-writable bit of parent directory when it shouldn't. 359 + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 360 + test_tmpdir="$tmpdir/a" 361 + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` 362 + case $ls_ld_tmpdir in 363 + d????-?r-*) different_mode=700;; 364 + d????-?--*) different_mode=755;; 365 + *) false;; 366 + esac && 367 + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { 368 + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` 369 + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 370 + } 371 + } 372 + then posix_mkdir=: 373 + fi 374 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 337 375 else 338 - mkdir_mode= 376 + # Remove any dirs left behind by ancient mkdir implementations. 377 + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null 339 378 fi 340 - 341 - posix_mkdir=false 342 - case $umask in 343 - *[123567][0-7][0-7]) 344 - # POSIX mkdir -p sets u+wx bits regardless of umask, which 345 - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. 346 - ;; 347 - *) 348 - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 349 - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 350 - 351 - if (umask $mkdir_umask && 352 - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 353 - then 354 - if test -z "$dir_arg" || { 355 - # Check for POSIX incompatibilities with -m. 356 - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 357 - # other-writable bit of parent directory when it shouldn't. 358 - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 359 - ls_ld_tmpdir=`ls -ld "$tmpdir"` 360 - case $ls_ld_tmpdir in 361 - d????-?r-*) different_mode=700;; 362 - d????-?--*) different_mode=755;; 363 - *) false;; 364 - esac && 365 - $mkdirprog -m$different_mode -p -- "$tmpdir" && { 366 - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` 367 - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 368 - } 369 - } 370 - then posix_mkdir=: 371 - fi 372 - rmdir "$tmpdir/d" "$tmpdir" 373 - else 374 - # Remove any dirs left behind by ancient mkdir implementations. 375 - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null 376 - fi 377 - trap '' 0;; 378 - esac;; 379 + trap '' 0;; 379 380 esac 380 381 381 382 if 382 383 $posix_mkdir && ( 383 - umask $mkdir_umask && 384 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 384 + umask $mkdir_umask && 385 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 385 386 ) 386 387 then : 387 388 else 388 389 389 - # The umask is ridiculous, or mkdir does not conform to POSIX, 390 + # mkdir does not conform to POSIX, 390 391 # or it failed possibly due to a race condition. Create the 391 392 # directory the slow way, step by step, checking for races as we go. 392 393 393 394 case $dstdir in 394 - /*) prefix='/';; 395 - [-=\(\)!]*) prefix='./';; 396 - *) prefix='';; 395 + /*) prefix='/';; 396 + [-=\(\)!]*) prefix='./';; 397 + *) prefix='';; 397 398 esac 398 - 399 - eval "$initialize_posix_glob" 400 399 401 400 oIFS=$IFS 402 401 IFS=/ 403 - $posix_glob set -f 402 + set -f 404 403 set fnord $dstdir 405 404 shift 406 - $posix_glob set +f 405 + set +f 407 406 IFS=$oIFS 408 407 409 408 prefixes= 410 409 411 410 for d 412 411 do 413 - test X"$d" = X && continue 412 + test X"$d" = X && continue 414 413 415 - prefix=$prefix$d 416 - if test -d "$prefix"; then 417 - prefixes= 418 - else 419 - if $posix_mkdir; then 420 - (umask=$mkdir_umask && 421 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 422 - # Don't fail if two instances are running concurrently. 423 - test -d "$prefix" || exit 1 424 - else 425 - case $prefix in 426 - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 427 - *) qprefix=$prefix;; 428 - esac 429 - prefixes="$prefixes '$qprefix'" 430 - fi 431 - fi 432 - prefix=$prefix/ 414 + prefix=$prefix$d 415 + if test -d "$prefix"; then 416 + prefixes= 417 + else 418 + if $posix_mkdir; then 419 + (umask $mkdir_umask && 420 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 421 + # Don't fail if two instances are running concurrently. 422 + test -d "$prefix" || exit 1 423 + else 424 + case $prefix in 425 + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 426 + *) qprefix=$prefix;; 427 + esac 428 + prefixes="$prefixes '$qprefix'" 429 + fi 430 + fi 431 + prefix=$prefix/ 433 432 done 434 433 435 434 if test -n "$prefixes"; then 436 - # Don't fail if two instances are running concurrently. 437 - (umask $mkdir_umask && 438 - eval "\$doit_exec \$mkdirprog $prefixes") || 439 - test -d "$dstdir" || exit 1 440 - obsolete_mkdir_used=true 435 + # Don't fail if two instances are running concurrently. 436 + (umask $mkdir_umask && 437 + eval "\$doit_exec \$mkdirprog $prefixes") || 438 + test -d "$dstdir" || exit 1 439 + obsolete_mkdir_used=true 441 440 fi 442 441 fi 443 442 fi ··· 450 449 else 451 450 452 451 # Make a couple of temp file names in the proper directory. 453 - dsttmp=$dstdir/_inst.$$_ 454 - rmtmp=$dstdir/_rm.$$_ 452 + dsttmp=${dstdirslash}_inst.$$_ 453 + rmtmp=${dstdirslash}_rm.$$_ 455 454 456 455 # Trap to clean up those temp files at exit. 457 456 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 458 457 459 458 # Copy the file name to the temp name. 460 - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && 459 + (umask $cp_umask && 460 + { test -z "$stripcmd" || { 461 + # Create $dsttmp read-write so that cp doesn't create it read-only, 462 + # which would cause strip to fail. 463 + if test -z "$doit"; then 464 + : >"$dsttmp" # No need to fork-exec 'touch'. 465 + else 466 + $doit touch "$dsttmp" 467 + fi 468 + } 469 + } && 470 + $doit_exec $cpprog "$src" "$dsttmp") && 461 471 462 472 # and set any options; do chmod last to preserve setuid bits. 463 473 # ··· 472 482 473 483 # If -C, don't bother to copy if it wouldn't change the file. 474 484 if $copy_on_change && 475 - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 476 - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 477 - 478 - eval "$initialize_posix_glob" && 479 - $posix_glob set -f && 485 + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 486 + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 487 + set -f && 480 488 set X $old && old=:$2:$4:$5:$6 && 481 489 set X $new && new=:$2:$4:$5:$6 && 482 - $posix_glob set +f && 483 - 490 + set +f && 484 491 test "$old" = "$new" && 485 492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 486 493 then 487 494 rm -f "$dsttmp" 488 495 else 496 + # If $backupsuffix is set, and the file being installed 497 + # already exists, attempt a backup. Don't worry if it fails, 498 + # e.g., if mv doesn't support -f. 499 + if test -n "$backupsuffix" && test -f "$dst"; then 500 + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null 501 + fi 502 + 489 503 # Rename the file to the real destination. 490 504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || 491 505 ··· 493 507 # to itself, or perhaps because mv is so ancient that it does not 494 508 # support -f. 495 509 { 496 - # Now remove or move aside any old file at destination location. 497 - # We try this two ways since rm can't unlink itself on some 498 - # systems and the destination file might be busy for other 499 - # reasons. In this case, the final cleanup might fail but the new 500 - # file should still install successfully. 501 - { 502 - test ! -f "$dst" || 503 - $doit $rmcmd -f "$dst" 2>/dev/null || 504 - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 505 - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } 506 - } || 507 - { echo "$0: cannot unlink or rename $dst" >&2 508 - (exit 1); exit 1 509 - } 510 - } && 510 + # Now remove or move aside any old file at destination location. 511 + # We try this two ways since rm can't unlink itself on some 512 + # systems and the destination file might be busy for other 513 + # reasons. In this case, the final cleanup might fail but the new 514 + # file should still install successfully. 515 + { 516 + test ! -f "$dst" || 517 + $doit $rmcmd "$dst" 2>/dev/null || 518 + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 519 + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } 520 + } || 521 + { echo "$0: cannot unlink or rename $dst" >&2 522 + (exit 1); exit 1 523 + } 524 + } && 511 525 512 - # Now rename the file to the real destination. 513 - $doit $mvcmd "$dsttmp" "$dst" 526 + # Now rename the file to the real destination. 527 + $doit $mvcmd "$dsttmp" "$dst" 514 528 } 515 529 fi || exit 1 516 530 ··· 519 533 done 520 534 521 535 # Local variables: 522 - # eval: (add-hook 'write-file-hooks 'time-stamp) 536 + # eval: (add-hook 'before-save-hook 'time-stamp) 523 537 # time-stamp-start: "scriptversion=" 524 538 # time-stamp-format: "%:y-%02m-%02d.%02H" 525 - # time-stamp-time-zone: "UTC" 539 + # time-stamp-time-zone: "UTC0" 526 540 # time-stamp-end: "; # UTC" 527 541 # End:
+1 -1
font/util/man/Makefile.am
··· 1 1 # 2 - # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 + # Copyright (c) 2010, Oracle and/or its affiliates. 3 3 # 4 4 # Permission is hereby granted, free of charge, to any person obtaining a 5 5 # copy of this software and associated documentation files (the "Software"),
+1 -4
font/util/man/Makefile.in
··· 15 15 @SET_MAKE@ 16 16 17 17 # 18 - # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 18 + # Copyright (c) 2010, Oracle and/or its affiliates. 19 19 # 20 20 # Permission is hereby granted, free of charge, to any person obtaining a 21 21 # copy of this software and associated documentation files (the "Software"), ··· 148 148 CCDEPMODE = @CCDEPMODE@ 149 149 CFLAGS = @CFLAGS@ 150 150 CHANGELOG_CMD = @CHANGELOG_CMD@ 151 - CPP = @CPP@ 152 151 CPPFLAGS = @CPPFLAGS@ 153 152 CWARNFLAGS = @CWARNFLAGS@ 154 153 CYGPATH_W = @CYGPATH_W@ ··· 159 158 ECHO_C = @ECHO_C@ 160 159 ECHO_N = @ECHO_N@ 161 160 ECHO_T = @ECHO_T@ 162 - EGREP = @EGREP@ 163 161 EXEEXT = @EXEEXT@ 164 162 FILE_MAN_DIR = @FILE_MAN_DIR@ 165 163 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 166 - GREP = @GREP@ 167 164 INSTALL = @INSTALL@ 168 165 INSTALL_CMD = @INSTALL_CMD@ 169 166 INSTALL_DATA = @INSTALL_DATA@
+14 -25
font/util/map-ISO8859-1
··· 1 + # 8859-1.TXT 2 + # Date: 2015-12-02 20:19:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-1:1998 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 35 23 # The entries are in ISO/IEC 8859-1 order. 36 24 # 37 25 # Version history 38 - # 1.0 version updates 0.1 version by adding mappings for all 39 - # control characters. 26 + # 1.0 version: updates 0.1 version by adding mappings for all 27 + # control characters. 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 40 30 # 41 31 # Updated versions of this file may be found in: 42 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 43 33 # 44 - # Any comments or problems, contact <errata@unicode.org> 45 - # Please note that <errata@unicode.org> is an archival address; 46 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 47 36 # 48 37 0x00 0x0000 # NULL 49 38 0x01 0x0001 # START OF HEADING
+13 -24
font/util/map-ISO8859-10
··· 1 + # 8859-10.TXT 2 + # Date: 2015-12-02 21:53:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-10:1998 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.1 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 October 11 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 October 11 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 36 24 # 37 25 # Version history 38 26 # 1.0 version new. 39 - # 1.1 corrected mistake in mapping of 0xA4 27 + # 1.1 corrected mistake in mapping of 0xA4 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 40 30 # 41 31 # Updated versions of this file may be found in: 42 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 43 33 # 44 - # Any comments or problems, contact <errata@unicode.org> 45 - # Please note that <errata@unicode.org> is an archival address; 46 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 47 36 # 48 37 0x00 0x0000 # NULL 49 38 0x01 0x0001 # START OF HEADING
+12 -23
font/util/map-ISO8859-11
··· 1 + # 8859-11.TXT 2 + # Date: 2015-12-02 21:55:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-11:2001 to Unicode 3 7 # Unicode version: 3.2 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 2002 October 7 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 2002 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 2002 October 7 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 39 27 # 40 28 # Version history: 41 29 # 2002 October 7 Created 30 + # 2.0 version: updates to copyright notice and terms of use; no 31 + # changes to character mappings 42 32 # 43 33 # Updated versions of this file may be found in: 44 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 34 + # http://www.unicode.org/Public/MAPPINGS/ 45 35 # 46 - # For any comments or problems, please use the Unicode 47 - # web contact form at: 48 - # http://www.unicode.org/unicode/reporting.html 36 + # Any comments or problems, contact us at: 37 + # http://www.unicode.org/reporting.html 49 38 # 50 39 0x00 0x0000 # NULL 51 40 0x01 0x0001 # START OF HEADING
+15 -23
font/util/map-ISO8859-13
··· 1 + # 8859-13.TXT 2 + # Date: 2015-12-02 22:03:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-13:1998 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1998 - 1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 34 22 # 35 23 # The entries are in ISO/IEC 8859-13 order. 36 24 # 25 + # Version history 26 + # 1.0 version: created 27 + # 2.0 version: updates to copyright notice and terms of use; no 28 + # changes to character mappings 29 + # 37 30 # Updated versions of this file may be found in: 38 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 31 + # http://www.unicode.org/Public/MAPPINGS/ 39 32 # 40 - # Any comments or problems, contact <errata@unicode.org> 41 - # Please note that <errata@unicode.org> is an archival address; 42 - # notices will be checked, but do not expect an immediate response. 33 + # Any comments or problems, contact us at: 34 + # http://www.unicode.org/reporting.html 43 35 # 44 36 0x00 0x0000 # NULL 45 37 0x01 0x0001 # START OF HEADING
+15 -23
font/util/map-ISO8859-14
··· 1 + # 8859-14.TXT 2 + # Date: 2015-12-02 22:05:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-14:1998 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 7 11 # Authors: Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> 8 - # Ken Whistler <kenw@sybase.com> 9 - # 10 - # Copyright (c) 1998 - 1999 Unicode, Inc. All Rights reserved. 11 - # 12 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 13 - # No claims are made as to fitness for any particular purpose. No 14 - # warranties of any kind are expressed or implied. The recipient 15 - # agrees to determine applicability of information provided. If this 16 - # file has been provided on optical media by Unicode, Inc., the sole 17 - # remedy for any claim will be exchange of defective media within 90 18 - # days of receipt. 19 - # 20 - # Unicode, Inc. hereby grants the right to freely use the information 21 - # supplied in this file in the creation of products supporting the 22 - # Unicode Standard, and to make copies of this file in any form for 23 - # internal or external distribution as long as this notice remains 24 - # attached. 12 + # Ken Whistler <ken@unicode.org> 25 13 # 26 14 # General notes: 27 15 # ··· 35 23 # 36 24 # The entries are in ISO/IEC 8859-14 order. 37 25 # 26 + # Version history 27 + # 1.0 version: created 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 30 + # 38 31 # Updated versions of this file may be found in: 39 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 40 33 # 41 - # Any comments or problems, contact <errata@unicode.org> 42 - # Please note that <errata@unicode.org> is an archival address; 43 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 44 36 # 45 37 0x00 0x0000 # NULL 46 38 0x01 0x0001 # START OF HEADING
+15 -23
font/util/map-ISO8859-15
··· 1 + # 8859-15.TXT 2 + # Date: 2015-12-02 22:06:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-15:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 7 11 # Authors: Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> 8 - # Ken Whistler <kenw@sybase.com> 9 - # 10 - # Copyright (c) 1998 - 1999 Unicode, Inc. All Rights reserved. 11 - # 12 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 13 - # No claims are made as to fitness for any particular purpose. No 14 - # warranties of any kind are expressed or implied. The recipient 15 - # agrees to determine applicability of information provided. If this 16 - # file has been provided on optical media by Unicode, Inc., the sole 17 - # remedy for any claim will be exchange of defective media within 90 18 - # days of receipt. 19 - # 20 - # Unicode, Inc. hereby grants the right to freely use the information 21 - # supplied in this file in the creation of products supporting the 22 - # Unicode Standard, and to make copies of this file in any form for 23 - # internal or external distribution as long as this notice remains 24 - # attached. 12 + # Ken Whistler <ken@unicode.org> 25 13 # 26 14 # General notes: 27 15 # ··· 37 25 # 38 26 # Version history 39 27 # 28 + # Version history 29 + # 1.0 version: created 30 + # 2.0 version: updates to copyright notice and terms of use; no 31 + # changes to character mappings 32 + # 40 33 # Updated versions of this file may be found in: 41 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 34 + # http://www.unicode.org/Public/MAPPINGS/ 42 35 # 43 - # Any comments or problems, contact <errata@unicode.org> 44 - # Please note that <errata@unicode.org> is an archival address; 45 - # notices will be checked, but do not expect an immediate response. 36 + # Any comments or problems, contact us at: 37 + # http://www.unicode.org/reporting.html 46 38 # 47 39 0x00 0x0000 # NULL 48 40 0x01 0x0001 # START OF HEADING
+14 -20
font/util/map-ISO8859-16
··· 1 + # 8859-16.TXT 2 + # Date: 2015-12-02 22:08:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-16:2001 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 2001 July 26 10 + # Date: 2001 July 26 (header updated: 2015 December 02) 7 11 # Authors: Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> 8 12 # 9 13 # Copyright (c) 1999-2001 Unicode, Inc. All Rights reserved. 10 14 # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 24 - # 25 15 # General notes: 26 16 # 27 17 # This table contains the data the Unicode Consortium has on how ··· 34 24 # 35 25 # The entries are in ISO/IEC 8859-16 order. 36 26 # 27 + # Version history 28 + # 1.0 version: created 29 + # 2.0 version: updates to copyright notice and terms of use; no 30 + # changes to character mappings 31 + # 37 32 # Updated versions of this file may be found in: 38 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 33 + # http://www.unicode.org/Public/MAPPINGS/ 39 34 # 40 - # Any comments or problems, contact <errata@unicode.org> 41 - # Please note that <errata@unicode.org> is an archival address; 42 - # notices will be checked, but do not expect an immediate response. 35 + # Any comments or problems, contact us at: 36 + # http://www.unicode.org/reporting.html 43 37 # 44 38 0x00 0x0000 # NULL 45 39 0x01 0x0001 # START OF HEADING
+14 -25
font/util/map-ISO8859-2
··· 1 + # 8859-2.TXT 2 + # Date: 2015-12-02 21:34:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO 8859-2:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 35 23 # The entries are in ISO/IEC 8859-2 order. 36 24 # 37 25 # Version history 38 - # 1.0 version updates 0.1 version by adding mappings for all 39 - # control characters. 26 + # 1.0 version: updates 0.1 version by adding mappings for all 27 + # control characters. 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 40 30 # 41 31 # Updated versions of this file may be found in: 42 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 43 33 # 44 - # Any comments or problems, contact <errata@unicode.org> 45 - # Please note that <errata@unicode.org> is an archival address; 46 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 47 36 # 48 37 0x00 0x0000 # NULL 49 38 0x01 0x0001 # START OF HEADING
+14 -25
font/util/map-ISO8859-3
··· 1 + # 8859-3.TXT 2 + # Date: 2015-12-02 21:39:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-3:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 35 23 # The entries are in ISO/IEC 8859-3 order. 36 24 # 37 25 # Version history 38 - # 1.0 version updates 0.1 version by adding mappings for all 39 - # control characters. 26 + # 1.0 version: updates 0.1 version by adding mappings for all 27 + # control characters. 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 40 30 # 41 31 # Updated versions of this file may be found in: 42 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 43 33 # 44 - # Any comments or problems, contact <errata@unicode.org> 45 - # Please note that <errata@unicode.org> is an archival address; 46 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 47 36 # 48 37 0x00 0x0000 # NULL 49 38 0x01 0x0001 # START OF HEADING
+14 -25
font/util/map-ISO8859-4
··· 1 + # 8859-4.TXT 2 + # Date: 2015-12-02 21:41:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-4:1998 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 35 23 # The entries are in ISO/IEC 8859-4 order. 36 24 # 37 25 # Version history 38 - # 1.0 version updates 0.1 version by adding mappings for all 39 - # control characters. 26 + # 1.0 version: updates 0.1 version by adding mappings for all 27 + # control characters. 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 40 30 # 41 31 # Updated versions of this file may be found in: 42 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 43 33 # 44 - # Any comments or problems, contact <errata@unicode.org> 45 - # Please note that <errata@unicode.org> is an archival address; 46 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 47 36 # 48 37 0x00 0x0000 # NULL 49 38 0x01 0x0001 # START OF HEADING
+14 -25
font/util/map-ISO8859-5
··· 1 + # 8859-5.TXT 2 + # Date: 2015-12-02 21:43:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO 8859-5:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 35 23 # The entries are in ISO/IEC 8859-5 order. 36 24 # 37 25 # Version history 38 - # 1.0 version updates 0.1 version by adding mappings for all 39 - # control characters. 26 + # 1.0 version: updates 0.1 version by adding mappings for all 27 + # control characters. 28 + # 2.0 version: updates to copyright notice and terms of use; no 29 + # changes to character mappings 40 30 # 41 31 # Updated versions of this file may be found in: 42 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 32 + # http://www.unicode.org/Public/MAPPINGS/ 43 33 # 44 - # Any comments or problems, contact <errata@unicode.org> 45 - # Please note that <errata@unicode.org> is an archival address; 46 - # notices will be checked, but do not expect an immediate response. 34 + # Any comments or problems, contact us at: 35 + # http://www.unicode.org/reporting.html 47 36 # 48 37 0x00 0x0000 # NULL 49 38 0x01 0x0001 # START OF HEADING
+16 -27
font/util/map-ISO8859-6
··· 1 + # 8859-6.TXT 2 + # Date: 2015-12-02 21:44:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO 8859-6:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 35 23 # The entries are in ISO/IEC 8859-6 order. 36 24 # 37 25 # Version history 38 - # 1.0 version updates 0.1 version by adding mappings for all 39 - # control characters. 40 - # 0x30..0x39 remapped to the ASCII digits (U+0030..U+0039) instead 41 - # of the Arabic digits (U+0660..U+0669). 26 + # 1.0 version: updates 0.1 version by adding mappings for all 27 + # control characters. 28 + # 0x30..0x39 remapped to the ASCII digits (U+0030..U+0039) instead 29 + # of the Arabic digits (U+0660..U+0669). 30 + # 2.0 version: updates to copyright notice and terms of use; no 31 + # changes to character mappings 42 32 # 43 33 # Updated versions of this file may be found in: 44 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 34 + # http://www.unicode.org/Public/MAPPINGS/ 45 35 # 46 - # Any comments or problems, contact <errata@unicode.org> 47 - # Please note that <errata@unicode.org> is an archival address; 48 - # notices will be checked, but do not expect an immediate response. 36 + # Any comments or problems, contact us at: 37 + # http://www.unicode.org/reporting.html 49 38 # 50 39 0x00 0x0000 # NULL 51 40 0x01 0x0001 # START OF HEADING
+13 -22
font/util/map-ISO8859-7
··· 1 + # 8859-7.TXT 2 + # Date: 2015-12-02 21:47:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO 8859-7:2003 to Unicode 3 7 # Unicode version: 4.0 4 - # Table version: 2.0 8 + # Table version: 3.0 5 9 # Table format: Format A 6 - # Date: 2003-Nov-12 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-2003 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 2003-Nov-12 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 47 35 # 2.0 version updates 1.0 version by adding mappings for the 48 36 # three newly added characters 0xA4, 0xA5, 0xAA. 49 37 # 38 + # 3.0 version: updates to copyright notice and terms of use; no 39 + # changes to character mappings 40 + # 50 41 # Updated versions of this file may be found in: 51 - # <http://www.unicode.org/Public/MAPPINGS/> 42 + # http://www.unicode.org/Public/MAPPINGS/ 52 43 # 53 - # Any comments or problems, contact the Unicode Consortium at: 54 - # <http://www.unicode.org/reporting.html> 44 + # Any comments or problems, contact us at: 45 + # http://www.unicode.org/reporting.html 55 46 # 56 47 0x00 0x0000 # NULL 57 48 0x01 0x0001 # START OF HEADING
+13 -24
font/util/map-ISO8859-8
··· 1 + # 8859-8.TXT 2 + # Date: 2015-12-02 21:50:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-8:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.1 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 2000-Jan-03 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 2000-Jan-03 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 37 25 # Version history 38 26 # 1.0 version updates 0.1 version by adding mappings for all 39 27 # control characters. 40 - # 1.1 version updates to the published 8859-8:1999, correcting 28 + # 1.1 version updates to the published 8859-8:1999, correcting 41 29 # the mapping of 0xAF and adding mappings for LRM and RLM. 30 + # 2.0 version: updates to copyright notice and terms of use; no 31 + # changes to character mappings 42 32 # 43 33 # Updated versions of this file may be found in: 44 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 34 + # http://www.unicode.org/Public/MAPPINGS/ 45 35 # 46 - # Any comments or problems, contact <errata@unicode.org> 47 - # Please note that <errata@unicode.org> is an archival address; 48 - # notices will be checked, but do not expect an immediate response. 36 + # Any comments or problems, contact us at: 37 + # http://www.unicode.org/reporting.html 49 38 # 50 39 0x00 0x0000 # NULL 51 40 0x01 0x0001 # START OF HEADING
+14 -25
font/util/map-ISO8859-9
··· 1 + # 8859-9.TXT 2 + # Date: 2015-12-02 21:51:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: ISO/IEC 8859-9:1999 to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 1999 July 27 7 - # Authors: Ken Whistler <kenw@sybase.com> 8 - # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on magnetic media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 10 + # Date: 1999 July 27 (header updated: 2015 December 02) 11 + # Authors: Ken Whistler <ken@unicode.org> 24 12 # 25 13 # General notes: 26 14 # ··· 37 25 # ISO/IEC 8859-9 is also equivalent to ISO-IR-148. 38 26 # 39 27 # Version history 40 - # 1.0 version updates 0.1 version by adding mappings for all 41 - # control characters. 28 + # 1.0 version: updates 0.1 version by adding mappings for all 29 + # control characters. 30 + # 2.0 version: updates to copyright notice and terms of use; no 31 + # changes to character mappings 42 32 # 43 33 # Updated versions of this file may be found in: 44 - # <ftp://ftp.unicode.org/Public/MAPPINGS/> 34 + # http://www.unicode.org/Public/MAPPINGS/ 45 35 # 46 - # Any comments or problems, contact <errata@unicode.org> 47 - # Please note that <errata@unicode.org> is an archival address; 48 - # notices will be checked, but do not expect an immediate response. 36 + # Any comments or problems, contact us at: 37 + # http://www.unicode.org/reporting.html 49 38 # 50 39 0x00 0x0000 # NULL 51 40 0x01 0x0001 # START OF HEADING
+10 -18
font/util/map-JISX0201.1976-0
··· 1 + # JIS0201.TXT 2 + # Date: 2015-12-02 23:49:00 GMT [KW] 3 + # © 2015 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: JIS X 0201 (1976) to Unicode 1.1 Table 3 7 # Unicode version: 1.1 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 2011 October 14 7 - # 8 - # Copyright (c) 1994-2011 Unicode, Inc. All Rights reserved. 9 - # 10 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 11 - # No claims are made as to fitness for any particular purpose. No 12 - # warranties of any kind are expressed or implied. The recipient 13 - # agrees to determine applicability of information provided. If this 14 - # file has been provided on magnetic media by Unicode, Inc., the sole 15 - # remedy for any claim will be exchange of defective media within 90 16 - # days of receipt. 17 - # 18 - # Unicode, Inc. hereby grants the right to freely use the information 19 - # supplied in this file in the creation of products supporting the 20 - # Unicode Standard, and to make copies of this file in any form for 21 - # internal or external distribution as long as this notice remains 22 - # attached. 10 + # Date: 2011 October 14 (header updated: 2015 December 02) 23 11 # 24 12 # General notes: 25 13 # ··· 40 28 # The entries are in JIS order 41 29 # 42 30 # Revision History: 31 + # 32 + # [v2.0, 2015 December 02] 33 + # updates to copyright notice and terms of use 34 + # no changes to character mappings 43 35 # 44 36 # [v1.0, 2011 October 14] 45 37 # Updated terms of use to current wording.
+13 -21
font/util/map-KOI8-R
··· 1 + # KOI8-R.TXT 2 + # Date: 2016-01-04 23:05:00 GMT [KW] 3 + # © 2016 Unicode®, Inc. 4 + # For terms of use, see http://www.unicode.org/terms_of_use.html 1 5 # 2 6 # Name: KOI8-R (RFC1489) to Unicode 3 7 # Unicode version: 3.0 4 - # Table version: 1.0 8 + # Table version: 2.0 5 9 # Table format: Format A 6 - # Date: 18 August 1999 10 + # Date: 18 August 1999 (header updated: 2016-January-04) 7 11 # Authors: Helmut Richter <richter@lrz.de> 8 12 # 9 - # Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. 10 - # 11 - # This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 12 - # No claims are made as to fitness for any particular purpose. No 13 - # warranties of any kind are expressed or implied. The recipient 14 - # agrees to determine applicability of information provided. If this 15 - # file has been provided on optical media by Unicode, Inc., the sole 16 - # remedy for any claim will be exchange of defective media within 90 17 - # days of receipt. 18 - # 19 - # Unicode, Inc. hereby grants the right to freely use the information 20 - # supplied in this file in the creation of products supporting the 21 - # Unicode Standard, and to make copies of this file in any form for 22 - # internal or external distribution as long as this notice remains 23 - # attached. 24 - # 25 13 # General notes: 26 14 # 27 15 # This table contains the data the Unicode Consortium has on how ··· 39 27 # 40 28 # Version history 41 29 # 1.0 version: created. 30 + # 2.0 version: updates to copyright notice and terms of use; no 31 + # changes to character mappings 42 32 # 43 - # Any comments or problems, contact <errata@unicode.org> 44 - # Please note that <errata@unicode.org> is an archival address; 45 - # notices will be checked, but do not expect an immediate response. 33 + # Updated versions of this file may be found in: 34 + # http://www.unicode.org/Public/MAPPINGS/ 35 + # 36 + # Any comments or problems, contact us at: 37 + # http://www.unicode.org/reporting.html 46 38 # 47 39 0x00 0x0000 # NULL 48 40 0x01 0x0001 # START OF HEADING