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

Configure Feed

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

Update to xpr 1.2.0

matthieu da587460 60fd0285

+4306 -3304
+21
app/xpr/COPYING
··· 1 + Copyright (c) 2002, Oracle and/or its affiliates. 2 + 3 + Permission is hereby granted, free of charge, to any person obtaining a 4 + copy of this software and associated documentation files (the "Software"), 5 + to deal in the Software without restriction, including without limitation 6 + the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 + and/or sell copies of the Software, and to permit persons to whom the 8 + Software is furnished to do so, subject to the following conditions: 9 + 10 + The above copyright notice and this permission notice (including the next 11 + paragraph) shall be included in all copies or substantial portions of the 12 + Software. 13 + 14 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 + DEALINGS IN THE SOFTWARE. 21 + 1 22 2 23 Copyright (c) 1985, 1988 X Consortium 3 24
+78 -1
app/xpr/ChangeLog
··· 1 + commit cf22dfd15e2db067767534290e4c8f2e6f6130b8 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sun Mar 3 14:59:05 2024 -0800 4 + 5 + xpr 1.2.0 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit 369a038ab70860a051f785e95c06f681eabea32a 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Sun Jan 21 09:34:27 2024 -0800 12 + 13 + configure: Use AC_SYS_LARGEFILE to enable large file support 14 + 15 + While X window dump files should never be more than 2gb in size, 16 + they may be stored on filesystems with large inodes or timestamps. 17 + 18 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19 + 20 + commit ee1d1c10f4c966b39689d0fe0e602cabb47d72e8 21 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 22 + Date: Sun Jan 21 09:33:06 2024 -0800 23 + 24 + Modernize lseek() calls 25 + 26 + Position should be stored in an off_t, not an int, and use 27 + symbolic constants instead of raw numbers for the "whence" arg. 28 + 29 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 30 + 31 + commit 58686e938a099bd6e3f4fb491dea9382a50febdb 32 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 33 + Date: Thu Jul 28 17:30:21 2022 -0700 34 + 35 + gitlab CI: stop requiring Signed-off-by in commits 36 + 37 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38 + 39 + commit 6f34ba3a67e2c25f4fd6b2878038793422bf8770 40 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 41 + Date: Mon Nov 7 16:46:54 2022 -0800 42 + 43 + Add support for paper sizes other than 8.5 x 11 inches 44 + 45 + This adds new command line arguments -papertype, -pheight, and -pwidth 46 + 47 + Originally implemented by Jay Hobson in August 2002 to fix 48 + Sun bug 4704388: xpr does not work with A3 paper 49 + 50 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 51 + 52 + commit 24c71e04d248f06337f7885dc5642d720a087ba9 53 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 54 + Date: Sat Aug 6 11:44:08 2022 -0700 55 + 56 + No need to bzero() buffers allocated by calloc() 57 + 58 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 59 + 60 + commit 52b7307f42f99c81eda97a322dc3ffccd9e371f6 61 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 62 + Date: Sat Aug 6 11:40:59 2022 -0700 63 + 64 + Remove unnnecessary casts from malloc(), calloc(), and free() calls 65 + 66 + These are not needed in C89 and later. 67 + 68 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 69 + 70 + commit b0b9b4c5a134c559404b4052c2c42b9fcde66915 71 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 72 + Date: Sat Aug 6 11:32:02 2022 -0700 73 + 74 + Use memcpy() instead of memmove() when buffers are known not to overlap 75 + 76 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77 + 1 78 commit 2ca9da7c52152add1567deb11000cf9570577b12 2 79 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 80 Date: Sun Jul 10 15:55:09 2022 -0700 ··· 663 740 configure cache, you cache it, and the cached value is probably wrong. 664 741 665 742 commit e3928f9b676c1054790b5ef69b8a568e80482189 666 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 743 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 667 744 Date: Fri Jul 1 21:10:15 2005 +0000 668 745 669 746 symlink.sh: add xplsprinters.sgml xprehashprinterlist.sgml xdpr.script
+3 -6
app/xpr/Makefile.in
··· 174 174 || { sleep 5 && rm -rf "$(distdir)"; }; \ 175 175 else :; fi 176 176 am__post_remove_distdir = $(am__remove_distdir) 177 - DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 177 + DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz 178 178 GZIP_ENV = --best 179 - DIST_TARGETS = dist-bzip2 dist-gzip 179 + DIST_TARGETS = dist-xz dist-gzip 180 180 distuninstallcheck_listfiles = find . -type f -print 181 181 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 182 182 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' ··· 197 197 CCDEPMODE = @CCDEPMODE@ 198 198 CFLAGS = @CFLAGS@ 199 199 CHANGELOG_CMD = @CHANGELOG_CMD@ 200 - CPP = @CPP@ 201 200 CPPFLAGS = @CPPFLAGS@ 202 201 CWARNFLAGS = @CWARNFLAGS@ 203 202 CYGPATH_W = @CYGPATH_W@ ··· 208 207 ECHO_C = @ECHO_C@ 209 208 ECHO_N = @ECHO_N@ 210 209 ECHO_T = @ECHO_T@ 211 - EGREP = @EGREP@ 212 210 EXEEXT = @EXEEXT@ 213 211 FILE_MAN_DIR = @FILE_MAN_DIR@ 214 212 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 215 - GREP = @GREP@ 216 213 INSTALL = @INSTALL@ 217 214 INSTALL_CMD = @INSTALL_CMD@ 218 215 INSTALL_DATA = @INSTALL_DATA@ ··· 622 619 dist-gzip: distdir 623 620 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 624 621 $(am__post_remove_distdir) 622 + 625 623 dist-bzip2: distdir 626 624 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 627 625 $(am__post_remove_distdir) ··· 629 627 dist-lzip: distdir 630 628 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 631 629 $(am__post_remove_distdir) 632 - 633 630 dist-xz: distdir 634 631 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 635 632 $(am__post_remove_distdir)
+45 -25
app/xpr/aclocal.m4
··· 13 13 14 14 m4_ifndef([AC_AUTOCONF_VERSION], 15 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 - m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, 17 - [m4_warning([this file was generated for autoconf 2.69. 16 + m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, 17 + [m4_warning([this file was generated for autoconf 2.71. 18 18 You have another version of autoconf. It may work, but is not guaranteed to. 19 19 If you have problems, you may need to regenerate the build system entirely. 20 20 To do so, use the procedure documented by the package, typically 'autoreconf'.])]) ··· 1318 1318 1319 1319 dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. 1320 1320 dnl 1321 - dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. 1321 + dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates. 1322 1322 dnl 1323 1323 dnl Permission is hereby granted, free of charge, to any person obtaining a 1324 1324 dnl copy of this software and associated documentation files (the "Software"), ··· 1355 1355 # See the "minimum version" comment for each macro you use to see what 1356 1356 # version you require. 1357 1357 m4_defun([XORG_MACROS_VERSION],[ 1358 - m4_define([vers_have], [1.19.2]) 1358 + m4_define([vers_have], [1.20.0]) 1359 1359 m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.]))) 1360 1360 m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.]))) 1361 1361 m4_if(m4_cmp(maj_have, maj_needed), 0,, ··· 1376 1376 # such as man pages and config files 1377 1377 AC_DEFUN([XORG_PROG_RAWCPP],[ 1378 1378 AC_REQUIRE([AC_PROG_CPP]) 1379 - AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}], 1379 + AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}], 1380 1380 [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib]) 1381 1381 1382 1382 # Check for flag to avoid builtin definitions - assumes unix is predefined, ··· 1686 1686 # Documentation tools are not always available on all platforms and sometimes 1687 1687 # not at the appropriate level. This macro enables a module to test for the 1688 1688 # presence of the tool and obtain it's path in separate variables. Coupled with 1689 - # the --with-xmlto option, it allows maximum flexibilty in making decisions 1689 + # the --with-xmlto option, it allows maximum flexibility in making decisions 1690 1690 # as whether or not to use the xmlto package. When DEFAULT is not specified, 1691 1691 # --with-xmlto assumes 'auto'. 1692 1692 # ··· 1900 1900 # Documentation tools are not always available on all platforms and sometimes 1901 1901 # not at the appropriate level. This macro enables a module to test for the 1902 1902 # presence of the tool and obtain it's path in separate variables. Coupled with 1903 - # the --with-asciidoc option, it allows maximum flexibilty in making decisions 1903 + # the --with-asciidoc option, it allows maximum flexibility in making decisions 1904 1904 # as whether or not to use the asciidoc package. When DEFAULT is not specified, 1905 1905 # --with-asciidoc assumes 'auto'. 1906 1906 # ··· 1970 1970 # Documentation tools are not always available on all platforms and sometimes 1971 1971 # not at the appropriate level. This macro enables a module to test for the 1972 1972 # presence of the tool and obtain it's path in separate variables. Coupled with 1973 - # the --with-doxygen option, it allows maximum flexibilty in making decisions 1973 + # the --with-doxygen option, it allows maximum flexibility in making decisions 1974 1974 # as whether or not to use the doxygen package. When DEFAULT is not specified, 1975 1975 # --with-doxygen assumes 'auto'. 1976 1976 # ··· 2054 2054 # Documentation tools are not always available on all platforms and sometimes 2055 2055 # not at the appropriate level. This macro enables a module to test for the 2056 2056 # presence of the tool and obtain it's path in separate variables. Coupled with 2057 - # the --with-groff option, it allows maximum flexibilty in making decisions 2057 + # the --with-groff option, it allows maximum flexibility in making decisions 2058 2058 # as whether or not to use the groff package. When DEFAULT is not specified, 2059 2059 # --with-groff assumes 'auto'. 2060 2060 # ··· 2162 2162 # Documentation tools are not always available on all platforms and sometimes 2163 2163 # not at the appropriate level. This macro enables a module to test for the 2164 2164 # presence of the tool and obtain it's path in separate variables. Coupled with 2165 - # the --with-fop option, it allows maximum flexibilty in making decisions 2165 + # the --with-fop option, it allows maximum flexibility in making decisions 2166 2166 # as whether or not to use the fop package. When DEFAULT is not specified, 2167 2167 # --with-fop assumes 'auto'. 2168 2168 # ··· 2256 2256 # Documentation tools are not always available on all platforms and sometimes 2257 2257 # not at the appropriate level. This macro enables a module to test for the 2258 2258 # presence of the tool and obtain it's path in separate variables. Coupled with 2259 - # the --with-ps2pdf option, it allows maximum flexibilty in making decisions 2259 + # the --with-ps2pdf option, it allows maximum flexibility in making decisions 2260 2260 # as whether or not to use the ps2pdf package. When DEFAULT is not specified, 2261 2261 # --with-ps2pdf assumes 'auto'. 2262 2262 # ··· 2311 2311 # not at the appropriate level. This macro enables a builder to skip all 2312 2312 # documentation targets except traditional man pages. 2313 2313 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2314 - # maximum flexibilty in controlling documentation building. 2314 + # maximum flexibility in controlling documentation building. 2315 2315 # Refer to: 2316 2316 # XORG_WITH_XMLTO --with-xmlto 2317 2317 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2344 2344 # 2345 2345 # This macro enables a builder to skip all developer documentation. 2346 2346 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2347 - # maximum flexibilty in controlling documentation building. 2347 + # maximum flexibility in controlling documentation building. 2348 2348 # Refer to: 2349 2349 # XORG_WITH_XMLTO --with-xmlto 2350 2350 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2377 2377 # 2378 2378 # This macro enables a builder to skip all functional specification targets. 2379 2379 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2380 - # maximum flexibilty in controlling documentation building. 2380 + # maximum flexibility in controlling documentation building. 2381 2381 # Refer to: 2382 2382 # XORG_WITH_XMLTO --with-xmlto 2383 2383 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2852 2852 AC_DEFUN([XORG_COMPILER_BRAND], [ 2853 2853 AC_LANG_CASE( 2854 2854 [C], [ 2855 - AC_REQUIRE([AC_PROG_CC_C99]) 2855 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 2856 + dnl and complains that AC_PROG_CC_C99 is obsolete 2857 + m4_version_prereq([2.70], 2858 + [AC_REQUIRE([AC_PROG_CC])], 2859 + [AC_REQUIRE([AC_PROG_CC_C99])]) 2856 2860 ], 2857 2861 [C++], [ 2858 2862 AC_REQUIRE([AC_PROG_CXX]) ··· 2868 2872 # Minimum version: 1.16.0 2869 2873 # 2870 2874 # Test if the compiler works when passed the given flag as a command line argument. 2871 - # If it succeeds, the flag is appeneded to the given variable. If not, it tries the 2875 + # If it succeeds, the flag is appended to the given variable. If not, it tries the 2872 2876 # next flag in the list until there are no more options. 2873 2877 # 2874 2878 # Note that this does not guarantee that the compiler supports the flag as some ··· 2884 2888 2885 2889 AC_LANG_CASE( 2886 2890 [C], [ 2887 - AC_REQUIRE([AC_PROG_CC_C99]) 2891 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 2892 + dnl and complains that AC_PROG_CC_C99 is obsolete 2893 + m4_version_prereq([2.70], 2894 + [AC_REQUIRE([AC_PROG_CC])], 2895 + [AC_REQUIRE([AC_PROG_CC_C99])]) 2888 2896 define([PREFIX], [C]) 2889 2897 define([CACHE_PREFIX], [cc]) 2890 2898 define([COMPILER], [$CC]) ··· 3025 3033 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 3026 3034 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 3027 3035 3028 - # Turn some warnings into errors, so we don't accidently get successful builds 3036 + # Turn some warnings into errors, so we don't accidentally get successful builds 3029 3037 # when there are problems that should be fixed. 3030 3038 3031 3039 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 3134 3142 AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS])) 3135 3143 ]) # XORG_STRICT_OPTION 3136 3144 3145 + # XORG_DEFAULT_NOCODE_OPTIONS 3146 + # --------------------------- 3147 + # Minimum version: 1.20.0 3148 + # 3149 + # Defines default options for X.Org modules which don't compile code, 3150 + # such as fonts, bitmaps, cursors, and docs. 3151 + # 3152 + AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [ 3153 + AC_REQUIRE([AC_PROG_INSTALL]) 3154 + XORG_RELEASE_VERSION 3155 + XORG_CHANGELOG 3156 + XORG_INSTALL 3157 + XORG_MANPAGE_SECTIONS 3158 + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 3159 + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 3160 + ]) # XORG_DEFAULT_NOCODE_OPTIONS 3161 + 3137 3162 # XORG_DEFAULT_OPTIONS 3138 3163 # -------------------- 3139 3164 # Minimum version: 1.3.0 3140 3165 # 3141 - # Defines default options for X.Org modules. 3166 + # Defines default options for X.Org modules which compile code. 3142 3167 # 3143 3168 AC_DEFUN([XORG_DEFAULT_OPTIONS], [ 3144 3169 AC_REQUIRE([AC_PROG_INSTALL]) 3145 3170 XORG_COMPILER_FLAGS 3146 3171 XORG_CWARNFLAGS 3147 3172 XORG_STRICT_OPTION 3148 - XORG_RELEASE_VERSION 3149 - XORG_CHANGELOG 3150 - XORG_INSTALL 3151 - XORG_MANPAGE_SECTIONS 3152 - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 3153 - [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 3173 + XORG_DEFAULT_NOCODE_OPTIONS 3154 3174 ]) # XORG_DEFAULT_OPTIONS 3155 3175 3156 3176 # XORG_INSTALL()
+12 -4
app/xpr/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 */ 64 66 #undef VERSION 67 + 68 + /* Number of bits in a file offset, on hosts where this is settable. */ 69 + #undef _FILE_OFFSET_BITS 70 + 71 + /* Define for large files, on AIX-style hosts. */ 72 + #undef _LARGE_FILES
+3624 -3021
app/xpr/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for xpr 1.0.5. 3 + # Generated by GNU Autoconf 2.71 for xpr 1.2.0. 4 4 # 5 - # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 5 + # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xpr/-/issues>. 6 6 # 7 7 # 8 - # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 + # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9 + # Inc. 9 10 # 10 11 # 11 12 # This configure script is free software; the Free Software Foundation ··· 16 17 17 18 # Be more Bourne compatible 18 19 DUALCASE=1; export DUALCASE # for MKS sh 19 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 + as_nop=: 21 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22 + then : 20 23 emulate sh 21 24 NULLCMD=: 22 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 26 # is contrary to our usage. Disable this feature. 24 27 alias -g '${1+"$@"}'='"$@"' 25 28 setopt NO_GLOB_SUBST 26 - else 29 + else $as_nop 27 30 case `(set -o) 2>/dev/null` in #( 28 31 *posix*) : 29 32 set -o posix ;; #( ··· 33 36 fi 34 37 35 38 39 + 40 + # Reset variables that may have inherited troublesome values from 41 + # the environment. 42 + 43 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 44 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 45 + # side effect of setting IFS to empty, thus disabling word splitting.) 46 + # Quoting is to prevent editors from complaining about space-tab. 36 47 as_nl=' 37 48 ' 38 49 export as_nl 39 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 - # Prefer a ksh shell builtin over an external printf program on Solaris, 44 - # but without wasting forks for bash or zsh. 45 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 - as_echo='print -r --' 48 - as_echo_n='print -rn --' 49 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 - as_echo='printf %s\n' 51 - as_echo_n='printf %s' 52 - else 53 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 - as_echo_n='/usr/ucb/echo -n' 56 - else 57 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 - as_echo_n_body='eval 59 - arg=$1; 60 - case $arg in #( 61 - *"$as_nl"*) 62 - expr "X$arg" : "X\\(.*\\)$as_nl"; 63 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 - esac; 65 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 - ' 67 - export as_echo_n_body 68 - as_echo_n='sh -c $as_echo_n_body as_echo' 69 - fi 70 - export as_echo_body 71 - as_echo='sh -c $as_echo_body as_echo' 72 - fi 50 + IFS=" "" $as_nl" 51 + 52 + PS1='$ ' 53 + PS2='> ' 54 + PS4='+ ' 55 + 56 + # Ensure predictable behavior from utilities with locale-dependent output. 57 + LC_ALL=C 58 + export LC_ALL 59 + LANGUAGE=C 60 + export LANGUAGE 61 + 62 + # We cannot yet rely on "unset" to work, but we need these variables 63 + # to be unset--not just set to an empty or harmless value--now, to 64 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65 + # also avoids known problems related to "unset" and subshell syntax 66 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 + do eval test \${$as_var+y} \ 69 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 + done 71 + 72 + # Ensure that fds 0, 1, and 2 are open. 73 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 73 76 74 77 # The user is always right. 75 - if test "${PATH_SEPARATOR+set}" != set; then 78 + if ${PATH_SEPARATOR+false} :; then 76 79 PATH_SEPARATOR=: 77 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 81 84 fi 82 85 83 86 84 - # IFS 85 - # We need space, tab and new line, in precisely that order. Quoting is 86 - # there to prevent editors from complaining about space-tab. 87 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 - # splitting by setting IFS to empty value.) 89 - IFS=" "" $as_nl" 90 - 91 87 # Find who we are. Look in the path if we contain no directory separator. 92 88 as_myself= 93 89 case $0 in #(( ··· 96 92 for as_dir in $PATH 97 93 do 98 94 IFS=$as_save_IFS 99 - test -z "$as_dir" && as_dir=. 100 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95 + case $as_dir in #((( 96 + '') as_dir=./ ;; 97 + */) ;; 98 + *) as_dir=$as_dir/ ;; 99 + esac 100 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101 101 done 102 102 IFS=$as_save_IFS 103 103 ··· 109 109 as_myself=$0 110 110 fi 111 111 if test ! -f "$as_myself"; then 112 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 113 exit 1 114 114 fi 115 115 116 - # Unset variables that we do not need and which cause bugs (e.g. in 117 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 - # suppresses any "Segmentation fault" message there. '((' could 119 - # trigger a bug in pdksh 5.2.14. 120 - for as_var in BASH_ENV ENV MAIL MAILPATH 121 - do eval test x\${$as_var+set} = xset \ 122 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 - done 124 - PS1='$ ' 125 - PS2='> ' 126 - PS4='+ ' 127 - 128 - # NLS nuisances. 129 - LC_ALL=C 130 - export LC_ALL 131 - LANGUAGE=C 132 - export LANGUAGE 133 - 134 - # CDPATH. 135 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 116 137 117 # Use a proper internal environment variable to ensure we don't fall 138 118 # into an infinite loop, continuously re-executing ourselves. ··· 154 134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 135 # Admittedly, this is quite paranoid, since all the known shells bail 156 136 # out after a failed `exec'. 157 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 - as_fn_exit 255 137 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138 + exit 255 159 139 fi 160 140 # We don't want this to propagate to other subprocesses. 161 141 { _as_can_reexec=; unset _as_can_reexec;} 162 142 if test "x$CONFIG_SHELL" = x; then 163 - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 + as_bourne_compatible="as_nop=: 144 + if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145 + then : 164 146 emulate sh 165 147 NULLCMD=: 166 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 149 # is contrary to our usage. Disable this feature. 168 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 151 setopt NO_GLOB_SUBST 170 - else 152 + else \$as_nop 171 153 case \`(set -o) 2>/dev/null\` in #( 172 154 *posix*) : 173 155 set -o posix ;; #( ··· 187 169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 - if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 172 + if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173 + then : 191 174 192 - else 175 + else \$as_nop 193 176 exitcode=1; echo positional parameters were not saved. 194 177 fi 195 178 test x\$exitcode = x0 || exit 1 179 + blah=\$(echo \$(echo blah)) 180 + test x\"\$blah\" = xblah || exit 1 196 181 test -x / || exit 1" 197 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 186 test \$(( 1 + 1 )) = 2 || exit 1" 202 - if (eval "$as_required") 2>/dev/null; then : 187 + if (eval "$as_required") 2>/dev/null 188 + then : 203 189 as_have_required=yes 204 - else 190 + else $as_nop 205 191 as_have_required=no 206 192 fi 207 - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 193 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194 + then : 208 195 209 - else 196 + else $as_nop 210 197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 198 as_found=false 212 199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 200 do 214 201 IFS=$as_save_IFS 215 - test -z "$as_dir" && as_dir=. 202 + case $as_dir in #((( 203 + '') as_dir=./ ;; 204 + */) ;; 205 + *) as_dir=$as_dir/ ;; 206 + esac 216 207 as_found=: 217 208 case $as_dir in #( 218 209 /*) 219 210 for as_base in sh bash ksh sh5; do 220 211 # Try only shells that exist, to save several forks. 221 - as_shell=$as_dir/$as_base 212 + as_shell=$as_dir$as_base 222 213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 214 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215 + then : 224 216 CONFIG_SHELL=$as_shell as_have_required=yes 225 - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 217 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218 + then : 226 219 break 2 227 220 fi 228 221 fi ··· 230 223 esac 231 224 as_found=false 232 225 done 233 - $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 - CONFIG_SHELL=$SHELL as_have_required=yes 236 - fi; } 237 226 IFS=$as_save_IFS 227 + if $as_found 228 + then : 238 229 230 + else $as_nop 231 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233 + then : 234 + CONFIG_SHELL=$SHELL as_have_required=yes 235 + fi 236 + fi 239 237 240 - if test "x$CONFIG_SHELL" != x; then : 238 + 239 + if test "x$CONFIG_SHELL" != x 240 + then : 241 241 export CONFIG_SHELL 242 242 # We cannot yet assume a decent shell, so we have to provide a 243 243 # neutralization value for shells without unset; and this also ··· 255 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 257 # out after a failed `exec'. 258 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 258 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259 259 exit 255 260 260 fi 261 261 262 - if test x$as_have_required = xno; then : 263 - $as_echo "$0: This script requires a shell more modern than all" 264 - $as_echo "$0: the shells that I found on your system." 265 - if test x${ZSH_VERSION+set} = xset ; then 266 - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 - $as_echo "$0: be upgraded to zsh 4.3.4 or later." 262 + if test x$as_have_required = xno 263 + then : 264 + printf "%s\n" "$0: This script requires a shell more modern than all" 265 + printf "%s\n" "$0: the shells that I found on your system." 266 + if test ${ZSH_VERSION+y} ; then 267 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 268 269 else 269 - $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 - $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 270 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 271 + $0: https://gitlab.freedesktop.org/xorg/app/xpr/-/issues 271 272 $0: about your system, including any error possibly output 272 273 $0: before this message. Then install a modern shell, or 273 274 $0: manually run the script under such a shell if you do ··· 295 296 } 296 297 as_unset=as_fn_unset 297 298 299 + 298 300 # as_fn_set_status STATUS 299 301 # ----------------------- 300 302 # Set $? to STATUS, without forking. ··· 312 314 as_fn_set_status $1 313 315 exit $1 314 316 } # as_fn_exit 317 + # as_fn_nop 318 + # --------- 319 + # Do nothing but, unlike ":", preserve the value of $?. 320 + as_fn_nop () 321 + { 322 + return $? 323 + } 324 + as_nop=as_fn_nop 315 325 316 326 # as_fn_mkdir_p 317 327 # ------------- ··· 326 336 as_dirs= 327 337 while :; do 328 338 case $as_dir in #( 329 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 339 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 330 340 *) as_qdir=$as_dir;; 331 341 esac 332 342 as_dirs="'$as_qdir' $as_dirs" ··· 335 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 336 346 X"$as_dir" : 'X\(//\)$' \| \ 337 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 338 - $as_echo X"$as_dir" | 348 + printf "%s\n" X"$as_dir" | 339 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 340 350 s//\1/ 341 351 q ··· 374 384 # advantage of any shell optimizations that allow amortized linear growth over 375 385 # repeated appends, instead of the typical quadratic growth present in naive 376 386 # implementations. 377 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 387 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 388 + then : 378 389 eval 'as_fn_append () 379 390 { 380 391 eval $1+=\$2 381 392 }' 382 - else 393 + else $as_nop 383 394 as_fn_append () 384 395 { 385 396 eval $1=\$$1\$2 ··· 391 402 # Perform arithmetic evaluation on the ARGs, and store the result in the 392 403 # global $as_val. Take advantage of shells that can avoid forks. The arguments 393 404 # must be portable across $(()) and expr. 394 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 405 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 406 + then : 395 407 eval 'as_fn_arith () 396 408 { 397 409 as_val=$(( $* )) 398 410 }' 399 - else 411 + else $as_nop 400 412 as_fn_arith () 401 413 { 402 414 as_val=`expr "$@" || test $? -eq 1` 403 415 } 404 416 fi # as_fn_arith 405 417 418 + # as_fn_nop 419 + # --------- 420 + # Do nothing but, unlike ":", preserve the value of $?. 421 + as_fn_nop () 422 + { 423 + return $? 424 + } 425 + as_nop=as_fn_nop 406 426 407 427 # as_fn_error STATUS ERROR [LINENO LOG_FD] 408 428 # ---------------------------------------- ··· 414 434 as_status=$1; test $as_status -eq 0 && as_status=1 415 435 if test "$4"; then 416 436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 417 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 437 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 418 438 fi 419 - $as_echo "$as_me: error: $2" >&2 439 + printf "%s\n" "$as_me: error: $2" >&2 420 440 as_fn_exit $as_status 421 441 } # as_fn_error 422 442 ··· 443 463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 444 464 X"$0" : 'X\(//\)$' \| \ 445 465 X"$0" : 'X\(/\)' \| . 2>/dev/null || 446 - $as_echo X/"$0" | 466 + printf "%s\n" X/"$0" | 447 467 sed '/^.*\/\([^/][^/]*\)\/*$/{ 448 468 s//\1/ 449 469 q ··· 487 507 s/-\n.*// 488 508 ' >$as_me.lineno && 489 509 chmod +x "$as_me.lineno" || 490 - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 510 + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 491 511 492 512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 493 513 # already done that, so ensure we don't try to do so again and fall ··· 501 521 exit 502 522 } 503 523 524 + 525 + # Determine whether it's possible to make 'echo' print without a newline. 526 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 527 + # for compatibility with existing Makefiles. 504 528 ECHO_C= ECHO_N= ECHO_T= 505 529 case `echo -n x` in #((((( 506 530 -n*) ··· 513 537 *) 514 538 ECHO_N='-n';; 515 539 esac 540 + 541 + # For backward compatibility with old third-party macros, we provide 542 + # the shell variables $as_echo and $as_echo_n. New code should use 543 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 544 + as_echo='printf %s\n' 545 + as_echo_n='printf %s' 546 + 516 547 517 548 rm -f conf$$ conf$$.exe conf$$.file 518 549 if test -d conf$$.dir; then ··· 581 612 # Identity of this package. 582 613 PACKAGE_NAME='xpr' 583 614 PACKAGE_TARNAME='xpr' 584 - PACKAGE_VERSION='1.0.5' 585 - PACKAGE_STRING='xpr 1.0.5' 586 - PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 615 + PACKAGE_VERSION='1.2.0' 616 + PACKAGE_STRING='xpr 1.2.0' 617 + PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xpr/-/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 ··· 757 781 enable_selective_werror 758 782 enable_strict_compilation 759 783 enable_silent_rules 784 + enable_largefile 760 785 ' 761 786 ac_precious_vars='build_alias 762 787 host_alias ··· 766 791 LDFLAGS 767 792 LIBS 768 793 CPPFLAGS 769 - CPP 770 794 PKG_CONFIG 771 795 PKG_CONFIG_PATH 772 796 PKG_CONFIG_LIBDIR ··· 840 864 *) ac_optarg=yes ;; 841 865 esac 842 866 843 - # Accept the important Cygnus configure options, so we can diagnose typos. 844 - 845 867 case $ac_dashdash$ac_option in 846 868 --) 847 869 ac_dashdash=yes ;; ··· 882 904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 883 905 # Reject names that are not valid shell variable names. 884 906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 - as_fn_error $? "invalid feature name: $ac_useropt" 907 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 886 908 ac_useropt_orig=$ac_useropt 887 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 909 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 888 910 case $ac_user_opts in 889 911 *" 890 912 "enable_$ac_useropt" ··· 908 930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 909 931 # Reject names that are not valid shell variable names. 910 932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 911 - as_fn_error $? "invalid feature name: $ac_useropt" 933 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 912 934 ac_useropt_orig=$ac_useropt 913 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 935 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 914 936 case $ac_user_opts in 915 937 *" 916 938 "enable_$ac_useropt" ··· 1121 1143 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1122 1144 # Reject names that are not valid shell variable names. 1123 1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1124 - as_fn_error $? "invalid package name: $ac_useropt" 1146 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1125 1147 ac_useropt_orig=$ac_useropt 1126 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1148 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1127 1149 case $ac_user_opts in 1128 1150 *" 1129 1151 "with_$ac_useropt" ··· 1137 1159 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1138 1160 # Reject names that are not valid shell variable names. 1139 1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1140 - as_fn_error $? "invalid package name: $ac_useropt" 1162 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1141 1163 ac_useropt_orig=$ac_useropt 1142 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1164 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1143 1165 case $ac_user_opts in 1144 1166 *" 1145 1167 "with_$ac_useropt" ··· 1183 1205 1184 1206 *) 1185 1207 # FIXME: should be removed in autoconf 3.0. 1186 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1208 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1187 1209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1188 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1210 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1189 1211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1190 1212 ;; 1191 1213 ··· 1201 1223 case $enable_option_checking in 1202 1224 no) ;; 1203 1225 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1204 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1226 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1205 1227 esac 1206 1228 fi 1207 1229 ··· 1265 1287 X"$as_myself" : 'X\(//\)[^/]' \| \ 1266 1288 X"$as_myself" : 'X\(//\)$' \| \ 1267 1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1268 - $as_echo X"$as_myself" | 1290 + printf "%s\n" X"$as_myself" | 1269 1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1270 1292 s//\1/ 1271 1293 q ··· 1322 1344 # Omit some internal or obsolete options to make the list less imposing. 1323 1345 # This message is too long to be a string in the A/UX 3.1 sh. 1324 1346 cat <<_ACEOF 1325 - \`configure' configures xpr 1.0.5 to adapt to many kinds of systems. 1347 + \`configure' configures xpr 1.2.0 to adapt to many kinds of systems. 1326 1348 1327 1349 Usage: $0 [OPTION]... [VAR=VALUE]... 1328 1350 ··· 1393 1415 1394 1416 if test -n "$ac_init_help"; then 1395 1417 case $ac_init_help in 1396 - short | recursive ) echo "Configuration of xpr 1.0.5:";; 1418 + short | recursive ) echo "Configuration of xpr 1.2.0:";; 1397 1419 esac 1398 1420 cat <<\_ACEOF 1399 1421 ··· 1416 1438 errors (default: disabled) 1417 1439 --enable-silent-rules less verbose build output (undo: "make V=1") 1418 1440 --disable-silent-rules verbose build output (undo: "make V=0") 1441 + --disable-largefile omit support for large files 1419 1442 1420 1443 Some influential environment variables: 1421 1444 CC C compiler command ··· 1425 1448 LIBS libraries to pass to the linker, e.g. -l<library> 1426 1449 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1427 1450 you have headers in a nonstandard directory <include dir> 1428 - CPP C preprocessor 1429 1451 PKG_CONFIG path to pkg-config utility 1430 1452 PKG_CONFIG_PATH 1431 1453 directories to add to pkg-config's search path ··· 1437 1459 Use these variables to override the choices made by `configure' or to help 1438 1460 it to find libraries and programs with nonstandard names/locations. 1439 1461 1440 - Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1462 + Report bugs to <https://gitlab.freedesktop.org/xorg/app/xpr/-/issues>. 1441 1463 _ACEOF 1442 1464 ac_status=$? 1443 1465 fi ··· 1453 1475 case "$ac_dir" in 1454 1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1455 1477 *) 1456 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1478 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1457 1479 # A ".." for each directory in $ac_dir_suffix. 1458 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1480 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1459 1481 case $ac_top_builddir_sub in 1460 1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1461 1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1483 1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1484 1506 1485 1507 cd "$ac_dir" || { ac_status=$?; continue; } 1486 - # Check for guested configure. 1508 + # Check for configure.gnu first; this name is used for a wrapper for 1509 + # Metaconfig's "Configure" on case-insensitive file systems. 1487 1510 if test -f "$ac_srcdir/configure.gnu"; then 1488 1511 echo && 1489 1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1491 1514 echo && 1492 1515 $SHELL "$ac_srcdir/configure" --help=recursive 1493 1516 else 1494 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1517 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1495 1518 fi || ac_status=$? 1496 1519 cd "$ac_pwd" || { ac_status=$?; break; } 1497 1520 done ··· 1500 1523 test -n "$ac_init_help" && exit $ac_status 1501 1524 if $ac_init_version; then 1502 1525 cat <<\_ACEOF 1503 - xpr configure 1.0.5 1504 - generated by GNU Autoconf 2.69 1526 + xpr configure 1.2.0 1527 + generated by GNU Autoconf 2.71 1505 1528 1506 - Copyright (C) 2012 Free Software Foundation, Inc. 1529 + Copyright (C) 2021 Free Software Foundation, Inc. 1507 1530 This configure script is free software; the Free Software Foundation 1508 1531 gives unlimited permission to copy, distribute and modify it. 1509 1532 _ACEOF ··· 1520 1543 ac_fn_c_try_compile () 1521 1544 { 1522 1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1523 - rm -f conftest.$ac_objext 1546 + rm -f conftest.$ac_objext conftest.beam 1524 1547 if { { ac_try="$ac_compile" 1525 1548 case "(($ac_try" in 1526 1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1527 1550 *) ac_try_echo=$ac_try;; 1528 1551 esac 1529 1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1530 - $as_echo "$ac_try_echo"; } >&5 1553 + printf "%s\n" "$ac_try_echo"; } >&5 1531 1554 (eval "$ac_compile") 2>conftest.err 1532 1555 ac_status=$? 1533 1556 if test -s conftest.err; then ··· 1535 1558 cat conftest.er1 >&5 1536 1559 mv -f conftest.er1 conftest.err 1537 1560 fi 1538 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1561 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1539 1562 test $ac_status = 0; } && { 1540 1563 test -z "$ac_c_werror_flag" || 1541 1564 test ! -s conftest.err 1542 - } && test -s conftest.$ac_objext; then : 1565 + } && test -s conftest.$ac_objext 1566 + then : 1543 1567 ac_retval=0 1544 - else 1545 - $as_echo "$as_me: failed program was:" >&5 1568 + else $as_nop 1569 + printf "%s\n" "$as_me: failed program was:" >&5 1546 1570 sed 's/^/| /' conftest.$ac_ext >&5 1547 1571 1548 1572 ac_retval=1 ··· 1552 1576 1553 1577 } # ac_fn_c_try_compile 1554 1578 1555 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1556 - # --------------------------------------------- 1579 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1580 + # ------------------------------------------------------------------ 1557 1581 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1558 - # accordingly. 1559 - ac_fn_c_check_decl () 1582 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1583 + ac_fn_check_decl () 1560 1584 { 1561 1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1562 1586 as_decl_name=`echo $2|sed 's/ *(.*//'` 1587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1588 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1589 + if eval test \${$3+y} 1590 + then : 1591 + printf %s "(cached) " >&6 1592 + else $as_nop 1563 1593 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1564 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1565 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1566 - if eval \${$3+:} false; then : 1567 - $as_echo_n "(cached) " >&6 1568 - else 1594 + eval ac_save_FLAGS=\$$6 1595 + as_fn_append $6 " $5" 1569 1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1570 1597 /* end confdefs.h. */ 1571 1598 $4 1572 1599 int 1573 - main () 1600 + main (void) 1574 1601 { 1575 1602 #ifndef $as_decl_name 1576 1603 #ifdef __cplusplus ··· 1584 1611 return 0; 1585 1612 } 1586 1613 _ACEOF 1587 - if ac_fn_c_try_compile "$LINENO"; then : 1614 + if ac_fn_c_try_compile "$LINENO" 1615 + then : 1588 1616 eval "$3=yes" 1589 - else 1617 + else $as_nop 1590 1618 eval "$3=no" 1591 1619 fi 1592 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1620 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1621 + eval $6=\$ac_save_FLAGS 1622 + 1593 1623 fi 1594 1624 eval ac_res=\$$3 1595 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1596 - $as_echo "$ac_res" >&6; } 1625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1626 + printf "%s\n" "$ac_res" >&6; } 1597 1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1598 1628 1599 - } # ac_fn_c_check_decl 1600 - 1601 - # ac_fn_c_try_cpp LINENO 1602 - # ---------------------- 1603 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1604 - ac_fn_c_try_cpp () 1605 - { 1606 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1607 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1608 - case "(($ac_try" in 1609 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1610 - *) ac_try_echo=$ac_try;; 1611 - esac 1612 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1613 - $as_echo "$ac_try_echo"; } >&5 1614 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1615 - ac_status=$? 1616 - if test -s conftest.err; then 1617 - grep -v '^ *+' conftest.err >conftest.er1 1618 - cat conftest.er1 >&5 1619 - mv -f conftest.er1 conftest.err 1620 - fi 1621 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1622 - test $ac_status = 0; } > conftest.i && { 1623 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1624 - test ! -s conftest.err 1625 - }; then : 1626 - ac_retval=0 1627 - else 1628 - $as_echo "$as_me: failed program was:" >&5 1629 - sed 's/^/| /' conftest.$ac_ext >&5 1630 - 1631 - ac_retval=1 1632 - fi 1633 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1634 - as_fn_set_status $ac_retval 1635 - 1636 - } # ac_fn_c_try_cpp 1637 - 1638 - # ac_fn_c_try_run LINENO 1639 - # ---------------------- 1640 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1641 - # that executables *can* be run. 1642 - ac_fn_c_try_run () 1643 - { 1644 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1645 - if { { ac_try="$ac_link" 1646 - case "(($ac_try" in 1647 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1648 - *) ac_try_echo=$ac_try;; 1649 - esac 1650 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1651 - $as_echo "$ac_try_echo"; } >&5 1652 - (eval "$ac_link") 2>&5 1653 - ac_status=$? 1654 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1655 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1656 - { { case "(($ac_try" in 1657 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1658 - *) ac_try_echo=$ac_try;; 1659 - esac 1660 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1661 - $as_echo "$ac_try_echo"; } >&5 1662 - (eval "$ac_try") 2>&5 1663 - ac_status=$? 1664 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1665 - test $ac_status = 0; }; }; then : 1666 - ac_retval=0 1667 - else 1668 - $as_echo "$as_me: program exited with status $ac_status" >&5 1669 - $as_echo "$as_me: failed program was:" >&5 1670 - sed 's/^/| /' conftest.$ac_ext >&5 1671 - 1672 - ac_retval=$ac_status 1673 - fi 1674 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1675 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1676 - as_fn_set_status $ac_retval 1677 - 1678 - } # ac_fn_c_try_run 1629 + } # ac_fn_check_decl 1679 1630 1680 1631 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1681 1632 # ------------------------------------------------------- ··· 1684 1635 ac_fn_c_check_header_compile () 1685 1636 { 1686 1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1687 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1688 - $as_echo_n "checking for $2... " >&6; } 1689 - if eval \${$3+:} false; then : 1690 - $as_echo_n "(cached) " >&6 1691 - else 1638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1639 + printf %s "checking for $2... " >&6; } 1640 + if eval test \${$3+y} 1641 + then : 1642 + printf %s "(cached) " >&6 1643 + else $as_nop 1692 1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1693 1645 /* end confdefs.h. */ 1694 1646 $4 1695 1647 #include <$2> 1696 1648 _ACEOF 1697 - if ac_fn_c_try_compile "$LINENO"; then : 1649 + if ac_fn_c_try_compile "$LINENO" 1650 + then : 1698 1651 eval "$3=yes" 1699 - else 1652 + else $as_nop 1700 1653 eval "$3=no" 1701 1654 fi 1702 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1655 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1703 1656 fi 1704 1657 eval ac_res=\$$3 1705 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1706 - $as_echo "$ac_res" >&6; } 1658 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1659 + printf "%s\n" "$ac_res" >&6; } 1707 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1708 1661 1709 1662 } # ac_fn_c_check_header_compile ··· 1714 1667 ac_fn_c_try_link () 1715 1668 { 1716 1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1717 - rm -f conftest.$ac_objext conftest$ac_exeext 1670 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1718 1671 if { { ac_try="$ac_link" 1719 1672 case "(($ac_try" in 1720 1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1721 1674 *) ac_try_echo=$ac_try;; 1722 1675 esac 1723 1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1724 - $as_echo "$ac_try_echo"; } >&5 1677 + printf "%s\n" "$ac_try_echo"; } >&5 1725 1678 (eval "$ac_link") 2>conftest.err 1726 1679 ac_status=$? 1727 1680 if test -s conftest.err; then ··· 1729 1682 cat conftest.er1 >&5 1730 1683 mv -f conftest.er1 conftest.err 1731 1684 fi 1732 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1685 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1733 1686 test $ac_status = 0; } && { 1734 1687 test -z "$ac_c_werror_flag" || 1735 1688 test ! -s conftest.err 1736 1689 } && test -s conftest$ac_exeext && { 1737 1690 test "$cross_compiling" = yes || 1738 1691 test -x conftest$ac_exeext 1739 - }; then : 1692 + } 1693 + then : 1740 1694 ac_retval=0 1741 - else 1742 - $as_echo "$as_me: failed program was:" >&5 1695 + else $as_nop 1696 + printf "%s\n" "$as_me: failed program was:" >&5 1743 1697 sed 's/^/| /' conftest.$ac_ext >&5 1744 1698 1745 1699 ac_retval=1 ··· 1753 1707 as_fn_set_status $ac_retval 1754 1708 1755 1709 } # ac_fn_c_try_link 1710 + ac_configure_args_raw= 1711 + for ac_arg 1712 + do 1713 + case $ac_arg in 1714 + *\'*) 1715 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1716 + esac 1717 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1718 + done 1719 + 1720 + case $ac_configure_args_raw in 1721 + *$as_nl*) 1722 + ac_safe_unquote= ;; 1723 + *) 1724 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1725 + ac_unsafe_a="$ac_unsafe_z#~" 1726 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1727 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1728 + esac 1729 + 1756 1730 cat >config.log <<_ACEOF 1757 1731 This file contains any messages produced by compilers while 1758 1732 running configure, to aid debugging if configure makes a mistake. 1759 1733 1760 - It was created by xpr $as_me 1.0.5, which was 1761 - generated by GNU Autoconf 2.69. Invocation command line was 1734 + It was created by xpr $as_me 1.2.0, which was 1735 + generated by GNU Autoconf 2.71. Invocation command line was 1762 1736 1763 - $ $0 $@ 1737 + $ $0$ac_configure_args_raw 1764 1738 1765 1739 _ACEOF 1766 1740 exec 5>>config.log ··· 1793 1767 for as_dir in $PATH 1794 1768 do 1795 1769 IFS=$as_save_IFS 1796 - test -z "$as_dir" && as_dir=. 1797 - $as_echo "PATH: $as_dir" 1770 + case $as_dir in #((( 1771 + '') as_dir=./ ;; 1772 + */) ;; 1773 + *) as_dir=$as_dir/ ;; 1774 + esac 1775 + printf "%s\n" "PATH: $as_dir" 1798 1776 done 1799 1777 IFS=$as_save_IFS 1800 1778 ··· 1829 1807 | -silent | --silent | --silen | --sile | --sil) 1830 1808 continue ;; 1831 1809 *\'*) 1832 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1810 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1833 1811 esac 1834 1812 case $ac_pass in 1835 1813 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1864 1842 # WARNING: Use '\'' to represent an apostrophe within the trap. 1865 1843 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1866 1844 trap 'exit_status=$? 1845 + # Sanitize IFS. 1846 + IFS=" "" $as_nl" 1867 1847 # Save into config.log some information that might help in debugging. 1868 1848 { 1869 1849 echo 1870 1850 1871 - $as_echo "## ---------------- ## 1851 + printf "%s\n" "## ---------------- ## 1872 1852 ## Cache variables. ## 1873 1853 ## ---------------- ##" 1874 1854 echo ··· 1879 1859 case $ac_val in #( 1880 1860 *${as_nl}*) 1881 1861 case $ac_var in #( 1882 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1883 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1862 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1863 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1884 1864 esac 1885 1865 case $ac_var in #( 1886 1866 _ | IFS | as_nl) ;; #( ··· 1904 1884 ) 1905 1885 echo 1906 1886 1907 - $as_echo "## ----------------- ## 1887 + printf "%s\n" "## ----------------- ## 1908 1888 ## Output variables. ## 1909 1889 ## ----------------- ##" 1910 1890 echo ··· 1912 1892 do 1913 1893 eval ac_val=\$$ac_var 1914 1894 case $ac_val in 1915 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1895 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1916 1896 esac 1917 - $as_echo "$ac_var='\''$ac_val'\''" 1897 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1918 1898 done | sort 1919 1899 echo 1920 1900 1921 1901 if test -n "$ac_subst_files"; then 1922 - $as_echo "## ------------------- ## 1902 + printf "%s\n" "## ------------------- ## 1923 1903 ## File substitutions. ## 1924 1904 ## ------------------- ##" 1925 1905 echo ··· 1927 1907 do 1928 1908 eval ac_val=\$$ac_var 1929 1909 case $ac_val in 1930 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1910 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1931 1911 esac 1932 - $as_echo "$ac_var='\''$ac_val'\''" 1912 + printf "%s\n" "$ac_var='\''$ac_val'\''" 1933 1913 done | sort 1934 1914 echo 1935 1915 fi 1936 1916 1937 1917 if test -s confdefs.h; then 1938 - $as_echo "## ----------- ## 1918 + printf "%s\n" "## ----------- ## 1939 1919 ## confdefs.h. ## 1940 1920 ## ----------- ##" 1941 1921 echo ··· 1943 1923 echo 1944 1924 fi 1945 1925 test "$ac_signal" != 0 && 1946 - $as_echo "$as_me: caught signal $ac_signal" 1947 - $as_echo "$as_me: exit $exit_status" 1926 + printf "%s\n" "$as_me: caught signal $ac_signal" 1927 + printf "%s\n" "$as_me: exit $exit_status" 1948 1928 } >&5 1949 1929 rm -f core *.core core.conftest.* && 1950 1930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 1958 1938 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1959 1939 rm -f -r conftest* confdefs.h 1960 1940 1961 - $as_echo "/* confdefs.h */" > confdefs.h 1941 + printf "%s\n" "/* confdefs.h */" > confdefs.h 1962 1942 1963 1943 # Predefined preprocessor variables. 1964 1944 1965 - cat >>confdefs.h <<_ACEOF 1966 - #define PACKAGE_NAME "$PACKAGE_NAME" 1967 - _ACEOF 1945 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 1968 1946 1969 - cat >>confdefs.h <<_ACEOF 1970 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1971 - _ACEOF 1947 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 1972 1948 1973 - cat >>confdefs.h <<_ACEOF 1974 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 1975 - _ACEOF 1949 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 1976 1950 1977 - cat >>confdefs.h <<_ACEOF 1978 - #define PACKAGE_STRING "$PACKAGE_STRING" 1979 - _ACEOF 1951 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 1980 1952 1981 - cat >>confdefs.h <<_ACEOF 1982 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1983 - _ACEOF 1953 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 1984 1954 1985 - cat >>confdefs.h <<_ACEOF 1986 - #define PACKAGE_URL "$PACKAGE_URL" 1987 - _ACEOF 1955 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 1988 1956 1989 1957 1990 1958 # Let the site file select an alternate cache file if it wants to. 1991 1959 # Prefer an explicitly selected file to automatically selected ones. 1992 - ac_site_file1=NONE 1993 - ac_site_file2=NONE 1994 1960 if test -n "$CONFIG_SITE"; then 1995 - # We do not want a PATH search for config.site. 1996 - case $CONFIG_SITE in #(( 1997 - -*) ac_site_file1=./$CONFIG_SITE;; 1998 - */*) ac_site_file1=$CONFIG_SITE;; 1999 - *) ac_site_file1=./$CONFIG_SITE;; 2000 - esac 1961 + ac_site_files="$CONFIG_SITE" 2001 1962 elif test "x$prefix" != xNONE; then 2002 - ac_site_file1=$prefix/share/config.site 2003 - ac_site_file2=$prefix/etc/config.site 1963 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2004 1964 else 2005 - ac_site_file1=$ac_default_prefix/share/config.site 2006 - ac_site_file2=$ac_default_prefix/etc/config.site 1965 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2007 1966 fi 2008 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1967 + 1968 + for ac_site_file in $ac_site_files 2009 1969 do 2010 - test "x$ac_site_file" = xNONE && continue 2011 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2012 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2013 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1970 + case $ac_site_file in #( 1971 + */*) : 1972 + ;; #( 1973 + *) : 1974 + ac_site_file=./$ac_site_file ;; 1975 + esac 1976 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1977 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1978 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2014 1979 sed 's/^/| /' "$ac_site_file" >&5 2015 1980 . "$ac_site_file" \ 2016 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2017 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1981 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1982 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2018 1983 as_fn_error $? "failed to load site script $ac_site_file 2019 1984 See \`config.log' for more details" "$LINENO" 5; } 2020 1985 fi ··· 2024 1989 # Some versions of bash will fail to source /dev/null (special files 2025 1990 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2026 1991 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2027 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2028 - $as_echo "$as_me: loading cache $cache_file" >&6;} 1992 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1993 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2029 1994 case $cache_file in 2030 1995 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2031 1996 *) . "./$cache_file";; 2032 1997 esac 2033 1998 fi 2034 1999 else 2035 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2036 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2001 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2037 2002 >$cache_file 2038 2003 fi 2039 2004 2005 + # Test code for whether the C compiler supports C89 (global declarations) 2006 + ac_c_conftest_c89_globals=' 2007 + /* Does the compiler advertise C89 conformance? 2008 + Do not test the value of __STDC__, because some compilers set it to 0 2009 + while being otherwise adequately conformant. */ 2010 + #if !defined __STDC__ 2011 + # error "Compiler does not advertise C89 conformance" 2012 + #endif 2013 + 2014 + #include <stddef.h> 2015 + #include <stdarg.h> 2016 + struct stat; 2017 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2018 + struct buf { int x; }; 2019 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2020 + static char *e (p, i) 2021 + char **p; 2022 + int i; 2023 + { 2024 + return p[i]; 2025 + } 2026 + static char *f (char * (*g) (char **, int), char **p, ...) 2027 + { 2028 + char *s; 2029 + va_list v; 2030 + va_start (v,p); 2031 + s = g (p, va_arg (v,int)); 2032 + va_end (v); 2033 + return s; 2034 + } 2035 + 2036 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2037 + function prototypes and stuff, but not \xHH hex character constants. 2038 + These do not provoke an error unfortunately, instead are silently treated 2039 + as an "x". The following induces an error, until -std is added to get 2040 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2041 + array size at least. It is necessary to write \x00 == 0 to get something 2042 + that is true only with -std. */ 2043 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2044 + 2045 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2046 + inside strings and character constants. */ 2047 + #define FOO(x) '\''x'\'' 2048 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2049 + 2050 + int test (int i, double x); 2051 + struct s1 {int (*f) (int a);}; 2052 + struct s2 {int (*f) (double a);}; 2053 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2054 + int, int);' 2055 + 2056 + # Test code for whether the C compiler supports C89 (body of main). 2057 + ac_c_conftest_c89_main=' 2058 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2059 + ' 2060 + 2061 + # Test code for whether the C compiler supports C99 (global declarations) 2062 + ac_c_conftest_c99_globals=' 2063 + // Does the compiler advertise C99 conformance? 2064 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2065 + # error "Compiler does not advertise C99 conformance" 2066 + #endif 2067 + 2068 + #include <stdbool.h> 2069 + extern int puts (const char *); 2070 + extern int printf (const char *, ...); 2071 + extern int dprintf (int, const char *, ...); 2072 + extern void *malloc (size_t); 2073 + 2074 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2075 + // dprintf is used instead of fprintf to avoid needing to declare 2076 + // FILE and stderr. 2077 + #define debug(...) dprintf (2, __VA_ARGS__) 2078 + #define showlist(...) puts (#__VA_ARGS__) 2079 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2080 + static void 2081 + test_varargs_macros (void) 2082 + { 2083 + int x = 1234; 2084 + int y = 5678; 2085 + debug ("Flag"); 2086 + debug ("X = %d\n", x); 2087 + showlist (The first, second, and third items.); 2088 + report (x>y, "x is %d but y is %d", x, y); 2089 + } 2090 + 2091 + // Check long long types. 2092 + #define BIG64 18446744073709551615ull 2093 + #define BIG32 4294967295ul 2094 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2095 + #if !BIG_OK 2096 + #error "your preprocessor is broken" 2097 + #endif 2098 + #if BIG_OK 2099 + #else 2100 + #error "your preprocessor is broken" 2101 + #endif 2102 + static long long int bignum = -9223372036854775807LL; 2103 + static unsigned long long int ubignum = BIG64; 2104 + 2105 + struct incomplete_array 2106 + { 2107 + int datasize; 2108 + double data[]; 2109 + }; 2110 + 2111 + struct named_init { 2112 + int number; 2113 + const wchar_t *name; 2114 + double average; 2115 + }; 2116 + 2117 + typedef const char *ccp; 2118 + 2119 + static inline int 2120 + test_restrict (ccp restrict text) 2121 + { 2122 + // See if C++-style comments work. 2123 + // Iterate through items via the restricted pointer. 2124 + // Also check for declarations in for loops. 2125 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2126 + continue; 2127 + return 0; 2128 + } 2129 + 2130 + // Check varargs and va_copy. 2131 + static bool 2132 + test_varargs (const char *format, ...) 2133 + { 2134 + va_list args; 2135 + va_start (args, format); 2136 + va_list args_copy; 2137 + va_copy (args_copy, args); 2138 + 2139 + const char *str = ""; 2140 + int number = 0; 2141 + float fnumber = 0; 2142 + 2143 + while (*format) 2144 + { 2145 + switch (*format++) 2146 + { 2147 + case '\''s'\'': // string 2148 + str = va_arg (args_copy, const char *); 2149 + break; 2150 + case '\''d'\'': // int 2151 + number = va_arg (args_copy, int); 2152 + break; 2153 + case '\''f'\'': // float 2154 + fnumber = va_arg (args_copy, double); 2155 + break; 2156 + default: 2157 + break; 2158 + } 2159 + } 2160 + va_end (args_copy); 2161 + va_end (args); 2162 + 2163 + return *str && number && fnumber; 2164 + } 2165 + ' 2166 + 2167 + # Test code for whether the C compiler supports C99 (body of main). 2168 + ac_c_conftest_c99_main=' 2169 + // Check bool. 2170 + _Bool success = false; 2171 + success |= (argc != 0); 2172 + 2173 + // Check restrict. 2174 + if (test_restrict ("String literal") == 0) 2175 + success = true; 2176 + char *restrict newvar = "Another string"; 2177 + 2178 + // Check varargs. 2179 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2180 + test_varargs_macros (); 2181 + 2182 + // Check flexible array members. 2183 + struct incomplete_array *ia = 2184 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2185 + ia->datasize = 10; 2186 + for (int i = 0; i < ia->datasize; ++i) 2187 + ia->data[i] = i * 1.234; 2188 + 2189 + // Check named initializers. 2190 + struct named_init ni = { 2191 + .number = 34, 2192 + .name = L"Test wide string", 2193 + .average = 543.34343, 2194 + }; 2195 + 2196 + ni.number = 58; 2197 + 2198 + int dynamic_array[ni.number]; 2199 + dynamic_array[0] = argv[0][0]; 2200 + dynamic_array[ni.number - 1] = 543; 2201 + 2202 + // work around unused variable warnings 2203 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2204 + || dynamic_array[ni.number - 1] != 543); 2205 + ' 2206 + 2207 + # Test code for whether the C compiler supports C11 (global declarations) 2208 + ac_c_conftest_c11_globals=' 2209 + // Does the compiler advertise C11 conformance? 2210 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2211 + # error "Compiler does not advertise C11 conformance" 2212 + #endif 2213 + 2214 + // Check _Alignas. 2215 + char _Alignas (double) aligned_as_double; 2216 + char _Alignas (0) no_special_alignment; 2217 + extern char aligned_as_int; 2218 + char _Alignas (0) _Alignas (int) aligned_as_int; 2219 + 2220 + // Check _Alignof. 2221 + enum 2222 + { 2223 + int_alignment = _Alignof (int), 2224 + int_array_alignment = _Alignof (int[100]), 2225 + char_alignment = _Alignof (char) 2226 + }; 2227 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2228 + 2229 + // Check _Noreturn. 2230 + int _Noreturn does_not_return (void) { for (;;) continue; } 2231 + 2232 + // Check _Static_assert. 2233 + struct test_static_assert 2234 + { 2235 + int x; 2236 + _Static_assert (sizeof (int) <= sizeof (long int), 2237 + "_Static_assert does not work in struct"); 2238 + long int y; 2239 + }; 2240 + 2241 + // Check UTF-8 literals. 2242 + #define u8 syntax error! 2243 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2244 + 2245 + // Check duplicate typedefs. 2246 + typedef long *long_ptr; 2247 + typedef long int *long_ptr; 2248 + typedef long_ptr long_ptr; 2249 + 2250 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2251 + struct anonymous 2252 + { 2253 + union { 2254 + struct { int i; int j; }; 2255 + struct { int k; long int l; } w; 2256 + }; 2257 + int m; 2258 + } v1; 2259 + ' 2260 + 2261 + # Test code for whether the C compiler supports C11 (body of main). 2262 + ac_c_conftest_c11_main=' 2263 + _Static_assert ((offsetof (struct anonymous, i) 2264 + == offsetof (struct anonymous, w.k)), 2265 + "Anonymous union alignment botch"); 2266 + v1.i = 2; 2267 + v1.w.k = 5; 2268 + ok |= v1.i != 5; 2269 + ' 2270 + 2271 + # Test code for whether the C compiler supports C11 (complete). 2272 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2273 + ${ac_c_conftest_c99_globals} 2274 + ${ac_c_conftest_c11_globals} 2275 + 2276 + int 2277 + main (int argc, char **argv) 2278 + { 2279 + int ok = 0; 2280 + ${ac_c_conftest_c89_main} 2281 + ${ac_c_conftest_c99_main} 2282 + ${ac_c_conftest_c11_main} 2283 + return ok; 2284 + } 2285 + " 2286 + 2287 + # Test code for whether the C compiler supports C99 (complete). 2288 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2289 + ${ac_c_conftest_c99_globals} 2290 + 2291 + int 2292 + main (int argc, char **argv) 2293 + { 2294 + int ok = 0; 2295 + ${ac_c_conftest_c89_main} 2296 + ${ac_c_conftest_c99_main} 2297 + return ok; 2298 + } 2299 + " 2300 + 2301 + # Test code for whether the C compiler supports C89 (complete). 2302 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2303 + 2304 + int 2305 + main (int argc, char **argv) 2306 + { 2307 + int ok = 0; 2308 + ${ac_c_conftest_c89_main} 2309 + return ok; 2310 + } 2311 + " 2312 + 2313 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2314 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2315 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2316 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2317 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2318 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2319 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2320 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2321 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2322 + 2323 + # Auxiliary files required by this configure script. 2324 + ac_aux_files="config.guess config.sub missing install-sh" 2325 + 2326 + # Locations in which to look for auxiliary files. 2327 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2328 + 2329 + # Search for a directory containing all of the required auxiliary files, 2330 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2331 + # If we don't find one directory that contains all the files we need, 2332 + # we report the set of missing files from the *first* directory in 2333 + # $ac_aux_dir_candidates and give up. 2334 + ac_missing_aux_files="" 2335 + ac_first_candidate=: 2336 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2337 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2338 + as_found=false 2339 + for as_dir in $ac_aux_dir_candidates 2340 + do 2341 + IFS=$as_save_IFS 2342 + case $as_dir in #((( 2343 + '') as_dir=./ ;; 2344 + */) ;; 2345 + *) as_dir=$as_dir/ ;; 2346 + esac 2347 + as_found=: 2348 + 2349 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2350 + ac_aux_dir_found=yes 2351 + ac_install_sh= 2352 + for ac_aux in $ac_aux_files 2353 + do 2354 + # As a special case, if "install-sh" is required, that requirement 2355 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2356 + # and $ac_install_sh is set appropriately for whichever one is found. 2357 + if test x"$ac_aux" = x"install-sh" 2358 + then 2359 + if test -f "${as_dir}install-sh"; then 2360 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2361 + ac_install_sh="${as_dir}install-sh -c" 2362 + elif test -f "${as_dir}install.sh"; then 2363 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2364 + ac_install_sh="${as_dir}install.sh -c" 2365 + elif test -f "${as_dir}shtool"; then 2366 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2367 + ac_install_sh="${as_dir}shtool install -c" 2368 + else 2369 + ac_aux_dir_found=no 2370 + if $ac_first_candidate; then 2371 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2372 + else 2373 + break 2374 + fi 2375 + fi 2376 + else 2377 + if test -f "${as_dir}${ac_aux}"; then 2378 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2379 + else 2380 + ac_aux_dir_found=no 2381 + if $ac_first_candidate; then 2382 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2383 + else 2384 + break 2385 + fi 2386 + fi 2387 + fi 2388 + done 2389 + if test "$ac_aux_dir_found" = yes; then 2390 + ac_aux_dir="$as_dir" 2391 + break 2392 + fi 2393 + ac_first_candidate=false 2394 + 2395 + as_found=false 2396 + done 2397 + IFS=$as_save_IFS 2398 + if $as_found 2399 + then : 2400 + 2401 + else $as_nop 2402 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2403 + fi 2404 + 2405 + 2406 + # These three variables are undocumented and unsupported, 2407 + # and are intended to be withdrawn in a future Autoconf release. 2408 + # They can cause serious problems if a builder's source tree is in a directory 2409 + # whose full name contains unusual characters. 2410 + if test -f "${ac_aux_dir}config.guess"; then 2411 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2412 + fi 2413 + if test -f "${ac_aux_dir}config.sub"; then 2414 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2415 + fi 2416 + if test -f "$ac_aux_dir/configure"; then 2417 + ac_configure="$SHELL ${ac_aux_dir}configure" 2418 + fi 2419 + 2040 2420 # Check that the precious variables saved in the cache have kept the same 2041 2421 # value. 2042 2422 ac_cache_corrupted=false ··· 2047 2427 eval ac_new_val=\$ac_env_${ac_var}_value 2048 2428 case $ac_old_set,$ac_new_set in 2049 2429 set,) 2050 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2051 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2430 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2431 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2052 2432 ac_cache_corrupted=: ;; 2053 2433 ,set) 2054 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2055 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2434 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2435 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2056 2436 ac_cache_corrupted=: ;; 2057 2437 ,);; 2058 2438 *) ··· 2061 2441 ac_old_val_w=`echo x $ac_old_val` 2062 2442 ac_new_val_w=`echo x $ac_new_val` 2063 2443 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2064 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2065 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2444 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2445 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2066 2446 ac_cache_corrupted=: 2067 2447 else 2068 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2069 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2448 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2449 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2070 2450 eval $ac_var=\$ac_old_val 2071 2451 fi 2072 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2073 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2074 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2075 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2452 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2453 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2454 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2455 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2076 2456 fi;; 2077 2457 esac 2078 2458 # Pass precious variables to config.status. 2079 2459 if test "$ac_new_set" = set; then 2080 2460 case $ac_new_val in 2081 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2461 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2082 2462 *) ac_arg=$ac_var=$ac_new_val ;; 2083 2463 esac 2084 2464 case " $ac_configure_args " in ··· 2088 2468 fi 2089 2469 done 2090 2470 if $ac_cache_corrupted; then 2091 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2092 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2093 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2094 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2095 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2472 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2473 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2474 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2475 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2476 + and start over" "$LINENO" 5 2096 2477 fi 2097 2478 ## -------------------- ## 2098 2479 ## Main body of script. ## ··· 2112 2493 # Initialize Automake 2113 2494 am__api_version='1.12' 2114 2495 2115 - ac_aux_dir= 2116 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2117 - if test -f "$ac_dir/install-sh"; then 2118 - ac_aux_dir=$ac_dir 2119 - ac_install_sh="$ac_aux_dir/install-sh -c" 2120 - break 2121 - elif test -f "$ac_dir/install.sh"; then 2122 - ac_aux_dir=$ac_dir 2123 - ac_install_sh="$ac_aux_dir/install.sh -c" 2124 - break 2125 - elif test -f "$ac_dir/shtool"; then 2126 - ac_aux_dir=$ac_dir 2127 - ac_install_sh="$ac_aux_dir/shtool install -c" 2128 - break 2129 - fi 2130 - done 2131 - if test -z "$ac_aux_dir"; then 2132 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2133 - fi 2134 2496 2135 - # These three variables are undocumented and unsupported, 2136 - # and are intended to be withdrawn in a future Autoconf release. 2137 - # They can cause serious problems if a builder's source tree is in a directory 2138 - # whose full name contains unusual characters. 2139 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2140 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2141 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2142 2497 2143 - 2144 - # Find a good install program. We prefer a C program (faster), 2498 + # Find a good install program. We prefer a C program (faster), 2145 2499 # so one script is as good as another. But avoid the broken or 2146 2500 # incompatible versions: 2147 2501 # SysV /etc/install, /usr/sbin/install ··· 2155 2509 # OS/2's system install, which has a completely different semantic 2156 2510 # ./install, which can be erroneously created by make from ./install.sh. 2157 2511 # Reject install programs that cannot install multiple files. 2158 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2159 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2512 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2513 + printf %s "checking for a BSD-compatible install... " >&6; } 2160 2514 if test -z "$INSTALL"; then 2161 - if ${ac_cv_path_install+:} false; then : 2162 - $as_echo_n "(cached) " >&6 2163 - else 2515 + if test ${ac_cv_path_install+y} 2516 + then : 2517 + printf %s "(cached) " >&6 2518 + else $as_nop 2164 2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2165 2520 for as_dir in $PATH 2166 2521 do 2167 2522 IFS=$as_save_IFS 2168 - test -z "$as_dir" && as_dir=. 2169 - # Account for people who put trailing slashes in PATH elements. 2170 - case $as_dir/ in #(( 2171 - ./ | .// | /[cC]/* | \ 2523 + case $as_dir in #((( 2524 + '') as_dir=./ ;; 2525 + */) ;; 2526 + *) as_dir=$as_dir/ ;; 2527 + esac 2528 + # Account for fact that we put trailing slashes in our PATH walk. 2529 + case $as_dir in #(( 2530 + ./ | /[cC]/* | \ 2172 2531 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2173 2532 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2174 2533 /usr/ucb/* ) ;; ··· 2178 2537 # by default. 2179 2538 for ac_prog in ginstall scoinst install; do 2180 2539 for ac_exec_ext in '' $ac_executable_extensions; do 2181 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2540 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2182 2541 if test $ac_prog = install && 2183 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2542 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2184 2543 # AIX install. It has an incompatible calling convention. 2185 2544 : 2186 2545 elif test $ac_prog = install && 2187 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2546 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2188 2547 # program-specific install script used by HP pwplus--don't use. 2189 2548 : 2190 2549 else ··· 2192 2551 echo one > conftest.one 2193 2552 echo two > conftest.two 2194 2553 mkdir conftest.dir 2195 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2554 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2196 2555 test -s conftest.one && test -s conftest.two && 2197 2556 test -s conftest.dir/conftest.one && 2198 2557 test -s conftest.dir/conftest.two 2199 2558 then 2200 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2559 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2201 2560 break 3 2202 2561 fi 2203 2562 fi ··· 2213 2572 rm -rf conftest.one conftest.two conftest.dir 2214 2573 2215 2574 fi 2216 - if test "${ac_cv_path_install+set}" = set; then 2575 + if test ${ac_cv_path_install+y}; then 2217 2576 INSTALL=$ac_cv_path_install 2218 2577 else 2219 2578 # As a last resort, use the slow shell script. Don't cache a ··· 2223 2582 INSTALL=$ac_install_sh 2224 2583 fi 2225 2584 fi 2226 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2227 - $as_echo "$INSTALL" >&6; } 2585 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2586 + printf "%s\n" "$INSTALL" >&6; } 2228 2587 2229 2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2230 2589 # It thinks the first close brace ends the variable substitution. ··· 2234 2593 2235 2594 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2236 2595 2237 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2238 - $as_echo_n "checking whether build environment is sane... " >&6; } 2596 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2597 + printf %s "checking whether build environment is sane... " >&6; } 2239 2598 # Reject unsafe characters in $srcdir or the absolute working directory 2240 2599 # name. Accept space and tab only in the latter. 2241 2600 am_lf=' ··· 2289 2648 as_fn_error $? "newly created file is older than distributed files! 2290 2649 Check your system clock" "$LINENO" 5 2291 2650 fi 2292 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2293 - $as_echo "yes" >&6; } 2651 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2652 + printf "%s\n" "yes" >&6; } 2294 2653 # If we didn't sleep, we still need to ensure time stamps of config.status and 2295 2654 # generated files are strictly newer. 2296 2655 am_sleep_pid= ··· 2309 2668 # Double any \ or $. 2310 2669 # By default was `s,x,x', remove it if useless. 2311 2670 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2312 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2671 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2313 2672 2314 2673 # expand $ac_aux_dir to an absolute path 2315 2674 am_aux_dir=`cd $ac_aux_dir && pwd` 2316 2675 2317 - if test x"${MISSING+set}" != xset; then 2676 + 2677 + if test x"${MISSING+set}" != xset; then 2318 2678 case $am_aux_dir in 2319 2679 *\ * | *\ *) 2320 2680 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2327 2687 am_missing_run="$MISSING --run " 2328 2688 else 2329 2689 am_missing_run= 2330 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2331 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2691 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2332 2692 fi 2333 2693 2334 2694 if test x"${install_sh}" != xset; then ··· 2348 2708 if test -n "$ac_tool_prefix"; then 2349 2709 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2350 2710 set dummy ${ac_tool_prefix}strip; ac_word=$2 2351 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2352 - $as_echo_n "checking for $ac_word... " >&6; } 2353 - if ${ac_cv_prog_STRIP+:} false; then : 2354 - $as_echo_n "(cached) " >&6 2355 - else 2711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2712 + printf %s "checking for $ac_word... " >&6; } 2713 + if test ${ac_cv_prog_STRIP+y} 2714 + then : 2715 + printf %s "(cached) " >&6 2716 + else $as_nop 2356 2717 if test -n "$STRIP"; then 2357 2718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2358 2719 else ··· 2360 2721 for as_dir in $PATH 2361 2722 do 2362 2723 IFS=$as_save_IFS 2363 - test -z "$as_dir" && as_dir=. 2724 + case $as_dir in #((( 2725 + '') as_dir=./ ;; 2726 + */) ;; 2727 + *) as_dir=$as_dir/ ;; 2728 + esac 2364 2729 for ac_exec_ext in '' $ac_executable_extensions; do 2365 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2730 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2366 2731 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2367 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2732 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2368 2733 break 2 2369 2734 fi 2370 2735 done ··· 2375 2740 fi 2376 2741 STRIP=$ac_cv_prog_STRIP 2377 2742 if test -n "$STRIP"; then 2378 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2379 - $as_echo "$STRIP" >&6; } 2743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2744 + printf "%s\n" "$STRIP" >&6; } 2380 2745 else 2381 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2382 - $as_echo "no" >&6; } 2746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2747 + printf "%s\n" "no" >&6; } 2383 2748 fi 2384 2749 2385 2750 ··· 2388 2753 ac_ct_STRIP=$STRIP 2389 2754 # Extract the first word of "strip", so it can be a program name with args. 2390 2755 set dummy strip; ac_word=$2 2391 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2392 - $as_echo_n "checking for $ac_word... " >&6; } 2393 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2394 - $as_echo_n "(cached) " >&6 2395 - else 2756 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2757 + printf %s "checking for $ac_word... " >&6; } 2758 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2759 + then : 2760 + printf %s "(cached) " >&6 2761 + else $as_nop 2396 2762 if test -n "$ac_ct_STRIP"; then 2397 2763 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2398 2764 else ··· 2400 2766 for as_dir in $PATH 2401 2767 do 2402 2768 IFS=$as_save_IFS 2403 - test -z "$as_dir" && as_dir=. 2769 + case $as_dir in #((( 2770 + '') as_dir=./ ;; 2771 + */) ;; 2772 + *) as_dir=$as_dir/ ;; 2773 + esac 2404 2774 for ac_exec_ext in '' $ac_executable_extensions; do 2405 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2775 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2406 2776 ac_cv_prog_ac_ct_STRIP="strip" 2407 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2408 2778 break 2 2409 2779 fi 2410 2780 done ··· 2415 2785 fi 2416 2786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2417 2787 if test -n "$ac_ct_STRIP"; then 2418 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2419 - $as_echo "$ac_ct_STRIP" >&6; } 2788 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2789 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2420 2790 else 2421 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2422 - $as_echo "no" >&6; } 2791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2792 + printf "%s\n" "no" >&6; } 2423 2793 fi 2424 2794 2425 2795 if test "x$ac_ct_STRIP" = x; then ··· 2427 2797 else 2428 2798 case $cross_compiling:$ac_tool_warned in 2429 2799 yes:) 2430 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2431 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2800 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2801 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2432 2802 ac_tool_warned=yes ;; 2433 2803 esac 2434 2804 STRIP=$ac_ct_STRIP ··· 2440 2810 fi 2441 2811 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2442 2812 2443 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2444 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2813 + 2814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2815 + printf %s "checking for a race-free mkdir -p... " >&6; } 2445 2816 if test -z "$MKDIR_P"; then 2446 - if ${ac_cv_path_mkdir+:} false; then : 2447 - $as_echo_n "(cached) " >&6 2448 - else 2817 + if test ${ac_cv_path_mkdir+y} 2818 + then : 2819 + printf %s "(cached) " >&6 2820 + else $as_nop 2449 2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2450 2822 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2451 2823 do 2452 2824 IFS=$as_save_IFS 2453 - test -z "$as_dir" && as_dir=. 2825 + case $as_dir in #((( 2826 + '') as_dir=./ ;; 2827 + */) ;; 2828 + *) as_dir=$as_dir/ ;; 2829 + esac 2454 2830 for ac_prog in mkdir gmkdir; do 2455 2831 for ac_exec_ext in '' $ac_executable_extensions; do 2456 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2457 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2458 - 'mkdir (GNU coreutils) '* | \ 2459 - 'mkdir (coreutils) '* | \ 2832 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2833 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2834 + 'mkdir ('*'coreutils) '* | \ 2835 + 'BusyBox '* | \ 2460 2836 'mkdir (fileutils) '4.1*) 2461 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2837 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2462 2838 break 3;; 2463 2839 esac 2464 2840 done ··· 2469 2845 fi 2470 2846 2471 2847 test -d ./--version && rmdir ./--version 2472 - if test "${ac_cv_path_mkdir+set}" = set; then 2848 + if test ${ac_cv_path_mkdir+y}; then 2473 2849 MKDIR_P="$ac_cv_path_mkdir -p" 2474 2850 else 2475 2851 # As a last resort, use the slow shell script. Don't cache a ··· 2479 2855 MKDIR_P="$ac_install_sh -d" 2480 2856 fi 2481 2857 fi 2482 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2483 - $as_echo "$MKDIR_P" >&6; } 2858 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2859 + printf "%s\n" "$MKDIR_P" >&6; } 2484 2860 2485 2861 for ac_prog in gawk mawk nawk awk 2486 2862 do 2487 2863 # Extract the first word of "$ac_prog", so it can be a program name with args. 2488 2864 set dummy $ac_prog; ac_word=$2 2489 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2490 - $as_echo_n "checking for $ac_word... " >&6; } 2491 - if ${ac_cv_prog_AWK+:} false; then : 2492 - $as_echo_n "(cached) " >&6 2493 - else 2865 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2866 + printf %s "checking for $ac_word... " >&6; } 2867 + if test ${ac_cv_prog_AWK+y} 2868 + then : 2869 + printf %s "(cached) " >&6 2870 + else $as_nop 2494 2871 if test -n "$AWK"; then 2495 2872 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2496 2873 else ··· 2498 2875 for as_dir in $PATH 2499 2876 do 2500 2877 IFS=$as_save_IFS 2501 - test -z "$as_dir" && as_dir=. 2878 + case $as_dir in #((( 2879 + '') as_dir=./ ;; 2880 + */) ;; 2881 + *) as_dir=$as_dir/ ;; 2882 + esac 2502 2883 for ac_exec_ext in '' $ac_executable_extensions; do 2503 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2884 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2504 2885 ac_cv_prog_AWK="$ac_prog" 2505 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2886 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2506 2887 break 2 2507 2888 fi 2508 2889 done ··· 2513 2894 fi 2514 2895 AWK=$ac_cv_prog_AWK 2515 2896 if test -n "$AWK"; then 2516 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2517 - $as_echo "$AWK" >&6; } 2897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2898 + printf "%s\n" "$AWK" >&6; } 2518 2899 else 2519 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2520 - $as_echo "no" >&6; } 2900 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2901 + printf "%s\n" "no" >&6; } 2521 2902 fi 2522 2903 2523 2904 2524 2905 test -n "$AWK" && break 2525 2906 done 2526 2907 2527 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2528 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2908 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2909 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2529 2910 set x ${MAKE-make} 2530 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2531 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2532 - $as_echo_n "(cached) " >&6 2533 - else 2911 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2912 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2913 + then : 2914 + printf %s "(cached) " >&6 2915 + else $as_nop 2534 2916 cat >conftest.make <<\_ACEOF 2535 2917 SHELL = /bin/sh 2536 2918 all: ··· 2546 2928 rm -f conftest.make 2547 2929 fi 2548 2930 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2549 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2550 - $as_echo "yes" >&6; } 2931 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2932 + printf "%s\n" "yes" >&6; } 2551 2933 SET_MAKE= 2552 2934 else 2553 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2554 - $as_echo "no" >&6; } 2935 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2936 + printf "%s\n" "no" >&6; } 2555 2937 SET_MAKE="MAKE=${MAKE-make}" 2556 2938 fi 2557 2939 ··· 2586 2968 2587 2969 # Define the identity of the package. 2588 2970 PACKAGE='xpr' 2589 - VERSION='1.0.5' 2971 + VERSION='1.2.0' 2590 2972 2591 2973 2592 - cat >>confdefs.h <<_ACEOF 2593 - #define PACKAGE "$PACKAGE" 2594 - _ACEOF 2974 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2595 2975 2596 2976 2597 - cat >>confdefs.h <<_ACEOF 2598 - #define VERSION "$VERSION" 2599 - _ACEOF 2977 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2600 2978 2601 2979 # Some tools Automake needs. 2602 2980 ··· 2630 3008 2631 3009 2632 3010 2633 - 2634 - 2635 - 2636 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2637 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2638 - # Check whether --enable-maintainer-mode was given. 2639 - if test "${enable_maintainer_mode+set}" = set; then : 2640 - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2641 - else 2642 - USE_MAINTAINER_MODE=no 2643 - fi 2644 - 2645 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2646 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 2647 - if test $USE_MAINTAINER_MODE = yes; then 2648 - MAINTAINER_MODE_TRUE= 2649 - MAINTAINER_MODE_FALSE='#' 2650 - else 2651 - MAINTAINER_MODE_TRUE='#' 2652 - MAINTAINER_MODE_FALSE= 2653 - fi 2654 - 2655 - MAINT=$MAINTAINER_MODE_TRUE 2656 3011 2657 3012 2658 3013 ··· 2668 3023 2669 3024 2670 3025 2671 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2672 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3026 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3027 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2673 3028 # Check whether --enable-maintainer-mode was given. 2674 - if test "${enable_maintainer_mode+set}" = set; then : 3029 + if test ${enable_maintainer_mode+y} 3030 + then : 2675 3031 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2676 - else 3032 + else $as_nop 2677 3033 USE_MAINTAINER_MODE=no 2678 3034 fi 2679 3035 2680 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2681 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 3036 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3037 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 2682 3038 if test $USE_MAINTAINER_MODE = yes; then 2683 3039 MAINTAINER_MODE_TRUE= 2684 3040 MAINTAINER_MODE_FALSE='#' ··· 2691 3047 2692 3048 2693 3049 3050 + 3051 + 3052 + 3053 + 3054 + 3055 + 3056 + 3057 + 3058 + 2694 3059 DEPDIR="${am__leading_dot}deps" 2695 3060 2696 3061 ac_config_commands="$ac_config_commands depfiles" ··· 2703 3068 .PHONY: am__doit 2704 3069 END 2705 3070 # If we don't find an include directive, just comment out the code. 2706 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2707 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3072 + printf %s "checking for style of include used by $am_make... " >&6; } 2708 3073 am__include="#" 2709 3074 am__quote= 2710 3075 _am_result=none ··· 2731 3096 fi 2732 3097 2733 3098 2734 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2735 - $as_echo "$_am_result" >&6; } 3099 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3100 + printf "%s\n" "$_am_result" >&6; } 2736 3101 rm -f confinc confmf 2737 3102 2738 3103 # Check whether --enable-dependency-tracking was given. 2739 - if test "${enable_dependency_tracking+set}" = set; then : 3104 + if test ${enable_dependency_tracking+y} 3105 + then : 2740 3106 enableval=$enable_dependency_tracking; 2741 3107 fi 2742 3108 ··· 2762 3128 if test -n "$ac_tool_prefix"; then 2763 3129 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2764 3130 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2765 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2766 - $as_echo_n "checking for $ac_word... " >&6; } 2767 - if ${ac_cv_prog_CC+:} false; then : 2768 - $as_echo_n "(cached) " >&6 2769 - else 3131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3132 + printf %s "checking for $ac_word... " >&6; } 3133 + if test ${ac_cv_prog_CC+y} 3134 + then : 3135 + printf %s "(cached) " >&6 3136 + else $as_nop 2770 3137 if test -n "$CC"; then 2771 3138 ac_cv_prog_CC="$CC" # Let the user override the test. 2772 3139 else ··· 2774 3141 for as_dir in $PATH 2775 3142 do 2776 3143 IFS=$as_save_IFS 2777 - test -z "$as_dir" && as_dir=. 3144 + case $as_dir in #((( 3145 + '') as_dir=./ ;; 3146 + */) ;; 3147 + *) as_dir=$as_dir/ ;; 3148 + esac 2778 3149 for ac_exec_ext in '' $ac_executable_extensions; do 2779 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3150 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2780 3151 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2781 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3152 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2782 3153 break 2 2783 3154 fi 2784 3155 done ··· 2789 3160 fi 2790 3161 CC=$ac_cv_prog_CC 2791 3162 if test -n "$CC"; then 2792 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2793 - $as_echo "$CC" >&6; } 3163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3164 + printf "%s\n" "$CC" >&6; } 2794 3165 else 2795 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2796 - $as_echo "no" >&6; } 3166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3167 + printf "%s\n" "no" >&6; } 2797 3168 fi 2798 3169 2799 3170 ··· 2802 3173 ac_ct_CC=$CC 2803 3174 # Extract the first word of "gcc", so it can be a program name with args. 2804 3175 set dummy gcc; ac_word=$2 2805 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2806 - $as_echo_n "checking for $ac_word... " >&6; } 2807 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2808 - $as_echo_n "(cached) " >&6 2809 - else 3176 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3177 + printf %s "checking for $ac_word... " >&6; } 3178 + if test ${ac_cv_prog_ac_ct_CC+y} 3179 + then : 3180 + printf %s "(cached) " >&6 3181 + else $as_nop 2810 3182 if test -n "$ac_ct_CC"; then 2811 3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2812 3184 else ··· 2814 3186 for as_dir in $PATH 2815 3187 do 2816 3188 IFS=$as_save_IFS 2817 - test -z "$as_dir" && as_dir=. 3189 + case $as_dir in #((( 3190 + '') as_dir=./ ;; 3191 + */) ;; 3192 + *) as_dir=$as_dir/ ;; 3193 + esac 2818 3194 for ac_exec_ext in '' $ac_executable_extensions; do 2819 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3195 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2820 3196 ac_cv_prog_ac_ct_CC="gcc" 2821 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3197 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2822 3198 break 2 2823 3199 fi 2824 3200 done ··· 2829 3205 fi 2830 3206 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2831 3207 if test -n "$ac_ct_CC"; then 2832 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2833 - $as_echo "$ac_ct_CC" >&6; } 3208 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3209 + printf "%s\n" "$ac_ct_CC" >&6; } 2834 3210 else 2835 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2836 - $as_echo "no" >&6; } 3211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3212 + printf "%s\n" "no" >&6; } 2837 3213 fi 2838 3214 2839 3215 if test "x$ac_ct_CC" = x; then ··· 2841 3217 else 2842 3218 case $cross_compiling:$ac_tool_warned in 2843 3219 yes:) 2844 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2845 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3220 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3221 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2846 3222 ac_tool_warned=yes ;; 2847 3223 esac 2848 3224 CC=$ac_ct_CC ··· 2855 3231 if test -n "$ac_tool_prefix"; then 2856 3232 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2857 3233 set dummy ${ac_tool_prefix}cc; ac_word=$2 2858 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2859 - $as_echo_n "checking for $ac_word... " >&6; } 2860 - if ${ac_cv_prog_CC+:} false; then : 2861 - $as_echo_n "(cached) " >&6 2862 - else 3234 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3235 + printf %s "checking for $ac_word... " >&6; } 3236 + if test ${ac_cv_prog_CC+y} 3237 + then : 3238 + printf %s "(cached) " >&6 3239 + else $as_nop 2863 3240 if test -n "$CC"; then 2864 3241 ac_cv_prog_CC="$CC" # Let the user override the test. 2865 3242 else ··· 2867 3244 for as_dir in $PATH 2868 3245 do 2869 3246 IFS=$as_save_IFS 2870 - test -z "$as_dir" && as_dir=. 3247 + case $as_dir in #((( 3248 + '') as_dir=./ ;; 3249 + */) ;; 3250 + *) as_dir=$as_dir/ ;; 3251 + esac 2871 3252 for ac_exec_ext in '' $ac_executable_extensions; do 2872 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3253 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2873 3254 ac_cv_prog_CC="${ac_tool_prefix}cc" 2874 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3255 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2875 3256 break 2 2876 3257 fi 2877 3258 done ··· 2882 3263 fi 2883 3264 CC=$ac_cv_prog_CC 2884 3265 if test -n "$CC"; then 2885 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2886 - $as_echo "$CC" >&6; } 3266 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3267 + printf "%s\n" "$CC" >&6; } 2887 3268 else 2888 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2889 - $as_echo "no" >&6; } 3269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3270 + printf "%s\n" "no" >&6; } 2890 3271 fi 2891 3272 2892 3273 ··· 2895 3276 if test -z "$CC"; then 2896 3277 # Extract the first word of "cc", so it can be a program name with args. 2897 3278 set dummy cc; ac_word=$2 2898 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2899 - $as_echo_n "checking for $ac_word... " >&6; } 2900 - if ${ac_cv_prog_CC+:} false; then : 2901 - $as_echo_n "(cached) " >&6 2902 - else 3279 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3280 + printf %s "checking for $ac_word... " >&6; } 3281 + if test ${ac_cv_prog_CC+y} 3282 + then : 3283 + printf %s "(cached) " >&6 3284 + else $as_nop 2903 3285 if test -n "$CC"; then 2904 3286 ac_cv_prog_CC="$CC" # Let the user override the test. 2905 3287 else ··· 2908 3290 for as_dir in $PATH 2909 3291 do 2910 3292 IFS=$as_save_IFS 2911 - test -z "$as_dir" && as_dir=. 3293 + case $as_dir in #((( 3294 + '') as_dir=./ ;; 3295 + */) ;; 3296 + *) as_dir=$as_dir/ ;; 3297 + esac 2912 3298 for ac_exec_ext in '' $ac_executable_extensions; do 2913 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2914 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3299 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3300 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2915 3301 ac_prog_rejected=yes 2916 3302 continue 2917 3303 fi 2918 3304 ac_cv_prog_CC="cc" 2919 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3305 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2920 3306 break 2 2921 3307 fi 2922 3308 done ··· 2932 3318 # However, it has the same basename, so the bogon will be chosen 2933 3319 # first if we set CC to just the basename; use the full file name. 2934 3320 shift 2935 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3321 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 2936 3322 fi 2937 3323 fi 2938 3324 fi 2939 3325 fi 2940 3326 CC=$ac_cv_prog_CC 2941 3327 if test -n "$CC"; then 2942 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2943 - $as_echo "$CC" >&6; } 3328 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3329 + printf "%s\n" "$CC" >&6; } 2944 3330 else 2945 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2946 - $as_echo "no" >&6; } 3331 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3332 + printf "%s\n" "no" >&6; } 2947 3333 fi 2948 3334 2949 3335 ··· 2954 3340 do 2955 3341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2956 3342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2957 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2958 - $as_echo_n "checking for $ac_word... " >&6; } 2959 - if ${ac_cv_prog_CC+:} false; then : 2960 - $as_echo_n "(cached) " >&6 2961 - else 3343 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3344 + printf %s "checking for $ac_word... " >&6; } 3345 + if test ${ac_cv_prog_CC+y} 3346 + then : 3347 + printf %s "(cached) " >&6 3348 + else $as_nop 2962 3349 if test -n "$CC"; then 2963 3350 ac_cv_prog_CC="$CC" # Let the user override the test. 2964 3351 else ··· 2966 3353 for as_dir in $PATH 2967 3354 do 2968 3355 IFS=$as_save_IFS 2969 - test -z "$as_dir" && as_dir=. 3356 + case $as_dir in #((( 3357 + '') as_dir=./ ;; 3358 + */) ;; 3359 + *) as_dir=$as_dir/ ;; 3360 + esac 2970 3361 for ac_exec_ext in '' $ac_executable_extensions; do 2971 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3362 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2972 3363 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2973 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3364 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2974 3365 break 2 2975 3366 fi 2976 3367 done ··· 2981 3372 fi 2982 3373 CC=$ac_cv_prog_CC 2983 3374 if test -n "$CC"; then 2984 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2985 - $as_echo "$CC" >&6; } 3375 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3376 + printf "%s\n" "$CC" >&6; } 2986 3377 else 2987 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2988 - $as_echo "no" >&6; } 3378 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3379 + printf "%s\n" "no" >&6; } 2989 3380 fi 2990 3381 2991 3382 ··· 2998 3389 do 2999 3390 # Extract the first word of "$ac_prog", so it can be a program name with args. 3000 3391 set dummy $ac_prog; ac_word=$2 3001 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3002 - $as_echo_n "checking for $ac_word... " >&6; } 3003 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3004 - $as_echo_n "(cached) " >&6 3005 - else 3392 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3393 + printf %s "checking for $ac_word... " >&6; } 3394 + if test ${ac_cv_prog_ac_ct_CC+y} 3395 + then : 3396 + printf %s "(cached) " >&6 3397 + else $as_nop 3006 3398 if test -n "$ac_ct_CC"; then 3007 3399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3008 3400 else ··· 3010 3402 for as_dir in $PATH 3011 3403 do 3012 3404 IFS=$as_save_IFS 3013 - test -z "$as_dir" && as_dir=. 3405 + case $as_dir in #((( 3406 + '') as_dir=./ ;; 3407 + */) ;; 3408 + *) as_dir=$as_dir/ ;; 3409 + esac 3014 3410 for ac_exec_ext in '' $ac_executable_extensions; do 3015 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3411 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3016 3412 ac_cv_prog_ac_ct_CC="$ac_prog" 3017 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3413 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3018 3414 break 2 3019 3415 fi 3020 3416 done ··· 3025 3421 fi 3026 3422 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3027 3423 if test -n "$ac_ct_CC"; then 3028 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3029 - $as_echo "$ac_ct_CC" >&6; } 3424 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3425 + printf "%s\n" "$ac_ct_CC" >&6; } 3030 3426 else 3031 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3032 - $as_echo "no" >&6; } 3427 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3428 + printf "%s\n" "no" >&6; } 3033 3429 fi 3034 3430 3035 3431 ··· 3041 3437 else 3042 3438 case $cross_compiling:$ac_tool_warned in 3043 3439 yes:) 3044 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3045 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3440 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3441 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3442 + ac_tool_warned=yes ;; 3443 + esac 3444 + CC=$ac_ct_CC 3445 + fi 3446 + fi 3447 + 3448 + fi 3449 + if test -z "$CC"; then 3450 + if test -n "$ac_tool_prefix"; then 3451 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3452 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3453 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3454 + printf %s "checking for $ac_word... " >&6; } 3455 + if test ${ac_cv_prog_CC+y} 3456 + then : 3457 + printf %s "(cached) " >&6 3458 + else $as_nop 3459 + if test -n "$CC"; then 3460 + ac_cv_prog_CC="$CC" # Let the user override the test. 3461 + else 3462 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3463 + for as_dir in $PATH 3464 + do 3465 + IFS=$as_save_IFS 3466 + case $as_dir in #((( 3467 + '') as_dir=./ ;; 3468 + */) ;; 3469 + *) as_dir=$as_dir/ ;; 3470 + esac 3471 + for ac_exec_ext in '' $ac_executable_extensions; do 3472 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3473 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3474 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3475 + break 2 3476 + fi 3477 + done 3478 + done 3479 + IFS=$as_save_IFS 3480 + 3481 + fi 3482 + fi 3483 + CC=$ac_cv_prog_CC 3484 + if test -n "$CC"; then 3485 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3486 + printf "%s\n" "$CC" >&6; } 3487 + else 3488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3489 + printf "%s\n" "no" >&6; } 3490 + fi 3491 + 3492 + 3493 + fi 3494 + if test -z "$ac_cv_prog_CC"; then 3495 + ac_ct_CC=$CC 3496 + # Extract the first word of "clang", so it can be a program name with args. 3497 + set dummy clang; ac_word=$2 3498 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3499 + printf %s "checking for $ac_word... " >&6; } 3500 + if test ${ac_cv_prog_ac_ct_CC+y} 3501 + then : 3502 + printf %s "(cached) " >&6 3503 + else $as_nop 3504 + if test -n "$ac_ct_CC"; then 3505 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3506 + else 3507 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3508 + for as_dir in $PATH 3509 + do 3510 + IFS=$as_save_IFS 3511 + case $as_dir in #((( 3512 + '') as_dir=./ ;; 3513 + */) ;; 3514 + *) as_dir=$as_dir/ ;; 3515 + esac 3516 + for ac_exec_ext in '' $ac_executable_extensions; do 3517 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3518 + ac_cv_prog_ac_ct_CC="clang" 3519 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3520 + break 2 3521 + fi 3522 + done 3523 + done 3524 + IFS=$as_save_IFS 3525 + 3526 + fi 3527 + fi 3528 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3529 + if test -n "$ac_ct_CC"; then 3530 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3531 + printf "%s\n" "$ac_ct_CC" >&6; } 3532 + else 3533 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3534 + printf "%s\n" "no" >&6; } 3535 + fi 3536 + 3537 + if test "x$ac_ct_CC" = x; then 3538 + CC="" 3539 + else 3540 + case $cross_compiling:$ac_tool_warned in 3541 + yes:) 3542 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3543 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3046 3544 ac_tool_warned=yes ;; 3047 3545 esac 3048 3546 CC=$ac_ct_CC 3049 3547 fi 3548 + else 3549 + CC="$ac_cv_prog_CC" 3050 3550 fi 3051 3551 3052 3552 fi 3053 3553 3054 3554 3055 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3056 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3555 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3556 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3057 3557 as_fn_error $? "no acceptable C compiler found in \$PATH 3058 3558 See \`config.log' for more details" "$LINENO" 5; } 3059 3559 3060 3560 # Provide some information about the compiler. 3061 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3561 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3062 3562 set X $ac_compile 3063 3563 ac_compiler=$2 3064 - for ac_option in --version -v -V -qversion; do 3564 + for ac_option in --version -v -V -qversion -version; do 3065 3565 { { ac_try="$ac_compiler $ac_option >&5" 3066 3566 case "(($ac_try" in 3067 3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3068 3568 *) ac_try_echo=$ac_try;; 3069 3569 esac 3070 3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3071 - $as_echo "$ac_try_echo"; } >&5 3571 + printf "%s\n" "$ac_try_echo"; } >&5 3072 3572 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3073 3573 ac_status=$? 3074 3574 if test -s conftest.err; then ··· 3078 3578 cat conftest.er1 >&5 3079 3579 fi 3080 3580 rm -f conftest.er1 conftest.err 3081 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3581 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3082 3582 test $ac_status = 0; } 3083 3583 done 3084 3584 ··· 3086 3586 /* end confdefs.h. */ 3087 3587 3088 3588 int 3089 - main () 3589 + main (void) 3090 3590 { 3091 3591 3092 3592 ; ··· 3098 3598 # Try to create an executable without -o first, disregard a.out. 3099 3599 # It will help us diagnose broken compilers, and finding out an intuition 3100 3600 # of exeext. 3101 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3102 - $as_echo_n "checking whether the C compiler works... " >&6; } 3103 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3601 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3602 + printf %s "checking whether the C compiler works... " >&6; } 3603 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3104 3604 3105 3605 # The possible output files: 3106 3606 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3121 3621 *) ac_try_echo=$ac_try;; 3122 3622 esac 3123 3623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3124 - $as_echo "$ac_try_echo"; } >&5 3624 + printf "%s\n" "$ac_try_echo"; } >&5 3125 3625 (eval "$ac_link_default") 2>&5 3126 3626 ac_status=$? 3127 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3128 - test $ac_status = 0; }; then : 3627 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3628 + test $ac_status = 0; } 3629 + then : 3129 3630 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3130 3631 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3131 3632 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3142 3643 # certainly right. 3143 3644 break;; 3144 3645 *.* ) 3145 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3646 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3146 3647 then :; else 3147 3648 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3148 3649 fi ··· 3158 3659 done 3159 3660 test "$ac_cv_exeext" = no && ac_cv_exeext= 3160 3661 3161 - else 3662 + else $as_nop 3162 3663 ac_file='' 3163 3664 fi 3164 - if test -z "$ac_file"; then : 3165 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3166 - $as_echo "no" >&6; } 3167 - $as_echo "$as_me: failed program was:" >&5 3665 + if test -z "$ac_file" 3666 + then : 3667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3668 + printf "%s\n" "no" >&6; } 3669 + printf "%s\n" "$as_me: failed program was:" >&5 3168 3670 sed 's/^/| /' conftest.$ac_ext >&5 3169 3671 3170 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3171 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3672 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3673 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3172 3674 as_fn_error 77 "C compiler cannot create executables 3173 3675 See \`config.log' for more details" "$LINENO" 5; } 3174 - else 3175 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3176 - $as_echo "yes" >&6; } 3676 + else $as_nop 3677 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3678 + printf "%s\n" "yes" >&6; } 3177 3679 fi 3178 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3179 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3180 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3181 - $as_echo "$ac_file" >&6; } 3680 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3681 + printf %s "checking for C compiler default output file name... " >&6; } 3682 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3683 + printf "%s\n" "$ac_file" >&6; } 3182 3684 ac_exeext=$ac_cv_exeext 3183 3685 3184 3686 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3185 3687 ac_clean_files=$ac_clean_files_save 3186 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3187 - $as_echo_n "checking for suffix of executables... " >&6; } 3688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3689 + printf %s "checking for suffix of executables... " >&6; } 3188 3690 if { { ac_try="$ac_link" 3189 3691 case "(($ac_try" in 3190 3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3191 3693 *) ac_try_echo=$ac_try;; 3192 3694 esac 3193 3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3194 - $as_echo "$ac_try_echo"; } >&5 3696 + printf "%s\n" "$ac_try_echo"; } >&5 3195 3697 (eval "$ac_link") 2>&5 3196 3698 ac_status=$? 3197 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3198 - test $ac_status = 0; }; then : 3699 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3700 + test $ac_status = 0; } 3701 + then : 3199 3702 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3200 3703 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3201 3704 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3209 3712 * ) break;; 3210 3713 esac 3211 3714 done 3212 - else 3213 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3214 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3715 + else $as_nop 3716 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3717 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3215 3718 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3216 3719 See \`config.log' for more details" "$LINENO" 5; } 3217 3720 fi 3218 3721 rm -f conftest conftest$ac_cv_exeext 3219 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3220 - $as_echo "$ac_cv_exeext" >&6; } 3722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3723 + printf "%s\n" "$ac_cv_exeext" >&6; } 3221 3724 3222 3725 rm -f conftest.$ac_ext 3223 3726 EXEEXT=$ac_cv_exeext ··· 3226 3729 /* end confdefs.h. */ 3227 3730 #include <stdio.h> 3228 3731 int 3229 - main () 3732 + main (void) 3230 3733 { 3231 3734 FILE *f = fopen ("conftest.out", "w"); 3232 3735 return ferror (f) || fclose (f) != 0; ··· 3238 3741 ac_clean_files="$ac_clean_files conftest.out" 3239 3742 # Check that the compiler produces executables we can run. If not, either 3240 3743 # the compiler is broken, or we cross compile. 3241 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3242 - $as_echo_n "checking whether we are cross compiling... " >&6; } 3744 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3745 + printf %s "checking whether we are cross compiling... " >&6; } 3243 3746 if test "$cross_compiling" != yes; then 3244 3747 { { ac_try="$ac_link" 3245 3748 case "(($ac_try" in ··· 3247 3750 *) ac_try_echo=$ac_try;; 3248 3751 esac 3249 3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3250 - $as_echo "$ac_try_echo"; } >&5 3753 + printf "%s\n" "$ac_try_echo"; } >&5 3251 3754 (eval "$ac_link") 2>&5 3252 3755 ac_status=$? 3253 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3756 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3254 3757 test $ac_status = 0; } 3255 3758 if { ac_try='./conftest$ac_cv_exeext' 3256 3759 { { case "(($ac_try" in ··· 3258 3761 *) ac_try_echo=$ac_try;; 3259 3762 esac 3260 3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3261 - $as_echo "$ac_try_echo"; } >&5 3764 + printf "%s\n" "$ac_try_echo"; } >&5 3262 3765 (eval "$ac_try") 2>&5 3263 3766 ac_status=$? 3264 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3767 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3265 3768 test $ac_status = 0; }; }; then 3266 3769 cross_compiling=no 3267 3770 else 3268 3771 if test "$cross_compiling" = maybe; then 3269 3772 cross_compiling=yes 3270 3773 else 3271 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3272 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3273 - as_fn_error $? "cannot run C compiled programs. 3774 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3775 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3776 + as_fn_error 77 "cannot run C compiled programs. 3274 3777 If you meant to cross compile, use \`--host'. 3275 3778 See \`config.log' for more details" "$LINENO" 5; } 3276 3779 fi 3277 3780 fi 3278 3781 fi 3279 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3280 - $as_echo "$cross_compiling" >&6; } 3782 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3783 + printf "%s\n" "$cross_compiling" >&6; } 3281 3784 3282 3785 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3283 3786 ac_clean_files=$ac_clean_files_save 3284 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3285 - $as_echo_n "checking for suffix of object files... " >&6; } 3286 - if ${ac_cv_objext+:} false; then : 3287 - $as_echo_n "(cached) " >&6 3288 - else 3787 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3788 + printf %s "checking for suffix of object files... " >&6; } 3789 + if test ${ac_cv_objext+y} 3790 + then : 3791 + printf %s "(cached) " >&6 3792 + else $as_nop 3289 3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3290 3794 /* end confdefs.h. */ 3291 3795 3292 3796 int 3293 - main () 3797 + main (void) 3294 3798 { 3295 3799 3296 3800 ; ··· 3304 3808 *) ac_try_echo=$ac_try;; 3305 3809 esac 3306 3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3307 - $as_echo "$ac_try_echo"; } >&5 3811 + printf "%s\n" "$ac_try_echo"; } >&5 3308 3812 (eval "$ac_compile") 2>&5 3309 3813 ac_status=$? 3310 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3311 - test $ac_status = 0; }; then : 3814 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3815 + test $ac_status = 0; } 3816 + then : 3312 3817 for ac_file in conftest.o conftest.obj conftest.*; do 3313 3818 test -f "$ac_file" || continue; 3314 3819 case $ac_file in ··· 3317 3822 break;; 3318 3823 esac 3319 3824 done 3320 - else 3321 - $as_echo "$as_me: failed program was:" >&5 3825 + else $as_nop 3826 + printf "%s\n" "$as_me: failed program was:" >&5 3322 3827 sed 's/^/| /' conftest.$ac_ext >&5 3323 3828 3324 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3325 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3829 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3830 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3326 3831 as_fn_error $? "cannot compute suffix of object files: cannot compile 3327 3832 See \`config.log' for more details" "$LINENO" 5; } 3328 3833 fi 3329 3834 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3330 3835 fi 3331 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3332 - $as_echo "$ac_cv_objext" >&6; } 3836 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3837 + printf "%s\n" "$ac_cv_objext" >&6; } 3333 3838 OBJEXT=$ac_cv_objext 3334 3839 ac_objext=$OBJEXT 3335 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3336 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3337 - if ${ac_cv_c_compiler_gnu+:} false; then : 3338 - $as_echo_n "(cached) " >&6 3339 - else 3840 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3841 + printf %s "checking whether the compiler supports GNU C... " >&6; } 3842 + if test ${ac_cv_c_compiler_gnu+y} 3843 + then : 3844 + printf %s "(cached) " >&6 3845 + else $as_nop 3340 3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3341 3847 /* end confdefs.h. */ 3342 3848 3343 3849 int 3344 - main () 3850 + main (void) 3345 3851 { 3346 3852 #ifndef __GNUC__ 3347 3853 choke me ··· 3351 3857 return 0; 3352 3858 } 3353 3859 _ACEOF 3354 - if ac_fn_c_try_compile "$LINENO"; then : 3860 + if ac_fn_c_try_compile "$LINENO" 3861 + then : 3355 3862 ac_compiler_gnu=yes 3356 - else 3863 + else $as_nop 3357 3864 ac_compiler_gnu=no 3358 3865 fi 3359 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3866 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3360 3867 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3361 3868 3362 3869 fi 3363 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3364 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3871 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3872 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3873 + 3365 3874 if test $ac_compiler_gnu = yes; then 3366 3875 GCC=yes 3367 3876 else 3368 3877 GCC= 3369 3878 fi 3370 - ac_test_CFLAGS=${CFLAGS+set} 3879 + ac_test_CFLAGS=${CFLAGS+y} 3371 3880 ac_save_CFLAGS=$CFLAGS 3372 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3373 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3374 - if ${ac_cv_prog_cc_g+:} false; then : 3375 - $as_echo_n "(cached) " >&6 3376 - else 3881 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3882 + printf %s "checking whether $CC accepts -g... " >&6; } 3883 + if test ${ac_cv_prog_cc_g+y} 3884 + then : 3885 + printf %s "(cached) " >&6 3886 + else $as_nop 3377 3887 ac_save_c_werror_flag=$ac_c_werror_flag 3378 3888 ac_c_werror_flag=yes 3379 3889 ac_cv_prog_cc_g=no ··· 3382 3892 /* end confdefs.h. */ 3383 3893 3384 3894 int 3385 - main () 3895 + main (void) 3386 3896 { 3387 3897 3388 3898 ; 3389 3899 return 0; 3390 3900 } 3391 3901 _ACEOF 3392 - if ac_fn_c_try_compile "$LINENO"; then : 3902 + if ac_fn_c_try_compile "$LINENO" 3903 + then : 3393 3904 ac_cv_prog_cc_g=yes 3394 - else 3905 + else $as_nop 3395 3906 CFLAGS="" 3396 3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3397 3908 /* end confdefs.h. */ 3398 3909 3399 3910 int 3400 - main () 3911 + main (void) 3401 3912 { 3402 3913 3403 3914 ; 3404 3915 return 0; 3405 3916 } 3406 3917 _ACEOF 3407 - if ac_fn_c_try_compile "$LINENO"; then : 3918 + if ac_fn_c_try_compile "$LINENO" 3919 + then : 3408 3920 3409 - else 3921 + else $as_nop 3410 3922 ac_c_werror_flag=$ac_save_c_werror_flag 3411 3923 CFLAGS="-g" 3412 3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3413 3925 /* end confdefs.h. */ 3414 3926 3415 3927 int 3416 - main () 3928 + main (void) 3417 3929 { 3418 3930 3419 3931 ; 3420 3932 return 0; 3421 3933 } 3422 3934 _ACEOF 3423 - if ac_fn_c_try_compile "$LINENO"; then : 3935 + if ac_fn_c_try_compile "$LINENO" 3936 + then : 3424 3937 ac_cv_prog_cc_g=yes 3425 3938 fi 3426 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3939 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3427 3940 fi 3428 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3941 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3429 3942 fi 3430 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3943 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3431 3944 ac_c_werror_flag=$ac_save_c_werror_flag 3432 3945 fi 3433 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3434 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3435 - if test "$ac_test_CFLAGS" = set; then 3946 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3947 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3948 + if test $ac_test_CFLAGS; then 3436 3949 CFLAGS=$ac_save_CFLAGS 3437 3950 elif test $ac_cv_prog_cc_g = yes; then 3438 3951 if test "$GCC" = yes; then ··· 3447 3960 CFLAGS= 3448 3961 fi 3449 3962 fi 3450 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3451 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3452 - if ${ac_cv_prog_cc_c89+:} false; then : 3453 - $as_echo_n "(cached) " >&6 3454 - else 3455 - ac_cv_prog_cc_c89=no 3963 + ac_prog_cc_stdc=no 3964 + if test x$ac_prog_cc_stdc = xno 3965 + then : 3966 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3967 + printf %s "checking for $CC option to enable C11 features... " >&6; } 3968 + if test ${ac_cv_prog_cc_c11+y} 3969 + then : 3970 + printf %s "(cached) " >&6 3971 + else $as_nop 3972 + ac_cv_prog_cc_c11=no 3456 3973 ac_save_CC=$CC 3457 3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3458 3975 /* end confdefs.h. */ 3459 - #include <stdarg.h> 3460 - #include <stdio.h> 3461 - struct stat; 3462 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3463 - struct buf { int x; }; 3464 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3465 - static char *e (p, i) 3466 - char **p; 3467 - int i; 3468 - { 3469 - return p[i]; 3470 - } 3471 - static char *f (char * (*g) (char **, int), char **p, ...) 3472 - { 3473 - char *s; 3474 - va_list v; 3475 - va_start (v,p); 3476 - s = g (p, va_arg (v,int)); 3477 - va_end (v); 3478 - return s; 3479 - } 3480 - 3481 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3482 - function prototypes and stuff, but not '\xHH' hex character constants. 3483 - These don't provoke an error unfortunately, instead are silently treated 3484 - as 'x'. The following induces an error, until -std is added to get 3485 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3486 - array size at least. It's necessary to write '\x00'==0 to get something 3487 - that's true only with -std. */ 3488 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3976 + $ac_c_conftest_c11_program 3977 + _ACEOF 3978 + for ac_arg in '' -std=gnu11 3979 + do 3980 + CC="$ac_save_CC $ac_arg" 3981 + if ac_fn_c_try_compile "$LINENO" 3982 + then : 3983 + ac_cv_prog_cc_c11=$ac_arg 3984 + fi 3985 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3986 + test "x$ac_cv_prog_cc_c11" != "xno" && break 3987 + done 3988 + rm -f conftest.$ac_ext 3989 + CC=$ac_save_CC 3990 + fi 3489 3991 3490 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3491 - inside strings and character constants. */ 3492 - #define FOO(x) 'x' 3493 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3992 + if test "x$ac_cv_prog_cc_c11" = xno 3993 + then : 3994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3995 + printf "%s\n" "unsupported" >&6; } 3996 + else $as_nop 3997 + if test "x$ac_cv_prog_cc_c11" = x 3998 + then : 3999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4000 + printf "%s\n" "none needed" >&6; } 4001 + else $as_nop 4002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4003 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4004 + CC="$CC $ac_cv_prog_cc_c11" 4005 + fi 4006 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4007 + ac_prog_cc_stdc=c11 4008 + fi 4009 + fi 4010 + if test x$ac_prog_cc_stdc = xno 4011 + then : 4012 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4013 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4014 + if test ${ac_cv_prog_cc_c99+y} 4015 + then : 4016 + printf %s "(cached) " >&6 4017 + else $as_nop 4018 + ac_cv_prog_cc_c99=no 4019 + ac_save_CC=$CC 4020 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4021 + /* end confdefs.h. */ 4022 + $ac_c_conftest_c99_program 4023 + _ACEOF 4024 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4025 + do 4026 + CC="$ac_save_CC $ac_arg" 4027 + if ac_fn_c_try_compile "$LINENO" 4028 + then : 4029 + ac_cv_prog_cc_c99=$ac_arg 4030 + fi 4031 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4032 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4033 + done 4034 + rm -f conftest.$ac_ext 4035 + CC=$ac_save_CC 4036 + fi 3494 4037 3495 - int test (int i, double x); 3496 - struct s1 {int (*f) (int a);}; 3497 - struct s2 {int (*f) (double a);}; 3498 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3499 - int argc; 3500 - char **argv; 3501 - int 3502 - main () 3503 - { 3504 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3505 - ; 3506 - return 0; 3507 - } 4038 + if test "x$ac_cv_prog_cc_c99" = xno 4039 + then : 4040 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4041 + printf "%s\n" "unsupported" >&6; } 4042 + else $as_nop 4043 + if test "x$ac_cv_prog_cc_c99" = x 4044 + then : 4045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4046 + printf "%s\n" "none needed" >&6; } 4047 + else $as_nop 4048 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4049 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4050 + CC="$CC $ac_cv_prog_cc_c99" 4051 + fi 4052 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4053 + ac_prog_cc_stdc=c99 4054 + fi 4055 + fi 4056 + if test x$ac_prog_cc_stdc = xno 4057 + then : 4058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4059 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4060 + if test ${ac_cv_prog_cc_c89+y} 4061 + then : 4062 + printf %s "(cached) " >&6 4063 + else $as_nop 4064 + ac_cv_prog_cc_c89=no 4065 + ac_save_CC=$CC 4066 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4067 + /* end confdefs.h. */ 4068 + $ac_c_conftest_c89_program 3508 4069 _ACEOF 3509 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3510 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4070 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3511 4071 do 3512 4072 CC="$ac_save_CC $ac_arg" 3513 - if ac_fn_c_try_compile "$LINENO"; then : 4073 + if ac_fn_c_try_compile "$LINENO" 4074 + then : 3514 4075 ac_cv_prog_cc_c89=$ac_arg 3515 4076 fi 3516 - rm -f core conftest.err conftest.$ac_objext 4077 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3517 4078 test "x$ac_cv_prog_cc_c89" != "xno" && break 3518 4079 done 3519 4080 rm -f conftest.$ac_ext 3520 4081 CC=$ac_save_CC 3521 - 3522 4082 fi 3523 - # AC_CACHE_VAL 3524 - case "x$ac_cv_prog_cc_c89" in 3525 - x) 3526 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3527 - $as_echo "none needed" >&6; } ;; 3528 - xno) 3529 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3530 - $as_echo "unsupported" >&6; } ;; 3531 - *) 3532 - CC="$CC $ac_cv_prog_cc_c89" 3533 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3534 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3535 - esac 3536 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3537 4083 4084 + if test "x$ac_cv_prog_cc_c89" = xno 4085 + then : 4086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4087 + printf "%s\n" "unsupported" >&6; } 4088 + else $as_nop 4089 + if test "x$ac_cv_prog_cc_c89" = x 4090 + then : 4091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4092 + printf "%s\n" "none needed" >&6; } 4093 + else $as_nop 4094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4095 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4096 + CC="$CC $ac_cv_prog_cc_c89" 4097 + fi 4098 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4099 + ac_prog_cc_stdc=c89 4100 + fi 3538 4101 fi 3539 4102 3540 4103 ac_ext=c ··· 3545 4108 3546 4109 depcc="$CC" am_compiler_list= 3547 4110 3548 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3549 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3550 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3551 - $as_echo_n "(cached) " >&6 3552 - else 4111 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4112 + printf %s "checking dependency style of $depcc... " >&6; } 4113 + if test ${am_cv_CC_dependencies_compiler_type+y} 4114 + then : 4115 + printf %s "(cached) " >&6 4116 + else $as_nop 3553 4117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3554 4118 # We make a subdir and do the tests there. Otherwise we can end up 3555 4119 # making bogus files that we don't know about and never remove. For ··· 3656 4220 fi 3657 4221 3658 4222 fi 3659 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3660 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4224 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3661 4225 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3662 4226 3663 4227 if ··· 3671 4235 fi 3672 4236 3673 4237 3674 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3675 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3676 - if ${ac_cv_prog_cc_c99+:} false; then : 3677 - $as_echo_n "(cached) " >&6 3678 - else 3679 - ac_cv_prog_cc_c99=no 3680 - ac_save_CC=$CC 3681 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3682 - /* end confdefs.h. */ 3683 - #include <stdarg.h> 3684 - #include <stdbool.h> 3685 - #include <stdlib.h> 3686 - #include <wchar.h> 3687 - #include <stdio.h> 3688 4238 3689 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 3690 - #define debug(...) fprintf (stderr, __VA_ARGS__) 3691 - #define showlist(...) puts (#__VA_ARGS__) 3692 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3693 - static void 3694 - test_varargs_macros (void) 3695 - { 3696 - int x = 1234; 3697 - int y = 5678; 3698 - debug ("Flag"); 3699 - debug ("X = %d\n", x); 3700 - showlist (The first, second, and third items.); 3701 - report (x>y, "x is %d but y is %d", x, y); 3702 - } 3703 - 3704 - // Check long long types. 3705 - #define BIG64 18446744073709551615ull 3706 - #define BIG32 4294967295ul 3707 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3708 - #if !BIG_OK 3709 - your preprocessor is broken; 3710 - #endif 3711 - #if BIG_OK 3712 - #else 3713 - your preprocessor is broken; 3714 - #endif 3715 - static long long int bignum = -9223372036854775807LL; 3716 - static unsigned long long int ubignum = BIG64; 3717 - 3718 - struct incomplete_array 3719 - { 3720 - int datasize; 3721 - double data[]; 3722 - }; 4239 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 4240 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 4241 + if test ${ac_cv_c_undeclared_builtin_options+y} 4242 + then : 4243 + printf %s "(cached) " >&6 4244 + else $as_nop 4245 + ac_save_CFLAGS=$CFLAGS 4246 + ac_cv_c_undeclared_builtin_options='cannot detect' 4247 + for ac_arg in '' -fno-builtin; do 4248 + CFLAGS="$ac_save_CFLAGS $ac_arg" 4249 + # This test program should *not* compile successfully. 4250 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4251 + /* end confdefs.h. */ 3723 4252 3724 - struct named_init { 3725 - int number; 3726 - const wchar_t *name; 3727 - double average; 3728 - }; 3729 - 3730 - typedef const char *ccp; 3731 - 3732 - static inline int 3733 - test_restrict (ccp restrict text) 4253 + int 4254 + main (void) 3734 4255 { 3735 - // See if C++-style comments work. 3736 - // Iterate through items via the restricted pointer. 3737 - // Also check for declarations in for loops. 3738 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3739 - continue; 4256 + (void) strchr; 4257 + ; 3740 4258 return 0; 3741 4259 } 3742 - 3743 - // Check varargs and va_copy. 3744 - static void 3745 - test_varargs (const char *format, ...) 3746 - { 3747 - va_list args; 3748 - va_start (args, format); 3749 - va_list args_copy; 3750 - va_copy (args_copy, args); 3751 - 3752 - const char *str; 3753 - int number; 3754 - float fnumber; 4260 + _ACEOF 4261 + if ac_fn_c_try_compile "$LINENO" 4262 + then : 3755 4263 3756 - while (*format) 3757 - { 3758 - switch (*format++) 3759 - { 3760 - case 's': // string 3761 - str = va_arg (args_copy, const char *); 3762 - break; 3763 - case 'd': // int 3764 - number = va_arg (args_copy, int); 3765 - break; 3766 - case 'f': // float 3767 - fnumber = va_arg (args_copy, double); 3768 - break; 3769 - default: 3770 - break; 3771 - } 3772 - } 3773 - va_end (args_copy); 3774 - va_end (args); 3775 - } 4264 + else $as_nop 4265 + # This test program should compile successfully. 4266 + # No library function is consistently available on 4267 + # freestanding implementations, so test against a dummy 4268 + # declaration. Include always-available headers on the 4269 + # off chance that they somehow elicit warnings. 4270 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4271 + /* end confdefs.h. */ 4272 + #include <float.h> 4273 + #include <limits.h> 4274 + #include <stdarg.h> 4275 + #include <stddef.h> 4276 + extern void ac_decl (int, char *); 3776 4277 3777 4278 int 3778 - main () 4279 + main (void) 3779 4280 { 3780 - 3781 - // Check bool. 3782 - _Bool success = false; 3783 - 3784 - // Check restrict. 3785 - if (test_restrict ("String literal") == 0) 3786 - success = true; 3787 - char *restrict newvar = "Another string"; 3788 - 3789 - // Check varargs. 3790 - test_varargs ("s, d' f .", "string", 65, 34.234); 3791 - test_varargs_macros (); 3792 - 3793 - // Check flexible array members. 3794 - struct incomplete_array *ia = 3795 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3796 - ia->datasize = 10; 3797 - for (int i = 0; i < ia->datasize; ++i) 3798 - ia->data[i] = i * 1.234; 3799 - 3800 - // Check named initializers. 3801 - struct named_init ni = { 3802 - .number = 34, 3803 - .name = L"Test wide string", 3804 - .average = 543.34343, 3805 - }; 3806 - 3807 - ni.number = 58; 3808 - 3809 - int dynamic_array[ni.number]; 3810 - dynamic_array[ni.number - 1] = 543; 3811 - 3812 - // work around unused variable warnings 3813 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3814 - || dynamic_array[ni.number - 1] != 543); 4281 + (void) ac_decl (0, (char *) 0); 4282 + (void) ac_decl; 3815 4283 3816 4284 ; 3817 4285 return 0; 3818 4286 } 3819 4287 _ACEOF 3820 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3821 - do 3822 - CC="$ac_save_CC $ac_arg" 3823 - if ac_fn_c_try_compile "$LINENO"; then : 3824 - ac_cv_prog_cc_c99=$ac_arg 4288 + if ac_fn_c_try_compile "$LINENO" 4289 + then : 4290 + if test x"$ac_arg" = x 4291 + then : 4292 + ac_cv_c_undeclared_builtin_options='none needed' 4293 + else $as_nop 4294 + ac_cv_c_undeclared_builtin_options=$ac_arg 3825 4295 fi 3826 - rm -f core conftest.err conftest.$ac_objext 3827 - test "x$ac_cv_prog_cc_c99" != "xno" && break 3828 - done 3829 - rm -f conftest.$ac_ext 3830 - CC=$ac_save_CC 3831 - 4296 + break 3832 4297 fi 3833 - # AC_CACHE_VAL 3834 - case "x$ac_cv_prog_cc_c99" in 3835 - x) 3836 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3837 - $as_echo "none needed" >&6; } ;; 3838 - xno) 3839 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3840 - $as_echo "unsupported" >&6; } ;; 3841 - *) 3842 - CC="$CC $ac_cv_prog_cc_c99" 3843 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3844 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3845 - esac 3846 - if test "x$ac_cv_prog_cc_c99" != xno; then : 3847 - 4298 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3848 4299 fi 3849 - 3850 - 3851 - 3852 - ac_ext=c 3853 - ac_cpp='$CPP $CPPFLAGS' 3854 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3855 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3856 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3857 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3858 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 3859 - # On Suns, sometimes $CPP names a directory. 3860 - if test -n "$CPP" && test -d "$CPP"; then 3861 - CPP= 3862 - fi 3863 - if test -z "$CPP"; then 3864 - if ${ac_cv_prog_CPP+:} false; then : 3865 - $as_echo_n "(cached) " >&6 3866 - else 3867 - # Double quotes because CPP needs to be expanded 3868 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3869 - do 3870 - ac_preproc_ok=false 3871 - for ac_c_preproc_warn_flag in '' yes 3872 - do 3873 - # Use a header file that comes with gcc, so configuring glibc 3874 - # with a fresh cross-compiler works. 3875 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3876 - # <limits.h> exists even on freestanding compilers. 3877 - # On the NeXT, cc -E runs the code through the compiler's parser, 3878 - # not just through cpp. "Syntax error" is here to catch this case. 3879 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3880 - /* end confdefs.h. */ 3881 - #ifdef __STDC__ 3882 - # include <limits.h> 3883 - #else 3884 - # include <assert.h> 3885 - #endif 3886 - Syntax error 3887 - _ACEOF 3888 - if ac_fn_c_try_cpp "$LINENO"; then : 3889 - 3890 - else 3891 - # Broken: fails on valid input. 3892 - continue 3893 - fi 3894 - rm -f conftest.err conftest.i conftest.$ac_ext 3895 - 3896 - # OK, works on sane cases. Now check whether nonexistent headers 3897 - # can be detected and how. 3898 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3899 - /* end confdefs.h. */ 3900 - #include <ac_nonexistent.h> 3901 - _ACEOF 3902 - if ac_fn_c_try_cpp "$LINENO"; then : 3903 - # Broken: success on invalid input. 3904 - continue 3905 - else 3906 - # Passes both tests. 3907 - ac_preproc_ok=: 3908 - break 3909 - fi 3910 - rm -f conftest.err conftest.i conftest.$ac_ext 3911 - 3912 - done 3913 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3914 - rm -f conftest.i conftest.err conftest.$ac_ext 3915 - if $ac_preproc_ok; then : 3916 - break 3917 - fi 3918 - 4300 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3919 4301 done 3920 - ac_cv_prog_CPP=$CPP 4302 + CFLAGS=$ac_save_CFLAGS 3921 4303 3922 4304 fi 3923 - CPP=$ac_cv_prog_CPP 3924 - else 3925 - ac_cv_prog_CPP=$CPP 3926 - fi 3927 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3928 - $as_echo "$CPP" >&6; } 3929 - ac_preproc_ok=false 3930 - for ac_c_preproc_warn_flag in '' yes 3931 - do 3932 - # Use a header file that comes with gcc, so configuring glibc 3933 - # with a fresh cross-compiler works. 3934 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3935 - # <limits.h> exists even on freestanding compilers. 3936 - # On the NeXT, cc -E runs the code through the compiler's parser, 3937 - # not just through cpp. "Syntax error" is here to catch this case. 3938 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3939 - /* end confdefs.h. */ 3940 - #ifdef __STDC__ 3941 - # include <limits.h> 3942 - #else 3943 - # include <assert.h> 3944 - #endif 3945 - Syntax error 3946 - _ACEOF 3947 - if ac_fn_c_try_cpp "$LINENO"; then : 3948 - 3949 - else 3950 - # Broken: fails on valid input. 3951 - continue 3952 - fi 3953 - rm -f conftest.err conftest.i conftest.$ac_ext 3954 - 3955 - # OK, works on sane cases. Now check whether nonexistent headers 3956 - # can be detected and how. 3957 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3958 - /* end confdefs.h. */ 3959 - #include <ac_nonexistent.h> 3960 - _ACEOF 3961 - if ac_fn_c_try_cpp "$LINENO"; then : 3962 - # Broken: success on invalid input. 3963 - continue 3964 - else 3965 - # Passes both tests. 3966 - ac_preproc_ok=: 3967 - break 3968 - fi 3969 - rm -f conftest.err conftest.i conftest.$ac_ext 3970 - 3971 - done 3972 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3973 - rm -f conftest.i conftest.err conftest.$ac_ext 3974 - if $ac_preproc_ok; then : 3975 - 3976 - else 3977 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3978 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3979 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3980 - See \`config.log' for more details" "$LINENO" 5; } 3981 - fi 3982 - 3983 - ac_ext=c 3984 - ac_cpp='$CPP $CPPFLAGS' 3985 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3986 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3987 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3988 - 3989 - 3990 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3991 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3992 - if ${ac_cv_path_GREP+:} false; then : 3993 - $as_echo_n "(cached) " >&6 3994 - else 3995 - if test -z "$GREP"; then 3996 - ac_path_GREP_found=false 3997 - # Loop through the user's path and test for each of PROGNAME-LIST 3998 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3999 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4000 - do 4001 - IFS=$as_save_IFS 4002 - test -z "$as_dir" && as_dir=. 4003 - for ac_prog in grep ggrep; do 4004 - for ac_exec_ext in '' $ac_executable_extensions; do 4005 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4006 - as_fn_executable_p "$ac_path_GREP" || continue 4007 - # Check for GNU ac_path_GREP and select it if it is found. 4008 - # Check for GNU $ac_path_GREP 4009 - case `"$ac_path_GREP" --version 2>&1` in 4010 - *GNU*) 4011 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4012 - *) 4013 - ac_count=0 4014 - $as_echo_n 0123456789 >"conftest.in" 4015 - while : 4016 - do 4017 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4018 - mv "conftest.tmp" "conftest.in" 4019 - cp "conftest.in" "conftest.nl" 4020 - $as_echo 'GREP' >> "conftest.nl" 4021 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4022 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4023 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4024 - if test $ac_count -gt ${ac_path_GREP_max-0}; then 4025 - # Best one so far, save it but keep looking for a better one 4026 - ac_cv_path_GREP="$ac_path_GREP" 4027 - ac_path_GREP_max=$ac_count 4028 - fi 4029 - # 10*(2^10) chars as input seems more than enough 4030 - test $ac_count -gt 10 && break 4031 - done 4032 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4305 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 4306 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 4307 + case $ac_cv_c_undeclared_builtin_options in #( 4308 + 'cannot detect') : 4309 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4310 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4311 + as_fn_error $? "cannot make $CC report undeclared builtins 4312 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 4313 + 'none needed') : 4314 + ac_c_undeclared_builtin_options='' ;; #( 4315 + *) : 4316 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 4033 4317 esac 4034 4318 4035 - $ac_path_GREP_found && break 3 4036 - done 4037 - done 4038 - done 4039 - IFS=$as_save_IFS 4040 - if test -z "$ac_cv_path_GREP"; then 4041 - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4042 - fi 4043 - else 4044 - ac_cv_path_GREP=$GREP 4045 - fi 4046 - 4047 - fi 4048 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4049 - $as_echo "$ac_cv_path_GREP" >&6; } 4050 - GREP="$ac_cv_path_GREP" 4051 - 4052 - 4053 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4054 - $as_echo_n "checking for egrep... " >&6; } 4055 - if ${ac_cv_path_EGREP+:} false; then : 4056 - $as_echo_n "(cached) " >&6 4057 - else 4058 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4059 - then ac_cv_path_EGREP="$GREP -E" 4060 - else 4061 - if test -z "$EGREP"; then 4062 - ac_path_EGREP_found=false 4063 - # Loop through the user's path and test for each of PROGNAME-LIST 4064 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4065 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4319 + ac_header= ac_cache= 4320 + for ac_item in $ac_header_c_list 4066 4321 do 4067 - IFS=$as_save_IFS 4068 - test -z "$as_dir" && as_dir=. 4069 - for ac_prog in egrep; do 4070 - for ac_exec_ext in '' $ac_executable_extensions; do 4071 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4072 - as_fn_executable_p "$ac_path_EGREP" || continue 4073 - # Check for GNU ac_path_EGREP and select it if it is found. 4074 - # Check for GNU $ac_path_EGREP 4075 - case `"$ac_path_EGREP" --version 2>&1` in 4076 - *GNU*) 4077 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4078 - *) 4079 - ac_count=0 4080 - $as_echo_n 0123456789 >"conftest.in" 4081 - while : 4082 - do 4083 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4084 - mv "conftest.tmp" "conftest.in" 4085 - cp "conftest.in" "conftest.nl" 4086 - $as_echo 'EGREP' >> "conftest.nl" 4087 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4088 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4089 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4090 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4091 - # Best one so far, save it but keep looking for a better one 4092 - ac_cv_path_EGREP="$ac_path_EGREP" 4093 - ac_path_EGREP_max=$ac_count 4322 + if test $ac_cache; then 4323 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 4324 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 4325 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 4094 4326 fi 4095 - # 10*(2^10) chars as input seems more than enough 4096 - test $ac_count -gt 10 && break 4097 - done 4098 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4099 - esac 4100 - 4101 - $ac_path_EGREP_found && break 3 4102 - done 4103 - done 4104 - done 4105 - IFS=$as_save_IFS 4106 - if test -z "$ac_cv_path_EGREP"; then 4107 - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4327 + ac_header= ac_cache= 4328 + elif test $ac_header; then 4329 + ac_cache=$ac_item 4330 + else 4331 + ac_header=$ac_item 4108 4332 fi 4109 - else 4110 - ac_cv_path_EGREP=$EGREP 4111 - fi 4112 - 4113 - fi 4114 - fi 4115 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4116 - $as_echo "$ac_cv_path_EGREP" >&6; } 4117 - EGREP="$ac_cv_path_EGREP" 4118 - 4119 - 4120 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4121 - $as_echo_n "checking for ANSI C header files... " >&6; } 4122 - if ${ac_cv_header_stdc+:} false; then : 4123 - $as_echo_n "(cached) " >&6 4124 - else 4125 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4126 - /* end confdefs.h. */ 4127 - #include <stdlib.h> 4128 - #include <stdarg.h> 4129 - #include <string.h> 4130 - #include <float.h> 4131 - 4132 - int 4133 - main () 4134 - { 4135 - 4136 - ; 4137 - return 0; 4138 - } 4139 - _ACEOF 4140 - if ac_fn_c_try_compile "$LINENO"; then : 4141 - ac_cv_header_stdc=yes 4142 - else 4143 - ac_cv_header_stdc=no 4144 - fi 4145 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4333 + done 4146 4334 4147 - if test $ac_cv_header_stdc = yes; then 4148 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4149 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4150 - /* end confdefs.h. */ 4151 - #include <string.h> 4152 4335 4153 - _ACEOF 4154 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4155 - $EGREP "memchr" >/dev/null 2>&1; then : 4156 4336 4157 - else 4158 - ac_cv_header_stdc=no 4159 - fi 4160 - rm -f conftest* 4161 4337 4162 - fi 4163 4338 4164 - if test $ac_cv_header_stdc = yes; then 4165 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4166 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4167 - /* end confdefs.h. */ 4168 - #include <stdlib.h> 4169 4339 4170 - _ACEOF 4171 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4172 - $EGREP "free" >/dev/null 2>&1; then : 4173 4340 4174 - else 4175 - ac_cv_header_stdc=no 4176 - fi 4177 - rm -f conftest* 4178 4341 4179 - fi 4180 - 4181 - if test $ac_cv_header_stdc = yes; then 4182 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4183 - if test "$cross_compiling" = yes; then : 4184 - : 4185 - else 4186 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4187 - /* end confdefs.h. */ 4188 - #include <ctype.h> 4189 - #include <stdlib.h> 4190 - #if ((' ' & 0x0FF) == 0x020) 4191 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4192 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4193 - #else 4194 - # define ISLOWER(c) \ 4195 - (('a' <= (c) && (c) <= 'i') \ 4196 - || ('j' <= (c) && (c) <= 'r') \ 4197 - || ('s' <= (c) && (c) <= 'z')) 4198 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4199 - #endif 4200 - 4201 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4202 - int 4203 - main () 4204 - { 4205 - int i; 4206 - for (i = 0; i < 256; i++) 4207 - if (XOR (islower (i), ISLOWER (i)) 4208 - || toupper (i) != TOUPPER (i)) 4209 - return 2; 4210 - return 0; 4211 - } 4212 - _ACEOF 4213 - if ac_fn_c_try_run "$LINENO"; then : 4214 - 4215 - else 4216 - ac_cv_header_stdc=no 4217 - fi 4218 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4219 - conftest.$ac_objext conftest.beam conftest.$ac_ext 4220 - fi 4221 - 4222 - fi 4223 - fi 4224 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4225 - $as_echo "$ac_cv_header_stdc" >&6; } 4226 - if test $ac_cv_header_stdc = yes; then 4342 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 4343 + then : 4227 4344 4228 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4229 - 4230 - fi 4231 - 4232 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4233 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4234 - inttypes.h stdint.h unistd.h 4235 - do : 4236 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4237 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4238 - " 4239 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4240 - cat >>confdefs.h <<_ACEOF 4241 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4242 - _ACEOF 4345 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 4243 4346 4244 4347 fi 4245 4348 4246 - done 4247 4349 4248 4350 4249 4351 4250 - 4251 - 4252 - 4253 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4254 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 4352 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4353 + if test "x$ac_cv_have_decl___clang__" = xyes 4354 + then : 4255 4355 CLANGCC="yes" 4256 - else 4356 + else $as_nop 4257 4357 CLANGCC="no" 4258 4358 fi 4259 - 4260 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4261 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4359 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4360 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 4361 + then : 4262 4362 INTELCC="yes" 4263 - else 4363 + else $as_nop 4264 4364 INTELCC="no" 4265 4365 fi 4266 - 4267 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4268 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4366 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4367 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 4368 + then : 4269 4369 SUNCC="yes" 4270 - else 4370 + else $as_nop 4271 4371 SUNCC="no" 4272 4372 fi 4273 - 4274 4373 4275 4374 4276 4375 ··· 4283 4382 if test -n "$ac_tool_prefix"; then 4284 4383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4285 4384 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4286 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4287 - $as_echo_n "checking for $ac_word... " >&6; } 4288 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 4289 - $as_echo_n "(cached) " >&6 4290 - else 4385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4386 + printf %s "checking for $ac_word... " >&6; } 4387 + if test ${ac_cv_path_PKG_CONFIG+y} 4388 + then : 4389 + printf %s "(cached) " >&6 4390 + else $as_nop 4291 4391 case $PKG_CONFIG in 4292 4392 [\\/]* | ?:[\\/]*) 4293 4393 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 4297 4397 for as_dir in $PATH 4298 4398 do 4299 4399 IFS=$as_save_IFS 4300 - test -z "$as_dir" && as_dir=. 4400 + case $as_dir in #((( 4401 + '') as_dir=./ ;; 4402 + */) ;; 4403 + *) as_dir=$as_dir/ ;; 4404 + esac 4301 4405 for ac_exec_ext in '' $ac_executable_extensions; do 4302 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4303 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4304 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4406 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4407 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4408 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4305 4409 break 2 4306 4410 fi 4307 4411 done ··· 4313 4417 fi 4314 4418 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4315 4419 if test -n "$PKG_CONFIG"; then 4316 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4317 - $as_echo "$PKG_CONFIG" >&6; } 4420 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4421 + printf "%s\n" "$PKG_CONFIG" >&6; } 4318 4422 else 4319 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4320 - $as_echo "no" >&6; } 4423 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4424 + printf "%s\n" "no" >&6; } 4321 4425 fi 4322 4426 4323 4427 ··· 4326 4430 ac_pt_PKG_CONFIG=$PKG_CONFIG 4327 4431 # Extract the first word of "pkg-config", so it can be a program name with args. 4328 4432 set dummy pkg-config; ac_word=$2 4329 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4330 - $as_echo_n "checking for $ac_word... " >&6; } 4331 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4332 - $as_echo_n "(cached) " >&6 4333 - else 4433 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4434 + printf %s "checking for $ac_word... " >&6; } 4435 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 4436 + then : 4437 + printf %s "(cached) " >&6 4438 + else $as_nop 4334 4439 case $ac_pt_PKG_CONFIG in 4335 4440 [\\/]* | ?:[\\/]*) 4336 4441 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 4340 4445 for as_dir in $PATH 4341 4446 do 4342 4447 IFS=$as_save_IFS 4343 - test -z "$as_dir" && as_dir=. 4448 + case $as_dir in #((( 4449 + '') as_dir=./ ;; 4450 + */) ;; 4451 + *) as_dir=$as_dir/ ;; 4452 + esac 4344 4453 for ac_exec_ext in '' $ac_executable_extensions; do 4345 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4346 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4347 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4454 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4455 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4456 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4348 4457 break 2 4349 4458 fi 4350 4459 done ··· 4356 4465 fi 4357 4466 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4358 4467 if test -n "$ac_pt_PKG_CONFIG"; then 4359 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4360 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4468 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4469 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 4361 4470 else 4362 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4363 - $as_echo "no" >&6; } 4471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4472 + printf "%s\n" "no" >&6; } 4364 4473 fi 4365 4474 4366 4475 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 4368 4477 else 4369 4478 case $cross_compiling:$ac_tool_warned in 4370 4479 yes:) 4371 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4372 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4480 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4481 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4373 4482 ac_tool_warned=yes ;; 4374 4483 esac 4375 4484 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 4381 4490 fi 4382 4491 if test -n "$PKG_CONFIG"; then 4383 4492 _pkg_min_version=0.9.0 4384 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4385 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4494 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4386 4495 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4387 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4388 - $as_echo "yes" >&6; } 4496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4497 + printf "%s\n" "yes" >&6; } 4389 4498 else 4390 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4391 - $as_echo "no" >&6; } 4499 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4500 + printf "%s\n" "no" >&6; } 4392 4501 PKG_CONFIG="" 4393 4502 fi 4394 4503 fi 4395 - # Make sure we can run config.sub. 4396 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4397 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4504 + 4505 + 4506 + # Make sure we can run config.sub. 4507 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 4508 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 4398 4509 4399 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4400 - $as_echo_n "checking build system type... " >&6; } 4401 - if ${ac_cv_build+:} false; then : 4402 - $as_echo_n "(cached) " >&6 4403 - else 4510 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4511 + printf %s "checking build system type... " >&6; } 4512 + if test ${ac_cv_build+y} 4513 + then : 4514 + printf %s "(cached) " >&6 4515 + else $as_nop 4404 4516 ac_build_alias=$build_alias 4405 4517 test "x$ac_build_alias" = x && 4406 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4518 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 4407 4519 test "x$ac_build_alias" = x && 4408 4520 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4409 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4410 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4521 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 4522 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 4411 4523 4412 4524 fi 4413 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4414 - $as_echo "$ac_cv_build" >&6; } 4525 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4526 + printf "%s\n" "$ac_cv_build" >&6; } 4415 4527 case $ac_cv_build in 4416 4528 *-*-*) ;; 4417 4529 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 4430 4542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4431 4543 4432 4544 4433 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4434 - $as_echo_n "checking host system type... " >&6; } 4435 - if ${ac_cv_host+:} false; then : 4436 - $as_echo_n "(cached) " >&6 4437 - else 4545 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4546 + printf %s "checking host system type... " >&6; } 4547 + if test ${ac_cv_host+y} 4548 + then : 4549 + printf %s "(cached) " >&6 4550 + else $as_nop 4438 4551 if test "x$host_alias" = x; then 4439 4552 ac_cv_host=$ac_cv_build 4440 4553 else 4441 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4442 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4554 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 4555 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 4443 4556 fi 4444 4557 4445 4558 fi 4446 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4447 - $as_echo "$ac_cv_host" >&6; } 4559 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4560 + printf "%s\n" "$ac_cv_host" >&6; } 4448 4561 case $ac_cv_host in 4449 4562 *-*-*) ;; 4450 4563 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 4463 4576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4464 4577 4465 4578 4466 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4467 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4468 - if ${ac_cv_path_SED+:} false; then : 4469 - $as_echo_n "(cached) " >&6 4470 - else 4579 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4580 + printf %s "checking for a sed that does not truncate output... " >&6; } 4581 + if test ${ac_cv_path_SED+y} 4582 + then : 4583 + printf %s "(cached) " >&6 4584 + else $as_nop 4471 4585 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4472 4586 for ac_i in 1 2 3 4 5 6 7; do 4473 4587 ac_script="$ac_script$as_nl$ac_script" ··· 4481 4595 for as_dir in $PATH 4482 4596 do 4483 4597 IFS=$as_save_IFS 4484 - test -z "$as_dir" && as_dir=. 4485 - for ac_prog in sed gsed; do 4598 + case $as_dir in #((( 4599 + '') as_dir=./ ;; 4600 + */) ;; 4601 + *) as_dir=$as_dir/ ;; 4602 + esac 4603 + for ac_prog in sed gsed 4604 + do 4486 4605 for ac_exec_ext in '' $ac_executable_extensions; do 4487 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4606 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4488 4607 as_fn_executable_p "$ac_path_SED" || continue 4489 4608 # Check for GNU ac_path_SED and select it if it is found. 4490 4609 # Check for GNU $ac_path_SED ··· 4493 4612 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4494 4613 *) 4495 4614 ac_count=0 4496 - $as_echo_n 0123456789 >"conftest.in" 4615 + printf %s 0123456789 >"conftest.in" 4497 4616 while : 4498 4617 do 4499 4618 cat "conftest.in" "conftest.in" >"conftest.tmp" 4500 4619 mv "conftest.tmp" "conftest.in" 4501 4620 cp "conftest.in" "conftest.nl" 4502 - $as_echo '' >> "conftest.nl" 4621 + printf "%s\n" '' >> "conftest.nl" 4503 4622 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4504 4623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4505 4624 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4527 4646 fi 4528 4647 4529 4648 fi 4530 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4531 - $as_echo "$ac_cv_path_SED" >&6; } 4649 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4650 + printf "%s\n" "$ac_cv_path_SED" >&6; } 4532 4651 SED="$ac_cv_path_SED" 4533 4652 rm -f conftest.sed 4534 4653 ··· 4538 4657 4539 4658 4540 4659 # Check whether --enable-selective-werror was given. 4541 - if test "${enable_selective_werror+set}" = set; then : 4660 + if test ${enable_selective_werror+y} 4661 + then : 4542 4662 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 4543 - else 4663 + else $as_nop 4544 4664 SELECTIVE_WERROR=yes 4545 4665 fi 4546 4666 ··· 4573 4693 4574 4694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4575 4695 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4576 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4577 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4578 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4579 - $as_echo_n "(cached) " >&6 4580 - else 4696 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4697 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4698 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4699 + then : 4700 + printf %s "(cached) " >&6 4701 + else $as_nop 4581 4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4582 4703 /* end confdefs.h. */ 4583 4704 int i; 4584 4705 _ACEOF 4585 - if ac_fn_c_try_compile "$LINENO"; then : 4706 + if ac_fn_c_try_compile "$LINENO" 4707 + then : 4586 4708 xorg_cv_cc_flag_unknown_warning_option=yes 4587 - else 4709 + else $as_nop 4588 4710 xorg_cv_cc_flag_unknown_warning_option=no 4589 4711 fi 4590 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4712 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4591 4713 fi 4592 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4593 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4715 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4594 4716 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4595 4717 CFLAGS="$xorg_testset_save_CFLAGS" 4596 4718 fi ··· 4600 4722 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4601 4723 fi 4602 4724 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4603 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4604 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4605 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4606 - $as_echo_n "(cached) " >&6 4607 - else 4725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4726 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4727 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4728 + then : 4729 + printf %s "(cached) " >&6 4730 + else $as_nop 4608 4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4609 4732 /* end confdefs.h. */ 4610 4733 int i; 4611 4734 _ACEOF 4612 - if ac_fn_c_try_compile "$LINENO"; then : 4735 + if ac_fn_c_try_compile "$LINENO" 4736 + then : 4613 4737 xorg_cv_cc_flag_unused_command_line_argument=yes 4614 - else 4738 + else $as_nop 4615 4739 xorg_cv_cc_flag_unused_command_line_argument=no 4616 4740 fi 4617 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4741 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4618 4742 fi 4619 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4620 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4744 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4621 4745 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4622 4746 CFLAGS="$xorg_testset_save_CFLAGS" 4623 4747 fi ··· 4635 4759 4636 4760 CFLAGS="$CFLAGS -Wall" 4637 4761 4638 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4639 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 4762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4763 + printf %s "checking if $CC supports -Wall... " >&6; } 4640 4764 cacheid=xorg_cv_cc_flag__Wall 4641 - if eval \${$cacheid+:} false; then : 4642 - $as_echo_n "(cached) " >&6 4643 - else 4765 + if eval test \${$cacheid+y} 4766 + then : 4767 + printf %s "(cached) " >&6 4768 + else $as_nop 4644 4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4645 4770 /* end confdefs.h. */ 4646 4771 int i; 4647 4772 int 4648 - main () 4773 + main (void) 4649 4774 { 4650 4775 4651 4776 ; 4652 4777 return 0; 4653 4778 } 4654 4779 _ACEOF 4655 - if ac_fn_c_try_link "$LINENO"; then : 4780 + if ac_fn_c_try_link "$LINENO" 4781 + then : 4656 4782 eval $cacheid=yes 4657 - else 4783 + else $as_nop 4658 4784 eval $cacheid=no 4659 4785 fi 4660 - rm -f core conftest.err conftest.$ac_objext \ 4786 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4661 4787 conftest$ac_exeext conftest.$ac_ext 4662 4788 fi 4663 4789 ··· 4665 4791 CFLAGS="$xorg_testset_save_CFLAGS" 4666 4792 4667 4793 eval supported=\$$cacheid 4668 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4669 - $as_echo "$supported" >&6; } 4794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4795 + printf "%s\n" "$supported" >&6; } 4670 4796 if test "$supported" = "yes" ; then 4671 4797 BASE_CFLAGS="$BASE_CFLAGS -Wall" 4672 4798 found="yes" ··· 4691 4817 4692 4818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4693 4819 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4694 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4695 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4696 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4697 - $as_echo_n "(cached) " >&6 4698 - else 4820 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4821 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4822 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4823 + then : 4824 + printf %s "(cached) " >&6 4825 + else $as_nop 4699 4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4700 4827 /* end confdefs.h. */ 4701 4828 int i; 4702 4829 _ACEOF 4703 - if ac_fn_c_try_compile "$LINENO"; then : 4830 + if ac_fn_c_try_compile "$LINENO" 4831 + then : 4704 4832 xorg_cv_cc_flag_unknown_warning_option=yes 4705 - else 4833 + else $as_nop 4706 4834 xorg_cv_cc_flag_unknown_warning_option=no 4707 4835 fi 4708 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4836 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4709 4837 fi 4710 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4711 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4839 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4712 4840 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4713 4841 CFLAGS="$xorg_testset_save_CFLAGS" 4714 4842 fi ··· 4718 4846 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4719 4847 fi 4720 4848 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4721 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4722 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4723 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4724 - $as_echo_n "(cached) " >&6 4725 - else 4849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4850 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4851 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4852 + then : 4853 + printf %s "(cached) " >&6 4854 + else $as_nop 4726 4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4727 4856 /* end confdefs.h. */ 4728 4857 int i; 4729 4858 _ACEOF 4730 - if ac_fn_c_try_compile "$LINENO"; then : 4859 + if ac_fn_c_try_compile "$LINENO" 4860 + then : 4731 4861 xorg_cv_cc_flag_unused_command_line_argument=yes 4732 - else 4862 + else $as_nop 4733 4863 xorg_cv_cc_flag_unused_command_line_argument=no 4734 4864 fi 4735 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4865 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4736 4866 fi 4737 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4738 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4868 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4739 4869 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4740 4870 CFLAGS="$xorg_testset_save_CFLAGS" 4741 4871 fi ··· 4753 4883 4754 4884 CFLAGS="$CFLAGS -Wpointer-arith" 4755 4885 4756 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4757 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 4886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4887 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 4758 4888 cacheid=xorg_cv_cc_flag__Wpointer_arith 4759 - if eval \${$cacheid+:} false; then : 4760 - $as_echo_n "(cached) " >&6 4761 - else 4889 + if eval test \${$cacheid+y} 4890 + then : 4891 + printf %s "(cached) " >&6 4892 + else $as_nop 4762 4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4763 4894 /* end confdefs.h. */ 4764 4895 int i; 4765 4896 int 4766 - main () 4897 + main (void) 4767 4898 { 4768 4899 4769 4900 ; 4770 4901 return 0; 4771 4902 } 4772 4903 _ACEOF 4773 - if ac_fn_c_try_link "$LINENO"; then : 4904 + if ac_fn_c_try_link "$LINENO" 4905 + then : 4774 4906 eval $cacheid=yes 4775 - else 4907 + else $as_nop 4776 4908 eval $cacheid=no 4777 4909 fi 4778 - rm -f core conftest.err conftest.$ac_objext \ 4910 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4779 4911 conftest$ac_exeext conftest.$ac_ext 4780 4912 fi 4781 4913 ··· 4783 4915 CFLAGS="$xorg_testset_save_CFLAGS" 4784 4916 4785 4917 eval supported=\$$cacheid 4786 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4787 - $as_echo "$supported" >&6; } 4918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4919 + printf "%s\n" "$supported" >&6; } 4788 4920 if test "$supported" = "yes" ; then 4789 4921 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 4790 4922 found="yes" ··· 4809 4941 4810 4942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4811 4943 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4812 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4813 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4814 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4815 - $as_echo_n "(cached) " >&6 4816 - else 4944 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4945 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4946 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4947 + then : 4948 + printf %s "(cached) " >&6 4949 + else $as_nop 4817 4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4818 4951 /* end confdefs.h. */ 4819 4952 int i; 4820 4953 _ACEOF 4821 - if ac_fn_c_try_compile "$LINENO"; then : 4954 + if ac_fn_c_try_compile "$LINENO" 4955 + then : 4822 4956 xorg_cv_cc_flag_unknown_warning_option=yes 4823 - else 4957 + else $as_nop 4824 4958 xorg_cv_cc_flag_unknown_warning_option=no 4825 4959 fi 4826 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4960 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4827 4961 fi 4828 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4829 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4963 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4830 4964 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4831 4965 CFLAGS="$xorg_testset_save_CFLAGS" 4832 4966 fi ··· 4836 4970 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4837 4971 fi 4838 4972 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4839 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4840 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4841 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4842 - $as_echo_n "(cached) " >&6 4843 - else 4973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4974 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4975 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4976 + then : 4977 + printf %s "(cached) " >&6 4978 + else $as_nop 4844 4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4845 4980 /* end confdefs.h. */ 4846 4981 int i; 4847 4982 _ACEOF 4848 - if ac_fn_c_try_compile "$LINENO"; then : 4983 + if ac_fn_c_try_compile "$LINENO" 4984 + then : 4849 4985 xorg_cv_cc_flag_unused_command_line_argument=yes 4850 - else 4986 + else $as_nop 4851 4987 xorg_cv_cc_flag_unused_command_line_argument=no 4852 4988 fi 4853 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4989 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4854 4990 fi 4855 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4856 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4991 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4992 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4857 4993 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4858 4994 CFLAGS="$xorg_testset_save_CFLAGS" 4859 4995 fi ··· 4871 5007 4872 5008 CFLAGS="$CFLAGS -Wmissing-declarations" 4873 5009 4874 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 4875 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 5010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 5011 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 4876 5012 cacheid=xorg_cv_cc_flag__Wmissing_declarations 4877 - if eval \${$cacheid+:} false; then : 4878 - $as_echo_n "(cached) " >&6 4879 - else 5013 + if eval test \${$cacheid+y} 5014 + then : 5015 + printf %s "(cached) " >&6 5016 + else $as_nop 4880 5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4881 5018 /* end confdefs.h. */ 4882 5019 int i; 4883 5020 int 4884 - main () 5021 + main (void) 4885 5022 { 4886 5023 4887 5024 ; 4888 5025 return 0; 4889 5026 } 4890 5027 _ACEOF 4891 - if ac_fn_c_try_link "$LINENO"; then : 5028 + if ac_fn_c_try_link "$LINENO" 5029 + then : 4892 5030 eval $cacheid=yes 4893 - else 5031 + else $as_nop 4894 5032 eval $cacheid=no 4895 5033 fi 4896 - rm -f core conftest.err conftest.$ac_objext \ 5034 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4897 5035 conftest$ac_exeext conftest.$ac_ext 4898 5036 fi 4899 5037 ··· 4901 5039 CFLAGS="$xorg_testset_save_CFLAGS" 4902 5040 4903 5041 eval supported=\$$cacheid 4904 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4905 - $as_echo "$supported" >&6; } 5042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5043 + printf "%s\n" "$supported" >&6; } 4906 5044 if test "$supported" = "yes" ; then 4907 5045 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 4908 5046 found="yes" ··· 4927 5065 4928 5066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4929 5067 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4930 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4931 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4932 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4933 - $as_echo_n "(cached) " >&6 4934 - else 5068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5069 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5070 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5071 + then : 5072 + printf %s "(cached) " >&6 5073 + else $as_nop 4935 5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4936 5075 /* end confdefs.h. */ 4937 5076 int i; 4938 5077 _ACEOF 4939 - if ac_fn_c_try_compile "$LINENO"; then : 5078 + if ac_fn_c_try_compile "$LINENO" 5079 + then : 4940 5080 xorg_cv_cc_flag_unknown_warning_option=yes 4941 - else 5081 + else $as_nop 4942 5082 xorg_cv_cc_flag_unknown_warning_option=no 4943 5083 fi 4944 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5084 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4945 5085 fi 4946 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4947 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5087 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4948 5088 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4949 5089 CFLAGS="$xorg_testset_save_CFLAGS" 4950 5090 fi ··· 4954 5094 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4955 5095 fi 4956 5096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4957 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4958 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4959 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4960 - $as_echo_n "(cached) " >&6 4961 - else 5097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5098 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5099 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5100 + then : 5101 + printf %s "(cached) " >&6 5102 + else $as_nop 4962 5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4963 5104 /* end confdefs.h. */ 4964 5105 int i; 4965 5106 _ACEOF 4966 - if ac_fn_c_try_compile "$LINENO"; then : 5107 + if ac_fn_c_try_compile "$LINENO" 5108 + then : 4967 5109 xorg_cv_cc_flag_unused_command_line_argument=yes 4968 - else 5110 + else $as_nop 4969 5111 xorg_cv_cc_flag_unused_command_line_argument=no 4970 5112 fi 4971 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5113 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4972 5114 fi 4973 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4974 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5116 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4975 5117 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4976 5118 CFLAGS="$xorg_testset_save_CFLAGS" 4977 5119 fi ··· 4989 5131 4990 5132 CFLAGS="$CFLAGS -Wformat=2" 4991 5133 4992 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 4993 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 5134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5135 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 4994 5136 cacheid=xorg_cv_cc_flag__Wformat_2 4995 - if eval \${$cacheid+:} false; then : 4996 - $as_echo_n "(cached) " >&6 4997 - else 5137 + if eval test \${$cacheid+y} 5138 + then : 5139 + printf %s "(cached) " >&6 5140 + else $as_nop 4998 5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4999 5142 /* end confdefs.h. */ 5000 5143 int i; 5001 5144 int 5002 - main () 5145 + main (void) 5003 5146 { 5004 5147 5005 5148 ; 5006 5149 return 0; 5007 5150 } 5008 5151 _ACEOF 5009 - if ac_fn_c_try_link "$LINENO"; then : 5152 + if ac_fn_c_try_link "$LINENO" 5153 + then : 5010 5154 eval $cacheid=yes 5011 - else 5155 + else $as_nop 5012 5156 eval $cacheid=no 5013 5157 fi 5014 - rm -f core conftest.err conftest.$ac_objext \ 5158 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5015 5159 conftest$ac_exeext conftest.$ac_ext 5016 5160 fi 5017 5161 ··· 5019 5163 CFLAGS="$xorg_testset_save_CFLAGS" 5020 5164 5021 5165 eval supported=\$$cacheid 5022 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5023 - $as_echo "$supported" >&6; } 5166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5167 + printf "%s\n" "$supported" >&6; } 5024 5168 if test "$supported" = "yes" ; then 5025 5169 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 5026 5170 found="yes" ··· 5038 5182 5039 5183 CFLAGS="$CFLAGS -Wformat" 5040 5184 5041 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5042 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 5185 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5186 + printf %s "checking if $CC supports -Wformat... " >&6; } 5043 5187 cacheid=xorg_cv_cc_flag__Wformat 5044 - if eval \${$cacheid+:} false; then : 5045 - $as_echo_n "(cached) " >&6 5046 - else 5188 + if eval test \${$cacheid+y} 5189 + then : 5190 + printf %s "(cached) " >&6 5191 + else $as_nop 5047 5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5048 5193 /* end confdefs.h. */ 5049 5194 int i; 5050 5195 int 5051 - main () 5196 + main (void) 5052 5197 { 5053 5198 5054 5199 ; 5055 5200 return 0; 5056 5201 } 5057 5202 _ACEOF 5058 - if ac_fn_c_try_link "$LINENO"; then : 5203 + if ac_fn_c_try_link "$LINENO" 5204 + then : 5059 5205 eval $cacheid=yes 5060 - else 5206 + else $as_nop 5061 5207 eval $cacheid=no 5062 5208 fi 5063 - rm -f core conftest.err conftest.$ac_objext \ 5209 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5064 5210 conftest$ac_exeext conftest.$ac_ext 5065 5211 fi 5066 5212 ··· 5068 5214 CFLAGS="$xorg_testset_save_CFLAGS" 5069 5215 5070 5216 eval supported=\$$cacheid 5071 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5072 - $as_echo "$supported" >&6; } 5217 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5218 + printf "%s\n" "$supported" >&6; } 5073 5219 if test "$supported" = "yes" ; then 5074 5220 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 5075 5221 found="yes" ··· 5096 5242 5097 5243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5098 5244 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5099 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5100 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5101 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5102 - $as_echo_n "(cached) " >&6 5103 - else 5245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5246 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5247 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5248 + then : 5249 + printf %s "(cached) " >&6 5250 + else $as_nop 5104 5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5105 5252 /* end confdefs.h. */ 5106 5253 int i; 5107 5254 _ACEOF 5108 - if ac_fn_c_try_compile "$LINENO"; then : 5255 + if ac_fn_c_try_compile "$LINENO" 5256 + then : 5109 5257 xorg_cv_cc_flag_unknown_warning_option=yes 5110 - else 5258 + else $as_nop 5111 5259 xorg_cv_cc_flag_unknown_warning_option=no 5112 5260 fi 5113 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5261 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5114 5262 fi 5115 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5116 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5263 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5264 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5117 5265 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5118 5266 CFLAGS="$xorg_testset_save_CFLAGS" 5119 5267 fi ··· 5123 5271 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5124 5272 fi 5125 5273 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5126 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5127 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5128 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5129 - $as_echo_n "(cached) " >&6 5130 - else 5274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5275 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5276 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5277 + then : 5278 + printf %s "(cached) " >&6 5279 + else $as_nop 5131 5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5132 5281 /* end confdefs.h. */ 5133 5282 int i; 5134 5283 _ACEOF 5135 - if ac_fn_c_try_compile "$LINENO"; then : 5284 + if ac_fn_c_try_compile "$LINENO" 5285 + then : 5136 5286 xorg_cv_cc_flag_unused_command_line_argument=yes 5137 - else 5287 + else $as_nop 5138 5288 xorg_cv_cc_flag_unused_command_line_argument=no 5139 5289 fi 5140 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5290 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5141 5291 fi 5142 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5143 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5292 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5293 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5144 5294 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5145 5295 CFLAGS="$xorg_testset_save_CFLAGS" 5146 5296 fi ··· 5158 5308 5159 5309 CFLAGS="$CFLAGS -Wstrict-prototypes" 5160 5310 5161 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5162 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 5311 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5312 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 5163 5313 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 5164 - if eval \${$cacheid+:} false; then : 5165 - $as_echo_n "(cached) " >&6 5166 - else 5314 + if eval test \${$cacheid+y} 5315 + then : 5316 + printf %s "(cached) " >&6 5317 + else $as_nop 5167 5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5168 5319 /* end confdefs.h. */ 5169 5320 int i; 5170 5321 int 5171 - main () 5322 + main (void) 5172 5323 { 5173 5324 5174 5325 ; 5175 5326 return 0; 5176 5327 } 5177 5328 _ACEOF 5178 - if ac_fn_c_try_link "$LINENO"; then : 5329 + if ac_fn_c_try_link "$LINENO" 5330 + then : 5179 5331 eval $cacheid=yes 5180 - else 5332 + else $as_nop 5181 5333 eval $cacheid=no 5182 5334 fi 5183 - rm -f core conftest.err conftest.$ac_objext \ 5335 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5184 5336 conftest$ac_exeext conftest.$ac_ext 5185 5337 fi 5186 5338 ··· 5188 5340 CFLAGS="$xorg_testset_save_CFLAGS" 5189 5341 5190 5342 eval supported=\$$cacheid 5191 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5192 - $as_echo "$supported" >&6; } 5343 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5344 + printf "%s\n" "$supported" >&6; } 5193 5345 if test "$supported" = "yes" ; then 5194 5346 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 5195 5347 found="yes" ··· 5214 5366 5215 5367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5216 5368 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5217 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5218 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5219 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5220 - $as_echo_n "(cached) " >&6 5221 - else 5369 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5370 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5371 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5372 + then : 5373 + printf %s "(cached) " >&6 5374 + else $as_nop 5222 5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5223 5376 /* end confdefs.h. */ 5224 5377 int i; 5225 5378 _ACEOF 5226 - if ac_fn_c_try_compile "$LINENO"; then : 5379 + if ac_fn_c_try_compile "$LINENO" 5380 + then : 5227 5381 xorg_cv_cc_flag_unknown_warning_option=yes 5228 - else 5382 + else $as_nop 5229 5383 xorg_cv_cc_flag_unknown_warning_option=no 5230 5384 fi 5231 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5385 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5232 5386 fi 5233 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5234 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5388 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5235 5389 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5236 5390 CFLAGS="$xorg_testset_save_CFLAGS" 5237 5391 fi ··· 5241 5395 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5242 5396 fi 5243 5397 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5244 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5245 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5246 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5247 - $as_echo_n "(cached) " >&6 5248 - else 5398 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5399 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5400 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5401 + then : 5402 + printf %s "(cached) " >&6 5403 + else $as_nop 5249 5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5250 5405 /* end confdefs.h. */ 5251 5406 int i; 5252 5407 _ACEOF 5253 - if ac_fn_c_try_compile "$LINENO"; then : 5408 + if ac_fn_c_try_compile "$LINENO" 5409 + then : 5254 5410 xorg_cv_cc_flag_unused_command_line_argument=yes 5255 - else 5411 + else $as_nop 5256 5412 xorg_cv_cc_flag_unused_command_line_argument=no 5257 5413 fi 5258 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5414 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5259 5415 fi 5260 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5261 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5417 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5262 5418 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5263 5419 CFLAGS="$xorg_testset_save_CFLAGS" 5264 5420 fi ··· 5276 5432 5277 5433 CFLAGS="$CFLAGS -Wmissing-prototypes" 5278 5434 5279 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5280 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 5435 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5436 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 5281 5437 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 5282 - if eval \${$cacheid+:} false; then : 5283 - $as_echo_n "(cached) " >&6 5284 - else 5438 + if eval test \${$cacheid+y} 5439 + then : 5440 + printf %s "(cached) " >&6 5441 + else $as_nop 5285 5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5286 5443 /* end confdefs.h. */ 5287 5444 int i; 5288 5445 int 5289 - main () 5446 + main (void) 5290 5447 { 5291 5448 5292 5449 ; 5293 5450 return 0; 5294 5451 } 5295 5452 _ACEOF 5296 - if ac_fn_c_try_link "$LINENO"; then : 5453 + if ac_fn_c_try_link "$LINENO" 5454 + then : 5297 5455 eval $cacheid=yes 5298 - else 5456 + else $as_nop 5299 5457 eval $cacheid=no 5300 5458 fi 5301 - rm -f core conftest.err conftest.$ac_objext \ 5459 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5302 5460 conftest$ac_exeext conftest.$ac_ext 5303 5461 fi 5304 5462 ··· 5306 5464 CFLAGS="$xorg_testset_save_CFLAGS" 5307 5465 5308 5466 eval supported=\$$cacheid 5309 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5310 - $as_echo "$supported" >&6; } 5467 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5468 + printf "%s\n" "$supported" >&6; } 5311 5469 if test "$supported" = "yes" ; then 5312 5470 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 5313 5471 found="yes" ··· 5332 5490 5333 5491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5334 5492 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5335 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5336 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5337 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5338 - $as_echo_n "(cached) " >&6 5339 - else 5493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5494 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5495 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5496 + then : 5497 + printf %s "(cached) " >&6 5498 + else $as_nop 5340 5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5341 5500 /* end confdefs.h. */ 5342 5501 int i; 5343 5502 _ACEOF 5344 - if ac_fn_c_try_compile "$LINENO"; then : 5503 + if ac_fn_c_try_compile "$LINENO" 5504 + then : 5345 5505 xorg_cv_cc_flag_unknown_warning_option=yes 5346 - else 5506 + else $as_nop 5347 5507 xorg_cv_cc_flag_unknown_warning_option=no 5348 5508 fi 5349 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5509 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5350 5510 fi 5351 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5352 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5512 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5353 5513 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5354 5514 CFLAGS="$xorg_testset_save_CFLAGS" 5355 5515 fi ··· 5359 5519 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5360 5520 fi 5361 5521 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5362 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5363 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5364 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5365 - $as_echo_n "(cached) " >&6 5366 - else 5522 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5523 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5524 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5525 + then : 5526 + printf %s "(cached) " >&6 5527 + else $as_nop 5367 5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5368 5529 /* end confdefs.h. */ 5369 5530 int i; 5370 5531 _ACEOF 5371 - if ac_fn_c_try_compile "$LINENO"; then : 5532 + if ac_fn_c_try_compile "$LINENO" 5533 + then : 5372 5534 xorg_cv_cc_flag_unused_command_line_argument=yes 5373 - else 5535 + else $as_nop 5374 5536 xorg_cv_cc_flag_unused_command_line_argument=no 5375 5537 fi 5376 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5538 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5377 5539 fi 5378 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5379 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5541 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5380 5542 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5381 5543 CFLAGS="$xorg_testset_save_CFLAGS" 5382 5544 fi ··· 5394 5556 5395 5557 CFLAGS="$CFLAGS -Wnested-externs" 5396 5558 5397 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5398 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 5559 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5560 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 5399 5561 cacheid=xorg_cv_cc_flag__Wnested_externs 5400 - if eval \${$cacheid+:} false; then : 5401 - $as_echo_n "(cached) " >&6 5402 - else 5562 + if eval test \${$cacheid+y} 5563 + then : 5564 + printf %s "(cached) " >&6 5565 + else $as_nop 5403 5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5404 5567 /* end confdefs.h. */ 5405 5568 int i; 5406 5569 int 5407 - main () 5570 + main (void) 5408 5571 { 5409 5572 5410 5573 ; 5411 5574 return 0; 5412 5575 } 5413 5576 _ACEOF 5414 - if ac_fn_c_try_link "$LINENO"; then : 5577 + if ac_fn_c_try_link "$LINENO" 5578 + then : 5415 5579 eval $cacheid=yes 5416 - else 5580 + else $as_nop 5417 5581 eval $cacheid=no 5418 5582 fi 5419 - rm -f core conftest.err conftest.$ac_objext \ 5583 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5420 5584 conftest$ac_exeext conftest.$ac_ext 5421 5585 fi 5422 5586 ··· 5424 5588 CFLAGS="$xorg_testset_save_CFLAGS" 5425 5589 5426 5590 eval supported=\$$cacheid 5427 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5428 - $as_echo "$supported" >&6; } 5591 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5592 + printf "%s\n" "$supported" >&6; } 5429 5593 if test "$supported" = "yes" ; then 5430 5594 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 5431 5595 found="yes" ··· 5450 5614 5451 5615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5452 5616 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5453 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5454 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5455 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5456 - $as_echo_n "(cached) " >&6 5457 - else 5617 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5618 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5619 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5620 + then : 5621 + printf %s "(cached) " >&6 5622 + else $as_nop 5458 5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5459 5624 /* end confdefs.h. */ 5460 5625 int i; 5461 5626 _ACEOF 5462 - if ac_fn_c_try_compile "$LINENO"; then : 5627 + if ac_fn_c_try_compile "$LINENO" 5628 + then : 5463 5629 xorg_cv_cc_flag_unknown_warning_option=yes 5464 - else 5630 + else $as_nop 5465 5631 xorg_cv_cc_flag_unknown_warning_option=no 5466 5632 fi 5467 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5633 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5468 5634 fi 5469 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5470 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5636 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5471 5637 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5472 5638 CFLAGS="$xorg_testset_save_CFLAGS" 5473 5639 fi ··· 5477 5643 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5478 5644 fi 5479 5645 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5480 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5481 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5482 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5483 - $as_echo_n "(cached) " >&6 5484 - else 5646 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5647 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5648 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5649 + then : 5650 + printf %s "(cached) " >&6 5651 + else $as_nop 5485 5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5486 5653 /* end confdefs.h. */ 5487 5654 int i; 5488 5655 _ACEOF 5489 - if ac_fn_c_try_compile "$LINENO"; then : 5656 + if ac_fn_c_try_compile "$LINENO" 5657 + then : 5490 5658 xorg_cv_cc_flag_unused_command_line_argument=yes 5491 - else 5659 + else $as_nop 5492 5660 xorg_cv_cc_flag_unused_command_line_argument=no 5493 5661 fi 5494 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5662 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5495 5663 fi 5496 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5497 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5664 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5665 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5498 5666 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5499 5667 CFLAGS="$xorg_testset_save_CFLAGS" 5500 5668 fi ··· 5512 5680 5513 5681 CFLAGS="$CFLAGS -Wbad-function-cast" 5514 5682 5515 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5516 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 5683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5684 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 5517 5685 cacheid=xorg_cv_cc_flag__Wbad_function_cast 5518 - if eval \${$cacheid+:} false; then : 5519 - $as_echo_n "(cached) " >&6 5520 - else 5686 + if eval test \${$cacheid+y} 5687 + then : 5688 + printf %s "(cached) " >&6 5689 + else $as_nop 5521 5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5522 5691 /* end confdefs.h. */ 5523 5692 int i; 5524 5693 int 5525 - main () 5694 + main (void) 5526 5695 { 5527 5696 5528 5697 ; 5529 5698 return 0; 5530 5699 } 5531 5700 _ACEOF 5532 - if ac_fn_c_try_link "$LINENO"; then : 5701 + if ac_fn_c_try_link "$LINENO" 5702 + then : 5533 5703 eval $cacheid=yes 5534 - else 5704 + else $as_nop 5535 5705 eval $cacheid=no 5536 5706 fi 5537 - rm -f core conftest.err conftest.$ac_objext \ 5707 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5538 5708 conftest$ac_exeext conftest.$ac_ext 5539 5709 fi 5540 5710 ··· 5542 5712 CFLAGS="$xorg_testset_save_CFLAGS" 5543 5713 5544 5714 eval supported=\$$cacheid 5545 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5546 - $as_echo "$supported" >&6; } 5715 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5716 + printf "%s\n" "$supported" >&6; } 5547 5717 if test "$supported" = "yes" ; then 5548 5718 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 5549 5719 found="yes" ··· 5568 5738 5569 5739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5570 5740 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5571 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5572 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5573 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5574 - $as_echo_n "(cached) " >&6 5575 - else 5741 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5742 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5743 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5744 + then : 5745 + printf %s "(cached) " >&6 5746 + else $as_nop 5576 5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5577 5748 /* end confdefs.h. */ 5578 5749 int i; 5579 5750 _ACEOF 5580 - if ac_fn_c_try_compile "$LINENO"; then : 5751 + if ac_fn_c_try_compile "$LINENO" 5752 + then : 5581 5753 xorg_cv_cc_flag_unknown_warning_option=yes 5582 - else 5754 + else $as_nop 5583 5755 xorg_cv_cc_flag_unknown_warning_option=no 5584 5756 fi 5585 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5757 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5586 5758 fi 5587 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5588 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5760 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5589 5761 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5590 5762 CFLAGS="$xorg_testset_save_CFLAGS" 5591 5763 fi ··· 5595 5767 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5596 5768 fi 5597 5769 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5598 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5599 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5600 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5601 - $as_echo_n "(cached) " >&6 5602 - else 5770 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5771 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5772 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5773 + then : 5774 + printf %s "(cached) " >&6 5775 + else $as_nop 5603 5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5604 5777 /* end confdefs.h. */ 5605 5778 int i; 5606 5779 _ACEOF 5607 - if ac_fn_c_try_compile "$LINENO"; then : 5780 + if ac_fn_c_try_compile "$LINENO" 5781 + then : 5608 5782 xorg_cv_cc_flag_unused_command_line_argument=yes 5609 - else 5783 + else $as_nop 5610 5784 xorg_cv_cc_flag_unused_command_line_argument=no 5611 5785 fi 5612 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5786 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5613 5787 fi 5614 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5615 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5788 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5789 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5616 5790 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5617 5791 CFLAGS="$xorg_testset_save_CFLAGS" 5618 5792 fi ··· 5630 5804 5631 5805 CFLAGS="$CFLAGS -Wold-style-definition" 5632 5806 5633 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5634 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 5807 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5808 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 5635 5809 cacheid=xorg_cv_cc_flag__Wold_style_definition 5636 - if eval \${$cacheid+:} false; then : 5637 - $as_echo_n "(cached) " >&6 5638 - else 5810 + if eval test \${$cacheid+y} 5811 + then : 5812 + printf %s "(cached) " >&6 5813 + else $as_nop 5639 5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5640 5815 /* end confdefs.h. */ 5641 5816 int i; 5642 5817 int 5643 - main () 5818 + main (void) 5644 5819 { 5645 5820 5646 5821 ; 5647 5822 return 0; 5648 5823 } 5649 5824 _ACEOF 5650 - if ac_fn_c_try_link "$LINENO"; then : 5825 + if ac_fn_c_try_link "$LINENO" 5826 + then : 5651 5827 eval $cacheid=yes 5652 - else 5828 + else $as_nop 5653 5829 eval $cacheid=no 5654 5830 fi 5655 - rm -f core conftest.err conftest.$ac_objext \ 5831 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5656 5832 conftest$ac_exeext conftest.$ac_ext 5657 5833 fi 5658 5834 ··· 5660 5836 CFLAGS="$xorg_testset_save_CFLAGS" 5661 5837 5662 5838 eval supported=\$$cacheid 5663 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5664 - $as_echo "$supported" >&6; } 5839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5840 + printf "%s\n" "$supported" >&6; } 5665 5841 if test "$supported" = "yes" ; then 5666 5842 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 5667 5843 found="yes" ··· 5679 5855 5680 5856 CFLAGS="$CFLAGS -fd" 5681 5857 5682 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5683 - $as_echo_n "checking if $CC supports -fd... " >&6; } 5858 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5859 + printf %s "checking if $CC supports -fd... " >&6; } 5684 5860 cacheid=xorg_cv_cc_flag__fd 5685 - if eval \${$cacheid+:} false; then : 5686 - $as_echo_n "(cached) " >&6 5687 - else 5861 + if eval test \${$cacheid+y} 5862 + then : 5863 + printf %s "(cached) " >&6 5864 + else $as_nop 5688 5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5689 5866 /* end confdefs.h. */ 5690 5867 int i; 5691 5868 int 5692 - main () 5869 + main (void) 5693 5870 { 5694 5871 5695 5872 ; 5696 5873 return 0; 5697 5874 } 5698 5875 _ACEOF 5699 - if ac_fn_c_try_link "$LINENO"; then : 5876 + if ac_fn_c_try_link "$LINENO" 5877 + then : 5700 5878 eval $cacheid=yes 5701 - else 5879 + else $as_nop 5702 5880 eval $cacheid=no 5703 5881 fi 5704 - rm -f core conftest.err conftest.$ac_objext \ 5882 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5705 5883 conftest$ac_exeext conftest.$ac_ext 5706 5884 fi 5707 5885 ··· 5709 5887 CFLAGS="$xorg_testset_save_CFLAGS" 5710 5888 5711 5889 eval supported=\$$cacheid 5712 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5713 - $as_echo "$supported" >&6; } 5890 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5891 + printf "%s\n" "$supported" >&6; } 5714 5892 if test "$supported" = "yes" ; then 5715 5893 BASE_CFLAGS="$BASE_CFLAGS -fd" 5716 5894 found="yes" ··· 5735 5913 5736 5914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5737 5915 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5738 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5739 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5740 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5741 - $as_echo_n "(cached) " >&6 5742 - else 5916 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5917 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5918 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5919 + then : 5920 + printf %s "(cached) " >&6 5921 + else $as_nop 5743 5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5744 5923 /* end confdefs.h. */ 5745 5924 int i; 5746 5925 _ACEOF 5747 - if ac_fn_c_try_compile "$LINENO"; then : 5926 + if ac_fn_c_try_compile "$LINENO" 5927 + then : 5748 5928 xorg_cv_cc_flag_unknown_warning_option=yes 5749 - else 5929 + else $as_nop 5750 5930 xorg_cv_cc_flag_unknown_warning_option=no 5751 5931 fi 5752 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5932 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5753 5933 fi 5754 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5755 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5935 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5756 5936 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5757 5937 CFLAGS="$xorg_testset_save_CFLAGS" 5758 5938 fi ··· 5762 5942 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5763 5943 fi 5764 5944 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5765 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5766 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5767 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5768 - $as_echo_n "(cached) " >&6 5769 - else 5945 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5946 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5947 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5948 + then : 5949 + printf %s "(cached) " >&6 5950 + else $as_nop 5770 5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5771 5952 /* end confdefs.h. */ 5772 5953 int i; 5773 5954 _ACEOF 5774 - if ac_fn_c_try_compile "$LINENO"; then : 5955 + if ac_fn_c_try_compile "$LINENO" 5956 + then : 5775 5957 xorg_cv_cc_flag_unused_command_line_argument=yes 5776 - else 5958 + else $as_nop 5777 5959 xorg_cv_cc_flag_unused_command_line_argument=no 5778 5960 fi 5779 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5961 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5780 5962 fi 5781 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5782 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5964 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5783 5965 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5784 5966 CFLAGS="$xorg_testset_save_CFLAGS" 5785 5967 fi ··· 5797 5979 5798 5980 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 5799 5981 5800 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5801 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5982 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5983 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5802 5984 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 5803 - if eval \${$cacheid+:} false; then : 5804 - $as_echo_n "(cached) " >&6 5805 - else 5985 + if eval test \${$cacheid+y} 5986 + then : 5987 + printf %s "(cached) " >&6 5988 + else $as_nop 5806 5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5807 5990 /* end confdefs.h. */ 5808 5991 int i; 5809 5992 int 5810 - main () 5993 + main (void) 5811 5994 { 5812 5995 5813 5996 ; 5814 5997 return 0; 5815 5998 } 5816 5999 _ACEOF 5817 - if ac_fn_c_try_link "$LINENO"; then : 6000 + if ac_fn_c_try_link "$LINENO" 6001 + then : 5818 6002 eval $cacheid=yes 5819 - else 6003 + else $as_nop 5820 6004 eval $cacheid=no 5821 6005 fi 5822 - rm -f core conftest.err conftest.$ac_objext \ 6006 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5823 6007 conftest$ac_exeext conftest.$ac_ext 5824 6008 fi 5825 6009 ··· 5827 6011 CFLAGS="$xorg_testset_save_CFLAGS" 5828 6012 5829 6013 eval supported=\$$cacheid 5830 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5831 - $as_echo "$supported" >&6; } 6014 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6015 + printf "%s\n" "$supported" >&6; } 5832 6016 if test "$supported" = "yes" ; then 5833 6017 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 5834 6018 found="yes" ··· 5857 6041 5858 6042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5859 6043 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5860 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5861 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5862 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5863 - $as_echo_n "(cached) " >&6 5864 - else 6044 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6045 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6046 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6047 + then : 6048 + printf %s "(cached) " >&6 6049 + else $as_nop 5865 6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5866 6051 /* end confdefs.h. */ 5867 6052 int i; 5868 6053 _ACEOF 5869 - if ac_fn_c_try_compile "$LINENO"; then : 6054 + if ac_fn_c_try_compile "$LINENO" 6055 + then : 5870 6056 xorg_cv_cc_flag_unknown_warning_option=yes 5871 - else 6057 + else $as_nop 5872 6058 xorg_cv_cc_flag_unknown_warning_option=no 5873 6059 fi 5874 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6060 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5875 6061 fi 5876 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5877 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6062 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6063 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5878 6064 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5879 6065 CFLAGS="$xorg_testset_save_CFLAGS" 5880 6066 fi ··· 5884 6070 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5885 6071 fi 5886 6072 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5887 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5888 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5889 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5890 - $as_echo_n "(cached) " >&6 5891 - else 6073 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6074 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6075 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6076 + then : 6077 + printf %s "(cached) " >&6 6078 + else $as_nop 5892 6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5893 6080 /* end confdefs.h. */ 5894 6081 int i; 5895 6082 _ACEOF 5896 - if ac_fn_c_try_compile "$LINENO"; then : 6083 + if ac_fn_c_try_compile "$LINENO" 6084 + then : 5897 6085 xorg_cv_cc_flag_unused_command_line_argument=yes 5898 - else 6086 + else $as_nop 5899 6087 xorg_cv_cc_flag_unused_command_line_argument=no 5900 6088 fi 5901 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6089 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5902 6090 fi 5903 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5904 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6092 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5905 6093 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5906 6094 CFLAGS="$xorg_testset_save_CFLAGS" 5907 6095 fi ··· 5919 6107 5920 6108 CFLAGS="$CFLAGS -Wunused" 5921 6109 5922 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 5923 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 6110 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 6111 + printf %s "checking if $CC supports -Wunused... " >&6; } 5924 6112 cacheid=xorg_cv_cc_flag__Wunused 5925 - if eval \${$cacheid+:} false; then : 5926 - $as_echo_n "(cached) " >&6 5927 - else 6113 + if eval test \${$cacheid+y} 6114 + then : 6115 + printf %s "(cached) " >&6 6116 + else $as_nop 5928 6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5929 6118 /* end confdefs.h. */ 5930 6119 int i; 5931 6120 int 5932 - main () 6121 + main (void) 5933 6122 { 5934 6123 5935 6124 ; 5936 6125 return 0; 5937 6126 } 5938 6127 _ACEOF 5939 - if ac_fn_c_try_link "$LINENO"; then : 6128 + if ac_fn_c_try_link "$LINENO" 6129 + then : 5940 6130 eval $cacheid=yes 5941 - else 6131 + else $as_nop 5942 6132 eval $cacheid=no 5943 6133 fi 5944 - rm -f core conftest.err conftest.$ac_objext \ 6134 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5945 6135 conftest$ac_exeext conftest.$ac_ext 5946 6136 fi 5947 6137 ··· 5949 6139 CFLAGS="$xorg_testset_save_CFLAGS" 5950 6140 5951 6141 eval supported=\$$cacheid 5952 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5953 - $as_echo "$supported" >&6; } 6142 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6143 + printf "%s\n" "$supported" >&6; } 5954 6144 if test "$supported" = "yes" ; then 5955 6145 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 5956 6146 found="yes" ··· 5975 6165 5976 6166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5977 6167 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5978 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5979 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5980 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5981 - $as_echo_n "(cached) " >&6 5982 - else 6168 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6169 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6170 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6171 + then : 6172 + printf %s "(cached) " >&6 6173 + else $as_nop 5983 6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5984 6175 /* end confdefs.h. */ 5985 6176 int i; 5986 6177 _ACEOF 5987 - if ac_fn_c_try_compile "$LINENO"; then : 6178 + if ac_fn_c_try_compile "$LINENO" 6179 + then : 5988 6180 xorg_cv_cc_flag_unknown_warning_option=yes 5989 - else 6181 + else $as_nop 5990 6182 xorg_cv_cc_flag_unknown_warning_option=no 5991 6183 fi 5992 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6184 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5993 6185 fi 5994 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5995 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6186 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6187 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5996 6188 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5997 6189 CFLAGS="$xorg_testset_save_CFLAGS" 5998 6190 fi ··· 6002 6194 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6003 6195 fi 6004 6196 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6005 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6006 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6007 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6008 - $as_echo_n "(cached) " >&6 6009 - else 6197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6198 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6199 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6200 + then : 6201 + printf %s "(cached) " >&6 6202 + else $as_nop 6010 6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6011 6204 /* end confdefs.h. */ 6012 6205 int i; 6013 6206 _ACEOF 6014 - if ac_fn_c_try_compile "$LINENO"; then : 6207 + if ac_fn_c_try_compile "$LINENO" 6208 + then : 6015 6209 xorg_cv_cc_flag_unused_command_line_argument=yes 6016 - else 6210 + else $as_nop 6017 6211 xorg_cv_cc_flag_unused_command_line_argument=no 6018 6212 fi 6019 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6213 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6020 6214 fi 6021 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6022 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6216 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6023 6217 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6024 6218 CFLAGS="$xorg_testset_save_CFLAGS" 6025 6219 fi ··· 6037 6231 6038 6232 CFLAGS="$CFLAGS -Wuninitialized" 6039 6233 6040 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6041 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 6234 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6235 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 6042 6236 cacheid=xorg_cv_cc_flag__Wuninitialized 6043 - if eval \${$cacheid+:} false; then : 6044 - $as_echo_n "(cached) " >&6 6045 - else 6237 + if eval test \${$cacheid+y} 6238 + then : 6239 + printf %s "(cached) " >&6 6240 + else $as_nop 6046 6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6047 6242 /* end confdefs.h. */ 6048 6243 int i; 6049 6244 int 6050 - main () 6245 + main (void) 6051 6246 { 6052 6247 6053 6248 ; 6054 6249 return 0; 6055 6250 } 6056 6251 _ACEOF 6057 - if ac_fn_c_try_link "$LINENO"; then : 6252 + if ac_fn_c_try_link "$LINENO" 6253 + then : 6058 6254 eval $cacheid=yes 6059 - else 6255 + else $as_nop 6060 6256 eval $cacheid=no 6061 6257 fi 6062 - rm -f core conftest.err conftest.$ac_objext \ 6258 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6063 6259 conftest$ac_exeext conftest.$ac_ext 6064 6260 fi 6065 6261 ··· 6067 6263 CFLAGS="$xorg_testset_save_CFLAGS" 6068 6264 6069 6265 eval supported=\$$cacheid 6070 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6071 - $as_echo "$supported" >&6; } 6266 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6267 + printf "%s\n" "$supported" >&6; } 6072 6268 if test "$supported" = "yes" ; then 6073 6269 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 6074 6270 found="yes" ··· 6093 6289 6094 6290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6095 6291 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6096 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6097 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6098 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6099 - $as_echo_n "(cached) " >&6 6100 - else 6292 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6293 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6294 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6295 + then : 6296 + printf %s "(cached) " >&6 6297 + else $as_nop 6101 6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6102 6299 /* end confdefs.h. */ 6103 6300 int i; 6104 6301 _ACEOF 6105 - if ac_fn_c_try_compile "$LINENO"; then : 6302 + if ac_fn_c_try_compile "$LINENO" 6303 + then : 6106 6304 xorg_cv_cc_flag_unknown_warning_option=yes 6107 - else 6305 + else $as_nop 6108 6306 xorg_cv_cc_flag_unknown_warning_option=no 6109 6307 fi 6110 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6308 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6111 6309 fi 6112 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6113 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6310 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6311 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6114 6312 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6115 6313 CFLAGS="$xorg_testset_save_CFLAGS" 6116 6314 fi ··· 6120 6318 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6121 6319 fi 6122 6320 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6123 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6124 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6125 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6126 - $as_echo_n "(cached) " >&6 6127 - else 6321 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6322 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6323 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6324 + then : 6325 + printf %s "(cached) " >&6 6326 + else $as_nop 6128 6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6129 6328 /* end confdefs.h. */ 6130 6329 int i; 6131 6330 _ACEOF 6132 - if ac_fn_c_try_compile "$LINENO"; then : 6331 + if ac_fn_c_try_compile "$LINENO" 6332 + then : 6133 6333 xorg_cv_cc_flag_unused_command_line_argument=yes 6134 - else 6334 + else $as_nop 6135 6335 xorg_cv_cc_flag_unused_command_line_argument=no 6136 6336 fi 6137 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6337 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6138 6338 fi 6139 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6140 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6340 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6141 6341 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6142 6342 CFLAGS="$xorg_testset_save_CFLAGS" 6143 6343 fi ··· 6155 6355 6156 6356 CFLAGS="$CFLAGS -Wshadow" 6157 6357 6158 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6159 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 6358 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6359 + printf %s "checking if $CC supports -Wshadow... " >&6; } 6160 6360 cacheid=xorg_cv_cc_flag__Wshadow 6161 - if eval \${$cacheid+:} false; then : 6162 - $as_echo_n "(cached) " >&6 6163 - else 6361 + if eval test \${$cacheid+y} 6362 + then : 6363 + printf %s "(cached) " >&6 6364 + else $as_nop 6164 6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6165 6366 /* end confdefs.h. */ 6166 6367 int i; 6167 6368 int 6168 - main () 6369 + main (void) 6169 6370 { 6170 6371 6171 6372 ; 6172 6373 return 0; 6173 6374 } 6174 6375 _ACEOF 6175 - if ac_fn_c_try_link "$LINENO"; then : 6376 + if ac_fn_c_try_link "$LINENO" 6377 + then : 6176 6378 eval $cacheid=yes 6177 - else 6379 + else $as_nop 6178 6380 eval $cacheid=no 6179 6381 fi 6180 - rm -f core conftest.err conftest.$ac_objext \ 6382 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6181 6383 conftest$ac_exeext conftest.$ac_ext 6182 6384 fi 6183 6385 ··· 6185 6387 CFLAGS="$xorg_testset_save_CFLAGS" 6186 6388 6187 6389 eval supported=\$$cacheid 6188 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6189 - $as_echo "$supported" >&6; } 6390 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6391 + printf "%s\n" "$supported" >&6; } 6190 6392 if test "$supported" = "yes" ; then 6191 6393 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 6192 6394 found="yes" ··· 6211 6413 6212 6414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6213 6415 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6214 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6215 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6216 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6217 - $as_echo_n "(cached) " >&6 6218 - else 6416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6417 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6418 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6419 + then : 6420 + printf %s "(cached) " >&6 6421 + else $as_nop 6219 6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6220 6423 /* end confdefs.h. */ 6221 6424 int i; 6222 6425 _ACEOF 6223 - if ac_fn_c_try_compile "$LINENO"; then : 6426 + if ac_fn_c_try_compile "$LINENO" 6427 + then : 6224 6428 xorg_cv_cc_flag_unknown_warning_option=yes 6225 - else 6429 + else $as_nop 6226 6430 xorg_cv_cc_flag_unknown_warning_option=no 6227 6431 fi 6228 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6432 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6229 6433 fi 6230 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6231 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6434 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6435 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6232 6436 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6233 6437 CFLAGS="$xorg_testset_save_CFLAGS" 6234 6438 fi ··· 6238 6442 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6239 6443 fi 6240 6444 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6241 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6242 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6243 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6244 - $as_echo_n "(cached) " >&6 6245 - else 6445 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6446 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6447 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6448 + then : 6449 + printf %s "(cached) " >&6 6450 + else $as_nop 6246 6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6247 6452 /* end confdefs.h. */ 6248 6453 int i; 6249 6454 _ACEOF 6250 - if ac_fn_c_try_compile "$LINENO"; then : 6455 + if ac_fn_c_try_compile "$LINENO" 6456 + then : 6251 6457 xorg_cv_cc_flag_unused_command_line_argument=yes 6252 - else 6458 + else $as_nop 6253 6459 xorg_cv_cc_flag_unused_command_line_argument=no 6254 6460 fi 6255 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6461 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6256 6462 fi 6257 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6258 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6464 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6259 6465 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6260 6466 CFLAGS="$xorg_testset_save_CFLAGS" 6261 6467 fi ··· 6273 6479 6274 6480 CFLAGS="$CFLAGS -Wmissing-noreturn" 6275 6481 6276 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6277 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 6482 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6483 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 6278 6484 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 6279 - if eval \${$cacheid+:} false; then : 6280 - $as_echo_n "(cached) " >&6 6281 - else 6485 + if eval test \${$cacheid+y} 6486 + then : 6487 + printf %s "(cached) " >&6 6488 + else $as_nop 6282 6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6283 6490 /* end confdefs.h. */ 6284 6491 int i; 6285 6492 int 6286 - main () 6493 + main (void) 6287 6494 { 6288 6495 6289 6496 ; 6290 6497 return 0; 6291 6498 } 6292 6499 _ACEOF 6293 - if ac_fn_c_try_link "$LINENO"; then : 6500 + if ac_fn_c_try_link "$LINENO" 6501 + then : 6294 6502 eval $cacheid=yes 6295 - else 6503 + else $as_nop 6296 6504 eval $cacheid=no 6297 6505 fi 6298 - rm -f core conftest.err conftest.$ac_objext \ 6506 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6299 6507 conftest$ac_exeext conftest.$ac_ext 6300 6508 fi 6301 6509 ··· 6303 6511 CFLAGS="$xorg_testset_save_CFLAGS" 6304 6512 6305 6513 eval supported=\$$cacheid 6306 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6307 - $as_echo "$supported" >&6; } 6514 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6515 + printf "%s\n" "$supported" >&6; } 6308 6516 if test "$supported" = "yes" ; then 6309 6517 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 6310 6518 found="yes" ··· 6329 6537 6330 6538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6331 6539 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6332 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6333 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6334 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6335 - $as_echo_n "(cached) " >&6 6336 - else 6540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6541 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6542 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6543 + then : 6544 + printf %s "(cached) " >&6 6545 + else $as_nop 6337 6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6338 6547 /* end confdefs.h. */ 6339 6548 int i; 6340 6549 _ACEOF 6341 - if ac_fn_c_try_compile "$LINENO"; then : 6550 + if ac_fn_c_try_compile "$LINENO" 6551 + then : 6342 6552 xorg_cv_cc_flag_unknown_warning_option=yes 6343 - else 6553 + else $as_nop 6344 6554 xorg_cv_cc_flag_unknown_warning_option=no 6345 6555 fi 6346 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6556 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6347 6557 fi 6348 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6349 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6558 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6559 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6350 6560 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6351 6561 CFLAGS="$xorg_testset_save_CFLAGS" 6352 6562 fi ··· 6356 6566 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6357 6567 fi 6358 6568 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6359 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6360 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6361 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6362 - $as_echo_n "(cached) " >&6 6363 - else 6569 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6570 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6571 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6572 + then : 6573 + printf %s "(cached) " >&6 6574 + else $as_nop 6364 6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6365 6576 /* end confdefs.h. */ 6366 6577 int i; 6367 6578 _ACEOF 6368 - if ac_fn_c_try_compile "$LINENO"; then : 6579 + if ac_fn_c_try_compile "$LINENO" 6580 + then : 6369 6581 xorg_cv_cc_flag_unused_command_line_argument=yes 6370 - else 6582 + else $as_nop 6371 6583 xorg_cv_cc_flag_unused_command_line_argument=no 6372 6584 fi 6373 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6585 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6374 6586 fi 6375 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6376 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6588 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6377 6589 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6378 6590 CFLAGS="$xorg_testset_save_CFLAGS" 6379 6591 fi ··· 6391 6603 6392 6604 CFLAGS="$CFLAGS -Wmissing-format-attribute" 6393 6605 6394 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6395 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6607 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6396 6608 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 6397 - if eval \${$cacheid+:} false; then : 6398 - $as_echo_n "(cached) " >&6 6399 - else 6609 + if eval test \${$cacheid+y} 6610 + then : 6611 + printf %s "(cached) " >&6 6612 + else $as_nop 6400 6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6401 6614 /* end confdefs.h. */ 6402 6615 int i; 6403 6616 int 6404 - main () 6617 + main (void) 6405 6618 { 6406 6619 6407 6620 ; 6408 6621 return 0; 6409 6622 } 6410 6623 _ACEOF 6411 - if ac_fn_c_try_link "$LINENO"; then : 6624 + if ac_fn_c_try_link "$LINENO" 6625 + then : 6412 6626 eval $cacheid=yes 6413 - else 6627 + else $as_nop 6414 6628 eval $cacheid=no 6415 6629 fi 6416 - rm -f core conftest.err conftest.$ac_objext \ 6630 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6417 6631 conftest$ac_exeext conftest.$ac_ext 6418 6632 fi 6419 6633 ··· 6421 6635 CFLAGS="$xorg_testset_save_CFLAGS" 6422 6636 6423 6637 eval supported=\$$cacheid 6424 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6425 - $as_echo "$supported" >&6; } 6638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6639 + printf "%s\n" "$supported" >&6; } 6426 6640 if test "$supported" = "yes" ; then 6427 6641 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 6428 6642 found="yes" ··· 6448 6662 6449 6663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6450 6664 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6451 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6452 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6453 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6454 - $as_echo_n "(cached) " >&6 6455 - else 6665 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6666 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6667 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6668 + then : 6669 + printf %s "(cached) " >&6 6670 + else $as_nop 6456 6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6457 6672 /* end confdefs.h. */ 6458 6673 int i; 6459 6674 _ACEOF 6460 - if ac_fn_c_try_compile "$LINENO"; then : 6675 + if ac_fn_c_try_compile "$LINENO" 6676 + then : 6461 6677 xorg_cv_cc_flag_unknown_warning_option=yes 6462 - else 6678 + else $as_nop 6463 6679 xorg_cv_cc_flag_unknown_warning_option=no 6464 6680 fi 6465 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6681 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6466 6682 fi 6467 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6468 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6684 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6469 6685 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6470 6686 CFLAGS="$xorg_testset_save_CFLAGS" 6471 6687 fi ··· 6475 6691 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6476 6692 fi 6477 6693 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6478 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6479 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6480 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6481 - $as_echo_n "(cached) " >&6 6482 - else 6694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6695 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6696 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6697 + then : 6698 + printf %s "(cached) " >&6 6699 + else $as_nop 6483 6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6484 6701 /* end confdefs.h. */ 6485 6702 int i; 6486 6703 _ACEOF 6487 - if ac_fn_c_try_compile "$LINENO"; then : 6704 + if ac_fn_c_try_compile "$LINENO" 6705 + then : 6488 6706 xorg_cv_cc_flag_unused_command_line_argument=yes 6489 - else 6707 + else $as_nop 6490 6708 xorg_cv_cc_flag_unused_command_line_argument=no 6491 6709 fi 6492 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6710 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6493 6711 fi 6494 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6495 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6712 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6713 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6496 6714 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6497 6715 CFLAGS="$xorg_testset_save_CFLAGS" 6498 6716 fi ··· 6510 6728 6511 6729 CFLAGS="$CFLAGS -Wlogical-op" 6512 6730 6513 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6514 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 6731 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6732 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 6515 6733 cacheid=xorg_cv_cc_flag__Wlogical_op 6516 - if eval \${$cacheid+:} false; then : 6517 - $as_echo_n "(cached) " >&6 6518 - else 6734 + if eval test \${$cacheid+y} 6735 + then : 6736 + printf %s "(cached) " >&6 6737 + else $as_nop 6519 6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6520 6739 /* end confdefs.h. */ 6521 6740 int i; 6522 6741 int 6523 - main () 6742 + main (void) 6524 6743 { 6525 6744 6526 6745 ; 6527 6746 return 0; 6528 6747 } 6529 6748 _ACEOF 6530 - if ac_fn_c_try_link "$LINENO"; then : 6749 + if ac_fn_c_try_link "$LINENO" 6750 + then : 6531 6751 eval $cacheid=yes 6532 - else 6752 + else $as_nop 6533 6753 eval $cacheid=no 6534 6754 fi 6535 - rm -f core conftest.err conftest.$ac_objext \ 6755 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6536 6756 conftest$ac_exeext conftest.$ac_ext 6537 6757 fi 6538 6758 ··· 6540 6760 CFLAGS="$xorg_testset_save_CFLAGS" 6541 6761 6542 6762 eval supported=\$$cacheid 6543 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6544 - $as_echo "$supported" >&6; } 6763 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6764 + printf "%s\n" "$supported" >&6; } 6545 6765 if test "$supported" = "yes" ; then 6546 6766 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 6547 6767 found="yes" ··· 6557 6777 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 6558 6778 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 6559 6779 6560 - # Turn some warnings into errors, so we don't accidently get successful builds 6780 + # Turn some warnings into errors, so we don't accidentally get successful builds 6561 6781 # when there are problems that should be fixed. 6562 6782 6563 6783 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 6578 6798 6579 6799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6580 6800 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6581 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6582 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6583 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6584 - $as_echo_n "(cached) " >&6 6585 - else 6801 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6802 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6803 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6804 + then : 6805 + printf %s "(cached) " >&6 6806 + else $as_nop 6586 6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6587 6808 /* end confdefs.h. */ 6588 6809 int i; 6589 6810 _ACEOF 6590 - if ac_fn_c_try_compile "$LINENO"; then : 6811 + if ac_fn_c_try_compile "$LINENO" 6812 + then : 6591 6813 xorg_cv_cc_flag_unknown_warning_option=yes 6592 - else 6814 + else $as_nop 6593 6815 xorg_cv_cc_flag_unknown_warning_option=no 6594 6816 fi 6595 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6817 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6596 6818 fi 6597 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6598 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6819 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6820 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6599 6821 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6600 6822 CFLAGS="$xorg_testset_save_CFLAGS" 6601 6823 fi ··· 6605 6827 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6606 6828 fi 6607 6829 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6608 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6609 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6610 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6611 - $as_echo_n "(cached) " >&6 6612 - else 6830 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6831 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6832 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6833 + then : 6834 + printf %s "(cached) " >&6 6835 + else $as_nop 6613 6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6614 6837 /* end confdefs.h. */ 6615 6838 int i; 6616 6839 _ACEOF 6617 - if ac_fn_c_try_compile "$LINENO"; then : 6840 + if ac_fn_c_try_compile "$LINENO" 6841 + then : 6618 6842 xorg_cv_cc_flag_unused_command_line_argument=yes 6619 - else 6843 + else $as_nop 6620 6844 xorg_cv_cc_flag_unused_command_line_argument=no 6621 6845 fi 6622 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6846 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6623 6847 fi 6624 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6625 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6848 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6849 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6626 6850 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6627 6851 CFLAGS="$xorg_testset_save_CFLAGS" 6628 6852 fi ··· 6640 6864 6641 6865 CFLAGS="$CFLAGS -Werror=implicit" 6642 6866 6643 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6644 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 6867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6868 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 6645 6869 cacheid=xorg_cv_cc_flag__Werror_implicit 6646 - if eval \${$cacheid+:} false; then : 6647 - $as_echo_n "(cached) " >&6 6648 - else 6870 + if eval test \${$cacheid+y} 6871 + then : 6872 + printf %s "(cached) " >&6 6873 + else $as_nop 6649 6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6650 6875 /* end confdefs.h. */ 6651 6876 int i; 6652 6877 int 6653 - main () 6878 + main (void) 6654 6879 { 6655 6880 6656 6881 ; 6657 6882 return 0; 6658 6883 } 6659 6884 _ACEOF 6660 - if ac_fn_c_try_link "$LINENO"; then : 6885 + if ac_fn_c_try_link "$LINENO" 6886 + then : 6661 6887 eval $cacheid=yes 6662 - else 6888 + else $as_nop 6663 6889 eval $cacheid=no 6664 6890 fi 6665 - rm -f core conftest.err conftest.$ac_objext \ 6891 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6666 6892 conftest$ac_exeext conftest.$ac_ext 6667 6893 fi 6668 6894 ··· 6670 6896 CFLAGS="$xorg_testset_save_CFLAGS" 6671 6897 6672 6898 eval supported=\$$cacheid 6673 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6674 - $as_echo "$supported" >&6; } 6899 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6900 + printf "%s\n" "$supported" >&6; } 6675 6901 if test "$supported" = "yes" ; then 6676 6902 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 6677 6903 found="yes" ··· 6689 6915 6690 6916 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6691 6917 6692 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6693 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6919 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6694 6920 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 6695 - if eval \${$cacheid+:} false; then : 6696 - $as_echo_n "(cached) " >&6 6697 - else 6921 + if eval test \${$cacheid+y} 6922 + then : 6923 + printf %s "(cached) " >&6 6924 + else $as_nop 6698 6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6699 6926 /* end confdefs.h. */ 6700 6927 int i; 6701 6928 int 6702 - main () 6929 + main (void) 6703 6930 { 6704 6931 6705 6932 ; 6706 6933 return 0; 6707 6934 } 6708 6935 _ACEOF 6709 - if ac_fn_c_try_link "$LINENO"; then : 6936 + if ac_fn_c_try_link "$LINENO" 6937 + then : 6710 6938 eval $cacheid=yes 6711 - else 6939 + else $as_nop 6712 6940 eval $cacheid=no 6713 6941 fi 6714 - rm -f core conftest.err conftest.$ac_objext \ 6942 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6715 6943 conftest$ac_exeext conftest.$ac_ext 6716 6944 fi 6717 6945 ··· 6719 6947 CFLAGS="$xorg_testset_save_CFLAGS" 6720 6948 6721 6949 eval supported=\$$cacheid 6722 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6723 - $as_echo "$supported" >&6; } 6950 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6951 + printf "%s\n" "$supported" >&6; } 6724 6952 if test "$supported" = "yes" ; then 6725 6953 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6726 6954 found="yes" ··· 6745 6973 6746 6974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6747 6975 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6748 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6749 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6750 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6751 - $as_echo_n "(cached) " >&6 6752 - else 6976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6977 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6978 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6979 + then : 6980 + printf %s "(cached) " >&6 6981 + else $as_nop 6753 6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6754 6983 /* end confdefs.h. */ 6755 6984 int i; 6756 6985 _ACEOF 6757 - if ac_fn_c_try_compile "$LINENO"; then : 6986 + if ac_fn_c_try_compile "$LINENO" 6987 + then : 6758 6988 xorg_cv_cc_flag_unknown_warning_option=yes 6759 - else 6989 + else $as_nop 6760 6990 xorg_cv_cc_flag_unknown_warning_option=no 6761 6991 fi 6762 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6992 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6763 6993 fi 6764 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6765 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6995 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6766 6996 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6767 6997 CFLAGS="$xorg_testset_save_CFLAGS" 6768 6998 fi ··· 6772 7002 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6773 7003 fi 6774 7004 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6775 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6776 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6777 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6778 - $as_echo_n "(cached) " >&6 6779 - else 7005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7006 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7007 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7008 + then : 7009 + printf %s "(cached) " >&6 7010 + else $as_nop 6780 7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6781 7012 /* end confdefs.h. */ 6782 7013 int i; 6783 7014 _ACEOF 6784 - if ac_fn_c_try_compile "$LINENO"; then : 7015 + if ac_fn_c_try_compile "$LINENO" 7016 + then : 6785 7017 xorg_cv_cc_flag_unused_command_line_argument=yes 6786 - else 7018 + else $as_nop 6787 7019 xorg_cv_cc_flag_unused_command_line_argument=no 6788 7020 fi 6789 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7021 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6790 7022 fi 6791 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6792 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7023 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7024 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6793 7025 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6794 7026 CFLAGS="$xorg_testset_save_CFLAGS" 6795 7027 fi ··· 6807 7039 6808 7040 CFLAGS="$CFLAGS -Werror=nonnull" 6809 7041 6810 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 6811 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 7042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 7043 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 6812 7044 cacheid=xorg_cv_cc_flag__Werror_nonnull 6813 - if eval \${$cacheid+:} false; then : 6814 - $as_echo_n "(cached) " >&6 6815 - else 7045 + if eval test \${$cacheid+y} 7046 + then : 7047 + printf %s "(cached) " >&6 7048 + else $as_nop 6816 7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6817 7050 /* end confdefs.h. */ 6818 7051 int i; 6819 7052 int 6820 - main () 7053 + main (void) 6821 7054 { 6822 7055 6823 7056 ; 6824 7057 return 0; 6825 7058 } 6826 7059 _ACEOF 6827 - if ac_fn_c_try_link "$LINENO"; then : 7060 + if ac_fn_c_try_link "$LINENO" 7061 + then : 6828 7062 eval $cacheid=yes 6829 - else 7063 + else $as_nop 6830 7064 eval $cacheid=no 6831 7065 fi 6832 - rm -f core conftest.err conftest.$ac_objext \ 7066 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6833 7067 conftest$ac_exeext conftest.$ac_ext 6834 7068 fi 6835 7069 ··· 6837 7071 CFLAGS="$xorg_testset_save_CFLAGS" 6838 7072 6839 7073 eval supported=\$$cacheid 6840 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6841 - $as_echo "$supported" >&6; } 7074 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7075 + printf "%s\n" "$supported" >&6; } 6842 7076 if test "$supported" = "yes" ; then 6843 7077 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 6844 7078 found="yes" ··· 6863 7097 6864 7098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6865 7099 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6866 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6867 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6868 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6869 - $as_echo_n "(cached) " >&6 6870 - else 7100 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7101 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7102 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7103 + then : 7104 + printf %s "(cached) " >&6 7105 + else $as_nop 6871 7106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6872 7107 /* end confdefs.h. */ 6873 7108 int i; 6874 7109 _ACEOF 6875 - if ac_fn_c_try_compile "$LINENO"; then : 7110 + if ac_fn_c_try_compile "$LINENO" 7111 + then : 6876 7112 xorg_cv_cc_flag_unknown_warning_option=yes 6877 - else 7113 + else $as_nop 6878 7114 xorg_cv_cc_flag_unknown_warning_option=no 6879 7115 fi 6880 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7116 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6881 7117 fi 6882 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6883 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7119 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6884 7120 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6885 7121 CFLAGS="$xorg_testset_save_CFLAGS" 6886 7122 fi ··· 6890 7126 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6891 7127 fi 6892 7128 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6893 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6894 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6895 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6896 - $as_echo_n "(cached) " >&6 6897 - else 7129 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7130 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7131 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7132 + then : 7133 + printf %s "(cached) " >&6 7134 + else $as_nop 6898 7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6899 7136 /* end confdefs.h. */ 6900 7137 int i; 6901 7138 _ACEOF 6902 - if ac_fn_c_try_compile "$LINENO"; then : 7139 + if ac_fn_c_try_compile "$LINENO" 7140 + then : 6903 7141 xorg_cv_cc_flag_unused_command_line_argument=yes 6904 - else 7142 + else $as_nop 6905 7143 xorg_cv_cc_flag_unused_command_line_argument=no 6906 7144 fi 6907 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7145 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6908 7146 fi 6909 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6910 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7147 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7148 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6911 7149 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6912 7150 CFLAGS="$xorg_testset_save_CFLAGS" 6913 7151 fi ··· 6925 7163 6926 7164 CFLAGS="$CFLAGS -Werror=init-self" 6927 7165 6928 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 6929 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 7166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7167 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 6930 7168 cacheid=xorg_cv_cc_flag__Werror_init_self 6931 - if eval \${$cacheid+:} false; then : 6932 - $as_echo_n "(cached) " >&6 6933 - else 7169 + if eval test \${$cacheid+y} 7170 + then : 7171 + printf %s "(cached) " >&6 7172 + else $as_nop 6934 7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6935 7174 /* end confdefs.h. */ 6936 7175 int i; 6937 7176 int 6938 - main () 7177 + main (void) 6939 7178 { 6940 7179 6941 7180 ; 6942 7181 return 0; 6943 7182 } 6944 7183 _ACEOF 6945 - if ac_fn_c_try_link "$LINENO"; then : 7184 + if ac_fn_c_try_link "$LINENO" 7185 + then : 6946 7186 eval $cacheid=yes 6947 - else 7187 + else $as_nop 6948 7188 eval $cacheid=no 6949 7189 fi 6950 - rm -f core conftest.err conftest.$ac_objext \ 7190 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6951 7191 conftest$ac_exeext conftest.$ac_ext 6952 7192 fi 6953 7193 ··· 6955 7195 CFLAGS="$xorg_testset_save_CFLAGS" 6956 7196 6957 7197 eval supported=\$$cacheid 6958 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6959 - $as_echo "$supported" >&6; } 7198 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7199 + printf "%s\n" "$supported" >&6; } 6960 7200 if test "$supported" = "yes" ; then 6961 7201 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 6962 7202 found="yes" ··· 6981 7221 6982 7222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6983 7223 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6984 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6985 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6986 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6987 - $as_echo_n "(cached) " >&6 6988 - else 7224 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7225 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7226 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7227 + then : 7228 + printf %s "(cached) " >&6 7229 + else $as_nop 6989 7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6990 7231 /* end confdefs.h. */ 6991 7232 int i; 6992 7233 _ACEOF 6993 - if ac_fn_c_try_compile "$LINENO"; then : 7234 + if ac_fn_c_try_compile "$LINENO" 7235 + then : 6994 7236 xorg_cv_cc_flag_unknown_warning_option=yes 6995 - else 7237 + else $as_nop 6996 7238 xorg_cv_cc_flag_unknown_warning_option=no 6997 7239 fi 6998 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7240 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6999 7241 fi 7000 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7001 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7243 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7002 7244 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7003 7245 CFLAGS="$xorg_testset_save_CFLAGS" 7004 7246 fi ··· 7008 7250 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7009 7251 fi 7010 7252 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7011 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7012 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7013 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7014 - $as_echo_n "(cached) " >&6 7015 - else 7253 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7254 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7255 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7256 + then : 7257 + printf %s "(cached) " >&6 7258 + else $as_nop 7016 7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7017 7260 /* end confdefs.h. */ 7018 7261 int i; 7019 7262 _ACEOF 7020 - if ac_fn_c_try_compile "$LINENO"; then : 7263 + if ac_fn_c_try_compile "$LINENO" 7264 + then : 7021 7265 xorg_cv_cc_flag_unused_command_line_argument=yes 7022 - else 7266 + else $as_nop 7023 7267 xorg_cv_cc_flag_unused_command_line_argument=no 7024 7268 fi 7025 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7269 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7026 7270 fi 7027 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7028 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7271 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7272 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7029 7273 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7030 7274 CFLAGS="$xorg_testset_save_CFLAGS" 7031 7275 fi ··· 7043 7287 7044 7288 CFLAGS="$CFLAGS -Werror=main" 7045 7289 7046 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7047 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 7290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7291 + printf %s "checking if $CC supports -Werror=main... " >&6; } 7048 7292 cacheid=xorg_cv_cc_flag__Werror_main 7049 - if eval \${$cacheid+:} false; then : 7050 - $as_echo_n "(cached) " >&6 7051 - else 7293 + if eval test \${$cacheid+y} 7294 + then : 7295 + printf %s "(cached) " >&6 7296 + else $as_nop 7052 7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7053 7298 /* end confdefs.h. */ 7054 7299 int i; 7055 7300 int 7056 - main () 7301 + main (void) 7057 7302 { 7058 7303 7059 7304 ; 7060 7305 return 0; 7061 7306 } 7062 7307 _ACEOF 7063 - if ac_fn_c_try_link "$LINENO"; then : 7308 + if ac_fn_c_try_link "$LINENO" 7309 + then : 7064 7310 eval $cacheid=yes 7065 - else 7311 + else $as_nop 7066 7312 eval $cacheid=no 7067 7313 fi 7068 - rm -f core conftest.err conftest.$ac_objext \ 7314 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7069 7315 conftest$ac_exeext conftest.$ac_ext 7070 7316 fi 7071 7317 ··· 7073 7319 CFLAGS="$xorg_testset_save_CFLAGS" 7074 7320 7075 7321 eval supported=\$$cacheid 7076 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7077 - $as_echo "$supported" >&6; } 7322 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7323 + printf "%s\n" "$supported" >&6; } 7078 7324 if test "$supported" = "yes" ; then 7079 7325 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 7080 7326 found="yes" ··· 7099 7345 7100 7346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7101 7347 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7102 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7103 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7104 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7105 - $as_echo_n "(cached) " >&6 7106 - else 7348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7349 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7350 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7351 + then : 7352 + printf %s "(cached) " >&6 7353 + else $as_nop 7107 7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7108 7355 /* end confdefs.h. */ 7109 7356 int i; 7110 7357 _ACEOF 7111 - if ac_fn_c_try_compile "$LINENO"; then : 7358 + if ac_fn_c_try_compile "$LINENO" 7359 + then : 7112 7360 xorg_cv_cc_flag_unknown_warning_option=yes 7113 - else 7361 + else $as_nop 7114 7362 xorg_cv_cc_flag_unknown_warning_option=no 7115 7363 fi 7116 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7364 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7117 7365 fi 7118 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7119 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7367 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7120 7368 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7121 7369 CFLAGS="$xorg_testset_save_CFLAGS" 7122 7370 fi ··· 7126 7374 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7127 7375 fi 7128 7376 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7129 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7130 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7131 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7132 - $as_echo_n "(cached) " >&6 7133 - else 7377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7378 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7379 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7380 + then : 7381 + printf %s "(cached) " >&6 7382 + else $as_nop 7134 7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7135 7384 /* end confdefs.h. */ 7136 7385 int i; 7137 7386 _ACEOF 7138 - if ac_fn_c_try_compile "$LINENO"; then : 7387 + if ac_fn_c_try_compile "$LINENO" 7388 + then : 7139 7389 xorg_cv_cc_flag_unused_command_line_argument=yes 7140 - else 7390 + else $as_nop 7141 7391 xorg_cv_cc_flag_unused_command_line_argument=no 7142 7392 fi 7143 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7393 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7144 7394 fi 7145 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7146 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7396 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7147 7397 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7148 7398 CFLAGS="$xorg_testset_save_CFLAGS" 7149 7399 fi ··· 7161 7411 7162 7412 CFLAGS="$CFLAGS -Werror=missing-braces" 7163 7413 7164 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7165 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 7414 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7415 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 7166 7416 cacheid=xorg_cv_cc_flag__Werror_missing_braces 7167 - if eval \${$cacheid+:} false; then : 7168 - $as_echo_n "(cached) " >&6 7169 - else 7417 + if eval test \${$cacheid+y} 7418 + then : 7419 + printf %s "(cached) " >&6 7420 + else $as_nop 7170 7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7171 7422 /* end confdefs.h. */ 7172 7423 int i; 7173 7424 int 7174 - main () 7425 + main (void) 7175 7426 { 7176 7427 7177 7428 ; 7178 7429 return 0; 7179 7430 } 7180 7431 _ACEOF 7181 - if ac_fn_c_try_link "$LINENO"; then : 7432 + if ac_fn_c_try_link "$LINENO" 7433 + then : 7182 7434 eval $cacheid=yes 7183 - else 7435 + else $as_nop 7184 7436 eval $cacheid=no 7185 7437 fi 7186 - rm -f core conftest.err conftest.$ac_objext \ 7438 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7187 7439 conftest$ac_exeext conftest.$ac_ext 7188 7440 fi 7189 7441 ··· 7191 7443 CFLAGS="$xorg_testset_save_CFLAGS" 7192 7444 7193 7445 eval supported=\$$cacheid 7194 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7195 - $as_echo "$supported" >&6; } 7446 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7447 + printf "%s\n" "$supported" >&6; } 7196 7448 if test "$supported" = "yes" ; then 7197 7449 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 7198 7450 found="yes" ··· 7217 7469 7218 7470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7219 7471 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7220 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7221 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7222 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7223 - $as_echo_n "(cached) " >&6 7224 - else 7472 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7473 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7474 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7475 + then : 7476 + printf %s "(cached) " >&6 7477 + else $as_nop 7225 7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7226 7479 /* end confdefs.h. */ 7227 7480 int i; 7228 7481 _ACEOF 7229 - if ac_fn_c_try_compile "$LINENO"; then : 7482 + if ac_fn_c_try_compile "$LINENO" 7483 + then : 7230 7484 xorg_cv_cc_flag_unknown_warning_option=yes 7231 - else 7485 + else $as_nop 7232 7486 xorg_cv_cc_flag_unknown_warning_option=no 7233 7487 fi 7234 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7488 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7235 7489 fi 7236 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7237 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7491 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7238 7492 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7239 7493 CFLAGS="$xorg_testset_save_CFLAGS" 7240 7494 fi ··· 7244 7498 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7245 7499 fi 7246 7500 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7247 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7248 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7249 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7250 - $as_echo_n "(cached) " >&6 7251 - else 7501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7502 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7503 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7504 + then : 7505 + printf %s "(cached) " >&6 7506 + else $as_nop 7252 7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7253 7508 /* end confdefs.h. */ 7254 7509 int i; 7255 7510 _ACEOF 7256 - if ac_fn_c_try_compile "$LINENO"; then : 7511 + if ac_fn_c_try_compile "$LINENO" 7512 + then : 7257 7513 xorg_cv_cc_flag_unused_command_line_argument=yes 7258 - else 7514 + else $as_nop 7259 7515 xorg_cv_cc_flag_unused_command_line_argument=no 7260 7516 fi 7261 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7517 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7262 7518 fi 7263 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7264 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7520 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7265 7521 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7266 7522 CFLAGS="$xorg_testset_save_CFLAGS" 7267 7523 fi ··· 7279 7535 7280 7536 CFLAGS="$CFLAGS -Werror=sequence-point" 7281 7537 7282 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7283 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 7538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7539 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 7284 7540 cacheid=xorg_cv_cc_flag__Werror_sequence_point 7285 - if eval \${$cacheid+:} false; then : 7286 - $as_echo_n "(cached) " >&6 7287 - else 7541 + if eval test \${$cacheid+y} 7542 + then : 7543 + printf %s "(cached) " >&6 7544 + else $as_nop 7288 7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7289 7546 /* end confdefs.h. */ 7290 7547 int i; 7291 7548 int 7292 - main () 7549 + main (void) 7293 7550 { 7294 7551 7295 7552 ; 7296 7553 return 0; 7297 7554 } 7298 7555 _ACEOF 7299 - if ac_fn_c_try_link "$LINENO"; then : 7556 + if ac_fn_c_try_link "$LINENO" 7557 + then : 7300 7558 eval $cacheid=yes 7301 - else 7559 + else $as_nop 7302 7560 eval $cacheid=no 7303 7561 fi 7304 - rm -f core conftest.err conftest.$ac_objext \ 7562 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7305 7563 conftest$ac_exeext conftest.$ac_ext 7306 7564 fi 7307 7565 ··· 7309 7567 CFLAGS="$xorg_testset_save_CFLAGS" 7310 7568 7311 7569 eval supported=\$$cacheid 7312 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7313 - $as_echo "$supported" >&6; } 7570 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7571 + printf "%s\n" "$supported" >&6; } 7314 7572 if test "$supported" = "yes" ; then 7315 7573 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 7316 7574 found="yes" ··· 7335 7593 7336 7594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7337 7595 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7338 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7339 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7340 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7341 - $as_echo_n "(cached) " >&6 7342 - else 7596 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7597 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7598 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7599 + then : 7600 + printf %s "(cached) " >&6 7601 + else $as_nop 7343 7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7344 7603 /* end confdefs.h. */ 7345 7604 int i; 7346 7605 _ACEOF 7347 - if ac_fn_c_try_compile "$LINENO"; then : 7606 + if ac_fn_c_try_compile "$LINENO" 7607 + then : 7348 7608 xorg_cv_cc_flag_unknown_warning_option=yes 7349 - else 7609 + else $as_nop 7350 7610 xorg_cv_cc_flag_unknown_warning_option=no 7351 7611 fi 7352 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7612 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7353 7613 fi 7354 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7355 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7615 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7356 7616 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7357 7617 CFLAGS="$xorg_testset_save_CFLAGS" 7358 7618 fi ··· 7362 7622 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7363 7623 fi 7364 7624 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7365 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7366 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7367 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7368 - $as_echo_n "(cached) " >&6 7369 - else 7625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7626 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7627 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7628 + then : 7629 + printf %s "(cached) " >&6 7630 + else $as_nop 7370 7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7371 7632 /* end confdefs.h. */ 7372 7633 int i; 7373 7634 _ACEOF 7374 - if ac_fn_c_try_compile "$LINENO"; then : 7635 + if ac_fn_c_try_compile "$LINENO" 7636 + then : 7375 7637 xorg_cv_cc_flag_unused_command_line_argument=yes 7376 - else 7638 + else $as_nop 7377 7639 xorg_cv_cc_flag_unused_command_line_argument=no 7378 7640 fi 7379 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7641 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7380 7642 fi 7381 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7382 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7644 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7383 7645 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7384 7646 CFLAGS="$xorg_testset_save_CFLAGS" 7385 7647 fi ··· 7397 7659 7398 7660 CFLAGS="$CFLAGS -Werror=return-type" 7399 7661 7400 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7401 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 7662 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7663 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 7402 7664 cacheid=xorg_cv_cc_flag__Werror_return_type 7403 - if eval \${$cacheid+:} false; then : 7404 - $as_echo_n "(cached) " >&6 7405 - else 7665 + if eval test \${$cacheid+y} 7666 + then : 7667 + printf %s "(cached) " >&6 7668 + else $as_nop 7406 7669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7407 7670 /* end confdefs.h. */ 7408 7671 int i; 7409 7672 int 7410 - main () 7673 + main (void) 7411 7674 { 7412 7675 7413 7676 ; 7414 7677 return 0; 7415 7678 } 7416 7679 _ACEOF 7417 - if ac_fn_c_try_link "$LINENO"; then : 7680 + if ac_fn_c_try_link "$LINENO" 7681 + then : 7418 7682 eval $cacheid=yes 7419 - else 7683 + else $as_nop 7420 7684 eval $cacheid=no 7421 7685 fi 7422 - rm -f core conftest.err conftest.$ac_objext \ 7686 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7423 7687 conftest$ac_exeext conftest.$ac_ext 7424 7688 fi 7425 7689 ··· 7427 7691 CFLAGS="$xorg_testset_save_CFLAGS" 7428 7692 7429 7693 eval supported=\$$cacheid 7430 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7431 - $as_echo "$supported" >&6; } 7694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7695 + printf "%s\n" "$supported" >&6; } 7432 7696 if test "$supported" = "yes" ; then 7433 7697 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 7434 7698 found="yes" ··· 7446 7710 7447 7711 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7448 7712 7449 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7450 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7713 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7714 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7451 7715 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 7452 - if eval \${$cacheid+:} false; then : 7453 - $as_echo_n "(cached) " >&6 7454 - else 7716 + if eval test \${$cacheid+y} 7717 + then : 7718 + printf %s "(cached) " >&6 7719 + else $as_nop 7455 7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7456 7721 /* end confdefs.h. */ 7457 7722 int i; 7458 7723 int 7459 - main () 7724 + main (void) 7460 7725 { 7461 7726 7462 7727 ; 7463 7728 return 0; 7464 7729 } 7465 7730 _ACEOF 7466 - if ac_fn_c_try_link "$LINENO"; then : 7731 + if ac_fn_c_try_link "$LINENO" 7732 + then : 7467 7733 eval $cacheid=yes 7468 - else 7734 + else $as_nop 7469 7735 eval $cacheid=no 7470 7736 fi 7471 - rm -f core conftest.err conftest.$ac_objext \ 7737 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7472 7738 conftest$ac_exeext conftest.$ac_ext 7473 7739 fi 7474 7740 ··· 7476 7742 CFLAGS="$xorg_testset_save_CFLAGS" 7477 7743 7478 7744 eval supported=\$$cacheid 7479 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7480 - $as_echo "$supported" >&6; } 7745 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7746 + printf "%s\n" "$supported" >&6; } 7481 7747 if test "$supported" = "yes" ; then 7482 7748 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7483 7749 found="yes" ··· 7502 7768 7503 7769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7504 7770 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7505 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7506 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7507 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7508 - $as_echo_n "(cached) " >&6 7509 - else 7771 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7772 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7773 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7774 + then : 7775 + printf %s "(cached) " >&6 7776 + else $as_nop 7510 7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7511 7778 /* end confdefs.h. */ 7512 7779 int i; 7513 7780 _ACEOF 7514 - if ac_fn_c_try_compile "$LINENO"; then : 7781 + if ac_fn_c_try_compile "$LINENO" 7782 + then : 7515 7783 xorg_cv_cc_flag_unknown_warning_option=yes 7516 - else 7784 + else $as_nop 7517 7785 xorg_cv_cc_flag_unknown_warning_option=no 7518 7786 fi 7519 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7787 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7520 7788 fi 7521 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7522 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7789 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7790 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7523 7791 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7524 7792 CFLAGS="$xorg_testset_save_CFLAGS" 7525 7793 fi ··· 7529 7797 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7530 7798 fi 7531 7799 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7532 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7533 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7534 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7535 - $as_echo_n "(cached) " >&6 7536 - else 7800 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7801 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7802 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7803 + then : 7804 + printf %s "(cached) " >&6 7805 + else $as_nop 7537 7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7538 7807 /* end confdefs.h. */ 7539 7808 int i; 7540 7809 _ACEOF 7541 - if ac_fn_c_try_compile "$LINENO"; then : 7810 + if ac_fn_c_try_compile "$LINENO" 7811 + then : 7542 7812 xorg_cv_cc_flag_unused_command_line_argument=yes 7543 - else 7813 + else $as_nop 7544 7814 xorg_cv_cc_flag_unused_command_line_argument=no 7545 7815 fi 7546 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7816 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7547 7817 fi 7548 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7549 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7818 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7819 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7550 7820 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7551 7821 CFLAGS="$xorg_testset_save_CFLAGS" 7552 7822 fi ··· 7564 7834 7565 7835 CFLAGS="$CFLAGS -Werror=trigraphs" 7566 7836 7567 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7568 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 7837 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7838 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 7569 7839 cacheid=xorg_cv_cc_flag__Werror_trigraphs 7570 - if eval \${$cacheid+:} false; then : 7571 - $as_echo_n "(cached) " >&6 7572 - else 7840 + if eval test \${$cacheid+y} 7841 + then : 7842 + printf %s "(cached) " >&6 7843 + else $as_nop 7573 7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7574 7845 /* end confdefs.h. */ 7575 7846 int i; 7576 7847 int 7577 - main () 7848 + main (void) 7578 7849 { 7579 7850 7580 7851 ; 7581 7852 return 0; 7582 7853 } 7583 7854 _ACEOF 7584 - if ac_fn_c_try_link "$LINENO"; then : 7855 + if ac_fn_c_try_link "$LINENO" 7856 + then : 7585 7857 eval $cacheid=yes 7586 - else 7858 + else $as_nop 7587 7859 eval $cacheid=no 7588 7860 fi 7589 - rm -f core conftest.err conftest.$ac_objext \ 7861 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7590 7862 conftest$ac_exeext conftest.$ac_ext 7591 7863 fi 7592 7864 ··· 7594 7866 CFLAGS="$xorg_testset_save_CFLAGS" 7595 7867 7596 7868 eval supported=\$$cacheid 7597 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7598 - $as_echo "$supported" >&6; } 7869 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7870 + printf "%s\n" "$supported" >&6; } 7599 7871 if test "$supported" = "yes" ; then 7600 7872 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 7601 7873 found="yes" ··· 7620 7892 7621 7893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7622 7894 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7623 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7624 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7625 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7626 - $as_echo_n "(cached) " >&6 7627 - else 7895 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7896 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7897 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7898 + then : 7899 + printf %s "(cached) " >&6 7900 + else $as_nop 7628 7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7629 7902 /* end confdefs.h. */ 7630 7903 int i; 7631 7904 _ACEOF 7632 - if ac_fn_c_try_compile "$LINENO"; then : 7905 + if ac_fn_c_try_compile "$LINENO" 7906 + then : 7633 7907 xorg_cv_cc_flag_unknown_warning_option=yes 7634 - else 7908 + else $as_nop 7635 7909 xorg_cv_cc_flag_unknown_warning_option=no 7636 7910 fi 7637 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7911 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7638 7912 fi 7639 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7640 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7913 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7914 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7641 7915 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7642 7916 CFLAGS="$xorg_testset_save_CFLAGS" 7643 7917 fi ··· 7647 7921 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7648 7922 fi 7649 7923 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7650 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7651 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7652 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7653 - $as_echo_n "(cached) " >&6 7654 - else 7924 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7925 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7926 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7927 + then : 7928 + printf %s "(cached) " >&6 7929 + else $as_nop 7655 7930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7656 7931 /* end confdefs.h. */ 7657 7932 int i; 7658 7933 _ACEOF 7659 - if ac_fn_c_try_compile "$LINENO"; then : 7934 + if ac_fn_c_try_compile "$LINENO" 7935 + then : 7660 7936 xorg_cv_cc_flag_unused_command_line_argument=yes 7661 - else 7937 + else $as_nop 7662 7938 xorg_cv_cc_flag_unused_command_line_argument=no 7663 7939 fi 7664 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7940 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7665 7941 fi 7666 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7667 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7942 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7943 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7668 7944 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7669 7945 CFLAGS="$xorg_testset_save_CFLAGS" 7670 7946 fi ··· 7682 7958 7683 7959 CFLAGS="$CFLAGS -Werror=array-bounds" 7684 7960 7685 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7686 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 7961 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7962 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 7687 7963 cacheid=xorg_cv_cc_flag__Werror_array_bounds 7688 - if eval \${$cacheid+:} false; then : 7689 - $as_echo_n "(cached) " >&6 7690 - else 7964 + if eval test \${$cacheid+y} 7965 + then : 7966 + printf %s "(cached) " >&6 7967 + else $as_nop 7691 7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7692 7969 /* end confdefs.h. */ 7693 7970 int i; 7694 7971 int 7695 - main () 7972 + main (void) 7696 7973 { 7697 7974 7698 7975 ; 7699 7976 return 0; 7700 7977 } 7701 7978 _ACEOF 7702 - if ac_fn_c_try_link "$LINENO"; then : 7979 + if ac_fn_c_try_link "$LINENO" 7980 + then : 7703 7981 eval $cacheid=yes 7704 - else 7982 + else $as_nop 7705 7983 eval $cacheid=no 7706 7984 fi 7707 - rm -f core conftest.err conftest.$ac_objext \ 7985 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7708 7986 conftest$ac_exeext conftest.$ac_ext 7709 7987 fi 7710 7988 ··· 7712 7990 CFLAGS="$xorg_testset_save_CFLAGS" 7713 7991 7714 7992 eval supported=\$$cacheid 7715 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7716 - $as_echo "$supported" >&6; } 7993 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7994 + printf "%s\n" "$supported" >&6; } 7717 7995 if test "$supported" = "yes" ; then 7718 7996 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 7719 7997 found="yes" ··· 7738 8016 7739 8017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7740 8018 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7741 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7742 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7743 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7744 - $as_echo_n "(cached) " >&6 7745 - else 8019 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8020 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8021 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8022 + then : 8023 + printf %s "(cached) " >&6 8024 + else $as_nop 7746 8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7747 8026 /* end confdefs.h. */ 7748 8027 int i; 7749 8028 _ACEOF 7750 - if ac_fn_c_try_compile "$LINENO"; then : 8029 + if ac_fn_c_try_compile "$LINENO" 8030 + then : 7751 8031 xorg_cv_cc_flag_unknown_warning_option=yes 7752 - else 8032 + else $as_nop 7753 8033 xorg_cv_cc_flag_unknown_warning_option=no 7754 8034 fi 7755 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8035 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7756 8036 fi 7757 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7758 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8038 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7759 8039 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7760 8040 CFLAGS="$xorg_testset_save_CFLAGS" 7761 8041 fi ··· 7765 8045 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7766 8046 fi 7767 8047 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7768 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7769 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7770 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7771 - $as_echo_n "(cached) " >&6 7772 - else 8048 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8049 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8050 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8051 + then : 8052 + printf %s "(cached) " >&6 8053 + else $as_nop 7773 8054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7774 8055 /* end confdefs.h. */ 7775 8056 int i; 7776 8057 _ACEOF 7777 - if ac_fn_c_try_compile "$LINENO"; then : 8058 + if ac_fn_c_try_compile "$LINENO" 8059 + then : 7778 8060 xorg_cv_cc_flag_unused_command_line_argument=yes 7779 - else 8061 + else $as_nop 7780 8062 xorg_cv_cc_flag_unused_command_line_argument=no 7781 8063 fi 7782 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8064 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7783 8065 fi 7784 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7785 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8066 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8067 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7786 8068 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7787 8069 CFLAGS="$xorg_testset_save_CFLAGS" 7788 8070 fi ··· 7800 8082 7801 8083 CFLAGS="$CFLAGS -Werror=write-strings" 7802 8084 7803 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 7804 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 8085 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 8086 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 7805 8087 cacheid=xorg_cv_cc_flag__Werror_write_strings 7806 - if eval \${$cacheid+:} false; then : 7807 - $as_echo_n "(cached) " >&6 7808 - else 8088 + if eval test \${$cacheid+y} 8089 + then : 8090 + printf %s "(cached) " >&6 8091 + else $as_nop 7809 8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7810 8093 /* end confdefs.h. */ 7811 8094 int i; 7812 8095 int 7813 - main () 8096 + main (void) 7814 8097 { 7815 8098 7816 8099 ; 7817 8100 return 0; 7818 8101 } 7819 8102 _ACEOF 7820 - if ac_fn_c_try_link "$LINENO"; then : 8103 + if ac_fn_c_try_link "$LINENO" 8104 + then : 7821 8105 eval $cacheid=yes 7822 - else 8106 + else $as_nop 7823 8107 eval $cacheid=no 7824 8108 fi 7825 - rm -f core conftest.err conftest.$ac_objext \ 8109 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7826 8110 conftest$ac_exeext conftest.$ac_ext 7827 8111 fi 7828 8112 ··· 7830 8114 CFLAGS="$xorg_testset_save_CFLAGS" 7831 8115 7832 8116 eval supported=\$$cacheid 7833 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7834 - $as_echo "$supported" >&6; } 8117 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8118 + printf "%s\n" "$supported" >&6; } 7835 8119 if test "$supported" = "yes" ; then 7836 8120 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 7837 8121 found="yes" ··· 7856 8140 7857 8141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7858 8142 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7859 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7860 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7861 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7862 - $as_echo_n "(cached) " >&6 7863 - else 8143 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8144 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8145 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8146 + then : 8147 + printf %s "(cached) " >&6 8148 + else $as_nop 7864 8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7865 8150 /* end confdefs.h. */ 7866 8151 int i; 7867 8152 _ACEOF 7868 - if ac_fn_c_try_compile "$LINENO"; then : 8153 + if ac_fn_c_try_compile "$LINENO" 8154 + then : 7869 8155 xorg_cv_cc_flag_unknown_warning_option=yes 7870 - else 8156 + else $as_nop 7871 8157 xorg_cv_cc_flag_unknown_warning_option=no 7872 8158 fi 7873 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8159 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7874 8160 fi 7875 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7876 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8161 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8162 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7877 8163 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7878 8164 CFLAGS="$xorg_testset_save_CFLAGS" 7879 8165 fi ··· 7883 8169 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7884 8170 fi 7885 8171 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7886 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7887 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7888 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7889 - $as_echo_n "(cached) " >&6 7890 - else 8172 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8173 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8174 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8175 + then : 8176 + printf %s "(cached) " >&6 8177 + else $as_nop 7891 8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7892 8179 /* end confdefs.h. */ 7893 8180 int i; 7894 8181 _ACEOF 7895 - if ac_fn_c_try_compile "$LINENO"; then : 8182 + if ac_fn_c_try_compile "$LINENO" 8183 + then : 7896 8184 xorg_cv_cc_flag_unused_command_line_argument=yes 7897 - else 8185 + else $as_nop 7898 8186 xorg_cv_cc_flag_unused_command_line_argument=no 7899 8187 fi 7900 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8188 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7901 8189 fi 7902 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7903 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8190 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8191 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7904 8192 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7905 8193 CFLAGS="$xorg_testset_save_CFLAGS" 7906 8194 fi ··· 7918 8206 7919 8207 CFLAGS="$CFLAGS -Werror=address" 7920 8208 7921 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 7922 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 8209 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8210 + printf %s "checking if $CC supports -Werror=address... " >&6; } 7923 8211 cacheid=xorg_cv_cc_flag__Werror_address 7924 - if eval \${$cacheid+:} false; then : 7925 - $as_echo_n "(cached) " >&6 7926 - else 8212 + if eval test \${$cacheid+y} 8213 + then : 8214 + printf %s "(cached) " >&6 8215 + else $as_nop 7927 8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7928 8217 /* end confdefs.h. */ 7929 8218 int i; 7930 8219 int 7931 - main () 8220 + main (void) 7932 8221 { 7933 8222 7934 8223 ; 7935 8224 return 0; 7936 8225 } 7937 8226 _ACEOF 7938 - if ac_fn_c_try_link "$LINENO"; then : 8227 + if ac_fn_c_try_link "$LINENO" 8228 + then : 7939 8229 eval $cacheid=yes 7940 - else 8230 + else $as_nop 7941 8231 eval $cacheid=no 7942 8232 fi 7943 - rm -f core conftest.err conftest.$ac_objext \ 8233 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7944 8234 conftest$ac_exeext conftest.$ac_ext 7945 8235 fi 7946 8236 ··· 7948 8238 CFLAGS="$xorg_testset_save_CFLAGS" 7949 8239 7950 8240 eval supported=\$$cacheid 7951 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7952 - $as_echo "$supported" >&6; } 8241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8242 + printf "%s\n" "$supported" >&6; } 7953 8243 if test "$supported" = "yes" ; then 7954 8244 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 7955 8245 found="yes" ··· 7974 8264 7975 8265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7976 8266 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7977 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7978 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7979 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7980 - $as_echo_n "(cached) " >&6 7981 - else 8267 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8268 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8269 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8270 + then : 8271 + printf %s "(cached) " >&6 8272 + else $as_nop 7982 8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7983 8274 /* end confdefs.h. */ 7984 8275 int i; 7985 8276 _ACEOF 7986 - if ac_fn_c_try_compile "$LINENO"; then : 8277 + if ac_fn_c_try_compile "$LINENO" 8278 + then : 7987 8279 xorg_cv_cc_flag_unknown_warning_option=yes 7988 - else 8280 + else $as_nop 7989 8281 xorg_cv_cc_flag_unknown_warning_option=no 7990 8282 fi 7991 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8283 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7992 8284 fi 7993 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7994 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8285 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8286 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7995 8287 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7996 8288 CFLAGS="$xorg_testset_save_CFLAGS" 7997 8289 fi ··· 8001 8293 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8002 8294 fi 8003 8295 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8004 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8005 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8006 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8007 - $as_echo_n "(cached) " >&6 8008 - else 8296 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8297 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8298 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8299 + then : 8300 + printf %s "(cached) " >&6 8301 + else $as_nop 8009 8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8010 8303 /* end confdefs.h. */ 8011 8304 int i; 8012 8305 _ACEOF 8013 - if ac_fn_c_try_compile "$LINENO"; then : 8306 + if ac_fn_c_try_compile "$LINENO" 8307 + then : 8014 8308 xorg_cv_cc_flag_unused_command_line_argument=yes 8015 - else 8309 + else $as_nop 8016 8310 xorg_cv_cc_flag_unused_command_line_argument=no 8017 8311 fi 8018 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8312 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8019 8313 fi 8020 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8021 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8314 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8315 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8022 8316 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8023 8317 CFLAGS="$xorg_testset_save_CFLAGS" 8024 8318 fi ··· 8036 8330 8037 8331 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 8038 8332 8039 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8040 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8333 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8334 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8041 8335 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 8042 - if eval \${$cacheid+:} false; then : 8043 - $as_echo_n "(cached) " >&6 8044 - else 8336 + if eval test \${$cacheid+y} 8337 + then : 8338 + printf %s "(cached) " >&6 8339 + else $as_nop 8045 8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8046 8341 /* end confdefs.h. */ 8047 8342 int i; 8048 8343 int 8049 - main () 8344 + main (void) 8050 8345 { 8051 8346 8052 8347 ; 8053 8348 return 0; 8054 8349 } 8055 8350 _ACEOF 8056 - if ac_fn_c_try_link "$LINENO"; then : 8351 + if ac_fn_c_try_link "$LINENO" 8352 + then : 8057 8353 eval $cacheid=yes 8058 - else 8354 + else $as_nop 8059 8355 eval $cacheid=no 8060 8356 fi 8061 - rm -f core conftest.err conftest.$ac_objext \ 8357 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8062 8358 conftest$ac_exeext conftest.$ac_ext 8063 8359 fi 8064 8360 ··· 8066 8362 CFLAGS="$xorg_testset_save_CFLAGS" 8067 8363 8068 8364 eval supported=\$$cacheid 8069 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8070 - $as_echo "$supported" >&6; } 8365 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8366 + printf "%s\n" "$supported" >&6; } 8071 8367 if test "$supported" = "yes" ; then 8072 8368 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 8073 8369 found="yes" ··· 8085 8381 8086 8382 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8087 8383 8088 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8089 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8384 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8385 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8090 8386 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 8091 - if eval \${$cacheid+:} false; then : 8092 - $as_echo_n "(cached) " >&6 8093 - else 8387 + if eval test \${$cacheid+y} 8388 + then : 8389 + printf %s "(cached) " >&6 8390 + else $as_nop 8094 8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8095 8392 /* end confdefs.h. */ 8096 8393 int i; 8097 8394 int 8098 - main () 8395 + main (void) 8099 8396 { 8100 8397 8101 8398 ; 8102 8399 return 0; 8103 8400 } 8104 8401 _ACEOF 8105 - if ac_fn_c_try_link "$LINENO"; then : 8402 + if ac_fn_c_try_link "$LINENO" 8403 + then : 8106 8404 eval $cacheid=yes 8107 - else 8405 + else $as_nop 8108 8406 eval $cacheid=no 8109 8407 fi 8110 - rm -f core conftest.err conftest.$ac_objext \ 8408 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8111 8409 conftest$ac_exeext conftest.$ac_ext 8112 8410 fi 8113 8411 ··· 8115 8413 CFLAGS="$xorg_testset_save_CFLAGS" 8116 8414 8117 8415 eval supported=\$$cacheid 8118 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8119 - $as_echo "$supported" >&6; } 8416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8417 + printf "%s\n" "$supported" >&6; } 8120 8418 if test "$supported" = "yes" ; then 8121 8419 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8122 8420 found="yes" ··· 8141 8439 8142 8440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8143 8441 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8144 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8145 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8146 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8147 - $as_echo_n "(cached) " >&6 8148 - else 8442 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8443 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8444 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8445 + then : 8446 + printf %s "(cached) " >&6 8447 + else $as_nop 8149 8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8150 8449 /* end confdefs.h. */ 8151 8450 int i; 8152 8451 _ACEOF 8153 - if ac_fn_c_try_compile "$LINENO"; then : 8452 + if ac_fn_c_try_compile "$LINENO" 8453 + then : 8154 8454 xorg_cv_cc_flag_unknown_warning_option=yes 8155 - else 8455 + else $as_nop 8156 8456 xorg_cv_cc_flag_unknown_warning_option=no 8157 8457 fi 8158 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8458 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8159 8459 fi 8160 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8161 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8461 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8162 8462 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8163 8463 CFLAGS="$xorg_testset_save_CFLAGS" 8164 8464 fi ··· 8168 8468 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8169 8469 fi 8170 8470 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8171 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8172 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8173 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8174 - $as_echo_n "(cached) " >&6 8175 - else 8471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8472 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8473 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8474 + then : 8475 + printf %s "(cached) " >&6 8476 + else $as_nop 8176 8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8177 8478 /* end confdefs.h. */ 8178 8479 int i; 8179 8480 _ACEOF 8180 - if ac_fn_c_try_compile "$LINENO"; then : 8481 + if ac_fn_c_try_compile "$LINENO" 8482 + then : 8181 8483 xorg_cv_cc_flag_unused_command_line_argument=yes 8182 - else 8484 + else $as_nop 8183 8485 xorg_cv_cc_flag_unused_command_line_argument=no 8184 8486 fi 8185 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8487 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8186 8488 fi 8187 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8188 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8489 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8490 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8189 8491 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8190 8492 CFLAGS="$xorg_testset_save_CFLAGS" 8191 8493 fi ··· 8203 8505 8204 8506 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 8205 8507 8206 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8207 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8508 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8509 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8208 8510 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 8209 - if eval \${$cacheid+:} false; then : 8210 - $as_echo_n "(cached) " >&6 8211 - else 8511 + if eval test \${$cacheid+y} 8512 + then : 8513 + printf %s "(cached) " >&6 8514 + else $as_nop 8212 8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8213 8516 /* end confdefs.h. */ 8214 8517 int i; 8215 8518 int 8216 - main () 8519 + main (void) 8217 8520 { 8218 8521 8219 8522 ; 8220 8523 return 0; 8221 8524 } 8222 8525 _ACEOF 8223 - if ac_fn_c_try_link "$LINENO"; then : 8526 + if ac_fn_c_try_link "$LINENO" 8527 + then : 8224 8528 eval $cacheid=yes 8225 - else 8529 + else $as_nop 8226 8530 eval $cacheid=no 8227 8531 fi 8228 - rm -f core conftest.err conftest.$ac_objext \ 8532 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8229 8533 conftest$ac_exeext conftest.$ac_ext 8230 8534 fi 8231 8535 ··· 8233 8537 CFLAGS="$xorg_testset_save_CFLAGS" 8234 8538 8235 8539 eval supported=\$$cacheid 8236 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8237 - $as_echo "$supported" >&6; } 8540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8541 + printf "%s\n" "$supported" >&6; } 8238 8542 if test "$supported" = "yes" ; then 8239 8543 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 8240 8544 found="yes" ··· 8243 8547 8244 8548 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 8245 8549 else 8246 - { $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 8247 - $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;} 8550 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5 8551 + printf "%s\n" "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;} 8248 8552 8249 8553 8250 8554 ··· 8262 8566 8263 8567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8264 8568 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8265 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8266 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8267 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8268 - $as_echo_n "(cached) " >&6 8269 - else 8569 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8570 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8571 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8572 + then : 8573 + printf %s "(cached) " >&6 8574 + else $as_nop 8270 8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8271 8576 /* end confdefs.h. */ 8272 8577 int i; 8273 8578 _ACEOF 8274 - if ac_fn_c_try_compile "$LINENO"; then : 8579 + if ac_fn_c_try_compile "$LINENO" 8580 + then : 8275 8581 xorg_cv_cc_flag_unknown_warning_option=yes 8276 - else 8582 + else $as_nop 8277 8583 xorg_cv_cc_flag_unknown_warning_option=no 8278 8584 fi 8279 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8585 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8280 8586 fi 8281 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8282 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8588 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8283 8589 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8284 8590 CFLAGS="$xorg_testset_save_CFLAGS" 8285 8591 fi ··· 8289 8595 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8290 8596 fi 8291 8597 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8292 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8293 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8294 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8295 - $as_echo_n "(cached) " >&6 8296 - else 8598 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8599 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8600 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8601 + then : 8602 + printf %s "(cached) " >&6 8603 + else $as_nop 8297 8604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8298 8605 /* end confdefs.h. */ 8299 8606 int i; 8300 8607 _ACEOF 8301 - if ac_fn_c_try_compile "$LINENO"; then : 8608 + if ac_fn_c_try_compile "$LINENO" 8609 + then : 8302 8610 xorg_cv_cc_flag_unused_command_line_argument=yes 8303 - else 8611 + else $as_nop 8304 8612 xorg_cv_cc_flag_unused_command_line_argument=no 8305 8613 fi 8306 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8614 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8307 8615 fi 8308 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8309 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8616 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8617 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8310 8618 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8311 8619 CFLAGS="$xorg_testset_save_CFLAGS" 8312 8620 fi ··· 8324 8632 8325 8633 CFLAGS="$CFLAGS -Wimplicit" 8326 8634 8327 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8328 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 8635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8636 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 8329 8637 cacheid=xorg_cv_cc_flag__Wimplicit 8330 - if eval \${$cacheid+:} false; then : 8331 - $as_echo_n "(cached) " >&6 8332 - else 8638 + if eval test \${$cacheid+y} 8639 + then : 8640 + printf %s "(cached) " >&6 8641 + else $as_nop 8333 8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8334 8643 /* end confdefs.h. */ 8335 8644 int i; 8336 8645 int 8337 - main () 8646 + main (void) 8338 8647 { 8339 8648 8340 8649 ; 8341 8650 return 0; 8342 8651 } 8343 8652 _ACEOF 8344 - if ac_fn_c_try_link "$LINENO"; then : 8653 + if ac_fn_c_try_link "$LINENO" 8654 + then : 8345 8655 eval $cacheid=yes 8346 - else 8656 + else $as_nop 8347 8657 eval $cacheid=no 8348 8658 fi 8349 - rm -f core conftest.err conftest.$ac_objext \ 8659 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8350 8660 conftest$ac_exeext conftest.$ac_ext 8351 8661 fi 8352 8662 ··· 8354 8664 CFLAGS="$xorg_testset_save_CFLAGS" 8355 8665 8356 8666 eval supported=\$$cacheid 8357 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8358 - $as_echo "$supported" >&6; } 8667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8668 + printf "%s\n" "$supported" >&6; } 8359 8669 if test "$supported" = "yes" ; then 8360 8670 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 8361 8671 found="yes" ··· 8380 8690 8381 8691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8382 8692 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8383 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8384 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8385 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8386 - $as_echo_n "(cached) " >&6 8387 - else 8693 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8694 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8695 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8696 + then : 8697 + printf %s "(cached) " >&6 8698 + else $as_nop 8388 8699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8389 8700 /* end confdefs.h. */ 8390 8701 int i; 8391 8702 _ACEOF 8392 - if ac_fn_c_try_compile "$LINENO"; then : 8703 + if ac_fn_c_try_compile "$LINENO" 8704 + then : 8393 8705 xorg_cv_cc_flag_unknown_warning_option=yes 8394 - else 8706 + else $as_nop 8395 8707 xorg_cv_cc_flag_unknown_warning_option=no 8396 8708 fi 8397 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8709 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8398 8710 fi 8399 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8400 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8712 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8401 8713 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8402 8714 CFLAGS="$xorg_testset_save_CFLAGS" 8403 8715 fi ··· 8407 8719 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8408 8720 fi 8409 8721 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8410 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8411 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8412 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8413 - $as_echo_n "(cached) " >&6 8414 - else 8722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8723 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8724 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8725 + then : 8726 + printf %s "(cached) " >&6 8727 + else $as_nop 8415 8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8416 8729 /* end confdefs.h. */ 8417 8730 int i; 8418 8731 _ACEOF 8419 - if ac_fn_c_try_compile "$LINENO"; then : 8732 + if ac_fn_c_try_compile "$LINENO" 8733 + then : 8420 8734 xorg_cv_cc_flag_unused_command_line_argument=yes 8421 - else 8735 + else $as_nop 8422 8736 xorg_cv_cc_flag_unused_command_line_argument=no 8423 8737 fi 8424 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8738 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8425 8739 fi 8426 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8427 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8740 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8741 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8428 8742 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8429 8743 CFLAGS="$xorg_testset_save_CFLAGS" 8430 8744 fi ··· 8442 8756 8443 8757 CFLAGS="$CFLAGS -Wnonnull" 8444 8758 8445 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8446 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 8759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8760 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 8447 8761 cacheid=xorg_cv_cc_flag__Wnonnull 8448 - if eval \${$cacheid+:} false; then : 8449 - $as_echo_n "(cached) " >&6 8450 - else 8762 + if eval test \${$cacheid+y} 8763 + then : 8764 + printf %s "(cached) " >&6 8765 + else $as_nop 8451 8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8452 8767 /* end confdefs.h. */ 8453 8768 int i; 8454 8769 int 8455 - main () 8770 + main (void) 8456 8771 { 8457 8772 8458 8773 ; 8459 8774 return 0; 8460 8775 } 8461 8776 _ACEOF 8462 - if ac_fn_c_try_link "$LINENO"; then : 8777 + if ac_fn_c_try_link "$LINENO" 8778 + then : 8463 8779 eval $cacheid=yes 8464 - else 8780 + else $as_nop 8465 8781 eval $cacheid=no 8466 8782 fi 8467 - rm -f core conftest.err conftest.$ac_objext \ 8783 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8468 8784 conftest$ac_exeext conftest.$ac_ext 8469 8785 fi 8470 8786 ··· 8472 8788 CFLAGS="$xorg_testset_save_CFLAGS" 8473 8789 8474 8790 eval supported=\$$cacheid 8475 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8476 - $as_echo "$supported" >&6; } 8791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8792 + printf "%s\n" "$supported" >&6; } 8477 8793 if test "$supported" = "yes" ; then 8478 8794 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 8479 8795 found="yes" ··· 8498 8814 8499 8815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8500 8816 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8501 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8502 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8503 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8504 - $as_echo_n "(cached) " >&6 8505 - else 8817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8818 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8819 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8820 + then : 8821 + printf %s "(cached) " >&6 8822 + else $as_nop 8506 8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8507 8824 /* end confdefs.h. */ 8508 8825 int i; 8509 8826 _ACEOF 8510 - if ac_fn_c_try_compile "$LINENO"; then : 8827 + if ac_fn_c_try_compile "$LINENO" 8828 + then : 8511 8829 xorg_cv_cc_flag_unknown_warning_option=yes 8512 - else 8830 + else $as_nop 8513 8831 xorg_cv_cc_flag_unknown_warning_option=no 8514 8832 fi 8515 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8833 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8516 8834 fi 8517 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8518 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8835 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8836 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8519 8837 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8520 8838 CFLAGS="$xorg_testset_save_CFLAGS" 8521 8839 fi ··· 8525 8843 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8526 8844 fi 8527 8845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8528 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8529 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8530 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8531 - $as_echo_n "(cached) " >&6 8532 - else 8846 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8847 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8848 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8849 + then : 8850 + printf %s "(cached) " >&6 8851 + else $as_nop 8533 8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8534 8853 /* end confdefs.h. */ 8535 8854 int i; 8536 8855 _ACEOF 8537 - if ac_fn_c_try_compile "$LINENO"; then : 8856 + if ac_fn_c_try_compile "$LINENO" 8857 + then : 8538 8858 xorg_cv_cc_flag_unused_command_line_argument=yes 8539 - else 8859 + else $as_nop 8540 8860 xorg_cv_cc_flag_unused_command_line_argument=no 8541 8861 fi 8542 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8862 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8543 8863 fi 8544 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8545 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8864 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8865 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8546 8866 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8547 8867 CFLAGS="$xorg_testset_save_CFLAGS" 8548 8868 fi ··· 8560 8880 8561 8881 CFLAGS="$CFLAGS -Winit-self" 8562 8882 8563 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8564 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 8883 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8884 + printf %s "checking if $CC supports -Winit-self... " >&6; } 8565 8885 cacheid=xorg_cv_cc_flag__Winit_self 8566 - if eval \${$cacheid+:} false; then : 8567 - $as_echo_n "(cached) " >&6 8568 - else 8886 + if eval test \${$cacheid+y} 8887 + then : 8888 + printf %s "(cached) " >&6 8889 + else $as_nop 8569 8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8570 8891 /* end confdefs.h. */ 8571 8892 int i; 8572 8893 int 8573 - main () 8894 + main (void) 8574 8895 { 8575 8896 8576 8897 ; 8577 8898 return 0; 8578 8899 } 8579 8900 _ACEOF 8580 - if ac_fn_c_try_link "$LINENO"; then : 8901 + if ac_fn_c_try_link "$LINENO" 8902 + then : 8581 8903 eval $cacheid=yes 8582 - else 8904 + else $as_nop 8583 8905 eval $cacheid=no 8584 8906 fi 8585 - rm -f core conftest.err conftest.$ac_objext \ 8907 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8586 8908 conftest$ac_exeext conftest.$ac_ext 8587 8909 fi 8588 8910 ··· 8590 8912 CFLAGS="$xorg_testset_save_CFLAGS" 8591 8913 8592 8914 eval supported=\$$cacheid 8593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8594 - $as_echo "$supported" >&6; } 8915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8916 + printf "%s\n" "$supported" >&6; } 8595 8917 if test "$supported" = "yes" ; then 8596 8918 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 8597 8919 found="yes" ··· 8616 8938 8617 8939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8618 8940 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8619 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8620 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8621 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8622 - $as_echo_n "(cached) " >&6 8623 - else 8941 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8942 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8943 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8944 + then : 8945 + printf %s "(cached) " >&6 8946 + else $as_nop 8624 8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8625 8948 /* end confdefs.h. */ 8626 8949 int i; 8627 8950 _ACEOF 8628 - if ac_fn_c_try_compile "$LINENO"; then : 8951 + if ac_fn_c_try_compile "$LINENO" 8952 + then : 8629 8953 xorg_cv_cc_flag_unknown_warning_option=yes 8630 - else 8954 + else $as_nop 8631 8955 xorg_cv_cc_flag_unknown_warning_option=no 8632 8956 fi 8633 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8957 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8634 8958 fi 8635 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8636 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8959 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8960 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8637 8961 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8638 8962 CFLAGS="$xorg_testset_save_CFLAGS" 8639 8963 fi ··· 8643 8967 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8644 8968 fi 8645 8969 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8646 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8647 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8648 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8649 - $as_echo_n "(cached) " >&6 8650 - else 8970 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8971 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8972 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8973 + then : 8974 + printf %s "(cached) " >&6 8975 + else $as_nop 8651 8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8652 8977 /* end confdefs.h. */ 8653 8978 int i; 8654 8979 _ACEOF 8655 - if ac_fn_c_try_compile "$LINENO"; then : 8980 + if ac_fn_c_try_compile "$LINENO" 8981 + then : 8656 8982 xorg_cv_cc_flag_unused_command_line_argument=yes 8657 - else 8983 + else $as_nop 8658 8984 xorg_cv_cc_flag_unused_command_line_argument=no 8659 8985 fi 8660 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8986 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8661 8987 fi 8662 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8663 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8988 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8989 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8664 8990 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8665 8991 CFLAGS="$xorg_testset_save_CFLAGS" 8666 8992 fi ··· 8678 9004 8679 9005 CFLAGS="$CFLAGS -Wmain" 8680 9006 8681 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 8682 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 9007 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 9008 + printf %s "checking if $CC supports -Wmain... " >&6; } 8683 9009 cacheid=xorg_cv_cc_flag__Wmain 8684 - if eval \${$cacheid+:} false; then : 8685 - $as_echo_n "(cached) " >&6 8686 - else 9010 + if eval test \${$cacheid+y} 9011 + then : 9012 + printf %s "(cached) " >&6 9013 + else $as_nop 8687 9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8688 9015 /* end confdefs.h. */ 8689 9016 int i; 8690 9017 int 8691 - main () 9018 + main (void) 8692 9019 { 8693 9020 8694 9021 ; 8695 9022 return 0; 8696 9023 } 8697 9024 _ACEOF 8698 - if ac_fn_c_try_link "$LINENO"; then : 9025 + if ac_fn_c_try_link "$LINENO" 9026 + then : 8699 9027 eval $cacheid=yes 8700 - else 9028 + else $as_nop 8701 9029 eval $cacheid=no 8702 9030 fi 8703 - rm -f core conftest.err conftest.$ac_objext \ 9031 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8704 9032 conftest$ac_exeext conftest.$ac_ext 8705 9033 fi 8706 9034 ··· 8708 9036 CFLAGS="$xorg_testset_save_CFLAGS" 8709 9037 8710 9038 eval supported=\$$cacheid 8711 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8712 - $as_echo "$supported" >&6; } 9039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9040 + printf "%s\n" "$supported" >&6; } 8713 9041 if test "$supported" = "yes" ; then 8714 9042 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 8715 9043 found="yes" ··· 8734 9062 8735 9063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8736 9064 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8737 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8738 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8739 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8740 - $as_echo_n "(cached) " >&6 8741 - else 9065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9066 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9067 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9068 + then : 9069 + printf %s "(cached) " >&6 9070 + else $as_nop 8742 9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8743 9072 /* end confdefs.h. */ 8744 9073 int i; 8745 9074 _ACEOF 8746 - if ac_fn_c_try_compile "$LINENO"; then : 9075 + if ac_fn_c_try_compile "$LINENO" 9076 + then : 8747 9077 xorg_cv_cc_flag_unknown_warning_option=yes 8748 - else 9078 + else $as_nop 8749 9079 xorg_cv_cc_flag_unknown_warning_option=no 8750 9080 fi 8751 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9081 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8752 9082 fi 8753 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8754 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9083 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9084 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8755 9085 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8756 9086 CFLAGS="$xorg_testset_save_CFLAGS" 8757 9087 fi ··· 8761 9091 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8762 9092 fi 8763 9093 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8764 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8765 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8766 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8767 - $as_echo_n "(cached) " >&6 8768 - else 9094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9095 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9096 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9097 + then : 9098 + printf %s "(cached) " >&6 9099 + else $as_nop 8769 9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8770 9101 /* end confdefs.h. */ 8771 9102 int i; 8772 9103 _ACEOF 8773 - if ac_fn_c_try_compile "$LINENO"; then : 9104 + if ac_fn_c_try_compile "$LINENO" 9105 + then : 8774 9106 xorg_cv_cc_flag_unused_command_line_argument=yes 8775 - else 9107 + else $as_nop 8776 9108 xorg_cv_cc_flag_unused_command_line_argument=no 8777 9109 fi 8778 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9110 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8779 9111 fi 8780 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8781 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9112 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9113 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8782 9114 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8783 9115 CFLAGS="$xorg_testset_save_CFLAGS" 8784 9116 fi ··· 8796 9128 8797 9129 CFLAGS="$CFLAGS -Wmissing-braces" 8798 9130 8799 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 8800 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 9131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 9132 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 8801 9133 cacheid=xorg_cv_cc_flag__Wmissing_braces 8802 - if eval \${$cacheid+:} false; then : 8803 - $as_echo_n "(cached) " >&6 8804 - else 9134 + if eval test \${$cacheid+y} 9135 + then : 9136 + printf %s "(cached) " >&6 9137 + else $as_nop 8805 9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8806 9139 /* end confdefs.h. */ 8807 9140 int i; 8808 9141 int 8809 - main () 9142 + main (void) 8810 9143 { 8811 9144 8812 9145 ; 8813 9146 return 0; 8814 9147 } 8815 9148 _ACEOF 8816 - if ac_fn_c_try_link "$LINENO"; then : 9149 + if ac_fn_c_try_link "$LINENO" 9150 + then : 8817 9151 eval $cacheid=yes 8818 - else 9152 + else $as_nop 8819 9153 eval $cacheid=no 8820 9154 fi 8821 - rm -f core conftest.err conftest.$ac_objext \ 9155 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8822 9156 conftest$ac_exeext conftest.$ac_ext 8823 9157 fi 8824 9158 ··· 8826 9160 CFLAGS="$xorg_testset_save_CFLAGS" 8827 9161 8828 9162 eval supported=\$$cacheid 8829 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8830 - $as_echo "$supported" >&6; } 9163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9164 + printf "%s\n" "$supported" >&6; } 8831 9165 if test "$supported" = "yes" ; then 8832 9166 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 8833 9167 found="yes" ··· 8852 9186 8853 9187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8854 9188 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8855 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8856 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8857 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8858 - $as_echo_n "(cached) " >&6 8859 - else 9189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9190 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9191 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9192 + then : 9193 + printf %s "(cached) " >&6 9194 + else $as_nop 8860 9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8861 9196 /* end confdefs.h. */ 8862 9197 int i; 8863 9198 _ACEOF 8864 - if ac_fn_c_try_compile "$LINENO"; then : 9199 + if ac_fn_c_try_compile "$LINENO" 9200 + then : 8865 9201 xorg_cv_cc_flag_unknown_warning_option=yes 8866 - else 9202 + else $as_nop 8867 9203 xorg_cv_cc_flag_unknown_warning_option=no 8868 9204 fi 8869 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9205 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8870 9206 fi 8871 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8872 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9207 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9208 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8873 9209 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8874 9210 CFLAGS="$xorg_testset_save_CFLAGS" 8875 9211 fi ··· 8879 9215 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8880 9216 fi 8881 9217 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8882 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8883 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8884 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8885 - $as_echo_n "(cached) " >&6 8886 - else 9218 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9219 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9220 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9221 + then : 9222 + printf %s "(cached) " >&6 9223 + else $as_nop 8887 9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8888 9225 /* end confdefs.h. */ 8889 9226 int i; 8890 9227 _ACEOF 8891 - if ac_fn_c_try_compile "$LINENO"; then : 9228 + if ac_fn_c_try_compile "$LINENO" 9229 + then : 8892 9230 xorg_cv_cc_flag_unused_command_line_argument=yes 8893 - else 9231 + else $as_nop 8894 9232 xorg_cv_cc_flag_unused_command_line_argument=no 8895 9233 fi 8896 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9234 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8897 9235 fi 8898 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8899 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9236 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9237 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8900 9238 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8901 9239 CFLAGS="$xorg_testset_save_CFLAGS" 8902 9240 fi ··· 8914 9252 8915 9253 CFLAGS="$CFLAGS -Wsequence-point" 8916 9254 8917 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 8918 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 9255 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9256 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 8919 9257 cacheid=xorg_cv_cc_flag__Wsequence_point 8920 - if eval \${$cacheid+:} false; then : 8921 - $as_echo_n "(cached) " >&6 8922 - else 9258 + if eval test \${$cacheid+y} 9259 + then : 9260 + printf %s "(cached) " >&6 9261 + else $as_nop 8923 9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8924 9263 /* end confdefs.h. */ 8925 9264 int i; 8926 9265 int 8927 - main () 9266 + main (void) 8928 9267 { 8929 9268 8930 9269 ; 8931 9270 return 0; 8932 9271 } 8933 9272 _ACEOF 8934 - if ac_fn_c_try_link "$LINENO"; then : 9273 + if ac_fn_c_try_link "$LINENO" 9274 + then : 8935 9275 eval $cacheid=yes 8936 - else 9276 + else $as_nop 8937 9277 eval $cacheid=no 8938 9278 fi 8939 - rm -f core conftest.err conftest.$ac_objext \ 9279 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8940 9280 conftest$ac_exeext conftest.$ac_ext 8941 9281 fi 8942 9282 ··· 8944 9284 CFLAGS="$xorg_testset_save_CFLAGS" 8945 9285 8946 9286 eval supported=\$$cacheid 8947 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8948 - $as_echo "$supported" >&6; } 9287 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9288 + printf "%s\n" "$supported" >&6; } 8949 9289 if test "$supported" = "yes" ; then 8950 9290 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 8951 9291 found="yes" ··· 8970 9310 8971 9311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8972 9312 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8973 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8974 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8975 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8976 - $as_echo_n "(cached) " >&6 8977 - else 9313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9314 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9315 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9316 + then : 9317 + printf %s "(cached) " >&6 9318 + else $as_nop 8978 9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8979 9320 /* end confdefs.h. */ 8980 9321 int i; 8981 9322 _ACEOF 8982 - if ac_fn_c_try_compile "$LINENO"; then : 9323 + if ac_fn_c_try_compile "$LINENO" 9324 + then : 8983 9325 xorg_cv_cc_flag_unknown_warning_option=yes 8984 - else 9326 + else $as_nop 8985 9327 xorg_cv_cc_flag_unknown_warning_option=no 8986 9328 fi 8987 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9329 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8988 9330 fi 8989 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8990 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9331 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9332 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8991 9333 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8992 9334 CFLAGS="$xorg_testset_save_CFLAGS" 8993 9335 fi ··· 8997 9339 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8998 9340 fi 8999 9341 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9000 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9001 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9002 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9003 - $as_echo_n "(cached) " >&6 9004 - else 9342 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9343 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9344 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9345 + then : 9346 + printf %s "(cached) " >&6 9347 + else $as_nop 9005 9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9006 9349 /* end confdefs.h. */ 9007 9350 int i; 9008 9351 _ACEOF 9009 - if ac_fn_c_try_compile "$LINENO"; then : 9352 + if ac_fn_c_try_compile "$LINENO" 9353 + then : 9010 9354 xorg_cv_cc_flag_unused_command_line_argument=yes 9011 - else 9355 + else $as_nop 9012 9356 xorg_cv_cc_flag_unused_command_line_argument=no 9013 9357 fi 9014 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9358 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9015 9359 fi 9016 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9017 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9360 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9361 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9018 9362 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9019 9363 CFLAGS="$xorg_testset_save_CFLAGS" 9020 9364 fi ··· 9032 9376 9033 9377 CFLAGS="$CFLAGS -Wreturn-type" 9034 9378 9035 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9036 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 9379 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9380 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 9037 9381 cacheid=xorg_cv_cc_flag__Wreturn_type 9038 - if eval \${$cacheid+:} false; then : 9039 - $as_echo_n "(cached) " >&6 9040 - else 9382 + if eval test \${$cacheid+y} 9383 + then : 9384 + printf %s "(cached) " >&6 9385 + else $as_nop 9041 9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9042 9387 /* end confdefs.h. */ 9043 9388 int i; 9044 9389 int 9045 - main () 9390 + main (void) 9046 9391 { 9047 9392 9048 9393 ; 9049 9394 return 0; 9050 9395 } 9051 9396 _ACEOF 9052 - if ac_fn_c_try_link "$LINENO"; then : 9397 + if ac_fn_c_try_link "$LINENO" 9398 + then : 9053 9399 eval $cacheid=yes 9054 - else 9400 + else $as_nop 9055 9401 eval $cacheid=no 9056 9402 fi 9057 - rm -f core conftest.err conftest.$ac_objext \ 9403 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9058 9404 conftest$ac_exeext conftest.$ac_ext 9059 9405 fi 9060 9406 ··· 9062 9408 CFLAGS="$xorg_testset_save_CFLAGS" 9063 9409 9064 9410 eval supported=\$$cacheid 9065 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9066 - $as_echo "$supported" >&6; } 9411 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9412 + printf "%s\n" "$supported" >&6; } 9067 9413 if test "$supported" = "yes" ; then 9068 9414 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 9069 9415 found="yes" ··· 9088 9434 9089 9435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9090 9436 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9091 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9092 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9093 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9094 - $as_echo_n "(cached) " >&6 9095 - else 9437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9438 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9439 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9440 + then : 9441 + printf %s "(cached) " >&6 9442 + else $as_nop 9096 9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9097 9444 /* end confdefs.h. */ 9098 9445 int i; 9099 9446 _ACEOF 9100 - if ac_fn_c_try_compile "$LINENO"; then : 9447 + if ac_fn_c_try_compile "$LINENO" 9448 + then : 9101 9449 xorg_cv_cc_flag_unknown_warning_option=yes 9102 - else 9450 + else $as_nop 9103 9451 xorg_cv_cc_flag_unknown_warning_option=no 9104 9452 fi 9105 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9453 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9106 9454 fi 9107 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9108 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9455 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9456 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9109 9457 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9110 9458 CFLAGS="$xorg_testset_save_CFLAGS" 9111 9459 fi ··· 9115 9463 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9116 9464 fi 9117 9465 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9118 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9119 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9120 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9121 - $as_echo_n "(cached) " >&6 9122 - else 9466 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9467 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9468 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9469 + then : 9470 + printf %s "(cached) " >&6 9471 + else $as_nop 9123 9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9124 9473 /* end confdefs.h. */ 9125 9474 int i; 9126 9475 _ACEOF 9127 - if ac_fn_c_try_compile "$LINENO"; then : 9476 + if ac_fn_c_try_compile "$LINENO" 9477 + then : 9128 9478 xorg_cv_cc_flag_unused_command_line_argument=yes 9129 - else 9479 + else $as_nop 9130 9480 xorg_cv_cc_flag_unused_command_line_argument=no 9131 9481 fi 9132 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9482 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9133 9483 fi 9134 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9135 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9484 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9485 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9136 9486 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9137 9487 CFLAGS="$xorg_testset_save_CFLAGS" 9138 9488 fi ··· 9150 9500 9151 9501 CFLAGS="$CFLAGS -Wtrigraphs" 9152 9502 9153 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9154 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 9503 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9504 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 9155 9505 cacheid=xorg_cv_cc_flag__Wtrigraphs 9156 - if eval \${$cacheid+:} false; then : 9157 - $as_echo_n "(cached) " >&6 9158 - else 9506 + if eval test \${$cacheid+y} 9507 + then : 9508 + printf %s "(cached) " >&6 9509 + else $as_nop 9159 9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9160 9511 /* end confdefs.h. */ 9161 9512 int i; 9162 9513 int 9163 - main () 9514 + main (void) 9164 9515 { 9165 9516 9166 9517 ; 9167 9518 return 0; 9168 9519 } 9169 9520 _ACEOF 9170 - if ac_fn_c_try_link "$LINENO"; then : 9521 + if ac_fn_c_try_link "$LINENO" 9522 + then : 9171 9523 eval $cacheid=yes 9172 - else 9524 + else $as_nop 9173 9525 eval $cacheid=no 9174 9526 fi 9175 - rm -f core conftest.err conftest.$ac_objext \ 9527 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9176 9528 conftest$ac_exeext conftest.$ac_ext 9177 9529 fi 9178 9530 ··· 9180 9532 CFLAGS="$xorg_testset_save_CFLAGS" 9181 9533 9182 9534 eval supported=\$$cacheid 9183 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9184 - $as_echo "$supported" >&6; } 9535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9536 + printf "%s\n" "$supported" >&6; } 9185 9537 if test "$supported" = "yes" ; then 9186 9538 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 9187 9539 found="yes" ··· 9206 9558 9207 9559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9208 9560 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9209 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9210 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9211 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9212 - $as_echo_n "(cached) " >&6 9213 - else 9561 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9562 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9563 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9564 + then : 9565 + printf %s "(cached) " >&6 9566 + else $as_nop 9214 9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9215 9568 /* end confdefs.h. */ 9216 9569 int i; 9217 9570 _ACEOF 9218 - if ac_fn_c_try_compile "$LINENO"; then : 9571 + if ac_fn_c_try_compile "$LINENO" 9572 + then : 9219 9573 xorg_cv_cc_flag_unknown_warning_option=yes 9220 - else 9574 + else $as_nop 9221 9575 xorg_cv_cc_flag_unknown_warning_option=no 9222 9576 fi 9223 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9577 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9224 9578 fi 9225 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9226 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9579 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9580 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9227 9581 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9228 9582 CFLAGS="$xorg_testset_save_CFLAGS" 9229 9583 fi ··· 9233 9587 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9234 9588 fi 9235 9589 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9236 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9237 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9238 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9239 - $as_echo_n "(cached) " >&6 9240 - else 9590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9591 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9592 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9593 + then : 9594 + printf %s "(cached) " >&6 9595 + else $as_nop 9241 9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9242 9597 /* end confdefs.h. */ 9243 9598 int i; 9244 9599 _ACEOF 9245 - if ac_fn_c_try_compile "$LINENO"; then : 9600 + if ac_fn_c_try_compile "$LINENO" 9601 + then : 9246 9602 xorg_cv_cc_flag_unused_command_line_argument=yes 9247 - else 9603 + else $as_nop 9248 9604 xorg_cv_cc_flag_unused_command_line_argument=no 9249 9605 fi 9250 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9606 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9251 9607 fi 9252 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9253 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9608 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9609 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9254 9610 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9255 9611 CFLAGS="$xorg_testset_save_CFLAGS" 9256 9612 fi ··· 9268 9624 9269 9625 CFLAGS="$CFLAGS -Warray-bounds" 9270 9626 9271 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9272 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 9627 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9628 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 9273 9629 cacheid=xorg_cv_cc_flag__Warray_bounds 9274 - if eval \${$cacheid+:} false; then : 9275 - $as_echo_n "(cached) " >&6 9276 - else 9630 + if eval test \${$cacheid+y} 9631 + then : 9632 + printf %s "(cached) " >&6 9633 + else $as_nop 9277 9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9278 9635 /* end confdefs.h. */ 9279 9636 int i; 9280 9637 int 9281 - main () 9638 + main (void) 9282 9639 { 9283 9640 9284 9641 ; 9285 9642 return 0; 9286 9643 } 9287 9644 _ACEOF 9288 - if ac_fn_c_try_link "$LINENO"; then : 9645 + if ac_fn_c_try_link "$LINENO" 9646 + then : 9289 9647 eval $cacheid=yes 9290 - else 9648 + else $as_nop 9291 9649 eval $cacheid=no 9292 9650 fi 9293 - rm -f core conftest.err conftest.$ac_objext \ 9651 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9294 9652 conftest$ac_exeext conftest.$ac_ext 9295 9653 fi 9296 9654 ··· 9298 9656 CFLAGS="$xorg_testset_save_CFLAGS" 9299 9657 9300 9658 eval supported=\$$cacheid 9301 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9302 - $as_echo "$supported" >&6; } 9659 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9660 + printf "%s\n" "$supported" >&6; } 9303 9661 if test "$supported" = "yes" ; then 9304 9662 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 9305 9663 found="yes" ··· 9324 9682 9325 9683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9326 9684 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9327 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9328 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9329 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9330 - $as_echo_n "(cached) " >&6 9331 - else 9685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9686 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9687 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9688 + then : 9689 + printf %s "(cached) " >&6 9690 + else $as_nop 9332 9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9333 9692 /* end confdefs.h. */ 9334 9693 int i; 9335 9694 _ACEOF 9336 - if ac_fn_c_try_compile "$LINENO"; then : 9695 + if ac_fn_c_try_compile "$LINENO" 9696 + then : 9337 9697 xorg_cv_cc_flag_unknown_warning_option=yes 9338 - else 9698 + else $as_nop 9339 9699 xorg_cv_cc_flag_unknown_warning_option=no 9340 9700 fi 9341 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9701 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9342 9702 fi 9343 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9344 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9704 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9345 9705 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9346 9706 CFLAGS="$xorg_testset_save_CFLAGS" 9347 9707 fi ··· 9351 9711 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9352 9712 fi 9353 9713 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9354 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9355 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9356 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9357 - $as_echo_n "(cached) " >&6 9358 - else 9714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9715 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9716 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9717 + then : 9718 + printf %s "(cached) " >&6 9719 + else $as_nop 9359 9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9360 9721 /* end confdefs.h. */ 9361 9722 int i; 9362 9723 _ACEOF 9363 - if ac_fn_c_try_compile "$LINENO"; then : 9724 + if ac_fn_c_try_compile "$LINENO" 9725 + then : 9364 9726 xorg_cv_cc_flag_unused_command_line_argument=yes 9365 - else 9727 + else $as_nop 9366 9728 xorg_cv_cc_flag_unused_command_line_argument=no 9367 9729 fi 9368 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9730 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9369 9731 fi 9370 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9371 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9732 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9733 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9372 9734 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9373 9735 CFLAGS="$xorg_testset_save_CFLAGS" 9374 9736 fi ··· 9386 9748 9387 9749 CFLAGS="$CFLAGS -Wwrite-strings" 9388 9750 9389 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9390 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 9751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9752 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 9391 9753 cacheid=xorg_cv_cc_flag__Wwrite_strings 9392 - if eval \${$cacheid+:} false; then : 9393 - $as_echo_n "(cached) " >&6 9394 - else 9754 + if eval test \${$cacheid+y} 9755 + then : 9756 + printf %s "(cached) " >&6 9757 + else $as_nop 9395 9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9396 9759 /* end confdefs.h. */ 9397 9760 int i; 9398 9761 int 9399 - main () 9762 + main (void) 9400 9763 { 9401 9764 9402 9765 ; 9403 9766 return 0; 9404 9767 } 9405 9768 _ACEOF 9406 - if ac_fn_c_try_link "$LINENO"; then : 9769 + if ac_fn_c_try_link "$LINENO" 9770 + then : 9407 9771 eval $cacheid=yes 9408 - else 9772 + else $as_nop 9409 9773 eval $cacheid=no 9410 9774 fi 9411 - rm -f core conftest.err conftest.$ac_objext \ 9775 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9412 9776 conftest$ac_exeext conftest.$ac_ext 9413 9777 fi 9414 9778 ··· 9416 9780 CFLAGS="$xorg_testset_save_CFLAGS" 9417 9781 9418 9782 eval supported=\$$cacheid 9419 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9420 - $as_echo "$supported" >&6; } 9783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9784 + printf "%s\n" "$supported" >&6; } 9421 9785 if test "$supported" = "yes" ; then 9422 9786 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 9423 9787 found="yes" ··· 9442 9806 9443 9807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9444 9808 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9445 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9446 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9447 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9448 - $as_echo_n "(cached) " >&6 9449 - else 9809 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9810 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9811 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9812 + then : 9813 + printf %s "(cached) " >&6 9814 + else $as_nop 9450 9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9451 9816 /* end confdefs.h. */ 9452 9817 int i; 9453 9818 _ACEOF 9454 - if ac_fn_c_try_compile "$LINENO"; then : 9819 + if ac_fn_c_try_compile "$LINENO" 9820 + then : 9455 9821 xorg_cv_cc_flag_unknown_warning_option=yes 9456 - else 9822 + else $as_nop 9457 9823 xorg_cv_cc_flag_unknown_warning_option=no 9458 9824 fi 9459 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9825 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9460 9826 fi 9461 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9462 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9827 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9828 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9463 9829 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9464 9830 CFLAGS="$xorg_testset_save_CFLAGS" 9465 9831 fi ··· 9469 9835 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9470 9836 fi 9471 9837 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9472 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9473 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9474 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9475 - $as_echo_n "(cached) " >&6 9476 - else 9838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9839 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9840 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9841 + then : 9842 + printf %s "(cached) " >&6 9843 + else $as_nop 9477 9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9478 9845 /* end confdefs.h. */ 9479 9846 int i; 9480 9847 _ACEOF 9481 - if ac_fn_c_try_compile "$LINENO"; then : 9848 + if ac_fn_c_try_compile "$LINENO" 9849 + then : 9482 9850 xorg_cv_cc_flag_unused_command_line_argument=yes 9483 - else 9851 + else $as_nop 9484 9852 xorg_cv_cc_flag_unused_command_line_argument=no 9485 9853 fi 9486 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9854 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9487 9855 fi 9488 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9489 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9856 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9857 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9490 9858 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9491 9859 CFLAGS="$xorg_testset_save_CFLAGS" 9492 9860 fi ··· 9504 9872 9505 9873 CFLAGS="$CFLAGS -Waddress" 9506 9874 9507 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9508 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 9875 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9876 + printf %s "checking if $CC supports -Waddress... " >&6; } 9509 9877 cacheid=xorg_cv_cc_flag__Waddress 9510 - if eval \${$cacheid+:} false; then : 9511 - $as_echo_n "(cached) " >&6 9512 - else 9878 + if eval test \${$cacheid+y} 9879 + then : 9880 + printf %s "(cached) " >&6 9881 + else $as_nop 9513 9882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9514 9883 /* end confdefs.h. */ 9515 9884 int i; 9516 9885 int 9517 - main () 9886 + main (void) 9518 9887 { 9519 9888 9520 9889 ; 9521 9890 return 0; 9522 9891 } 9523 9892 _ACEOF 9524 - if ac_fn_c_try_link "$LINENO"; then : 9893 + if ac_fn_c_try_link "$LINENO" 9894 + then : 9525 9895 eval $cacheid=yes 9526 - else 9896 + else $as_nop 9527 9897 eval $cacheid=no 9528 9898 fi 9529 - rm -f core conftest.err conftest.$ac_objext \ 9899 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9530 9900 conftest$ac_exeext conftest.$ac_ext 9531 9901 fi 9532 9902 ··· 9534 9904 CFLAGS="$xorg_testset_save_CFLAGS" 9535 9905 9536 9906 eval supported=\$$cacheid 9537 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9538 - $as_echo "$supported" >&6; } 9907 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9908 + printf "%s\n" "$supported" >&6; } 9539 9909 if test "$supported" = "yes" ; then 9540 9910 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 9541 9911 found="yes" ··· 9560 9930 9561 9931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9562 9932 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9563 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9564 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9565 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9566 - $as_echo_n "(cached) " >&6 9567 - else 9933 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9934 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9935 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9936 + then : 9937 + printf %s "(cached) " >&6 9938 + else $as_nop 9568 9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9569 9940 /* end confdefs.h. */ 9570 9941 int i; 9571 9942 _ACEOF 9572 - if ac_fn_c_try_compile "$LINENO"; then : 9943 + if ac_fn_c_try_compile "$LINENO" 9944 + then : 9573 9945 xorg_cv_cc_flag_unknown_warning_option=yes 9574 - else 9946 + else $as_nop 9575 9947 xorg_cv_cc_flag_unknown_warning_option=no 9576 9948 fi 9577 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9949 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9578 9950 fi 9579 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9580 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9951 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9952 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9581 9953 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9582 9954 CFLAGS="$xorg_testset_save_CFLAGS" 9583 9955 fi ··· 9587 9959 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9588 9960 fi 9589 9961 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9590 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9591 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9592 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9593 - $as_echo_n "(cached) " >&6 9594 - else 9962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9963 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9964 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9965 + then : 9966 + printf %s "(cached) " >&6 9967 + else $as_nop 9595 9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9596 9969 /* end confdefs.h. */ 9597 9970 int i; 9598 9971 _ACEOF 9599 - if ac_fn_c_try_compile "$LINENO"; then : 9972 + if ac_fn_c_try_compile "$LINENO" 9973 + then : 9600 9974 xorg_cv_cc_flag_unused_command_line_argument=yes 9601 - else 9975 + else $as_nop 9602 9976 xorg_cv_cc_flag_unused_command_line_argument=no 9603 9977 fi 9604 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9978 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9605 9979 fi 9606 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9607 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9980 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9981 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9608 9982 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9609 9983 CFLAGS="$xorg_testset_save_CFLAGS" 9610 9984 fi ··· 9622 9996 9623 9997 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 9624 9998 9625 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 9626 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 10000 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9627 10001 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 9628 - if eval \${$cacheid+:} false; then : 9629 - $as_echo_n "(cached) " >&6 9630 - else 10002 + if eval test \${$cacheid+y} 10003 + then : 10004 + printf %s "(cached) " >&6 10005 + else $as_nop 9631 10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9632 10007 /* end confdefs.h. */ 9633 10008 int i; 9634 10009 int 9635 - main () 10010 + main (void) 9636 10011 { 9637 10012 9638 10013 ; 9639 10014 return 0; 9640 10015 } 9641 10016 _ACEOF 9642 - if ac_fn_c_try_link "$LINENO"; then : 10017 + if ac_fn_c_try_link "$LINENO" 10018 + then : 9643 10019 eval $cacheid=yes 9644 - else 10020 + else $as_nop 9645 10021 eval $cacheid=no 9646 10022 fi 9647 - rm -f core conftest.err conftest.$ac_objext \ 10023 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9648 10024 conftest$ac_exeext conftest.$ac_ext 9649 10025 fi 9650 10026 ··· 9652 10028 CFLAGS="$xorg_testset_save_CFLAGS" 9653 10029 9654 10030 eval supported=\$$cacheid 9655 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9656 - $as_echo "$supported" >&6; } 10031 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10032 + printf "%s\n" "$supported" >&6; } 9657 10033 if test "$supported" = "yes" ; then 9658 10034 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 9659 10035 found="yes" ··· 9678 10054 9679 10055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9680 10056 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9681 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9682 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9683 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9684 - $as_echo_n "(cached) " >&6 9685 - else 10057 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10058 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10059 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10060 + then : 10061 + printf %s "(cached) " >&6 10062 + else $as_nop 9686 10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9687 10064 /* end confdefs.h. */ 9688 10065 int i; 9689 10066 _ACEOF 9690 - if ac_fn_c_try_compile "$LINENO"; then : 10067 + if ac_fn_c_try_compile "$LINENO" 10068 + then : 9691 10069 xorg_cv_cc_flag_unknown_warning_option=yes 9692 - else 10070 + else $as_nop 9693 10071 xorg_cv_cc_flag_unknown_warning_option=no 9694 10072 fi 9695 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10073 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9696 10074 fi 9697 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9698 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10075 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10076 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9699 10077 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9700 10078 CFLAGS="$xorg_testset_save_CFLAGS" 9701 10079 fi ··· 9705 10083 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9706 10084 fi 9707 10085 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9708 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9709 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9710 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9711 - $as_echo_n "(cached) " >&6 9712 - else 10086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10087 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10088 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10089 + then : 10090 + printf %s "(cached) " >&6 10091 + else $as_nop 9713 10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9714 10093 /* end confdefs.h. */ 9715 10094 int i; 9716 10095 _ACEOF 9717 - if ac_fn_c_try_compile "$LINENO"; then : 10096 + if ac_fn_c_try_compile "$LINENO" 10097 + then : 9718 10098 xorg_cv_cc_flag_unused_command_line_argument=yes 9719 - else 10099 + else $as_nop 9720 10100 xorg_cv_cc_flag_unused_command_line_argument=no 9721 10101 fi 9722 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10102 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9723 10103 fi 9724 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9725 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10104 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10105 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9726 10106 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9727 10107 CFLAGS="$xorg_testset_save_CFLAGS" 9728 10108 fi ··· 9740 10120 9741 10121 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 9742 10122 9743 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 9744 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 10123 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 10124 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 9745 10125 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 9746 - if eval \${$cacheid+:} false; then : 9747 - $as_echo_n "(cached) " >&6 9748 - else 10126 + if eval test \${$cacheid+y} 10127 + then : 10128 + printf %s "(cached) " >&6 10129 + else $as_nop 9749 10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9750 10131 /* end confdefs.h. */ 9751 10132 int i; 9752 10133 int 9753 - main () 10134 + main (void) 9754 10135 { 9755 10136 9756 10137 ; 9757 10138 return 0; 9758 10139 } 9759 10140 _ACEOF 9760 - if ac_fn_c_try_link "$LINENO"; then : 10141 + if ac_fn_c_try_link "$LINENO" 10142 + then : 9761 10143 eval $cacheid=yes 9762 - else 10144 + else $as_nop 9763 10145 eval $cacheid=no 9764 10146 fi 9765 - rm -f core conftest.err conftest.$ac_objext \ 10147 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9766 10148 conftest$ac_exeext conftest.$ac_ext 9767 10149 fi 9768 10150 ··· 9770 10152 CFLAGS="$xorg_testset_save_CFLAGS" 9771 10153 9772 10154 eval supported=\$$cacheid 9773 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9774 - $as_echo "$supported" >&6; } 10155 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10156 + printf "%s\n" "$supported" >&6; } 9775 10157 if test "$supported" = "yes" ; then 9776 10158 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 9777 10159 found="yes" ··· 9800 10182 9801 10183 9802 10184 # Check whether --enable-strict-compilation was given. 9803 - if test "${enable_strict_compilation+set}" = set; then : 10185 + if test ${enable_strict_compilation+y} 10186 + then : 9804 10187 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 9805 - else 10188 + else $as_nop 9806 10189 STRICT_COMPILE=no 9807 10190 fi 9808 10191 ··· 9829 10212 9830 10213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9831 10214 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9832 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9833 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9834 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9835 - $as_echo_n "(cached) " >&6 9836 - else 10215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10216 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10217 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10218 + then : 10219 + printf %s "(cached) " >&6 10220 + else $as_nop 9837 10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9838 10222 /* end confdefs.h. */ 9839 10223 int i; 9840 10224 _ACEOF 9841 - if ac_fn_c_try_compile "$LINENO"; then : 10225 + if ac_fn_c_try_compile "$LINENO" 10226 + then : 9842 10227 xorg_cv_cc_flag_unknown_warning_option=yes 9843 - else 10228 + else $as_nop 9844 10229 xorg_cv_cc_flag_unknown_warning_option=no 9845 10230 fi 9846 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10231 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9847 10232 fi 9848 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9849 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10233 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10234 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9850 10235 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9851 10236 CFLAGS="$xorg_testset_save_CFLAGS" 9852 10237 fi ··· 9856 10241 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9857 10242 fi 9858 10243 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9859 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9860 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9861 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9862 - $as_echo_n "(cached) " >&6 9863 - else 10244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10245 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10246 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10247 + then : 10248 + printf %s "(cached) " >&6 10249 + else $as_nop 9864 10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9865 10251 /* end confdefs.h. */ 9866 10252 int i; 9867 10253 _ACEOF 9868 - if ac_fn_c_try_compile "$LINENO"; then : 10254 + if ac_fn_c_try_compile "$LINENO" 10255 + then : 9869 10256 xorg_cv_cc_flag_unused_command_line_argument=yes 9870 - else 10257 + else $as_nop 9871 10258 xorg_cv_cc_flag_unused_command_line_argument=no 9872 10259 fi 9873 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10260 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9874 10261 fi 9875 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9876 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10262 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10263 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9877 10264 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9878 10265 CFLAGS="$xorg_testset_save_CFLAGS" 9879 10266 fi ··· 9891 10278 9892 10279 CFLAGS="$CFLAGS -pedantic" 9893 10280 9894 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 9895 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 10281 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 10282 + printf %s "checking if $CC supports -pedantic... " >&6; } 9896 10283 cacheid=xorg_cv_cc_flag__pedantic 9897 - if eval \${$cacheid+:} false; then : 9898 - $as_echo_n "(cached) " >&6 9899 - else 10284 + if eval test \${$cacheid+y} 10285 + then : 10286 + printf %s "(cached) " >&6 10287 + else $as_nop 9900 10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9901 10289 /* end confdefs.h. */ 9902 10290 int i; 9903 10291 int 9904 - main () 10292 + main (void) 9905 10293 { 9906 10294 9907 10295 ; 9908 10296 return 0; 9909 10297 } 9910 10298 _ACEOF 9911 - if ac_fn_c_try_link "$LINENO"; then : 10299 + if ac_fn_c_try_link "$LINENO" 10300 + then : 9912 10301 eval $cacheid=yes 9913 - else 10302 + else $as_nop 9914 10303 eval $cacheid=no 9915 10304 fi 9916 - rm -f core conftest.err conftest.$ac_objext \ 10305 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9917 10306 conftest$ac_exeext conftest.$ac_ext 9918 10307 fi 9919 10308 ··· 9921 10310 CFLAGS="$xorg_testset_save_CFLAGS" 9922 10311 9923 10312 eval supported=\$$cacheid 9924 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9925 - $as_echo "$supported" >&6; } 10313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10314 + printf "%s\n" "$supported" >&6; } 9926 10315 if test "$supported" = "yes" ; then 9927 10316 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 9928 10317 found="yes" ··· 9947 10336 9948 10337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9949 10338 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9950 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9951 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9952 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9953 - $as_echo_n "(cached) " >&6 9954 - else 10339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10340 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10341 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10342 + then : 10343 + printf %s "(cached) " >&6 10344 + else $as_nop 9955 10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9956 10346 /* end confdefs.h. */ 9957 10347 int i; 9958 10348 _ACEOF 9959 - if ac_fn_c_try_compile "$LINENO"; then : 10349 + if ac_fn_c_try_compile "$LINENO" 10350 + then : 9960 10351 xorg_cv_cc_flag_unknown_warning_option=yes 9961 - else 10352 + else $as_nop 9962 10353 xorg_cv_cc_flag_unknown_warning_option=no 9963 10354 fi 9964 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10355 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9965 10356 fi 9966 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9967 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10357 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10358 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9968 10359 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9969 10360 CFLAGS="$xorg_testset_save_CFLAGS" 9970 10361 fi ··· 9974 10365 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9975 10366 fi 9976 10367 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9977 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9978 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9979 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9980 - $as_echo_n "(cached) " >&6 9981 - else 10368 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10369 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10370 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10371 + then : 10372 + printf %s "(cached) " >&6 10373 + else $as_nop 9982 10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9983 10375 /* end confdefs.h. */ 9984 10376 int i; 9985 10377 _ACEOF 9986 - if ac_fn_c_try_compile "$LINENO"; then : 10378 + if ac_fn_c_try_compile "$LINENO" 10379 + then : 9987 10380 xorg_cv_cc_flag_unused_command_line_argument=yes 9988 - else 10381 + else $as_nop 9989 10382 xorg_cv_cc_flag_unused_command_line_argument=no 9990 10383 fi 9991 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10384 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9992 10385 fi 9993 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9994 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10386 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10387 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9995 10388 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9996 10389 CFLAGS="$xorg_testset_save_CFLAGS" 9997 10390 fi ··· 10009 10402 10010 10403 CFLAGS="$CFLAGS -Werror" 10011 10404 10012 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10013 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 10405 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10406 + printf %s "checking if $CC supports -Werror... " >&6; } 10014 10407 cacheid=xorg_cv_cc_flag__Werror 10015 - if eval \${$cacheid+:} false; then : 10016 - $as_echo_n "(cached) " >&6 10017 - else 10408 + if eval test \${$cacheid+y} 10409 + then : 10410 + printf %s "(cached) " >&6 10411 + else $as_nop 10018 10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10019 10413 /* end confdefs.h. */ 10020 10414 int i; 10021 10415 int 10022 - main () 10416 + main (void) 10023 10417 { 10024 10418 10025 10419 ; 10026 10420 return 0; 10027 10421 } 10028 10422 _ACEOF 10029 - if ac_fn_c_try_link "$LINENO"; then : 10423 + if ac_fn_c_try_link "$LINENO" 10424 + then : 10030 10425 eval $cacheid=yes 10031 - else 10426 + else $as_nop 10032 10427 eval $cacheid=no 10033 10428 fi 10034 - rm -f core conftest.err conftest.$ac_objext \ 10429 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10035 10430 conftest$ac_exeext conftest.$ac_ext 10036 10431 fi 10037 10432 ··· 10039 10434 CFLAGS="$xorg_testset_save_CFLAGS" 10040 10435 10041 10436 eval supported=\$$cacheid 10042 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10043 - $as_echo "$supported" >&6; } 10437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10438 + printf "%s\n" "$supported" >&6; } 10044 10439 if test "$supported" = "yes" ; then 10045 10440 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 10046 10441 found="yes" ··· 10058 10453 10059 10454 CFLAGS="$CFLAGS -errwarn" 10060 10455 10061 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10062 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 10456 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10457 + printf %s "checking if $CC supports -errwarn... " >&6; } 10063 10458 cacheid=xorg_cv_cc_flag__errwarn 10064 - if eval \${$cacheid+:} false; then : 10065 - $as_echo_n "(cached) " >&6 10066 - else 10459 + if eval test \${$cacheid+y} 10460 + then : 10461 + printf %s "(cached) " >&6 10462 + else $as_nop 10067 10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10068 10464 /* end confdefs.h. */ 10069 10465 int i; 10070 10466 int 10071 - main () 10467 + main (void) 10072 10468 { 10073 10469 10074 10470 ; 10075 10471 return 0; 10076 10472 } 10077 10473 _ACEOF 10078 - if ac_fn_c_try_link "$LINENO"; then : 10474 + if ac_fn_c_try_link "$LINENO" 10475 + then : 10079 10476 eval $cacheid=yes 10080 - else 10477 + else $as_nop 10081 10478 eval $cacheid=no 10082 10479 fi 10083 - rm -f core conftest.err conftest.$ac_objext \ 10480 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10084 10481 conftest$ac_exeext conftest.$ac_ext 10085 10482 fi 10086 10483 ··· 10088 10485 CFLAGS="$xorg_testset_save_CFLAGS" 10089 10486 10090 10487 eval supported=\$$cacheid 10091 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10092 - $as_echo "$supported" >&6; } 10488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10489 + printf "%s\n" "$supported" >&6; } 10093 10490 if test "$supported" = "yes" ; then 10094 10491 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 10095 10492 found="yes" ··· 10117 10514 10118 10515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10119 10516 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10120 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10121 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10122 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10123 - $as_echo_n "(cached) " >&6 10124 - else 10517 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10518 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10519 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10520 + then : 10521 + printf %s "(cached) " >&6 10522 + else $as_nop 10125 10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10126 10524 /* end confdefs.h. */ 10127 10525 int i; 10128 10526 _ACEOF 10129 - if ac_fn_c_try_compile "$LINENO"; then : 10527 + if ac_fn_c_try_compile "$LINENO" 10528 + then : 10130 10529 xorg_cv_cc_flag_unknown_warning_option=yes 10131 - else 10530 + else $as_nop 10132 10531 xorg_cv_cc_flag_unknown_warning_option=no 10133 10532 fi 10134 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10533 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10135 10534 fi 10136 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10137 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10536 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10138 10537 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10139 10538 CFLAGS="$xorg_testset_save_CFLAGS" 10140 10539 fi ··· 10144 10543 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10145 10544 fi 10146 10545 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10147 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10148 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10149 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10150 - $as_echo_n "(cached) " >&6 10151 - else 10546 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10547 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10548 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10549 + then : 10550 + printf %s "(cached) " >&6 10551 + else $as_nop 10152 10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10153 10553 /* end confdefs.h. */ 10154 10554 int i; 10155 10555 _ACEOF 10156 - if ac_fn_c_try_compile "$LINENO"; then : 10556 + if ac_fn_c_try_compile "$LINENO" 10557 + then : 10157 10558 xorg_cv_cc_flag_unused_command_line_argument=yes 10158 - else 10559 + else $as_nop 10159 10560 xorg_cv_cc_flag_unused_command_line_argument=no 10160 10561 fi 10161 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10562 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10162 10563 fi 10163 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10164 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10564 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10565 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10165 10566 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10166 10567 CFLAGS="$xorg_testset_save_CFLAGS" 10167 10568 fi ··· 10179 10580 10180 10581 CFLAGS="$CFLAGS -Werror=attributes" 10181 10582 10182 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10183 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 10583 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10584 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 10184 10585 cacheid=xorg_cv_cc_flag__Werror_attributes 10185 - if eval \${$cacheid+:} false; then : 10186 - $as_echo_n "(cached) " >&6 10187 - else 10586 + if eval test \${$cacheid+y} 10587 + then : 10588 + printf %s "(cached) " >&6 10589 + else $as_nop 10188 10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10189 10591 /* end confdefs.h. */ 10190 10592 int i; 10191 10593 int 10192 - main () 10594 + main (void) 10193 10595 { 10194 10596 10195 10597 ; 10196 10598 return 0; 10197 10599 } 10198 10600 _ACEOF 10199 - if ac_fn_c_try_link "$LINENO"; then : 10601 + if ac_fn_c_try_link "$LINENO" 10602 + then : 10200 10603 eval $cacheid=yes 10201 - else 10604 + else $as_nop 10202 10605 eval $cacheid=no 10203 10606 fi 10204 - rm -f core conftest.err conftest.$ac_objext \ 10607 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10205 10608 conftest$ac_exeext conftest.$ac_ext 10206 10609 fi 10207 10610 ··· 10209 10612 CFLAGS="$xorg_testset_save_CFLAGS" 10210 10613 10211 10614 eval supported=\$$cacheid 10212 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10213 - $as_echo "$supported" >&6; } 10615 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10616 + printf "%s\n" "$supported" >&6; } 10214 10617 if test "$supported" = "yes" ; then 10215 10618 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 10216 10619 found="yes" ··· 10229 10632 10230 10633 10231 10634 10635 + 10636 + 10232 10637 cat >>confdefs.h <<_ACEOF 10233 10638 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 10234 10639 _ACEOF ··· 10238 10643 PVM="0" 10239 10644 fi 10240 10645 10241 - cat >>confdefs.h <<_ACEOF 10242 - #define PACKAGE_VERSION_MINOR $PVM 10243 - _ACEOF 10646 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 10244 10647 10245 10648 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10246 10649 if test "x$PVP" = "x"; then 10247 10650 PVP="0" 10248 10651 fi 10249 10652 10250 - cat >>confdefs.h <<_ACEOF 10251 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 10252 - _ACEOF 10653 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 10253 10654 10254 10655 10255 10656 ··· 10279 10680 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10280 10681 # check for a man page file found in later versions that use 10281 10682 # traditional section numbers instead 10282 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10283 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 10284 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 10285 - $as_echo_n "(cached) " >&6 10286 - else 10683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10684 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 10685 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 10686 + then : 10687 + printf %s "(cached) " >&6 10688 + else $as_nop 10287 10689 test "$cross_compiling" = yes && 10288 10690 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 10289 10691 if test -r "/usr/share/man/man7/attributes.7"; then ··· 10292 10694 ac_cv_file__usr_share_man_man7_attributes_7=no 10293 10695 fi 10294 10696 fi 10295 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10296 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10297 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 10697 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10698 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10699 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 10700 + then : 10298 10701 SYSV_MAN_SECTIONS=false 10299 - else 10702 + else $as_nop 10300 10703 SYSV_MAN_SECTIONS=true 10301 10704 fi 10302 10705 ··· 10391 10794 10392 10795 10393 10796 # Check whether --enable-silent-rules was given. 10394 - if test "${enable_silent_rules+set}" = set; then : 10797 + if test ${enable_silent_rules+y} 10798 + then : 10395 10799 enableval=$enable_silent_rules; 10396 10800 fi 10397 10801 ··· 10401 10805 *) AM_DEFAULT_VERBOSITY=0;; 10402 10806 esac 10403 10807 am_make=${MAKE-make} 10404 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10405 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 10406 - if ${am_cv_make_support_nested_variables+:} false; then : 10407 - $as_echo_n "(cached) " >&6 10408 - else 10409 - if $as_echo 'TRUE=$(BAR$(V)) 10808 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10809 + printf %s "checking whether $am_make supports nested variables... " >&6; } 10810 + if test ${am_cv_make_support_nested_variables+y} 10811 + then : 10812 + printf %s "(cached) " >&6 10813 + else $as_nop 10814 + if printf "%s\n" 'TRUE=$(BAR$(V)) 10410 10815 BAR0=false 10411 10816 BAR1=true 10412 10817 V=1 ··· 10418 10823 am_cv_make_support_nested_variables=no 10419 10824 fi 10420 10825 fi 10421 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10422 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 10826 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10827 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 10423 10828 if test $am_cv_make_support_nested_variables = yes; then 10424 10829 AM_V='$(V)' 10425 10830 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 10431 10836 10432 10837 10433 10838 10839 + 10840 + # Checks for typedefs, structures, and compiler characteristics. 10841 + # Check whether --enable-largefile was given. 10842 + if test ${enable_largefile+y} 10843 + then : 10844 + enableval=$enable_largefile; 10845 + fi 10846 + 10847 + if test "$enable_largefile" != no; then 10848 + 10849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 10850 + printf %s "checking for special C compiler options needed for large files... " >&6; } 10851 + if test ${ac_cv_sys_largefile_CC+y} 10852 + then : 10853 + printf %s "(cached) " >&6 10854 + else $as_nop 10855 + ac_cv_sys_largefile_CC=no 10856 + if test "$GCC" != yes; then 10857 + ac_save_CC=$CC 10858 + while :; do 10859 + # IRIX 6.2 and later do not support large files by default, 10860 + # so use the C compiler's -n32 option if that helps. 10861 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10862 + /* end confdefs.h. */ 10863 + #include <sys/types.h> 10864 + /* Check that off_t can represent 2**63 - 1 correctly. 10865 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 10866 + since some C++ compilers masquerading as C compilers 10867 + incorrectly reject 9223372036854775807. */ 10868 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 10869 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 10870 + && LARGE_OFF_T % 2147483647 == 1) 10871 + ? 1 : -1]; 10872 + int 10873 + main (void) 10874 + { 10875 + 10876 + ; 10877 + return 0; 10878 + } 10879 + _ACEOF 10880 + if ac_fn_c_try_compile "$LINENO" 10881 + then : 10882 + break 10883 + fi 10884 + rm -f core conftest.err conftest.$ac_objext conftest.beam 10885 + CC="$CC -n32" 10886 + if ac_fn_c_try_compile "$LINENO" 10887 + then : 10888 + ac_cv_sys_largefile_CC=' -n32'; break 10889 + fi 10890 + rm -f core conftest.err conftest.$ac_objext conftest.beam 10891 + break 10892 + done 10893 + CC=$ac_save_CC 10894 + rm -f conftest.$ac_ext 10895 + fi 10896 + fi 10897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 10898 + printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; } 10899 + if test "$ac_cv_sys_largefile_CC" != no; then 10900 + CC=$CC$ac_cv_sys_largefile_CC 10901 + fi 10902 + 10903 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 10904 + printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 10905 + if test ${ac_cv_sys_file_offset_bits+y} 10906 + then : 10907 + printf %s "(cached) " >&6 10908 + else $as_nop 10909 + while :; do 10910 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10911 + /* end confdefs.h. */ 10912 + #include <sys/types.h> 10913 + /* Check that off_t can represent 2**63 - 1 correctly. 10914 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 10915 + since some C++ compilers masquerading as C compilers 10916 + incorrectly reject 9223372036854775807. */ 10917 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 10918 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 10919 + && LARGE_OFF_T % 2147483647 == 1) 10920 + ? 1 : -1]; 10921 + int 10922 + main (void) 10923 + { 10924 + 10925 + ; 10926 + return 0; 10927 + } 10928 + _ACEOF 10929 + if ac_fn_c_try_compile "$LINENO" 10930 + then : 10931 + ac_cv_sys_file_offset_bits=no; break 10932 + fi 10933 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10934 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10935 + /* end confdefs.h. */ 10936 + #define _FILE_OFFSET_BITS 64 10937 + #include <sys/types.h> 10938 + /* Check that off_t can represent 2**63 - 1 correctly. 10939 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 10940 + since some C++ compilers masquerading as C compilers 10941 + incorrectly reject 9223372036854775807. */ 10942 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 10943 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 10944 + && LARGE_OFF_T % 2147483647 == 1) 10945 + ? 1 : -1]; 10946 + int 10947 + main (void) 10948 + { 10949 + 10950 + ; 10951 + return 0; 10952 + } 10953 + _ACEOF 10954 + if ac_fn_c_try_compile "$LINENO" 10955 + then : 10956 + ac_cv_sys_file_offset_bits=64; break 10957 + fi 10958 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10959 + ac_cv_sys_file_offset_bits=unknown 10960 + break 10961 + done 10962 + fi 10963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 10964 + printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } 10965 + case $ac_cv_sys_file_offset_bits in #( 10966 + no | unknown) ;; 10967 + *) 10968 + printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h 10969 + ;; 10970 + esac 10971 + rm -rf conftest* 10972 + if test $ac_cv_sys_file_offset_bits = unknown; then 10973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 10974 + printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } 10975 + if test ${ac_cv_sys_large_files+y} 10976 + then : 10977 + printf %s "(cached) " >&6 10978 + else $as_nop 10979 + while :; do 10980 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10981 + /* end confdefs.h. */ 10982 + #include <sys/types.h> 10983 + /* Check that off_t can represent 2**63 - 1 correctly. 10984 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 10985 + since some C++ compilers masquerading as C compilers 10986 + incorrectly reject 9223372036854775807. */ 10987 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 10988 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 10989 + && LARGE_OFF_T % 2147483647 == 1) 10990 + ? 1 : -1]; 10991 + int 10992 + main (void) 10993 + { 10994 + 10995 + ; 10996 + return 0; 10997 + } 10998 + _ACEOF 10999 + if ac_fn_c_try_compile "$LINENO" 11000 + then : 11001 + ac_cv_sys_large_files=no; break 11002 + fi 11003 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11004 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11005 + /* end confdefs.h. */ 11006 + #define _LARGE_FILES 1 11007 + #include <sys/types.h> 11008 + /* Check that off_t can represent 2**63 - 1 correctly. 11009 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 11010 + since some C++ compilers masquerading as C compilers 11011 + incorrectly reject 9223372036854775807. */ 11012 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 11013 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 11014 + && LARGE_OFF_T % 2147483647 == 1) 11015 + ? 1 : -1]; 11016 + int 11017 + main (void) 11018 + { 11019 + 11020 + ; 11021 + return 0; 11022 + } 11023 + _ACEOF 11024 + if ac_fn_c_try_compile "$LINENO" 11025 + then : 11026 + ac_cv_sys_large_files=1; break 11027 + fi 11028 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11029 + ac_cv_sys_large_files=unknown 11030 + break 11031 + done 11032 + fi 11033 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 11034 + printf "%s\n" "$ac_cv_sys_large_files" >&6; } 11035 + case $ac_cv_sys_large_files in #( 11036 + no | unknown) ;; 11037 + *) 11038 + printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h 11039 + ;; 11040 + esac 11041 + rm -rf conftest* 11042 + fi 11043 + fi 11044 + 11045 + 10434 11046 # Checks for pkg-config packages 10435 11047 10436 11048 pkg_failed=no 10437 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmuu x11 xproto >= 7.0.25" >&5 10438 - $as_echo_n "checking for xmuu x11 xproto >= 7.0.25... " >&6; } 11049 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmuu x11 xproto >= 7.0.25" >&5 11050 + printf %s "checking for xmuu x11 xproto >= 7.0.25... " >&6; } 10439 11051 10440 11052 if test -n "$XPR_CFLAGS"; then 10441 11053 pkg_cv_XPR_CFLAGS="$XPR_CFLAGS" 10442 11054 elif test -n "$PKG_CONFIG"; then 10443 11055 if test -n "$PKG_CONFIG" && \ 10444 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5 11056 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5 10445 11057 ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5 10446 11058 ac_status=$? 10447 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11059 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10448 11060 test $ac_status = 0; }; then 10449 11061 pkg_cv_XPR_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11 xproto >= 7.0.25" 2>/dev/null` 10450 11062 test "x$?" != "x0" && pkg_failed=yes ··· 10458 11070 pkg_cv_XPR_LIBS="$XPR_LIBS" 10459 11071 elif test -n "$PKG_CONFIG"; then 10460 11072 if test -n "$PKG_CONFIG" && \ 10461 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5 11073 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11 xproto >= 7.0.25\""; } >&5 10462 11074 ($PKG_CONFIG --exists --print-errors "xmuu x11 xproto >= 7.0.25") 2>&5 10463 11075 ac_status=$? 10464 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11076 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10465 11077 test $ac_status = 0; }; then 10466 11078 pkg_cv_XPR_LIBS=`$PKG_CONFIG --libs "xmuu x11 xproto >= 7.0.25" 2>/dev/null` 10467 11079 test "x$?" != "x0" && pkg_failed=yes ··· 10475 11087 10476 11088 10477 11089 if test $pkg_failed = yes; then 10478 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10479 - $as_echo "no" >&6; } 11090 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11091 + printf "%s\n" "no" >&6; } 10480 11092 10481 11093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10482 11094 _pkg_short_errors_supported=yes ··· 10502 11114 and XPR_LIBS to avoid the need to call pkg-config. 10503 11115 See the pkg-config man page for more details." "$LINENO" 5 10504 11116 elif test $pkg_failed = untried; then 10505 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10506 - $as_echo "no" >&6; } 10507 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10508 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11117 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11118 + printf "%s\n" "no" >&6; } 11119 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11120 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 10509 11121 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 10510 11122 is in your PATH or set the PKG_CONFIG environment variable to the full 10511 11123 path to pkg-config. ··· 10519 11131 else 10520 11132 XPR_CFLAGS=$pkg_cv_XPR_CFLAGS 10521 11133 XPR_LIBS=$pkg_cv_XPR_LIBS 10522 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10523 - $as_echo "yes" >&6; } 11134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11135 + printf "%s\n" "yes" >&6; } 10524 11136 10525 11137 fi 10526 11138 ··· 10553 11165 case $ac_val in #( 10554 11166 *${as_nl}*) 10555 11167 case $ac_var in #( 10556 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10557 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11168 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11169 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10558 11170 esac 10559 11171 case $ac_var in #( 10560 11172 _ | IFS | as_nl) ;; #( ··· 10584 11196 /^ac_cv_env_/b end 10585 11197 t clear 10586 11198 :clear 10587 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11199 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 10588 11200 t end 10589 11201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10590 11202 :end' >>confcache 10591 11203 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10592 11204 if test -w "$cache_file"; then 10593 11205 if test "x$cache_file" != "x/dev/null"; then 10594 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10595 - $as_echo "$as_me: updating cache $cache_file" >&6;} 11206 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11207 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 10596 11208 if test ! -f "$cache_file" || test -h "$cache_file"; then 10597 11209 cat confcache >"$cache_file" 10598 11210 else ··· 10606 11218 fi 10607 11219 fi 10608 11220 else 10609 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10610 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11222 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 10611 11223 fi 10612 11224 fi 10613 11225 rm -f confcache ··· 10624 11236 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10625 11237 # 1. Remove the extension, and $U if already installed. 10626 11238 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10627 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11239 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 10628 11240 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10629 11241 # will be set to the directory where LIBOBJS objects are built. 10630 11242 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 10635 11247 LTLIBOBJS=$ac_ltlibobjs 10636 11248 10637 11249 10638 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10639 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 11250 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11251 + printf %s "checking that generated files are newer than configure... " >&6; } 10640 11252 if test -n "$am_sleep_pid"; then 10641 11253 # Hide warnings about reused PIDs. 10642 11254 wait $am_sleep_pid 2>/dev/null 10643 11255 fi 10644 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10645 - $as_echo "done" >&6; } 11256 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 11257 + printf "%s\n" "done" >&6; } 10646 11258 if test -n "$EXEEXT"; then 10647 11259 am__EXEEXT_TRUE= 10648 11260 am__EXEEXT_FALSE='#' ··· 10655 11267 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 10656 11268 Usually this means the macro was only invoked conditionally." "$LINENO" 5 10657 11269 fi 10658 - if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 10659 - as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 10660 - Usually this means the macro was only invoked conditionally." "$LINENO" 5 10661 - fi 10662 11270 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10663 11271 as_fn_error $? "conditional \"AMDEP\" was never defined. 10664 11272 Usually this means the macro was only invoked conditionally." "$LINENO" 5 ··· 10672 11280 ac_write_fail=0 10673 11281 ac_clean_files_save=$ac_clean_files 10674 11282 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10675 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10676 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11283 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11284 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 10677 11285 as_write_fail=0 10678 11286 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10679 11287 #! $SHELL ··· 10696 11304 10697 11305 # Be more Bourne compatible 10698 11306 DUALCASE=1; export DUALCASE # for MKS sh 10699 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11307 + as_nop=: 11308 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 11309 + then : 10700 11310 emulate sh 10701 11311 NULLCMD=: 10702 11312 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10703 11313 # is contrary to our usage. Disable this feature. 10704 11314 alias -g '${1+"$@"}'='"$@"' 10705 11315 setopt NO_GLOB_SUBST 10706 - else 11316 + else $as_nop 10707 11317 case `(set -o) 2>/dev/null` in #( 10708 11318 *posix*) : 10709 11319 set -o posix ;; #( ··· 10711 11321 ;; 10712 11322 esac 10713 11323 fi 11324 + 10714 11325 10715 11326 11327 + # Reset variables that may have inherited troublesome values from 11328 + # the environment. 11329 + 11330 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 11331 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 11332 + # side effect of setting IFS to empty, thus disabling word splitting.) 11333 + # Quoting is to prevent editors from complaining about space-tab. 10716 11334 as_nl=' 10717 11335 ' 10718 11336 export as_nl 10719 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 10720 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10721 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10722 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10723 - # Prefer a ksh shell builtin over an external printf program on Solaris, 10724 - # but without wasting forks for bash or zsh. 10725 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 10726 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10727 - as_echo='print -r --' 10728 - as_echo_n='print -rn --' 10729 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10730 - as_echo='printf %s\n' 10731 - as_echo_n='printf %s' 10732 - else 10733 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10734 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10735 - as_echo_n='/usr/ucb/echo -n' 10736 - else 10737 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10738 - as_echo_n_body='eval 10739 - arg=$1; 10740 - case $arg in #( 10741 - *"$as_nl"*) 10742 - expr "X$arg" : "X\\(.*\\)$as_nl"; 10743 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10744 - esac; 10745 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10746 - ' 10747 - export as_echo_n_body 10748 - as_echo_n='sh -c $as_echo_n_body as_echo' 10749 - fi 10750 - export as_echo_body 10751 - as_echo='sh -c $as_echo_body as_echo' 10752 - fi 11337 + IFS=" "" $as_nl" 11338 + 11339 + PS1='$ ' 11340 + PS2='> ' 11341 + PS4='+ ' 11342 + 11343 + # Ensure predictable behavior from utilities with locale-dependent output. 11344 + LC_ALL=C 11345 + export LC_ALL 11346 + LANGUAGE=C 11347 + export LANGUAGE 11348 + 11349 + # We cannot yet rely on "unset" to work, but we need these variables 11350 + # to be unset--not just set to an empty or harmless value--now, to 11351 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 11352 + # also avoids known problems related to "unset" and subshell syntax 11353 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 11354 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 11355 + do eval test \${$as_var+y} \ 11356 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11357 + done 11358 + 11359 + # Ensure that fds 0, 1, and 2 are open. 11360 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 11361 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 11362 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 10753 11363 10754 11364 # The user is always right. 10755 - if test "${PATH_SEPARATOR+set}" != set; then 11365 + if ${PATH_SEPARATOR+false} :; then 10756 11366 PATH_SEPARATOR=: 10757 11367 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10758 11368 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 10761 11371 fi 10762 11372 10763 11373 10764 - # IFS 10765 - # We need space, tab and new line, in precisely that order. Quoting is 10766 - # there to prevent editors from complaining about space-tab. 10767 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 10768 - # splitting by setting IFS to empty value.) 10769 - IFS=" "" $as_nl" 10770 - 10771 11374 # Find who we are. Look in the path if we contain no directory separator. 10772 11375 as_myself= 10773 11376 case $0 in #(( ··· 10776 11379 for as_dir in $PATH 10777 11380 do 10778 11381 IFS=$as_save_IFS 10779 - test -z "$as_dir" && as_dir=. 10780 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11382 + case $as_dir in #((( 11383 + '') as_dir=./ ;; 11384 + */) ;; 11385 + *) as_dir=$as_dir/ ;; 11386 + esac 11387 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10781 11388 done 10782 11389 IFS=$as_save_IFS 10783 11390 ··· 10789 11396 as_myself=$0 10790 11397 fi 10791 11398 if test ! -f "$as_myself"; then 10792 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11399 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10793 11400 exit 1 10794 11401 fi 10795 11402 10796 - # Unset variables that we do not need and which cause bugs (e.g. in 10797 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10798 - # suppresses any "Segmentation fault" message there. '((' could 10799 - # trigger a bug in pdksh 5.2.14. 10800 - for as_var in BASH_ENV ENV MAIL MAILPATH 10801 - do eval test x\${$as_var+set} = xset \ 10802 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10803 - done 10804 - PS1='$ ' 10805 - PS2='> ' 10806 - PS4='+ ' 10807 - 10808 - # NLS nuisances. 10809 - LC_ALL=C 10810 - export LC_ALL 10811 - LANGUAGE=C 10812 - export LANGUAGE 10813 - 10814 - # CDPATH. 10815 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10816 11403 10817 11404 10818 11405 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 10825 11412 as_status=$1; test $as_status -eq 0 && as_status=1 10826 11413 if test "$4"; then 10827 11414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10828 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11415 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10829 11416 fi 10830 - $as_echo "$as_me: error: $2" >&2 11417 + printf "%s\n" "$as_me: error: $2" >&2 10831 11418 as_fn_exit $as_status 10832 11419 } # as_fn_error 11420 + 10833 11421 10834 11422 10835 11423 # as_fn_set_status STATUS ··· 10858 11446 { eval $1=; unset $1;} 10859 11447 } 10860 11448 as_unset=as_fn_unset 11449 + 10861 11450 # as_fn_append VAR VALUE 10862 11451 # ---------------------- 10863 11452 # Append the text in VALUE to the end of the definition contained in VAR. Take 10864 11453 # advantage of any shell optimizations that allow amortized linear growth over 10865 11454 # repeated appends, instead of the typical quadratic growth present in naive 10866 11455 # implementations. 10867 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11456 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 11457 + then : 10868 11458 eval 'as_fn_append () 10869 11459 { 10870 11460 eval $1+=\$2 10871 11461 }' 10872 - else 11462 + else $as_nop 10873 11463 as_fn_append () 10874 11464 { 10875 11465 eval $1=\$$1\$2 ··· 10881 11471 # Perform arithmetic evaluation on the ARGs, and store the result in the 10882 11472 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10883 11473 # must be portable across $(()) and expr. 10884 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11474 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 11475 + then : 10885 11476 eval 'as_fn_arith () 10886 11477 { 10887 11478 as_val=$(( $* )) 10888 11479 }' 10889 - else 11480 + else $as_nop 10890 11481 as_fn_arith () 10891 11482 { 10892 11483 as_val=`expr "$@" || test $? -eq 1` ··· 10917 11508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10918 11509 X"$0" : 'X\(//\)$' \| \ 10919 11510 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10920 - $as_echo X/"$0" | 11511 + printf "%s\n" X/"$0" | 10921 11512 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10922 11513 s//\1/ 10923 11514 q ··· 10939 11530 as_cr_digits='0123456789' 10940 11531 as_cr_alnum=$as_cr_Letters$as_cr_digits 10941 11532 11533 + 11534 + # Determine whether it's possible to make 'echo' print without a newline. 11535 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 11536 + # for compatibility with existing Makefiles. 10942 11537 ECHO_C= ECHO_N= ECHO_T= 10943 11538 case `echo -n x` in #((((( 10944 11539 -n*) ··· 10952 11547 ECHO_N='-n';; 10953 11548 esac 10954 11549 11550 + # For backward compatibility with old third-party macros, we provide 11551 + # the shell variables $as_echo and $as_echo_n. New code should use 11552 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 11553 + as_echo='printf %s\n' 11554 + as_echo_n='printf %s' 11555 + 10955 11556 rm -f conf$$ conf$$.exe conf$$.file 10956 11557 if test -d conf$$.dir; then 10957 11558 rm -f conf$$.dir/conf$$.file ··· 10993 11594 as_dirs= 10994 11595 while :; do 10995 11596 case $as_dir in #( 10996 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11597 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10997 11598 *) as_qdir=$as_dir;; 10998 11599 esac 10999 11600 as_dirs="'$as_qdir' $as_dirs" ··· 11002 11603 X"$as_dir" : 'X\(//\)[^/]' \| \ 11003 11604 X"$as_dir" : 'X\(//\)$' \| \ 11004 11605 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11005 - $as_echo X"$as_dir" | 11606 + printf "%s\n" X"$as_dir" | 11006 11607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11007 11608 s//\1/ 11008 11609 q ··· 11064 11665 # report actual input values of CONFIG_FILES etc. instead of their 11065 11666 # values after options handling. 11066 11667 ac_log=" 11067 - This file was extended by xpr $as_me 1.0.5, which was 11068 - generated by GNU Autoconf 2.69. Invocation command line was 11668 + This file was extended by xpr $as_me 1.2.0, which was 11669 + generated by GNU Autoconf 2.71. Invocation command line was 11069 11670 11070 11671 CONFIG_FILES = $CONFIG_FILES 11071 11672 CONFIG_HEADERS = $CONFIG_HEADERS ··· 11124 11725 Configuration commands: 11125 11726 $config_commands 11126 11727 11127 - Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 11728 + Report bugs to <https://gitlab.freedesktop.org/xorg/app/xpr/-/issues>." 11128 11729 11129 11730 _ACEOF 11731 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 11732 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 11130 11733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11131 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11734 + ac_cs_config='$ac_cs_config_escaped' 11132 11735 ac_cs_version="\\ 11133 - xpr config.status 1.0.5 11134 - configured by $0, generated by GNU Autoconf 2.69, 11736 + xpr config.status 1.2.0 11737 + configured by $0, generated by GNU Autoconf 2.71, 11135 11738 with options \\"\$ac_cs_config\\" 11136 11739 11137 - Copyright (C) 2012 Free Software Foundation, Inc. 11740 + Copyright (C) 2021 Free Software Foundation, Inc. 11138 11741 This config.status script is free software; the Free Software Foundation 11139 11742 gives unlimited permission to copy, distribute and modify it." 11140 11743 ··· 11174 11777 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11175 11778 ac_cs_recheck=: ;; 11176 11779 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11177 - $as_echo "$ac_cs_version"; exit ;; 11780 + printf "%s\n" "$ac_cs_version"; exit ;; 11178 11781 --config | --confi | --conf | --con | --co | --c ) 11179 - $as_echo "$ac_cs_config"; exit ;; 11782 + printf "%s\n" "$ac_cs_config"; exit ;; 11180 11783 --debug | --debu | --deb | --de | --d | -d ) 11181 11784 debug=: ;; 11182 11785 --file | --fil | --fi | --f ) 11183 11786 $ac_shift 11184 11787 case $ac_optarg in 11185 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11788 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11186 11789 '') as_fn_error $? "missing file argument" ;; 11187 11790 esac 11188 11791 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 11190 11793 --header | --heade | --head | --hea ) 11191 11794 $ac_shift 11192 11795 case $ac_optarg in 11193 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11796 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11194 11797 esac 11195 11798 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11196 11799 ac_need_defaults=false;; ··· 11199 11802 as_fn_error $? "ambiguous option: \`$1' 11200 11803 Try \`$0 --help' for more information.";; 11201 11804 --help | --hel | -h ) 11202 - $as_echo "$ac_cs_usage"; exit ;; 11805 + printf "%s\n" "$ac_cs_usage"; exit ;; 11203 11806 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11204 11807 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11205 11808 ac_cs_silent=: ;; ··· 11227 11830 if \$ac_cs_recheck; then 11228 11831 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11229 11832 shift 11230 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11833 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 11231 11834 CONFIG_SHELL='$SHELL' 11232 11835 export CONFIG_SHELL 11233 11836 exec "\$@" ··· 11241 11844 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11242 11845 ## Running $as_me. ## 11243 11846 _ASBOX 11244 - $as_echo "$ac_log" 11847 + printf "%s\n" "$ac_log" 11245 11848 } >&5 11246 11849 11247 11850 _ACEOF ··· 11273 11876 # We use the long form for the default assignment because of an extremely 11274 11877 # bizarre bug on SunOS 4.1.3. 11275 11878 if $ac_need_defaults; then 11276 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11277 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11278 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11879 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 11880 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 11881 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 11279 11882 fi 11280 11883 11281 11884 # Have a temporary directory for convenience. Make it in the build tree ··· 11611 12214 esac || 11612 12215 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11613 12216 esac 11614 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12217 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11615 12218 as_fn_append ac_file_inputs " '$ac_f'" 11616 12219 done 11617 12220 ··· 11619 12222 # use $as_me), people would be surprised to read: 11620 12223 # /* config.h. Generated by config.status. */ 11621 12224 configure_input='Generated from '` 11622 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12225 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11623 12226 `' by configure.' 11624 12227 if test x"$ac_file" != x-; then 11625 12228 configure_input="$ac_file. $configure_input" 11626 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11627 - $as_echo "$as_me: creating $ac_file" >&6;} 12229 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12230 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 11628 12231 fi 11629 12232 # Neutralize special characters interpreted by sed in replacement strings. 11630 12233 case $configure_input in #( 11631 12234 *\&* | *\|* | *\\* ) 11632 - ac_sed_conf_input=`$as_echo "$configure_input" | 12235 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 11633 12236 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11634 12237 *) ac_sed_conf_input=$configure_input;; 11635 12238 esac ··· 11646 12249 X"$ac_file" : 'X\(//\)[^/]' \| \ 11647 12250 X"$ac_file" : 'X\(//\)$' \| \ 11648 12251 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11649 - $as_echo X"$ac_file" | 12252 + printf "%s\n" X"$ac_file" | 11650 12253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11651 12254 s//\1/ 11652 12255 q ··· 11670 12273 case "$ac_dir" in 11671 12274 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11672 12275 *) 11673 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12276 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 11674 12277 # A ".." for each directory in $ac_dir_suffix. 11675 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12278 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11676 12279 case $ac_top_builddir_sub in 11677 12280 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11678 12281 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 11734 12337 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11735 12338 *datarootdir*) ac_datarootdir_seen=yes;; 11736 12339 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11737 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11738 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12340 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12341 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11739 12342 _ACEOF 11740 12343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11741 12344 ac_datarootdir_hack=' ··· 11779 12382 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11780 12383 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11781 12384 "$ac_tmp/out"`; test -z "$ac_out"; } && 11782 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11783 12386 which seems to be undefined. Please make sure it is defined" >&5 11784 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12387 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11785 12388 which seems to be undefined. Please make sure it is defined" >&2;} 11786 12389 11787 12390 rm -f "$ac_tmp/stdin" ··· 11797 12400 # 11798 12401 if test x"$ac_file" != x-; then 11799 12402 { 11800 - $as_echo "/* $configure_input */" \ 12403 + printf "%s\n" "/* $configure_input */" >&1 \ 11801 12404 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11802 12405 } >"$ac_tmp/config.h" \ 11803 12406 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11804 12407 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11805 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11806 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 12408 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12409 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 11807 12410 else 11808 12411 rm -f "$ac_file" 11809 12412 mv "$ac_tmp/config.h" "$ac_file" \ 11810 12413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11811 12414 fi 11812 12415 else 11813 - $as_echo "/* $configure_input */" \ 12416 + printf "%s\n" "/* $configure_input */" >&1 \ 11814 12417 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11815 12418 || as_fn_error $? "could not create -" "$LINENO" 5 11816 12419 fi ··· 11830 12433 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11831 12434 X"$_am_arg" : 'X\(//\)$' \| \ 11832 12435 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11833 - $as_echo X"$_am_arg" | 12436 + printf "%s\n" X"$_am_arg" | 11834 12437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11835 12438 s//\1/ 11836 12439 q ··· 11850 12453 s/.*/./; q'`/stamp-h$_am_stamp_count 11851 12454 ;; 11852 12455 11853 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 11854 - $as_echo "$as_me: executing $ac_file commands" >&6;} 12456 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12457 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 11855 12458 ;; 11856 12459 esac 11857 12460 ··· 11883 12486 X"$mf" : 'X\(//\)[^/]' \| \ 11884 12487 X"$mf" : 'X\(//\)$' \| \ 11885 12488 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11886 - $as_echo X"$mf" | 12489 + printf "%s\n" X"$mf" | 11887 12490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11888 12491 s//\1/ 11889 12492 q ··· 11925 12528 X"$file" : 'X\(//\)[^/]' \| \ 11926 12529 X"$file" : 'X\(//\)$' \| \ 11927 12530 X"$file" : 'X\(/\)' \| . 2>/dev/null || 11928 - $as_echo X"$file" | 12531 + printf "%s\n" X"$file" | 11929 12532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11930 12533 s//\1/ 11931 12534 q ··· 11984 12587 $ac_cs_success || as_fn_exit 1 11985 12588 fi 11986 12589 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11987 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11988 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12591 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11989 12592 fi 11990 12593
+6 -4
app/xpr/configure.ac
··· 23 23 24 24 # Initialize Autoconf 25 25 AC_PREREQ([2.60]) 26 - AC_INIT([xpr], [1.0.5], 27 - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xpr]) 26 + AC_INIT([xpr], [1.2.0], 27 + [https://gitlab.freedesktop.org/xorg/app/xpr/-/issues], [xpr]) 28 28 AC_CONFIG_SRCDIR([Makefile.am]) 29 29 AC_CONFIG_HEADERS([config.h]) 30 30 31 31 # Initialize Automake 32 - AM_INIT_AUTOMAKE([foreign dist-bzip2]) 33 - AM_MAINTAINER_MODE 32 + AM_INIT_AUTOMAKE([foreign dist-xz]) 34 33 35 34 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 36 35 m4_ifndef([XORG_MACROS_VERSION], 37 36 [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 38 37 XORG_MACROS_VERSION(1.8) 39 38 XORG_DEFAULT_OPTIONS 39 + 40 + # Checks for typedefs, structures, and compiler characteristics. 41 + AC_SYS_LARGEFILE 40 42 41 43 # Checks for pkg-config packages 42 44 PKG_CHECK_MODULES(XPR, [xmuu x11 xproto >= 7.0.25])
+214 -200
app/xpr/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:
+10 -7
app/xpr/x2jet.c
··· 658 658 setup_RGBshiftmask(&color.sm, xwd_header.red_mask, 659 659 xwd_header.green_mask, xwd_header.blue_mask); 660 660 else { 661 - if (!(colormap = (long *) malloc(xwd_header.ncolors * sizeof(long)))) 661 + if (!(colormap = malloc(xwd_header.ncolors * sizeof(long)))) 662 662 fatal_err((catgets(nlmsg_fd,NL_SETN,24, 663 663 "Could not allocate memory for X-to-printer colormap."))); 664 664 ··· 937 937 * if possible, otherwise malloc space. 938 938 */ 939 939 if (color.freechain == NULL) { 940 - if (!(new = (COLORINDEX *) malloc(sizeof(COLORINDEX)))) 940 + if (!(new = malloc(sizeof(COLORINDEX)))) 941 941 fatal_err((catgets(nlmsg_fd,NL_SETN,8, 942 942 "Could not allocate memory for color translation."))); 943 943 } else { ··· 1116 1116 } 1117 1117 1118 1118 /* Allocate space for xwd color structures */ 1119 - if (!(xwd_colors = (XColor*) malloc(sizeof(XColor) * xwd_header.ncolors))) 1119 + if (!(xwd_colors = malloc(sizeof(XColor) * xwd_header.ncolors))) 1120 1120 fatal_err((catgets(nlmsg_fd,NL_SETN,12, 1121 1121 "Could not allocate memory for xwdfile color table."))); 1122 1122 ··· 1285 1285 if (device == PJETXL) 1286 1286 fprintf(out,"\033*rC"); 1287 1287 else 1288 + { 1288 1289 fprintf(out,"\033*rB"); 1290 + fprintf(out,"\033E"); 1291 + } 1289 1292 1290 1293 /* If doing transparencies, tell it to stop */ 1291 1294 if (slide && device != LJET) ··· 1526 1529 int height = limit.height; 1527 1530 long *line, *lp; 1528 1531 1529 - if (!(line = (long *) malloc(width * sizeof(long)))) 1532 + if (!(line = malloc(width * sizeof(long)))) 1530 1533 fatal_err((catgets(nlmsg_fd,NL_SETN,18, 1531 1534 "Could not allocate memory for image line buffer."))); 1532 1535 ··· 1551 1554 int height = limit.width; 1552 1555 long *line, *lp; 1553 1556 1554 - if (!(line = (long *) malloc(width * sizeof(long)))) 1557 + if (!(line = malloc(width * sizeof(long)))) 1555 1558 fatal_err((catgets(nlmsg_fd,NL_SETN,19, 1556 1559 "Could not allocate memory for image line buffer."))); 1557 1560 ··· 1576 1579 int height = limit.height; 1577 1580 long *line, *lp; 1578 1581 1579 - if (!(line = (long *) malloc(width * sizeof(long)))) 1582 + if (!(line = malloc(width * sizeof(long)))) 1580 1583 fatal_err((catgets(nlmsg_fd,NL_SETN,20, 1581 1584 "Could not allocate memory for image line buffer."))); 1582 1585 ··· 1601 1604 int height = limit.width; 1602 1605 long *line, *lp; 1603 1606 1604 - if (!(line = (long *) malloc(width * sizeof(long)))) 1607 + if (!(line = malloc(width * sizeof(long)))) 1605 1608 fatal_err((catgets(nlmsg_fd,NL_SETN,21, 1606 1609 "Could not allocate memory for image line buffer."))); 1607 1610
+10 -14
app/xpr/x2pmp.c
··· 65 65 } 66 66 67 67 win_name_size = abs_(header.header_size - sizeof(header)); 68 - if ((win_name = (unsigned char *) 69 - calloc(win_name_size, (unsigned) sizeof(char))) == NULL) 68 + if ((win_name = calloc(win_name_size, sizeof(char))) == NULL) 70 69 leave("Can't calloc window name storage."); 71 70 72 71 /* Read window name from file */ ··· 113 112 ncolors = header.ncolors; 114 113 if (ncolors) { 115 114 int i; 116 - XColor *colors = (XColor *)malloc((unsigned) (header.ncolors * sizeof(XColor))); 115 + XColor *colors = malloc((unsigned) (header.ncolors * sizeof(XColor))); 117 116 118 117 if (fread((char *)colors, sizeof(XColor), ncolors, in) != ncolors) 119 118 leave("Unable to read colormap from dump file."); ··· 131 130 132 131 invert = !invert; /* 3812 puts ink (i.e. black) on 1-bits */ 133 132 134 - if ((buffer = (unsigned char *) calloc(buffer_size, 1)) == NULL) 133 + if ((buffer = calloc(buffer_size, 1)) == NULL) 135 134 leave("Can't calloc data buffer."); 136 - bzero((char *) buffer, (int) buffer_size); 137 135 138 136 /* Read bitmap from file */ 139 137 if (fread((char *) buffer, sizeof(char), (int) buffer_size, in) ··· 182 180 unsigned char *scale_buf; 183 181 int i, j, k; 184 182 185 - if ((scale_buf = (unsigned char *) 186 - calloc((unsigned) (buffer_size *= scale*scale), sizeof(char))) 183 + if ((scale_buf = 184 + calloc((unsigned) (buffer_size *= scale*scale), sizeof(char))) 187 185 == NULL) 188 186 leave("Can't calloc scaled buffer."); 189 187 for(i = 0; i < height; i++) { ··· 198 196 } 199 197 } 200 198 } 201 - free((char *) buffer); 202 - free((char *) tbl); 199 + free(buffer); 200 + free(tbl); 203 201 buffer = scale_buf; 204 202 byte_width *= scale; 205 203 width *= scale; ··· 236 234 p_move_abs(out, x_pos, y_pos); 237 235 p_bitmap(out, height, fixed_width, (unsigned long) one_plane_size, 238 236 buffer + plane * one_plane_size); 239 - free((char *) win_name); 240 - free((char *) buffer); 237 + free(win_name); 238 + free(buffer); 241 239 } 242 240 243 241 static ··· 246 244 unsigned char *tbl; 247 245 int c; 248 246 249 - if ((tbl = (unsigned char *) 250 - calloc((unsigned) (scale*256), sizeof(char))) == NULL) 247 + if ((tbl = calloc(scale, 256)) == NULL) 251 248 leave("Can't calloc magnification table."); 252 - bzero((char *) tbl, scale*256); 253 249 for(c = 256; c--;) { 254 250 int b = c, bit; 255 251 unsigned char *entry = tbl+c*scale;
+151 -22
app/xpr/xpr.c
··· 69 69 * to devices recognized. Also added -density, -cutoff, and -noposition 70 70 * command line options. 71 71 * 72 + * Modified by Jay Hobson, Sun Microsystems to support paper sizes other 73 + * than 8.5x11 inches. 74 + * 75 + * Copyright (c) 2002, Oracle and/or its affiliates. 76 + * 77 + * Permission is hereby granted, free of charge, to any person obtaining a 78 + * copy of this software and associated documentation files (the "Software"), 79 + * to deal in the Software without restriction, including without limitation 80 + * the rights to use, copy, modify, merge, publish, distribute, sublicense, 81 + * and/or sell copies of the Software, and to permit persons to whom the 82 + * Software is furnished to do so, subject to the following conditions: 83 + * 84 + * The above copyright notice and this permission notice (including the next 85 + * paragraph) shall be included in all copies or substantial portions of the 86 + * Software. 87 + * 88 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 89 + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 90 + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 91 + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 92 + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 93 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 94 + * DEALINGS IN THE SOFTWARE. 72 95 */ 73 96 74 97 #ifdef HAVE_CONFIG_H ··· 115 138 #define W_PAGE 2550 116 139 #define H_PAGE 3225 117 140 141 + #define PAPER_WIDTH 85*30 /* 8.5 inches */ 142 + #define PAPER_LENGTH 11*300 /* 11 inches */ 143 + 118 144 #ifdef NOINLINE 119 145 #define min(x,y) (((x)<(y))?(x):(y)) 120 146 #endif /* NOINLINE */ ··· 155 181 static GrayRec gray3x3 = {sizeof(grayscale3x3)/sizeof(long), 3, 3, grayscale3x3}; 156 182 static GrayRec gray4x4 = {sizeof(grayscale4x4)/sizeof(long), 4, 4, grayscale4x4}; 157 183 184 + typedef struct { 185 + char *name; 186 + double width; 187 + double length; 188 + } PaperRec; 189 + 190 + PaperRec paper_size[] = { 191 + {"Letter", 8.5, 11.0 }, 192 + {"Legal", 8.5, 14.0 }, 193 + {"A0", 33.11, 46.81}, 194 + {"A1", 23.39, 33.11}, 195 + {"A2", 16.5, 23.39}, 196 + {"A3", 11.7, 16.5 }, 197 + {"A4", 8.27, 11.7 }, 198 + {"A5", 5.83, 8.27}, 199 + {"A6", 4.13, 5.83}, 200 + {"A7", 2.91, 4.13}, 201 + {"A8", 2.05, 2.91}, 202 + {"A9", 1.46, 2.05}, 203 + {"A10", 1.02, 1.46}, 204 + {"B0", 39.37, 55.67}, 205 + {"B1", 27.83, 39.37}, 206 + {"B2", 19.69, 27.83}, 207 + {"B3", 13.90, 19.69}, 208 + {"B4", 9.84, 13.90}, 209 + {"B5", 6.93, 9.84}, 210 + {"B6", 4.92, 6.93}, 211 + {"B7", 3.46, 4.92}, 212 + {"B8", 2.44, 3.46}, 213 + {"B9", 1.73, 2.44}, 214 + {"B10", 1.22, 1.73}, 215 + {"C0", 36.10, 51.06}, 216 + {"C1", 25.51, 36.10}, 217 + {"C2", 18.03, 25.51}, 218 + {"C3", 12.76, 18.03}, 219 + {"C4", 9.02, 12.76}, 220 + {"C5", 6.38, 9.02}, 221 + {"C6", 4.49, 6.38}, 222 + {"C7", 3.19, 4.49}, 223 + {"C8", 2.24, 3.19}, 224 + {"C9", 1.57, 2.24}, 225 + {"C10", 1.10, 1.57} 226 + }; 227 + 228 + 158 229 /* mapping tables to map a byte in to the hex representation of its 159 230 * bit-reversal 160 231 */ ··· 192 263 int *density, 193 264 unsigned int *cutoff, 194 265 float *gamma, 195 - int *render); 266 + int *render, 267 + int *paper_width, 268 + int *paper_length); 196 269 static 197 270 void setup_layout( 198 271 enum device device, ··· 204 277 char *header, 205 278 char *trailer, 206 279 int *scale, 207 - enum orientation *orientation); 280 + enum orientation *orientation, 281 + int wmax, 282 + int hmax); 208 283 static 209 284 char *convert_data( 210 285 XWDFileHeader *win, ··· 227 302 int flags, 228 303 const char *header, 229 304 const char *trailer, 230 - const char *name); 305 + const char *name, 306 + int paper_width, 307 + int paper_length); 231 308 static void ps_finish(void); 232 309 static void ps_output_bits( 233 310 int iw, ··· 273 350 enum orientation orientation; 274 351 enum device device; 275 352 XColor *colors = (XColor *)NULL; 353 + int paper_width = PAPER_WIDTH; 354 + int paper_length = PAPER_LENGTH; 355 + int w_max = W_MAX; 356 + int h_max = W_MAX; 276 357 277 358 if (!(progname = argv[0])) 278 359 progname = "xpr"; ··· 281 362 #endif 282 363 parse_args (argc, argv, &scale, &width, &height, &left, &top, &device, 283 364 &flags, &split, &header, &trailer, &plane, &gray, 284 - &density, &cutoff, &gamma, &render); 365 + &density, &cutoff, &gamma, &render, &paper_width, &paper_length); 366 + 367 + if (paper_width != PAPER_WIDTH) 368 + w_max = paper_width - 150; 369 + if (paper_length != PAPER_LENGTH) 370 + h_max = paper_length - 150; 285 371 286 372 if (device == PP) { 287 373 x2pmp(stdin, stdout, scale, ··· 329 415 330 416 if(win.ncolors) { 331 417 XWDColor xwdcolor; 332 - colors = (XColor *)malloc((unsigned) (win.ncolors * sizeof(XColor))); 418 + colors = malloc((unsigned) (win.ncolors * sizeof(XColor))); 333 419 for (i = 0; i < win.ncolors; i++) { 334 420 fullread(0, (char*)&xwdcolor, (int) sizeof xwdcolor); 335 421 colors[i].pixel = xwdcolor.pixel; ··· 370 456 371 457 /* calculate orientation and scale */ 372 458 setup_layout(device, (int) win.pixmap_width, (int) win.pixmap_height, 373 - flags, width, height, header, trailer, &scale, &orientation); 459 + flags, width, height, header, trailer, &scale, &orientation, 460 + w_max, h_max); 374 461 375 462 iw = win.pixmap_width; 376 463 ih = win.pixmap_height; 377 464 378 465 ps_setup(iw, ih, orientation, scale, left, top, 379 - flags, header, trailer, w_name); 466 + flags, header, trailer, w_name, paper_width, paper_length); 380 467 ps_output_bits(iw, ih, flags, orientation, &win, data); 381 468 ps_finish(); 382 469 ··· 428 515 " -landscape -portrait\n" 429 516 " -left <inches> -top <inches>\n" 430 517 " -noposition\n" 518 + " -papertype {letter | legal | A0-A10 | B0-B10 | C0-C10}\n" 519 + " -pheight <inches>[in | cm | mm] -pwidth <inches>[in | cm | mm]\n" 431 520 " -plane <n>\n" 432 521 " -psfig\n" 433 522 " -render <type>\n" ··· 460 549 int *density, 461 550 unsigned int *cutoff, 462 551 float *gamma, 463 - int *render) 552 + int *render, 553 + int *paper_width, 554 + int *paper_length) 464 555 { 465 556 register char *output_filename; 466 557 register int f; 467 - register int pos; 468 558 469 559 output_filename = NULL; 470 560 *device = PS; /* default */ ··· 568 658 output_filename = *argv; 569 659 } else if (!strcmp(*argv, "-portrait")) { 570 660 *flags |= F_PORTRAIT; 661 + } else if (!strcmp(*argv, "-papertype")) { 662 + int found = 0; 663 + int i; 664 + 665 + argc--; argv++; 666 + if (argc == 0) missing_arg(arg); 667 + for (i = 0; i < sizeof (paper_size) / sizeof (PaperRec); i++) 668 + { 669 + if (!strcasecmp(paper_size[i].name, *argv)) 670 + { 671 + found = 1; 672 + *paper_width = (int)(300.0 * paper_size[i].width); 673 + *paper_length = (int)(300.0 * paper_size[i].length); 674 + } 675 + } 676 + if (!found) usage(); 571 677 } else if (!strcmp(*argv, "-plane")) { 572 678 argc--; argv++; 573 679 if (argc == 0) missing_arg(arg); 574 680 *plane = atoi(*argv); 575 681 } else if (!strcmp(*argv, "-psfig")) { 576 682 *flags |= F_NPOSITION; 683 + } else if (!strcmp(*argv, "-pwidth")) { 684 + double mult = 1.0; 685 + 686 + argc--; argv++; 687 + if (argc == 0) missing_arg(arg); 688 + if (strstr(*argv, "cm")) 689 + mult = 2.54; 690 + else if ( strstr ( *argv, "mm" )) 691 + mult = 25.4; 692 + *paper_width = (int)(300.0 * atof(*argv) / mult); 693 + } else if (!strcmp(*argv, "-pheight")) { 694 + double mult = 1.0; 695 + 696 + argc--; argv++; 697 + if (argc == 0) missing_arg(arg); 698 + if ( strstr ( *argv, "cm" )) 699 + mult = 2.54; 700 + else if ( strstr ( *argv, "mm" )) 701 + mult = 25.4; 702 + *paper_length = (int)(300.0 * atof(*argv) / mult); 577 703 } else if (!strcmp(*argv, "-rv")) { 578 704 *flags |= F_INVERT; 579 705 } else if (!strcmp(*argv, "-render")) { ··· 637 763 exit(1); 638 764 } 639 765 if (*flags & F_APPEND) { 640 - pos = lseek(f, 0, 2); /* get eof position */ 766 + off_t pos = lseek(f, 0, SEEK_END); /* get eof position */ 641 767 if ((*flags & F_NOFF) && 642 768 !(*device == LJET || *device == PJET || *device == PJETXL)) 643 769 pos -= 3; /* set position before trailing */ 644 770 /* formfeed and reset */ 645 - lseek(f, pos, 0); /* set pointer */ 771 + lseek(f, pos, SEEK_SET); /* set pointer */ 646 772 } 647 773 dup2(f, 1); 648 774 close(f); ··· 660 786 char *header, 661 787 char *trailer, 662 788 int *scale, 663 - enum orientation *orientation) 789 + enum orientation *orientation, 790 + int wmax, 791 + int hmax) 664 792 { 665 793 register int w_scale; 666 794 register int h_scale; ··· 676 804 if ((win_width < win_height || (flags & F_PORTRAIT)) && 677 805 !(flags & F_LANDSCAPE)) { 678 806 *orientation = PORTRAIT; 679 - w_max = (width > 0)? width : W_MAX; 680 - h_max = (height > 0)? height : H_MAX; 807 + w_max = (width > 0)? width : wmax; 808 + h_max = (height > 0)? height : hmax; 681 809 w_scale = w_max / win_width; 682 810 h_scale = h_max / win_height; 683 811 *scale = min(w_scale, h_scale); 684 812 } else { 685 813 *orientation = LANDSCAPE; 686 - w_max = (width > 0)? width : H_MAX; 687 - h_max = (height > 0)? height : W_MAX; 814 + w_max = (width > 0)? width : hmax; 815 + h_max = (height > 0)? height : wmax; 688 816 w_scale = w_max / win_width; 689 817 h_scale = h_max / win_height; 690 818 *scale = min(w_scale, h_scale); 691 819 } 692 820 } else { 693 821 *orientation = PORTRAIT; 694 - *scale = W_MAX / win_width; 822 + *scale = wmax / win_width; 695 823 } 696 824 if (*scale == 0) *scale = 1; 697 825 if (*scale > 6) *scale = 6; ··· 1072 1200 int flags, 1073 1201 const char *header, 1074 1202 const char *trailer, 1075 - const char *name) 1203 + const char *name, 1204 + int paper_width, 1205 + int paper_length) 1076 1206 { 1077 1207 char hostname[256]; 1078 1208 #ifdef WIN32 ··· 1230 1360 * Owidth and Oheight are rounded up to a multiple of 32 bits, 1231 1361 * to avoid special cases at the boundaries 1232 1362 */ 1233 - obuf = malloc((unsigned)(owidth*oheight)); 1363 + obuf = calloc(owidth, oheight); 1234 1364 if (obuf==NULL) { 1235 1365 fprintf(stderr,"xpr: cannot allocate %d bytes\n",owidth*oheight); 1236 1366 exit(1); 1237 1367 } 1238 - bzero(obuf,owidth*oheight); 1239 1368 1240 - ibuf = (unsigned char *)malloc((unsigned)(iwb + 3)); 1369 + ibuf = malloc((unsigned)(iwb + 3)); 1241 1370 for (i=0;i<ih;i++) { 1242 - memmove((char *)ibuf, (char *)buffer, iwb); 1371 + memcpy(ibuf, buffer, iwb); 1243 1372 buffer += iwb; 1244 1373 if (!(*(char *) &swaptest)) 1245 1374 _swaplong((char *)ibuf,(long)iwb);
+132
app/xpr/xpr.man
··· 52 52 .B \-split 53 53 .I n 54 54 ] [ 55 + .B \-papertype 56 + .I format 57 + ] [ 58 + .B \-pheight 59 + .I inches 60 + [ 61 + .I units 62 + ]] [ 63 + .B \-pwidth 64 + .I inches 65 + [ 66 + .I units 67 + ]] [ 55 68 .B \-psfig 56 69 ] [ 57 70 .B \-density ··· 176 189 This option allows the user to split a window onto several pages. 177 190 This might be necessary for very large windows that would otherwise 178 191 cause the printer to overload and print the page in an obscure manner. 192 + .IP "\fB\-papertype\fP \fIformat\fP" 193 + Specifies the output paper format. Currently supported: 194 + .RS 12 195 + .PD 0 196 + .TP 197 + .B letter 198 + letter size 8.5x11 inches 199 + .TP 200 + .B legal 201 + legal size 8.5x14 inches 202 + .TP 203 + .B A0 204 + A0 size 841x1189 mm or 33.11x46.81 inches 205 + .TP 206 + .B A1 207 + A1 size 594x841 mm or 23.39x33.11 inches 208 + .TP 209 + .B A2 210 + A2 size 420x594 mm or 16.54x23.39 inches 211 + .TP 212 + .B A3 213 + A3 size 297x420 mm or 11.69x16.54 inches 214 + .TP 215 + .B A4 216 + A4 size 210x297 mm or 8.27x11.69 inches 217 + .TP 218 + .B A5 219 + A5 size 148x210 mm or 5.83x 8.27 inches 220 + .TP 221 + .B A6 222 + A6 size 105x148 mm or 4.13x 5.83 inches 223 + .TP 224 + .B A7 225 + A7 size 74x105 mm or 2.91x 4.13 inches 226 + .TP 227 + .B A8 228 + A8 size 52x74 mm or 2.05x 2.91 inches 229 + .TP 230 + .B A9 231 + A9 size 37x52 mm or 1.46x 2.05 inches 232 + .TP 233 + .B A10 234 + A10 size 26x37 mm or 1.02x 1.46 inches 235 + .TP 236 + .B B0 237 + B0 size 1000x1414 mm or 39.37x55.67 238 + .TP 239 + .B B1 240 + B1 size 707x1000 mm or 27.83x39.37 inches 241 + .TP 242 + .B B2 243 + B2 size 500x707 mm or 19.69x27.83 inches 244 + .TP 245 + .B B3 246 + B3 size 353x500 mm or 13.90x19.69 inches 247 + .TP 248 + .B B4 249 + B4 size 250x353 mm or 9.84x13.90 inches 250 + .TP 251 + .B B5 252 + B5 size 176x250 mm or 6.93x 9.84 inches 253 + .TP 254 + .B B6 255 + B6 size 125x176 mm or 4.92x 6.93 inches 256 + .TP 257 + .B B7 258 + B7 size 88x125 mm or 3.46x 4.92 inches 259 + .TP 260 + .B B8 261 + B8 size 62x88 mm or 2.44x 3.46 inches 262 + .TP 263 + .B B9 264 + B9 size 44x62 mm or 1.73x 2.44 inches 265 + .TP 266 + .B B10 267 + B10 size 31x44 mm or 1.22x 1.73 inches 268 + .TP 269 + .B C0 270 + C0 size 917x1297 mm or 36.10x51.06 inches 271 + .TP 272 + .B C1 273 + C1 size 648x917 mm or 25.51x36.10 inches 274 + .TP 275 + .B C2 276 + C2 size 458x648 mm or 18.03x25.51 inches 277 + .TP 278 + .B C3 279 + C3 size 324x458 mm or 12.76x18.03 inches 280 + .TP 281 + .B C4 282 + C4 size 229x324 mm or 9.02x12.76 inches 283 + .TP 284 + .B C5 285 + C5 size 162x229 mm or 6.38x 9.02 inches 286 + .TP 287 + .B C6 288 + C6 size 114x162 mm or 4.49x 6.38 inches 289 + .TP 290 + .B C7 291 + C7 size 81x114 mm or 3.19x 4.49 inches 292 + .TP 293 + .B C8 294 + C8 size 57x81 mm or 2.24x 3.19 inches 295 + .TP 296 + .B C9 297 + C9 size 40x57 mm or 1.57x 2.24 inches 298 + .TP 299 + .B C10 300 + C10 size 28x40 mm or 1.10x 1.57 inches 301 + .PD 302 + .RE 303 + .IP "\fB\-pheight\fP \fIinches\fP [ \fIunits\fP ]" 304 + This option allows the user to specify a specific paper height. The 305 + default units are in inches (in), but may be overridden with cm or mm 306 + for centimeters or millimeters respectively. 307 + .IP "\fB\-pwidth\fP \fIinches\fP [ \fIunits\fP ]" 308 + This option allows the user to specify a specific paper width. The 309 + default units are in inches (in), but may be overridden with cm or mm 310 + for centimeters or millimeters respectively. 179 311 .IP "\fB\-psfig\fP" 180 312 Suppress translation of the PostScript picture to the center of the page. 181 313 .IP "\fB\-density\fP \fIdpi\fP"