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 xbiff 1.0.5

matthieu 78af578b e053fd02

+4110 -3392
+102
app/xbiff/ChangeLog
··· 1 + commit 4ce1a96d300a9d63a2306331000878d6f8c34a3e 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sat Jan 20 12:25:47 2024 -0800 4 + 5 + xbiff 1.0.5 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit f7b3bb94462ea5d51514cc32d2808b5b02cea24b 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Sat Sep 23 10:56:27 2023 -0700 12 + 13 + Use C99 struct initializers 14 + 15 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16 + 17 + commit 2c513f4ab38187dc7268f898e5db87eab3983715 18 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 19 + Date: Sun Feb 5 11:34:44 2023 -0800 20 + 21 + List which options were unrecognized before printing usage message 22 + 23 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24 + 25 + commit 0f9f41f177b4713a6792a2bc87dfbb186b8926bd 26 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 27 + Date: Sun Feb 5 11:34:18 2023 -0800 28 + 29 + Add -help option 30 + 31 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32 + 33 + commit 44cc442a633a3ce39603fc879793a4f51b6ae132 34 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 35 + Date: Sun Feb 5 11:19:32 2023 -0800 36 + 37 + Fix -version handling to not require opening a display first 38 + 39 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 40 + 41 + commit ed933c78bf1208140baf6103dc5ab81080f6c6fb 42 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 43 + Date: Sat Jan 28 10:34:11 2023 -0800 44 + 45 + Add -version option 46 + 47 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 48 + 49 + commit fe643332c824fdd0e4f8243e5c1e67c6370d0e5a 50 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 51 + Date: Sat Jan 28 10:26:33 2023 -0800 52 + 53 + Combine usage message into a single string 54 + 55 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 56 + 57 + commit ffbfe65382c8f267139b87630976700c0e80b435 58 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 59 + Date: Sat Jan 28 10:12:58 2023 -0800 60 + 61 + Use XtAsprintf instead of manual mallocing and copying of strings 62 + 63 + Raises minimum libXt requirement to 1.1.0 64 + 65 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 66 + 67 + commit 7862d8d80e8612b3e7285ce2fe3ec901fda05fe6 68 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 69 + Date: Tue Dec 20 12:21:37 2022 -0800 70 + 71 + configure: Use AC_SYS_LARGEFILE to enable large file support 72 + 73 + Also adds include of "config.h" before any other header files 74 + are included, to avoid mismatch of _FILE_OFFSET_BITS when 75 + processing other header files. 76 + 77 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 78 + 79 + commit c3d0f59af3626b73c32e8e03a41d6a712909c7af 80 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 81 + Date: Thu Jul 28 17:30:21 2022 -0700 82 + 83 + gitlab CI: stop requiring Signed-off-by in commits 84 + 85 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 86 + 87 + commit 30528211ad661e9a3d53f6f155a6a6deac334e00 88 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 89 + Date: Sat Dec 4 10:37:17 2021 -0800 90 + 91 + Build xz tarballs instead of bzip2 92 + 93 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 94 + 95 + commit a5c655d67994c905629a5caae2f3e2d88b155f8c 96 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 97 + Date: Sat Dec 4 10:37:14 2021 -0800 98 + 99 + gitlab CI: add a basic build test 100 + 101 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 102 + 1 103 commit a757ec8b8f867f09deb1e95a61f07a6a6227e77c 2 104 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 105 Date: Sun Jul 14 11:29:14 2019 -0700
+15 -15
app/xbiff/Mailbox.c
··· 40 40 * XBiff*emptyPixmap: mailempty 41 41 */ 42 42 43 + #ifdef HAVE_CONFIG_H 44 + #include "config.h" 45 + #endif 46 + 43 47 #include <X11/IntrinsicP.h> /* for toolkit stuff */ 44 48 #include <X11/StringDefs.h> /* for useful atom names */ 45 49 #include <X11/cursorfont.h> /* for cursor constants */ ··· 226 230 227 231 static GC get_mailbox_gc (MailboxWidget w) 228 232 { 229 - XtGCMask valuemask; 230 - XGCValues xgcv; 231 - 232 - valuemask = GCForeground | GCBackground | GCFunction | GCGraphicsExposures; 233 - xgcv.foreground = w->mailbox.foreground_pixel; 234 - xgcv.background = w->core.background_pixel; 235 - xgcv.function = GXcopy; 236 - xgcv.graphics_exposures = False; /* this is Bool, not Boolean */ 233 + XtGCMask valuemask 234 + = GCForeground | GCBackground | GCFunction | GCGraphicsExposures; 235 + XGCValues xgcv = { 236 + .foreground = w->mailbox.foreground_pixel, 237 + .background = w->core.background_pixel, 238 + .function = GXcopy, 239 + .graphics_exposures = False /* this is Bool, not Boolean */ 240 + }; 237 241 return (XtGetGC ((Widget) w, valuemask, &xgcv)); 238 242 } 239 243 ··· 541 545 } 542 546 #endif 543 547 if ((mailpath = getenv("MAIL"))) { 544 - w->mailbox.filename = XtMalloc (strlen (mailpath) + 1); 545 - strcpy (w->mailbox.filename, mailpath); 548 + XtAsprintf(&w->mailbox.filename, "%s", mailpath); 546 549 } else { 547 - w->mailbox.filename = XtMalloc (strlen (MAILBOX_DIRECTORY) + 1 548 - + strlen (username) + 1); 549 - strcpy (w->mailbox.filename, MAILBOX_DIRECTORY); 550 - strcat (w->mailbox.filename, "/"); 551 - strcat (w->mailbox.filename, username); 550 + XtAsprintf(&w->mailbox.filename, "%s/%s", 551 + MAILBOX_DIRECTORY, username); 552 552 } 553 553 return; 554 554 }
+4 -6
app/xbiff/Makefile.in
··· 180 180 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 181 181 done; \ 182 182 reldir="$$dir2" 183 - DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 183 + DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz 184 184 GZIP_ENV = --best 185 - DIST_TARGETS = dist-bzip2 dist-gzip 185 + DIST_TARGETS = dist-xz dist-gzip 186 186 distuninstallcheck_listfiles = find . -type f -print 187 187 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 188 188 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' ··· 203 203 CCDEPMODE = @CCDEPMODE@ 204 204 CFLAGS = @CFLAGS@ 205 205 CHANGELOG_CMD = @CHANGELOG_CMD@ 206 - CPP = @CPP@ 207 206 CPPFLAGS = @CPPFLAGS@ 208 207 CWARNFLAGS = @CWARNFLAGS@ 209 208 CYGPATH_W = @CYGPATH_W@ ··· 214 213 ECHO_C = @ECHO_C@ 215 214 ECHO_N = @ECHO_N@ 216 215 ECHO_T = @ECHO_T@ 217 - EGREP = @EGREP@ 218 216 EXEEXT = @EXEEXT@ 219 217 FILE_MAN_DIR = @FILE_MAN_DIR@ 220 218 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 221 - GREP = @GREP@ 222 219 INSTALL = @INSTALL@ 223 220 INSTALL_CMD = @INSTALL_CMD@ 224 221 INSTALL_DATA = @INSTALL_DATA@ ··· 300 297 prefix = @prefix@ 301 298 program_transform_name = @program_transform_name@ 302 299 psdir = @psdir@ 300 + runstatedir = @runstatedir@ 303 301 sbindir = @sbindir@ 304 302 sharedstatedir = @sharedstatedir@ 305 303 srcdir = @srcdir@ ··· 646 644 dist-gzip: distdir 647 645 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 648 646 $(am__post_remove_distdir) 647 + 649 648 dist-bzip2: distdir 650 649 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 651 650 $(am__post_remove_distdir) ··· 653 652 dist-lzip: distdir 654 653 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 655 654 $(am__post_remove_distdir) 656 - 657 655 dist-xz: distdir 658 656 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 659 657 $(am__post_remove_distdir)
+53 -33
app/xbiff/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'.])]) 21 21 22 - dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 23 - dnl serial 11 (pkg-config-0.29.1) 24 - dnl 22 + # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 23 + # serial 12 (pkg-config-0.29.2) 24 + 25 25 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 26 26 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> 27 27 dnl ··· 62 62 dnl See the "Since" comment for each macro you use to see what version 63 63 dnl of the macros you require. 64 64 m4_defun([PKG_PREREQ], 65 - [m4_define([PKG_MACROS_VERSION], [0.29.1]) 65 + [m4_define([PKG_MACROS_VERSION], [0.29.2]) 66 66 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, 67 67 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 68 68 ])dnl PKG_PREREQ ··· 163 163 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 164 164 165 165 pkg_failed=no 166 - AC_MSG_CHECKING([for $1]) 166 + AC_MSG_CHECKING([for $2]) 167 167 168 168 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 169 169 _PKG_CONFIG([$1][_LIBS], [libs], [$2]) ··· 173 173 See the pkg-config man page for more details.]) 174 174 175 175 if test $pkg_failed = yes; then 176 - AC_MSG_RESULT([no]) 176 + AC_MSG_RESULT([no]) 177 177 _PKG_SHORT_ERRORS_SUPPORTED 178 178 if test $_pkg_short_errors_supported = yes; then 179 179 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` 180 - else 180 + else 181 181 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` 182 182 fi 183 183 # Put the nasty error message in config.log where it belongs ··· 194 194 _PKG_TEXT])[]dnl 195 195 ]) 196 196 elif test $pkg_failed = untried; then 197 - AC_MSG_RESULT([no]) 197 + AC_MSG_RESULT([no]) 198 198 m4_default([$4], [AC_MSG_FAILURE( 199 199 [The pkg-config script could not be found or is too old. Make sure it 200 200 is in your PATH or set the PKG_CONFIG environment variable to the full ··· 1318 1318 1319 1319 dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. 1320 1320 dnl 1321 - dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. 1321 + dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates. 1322 1322 dnl 1323 1323 dnl Permission is hereby granted, free of charge, to any person obtaining a 1324 1324 dnl copy of this software and associated documentation files (the "Software"), ··· 1355 1355 # See the "minimum version" comment for each macro you use to see what 1356 1356 # version you require. 1357 1357 m4_defun([XORG_MACROS_VERSION],[ 1358 - m4_define([vers_have], [1.19.2]) 1358 + m4_define([vers_have], [1.20.0]) 1359 1359 m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.]))) 1360 1360 m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.]))) 1361 1361 m4_if(m4_cmp(maj_have, maj_needed), 0,, ··· 1376 1376 # such as man pages and config files 1377 1377 AC_DEFUN([XORG_PROG_RAWCPP],[ 1378 1378 AC_REQUIRE([AC_PROG_CPP]) 1379 - AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}], 1379 + AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}], 1380 1380 [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib]) 1381 1381 1382 1382 # Check for flag to avoid builtin definitions - assumes unix is predefined, ··· 1686 1686 # Documentation tools are not always available on all platforms and sometimes 1687 1687 # not at the appropriate level. This macro enables a module to test for the 1688 1688 # presence of the tool and obtain it's path in separate variables. Coupled with 1689 - # the --with-xmlto option, it allows maximum flexibilty in making decisions 1689 + # the --with-xmlto option, it allows maximum flexibility in making decisions 1690 1690 # as whether or not to use the xmlto package. When DEFAULT is not specified, 1691 1691 # --with-xmlto assumes 'auto'. 1692 1692 # ··· 1900 1900 # Documentation tools are not always available on all platforms and sometimes 1901 1901 # not at the appropriate level. This macro enables a module to test for the 1902 1902 # presence of the tool and obtain it's path in separate variables. Coupled with 1903 - # the --with-asciidoc option, it allows maximum flexibilty in making decisions 1903 + # the --with-asciidoc option, it allows maximum flexibility in making decisions 1904 1904 # as whether or not to use the asciidoc package. When DEFAULT is not specified, 1905 1905 # --with-asciidoc assumes 'auto'. 1906 1906 # ··· 1970 1970 # Documentation tools are not always available on all platforms and sometimes 1971 1971 # not at the appropriate level. This macro enables a module to test for the 1972 1972 # presence of the tool and obtain it's path in separate variables. Coupled with 1973 - # the --with-doxygen option, it allows maximum flexibilty in making decisions 1973 + # the --with-doxygen option, it allows maximum flexibility in making decisions 1974 1974 # as whether or not to use the doxygen package. When DEFAULT is not specified, 1975 1975 # --with-doxygen assumes 'auto'. 1976 1976 # ··· 2054 2054 # Documentation tools are not always available on all platforms and sometimes 2055 2055 # not at the appropriate level. This macro enables a module to test for the 2056 2056 # presence of the tool and obtain it's path in separate variables. Coupled with 2057 - # the --with-groff option, it allows maximum flexibilty in making decisions 2057 + # the --with-groff option, it allows maximum flexibility in making decisions 2058 2058 # as whether or not to use the groff package. When DEFAULT is not specified, 2059 2059 # --with-groff assumes 'auto'. 2060 2060 # ··· 2162 2162 # Documentation tools are not always available on all platforms and sometimes 2163 2163 # not at the appropriate level. This macro enables a module to test for the 2164 2164 # presence of the tool and obtain it's path in separate variables. Coupled with 2165 - # the --with-fop option, it allows maximum flexibilty in making decisions 2165 + # the --with-fop option, it allows maximum flexibility in making decisions 2166 2166 # as whether or not to use the fop package. When DEFAULT is not specified, 2167 2167 # --with-fop assumes 'auto'. 2168 2168 # ··· 2256 2256 # Documentation tools are not always available on all platforms and sometimes 2257 2257 # not at the appropriate level. This macro enables a module to test for the 2258 2258 # presence of the tool and obtain it's path in separate variables. Coupled with 2259 - # the --with-ps2pdf option, it allows maximum flexibilty in making decisions 2259 + # the --with-ps2pdf option, it allows maximum flexibility in making decisions 2260 2260 # as whether or not to use the ps2pdf package. When DEFAULT is not specified, 2261 2261 # --with-ps2pdf assumes 'auto'. 2262 2262 # ··· 2311 2311 # not at the appropriate level. This macro enables a builder to skip all 2312 2312 # documentation targets except traditional man pages. 2313 2313 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2314 - # maximum flexibilty in controlling documentation building. 2314 + # maximum flexibility in controlling documentation building. 2315 2315 # Refer to: 2316 2316 # XORG_WITH_XMLTO --with-xmlto 2317 2317 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2344 2344 # 2345 2345 # This macro enables a builder to skip all developer documentation. 2346 2346 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2347 - # maximum flexibilty in controlling documentation building. 2347 + # maximum flexibility in controlling documentation building. 2348 2348 # Refer to: 2349 2349 # XORG_WITH_XMLTO --with-xmlto 2350 2350 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2377 2377 # 2378 2378 # This macro enables a builder to skip all functional specification targets. 2379 2379 # Combined with the specific tool checking macros XORG_WITH_*, it provides 2380 - # maximum flexibilty in controlling documentation building. 2380 + # maximum flexibility in controlling documentation building. 2381 2381 # Refer to: 2382 2382 # XORG_WITH_XMLTO --with-xmlto 2383 2383 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 2852 2852 AC_DEFUN([XORG_COMPILER_BRAND], [ 2853 2853 AC_LANG_CASE( 2854 2854 [C], [ 2855 - AC_REQUIRE([AC_PROG_CC_C99]) 2855 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 2856 + dnl and complains that AC_PROG_CC_C99 is obsolete 2857 + m4_version_prereq([2.70], 2858 + [AC_REQUIRE([AC_PROG_CC])], 2859 + [AC_REQUIRE([AC_PROG_CC_C99])]) 2856 2860 ], 2857 2861 [C++], [ 2858 2862 AC_REQUIRE([AC_PROG_CXX]) ··· 2868 2872 # Minimum version: 1.16.0 2869 2873 # 2870 2874 # Test if the compiler works when passed the given flag as a command line argument. 2871 - # If it succeeds, the flag is appeneded to the given variable. If not, it tries the 2875 + # If it succeeds, the flag is appended to the given variable. If not, it tries the 2872 2876 # next flag in the list until there are no more options. 2873 2877 # 2874 2878 # Note that this does not guarantee that the compiler supports the flag as some ··· 2884 2888 2885 2889 AC_LANG_CASE( 2886 2890 [C], [ 2887 - AC_REQUIRE([AC_PROG_CC_C99]) 2891 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 2892 + dnl and complains that AC_PROG_CC_C99 is obsolete 2893 + m4_version_prereq([2.70], 2894 + [AC_REQUIRE([AC_PROG_CC])], 2895 + [AC_REQUIRE([AC_PROG_CC_C99])]) 2888 2896 define([PREFIX], [C]) 2889 2897 define([CACHE_PREFIX], [cc]) 2890 2898 define([COMPILER], [$CC]) ··· 3025 3033 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 3026 3034 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 3027 3035 3028 - # Turn some warnings into errors, so we don't accidently get successful builds 3036 + # Turn some warnings into errors, so we don't accidentally get successful builds 3029 3037 # when there are problems that should be fixed. 3030 3038 3031 3039 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 3134 3142 AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS])) 3135 3143 ]) # XORG_STRICT_OPTION 3136 3144 3145 + # XORG_DEFAULT_NOCODE_OPTIONS 3146 + # --------------------------- 3147 + # Minimum version: 1.20.0 3148 + # 3149 + # Defines default options for X.Org modules which don't compile code, 3150 + # such as fonts, bitmaps, cursors, and docs. 3151 + # 3152 + AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [ 3153 + AC_REQUIRE([AC_PROG_INSTALL]) 3154 + XORG_RELEASE_VERSION 3155 + XORG_CHANGELOG 3156 + XORG_INSTALL 3157 + XORG_MANPAGE_SECTIONS 3158 + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 3159 + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 3160 + ]) # XORG_DEFAULT_NOCODE_OPTIONS 3161 + 3137 3162 # XORG_DEFAULT_OPTIONS 3138 3163 # -------------------- 3139 3164 # Minimum version: 1.3.0 3140 3165 # 3141 - # Defines default options for X.Org modules. 3166 + # Defines default options for X.Org modules which compile code. 3142 3167 # 3143 3168 AC_DEFUN([XORG_DEFAULT_OPTIONS], [ 3144 3169 AC_REQUIRE([AC_PROG_INSTALL]) 3145 3170 XORG_COMPILER_FLAGS 3146 3171 XORG_CWARNFLAGS 3147 3172 XORG_STRICT_OPTION 3148 - XORG_RELEASE_VERSION 3149 - XORG_CHANGELOG 3150 - XORG_INSTALL 3151 - XORG_MANPAGE_SECTIONS 3152 - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 3153 - [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 3173 + XORG_DEFAULT_NOCODE_OPTIONS 3154 3174 ]) # XORG_DEFAULT_OPTIONS 3155 3175 3156 3176 # XORG_INSTALL()
+9 -8
app/xbiff/compile
··· 1 1 #! /bin/sh 2 2 # Wrapper for compilers which do not understand '-c -o'. 3 3 4 - scriptversion=2012-10-14.11; # UTC 4 + scriptversion=2018-03-07.03; # UTC 5 5 6 - # Copyright (C) 1999-2014 Free Software Foundation, Inc. 6 + # Copyright (C) 1999-2021 Free Software Foundation, Inc. 7 7 # Written by Tom Tromey <tromey@cygnus.com>. 8 8 # 9 9 # This program is free software; you can redistribute it and/or modify ··· 17 17 # GNU General Public License for more details. 18 18 # 19 19 # You should have received a copy of the GNU General Public License 20 - # along with this program. If not, see <http://www.gnu.org/licenses/>. 20 + # along with this program. If not, see <https://www.gnu.org/licenses/>. 21 21 22 22 # As a special exception to the GNU General Public License, if you 23 23 # distribute this file as part of a program that contains a ··· 53 53 MINGW*) 54 54 file_conv=mingw 55 55 ;; 56 - CYGWIN*) 56 + CYGWIN* | MSYS*) 57 57 file_conv=cygwin 58 58 ;; 59 59 *) ··· 67 67 mingw/*) 68 68 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` 69 69 ;; 70 - cygwin/*) 70 + cygwin/* | msys/*) 71 71 file=`cygpath -m "$file" || echo "$file"` 72 72 ;; 73 73 wine/*) ··· 255 255 echo "compile $scriptversion" 256 256 exit $? 257 257 ;; 258 - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) 258 + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ 259 + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) 259 260 func_cl_wrapper "$@" # Doesn't return... 260 261 ;; 261 262 esac ··· 339 340 # Local Variables: 340 341 # mode: shell-script 341 342 # sh-indentation: 2 342 - # eval: (add-hook 'write-file-hooks 'time-stamp) 343 + # eval: (add-hook 'before-save-hook 'time-stamp) 343 344 # time-stamp-start: "scriptversion=" 344 345 # time-stamp-format: "%:y-%02m-%02d.%02H" 345 - # time-stamp-time-zone: "UTC" 346 + # time-stamp-time-zone: "UTC0" 346 347 # time-stamp-end: "; # UTC" 347 348 # End: 348 349 #! /bin/sh
+12 -4
app/xbiff/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 <paths.h> header file. */ 10 7 #undef HAVE_PATHS_H 11 8 12 9 /* Define to 1 if you have the <stdint.h> header file. */ 13 10 #undef HAVE_STDINT_H 11 + 12 + /* Define to 1 if you have the <stdio.h> header file. */ 13 + #undef HAVE_STDIO_H 14 14 15 15 /* Define to 1 if you have the <stdlib.h> header file. */ 16 16 #undef HAVE_STDLIB_H ··· 63 63 /* Patch version of this package */ 64 64 #undef PACKAGE_VERSION_PATCHLEVEL 65 65 66 - /* Define to 1 if you have the ANSI C header files. */ 66 + /* Define to 1 if all of the C90 standard headers exist (not just the ones 67 + required in a freestanding environment). This macro is provided for 68 + backward compatibility; new code need not use it. */ 67 69 #undef STDC_HEADERS 68 70 69 71 /* Version number of package */ 70 72 #undef VERSION 73 + 74 + /* Number of bits in a file offset, on hosts where this is settable. */ 75 + #undef _FILE_OFFSET_BITS 76 + 77 + /* Define for large files, on AIX-style hosts. */ 78 + #undef _LARGE_FILES
+3646 -3101
app/xbiff/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for xbiff 1.0.4. 3 + # Generated by GNU Autoconf 2.71 for xbiff 1.0.5. 4 4 # 5 5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/issues>. 6 6 # 7 7 # 8 - # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 + # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9 + # Inc. 9 10 # 10 11 # 11 12 # This configure script is free software; the Free Software Foundation ··· 16 17 17 18 # Be more Bourne compatible 18 19 DUALCASE=1; export DUALCASE # for MKS sh 19 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 + as_nop=: 21 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22 + then : 20 23 emulate sh 21 24 NULLCMD=: 22 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 26 # is contrary to our usage. Disable this feature. 24 27 alias -g '${1+"$@"}'='"$@"' 25 28 setopt NO_GLOB_SUBST 26 - else 29 + else $as_nop 27 30 case `(set -o) 2>/dev/null` in #( 28 31 *posix*) : 29 32 set -o posix ;; #( ··· 33 36 fi 34 37 35 38 39 + 40 + # Reset variables that may have inherited troublesome values from 41 + # the environment. 42 + 43 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 44 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 45 + # side effect of setting IFS to empty, thus disabling word splitting.) 46 + # Quoting is to prevent editors from complaining about space-tab. 36 47 as_nl=' 37 48 ' 38 49 export as_nl 39 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 - # Prefer a ksh shell builtin over an external printf program on Solaris, 44 - # but without wasting forks for bash or zsh. 45 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 - as_echo='print -r --' 48 - as_echo_n='print -rn --' 49 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 - as_echo='printf %s\n' 51 - as_echo_n='printf %s' 52 - else 53 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 - as_echo_n='/usr/ucb/echo -n' 56 - else 57 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 - as_echo_n_body='eval 59 - arg=$1; 60 - case $arg in #( 61 - *"$as_nl"*) 62 - expr "X$arg" : "X\\(.*\\)$as_nl"; 63 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 - esac; 65 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 - ' 67 - export as_echo_n_body 68 - as_echo_n='sh -c $as_echo_n_body as_echo' 69 - fi 70 - export as_echo_body 71 - as_echo='sh -c $as_echo_body as_echo' 72 - fi 50 + IFS=" "" $as_nl" 51 + 52 + PS1='$ ' 53 + PS2='> ' 54 + PS4='+ ' 55 + 56 + # Ensure predictable behavior from utilities with locale-dependent output. 57 + LC_ALL=C 58 + export LC_ALL 59 + LANGUAGE=C 60 + export LANGUAGE 61 + 62 + # We cannot yet rely on "unset" to work, but we need these variables 63 + # to be unset--not just set to an empty or harmless value--now, to 64 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65 + # also avoids known problems related to "unset" and subshell syntax 66 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 + do eval test \${$as_var+y} \ 69 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 + done 71 + 72 + # Ensure that fds 0, 1, and 2 are open. 73 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 73 76 74 77 # The user is always right. 75 - if test "${PATH_SEPARATOR+set}" != set; then 78 + if ${PATH_SEPARATOR+false} :; then 76 79 PATH_SEPARATOR=: 77 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 81 84 fi 82 85 83 86 84 - # IFS 85 - # We need space, tab and new line, in precisely that order. Quoting is 86 - # there to prevent editors from complaining about space-tab. 87 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 - # splitting by setting IFS to empty value.) 89 - IFS=" "" $as_nl" 90 - 91 87 # Find who we are. Look in the path if we contain no directory separator. 92 88 as_myself= 93 89 case $0 in #(( ··· 96 92 for as_dir in $PATH 97 93 do 98 94 IFS=$as_save_IFS 99 - test -z "$as_dir" && as_dir=. 100 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95 + case $as_dir in #((( 96 + '') as_dir=./ ;; 97 + */) ;; 98 + *) as_dir=$as_dir/ ;; 99 + esac 100 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101 101 done 102 102 IFS=$as_save_IFS 103 103 ··· 109 109 as_myself=$0 110 110 fi 111 111 if test ! -f "$as_myself"; then 112 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 113 exit 1 114 114 fi 115 115 116 - # Unset variables that we do not need and which cause bugs (e.g. in 117 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 - # suppresses any "Segmentation fault" message there. '((' could 119 - # trigger a bug in pdksh 5.2.14. 120 - for as_var in BASH_ENV ENV MAIL MAILPATH 121 - do eval test x\${$as_var+set} = xset \ 122 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 - done 124 - PS1='$ ' 125 - PS2='> ' 126 - PS4='+ ' 127 - 128 - # NLS nuisances. 129 - LC_ALL=C 130 - export LC_ALL 131 - LANGUAGE=C 132 - export LANGUAGE 133 - 134 - # CDPATH. 135 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 116 137 117 # Use a proper internal environment variable to ensure we don't fall 138 118 # into an infinite loop, continuously re-executing ourselves. ··· 154 134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 135 # Admittedly, this is quite paranoid, since all the known shells bail 156 136 # out after a failed `exec'. 157 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 - as_fn_exit 255 137 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138 + exit 255 159 139 fi 160 140 # We don't want this to propagate to other subprocesses. 161 141 { _as_can_reexec=; unset _as_can_reexec;} 162 142 if test "x$CONFIG_SHELL" = x; then 163 - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 + as_bourne_compatible="as_nop=: 144 + if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145 + then : 164 146 emulate sh 165 147 NULLCMD=: 166 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 149 # is contrary to our usage. Disable this feature. 168 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 151 setopt NO_GLOB_SUBST 170 - else 152 + else \$as_nop 171 153 case \`(set -o) 2>/dev/null\` in #( 172 154 *posix*) : 173 155 set -o posix ;; #( ··· 187 169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 - if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 172 + if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173 + then : 191 174 192 - else 175 + else \$as_nop 193 176 exitcode=1; echo positional parameters were not saved. 194 177 fi 195 178 test x\$exitcode = x0 || exit 1 179 + blah=\$(echo \$(echo blah)) 180 + test x\"\$blah\" = xblah || exit 1 196 181 test -x / || exit 1" 197 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 186 test \$(( 1 + 1 )) = 2 || exit 1" 202 - if (eval "$as_required") 2>/dev/null; then : 187 + if (eval "$as_required") 2>/dev/null 188 + then : 203 189 as_have_required=yes 204 - else 190 + else $as_nop 205 191 as_have_required=no 206 192 fi 207 - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 193 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 194 + then : 208 195 209 - else 196 + else $as_nop 210 197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 198 as_found=false 212 199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213 200 do 214 201 IFS=$as_save_IFS 215 - test -z "$as_dir" && as_dir=. 202 + case $as_dir in #((( 203 + '') as_dir=./ ;; 204 + */) ;; 205 + *) as_dir=$as_dir/ ;; 206 + esac 216 207 as_found=: 217 208 case $as_dir in #( 218 209 /*) 219 210 for as_base in sh bash ksh sh5; do 220 211 # Try only shells that exist, to save several forks. 221 - as_shell=$as_dir/$as_base 212 + as_shell=$as_dir$as_base 222 213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 214 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 215 + then : 224 216 CONFIG_SHELL=$as_shell as_have_required=yes 225 - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 217 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 218 + then : 226 219 break 2 227 220 fi 228 221 fi ··· 230 223 esac 231 224 as_found=false 232 225 done 233 - $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 - CONFIG_SHELL=$SHELL as_have_required=yes 236 - fi; } 237 226 IFS=$as_save_IFS 227 + if $as_found 228 + then : 238 229 230 + else $as_nop 231 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 233 + then : 234 + CONFIG_SHELL=$SHELL as_have_required=yes 235 + fi 236 + fi 239 237 240 - if test "x$CONFIG_SHELL" != x; then : 238 + 239 + if test "x$CONFIG_SHELL" != x 240 + then : 241 241 export CONFIG_SHELL 242 242 # We cannot yet assume a decent shell, so we have to provide a 243 243 # neutralization value for shells without unset; and this also ··· 255 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 257 # out after a failed `exec'. 258 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 258 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 259 259 exit 255 260 260 fi 261 261 262 - if test x$as_have_required = xno; then : 263 - $as_echo "$0: This script requires a shell more modern than all" 264 - $as_echo "$0: the shells that I found on your system." 265 - if test x${ZSH_VERSION+set} = xset ; then 266 - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 - $as_echo "$0: be upgraded to zsh 4.3.4 or later." 262 + if test x$as_have_required = xno 263 + then : 264 + printf "%s\n" "$0: This script requires a shell more modern than all" 265 + printf "%s\n" "$0: the shells that I found on your system." 266 + if test ${ZSH_VERSION+y} ; then 267 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 268 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 268 269 else 269 - $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 270 271 $0: https://gitlab.freedesktop.org/xorg/app/xbiff/issues 271 272 $0: about your system, including any error possibly output 272 273 $0: before this message. Then install a modern shell, or ··· 295 296 } 296 297 as_unset=as_fn_unset 297 298 299 + 298 300 # as_fn_set_status STATUS 299 301 # ----------------------- 300 302 # Set $? to STATUS, without forking. ··· 312 314 as_fn_set_status $1 313 315 exit $1 314 316 } # as_fn_exit 317 + # as_fn_nop 318 + # --------- 319 + # Do nothing but, unlike ":", preserve the value of $?. 320 + as_fn_nop () 321 + { 322 + return $? 323 + } 324 + as_nop=as_fn_nop 315 325 316 326 # as_fn_mkdir_p 317 327 # ------------- ··· 326 336 as_dirs= 327 337 while :; do 328 338 case $as_dir in #( 329 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 339 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 330 340 *) as_qdir=$as_dir;; 331 341 esac 332 342 as_dirs="'$as_qdir' $as_dirs" ··· 335 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 336 346 X"$as_dir" : 'X\(//\)$' \| \ 337 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 338 - $as_echo X"$as_dir" | 348 + printf "%s\n" X"$as_dir" | 339 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 340 350 s//\1/ 341 351 q ··· 374 384 # advantage of any shell optimizations that allow amortized linear growth over 375 385 # repeated appends, instead of the typical quadratic growth present in naive 376 386 # implementations. 377 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 387 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 388 + then : 378 389 eval 'as_fn_append () 379 390 { 380 391 eval $1+=\$2 381 392 }' 382 - else 393 + else $as_nop 383 394 as_fn_append () 384 395 { 385 396 eval $1=\$$1\$2 ··· 391 402 # Perform arithmetic evaluation on the ARGs, and store the result in the 392 403 # global $as_val. Take advantage of shells that can avoid forks. The arguments 393 404 # must be portable across $(()) and expr. 394 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 405 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 406 + then : 395 407 eval 'as_fn_arith () 396 408 { 397 409 as_val=$(( $* )) 398 410 }' 399 - else 411 + else $as_nop 400 412 as_fn_arith () 401 413 { 402 414 as_val=`expr "$@" || test $? -eq 1` 403 415 } 404 416 fi # as_fn_arith 405 417 418 + # as_fn_nop 419 + # --------- 420 + # Do nothing but, unlike ":", preserve the value of $?. 421 + as_fn_nop () 422 + { 423 + return $? 424 + } 425 + as_nop=as_fn_nop 406 426 407 427 # as_fn_error STATUS ERROR [LINENO LOG_FD] 408 428 # ---------------------------------------- ··· 414 434 as_status=$1; test $as_status -eq 0 && as_status=1 415 435 if test "$4"; then 416 436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 417 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 437 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 418 438 fi 419 - $as_echo "$as_me: error: $2" >&2 439 + printf "%s\n" "$as_me: error: $2" >&2 420 440 as_fn_exit $as_status 421 441 } # as_fn_error 422 442 ··· 443 463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 444 464 X"$0" : 'X\(//\)$' \| \ 445 465 X"$0" : 'X\(/\)' \| . 2>/dev/null || 446 - $as_echo X/"$0" | 466 + printf "%s\n" X/"$0" | 447 467 sed '/^.*\/\([^/][^/]*\)\/*$/{ 448 468 s//\1/ 449 469 q ··· 487 507 s/-\n.*// 488 508 ' >$as_me.lineno && 489 509 chmod +x "$as_me.lineno" || 490 - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 510 + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 491 511 492 512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 493 513 # already done that, so ensure we don't try to do so again and fall ··· 501 521 exit 502 522 } 503 523 524 + 525 + # Determine whether it's possible to make 'echo' print without a newline. 526 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 527 + # for compatibility with existing Makefiles. 504 528 ECHO_C= ECHO_N= ECHO_T= 505 529 case `echo -n x` in #((((( 506 530 -n*) ··· 514 538 ECHO_N='-n';; 515 539 esac 516 540 541 + # For backward compatibility with old third-party macros, we provide 542 + # the shell variables $as_echo and $as_echo_n. New code should use 543 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 544 + as_echo='printf %s\n' 545 + as_echo_n='printf %s' 546 + 547 + 517 548 rm -f conf$$ conf$$.exe conf$$.file 518 549 if test -d conf$$.dir; then 519 550 rm -f conf$$.dir/conf$$.file ··· 581 612 # Identity of this package. 582 613 PACKAGE_NAME='xbiff' 583 614 PACKAGE_TARNAME='xbiff' 584 - PACKAGE_VERSION='1.0.4' 585 - PACKAGE_STRING='xbiff 1.0.4' 615 + PACKAGE_VERSION='1.0.5' 616 + PACKAGE_STRING='xbiff 1.0.5' 586 617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xbiff/issues' 587 618 PACKAGE_URL='' 588 619 589 620 ac_unique_file="Makefile.am" 590 621 # Factoring default headers for most tests. 591 622 ac_includes_default="\ 592 - #include <stdio.h> 593 - #ifdef HAVE_SYS_TYPES_H 594 - # include <sys/types.h> 623 + #include <stddef.h> 624 + #ifdef HAVE_STDIO_H 625 + # include <stdio.h> 595 626 #endif 596 - #ifdef HAVE_SYS_STAT_H 597 - # include <sys/stat.h> 598 - #endif 599 - #ifdef STDC_HEADERS 627 + #ifdef HAVE_STDLIB_H 600 628 # include <stdlib.h> 601 - # include <stddef.h> 602 - #else 603 - # ifdef HAVE_STDLIB_H 604 - # include <stdlib.h> 605 - # endif 606 629 #endif 607 630 #ifdef HAVE_STRING_H 608 - # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 609 - # include <memory.h> 610 - # endif 611 631 # include <string.h> 612 - #endif 613 - #ifdef HAVE_STRINGS_H 614 - # include <strings.h> 615 632 #endif 616 633 #ifdef HAVE_INTTYPES_H 617 634 # include <inttypes.h> 618 635 #endif 619 636 #ifdef HAVE_STDINT_H 620 637 # include <stdint.h> 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> 621 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 ··· 729 753 docdir 730 754 oldincludedir 731 755 includedir 756 + runstatedir 732 757 localstatedir 733 758 sharedstatedir 734 759 sysconfdir ··· 756 781 enable_selective_werror 757 782 enable_strict_compilation 758 783 enable_silent_rules 784 + enable_largefile 759 785 with_mailbox_directory 760 786 ' 761 787 ac_precious_vars='build_alias ··· 766 792 LDFLAGS 767 793 LIBS 768 794 CPPFLAGS 769 - CPP 770 795 PKG_CONFIG 771 796 PKG_CONFIG_PATH 772 797 PKG_CONFIG_LIBDIR ··· 810 835 sysconfdir='${prefix}/etc' 811 836 sharedstatedir='${prefix}/com' 812 837 localstatedir='${prefix}/var' 838 + runstatedir='${localstatedir}/run' 813 839 includedir='${prefix}/include' 814 840 oldincludedir='/usr/include' 815 841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ··· 838 864 *=) ac_optarg= ;; 839 865 *) ac_optarg=yes ;; 840 866 esac 841 - 842 - # Accept the important Cygnus configure options, so we can diagnose typos. 843 867 844 868 case $ac_dashdash$ac_option in 845 869 --) ··· 881 905 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 882 906 # Reject names that are not valid shell variable names. 883 907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 884 - as_fn_error $? "invalid feature name: $ac_useropt" 908 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 885 909 ac_useropt_orig=$ac_useropt 886 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 910 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 887 911 case $ac_user_opts in 888 912 *" 889 913 "enable_$ac_useropt" ··· 907 931 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 908 932 # Reject names that are not valid shell variable names. 909 933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 910 - as_fn_error $? "invalid feature name: $ac_useropt" 934 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 911 935 ac_useropt_orig=$ac_useropt 912 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 936 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 913 937 case $ac_user_opts in 914 938 *" 915 939 "enable_$ac_useropt" ··· 1062 1086 | -silent | --silent | --silen | --sile | --sil) 1063 1087 silent=yes ;; 1064 1088 1089 + -runstatedir | --runstatedir | --runstatedi | --runstated \ 1090 + | --runstate | --runstat | --runsta | --runst | --runs \ 1091 + | --run | --ru | --r) 1092 + ac_prev=runstatedir ;; 1093 + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1094 + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1095 + | --run=* | --ru=* | --r=*) 1096 + runstatedir=$ac_optarg ;; 1097 + 1065 1098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1066 1099 ac_prev=sbindir ;; 1067 1100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ··· 1111 1144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1112 1145 # Reject names that are not valid shell variable names. 1113 1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1114 - as_fn_error $? "invalid package name: $ac_useropt" 1147 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1115 1148 ac_useropt_orig=$ac_useropt 1116 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1149 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1117 1150 case $ac_user_opts in 1118 1151 *" 1119 1152 "with_$ac_useropt" ··· 1127 1160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1128 1161 # Reject names that are not valid shell variable names. 1129 1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1130 - as_fn_error $? "invalid package name: $ac_useropt" 1163 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1131 1164 ac_useropt_orig=$ac_useropt 1132 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1165 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1133 1166 case $ac_user_opts in 1134 1167 *" 1135 1168 "with_$ac_useropt" ··· 1173 1206 1174 1207 *) 1175 1208 # FIXME: should be removed in autoconf 3.0. 1176 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1209 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1177 1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1178 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1211 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1179 1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1180 1213 ;; 1181 1214 ··· 1191 1224 case $enable_option_checking in 1192 1225 no) ;; 1193 1226 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1194 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1227 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1195 1228 esac 1196 1229 fi 1197 1230 ··· 1199 1232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1200 1233 datadir sysconfdir sharedstatedir localstatedir includedir \ 1201 1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1202 - libdir localedir mandir 1235 + libdir localedir mandir runstatedir 1203 1236 do 1204 1237 eval ac_val=\$$ac_var 1205 1238 # Remove trailing slashes. ··· 1255 1288 X"$as_myself" : 'X\(//\)[^/]' \| \ 1256 1289 X"$as_myself" : 'X\(//\)$' \| \ 1257 1290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1258 - $as_echo X"$as_myself" | 1291 + printf "%s\n" X"$as_myself" | 1259 1292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1260 1293 s//\1/ 1261 1294 q ··· 1312 1345 # Omit some internal or obsolete options to make the list less imposing. 1313 1346 # This message is too long to be a string in the A/UX 3.1 sh. 1314 1347 cat <<_ACEOF 1315 - \`configure' configures xbiff 1.0.4 to adapt to many kinds of systems. 1348 + \`configure' configures xbiff 1.0.5 to adapt to many kinds of systems. 1316 1349 1317 1350 Usage: $0 [OPTION]... [VAR=VALUE]... 1318 1351 ··· 1352 1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1353 1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1354 1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1388 + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1355 1389 --libdir=DIR object code libraries [EPREFIX/lib] 1356 1390 --includedir=DIR C header files [PREFIX/include] 1357 1391 --oldincludedir=DIR C header files for non-gcc [/usr/include] ··· 1382 1416 1383 1417 if test -n "$ac_init_help"; then 1384 1418 case $ac_init_help in 1385 - short | recursive ) echo "Configuration of xbiff 1.0.4:";; 1419 + short | recursive ) echo "Configuration of xbiff 1.0.5:";; 1386 1420 esac 1387 1421 cat <<\_ACEOF 1388 1422 ··· 1405 1439 errors (default: disabled) 1406 1440 --enable-silent-rules less verbose build output (undo: "make V=1") 1407 1441 --disable-silent-rules verbose build output (undo: "make V=0") 1442 + --disable-largefile omit support for large files 1408 1443 1409 1444 Optional Packages: 1410 1445 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ··· 1420 1455 LIBS libraries to pass to the linker, e.g. -l<library> 1421 1456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1422 1457 you have headers in a nonstandard directory <include dir> 1423 - CPP C preprocessor 1424 1458 PKG_CONFIG path to pkg-config utility 1425 1459 PKG_CONFIG_PATH 1426 1460 directories to add to pkg-config's search path ··· 1449 1483 case "$ac_dir" in 1450 1484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451 1485 *) 1452 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1486 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1453 1487 # A ".." for each directory in $ac_dir_suffix. 1454 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1488 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1455 1489 case $ac_top_builddir_sub in 1456 1490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1457 1491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1479 1513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1480 1514 1481 1515 cd "$ac_dir" || { ac_status=$?; continue; } 1482 - # Check for guested configure. 1516 + # Check for configure.gnu first; this name is used for a wrapper for 1517 + # Metaconfig's "Configure" on case-insensitive file systems. 1483 1518 if test -f "$ac_srcdir/configure.gnu"; then 1484 1519 echo && 1485 1520 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1487 1522 echo && 1488 1523 $SHELL "$ac_srcdir/configure" --help=recursive 1489 1524 else 1490 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1525 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1491 1526 fi || ac_status=$? 1492 1527 cd "$ac_pwd" || { ac_status=$?; break; } 1493 1528 done ··· 1496 1531 test -n "$ac_init_help" && exit $ac_status 1497 1532 if $ac_init_version; then 1498 1533 cat <<\_ACEOF 1499 - xbiff configure 1.0.4 1500 - generated by GNU Autoconf 2.69 1534 + xbiff configure 1.0.5 1535 + generated by GNU Autoconf 2.71 1501 1536 1502 - Copyright (C) 2012 Free Software Foundation, Inc. 1537 + Copyright (C) 2021 Free Software Foundation, Inc. 1503 1538 This configure script is free software; the Free Software Foundation 1504 1539 gives unlimited permission to copy, distribute and modify it. 1505 1540 _ACEOF ··· 1516 1551 ac_fn_c_try_compile () 1517 1552 { 1518 1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1519 - rm -f conftest.$ac_objext 1554 + rm -f conftest.$ac_objext conftest.beam 1520 1555 if { { ac_try="$ac_compile" 1521 1556 case "(($ac_try" in 1522 1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523 1558 *) ac_try_echo=$ac_try;; 1524 1559 esac 1525 1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526 - $as_echo "$ac_try_echo"; } >&5 1561 + printf "%s\n" "$ac_try_echo"; } >&5 1527 1562 (eval "$ac_compile") 2>conftest.err 1528 1563 ac_status=$? 1529 1564 if test -s conftest.err; then ··· 1531 1566 cat conftest.er1 >&5 1532 1567 mv -f conftest.er1 conftest.err 1533 1568 fi 1534 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1569 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1535 1570 test $ac_status = 0; } && { 1536 1571 test -z "$ac_c_werror_flag" || 1537 1572 test ! -s conftest.err 1538 - } && test -s conftest.$ac_objext; then : 1573 + } && test -s conftest.$ac_objext 1574 + then : 1539 1575 ac_retval=0 1540 - else 1541 - $as_echo "$as_me: failed program was:" >&5 1576 + else $as_nop 1577 + printf "%s\n" "$as_me: failed program was:" >&5 1542 1578 sed 's/^/| /' conftest.$ac_ext >&5 1543 1579 1544 1580 ac_retval=1 ··· 1548 1584 1549 1585 } # ac_fn_c_try_compile 1550 1586 1551 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1552 - # --------------------------------------------- 1587 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1588 + # ------------------------------------------------------------------ 1553 1589 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1554 - # accordingly. 1555 - ac_fn_c_check_decl () 1590 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1591 + ac_fn_check_decl () 1556 1592 { 1557 1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1558 1594 as_decl_name=`echo $2|sed 's/ *(.*//'` 1595 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1596 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1597 + if eval test \${$3+y} 1598 + then : 1599 + printf %s "(cached) " >&6 1600 + else $as_nop 1559 1601 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1560 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1561 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1562 - if eval \${$3+:} false; then : 1563 - $as_echo_n "(cached) " >&6 1564 - else 1602 + eval ac_save_FLAGS=\$$6 1603 + as_fn_append $6 " $5" 1565 1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1566 1605 /* end confdefs.h. */ 1567 1606 $4 1568 1607 int 1569 - main () 1608 + main (void) 1570 1609 { 1571 1610 #ifndef $as_decl_name 1572 1611 #ifdef __cplusplus ··· 1580 1619 return 0; 1581 1620 } 1582 1621 _ACEOF 1583 - if ac_fn_c_try_compile "$LINENO"; then : 1622 + if ac_fn_c_try_compile "$LINENO" 1623 + then : 1584 1624 eval "$3=yes" 1585 - else 1625 + else $as_nop 1586 1626 eval "$3=no" 1587 1627 fi 1588 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1589 - fi 1590 - eval ac_res=\$$3 1591 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1592 - $as_echo "$ac_res" >&6; } 1593 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1594 - 1595 - } # ac_fn_c_check_decl 1596 - 1597 - # ac_fn_c_try_cpp LINENO 1598 - # ---------------------- 1599 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1600 - ac_fn_c_try_cpp () 1601 - { 1602 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1603 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1604 - case "(($ac_try" in 1605 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1606 - *) ac_try_echo=$ac_try;; 1607 - esac 1608 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1609 - $as_echo "$ac_try_echo"; } >&5 1610 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1611 - ac_status=$? 1612 - if test -s conftest.err; then 1613 - grep -v '^ *+' conftest.err >conftest.er1 1614 - cat conftest.er1 >&5 1615 - mv -f conftest.er1 conftest.err 1616 - fi 1617 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 - test $ac_status = 0; } > conftest.i && { 1619 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1620 - test ! -s conftest.err 1621 - }; then : 1622 - ac_retval=0 1623 - else 1624 - $as_echo "$as_me: failed program was:" >&5 1625 - sed 's/^/| /' conftest.$ac_ext >&5 1628 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1629 + eval $6=\$ac_save_FLAGS 1626 1630 1627 - ac_retval=1 1628 1631 fi 1632 + eval ac_res=\$$3 1633 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1634 + printf "%s\n" "$ac_res" >&6; } 1629 1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1630 - as_fn_set_status $ac_retval 1631 1636 1632 - } # ac_fn_c_try_cpp 1633 - 1634 - # ac_fn_c_try_run LINENO 1635 - # ---------------------- 1636 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1637 - # that executables *can* be run. 1638 - ac_fn_c_try_run () 1639 - { 1640 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1641 - if { { ac_try="$ac_link" 1642 - case "(($ac_try" in 1643 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1644 - *) ac_try_echo=$ac_try;; 1645 - esac 1646 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1647 - $as_echo "$ac_try_echo"; } >&5 1648 - (eval "$ac_link") 2>&5 1649 - ac_status=$? 1650 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1651 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1652 - { { case "(($ac_try" in 1653 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 - *) ac_try_echo=$ac_try;; 1655 - esac 1656 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 - $as_echo "$ac_try_echo"; } >&5 1658 - (eval "$ac_try") 2>&5 1659 - ac_status=$? 1660 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 - test $ac_status = 0; }; }; then : 1662 - ac_retval=0 1663 - else 1664 - $as_echo "$as_me: program exited with status $ac_status" >&5 1665 - $as_echo "$as_me: failed program was:" >&5 1666 - sed 's/^/| /' conftest.$ac_ext >&5 1667 - 1668 - ac_retval=$ac_status 1669 - fi 1670 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1671 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1672 - as_fn_set_status $ac_retval 1673 - 1674 - } # ac_fn_c_try_run 1637 + } # ac_fn_check_decl 1675 1638 1676 1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1677 1640 # ------------------------------------------------------- ··· 1680 1643 ac_fn_c_check_header_compile () 1681 1644 { 1682 1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1683 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1684 - $as_echo_n "checking for $2... " >&6; } 1685 - if eval \${$3+:} false; then : 1686 - $as_echo_n "(cached) " >&6 1687 - else 1646 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1647 + printf %s "checking for $2... " >&6; } 1648 + if eval test \${$3+y} 1649 + then : 1650 + printf %s "(cached) " >&6 1651 + else $as_nop 1688 1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689 1653 /* end confdefs.h. */ 1690 1654 $4 1691 1655 #include <$2> 1692 1656 _ACEOF 1693 - if ac_fn_c_try_compile "$LINENO"; then : 1657 + if ac_fn_c_try_compile "$LINENO" 1658 + then : 1694 1659 eval "$3=yes" 1695 - else 1660 + else $as_nop 1696 1661 eval "$3=no" 1697 1662 fi 1698 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1663 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1699 1664 fi 1700 1665 eval ac_res=\$$3 1701 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1702 - $as_echo "$ac_res" >&6; } 1666 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1667 + printf "%s\n" "$ac_res" >&6; } 1703 1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1704 1669 1705 1670 } # ac_fn_c_check_header_compile ··· 1710 1675 ac_fn_c_try_link () 1711 1676 { 1712 1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 - rm -f conftest.$ac_objext conftest$ac_exeext 1678 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1714 1679 if { { ac_try="$ac_link" 1715 1680 case "(($ac_try" in 1716 1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1717 1682 *) ac_try_echo=$ac_try;; 1718 1683 esac 1719 1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1720 - $as_echo "$ac_try_echo"; } >&5 1685 + printf "%s\n" "$ac_try_echo"; } >&5 1721 1686 (eval "$ac_link") 2>conftest.err 1722 1687 ac_status=$? 1723 1688 if test -s conftest.err; then ··· 1725 1690 cat conftest.er1 >&5 1726 1691 mv -f conftest.er1 conftest.err 1727 1692 fi 1728 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1693 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1729 1694 test $ac_status = 0; } && { 1730 1695 test -z "$ac_c_werror_flag" || 1731 1696 test ! -s conftest.err 1732 1697 } && test -s conftest$ac_exeext && { 1733 1698 test "$cross_compiling" = yes || 1734 1699 test -x conftest$ac_exeext 1735 - }; then : 1700 + } 1701 + then : 1736 1702 ac_retval=0 1737 - else 1738 - $as_echo "$as_me: failed program was:" >&5 1703 + else $as_nop 1704 + printf "%s\n" "$as_me: failed program was:" >&5 1739 1705 sed 's/^/| /' conftest.$ac_ext >&5 1740 1706 1741 1707 ac_retval=1 ··· 1749 1715 as_fn_set_status $ac_retval 1750 1716 1751 1717 } # ac_fn_c_try_link 1718 + ac_configure_args_raw= 1719 + for ac_arg 1720 + do 1721 + case $ac_arg in 1722 + *\'*) 1723 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1724 + esac 1725 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1726 + done 1752 1727 1753 - # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1754 - # ------------------------------------------------------- 1755 - # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1756 - # the include files in INCLUDES and setting the cache variable VAR 1757 - # accordingly. 1758 - ac_fn_c_check_header_mongrel () 1759 - { 1760 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1761 - if eval \${$3+:} false; then : 1762 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1763 - $as_echo_n "checking for $2... " >&6; } 1764 - if eval \${$3+:} false; then : 1765 - $as_echo_n "(cached) " >&6 1766 - fi 1767 - eval ac_res=\$$3 1768 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1769 - $as_echo "$ac_res" >&6; } 1770 - else 1771 - # Is the header compilable? 1772 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1773 - $as_echo_n "checking $2 usability... " >&6; } 1774 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1775 - /* end confdefs.h. */ 1776 - $4 1777 - #include <$2> 1778 - _ACEOF 1779 - if ac_fn_c_try_compile "$LINENO"; then : 1780 - ac_header_compiler=yes 1781 - else 1782 - ac_header_compiler=no 1783 - fi 1784 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1785 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1786 - $as_echo "$ac_header_compiler" >&6; } 1787 - 1788 - # Is the header present? 1789 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1790 - $as_echo_n "checking $2 presence... " >&6; } 1791 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1792 - /* end confdefs.h. */ 1793 - #include <$2> 1794 - _ACEOF 1795 - if ac_fn_c_try_cpp "$LINENO"; then : 1796 - ac_header_preproc=yes 1797 - else 1798 - ac_header_preproc=no 1799 - fi 1800 - rm -f conftest.err conftest.i conftest.$ac_ext 1801 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1802 - $as_echo "$ac_header_preproc" >&6; } 1803 - 1804 - # So? What about this header? 1805 - case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1806 - yes:no: ) 1807 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1808 - $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1809 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1810 - $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1811 - ;; 1812 - no:yes:* ) 1813 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1814 - $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1815 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1816 - $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1817 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1818 - $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1819 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1820 - $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1821 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1822 - $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1823 - ( $as_echo "## ------------------------------------------------------------------- ## 1824 - ## Report this to https://gitlab.freedesktop.org/xorg/app/xbiff/issues ## 1825 - ## ------------------------------------------------------------------- ##" 1826 - ) | sed "s/^/$as_me: WARNING: /" >&2 1827 - ;; 1728 + case $ac_configure_args_raw in 1729 + *$as_nl*) 1730 + ac_safe_unquote= ;; 1731 + *) 1732 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1733 + ac_unsafe_a="$ac_unsafe_z#~" 1734 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1735 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1828 1736 esac 1829 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1830 - $as_echo_n "checking for $2... " >&6; } 1831 - if eval \${$3+:} false; then : 1832 - $as_echo_n "(cached) " >&6 1833 - else 1834 - eval "$3=\$ac_header_compiler" 1835 - fi 1836 - eval ac_res=\$$3 1837 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1838 - $as_echo "$ac_res" >&6; } 1839 - fi 1840 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1841 1737 1842 - } # ac_fn_c_check_header_mongrel 1843 1738 cat >config.log <<_ACEOF 1844 1739 This file contains any messages produced by compilers while 1845 1740 running configure, to aid debugging if configure makes a mistake. 1846 1741 1847 - It was created by xbiff $as_me 1.0.4, which was 1848 - generated by GNU Autoconf 2.69. Invocation command line was 1742 + It was created by xbiff $as_me 1.0.5, which was 1743 + generated by GNU Autoconf 2.71. Invocation command line was 1849 1744 1850 - $ $0 $@ 1745 + $ $0$ac_configure_args_raw 1851 1746 1852 1747 _ACEOF 1853 1748 exec 5>>config.log ··· 1880 1775 for as_dir in $PATH 1881 1776 do 1882 1777 IFS=$as_save_IFS 1883 - test -z "$as_dir" && as_dir=. 1884 - $as_echo "PATH: $as_dir" 1778 + case $as_dir in #((( 1779 + '') as_dir=./ ;; 1780 + */) ;; 1781 + *) as_dir=$as_dir/ ;; 1782 + esac 1783 + printf "%s\n" "PATH: $as_dir" 1885 1784 done 1886 1785 IFS=$as_save_IFS 1887 1786 ··· 1916 1815 | -silent | --silent | --silen | --sile | --sil) 1917 1816 continue ;; 1918 1817 *\'*) 1919 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1818 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1920 1819 esac 1921 1820 case $ac_pass in 1922 1821 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1951 1850 # WARNING: Use '\'' to represent an apostrophe within the trap. 1952 1851 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1953 1852 trap 'exit_status=$? 1853 + # Sanitize IFS. 1854 + IFS=" "" $as_nl" 1954 1855 # Save into config.log some information that might help in debugging. 1955 1856 { 1956 1857 echo 1957 1858 1958 - $as_echo "## ---------------- ## 1859 + printf "%s\n" "## ---------------- ## 1959 1860 ## Cache variables. ## 1960 1861 ## ---------------- ##" 1961 1862 echo ··· 1966 1867 case $ac_val in #( 1967 1868 *${as_nl}*) 1968 1869 case $ac_var in #( 1969 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1970 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1870 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1871 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1971 1872 esac 1972 1873 case $ac_var in #( 1973 1874 _ | IFS | as_nl) ;; #( ··· 1991 1892 ) 1992 1893 echo 1993 1894 1994 - $as_echo "## ----------------- ## 1895 + printf "%s\n" "## ----------------- ## 1995 1896 ## Output variables. ## 1996 1897 ## ----------------- ##" 1997 1898 echo ··· 1999 1900 do 2000 1901 eval ac_val=\$$ac_var 2001 1902 case $ac_val in 2002 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1903 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2003 1904 esac 2004 - $as_echo "$ac_var='\''$ac_val'\''" 1905 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2005 1906 done | sort 2006 1907 echo 2007 1908 2008 1909 if test -n "$ac_subst_files"; then 2009 - $as_echo "## ------------------- ## 1910 + printf "%s\n" "## ------------------- ## 2010 1911 ## File substitutions. ## 2011 1912 ## ------------------- ##" 2012 1913 echo ··· 2014 1915 do 2015 1916 eval ac_val=\$$ac_var 2016 1917 case $ac_val in 2017 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1918 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2018 1919 esac 2019 - $as_echo "$ac_var='\''$ac_val'\''" 1920 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2020 1921 done | sort 2021 1922 echo 2022 1923 fi 2023 1924 2024 1925 if test -s confdefs.h; then 2025 - $as_echo "## ----------- ## 1926 + printf "%s\n" "## ----------- ## 2026 1927 ## confdefs.h. ## 2027 1928 ## ----------- ##" 2028 1929 echo ··· 2030 1931 echo 2031 1932 fi 2032 1933 test "$ac_signal" != 0 && 2033 - $as_echo "$as_me: caught signal $ac_signal" 2034 - $as_echo "$as_me: exit $exit_status" 1934 + printf "%s\n" "$as_me: caught signal $ac_signal" 1935 + printf "%s\n" "$as_me: exit $exit_status" 2035 1936 } >&5 2036 1937 rm -f core *.core core.conftest.* && 2037 1938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 2045 1946 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2046 1947 rm -f -r conftest* confdefs.h 2047 1948 2048 - $as_echo "/* confdefs.h */" > confdefs.h 1949 + printf "%s\n" "/* confdefs.h */" > confdefs.h 2049 1950 2050 1951 # Predefined preprocessor variables. 2051 1952 2052 - cat >>confdefs.h <<_ACEOF 2053 - #define PACKAGE_NAME "$PACKAGE_NAME" 2054 - _ACEOF 1953 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2055 1954 2056 - cat >>confdefs.h <<_ACEOF 2057 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2058 - _ACEOF 1955 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2059 1956 2060 - cat >>confdefs.h <<_ACEOF 2061 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 2062 - _ACEOF 1957 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2063 1958 2064 - cat >>confdefs.h <<_ACEOF 2065 - #define PACKAGE_STRING "$PACKAGE_STRING" 2066 - _ACEOF 1959 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2067 1960 2068 - cat >>confdefs.h <<_ACEOF 2069 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2070 - _ACEOF 1961 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2071 1962 2072 - cat >>confdefs.h <<_ACEOF 2073 - #define PACKAGE_URL "$PACKAGE_URL" 2074 - _ACEOF 1963 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2075 1964 2076 1965 2077 1966 # Let the site file select an alternate cache file if it wants to. 2078 1967 # Prefer an explicitly selected file to automatically selected ones. 2079 - ac_site_file1=NONE 2080 - ac_site_file2=NONE 2081 1968 if test -n "$CONFIG_SITE"; then 2082 - # We do not want a PATH search for config.site. 2083 - case $CONFIG_SITE in #(( 2084 - -*) ac_site_file1=./$CONFIG_SITE;; 2085 - */*) ac_site_file1=$CONFIG_SITE;; 2086 - *) ac_site_file1=./$CONFIG_SITE;; 2087 - esac 1969 + ac_site_files="$CONFIG_SITE" 2088 1970 elif test "x$prefix" != xNONE; then 2089 - ac_site_file1=$prefix/share/config.site 2090 - ac_site_file2=$prefix/etc/config.site 1971 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2091 1972 else 2092 - ac_site_file1=$ac_default_prefix/share/config.site 2093 - ac_site_file2=$ac_default_prefix/etc/config.site 1973 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2094 1974 fi 2095 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1975 + 1976 + for ac_site_file in $ac_site_files 2096 1977 do 2097 - test "x$ac_site_file" = xNONE && continue 2098 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2099 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2100 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1978 + case $ac_site_file in #( 1979 + */*) : 1980 + ;; #( 1981 + *) : 1982 + ac_site_file=./$ac_site_file ;; 1983 + esac 1984 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 1985 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1986 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2101 1987 sed 's/^/| /' "$ac_site_file" >&5 2102 1988 . "$ac_site_file" \ 2103 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2104 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1989 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1990 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2105 1991 as_fn_error $? "failed to load site script $ac_site_file 2106 1992 See \`config.log' for more details" "$LINENO" 5; } 2107 1993 fi ··· 2111 1997 # Some versions of bash will fail to source /dev/null (special files 2112 1998 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2113 1999 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2114 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2115 - $as_echo "$as_me: loading cache $cache_file" >&6;} 2000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2001 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2116 2002 case $cache_file in 2117 2003 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2118 2004 *) . "./$cache_file";; 2119 2005 esac 2120 2006 fi 2121 2007 else 2122 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2123 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2008 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2009 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2124 2010 >$cache_file 2125 2011 fi 2126 2012 2013 + # Test code for whether the C compiler supports C89 (global declarations) 2014 + ac_c_conftest_c89_globals=' 2015 + /* Does the compiler advertise C89 conformance? 2016 + Do not test the value of __STDC__, because some compilers set it to 0 2017 + while being otherwise adequately conformant. */ 2018 + #if !defined __STDC__ 2019 + # error "Compiler does not advertise C89 conformance" 2020 + #endif 2021 + 2022 + #include <stddef.h> 2023 + #include <stdarg.h> 2024 + struct stat; 2025 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2026 + struct buf { int x; }; 2027 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2028 + static char *e (p, i) 2029 + char **p; 2030 + int i; 2031 + { 2032 + return p[i]; 2033 + } 2034 + static char *f (char * (*g) (char **, int), char **p, ...) 2035 + { 2036 + char *s; 2037 + va_list v; 2038 + va_start (v,p); 2039 + s = g (p, va_arg (v,int)); 2040 + va_end (v); 2041 + return s; 2042 + } 2043 + 2044 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2045 + function prototypes and stuff, but not \xHH hex character constants. 2046 + These do not provoke an error unfortunately, instead are silently treated 2047 + as an "x". The following induces an error, until -std is added to get 2048 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2049 + array size at least. It is necessary to write \x00 == 0 to get something 2050 + that is true only with -std. */ 2051 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2052 + 2053 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2054 + inside strings and character constants. */ 2055 + #define FOO(x) '\''x'\'' 2056 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2057 + 2058 + int test (int i, double x); 2059 + struct s1 {int (*f) (int a);}; 2060 + struct s2 {int (*f) (double a);}; 2061 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2062 + int, int);' 2063 + 2064 + # Test code for whether the C compiler supports C89 (body of main). 2065 + ac_c_conftest_c89_main=' 2066 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2067 + ' 2068 + 2069 + # Test code for whether the C compiler supports C99 (global declarations) 2070 + ac_c_conftest_c99_globals=' 2071 + // Does the compiler advertise C99 conformance? 2072 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2073 + # error "Compiler does not advertise C99 conformance" 2074 + #endif 2075 + 2076 + #include <stdbool.h> 2077 + extern int puts (const char *); 2078 + extern int printf (const char *, ...); 2079 + extern int dprintf (int, const char *, ...); 2080 + extern void *malloc (size_t); 2081 + 2082 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2083 + // dprintf is used instead of fprintf to avoid needing to declare 2084 + // FILE and stderr. 2085 + #define debug(...) dprintf (2, __VA_ARGS__) 2086 + #define showlist(...) puts (#__VA_ARGS__) 2087 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2088 + static void 2089 + test_varargs_macros (void) 2090 + { 2091 + int x = 1234; 2092 + int y = 5678; 2093 + debug ("Flag"); 2094 + debug ("X = %d\n", x); 2095 + showlist (The first, second, and third items.); 2096 + report (x>y, "x is %d but y is %d", x, y); 2097 + } 2098 + 2099 + // Check long long types. 2100 + #define BIG64 18446744073709551615ull 2101 + #define BIG32 4294967295ul 2102 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2103 + #if !BIG_OK 2104 + #error "your preprocessor is broken" 2105 + #endif 2106 + #if BIG_OK 2107 + #else 2108 + #error "your preprocessor is broken" 2109 + #endif 2110 + static long long int bignum = -9223372036854775807LL; 2111 + static unsigned long long int ubignum = BIG64; 2112 + 2113 + struct incomplete_array 2114 + { 2115 + int datasize; 2116 + double data[]; 2117 + }; 2118 + 2119 + struct named_init { 2120 + int number; 2121 + const wchar_t *name; 2122 + double average; 2123 + }; 2124 + 2125 + typedef const char *ccp; 2126 + 2127 + static inline int 2128 + test_restrict (ccp restrict text) 2129 + { 2130 + // See if C++-style comments work. 2131 + // Iterate through items via the restricted pointer. 2132 + // Also check for declarations in for loops. 2133 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2134 + continue; 2135 + return 0; 2136 + } 2137 + 2138 + // Check varargs and va_copy. 2139 + static bool 2140 + test_varargs (const char *format, ...) 2141 + { 2142 + va_list args; 2143 + va_start (args, format); 2144 + va_list args_copy; 2145 + va_copy (args_copy, args); 2146 + 2147 + const char *str = ""; 2148 + int number = 0; 2149 + float fnumber = 0; 2150 + 2151 + while (*format) 2152 + { 2153 + switch (*format++) 2154 + { 2155 + case '\''s'\'': // string 2156 + str = va_arg (args_copy, const char *); 2157 + break; 2158 + case '\''d'\'': // int 2159 + number = va_arg (args_copy, int); 2160 + break; 2161 + case '\''f'\'': // float 2162 + fnumber = va_arg (args_copy, double); 2163 + break; 2164 + default: 2165 + break; 2166 + } 2167 + } 2168 + va_end (args_copy); 2169 + va_end (args); 2170 + 2171 + return *str && number && fnumber; 2172 + } 2173 + ' 2174 + 2175 + # Test code for whether the C compiler supports C99 (body of main). 2176 + ac_c_conftest_c99_main=' 2177 + // Check bool. 2178 + _Bool success = false; 2179 + success |= (argc != 0); 2180 + 2181 + // Check restrict. 2182 + if (test_restrict ("String literal") == 0) 2183 + success = true; 2184 + char *restrict newvar = "Another string"; 2185 + 2186 + // Check varargs. 2187 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2188 + test_varargs_macros (); 2189 + 2190 + // Check flexible array members. 2191 + struct incomplete_array *ia = 2192 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2193 + ia->datasize = 10; 2194 + for (int i = 0; i < ia->datasize; ++i) 2195 + ia->data[i] = i * 1.234; 2196 + 2197 + // Check named initializers. 2198 + struct named_init ni = { 2199 + .number = 34, 2200 + .name = L"Test wide string", 2201 + .average = 543.34343, 2202 + }; 2203 + 2204 + ni.number = 58; 2205 + 2206 + int dynamic_array[ni.number]; 2207 + dynamic_array[0] = argv[0][0]; 2208 + dynamic_array[ni.number - 1] = 543; 2209 + 2210 + // work around unused variable warnings 2211 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2212 + || dynamic_array[ni.number - 1] != 543); 2213 + ' 2214 + 2215 + # Test code for whether the C compiler supports C11 (global declarations) 2216 + ac_c_conftest_c11_globals=' 2217 + // Does the compiler advertise C11 conformance? 2218 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2219 + # error "Compiler does not advertise C11 conformance" 2220 + #endif 2221 + 2222 + // Check _Alignas. 2223 + char _Alignas (double) aligned_as_double; 2224 + char _Alignas (0) no_special_alignment; 2225 + extern char aligned_as_int; 2226 + char _Alignas (0) _Alignas (int) aligned_as_int; 2227 + 2228 + // Check _Alignof. 2229 + enum 2230 + { 2231 + int_alignment = _Alignof (int), 2232 + int_array_alignment = _Alignof (int[100]), 2233 + char_alignment = _Alignof (char) 2234 + }; 2235 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2236 + 2237 + // Check _Noreturn. 2238 + int _Noreturn does_not_return (void) { for (;;) continue; } 2239 + 2240 + // Check _Static_assert. 2241 + struct test_static_assert 2242 + { 2243 + int x; 2244 + _Static_assert (sizeof (int) <= sizeof (long int), 2245 + "_Static_assert does not work in struct"); 2246 + long int y; 2247 + }; 2248 + 2249 + // Check UTF-8 literals. 2250 + #define u8 syntax error! 2251 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2252 + 2253 + // Check duplicate typedefs. 2254 + typedef long *long_ptr; 2255 + typedef long int *long_ptr; 2256 + typedef long_ptr long_ptr; 2257 + 2258 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2259 + struct anonymous 2260 + { 2261 + union { 2262 + struct { int i; int j; }; 2263 + struct { int k; long int l; } w; 2264 + }; 2265 + int m; 2266 + } v1; 2267 + ' 2268 + 2269 + # Test code for whether the C compiler supports C11 (body of main). 2270 + ac_c_conftest_c11_main=' 2271 + _Static_assert ((offsetof (struct anonymous, i) 2272 + == offsetof (struct anonymous, w.k)), 2273 + "Anonymous union alignment botch"); 2274 + v1.i = 2; 2275 + v1.w.k = 5; 2276 + ok |= v1.i != 5; 2277 + ' 2278 + 2279 + # Test code for whether the C compiler supports C11 (complete). 2280 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2281 + ${ac_c_conftest_c99_globals} 2282 + ${ac_c_conftest_c11_globals} 2283 + 2284 + int 2285 + main (int argc, char **argv) 2286 + { 2287 + int ok = 0; 2288 + ${ac_c_conftest_c89_main} 2289 + ${ac_c_conftest_c99_main} 2290 + ${ac_c_conftest_c11_main} 2291 + return ok; 2292 + } 2293 + " 2294 + 2295 + # Test code for whether the C compiler supports C99 (complete). 2296 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2297 + ${ac_c_conftest_c99_globals} 2298 + 2299 + int 2300 + main (int argc, char **argv) 2301 + { 2302 + int ok = 0; 2303 + ${ac_c_conftest_c89_main} 2304 + ${ac_c_conftest_c99_main} 2305 + return ok; 2306 + } 2307 + " 2308 + 2309 + # Test code for whether the C compiler supports C89 (complete). 2310 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2311 + 2312 + int 2313 + main (int argc, char **argv) 2314 + { 2315 + int ok = 0; 2316 + ${ac_c_conftest_c89_main} 2317 + return ok; 2318 + } 2319 + " 2320 + 2321 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2322 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2323 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2324 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2325 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2326 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2327 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2328 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2329 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2330 + 2331 + # Auxiliary files required by this configure script. 2332 + ac_aux_files="config.guess config.sub missing install-sh" 2333 + 2334 + # Locations in which to look for auxiliary files. 2335 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2336 + 2337 + # Search for a directory containing all of the required auxiliary files, 2338 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2339 + # If we don't find one directory that contains all the files we need, 2340 + # we report the set of missing files from the *first* directory in 2341 + # $ac_aux_dir_candidates and give up. 2342 + ac_missing_aux_files="" 2343 + ac_first_candidate=: 2344 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2345 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2346 + as_found=false 2347 + for as_dir in $ac_aux_dir_candidates 2348 + do 2349 + IFS=$as_save_IFS 2350 + case $as_dir in #((( 2351 + '') as_dir=./ ;; 2352 + */) ;; 2353 + *) as_dir=$as_dir/ ;; 2354 + esac 2355 + as_found=: 2356 + 2357 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2358 + ac_aux_dir_found=yes 2359 + ac_install_sh= 2360 + for ac_aux in $ac_aux_files 2361 + do 2362 + # As a special case, if "install-sh" is required, that requirement 2363 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2364 + # and $ac_install_sh is set appropriately for whichever one is found. 2365 + if test x"$ac_aux" = x"install-sh" 2366 + then 2367 + if test -f "${as_dir}install-sh"; then 2368 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2369 + ac_install_sh="${as_dir}install-sh -c" 2370 + elif test -f "${as_dir}install.sh"; then 2371 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2372 + ac_install_sh="${as_dir}install.sh -c" 2373 + elif test -f "${as_dir}shtool"; then 2374 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2375 + ac_install_sh="${as_dir}shtool install -c" 2376 + else 2377 + ac_aux_dir_found=no 2378 + if $ac_first_candidate; then 2379 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2380 + else 2381 + break 2382 + fi 2383 + fi 2384 + else 2385 + if test -f "${as_dir}${ac_aux}"; then 2386 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2387 + else 2388 + ac_aux_dir_found=no 2389 + if $ac_first_candidate; then 2390 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2391 + else 2392 + break 2393 + fi 2394 + fi 2395 + fi 2396 + done 2397 + if test "$ac_aux_dir_found" = yes; then 2398 + ac_aux_dir="$as_dir" 2399 + break 2400 + fi 2401 + ac_first_candidate=false 2402 + 2403 + as_found=false 2404 + done 2405 + IFS=$as_save_IFS 2406 + if $as_found 2407 + then : 2408 + 2409 + else $as_nop 2410 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2411 + fi 2412 + 2413 + 2414 + # These three variables are undocumented and unsupported, 2415 + # and are intended to be withdrawn in a future Autoconf release. 2416 + # They can cause serious problems if a builder's source tree is in a directory 2417 + # whose full name contains unusual characters. 2418 + if test -f "${ac_aux_dir}config.guess"; then 2419 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2420 + fi 2421 + if test -f "${ac_aux_dir}config.sub"; then 2422 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2423 + fi 2424 + if test -f "$ac_aux_dir/configure"; then 2425 + ac_configure="$SHELL ${ac_aux_dir}configure" 2426 + fi 2427 + 2127 2428 # Check that the precious variables saved in the cache have kept the same 2128 2429 # value. 2129 2430 ac_cache_corrupted=false ··· 2134 2435 eval ac_new_val=\$ac_env_${ac_var}_value 2135 2436 case $ac_old_set,$ac_new_set in 2136 2437 set,) 2137 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2138 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2438 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2439 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2139 2440 ac_cache_corrupted=: ;; 2140 2441 ,set) 2141 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2142 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2442 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2443 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2143 2444 ac_cache_corrupted=: ;; 2144 2445 ,);; 2145 2446 *) ··· 2148 2449 ac_old_val_w=`echo x $ac_old_val` 2149 2450 ac_new_val_w=`echo x $ac_new_val` 2150 2451 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2151 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2152 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2452 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2453 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2153 2454 ac_cache_corrupted=: 2154 2455 else 2155 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2156 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2456 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2457 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2157 2458 eval $ac_var=\$ac_old_val 2158 2459 fi 2159 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2160 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2161 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2162 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2461 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2462 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2463 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2163 2464 fi;; 2164 2465 esac 2165 2466 # Pass precious variables to config.status. 2166 2467 if test "$ac_new_set" = set; then 2167 2468 case $ac_new_val in 2168 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2469 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2169 2470 *) ac_arg=$ac_var=$ac_new_val ;; 2170 2471 esac 2171 2472 case " $ac_configure_args " in ··· 2175 2476 fi 2176 2477 done 2177 2478 if $ac_cache_corrupted; then 2178 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2179 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2180 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2181 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2182 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2479 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2480 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2481 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2482 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2483 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2484 + and start over" "$LINENO" 5 2183 2485 fi 2184 2486 ## -------------------- ## 2185 2487 ## Main body of script. ## ··· 2199 2501 # Initialize Automake 2200 2502 am__api_version='1.12' 2201 2503 2202 - ac_aux_dir= 2203 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2204 - if test -f "$ac_dir/install-sh"; then 2205 - ac_aux_dir=$ac_dir 2206 - ac_install_sh="$ac_aux_dir/install-sh -c" 2207 - break 2208 - elif test -f "$ac_dir/install.sh"; then 2209 - ac_aux_dir=$ac_dir 2210 - ac_install_sh="$ac_aux_dir/install.sh -c" 2211 - break 2212 - elif test -f "$ac_dir/shtool"; then 2213 - ac_aux_dir=$ac_dir 2214 - ac_install_sh="$ac_aux_dir/shtool install -c" 2215 - break 2216 - fi 2217 - done 2218 - if test -z "$ac_aux_dir"; then 2219 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2220 - fi 2221 2504 2222 - # These three variables are undocumented and unsupported, 2223 - # and are intended to be withdrawn in a future Autoconf release. 2224 - # They can cause serious problems if a builder's source tree is in a directory 2225 - # whose full name contains unusual characters. 2226 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2227 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2228 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2229 2505 2230 - 2231 - # Find a good install program. We prefer a C program (faster), 2506 + # Find a good install program. We prefer a C program (faster), 2232 2507 # so one script is as good as another. But avoid the broken or 2233 2508 # incompatible versions: 2234 2509 # SysV /etc/install, /usr/sbin/install ··· 2242 2517 # OS/2's system install, which has a completely different semantic 2243 2518 # ./install, which can be erroneously created by make from ./install.sh. 2244 2519 # Reject install programs that cannot install multiple files. 2245 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2246 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2520 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2521 + printf %s "checking for a BSD-compatible install... " >&6; } 2247 2522 if test -z "$INSTALL"; then 2248 - if ${ac_cv_path_install+:} false; then : 2249 - $as_echo_n "(cached) " >&6 2250 - else 2523 + if test ${ac_cv_path_install+y} 2524 + then : 2525 + printf %s "(cached) " >&6 2526 + else $as_nop 2251 2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2252 2528 for as_dir in $PATH 2253 2529 do 2254 2530 IFS=$as_save_IFS 2255 - test -z "$as_dir" && as_dir=. 2256 - # Account for people who put trailing slashes in PATH elements. 2257 - case $as_dir/ in #(( 2258 - ./ | .// | /[cC]/* | \ 2531 + case $as_dir in #((( 2532 + '') as_dir=./ ;; 2533 + */) ;; 2534 + *) as_dir=$as_dir/ ;; 2535 + esac 2536 + # Account for fact that we put trailing slashes in our PATH walk. 2537 + case $as_dir in #(( 2538 + ./ | /[cC]/* | \ 2259 2539 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2260 2540 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2261 2541 /usr/ucb/* ) ;; ··· 2265 2545 # by default. 2266 2546 for ac_prog in ginstall scoinst install; do 2267 2547 for ac_exec_ext in '' $ac_executable_extensions; do 2268 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2548 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2269 2549 if test $ac_prog = install && 2270 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2550 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2271 2551 # AIX install. It has an incompatible calling convention. 2272 2552 : 2273 2553 elif test $ac_prog = install && 2274 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2554 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2275 2555 # program-specific install script used by HP pwplus--don't use. 2276 2556 : 2277 2557 else ··· 2279 2559 echo one > conftest.one 2280 2560 echo two > conftest.two 2281 2561 mkdir conftest.dir 2282 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2562 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2283 2563 test -s conftest.one && test -s conftest.two && 2284 2564 test -s conftest.dir/conftest.one && 2285 2565 test -s conftest.dir/conftest.two 2286 2566 then 2287 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2567 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2288 2568 break 3 2289 2569 fi 2290 2570 fi ··· 2300 2580 rm -rf conftest.one conftest.two conftest.dir 2301 2581 2302 2582 fi 2303 - if test "${ac_cv_path_install+set}" = set; then 2583 + if test ${ac_cv_path_install+y}; then 2304 2584 INSTALL=$ac_cv_path_install 2305 2585 else 2306 2586 # As a last resort, use the slow shell script. Don't cache a ··· 2310 2590 INSTALL=$ac_install_sh 2311 2591 fi 2312 2592 fi 2313 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2314 - $as_echo "$INSTALL" >&6; } 2593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2594 + printf "%s\n" "$INSTALL" >&6; } 2315 2595 2316 2596 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2317 2597 # It thinks the first close brace ends the variable substitution. ··· 2321 2601 2322 2602 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2323 2603 2324 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2325 - $as_echo_n "checking whether build environment is sane... " >&6; } 2604 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2605 + printf %s "checking whether build environment is sane... " >&6; } 2326 2606 # Reject unsafe characters in $srcdir or the absolute working directory 2327 2607 # name. Accept space and tab only in the latter. 2328 2608 am_lf=' ··· 2376 2656 as_fn_error $? "newly created file is older than distributed files! 2377 2657 Check your system clock" "$LINENO" 5 2378 2658 fi 2379 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2380 - $as_echo "yes" >&6; } 2659 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2660 + printf "%s\n" "yes" >&6; } 2381 2661 # If we didn't sleep, we still need to ensure time stamps of config.status and 2382 2662 # generated files are strictly newer. 2383 2663 am_sleep_pid= ··· 2396 2676 # Double any \ or $. 2397 2677 # By default was `s,x,x', remove it if useless. 2398 2678 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2399 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2679 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2400 2680 2401 2681 # expand $ac_aux_dir to an absolute path 2402 2682 am_aux_dir=`cd $ac_aux_dir && pwd` 2403 2683 2404 - if test x"${MISSING+set}" != xset; then 2684 + 2685 + if test x"${MISSING+set}" != xset; then 2405 2686 case $am_aux_dir in 2406 2687 *\ * | *\ *) 2407 2688 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2414 2695 am_missing_run="$MISSING --run " 2415 2696 else 2416 2697 am_missing_run= 2417 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2418 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2698 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2699 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2419 2700 fi 2420 2701 2421 2702 if test x"${install_sh}" != xset; then ··· 2435 2716 if test -n "$ac_tool_prefix"; then 2436 2717 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2437 2718 set dummy ${ac_tool_prefix}strip; ac_word=$2 2438 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2439 - $as_echo_n "checking for $ac_word... " >&6; } 2440 - if ${ac_cv_prog_STRIP+:} false; then : 2441 - $as_echo_n "(cached) " >&6 2442 - else 2719 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2720 + printf %s "checking for $ac_word... " >&6; } 2721 + if test ${ac_cv_prog_STRIP+y} 2722 + then : 2723 + printf %s "(cached) " >&6 2724 + else $as_nop 2443 2725 if test -n "$STRIP"; then 2444 2726 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2445 2727 else ··· 2447 2729 for as_dir in $PATH 2448 2730 do 2449 2731 IFS=$as_save_IFS 2450 - test -z "$as_dir" && as_dir=. 2732 + case $as_dir in #((( 2733 + '') as_dir=./ ;; 2734 + */) ;; 2735 + *) as_dir=$as_dir/ ;; 2736 + esac 2451 2737 for ac_exec_ext in '' $ac_executable_extensions; do 2452 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2738 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2453 2739 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2454 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2740 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2455 2741 break 2 2456 2742 fi 2457 2743 done ··· 2462 2748 fi 2463 2749 STRIP=$ac_cv_prog_STRIP 2464 2750 if test -n "$STRIP"; then 2465 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2466 - $as_echo "$STRIP" >&6; } 2751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2752 + printf "%s\n" "$STRIP" >&6; } 2467 2753 else 2468 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2469 - $as_echo "no" >&6; } 2754 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2755 + printf "%s\n" "no" >&6; } 2470 2756 fi 2471 2757 2472 2758 ··· 2475 2761 ac_ct_STRIP=$STRIP 2476 2762 # Extract the first word of "strip", so it can be a program name with args. 2477 2763 set dummy strip; ac_word=$2 2478 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2479 - $as_echo_n "checking for $ac_word... " >&6; } 2480 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2481 - $as_echo_n "(cached) " >&6 2482 - else 2764 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2765 + printf %s "checking for $ac_word... " >&6; } 2766 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2767 + then : 2768 + printf %s "(cached) " >&6 2769 + else $as_nop 2483 2770 if test -n "$ac_ct_STRIP"; then 2484 2771 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2485 2772 else ··· 2487 2774 for as_dir in $PATH 2488 2775 do 2489 2776 IFS=$as_save_IFS 2490 - test -z "$as_dir" && as_dir=. 2777 + case $as_dir in #((( 2778 + '') as_dir=./ ;; 2779 + */) ;; 2780 + *) as_dir=$as_dir/ ;; 2781 + esac 2491 2782 for ac_exec_ext in '' $ac_executable_extensions; do 2492 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2783 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2493 2784 ac_cv_prog_ac_ct_STRIP="strip" 2494 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2785 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2495 2786 break 2 2496 2787 fi 2497 2788 done ··· 2502 2793 fi 2503 2794 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2504 2795 if test -n "$ac_ct_STRIP"; then 2505 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2506 - $as_echo "$ac_ct_STRIP" >&6; } 2796 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2797 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2507 2798 else 2508 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2509 - $as_echo "no" >&6; } 2799 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2800 + printf "%s\n" "no" >&6; } 2510 2801 fi 2511 2802 2512 2803 if test "x$ac_ct_STRIP" = x; then ··· 2514 2805 else 2515 2806 case $cross_compiling:$ac_tool_warned in 2516 2807 yes:) 2517 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2518 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2808 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2809 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2519 2810 ac_tool_warned=yes ;; 2520 2811 esac 2521 2812 STRIP=$ac_ct_STRIP ··· 2527 2818 fi 2528 2819 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2529 2820 2530 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2531 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2821 + 2822 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2823 + printf %s "checking for a race-free mkdir -p... " >&6; } 2532 2824 if test -z "$MKDIR_P"; then 2533 - if ${ac_cv_path_mkdir+:} false; then : 2534 - $as_echo_n "(cached) " >&6 2535 - else 2825 + if test ${ac_cv_path_mkdir+y} 2826 + then : 2827 + printf %s "(cached) " >&6 2828 + else $as_nop 2536 2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2537 2830 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2538 2831 do 2539 2832 IFS=$as_save_IFS 2540 - test -z "$as_dir" && as_dir=. 2833 + case $as_dir in #((( 2834 + '') as_dir=./ ;; 2835 + */) ;; 2836 + *) as_dir=$as_dir/ ;; 2837 + esac 2541 2838 for ac_prog in mkdir gmkdir; do 2542 2839 for ac_exec_ext in '' $ac_executable_extensions; do 2543 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2544 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2545 - 'mkdir (GNU coreutils) '* | \ 2546 - 'mkdir (coreutils) '* | \ 2840 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2841 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2842 + 'mkdir ('*'coreutils) '* | \ 2843 + 'BusyBox '* | \ 2547 2844 'mkdir (fileutils) '4.1*) 2548 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2845 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2549 2846 break 3;; 2550 2847 esac 2551 2848 done ··· 2556 2853 fi 2557 2854 2558 2855 test -d ./--version && rmdir ./--version 2559 - if test "${ac_cv_path_mkdir+set}" = set; then 2856 + if test ${ac_cv_path_mkdir+y}; then 2560 2857 MKDIR_P="$ac_cv_path_mkdir -p" 2561 2858 else 2562 2859 # As a last resort, use the slow shell script. Don't cache a ··· 2566 2863 MKDIR_P="$ac_install_sh -d" 2567 2864 fi 2568 2865 fi 2569 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2570 - $as_echo "$MKDIR_P" >&6; } 2866 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2867 + printf "%s\n" "$MKDIR_P" >&6; } 2571 2868 2572 2869 for ac_prog in gawk mawk nawk awk 2573 2870 do 2574 2871 # Extract the first word of "$ac_prog", so it can be a program name with args. 2575 2872 set dummy $ac_prog; ac_word=$2 2576 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2577 - $as_echo_n "checking for $ac_word... " >&6; } 2578 - if ${ac_cv_prog_AWK+:} false; then : 2579 - $as_echo_n "(cached) " >&6 2580 - else 2873 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2874 + printf %s "checking for $ac_word... " >&6; } 2875 + if test ${ac_cv_prog_AWK+y} 2876 + then : 2877 + printf %s "(cached) " >&6 2878 + else $as_nop 2581 2879 if test -n "$AWK"; then 2582 2880 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2583 2881 else ··· 2585 2883 for as_dir in $PATH 2586 2884 do 2587 2885 IFS=$as_save_IFS 2588 - test -z "$as_dir" && as_dir=. 2886 + case $as_dir in #((( 2887 + '') as_dir=./ ;; 2888 + */) ;; 2889 + *) as_dir=$as_dir/ ;; 2890 + esac 2589 2891 for ac_exec_ext in '' $ac_executable_extensions; do 2590 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2892 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2591 2893 ac_cv_prog_AWK="$ac_prog" 2592 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2894 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2593 2895 break 2 2594 2896 fi 2595 2897 done ··· 2600 2902 fi 2601 2903 AWK=$ac_cv_prog_AWK 2602 2904 if test -n "$AWK"; then 2603 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2604 - $as_echo "$AWK" >&6; } 2905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2906 + printf "%s\n" "$AWK" >&6; } 2605 2907 else 2606 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2607 - $as_echo "no" >&6; } 2908 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2909 + printf "%s\n" "no" >&6; } 2608 2910 fi 2609 2911 2610 2912 2611 2913 test -n "$AWK" && break 2612 2914 done 2613 2915 2614 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2615 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2916 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2917 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2616 2918 set x ${MAKE-make} 2617 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2618 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2619 - $as_echo_n "(cached) " >&6 2620 - else 2919 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2920 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 2921 + then : 2922 + printf %s "(cached) " >&6 2923 + else $as_nop 2621 2924 cat >conftest.make <<\_ACEOF 2622 2925 SHELL = /bin/sh 2623 2926 all: ··· 2633 2936 rm -f conftest.make 2634 2937 fi 2635 2938 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2636 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2637 - $as_echo "yes" >&6; } 2939 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2940 + printf "%s\n" "yes" >&6; } 2638 2941 SET_MAKE= 2639 2942 else 2640 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2641 - $as_echo "no" >&6; } 2943 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2944 + printf "%s\n" "no" >&6; } 2642 2945 SET_MAKE="MAKE=${MAKE-make}" 2643 2946 fi 2644 2947 ··· 2673 2976 2674 2977 # Define the identity of the package. 2675 2978 PACKAGE='xbiff' 2676 - VERSION='1.0.4' 2979 + VERSION='1.0.5' 2677 2980 2678 2981 2679 - cat >>confdefs.h <<_ACEOF 2680 - #define PACKAGE "$PACKAGE" 2681 - _ACEOF 2982 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2682 2983 2683 2984 2684 - cat >>confdefs.h <<_ACEOF 2685 - #define VERSION "$VERSION" 2686 - _ACEOF 2985 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2687 2986 2688 2987 # Some tools Automake needs. 2689 2988 ··· 2732 3031 2733 3032 2734 3033 2735 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2736 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3034 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3035 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2737 3036 # Check whether --enable-maintainer-mode was given. 2738 - if test "${enable_maintainer_mode+set}" = set; then : 3037 + if test ${enable_maintainer_mode+y} 3038 + then : 2739 3039 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2740 - else 3040 + else $as_nop 2741 3041 USE_MAINTAINER_MODE=no 2742 3042 fi 2743 3043 2744 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2745 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 3044 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3045 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 2746 3046 if test $USE_MAINTAINER_MODE = yes; then 2747 3047 MAINTAINER_MODE_TRUE= 2748 3048 MAINTAINER_MODE_FALSE='#' ··· 2755 3055 2756 3056 2757 3057 3058 + 3059 + 3060 + 3061 + 3062 + 3063 + 3064 + 3065 + 3066 + 2758 3067 DEPDIR="${am__leading_dot}deps" 2759 3068 2760 3069 ac_config_commands="$ac_config_commands depfiles" ··· 2767 3076 .PHONY: am__doit 2768 3077 END 2769 3078 # If we don't find an include directive, just comment out the code. 2770 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2771 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3079 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3080 + printf %s "checking for style of include used by $am_make... " >&6; } 2772 3081 am__include="#" 2773 3082 am__quote= 2774 3083 _am_result=none ··· 2795 3104 fi 2796 3105 2797 3106 2798 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2799 - $as_echo "$_am_result" >&6; } 3107 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3108 + printf "%s\n" "$_am_result" >&6; } 2800 3109 rm -f confinc confmf 2801 3110 2802 3111 # Check whether --enable-dependency-tracking was given. 2803 - if test "${enable_dependency_tracking+set}" = set; then : 3112 + if test ${enable_dependency_tracking+y} 3113 + then : 2804 3114 enableval=$enable_dependency_tracking; 2805 3115 fi 2806 3116 ··· 2826 3136 if test -n "$ac_tool_prefix"; then 2827 3137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2828 3138 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2829 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2830 - $as_echo_n "checking for $ac_word... " >&6; } 2831 - if ${ac_cv_prog_CC+:} false; then : 2832 - $as_echo_n "(cached) " >&6 2833 - else 3139 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3140 + printf %s "checking for $ac_word... " >&6; } 3141 + if test ${ac_cv_prog_CC+y} 3142 + then : 3143 + printf %s "(cached) " >&6 3144 + else $as_nop 2834 3145 if test -n "$CC"; then 2835 3146 ac_cv_prog_CC="$CC" # Let the user override the test. 2836 3147 else ··· 2838 3149 for as_dir in $PATH 2839 3150 do 2840 3151 IFS=$as_save_IFS 2841 - test -z "$as_dir" && as_dir=. 3152 + case $as_dir in #((( 3153 + '') as_dir=./ ;; 3154 + */) ;; 3155 + *) as_dir=$as_dir/ ;; 3156 + esac 2842 3157 for ac_exec_ext in '' $ac_executable_extensions; do 2843 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3158 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2844 3159 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2845 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3160 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2846 3161 break 2 2847 3162 fi 2848 3163 done ··· 2853 3168 fi 2854 3169 CC=$ac_cv_prog_CC 2855 3170 if test -n "$CC"; then 2856 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2857 - $as_echo "$CC" >&6; } 3171 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3172 + printf "%s\n" "$CC" >&6; } 2858 3173 else 2859 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2860 - $as_echo "no" >&6; } 3174 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3175 + printf "%s\n" "no" >&6; } 2861 3176 fi 2862 3177 2863 3178 ··· 2866 3181 ac_ct_CC=$CC 2867 3182 # Extract the first word of "gcc", so it can be a program name with args. 2868 3183 set dummy gcc; ac_word=$2 2869 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2870 - $as_echo_n "checking for $ac_word... " >&6; } 2871 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 2872 - $as_echo_n "(cached) " >&6 2873 - else 3184 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3185 + printf %s "checking for $ac_word... " >&6; } 3186 + if test ${ac_cv_prog_ac_ct_CC+y} 3187 + then : 3188 + printf %s "(cached) " >&6 3189 + else $as_nop 2874 3190 if test -n "$ac_ct_CC"; then 2875 3191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2876 3192 else ··· 2878 3194 for as_dir in $PATH 2879 3195 do 2880 3196 IFS=$as_save_IFS 2881 - test -z "$as_dir" && as_dir=. 3197 + case $as_dir in #((( 3198 + '') as_dir=./ ;; 3199 + */) ;; 3200 + *) as_dir=$as_dir/ ;; 3201 + esac 2882 3202 for ac_exec_ext in '' $ac_executable_extensions; do 2883 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3203 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2884 3204 ac_cv_prog_ac_ct_CC="gcc" 2885 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3205 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2886 3206 break 2 2887 3207 fi 2888 3208 done ··· 2893 3213 fi 2894 3214 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2895 3215 if test -n "$ac_ct_CC"; then 2896 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2897 - $as_echo "$ac_ct_CC" >&6; } 3216 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3217 + printf "%s\n" "$ac_ct_CC" >&6; } 2898 3218 else 2899 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2900 - $as_echo "no" >&6; } 3219 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3220 + printf "%s\n" "no" >&6; } 2901 3221 fi 2902 3222 2903 3223 if test "x$ac_ct_CC" = x; then ··· 2905 3225 else 2906 3226 case $cross_compiling:$ac_tool_warned in 2907 3227 yes:) 2908 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2909 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3228 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3229 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2910 3230 ac_tool_warned=yes ;; 2911 3231 esac 2912 3232 CC=$ac_ct_CC ··· 2919 3239 if test -n "$ac_tool_prefix"; then 2920 3240 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2921 3241 set dummy ${ac_tool_prefix}cc; ac_word=$2 2922 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2923 - $as_echo_n "checking for $ac_word... " >&6; } 2924 - if ${ac_cv_prog_CC+:} false; then : 2925 - $as_echo_n "(cached) " >&6 2926 - else 3242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3243 + printf %s "checking for $ac_word... " >&6; } 3244 + if test ${ac_cv_prog_CC+y} 3245 + then : 3246 + printf %s "(cached) " >&6 3247 + else $as_nop 2927 3248 if test -n "$CC"; then 2928 3249 ac_cv_prog_CC="$CC" # Let the user override the test. 2929 3250 else ··· 2931 3252 for as_dir in $PATH 2932 3253 do 2933 3254 IFS=$as_save_IFS 2934 - test -z "$as_dir" && as_dir=. 3255 + case $as_dir in #((( 3256 + '') as_dir=./ ;; 3257 + */) ;; 3258 + *) as_dir=$as_dir/ ;; 3259 + esac 2935 3260 for ac_exec_ext in '' $ac_executable_extensions; do 2936 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3261 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2937 3262 ac_cv_prog_CC="${ac_tool_prefix}cc" 2938 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3263 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2939 3264 break 2 2940 3265 fi 2941 3266 done ··· 2946 3271 fi 2947 3272 CC=$ac_cv_prog_CC 2948 3273 if test -n "$CC"; then 2949 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2950 - $as_echo "$CC" >&6; } 3274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3275 + printf "%s\n" "$CC" >&6; } 2951 3276 else 2952 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2953 - $as_echo "no" >&6; } 3277 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3278 + printf "%s\n" "no" >&6; } 2954 3279 fi 2955 3280 2956 3281 ··· 2959 3284 if test -z "$CC"; then 2960 3285 # Extract the first word of "cc", so it can be a program name with args. 2961 3286 set dummy cc; ac_word=$2 2962 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2963 - $as_echo_n "checking for $ac_word... " >&6; } 2964 - if ${ac_cv_prog_CC+:} false; then : 2965 - $as_echo_n "(cached) " >&6 2966 - else 3287 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3288 + printf %s "checking for $ac_word... " >&6; } 3289 + if test ${ac_cv_prog_CC+y} 3290 + then : 3291 + printf %s "(cached) " >&6 3292 + else $as_nop 2967 3293 if test -n "$CC"; then 2968 3294 ac_cv_prog_CC="$CC" # Let the user override the test. 2969 3295 else ··· 2972 3298 for as_dir in $PATH 2973 3299 do 2974 3300 IFS=$as_save_IFS 2975 - test -z "$as_dir" && as_dir=. 3301 + case $as_dir in #((( 3302 + '') as_dir=./ ;; 3303 + */) ;; 3304 + *) as_dir=$as_dir/ ;; 3305 + esac 2976 3306 for ac_exec_ext in '' $ac_executable_extensions; do 2977 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2978 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3307 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3308 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2979 3309 ac_prog_rejected=yes 2980 3310 continue 2981 3311 fi 2982 3312 ac_cv_prog_CC="cc" 2983 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3313 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2984 3314 break 2 2985 3315 fi 2986 3316 done ··· 2996 3326 # However, it has the same basename, so the bogon will be chosen 2997 3327 # first if we set CC to just the basename; use the full file name. 2998 3328 shift 2999 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3329 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3000 3330 fi 3001 3331 fi 3002 3332 fi 3003 3333 fi 3004 3334 CC=$ac_cv_prog_CC 3005 3335 if test -n "$CC"; then 3006 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3007 - $as_echo "$CC" >&6; } 3336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3337 + printf "%s\n" "$CC" >&6; } 3008 3338 else 3009 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3010 - $as_echo "no" >&6; } 3339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3340 + printf "%s\n" "no" >&6; } 3011 3341 fi 3012 3342 3013 3343 ··· 3018 3348 do 3019 3349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3020 3350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3021 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3022 - $as_echo_n "checking for $ac_word... " >&6; } 3023 - if ${ac_cv_prog_CC+:} false; then : 3024 - $as_echo_n "(cached) " >&6 3025 - else 3351 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3352 + printf %s "checking for $ac_word... " >&6; } 3353 + if test ${ac_cv_prog_CC+y} 3354 + then : 3355 + printf %s "(cached) " >&6 3356 + else $as_nop 3026 3357 if test -n "$CC"; then 3027 3358 ac_cv_prog_CC="$CC" # Let the user override the test. 3028 3359 else ··· 3030 3361 for as_dir in $PATH 3031 3362 do 3032 3363 IFS=$as_save_IFS 3033 - test -z "$as_dir" && as_dir=. 3364 + case $as_dir in #((( 3365 + '') as_dir=./ ;; 3366 + */) ;; 3367 + *) as_dir=$as_dir/ ;; 3368 + esac 3034 3369 for ac_exec_ext in '' $ac_executable_extensions; do 3035 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3370 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3036 3371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3037 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3372 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3038 3373 break 2 3039 3374 fi 3040 3375 done ··· 3045 3380 fi 3046 3381 CC=$ac_cv_prog_CC 3047 3382 if test -n "$CC"; then 3048 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3049 - $as_echo "$CC" >&6; } 3383 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3384 + printf "%s\n" "$CC" >&6; } 3050 3385 else 3051 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3052 - $as_echo "no" >&6; } 3386 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3387 + printf "%s\n" "no" >&6; } 3053 3388 fi 3054 3389 3055 3390 ··· 3062 3397 do 3063 3398 # Extract the first word of "$ac_prog", so it can be a program name with args. 3064 3399 set dummy $ac_prog; ac_word=$2 3065 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3066 - $as_echo_n "checking for $ac_word... " >&6; } 3067 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3068 - $as_echo_n "(cached) " >&6 3069 - else 3400 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3401 + printf %s "checking for $ac_word... " >&6; } 3402 + if test ${ac_cv_prog_ac_ct_CC+y} 3403 + then : 3404 + printf %s "(cached) " >&6 3405 + else $as_nop 3070 3406 if test -n "$ac_ct_CC"; then 3071 3407 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3072 3408 else ··· 3074 3410 for as_dir in $PATH 3075 3411 do 3076 3412 IFS=$as_save_IFS 3077 - test -z "$as_dir" && as_dir=. 3413 + case $as_dir in #((( 3414 + '') as_dir=./ ;; 3415 + */) ;; 3416 + *) as_dir=$as_dir/ ;; 3417 + esac 3078 3418 for ac_exec_ext in '' $ac_executable_extensions; do 3079 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3419 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3080 3420 ac_cv_prog_ac_ct_CC="$ac_prog" 3081 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3421 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3082 3422 break 2 3083 3423 fi 3084 3424 done ··· 3089 3429 fi 3090 3430 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3091 3431 if test -n "$ac_ct_CC"; then 3092 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3093 - $as_echo "$ac_ct_CC" >&6; } 3432 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3433 + printf "%s\n" "$ac_ct_CC" >&6; } 3094 3434 else 3095 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3096 - $as_echo "no" >&6; } 3435 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3436 + printf "%s\n" "no" >&6; } 3097 3437 fi 3098 3438 3099 3439 ··· 3105 3445 else 3106 3446 case $cross_compiling:$ac_tool_warned in 3107 3447 yes:) 3108 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3109 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3448 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3449 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3110 3450 ac_tool_warned=yes ;; 3111 3451 esac 3112 3452 CC=$ac_ct_CC ··· 3114 3454 fi 3115 3455 3116 3456 fi 3457 + if test -z "$CC"; then 3458 + if test -n "$ac_tool_prefix"; then 3459 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3460 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3461 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3462 + printf %s "checking for $ac_word... " >&6; } 3463 + if test ${ac_cv_prog_CC+y} 3464 + then : 3465 + printf %s "(cached) " >&6 3466 + else $as_nop 3467 + if test -n "$CC"; then 3468 + ac_cv_prog_CC="$CC" # Let the user override the test. 3469 + else 3470 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3471 + for as_dir in $PATH 3472 + do 3473 + IFS=$as_save_IFS 3474 + case $as_dir in #((( 3475 + '') as_dir=./ ;; 3476 + */) ;; 3477 + *) as_dir=$as_dir/ ;; 3478 + esac 3479 + for ac_exec_ext in '' $ac_executable_extensions; do 3480 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3481 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3482 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3483 + break 2 3484 + fi 3485 + done 3486 + done 3487 + IFS=$as_save_IFS 3117 3488 3489 + fi 3490 + fi 3491 + CC=$ac_cv_prog_CC 3492 + if test -n "$CC"; then 3493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3494 + printf "%s\n" "$CC" >&6; } 3495 + else 3496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3497 + printf "%s\n" "no" >&6; } 3498 + fi 3118 3499 3119 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3120 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3500 + 3501 + fi 3502 + if test -z "$ac_cv_prog_CC"; then 3503 + ac_ct_CC=$CC 3504 + # Extract the first word of "clang", so it can be a program name with args. 3505 + set dummy clang; ac_word=$2 3506 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3507 + printf %s "checking for $ac_word... " >&6; } 3508 + if test ${ac_cv_prog_ac_ct_CC+y} 3509 + then : 3510 + printf %s "(cached) " >&6 3511 + else $as_nop 3512 + if test -n "$ac_ct_CC"; then 3513 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3514 + else 3515 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3516 + for as_dir in $PATH 3517 + do 3518 + IFS=$as_save_IFS 3519 + case $as_dir in #((( 3520 + '') as_dir=./ ;; 3521 + */) ;; 3522 + *) as_dir=$as_dir/ ;; 3523 + esac 3524 + for ac_exec_ext in '' $ac_executable_extensions; do 3525 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3526 + ac_cv_prog_ac_ct_CC="clang" 3527 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3528 + break 2 3529 + fi 3530 + done 3531 + done 3532 + IFS=$as_save_IFS 3533 + 3534 + fi 3535 + fi 3536 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3537 + if test -n "$ac_ct_CC"; then 3538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3539 + printf "%s\n" "$ac_ct_CC" >&6; } 3540 + else 3541 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3542 + printf "%s\n" "no" >&6; } 3543 + fi 3544 + 3545 + if test "x$ac_ct_CC" = x; then 3546 + CC="" 3547 + else 3548 + case $cross_compiling:$ac_tool_warned in 3549 + yes:) 3550 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3551 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3552 + ac_tool_warned=yes ;; 3553 + esac 3554 + CC=$ac_ct_CC 3555 + fi 3556 + else 3557 + CC="$ac_cv_prog_CC" 3558 + fi 3559 + 3560 + fi 3561 + 3562 + 3563 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3564 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3121 3565 as_fn_error $? "no acceptable C compiler found in \$PATH 3122 3566 See \`config.log' for more details" "$LINENO" 5; } 3123 3567 3124 3568 # Provide some information about the compiler. 3125 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3569 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3126 3570 set X $ac_compile 3127 3571 ac_compiler=$2 3128 - for ac_option in --version -v -V -qversion; do 3572 + for ac_option in --version -v -V -qversion -version; do 3129 3573 { { ac_try="$ac_compiler $ac_option >&5" 3130 3574 case "(($ac_try" in 3131 3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3132 3576 *) ac_try_echo=$ac_try;; 3133 3577 esac 3134 3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3135 - $as_echo "$ac_try_echo"; } >&5 3579 + printf "%s\n" "$ac_try_echo"; } >&5 3136 3580 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3137 3581 ac_status=$? 3138 3582 if test -s conftest.err; then ··· 3142 3586 cat conftest.er1 >&5 3143 3587 fi 3144 3588 rm -f conftest.er1 conftest.err 3145 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3589 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3146 3590 test $ac_status = 0; } 3147 3591 done 3148 3592 ··· 3150 3594 /* end confdefs.h. */ 3151 3595 3152 3596 int 3153 - main () 3597 + main (void) 3154 3598 { 3155 3599 3156 3600 ; ··· 3162 3606 # Try to create an executable without -o first, disregard a.out. 3163 3607 # It will help us diagnose broken compilers, and finding out an intuition 3164 3608 # of exeext. 3165 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3166 - $as_echo_n "checking whether the C compiler works... " >&6; } 3167 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3609 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3610 + printf %s "checking whether the C compiler works... " >&6; } 3611 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3168 3612 3169 3613 # The possible output files: 3170 3614 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3185 3629 *) ac_try_echo=$ac_try;; 3186 3630 esac 3187 3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3188 - $as_echo "$ac_try_echo"; } >&5 3632 + printf "%s\n" "$ac_try_echo"; } >&5 3189 3633 (eval "$ac_link_default") 2>&5 3190 3634 ac_status=$? 3191 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3192 - test $ac_status = 0; }; then : 3635 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3636 + test $ac_status = 0; } 3637 + then : 3193 3638 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3194 3639 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3195 3640 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3206 3651 # certainly right. 3207 3652 break;; 3208 3653 *.* ) 3209 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3654 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3210 3655 then :; else 3211 3656 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3212 3657 fi ··· 3222 3667 done 3223 3668 test "$ac_cv_exeext" = no && ac_cv_exeext= 3224 3669 3225 - else 3670 + else $as_nop 3226 3671 ac_file='' 3227 3672 fi 3228 - if test -z "$ac_file"; then : 3229 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3230 - $as_echo "no" >&6; } 3231 - $as_echo "$as_me: failed program was:" >&5 3673 + if test -z "$ac_file" 3674 + then : 3675 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3676 + printf "%s\n" "no" >&6; } 3677 + printf "%s\n" "$as_me: failed program was:" >&5 3232 3678 sed 's/^/| /' conftest.$ac_ext >&5 3233 3679 3234 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3235 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3680 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3681 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3236 3682 as_fn_error 77 "C compiler cannot create executables 3237 3683 See \`config.log' for more details" "$LINENO" 5; } 3238 - else 3239 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3240 - $as_echo "yes" >&6; } 3684 + else $as_nop 3685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3686 + printf "%s\n" "yes" >&6; } 3241 3687 fi 3242 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3243 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3244 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3245 - $as_echo "$ac_file" >&6; } 3688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3689 + printf %s "checking for C compiler default output file name... " >&6; } 3690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3691 + printf "%s\n" "$ac_file" >&6; } 3246 3692 ac_exeext=$ac_cv_exeext 3247 3693 3248 3694 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3249 3695 ac_clean_files=$ac_clean_files_save 3250 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3251 - $as_echo_n "checking for suffix of executables... " >&6; } 3696 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3697 + printf %s "checking for suffix of executables... " >&6; } 3252 3698 if { { ac_try="$ac_link" 3253 3699 case "(($ac_try" in 3254 3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3255 3701 *) ac_try_echo=$ac_try;; 3256 3702 esac 3257 3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3258 - $as_echo "$ac_try_echo"; } >&5 3704 + printf "%s\n" "$ac_try_echo"; } >&5 3259 3705 (eval "$ac_link") 2>&5 3260 3706 ac_status=$? 3261 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3262 - test $ac_status = 0; }; then : 3707 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3708 + test $ac_status = 0; } 3709 + then : 3263 3710 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3264 3711 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3265 3712 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3273 3720 * ) break;; 3274 3721 esac 3275 3722 done 3276 - else 3277 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3278 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3723 + else $as_nop 3724 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3725 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3279 3726 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3280 3727 See \`config.log' for more details" "$LINENO" 5; } 3281 3728 fi 3282 3729 rm -f conftest conftest$ac_cv_exeext 3283 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3284 - $as_echo "$ac_cv_exeext" >&6; } 3730 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3731 + printf "%s\n" "$ac_cv_exeext" >&6; } 3285 3732 3286 3733 rm -f conftest.$ac_ext 3287 3734 EXEEXT=$ac_cv_exeext ··· 3290 3737 /* end confdefs.h. */ 3291 3738 #include <stdio.h> 3292 3739 int 3293 - main () 3740 + main (void) 3294 3741 { 3295 3742 FILE *f = fopen ("conftest.out", "w"); 3296 3743 return ferror (f) || fclose (f) != 0; ··· 3302 3749 ac_clean_files="$ac_clean_files conftest.out" 3303 3750 # Check that the compiler produces executables we can run. If not, either 3304 3751 # the compiler is broken, or we cross compile. 3305 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3306 - $as_echo_n "checking whether we are cross compiling... " >&6; } 3752 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3753 + printf %s "checking whether we are cross compiling... " >&6; } 3307 3754 if test "$cross_compiling" != yes; then 3308 3755 { { ac_try="$ac_link" 3309 3756 case "(($ac_try" in ··· 3311 3758 *) ac_try_echo=$ac_try;; 3312 3759 esac 3313 3760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3314 - $as_echo "$ac_try_echo"; } >&5 3761 + printf "%s\n" "$ac_try_echo"; } >&5 3315 3762 (eval "$ac_link") 2>&5 3316 3763 ac_status=$? 3317 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3764 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3318 3765 test $ac_status = 0; } 3319 3766 if { ac_try='./conftest$ac_cv_exeext' 3320 3767 { { case "(($ac_try" in ··· 3322 3769 *) ac_try_echo=$ac_try;; 3323 3770 esac 3324 3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3325 - $as_echo "$ac_try_echo"; } >&5 3772 + printf "%s\n" "$ac_try_echo"; } >&5 3326 3773 (eval "$ac_try") 2>&5 3327 3774 ac_status=$? 3328 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3775 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3329 3776 test $ac_status = 0; }; }; then 3330 3777 cross_compiling=no 3331 3778 else 3332 3779 if test "$cross_compiling" = maybe; then 3333 3780 cross_compiling=yes 3334 3781 else 3335 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3336 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3337 - as_fn_error $? "cannot run C compiled programs. 3782 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3783 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3784 + as_fn_error 77 "cannot run C compiled programs. 3338 3785 If you meant to cross compile, use \`--host'. 3339 3786 See \`config.log' for more details" "$LINENO" 5; } 3340 3787 fi 3341 3788 fi 3342 3789 fi 3343 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3344 - $as_echo "$cross_compiling" >&6; } 3790 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3791 + printf "%s\n" "$cross_compiling" >&6; } 3345 3792 3346 3793 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3347 3794 ac_clean_files=$ac_clean_files_save 3348 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3349 - $as_echo_n "checking for suffix of object files... " >&6; } 3350 - if ${ac_cv_objext+:} false; then : 3351 - $as_echo_n "(cached) " >&6 3352 - else 3795 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3796 + printf %s "checking for suffix of object files... " >&6; } 3797 + if test ${ac_cv_objext+y} 3798 + then : 3799 + printf %s "(cached) " >&6 3800 + else $as_nop 3353 3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3354 3802 /* end confdefs.h. */ 3355 3803 3356 3804 int 3357 - main () 3805 + main (void) 3358 3806 { 3359 3807 3360 3808 ; ··· 3368 3816 *) ac_try_echo=$ac_try;; 3369 3817 esac 3370 3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3371 - $as_echo "$ac_try_echo"; } >&5 3819 + printf "%s\n" "$ac_try_echo"; } >&5 3372 3820 (eval "$ac_compile") 2>&5 3373 3821 ac_status=$? 3374 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3375 - test $ac_status = 0; }; then : 3822 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3823 + test $ac_status = 0; } 3824 + then : 3376 3825 for ac_file in conftest.o conftest.obj conftest.*; do 3377 3826 test -f "$ac_file" || continue; 3378 3827 case $ac_file in ··· 3381 3830 break;; 3382 3831 esac 3383 3832 done 3384 - else 3385 - $as_echo "$as_me: failed program was:" >&5 3833 + else $as_nop 3834 + printf "%s\n" "$as_me: failed program was:" >&5 3386 3835 sed 's/^/| /' conftest.$ac_ext >&5 3387 3836 3388 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3389 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3837 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3838 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3390 3839 as_fn_error $? "cannot compute suffix of object files: cannot compile 3391 3840 See \`config.log' for more details" "$LINENO" 5; } 3392 3841 fi 3393 3842 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3394 3843 fi 3395 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3396 - $as_echo "$ac_cv_objext" >&6; } 3844 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3845 + printf "%s\n" "$ac_cv_objext" >&6; } 3397 3846 OBJEXT=$ac_cv_objext 3398 3847 ac_objext=$OBJEXT 3399 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3400 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3401 - if ${ac_cv_c_compiler_gnu+:} false; then : 3402 - $as_echo_n "(cached) " >&6 3403 - else 3848 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 3849 + printf %s "checking whether the compiler supports GNU C... " >&6; } 3850 + if test ${ac_cv_c_compiler_gnu+y} 3851 + then : 3852 + printf %s "(cached) " >&6 3853 + else $as_nop 3404 3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3405 3855 /* end confdefs.h. */ 3406 3856 3407 3857 int 3408 - main () 3858 + main (void) 3409 3859 { 3410 3860 #ifndef __GNUC__ 3411 3861 choke me ··· 3415 3865 return 0; 3416 3866 } 3417 3867 _ACEOF 3418 - if ac_fn_c_try_compile "$LINENO"; then : 3868 + if ac_fn_c_try_compile "$LINENO" 3869 + then : 3419 3870 ac_compiler_gnu=yes 3420 - else 3871 + else $as_nop 3421 3872 ac_compiler_gnu=no 3422 3873 fi 3423 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3874 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3424 3875 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3425 3876 3426 3877 fi 3427 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3428 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3878 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3879 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 3880 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3881 + 3429 3882 if test $ac_compiler_gnu = yes; then 3430 3883 GCC=yes 3431 3884 else 3432 3885 GCC= 3433 3886 fi 3434 - ac_test_CFLAGS=${CFLAGS+set} 3887 + ac_test_CFLAGS=${CFLAGS+y} 3435 3888 ac_save_CFLAGS=$CFLAGS 3436 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3437 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3438 - if ${ac_cv_prog_cc_g+:} false; then : 3439 - $as_echo_n "(cached) " >&6 3440 - else 3889 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3890 + printf %s "checking whether $CC accepts -g... " >&6; } 3891 + if test ${ac_cv_prog_cc_g+y} 3892 + then : 3893 + printf %s "(cached) " >&6 3894 + else $as_nop 3441 3895 ac_save_c_werror_flag=$ac_c_werror_flag 3442 3896 ac_c_werror_flag=yes 3443 3897 ac_cv_prog_cc_g=no ··· 3446 3900 /* end confdefs.h. */ 3447 3901 3448 3902 int 3449 - main () 3903 + main (void) 3450 3904 { 3451 3905 3452 3906 ; 3453 3907 return 0; 3454 3908 } 3455 3909 _ACEOF 3456 - if ac_fn_c_try_compile "$LINENO"; then : 3910 + if ac_fn_c_try_compile "$LINENO" 3911 + then : 3457 3912 ac_cv_prog_cc_g=yes 3458 - else 3913 + else $as_nop 3459 3914 CFLAGS="" 3460 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3461 3916 /* end confdefs.h. */ 3462 3917 3463 3918 int 3464 - main () 3919 + main (void) 3465 3920 { 3466 3921 3467 3922 ; 3468 3923 return 0; 3469 3924 } 3470 3925 _ACEOF 3471 - if ac_fn_c_try_compile "$LINENO"; then : 3926 + if ac_fn_c_try_compile "$LINENO" 3927 + then : 3472 3928 3473 - else 3929 + else $as_nop 3474 3930 ac_c_werror_flag=$ac_save_c_werror_flag 3475 3931 CFLAGS="-g" 3476 3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3477 3933 /* end confdefs.h. */ 3478 3934 3479 3935 int 3480 - main () 3936 + main (void) 3481 3937 { 3482 3938 3483 3939 ; 3484 3940 return 0; 3485 3941 } 3486 3942 _ACEOF 3487 - if ac_fn_c_try_compile "$LINENO"; then : 3943 + if ac_fn_c_try_compile "$LINENO" 3944 + then : 3488 3945 ac_cv_prog_cc_g=yes 3489 3946 fi 3490 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3947 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3491 3948 fi 3492 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3949 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3493 3950 fi 3494 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3951 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3495 3952 ac_c_werror_flag=$ac_save_c_werror_flag 3496 3953 fi 3497 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3498 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3499 - if test "$ac_test_CFLAGS" = set; then 3954 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3955 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 3956 + if test $ac_test_CFLAGS; then 3500 3957 CFLAGS=$ac_save_CFLAGS 3501 3958 elif test $ac_cv_prog_cc_g = yes; then 3502 3959 if test "$GCC" = yes; then ··· 3511 3968 CFLAGS= 3512 3969 fi 3513 3970 fi 3514 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3515 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3516 - if ${ac_cv_prog_cc_c89+:} false; then : 3517 - $as_echo_n "(cached) " >&6 3518 - else 3519 - ac_cv_prog_cc_c89=no 3971 + ac_prog_cc_stdc=no 3972 + if test x$ac_prog_cc_stdc = xno 3973 + then : 3974 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 3975 + printf %s "checking for $CC option to enable C11 features... " >&6; } 3976 + if test ${ac_cv_prog_cc_c11+y} 3977 + then : 3978 + printf %s "(cached) " >&6 3979 + else $as_nop 3980 + ac_cv_prog_cc_c11=no 3520 3981 ac_save_CC=$CC 3521 3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3522 3983 /* end confdefs.h. */ 3523 - #include <stdarg.h> 3524 - #include <stdio.h> 3525 - struct stat; 3526 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3527 - struct buf { int x; }; 3528 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3529 - static char *e (p, i) 3530 - char **p; 3531 - int i; 3532 - { 3533 - return p[i]; 3534 - } 3535 - static char *f (char * (*g) (char **, int), char **p, ...) 3536 - { 3537 - char *s; 3538 - va_list v; 3539 - va_start (v,p); 3540 - s = g (p, va_arg (v,int)); 3541 - va_end (v); 3542 - return s; 3543 - } 3984 + $ac_c_conftest_c11_program 3985 + _ACEOF 3986 + for ac_arg in '' -std=gnu11 3987 + do 3988 + CC="$ac_save_CC $ac_arg" 3989 + if ac_fn_c_try_compile "$LINENO" 3990 + then : 3991 + ac_cv_prog_cc_c11=$ac_arg 3992 + fi 3993 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3994 + test "x$ac_cv_prog_cc_c11" != "xno" && break 3995 + done 3996 + rm -f conftest.$ac_ext 3997 + CC=$ac_save_CC 3998 + fi 3544 3999 3545 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3546 - function prototypes and stuff, but not '\xHH' hex character constants. 3547 - These don't provoke an error unfortunately, instead are silently treated 3548 - as 'x'. The following induces an error, until -std is added to get 3549 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3550 - array size at least. It's necessary to write '\x00'==0 to get something 3551 - that's true only with -std. */ 3552 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4000 + if test "x$ac_cv_prog_cc_c11" = xno 4001 + then : 4002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4003 + printf "%s\n" "unsupported" >&6; } 4004 + else $as_nop 4005 + if test "x$ac_cv_prog_cc_c11" = x 4006 + then : 4007 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4008 + printf "%s\n" "none needed" >&6; } 4009 + else $as_nop 4010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4011 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4012 + CC="$CC $ac_cv_prog_cc_c11" 4013 + fi 4014 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4015 + ac_prog_cc_stdc=c11 4016 + fi 4017 + fi 4018 + if test x$ac_prog_cc_stdc = xno 4019 + then : 4020 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4021 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4022 + if test ${ac_cv_prog_cc_c99+y} 4023 + then : 4024 + printf %s "(cached) " >&6 4025 + else $as_nop 4026 + ac_cv_prog_cc_c99=no 4027 + ac_save_CC=$CC 4028 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4029 + /* end confdefs.h. */ 4030 + $ac_c_conftest_c99_program 4031 + _ACEOF 4032 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4033 + do 4034 + CC="$ac_save_CC $ac_arg" 4035 + if ac_fn_c_try_compile "$LINENO" 4036 + then : 4037 + ac_cv_prog_cc_c99=$ac_arg 4038 + fi 4039 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4040 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4041 + done 4042 + rm -f conftest.$ac_ext 4043 + CC=$ac_save_CC 4044 + fi 3553 4045 3554 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3555 - inside strings and character constants. */ 3556 - #define FOO(x) 'x' 3557 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3558 - 3559 - int test (int i, double x); 3560 - struct s1 {int (*f) (int a);}; 3561 - struct s2 {int (*f) (double a);}; 3562 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3563 - int argc; 3564 - char **argv; 3565 - int 3566 - main () 3567 - { 3568 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3569 - ; 3570 - return 0; 3571 - } 4046 + if test "x$ac_cv_prog_cc_c99" = xno 4047 + then : 4048 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4049 + printf "%s\n" "unsupported" >&6; } 4050 + else $as_nop 4051 + if test "x$ac_cv_prog_cc_c99" = x 4052 + then : 4053 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4054 + printf "%s\n" "none needed" >&6; } 4055 + else $as_nop 4056 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4057 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4058 + CC="$CC $ac_cv_prog_cc_c99" 4059 + fi 4060 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4061 + ac_prog_cc_stdc=c99 4062 + fi 4063 + fi 4064 + if test x$ac_prog_cc_stdc = xno 4065 + then : 4066 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4067 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4068 + if test ${ac_cv_prog_cc_c89+y} 4069 + then : 4070 + printf %s "(cached) " >&6 4071 + else $as_nop 4072 + ac_cv_prog_cc_c89=no 4073 + ac_save_CC=$CC 4074 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4075 + /* end confdefs.h. */ 4076 + $ac_c_conftest_c89_program 3572 4077 _ACEOF 3573 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3574 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4078 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3575 4079 do 3576 4080 CC="$ac_save_CC $ac_arg" 3577 - if ac_fn_c_try_compile "$LINENO"; then : 4081 + if ac_fn_c_try_compile "$LINENO" 4082 + then : 3578 4083 ac_cv_prog_cc_c89=$ac_arg 3579 4084 fi 3580 - rm -f core conftest.err conftest.$ac_objext 4085 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3581 4086 test "x$ac_cv_prog_cc_c89" != "xno" && break 3582 4087 done 3583 4088 rm -f conftest.$ac_ext 3584 4089 CC=$ac_save_CC 4090 + fi 3585 4091 4092 + if test "x$ac_cv_prog_cc_c89" = xno 4093 + then : 4094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4095 + printf "%s\n" "unsupported" >&6; } 4096 + else $as_nop 4097 + if test "x$ac_cv_prog_cc_c89" = x 4098 + then : 4099 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4100 + printf "%s\n" "none needed" >&6; } 4101 + else $as_nop 4102 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4103 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4104 + CC="$CC $ac_cv_prog_cc_c89" 4105 + fi 4106 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4107 + ac_prog_cc_stdc=c89 3586 4108 fi 3587 - # AC_CACHE_VAL 3588 - case "x$ac_cv_prog_cc_c89" in 3589 - x) 3590 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3591 - $as_echo "none needed" >&6; } ;; 3592 - xno) 3593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3594 - $as_echo "unsupported" >&6; } ;; 3595 - *) 3596 - CC="$CC $ac_cv_prog_cc_c89" 3597 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3598 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3599 - esac 3600 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3601 - 3602 4109 fi 3603 4110 3604 4111 ac_ext=c ··· 3609 4116 3610 4117 depcc="$CC" am_compiler_list= 3611 4118 3612 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3613 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3614 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3615 - $as_echo_n "(cached) " >&6 3616 - else 4119 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4120 + printf %s "checking dependency style of $depcc... " >&6; } 4121 + if test ${am_cv_CC_dependencies_compiler_type+y} 4122 + then : 4123 + printf %s "(cached) " >&6 4124 + else $as_nop 3617 4125 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3618 4126 # We make a subdir and do the tests there. Otherwise we can end up 3619 4127 # making bogus files that we don't know about and never remove. For ··· 3720 4228 fi 3721 4229 3722 4230 fi 3723 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3724 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4231 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4232 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3725 4233 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3726 4234 3727 4235 if ··· 3735 4243 fi 3736 4244 3737 4245 3738 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3739 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3740 - if ${ac_cv_prog_cc_c99+:} false; then : 3741 - $as_echo_n "(cached) " >&6 3742 - else 3743 - ac_cv_prog_cc_c99=no 3744 - ac_save_CC=$CC 3745 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4246 + 4247 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 4248 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 4249 + if test ${ac_cv_c_undeclared_builtin_options+y} 4250 + then : 4251 + printf %s "(cached) " >&6 4252 + else $as_nop 4253 + ac_save_CFLAGS=$CFLAGS 4254 + ac_cv_c_undeclared_builtin_options='cannot detect' 4255 + for ac_arg in '' -fno-builtin; do 4256 + CFLAGS="$ac_save_CFLAGS $ac_arg" 4257 + # This test program should *not* compile successfully. 4258 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3746 4259 /* end confdefs.h. */ 3747 - #include <stdarg.h> 3748 - #include <stdbool.h> 3749 - #include <stdlib.h> 3750 - #include <wchar.h> 3751 - #include <stdio.h> 3752 4260 3753 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 3754 - #define debug(...) fprintf (stderr, __VA_ARGS__) 3755 - #define showlist(...) puts (#__VA_ARGS__) 3756 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3757 - static void 3758 - test_varargs_macros (void) 4261 + int 4262 + main (void) 3759 4263 { 3760 - int x = 1234; 3761 - int y = 5678; 3762 - debug ("Flag"); 3763 - debug ("X = %d\n", x); 3764 - showlist (The first, second, and third items.); 3765 - report (x>y, "x is %d but y is %d", x, y); 3766 - } 3767 - 3768 - // Check long long types. 3769 - #define BIG64 18446744073709551615ull 3770 - #define BIG32 4294967295ul 3771 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3772 - #if !BIG_OK 3773 - your preprocessor is broken; 3774 - #endif 3775 - #if BIG_OK 3776 - #else 3777 - your preprocessor is broken; 3778 - #endif 3779 - static long long int bignum = -9223372036854775807LL; 3780 - static unsigned long long int ubignum = BIG64; 3781 - 3782 - struct incomplete_array 3783 - { 3784 - int datasize; 3785 - double data[]; 3786 - }; 3787 - 3788 - struct named_init { 3789 - int number; 3790 - const wchar_t *name; 3791 - double average; 3792 - }; 3793 - 3794 - typedef const char *ccp; 3795 - 3796 - static inline int 3797 - test_restrict (ccp restrict text) 3798 - { 3799 - // See if C++-style comments work. 3800 - // Iterate through items via the restricted pointer. 3801 - // Also check for declarations in for loops. 3802 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3803 - continue; 4264 + (void) strchr; 4265 + ; 3804 4266 return 0; 3805 4267 } 4268 + _ACEOF 4269 + if ac_fn_c_try_compile "$LINENO" 4270 + then : 3806 4271 3807 - // Check varargs and va_copy. 3808 - static void 3809 - test_varargs (const char *format, ...) 3810 - { 3811 - va_list args; 3812 - va_start (args, format); 3813 - va_list args_copy; 3814 - va_copy (args_copy, args); 3815 - 3816 - const char *str; 3817 - int number; 3818 - float fnumber; 3819 - 3820 - while (*format) 3821 - { 3822 - switch (*format++) 3823 - { 3824 - case 's': // string 3825 - str = va_arg (args_copy, const char *); 3826 - break; 3827 - case 'd': // int 3828 - number = va_arg (args_copy, int); 3829 - break; 3830 - case 'f': // float 3831 - fnumber = va_arg (args_copy, double); 3832 - break; 3833 - default: 3834 - break; 3835 - } 3836 - } 3837 - va_end (args_copy); 3838 - va_end (args); 3839 - } 4272 + else $as_nop 4273 + # This test program should compile successfully. 4274 + # No library function is consistently available on 4275 + # freestanding implementations, so test against a dummy 4276 + # declaration. Include always-available headers on the 4277 + # off chance that they somehow elicit warnings. 4278 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4279 + /* end confdefs.h. */ 4280 + #include <float.h> 4281 + #include <limits.h> 4282 + #include <stdarg.h> 4283 + #include <stddef.h> 4284 + extern void ac_decl (int, char *); 3840 4285 3841 4286 int 3842 - main () 4287 + main (void) 3843 4288 { 3844 - 3845 - // Check bool. 3846 - _Bool success = false; 3847 - 3848 - // Check restrict. 3849 - if (test_restrict ("String literal") == 0) 3850 - success = true; 3851 - char *restrict newvar = "Another string"; 3852 - 3853 - // Check varargs. 3854 - test_varargs ("s, d' f .", "string", 65, 34.234); 3855 - test_varargs_macros (); 3856 - 3857 - // Check flexible array members. 3858 - struct incomplete_array *ia = 3859 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3860 - ia->datasize = 10; 3861 - for (int i = 0; i < ia->datasize; ++i) 3862 - ia->data[i] = i * 1.234; 3863 - 3864 - // Check named initializers. 3865 - struct named_init ni = { 3866 - .number = 34, 3867 - .name = L"Test wide string", 3868 - .average = 543.34343, 3869 - }; 3870 - 3871 - ni.number = 58; 3872 - 3873 - int dynamic_array[ni.number]; 3874 - dynamic_array[ni.number - 1] = 543; 3875 - 3876 - // work around unused variable warnings 3877 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3878 - || dynamic_array[ni.number - 1] != 543); 4289 + (void) ac_decl (0, (char *) 0); 4290 + (void) ac_decl; 3879 4291 3880 4292 ; 3881 4293 return 0; 3882 4294 } 3883 4295 _ACEOF 3884 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3885 - do 3886 - CC="$ac_save_CC $ac_arg" 3887 - if ac_fn_c_try_compile "$LINENO"; then : 3888 - ac_cv_prog_cc_c99=$ac_arg 3889 - fi 3890 - rm -f core conftest.err conftest.$ac_objext 3891 - test "x$ac_cv_prog_cc_c99" != "xno" && break 3892 - done 3893 - rm -f conftest.$ac_ext 3894 - CC=$ac_save_CC 3895 - 3896 - fi 3897 - # AC_CACHE_VAL 3898 - case "x$ac_cv_prog_cc_c99" in 3899 - x) 3900 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3901 - $as_echo "none needed" >&6; } ;; 3902 - xno) 3903 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3904 - $as_echo "unsupported" >&6; } ;; 3905 - *) 3906 - CC="$CC $ac_cv_prog_cc_c99" 3907 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3908 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3909 - esac 3910 - if test "x$ac_cv_prog_cc_c99" != xno; then : 3911 - 3912 - fi 3913 - 3914 - 3915 - 3916 - ac_ext=c 3917 - ac_cpp='$CPP $CPPFLAGS' 3918 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3919 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3920 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 3921 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3922 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 3923 - # On Suns, sometimes $CPP names a directory. 3924 - if test -n "$CPP" && test -d "$CPP"; then 3925 - CPP= 4296 + if ac_fn_c_try_compile "$LINENO" 4297 + then : 4298 + if test x"$ac_arg" = x 4299 + then : 4300 + ac_cv_c_undeclared_builtin_options='none needed' 4301 + else $as_nop 4302 + ac_cv_c_undeclared_builtin_options=$ac_arg 3926 4303 fi 3927 - if test -z "$CPP"; then 3928 - if ${ac_cv_prog_CPP+:} false; then : 3929 - $as_echo_n "(cached) " >&6 3930 - else 3931 - # Double quotes because CPP needs to be expanded 3932 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3933 - do 3934 - ac_preproc_ok=false 3935 - for ac_c_preproc_warn_flag in '' yes 3936 - do 3937 - # Use a header file that comes with gcc, so configuring glibc 3938 - # with a fresh cross-compiler works. 3939 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3940 - # <limits.h> exists even on freestanding compilers. 3941 - # On the NeXT, cc -E runs the code through the compiler's parser, 3942 - # not just through cpp. "Syntax error" is here to catch this case. 3943 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3944 - /* end confdefs.h. */ 3945 - #ifdef __STDC__ 3946 - # include <limits.h> 3947 - #else 3948 - # include <assert.h> 3949 - #endif 3950 - Syntax error 3951 - _ACEOF 3952 - if ac_fn_c_try_cpp "$LINENO"; then : 3953 - 3954 - else 3955 - # Broken: fails on valid input. 3956 - continue 4304 + break 3957 4305 fi 3958 - rm -f conftest.err conftest.i conftest.$ac_ext 3959 - 3960 - # OK, works on sane cases. Now check whether nonexistent headers 3961 - # can be detected and how. 3962 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3963 - /* end confdefs.h. */ 3964 - #include <ac_nonexistent.h> 3965 - _ACEOF 3966 - if ac_fn_c_try_cpp "$LINENO"; then : 3967 - # Broken: success on invalid input. 3968 - continue 3969 - else 3970 - # Passes both tests. 3971 - ac_preproc_ok=: 3972 - break 4306 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3973 4307 fi 3974 - rm -f conftest.err conftest.i conftest.$ac_ext 3975 - 3976 - done 3977 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3978 - rm -f conftest.i conftest.err conftest.$ac_ext 3979 - if $ac_preproc_ok; then : 3980 - break 3981 - fi 3982 - 4308 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3983 4309 done 3984 - ac_cv_prog_CPP=$CPP 4310 + CFLAGS=$ac_save_CFLAGS 3985 4311 3986 4312 fi 3987 - CPP=$ac_cv_prog_CPP 3988 - else 3989 - ac_cv_prog_CPP=$CPP 3990 - fi 3991 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3992 - $as_echo "$CPP" >&6; } 3993 - ac_preproc_ok=false 3994 - for ac_c_preproc_warn_flag in '' yes 3995 - do 3996 - # Use a header file that comes with gcc, so configuring glibc 3997 - # with a fresh cross-compiler works. 3998 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3999 - # <limits.h> exists even on freestanding compilers. 4000 - # On the NeXT, cc -E runs the code through the compiler's parser, 4001 - # not just through cpp. "Syntax error" is here to catch this case. 4002 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4003 - /* end confdefs.h. */ 4004 - #ifdef __STDC__ 4005 - # include <limits.h> 4006 - #else 4007 - # include <assert.h> 4008 - #endif 4009 - Syntax error 4010 - _ACEOF 4011 - if ac_fn_c_try_cpp "$LINENO"; then : 4012 - 4013 - else 4014 - # Broken: fails on valid input. 4015 - continue 4016 - fi 4017 - rm -f conftest.err conftest.i conftest.$ac_ext 4018 - 4019 - # OK, works on sane cases. Now check whether nonexistent headers 4020 - # can be detected and how. 4021 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4022 - /* end confdefs.h. */ 4023 - #include <ac_nonexistent.h> 4024 - _ACEOF 4025 - if ac_fn_c_try_cpp "$LINENO"; then : 4026 - # Broken: success on invalid input. 4027 - continue 4028 - else 4029 - # Passes both tests. 4030 - ac_preproc_ok=: 4031 - break 4032 - fi 4033 - rm -f conftest.err conftest.i conftest.$ac_ext 4034 - 4035 - done 4036 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4037 - rm -f conftest.i conftest.err conftest.$ac_ext 4038 - if $ac_preproc_ok; then : 4039 - 4040 - else 4041 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4042 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4043 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4044 - See \`config.log' for more details" "$LINENO" 5; } 4045 - fi 4046 - 4047 - ac_ext=c 4048 - ac_cpp='$CPP $CPPFLAGS' 4049 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4050 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4051 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 4052 - 4053 - 4054 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4055 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4056 - if ${ac_cv_path_GREP+:} false; then : 4057 - $as_echo_n "(cached) " >&6 4058 - else 4059 - if test -z "$GREP"; then 4060 - ac_path_GREP_found=false 4061 - # Loop through the user's path and test for each of PROGNAME-LIST 4062 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4063 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4064 - do 4065 - IFS=$as_save_IFS 4066 - test -z "$as_dir" && as_dir=. 4067 - for ac_prog in grep ggrep; do 4068 - for ac_exec_ext in '' $ac_executable_extensions; do 4069 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4070 - as_fn_executable_p "$ac_path_GREP" || continue 4071 - # Check for GNU ac_path_GREP and select it if it is found. 4072 - # Check for GNU $ac_path_GREP 4073 - case `"$ac_path_GREP" --version 2>&1` in 4074 - *GNU*) 4075 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4076 - *) 4077 - ac_count=0 4078 - $as_echo_n 0123456789 >"conftest.in" 4079 - while : 4080 - do 4081 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4082 - mv "conftest.tmp" "conftest.in" 4083 - cp "conftest.in" "conftest.nl" 4084 - $as_echo 'GREP' >> "conftest.nl" 4085 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4086 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4087 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4088 - if test $ac_count -gt ${ac_path_GREP_max-0}; then 4089 - # Best one so far, save it but keep looking for a better one 4090 - ac_cv_path_GREP="$ac_path_GREP" 4091 - ac_path_GREP_max=$ac_count 4092 - fi 4093 - # 10*(2^10) chars as input seems more than enough 4094 - test $ac_count -gt 10 && break 4095 - done 4096 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 4314 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 4315 + case $ac_cv_c_undeclared_builtin_options in #( 4316 + 'cannot detect') : 4317 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4318 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4319 + as_fn_error $? "cannot make $CC report undeclared builtins 4320 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 4321 + 'none needed') : 4322 + ac_c_undeclared_builtin_options='' ;; #( 4323 + *) : 4324 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 4097 4325 esac 4098 4326 4099 - $ac_path_GREP_found && break 3 4100 - done 4101 - done 4102 - done 4103 - IFS=$as_save_IFS 4104 - if test -z "$ac_cv_path_GREP"; then 4105 - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4106 - fi 4107 - else 4108 - ac_cv_path_GREP=$GREP 4109 - fi 4110 - 4111 - fi 4112 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4113 - $as_echo "$ac_cv_path_GREP" >&6; } 4114 - GREP="$ac_cv_path_GREP" 4115 - 4116 - 4117 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4118 - $as_echo_n "checking for egrep... " >&6; } 4119 - if ${ac_cv_path_EGREP+:} false; then : 4120 - $as_echo_n "(cached) " >&6 4121 - else 4122 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4123 - then ac_cv_path_EGREP="$GREP -E" 4124 - else 4125 - if test -z "$EGREP"; then 4126 - ac_path_EGREP_found=false 4127 - # Loop through the user's path and test for each of PROGNAME-LIST 4128 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4129 - for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4327 + ac_header= ac_cache= 4328 + for ac_item in $ac_header_c_list 4130 4329 do 4131 - IFS=$as_save_IFS 4132 - test -z "$as_dir" && as_dir=. 4133 - for ac_prog in egrep; do 4134 - for ac_exec_ext in '' $ac_executable_extensions; do 4135 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4136 - as_fn_executable_p "$ac_path_EGREP" || continue 4137 - # Check for GNU ac_path_EGREP and select it if it is found. 4138 - # Check for GNU $ac_path_EGREP 4139 - case `"$ac_path_EGREP" --version 2>&1` in 4140 - *GNU*) 4141 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4142 - *) 4143 - ac_count=0 4144 - $as_echo_n 0123456789 >"conftest.in" 4145 - while : 4146 - do 4147 - cat "conftest.in" "conftest.in" >"conftest.tmp" 4148 - mv "conftest.tmp" "conftest.in" 4149 - cp "conftest.in" "conftest.nl" 4150 - $as_echo 'EGREP' >> "conftest.nl" 4151 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4152 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4153 - as_fn_arith $ac_count + 1 && ac_count=$as_val 4154 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4155 - # Best one so far, save it but keep looking for a better one 4156 - ac_cv_path_EGREP="$ac_path_EGREP" 4157 - ac_path_EGREP_max=$ac_count 4330 + if test $ac_cache; then 4331 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 4332 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 4333 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 4158 4334 fi 4159 - # 10*(2^10) chars as input seems more than enough 4160 - test $ac_count -gt 10 && break 4161 - done 4162 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4163 - esac 4164 - 4165 - $ac_path_EGREP_found && break 3 4166 - done 4167 - done 4168 - done 4169 - IFS=$as_save_IFS 4170 - if test -z "$ac_cv_path_EGREP"; then 4171 - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4335 + ac_header= ac_cache= 4336 + elif test $ac_header; then 4337 + ac_cache=$ac_item 4338 + else 4339 + ac_header=$ac_item 4172 4340 fi 4173 - else 4174 - ac_cv_path_EGREP=$EGREP 4175 - fi 4341 + done 4176 4342 4177 - fi 4178 - fi 4179 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4180 - $as_echo "$ac_cv_path_EGREP" >&6; } 4181 - EGREP="$ac_cv_path_EGREP" 4182 4343 4183 4344 4184 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4185 - $as_echo_n "checking for ANSI C header files... " >&6; } 4186 - if ${ac_cv_header_stdc+:} false; then : 4187 - $as_echo_n "(cached) " >&6 4188 - else 4189 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4190 - /* end confdefs.h. */ 4191 - #include <stdlib.h> 4192 - #include <stdarg.h> 4193 - #include <string.h> 4194 - #include <float.h> 4195 4345 4196 - int 4197 - main () 4198 - { 4199 4346 4200 - ; 4201 - return 0; 4202 - } 4203 - _ACEOF 4204 - if ac_fn_c_try_compile "$LINENO"; then : 4205 - ac_cv_header_stdc=yes 4206 - else 4207 - ac_cv_header_stdc=no 4208 - fi 4209 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4210 4347 4211 - if test $ac_cv_header_stdc = yes; then 4212 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4213 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4214 - /* end confdefs.h. */ 4215 - #include <string.h> 4216 4348 4217 - _ACEOF 4218 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4219 - $EGREP "memchr" >/dev/null 2>&1; then : 4220 - 4221 - else 4222 - ac_cv_header_stdc=no 4223 - fi 4224 - rm -f conftest* 4225 - 4226 - fi 4227 - 4228 - if test $ac_cv_header_stdc = yes; then 4229 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4230 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231 - /* end confdefs.h. */ 4232 - #include <stdlib.h> 4233 - 4234 - _ACEOF 4235 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4236 - $EGREP "free" >/dev/null 2>&1; then : 4237 - 4238 - else 4239 - ac_cv_header_stdc=no 4240 - fi 4241 - rm -f conftest* 4242 - 4243 - fi 4244 - 4245 - if test $ac_cv_header_stdc = yes; then 4246 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4247 - if test "$cross_compiling" = yes; then : 4248 - : 4249 - else 4250 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4251 - /* end confdefs.h. */ 4252 - #include <ctype.h> 4253 - #include <stdlib.h> 4254 - #if ((' ' & 0x0FF) == 0x020) 4255 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4256 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4257 - #else 4258 - # define ISLOWER(c) \ 4259 - (('a' <= (c) && (c) <= 'i') \ 4260 - || ('j' <= (c) && (c) <= 'r') \ 4261 - || ('s' <= (c) && (c) <= 'z')) 4262 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4263 - #endif 4264 - 4265 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4266 - int 4267 - main () 4268 - { 4269 - int i; 4270 - for (i = 0; i < 256; i++) 4271 - if (XOR (islower (i), ISLOWER (i)) 4272 - || toupper (i) != TOUPPER (i)) 4273 - return 2; 4274 - return 0; 4275 - } 4276 - _ACEOF 4277 - if ac_fn_c_try_run "$LINENO"; then : 4278 - 4279 - else 4280 - ac_cv_header_stdc=no 4281 - fi 4282 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4283 - conftest.$ac_objext conftest.beam conftest.$ac_ext 4284 - fi 4285 4349 4286 - fi 4287 - fi 4288 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4289 - $as_echo "$ac_cv_header_stdc" >&6; } 4290 - if test $ac_cv_header_stdc = yes; then 4350 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 4351 + then : 4291 4352 4292 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4353 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 4293 4354 4294 4355 fi 4295 4356 4296 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4297 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4298 - inttypes.h stdint.h unistd.h 4299 - do : 4300 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4301 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4302 - " 4303 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4304 - cat >>confdefs.h <<_ACEOF 4305 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4306 - _ACEOF 4307 - 4308 - fi 4309 - 4310 - done 4311 4357 4312 4358 4313 4359 4314 - 4315 - 4316 - 4317 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 4318 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 4360 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4361 + if test "x$ac_cv_have_decl___clang__" = xyes 4362 + then : 4319 4363 CLANGCC="yes" 4320 - else 4364 + else $as_nop 4321 4365 CLANGCC="no" 4322 4366 fi 4323 - 4324 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4325 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4367 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4368 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 4369 + then : 4326 4370 INTELCC="yes" 4327 - else 4371 + else $as_nop 4328 4372 INTELCC="no" 4329 4373 fi 4330 - 4331 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4332 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4374 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 4375 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 4376 + then : 4333 4377 SUNCC="yes" 4334 - else 4378 + else $as_nop 4335 4379 SUNCC="no" 4336 4380 fi 4337 - 4338 4381 4339 4382 4340 4383 ··· 4347 4390 if test -n "$ac_tool_prefix"; then 4348 4391 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4349 4392 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4350 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4351 - $as_echo_n "checking for $ac_word... " >&6; } 4352 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 4353 - $as_echo_n "(cached) " >&6 4354 - else 4393 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4394 + printf %s "checking for $ac_word... " >&6; } 4395 + if test ${ac_cv_path_PKG_CONFIG+y} 4396 + then : 4397 + printf %s "(cached) " >&6 4398 + else $as_nop 4355 4399 case $PKG_CONFIG in 4356 4400 [\\/]* | ?:[\\/]*) 4357 4401 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 4361 4405 for as_dir in $PATH 4362 4406 do 4363 4407 IFS=$as_save_IFS 4364 - test -z "$as_dir" && as_dir=. 4408 + case $as_dir in #((( 4409 + '') as_dir=./ ;; 4410 + */) ;; 4411 + *) as_dir=$as_dir/ ;; 4412 + esac 4365 4413 for ac_exec_ext in '' $ac_executable_extensions; do 4366 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4367 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4368 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4414 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4415 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4416 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4369 4417 break 2 4370 4418 fi 4371 4419 done ··· 4377 4425 fi 4378 4426 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4379 4427 if test -n "$PKG_CONFIG"; then 4380 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4381 - $as_echo "$PKG_CONFIG" >&6; } 4428 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4429 + printf "%s\n" "$PKG_CONFIG" >&6; } 4382 4430 else 4383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4384 - $as_echo "no" >&6; } 4431 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4432 + printf "%s\n" "no" >&6; } 4385 4433 fi 4386 4434 4387 4435 ··· 4390 4438 ac_pt_PKG_CONFIG=$PKG_CONFIG 4391 4439 # Extract the first word of "pkg-config", so it can be a program name with args. 4392 4440 set dummy pkg-config; ac_word=$2 4393 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4394 - $as_echo_n "checking for $ac_word... " >&6; } 4395 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4396 - $as_echo_n "(cached) " >&6 4397 - else 4441 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4442 + printf %s "checking for $ac_word... " >&6; } 4443 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 4444 + then : 4445 + printf %s "(cached) " >&6 4446 + else $as_nop 4398 4447 case $ac_pt_PKG_CONFIG in 4399 4448 [\\/]* | ?:[\\/]*) 4400 4449 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 4404 4453 for as_dir in $PATH 4405 4454 do 4406 4455 IFS=$as_save_IFS 4407 - test -z "$as_dir" && as_dir=. 4456 + case $as_dir in #((( 4457 + '') as_dir=./ ;; 4458 + */) ;; 4459 + *) as_dir=$as_dir/ ;; 4460 + esac 4408 4461 for ac_exec_ext in '' $ac_executable_extensions; do 4409 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4410 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4411 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4462 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4463 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 4464 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4412 4465 break 2 4413 4466 fi 4414 4467 done ··· 4420 4473 fi 4421 4474 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4422 4475 if test -n "$ac_pt_PKG_CONFIG"; then 4423 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4424 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4476 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4477 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 4425 4478 else 4426 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4427 - $as_echo "no" >&6; } 4479 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4480 + printf "%s\n" "no" >&6; } 4428 4481 fi 4429 4482 4430 4483 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 4432 4485 else 4433 4486 case $cross_compiling:$ac_tool_warned in 4434 4487 yes:) 4435 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4436 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4489 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4437 4490 ac_tool_warned=yes ;; 4438 4491 esac 4439 4492 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 4445 4498 fi 4446 4499 if test -n "$PKG_CONFIG"; then 4447 4500 _pkg_min_version=0.9.0 4448 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4449 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4502 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4450 4503 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4451 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4452 - $as_echo "yes" >&6; } 4504 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4505 + printf "%s\n" "yes" >&6; } 4453 4506 else 4454 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4455 - $as_echo "no" >&6; } 4507 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4508 + printf "%s\n" "no" >&6; } 4456 4509 PKG_CONFIG="" 4457 4510 fi 4458 4511 fi 4459 - # Make sure we can run config.sub. 4460 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4461 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4512 + 4513 + 4514 + # Make sure we can run config.sub. 4515 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 4516 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 4462 4517 4463 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4464 - $as_echo_n "checking build system type... " >&6; } 4465 - if ${ac_cv_build+:} false; then : 4466 - $as_echo_n "(cached) " >&6 4467 - else 4518 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4519 + printf %s "checking build system type... " >&6; } 4520 + if test ${ac_cv_build+y} 4521 + then : 4522 + printf %s "(cached) " >&6 4523 + else $as_nop 4468 4524 ac_build_alias=$build_alias 4469 4525 test "x$ac_build_alias" = x && 4470 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4526 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 4471 4527 test "x$ac_build_alias" = x && 4472 4528 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4473 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4474 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4529 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 4530 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 4475 4531 4476 4532 fi 4477 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4478 - $as_echo "$ac_cv_build" >&6; } 4533 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4534 + printf "%s\n" "$ac_cv_build" >&6; } 4479 4535 case $ac_cv_build in 4480 4536 *-*-*) ;; 4481 4537 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 4494 4550 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4495 4551 4496 4552 4497 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4498 - $as_echo_n "checking host system type... " >&6; } 4499 - if ${ac_cv_host+:} false; then : 4500 - $as_echo_n "(cached) " >&6 4501 - else 4553 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4554 + printf %s "checking host system type... " >&6; } 4555 + if test ${ac_cv_host+y} 4556 + then : 4557 + printf %s "(cached) " >&6 4558 + else $as_nop 4502 4559 if test "x$host_alias" = x; then 4503 4560 ac_cv_host=$ac_cv_build 4504 4561 else 4505 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4506 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4562 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 4563 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 4507 4564 fi 4508 4565 4509 4566 fi 4510 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4511 - $as_echo "$ac_cv_host" >&6; } 4567 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4568 + printf "%s\n" "$ac_cv_host" >&6; } 4512 4569 case $ac_cv_host in 4513 4570 *-*-*) ;; 4514 4571 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 4527 4584 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4528 4585 4529 4586 4530 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4531 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4532 - if ${ac_cv_path_SED+:} false; then : 4533 - $as_echo_n "(cached) " >&6 4534 - else 4587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4588 + printf %s "checking for a sed that does not truncate output... " >&6; } 4589 + if test ${ac_cv_path_SED+y} 4590 + then : 4591 + printf %s "(cached) " >&6 4592 + else $as_nop 4535 4593 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4536 4594 for ac_i in 1 2 3 4 5 6 7; do 4537 4595 ac_script="$ac_script$as_nl$ac_script" ··· 4545 4603 for as_dir in $PATH 4546 4604 do 4547 4605 IFS=$as_save_IFS 4548 - test -z "$as_dir" && as_dir=. 4549 - for ac_prog in sed gsed; do 4606 + case $as_dir in #((( 4607 + '') as_dir=./ ;; 4608 + */) ;; 4609 + *) as_dir=$as_dir/ ;; 4610 + esac 4611 + for ac_prog in sed gsed 4612 + do 4550 4613 for ac_exec_ext in '' $ac_executable_extensions; do 4551 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4614 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 4552 4615 as_fn_executable_p "$ac_path_SED" || continue 4553 4616 # Check for GNU ac_path_SED and select it if it is found. 4554 4617 # Check for GNU $ac_path_SED ··· 4557 4620 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4558 4621 *) 4559 4622 ac_count=0 4560 - $as_echo_n 0123456789 >"conftest.in" 4623 + printf %s 0123456789 >"conftest.in" 4561 4624 while : 4562 4625 do 4563 4626 cat "conftest.in" "conftest.in" >"conftest.tmp" 4564 4627 mv "conftest.tmp" "conftest.in" 4565 4628 cp "conftest.in" "conftest.nl" 4566 - $as_echo '' >> "conftest.nl" 4629 + printf "%s\n" '' >> "conftest.nl" 4567 4630 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4568 4631 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4569 4632 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4591 4654 fi 4592 4655 4593 4656 fi 4594 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4595 - $as_echo "$ac_cv_path_SED" >&6; } 4657 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4658 + printf "%s\n" "$ac_cv_path_SED" >&6; } 4596 4659 SED="$ac_cv_path_SED" 4597 4660 rm -f conftest.sed 4598 4661 ··· 4602 4665 4603 4666 4604 4667 # Check whether --enable-selective-werror was given. 4605 - if test "${enable_selective_werror+set}" = set; then : 4668 + if test ${enable_selective_werror+y} 4669 + then : 4606 4670 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 4607 - else 4671 + else $as_nop 4608 4672 SELECTIVE_WERROR=yes 4609 4673 fi 4610 4674 ··· 4637 4701 4638 4702 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4639 4703 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4640 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4641 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4642 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4643 - $as_echo_n "(cached) " >&6 4644 - else 4704 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4705 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4706 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4707 + then : 4708 + printf %s "(cached) " >&6 4709 + else $as_nop 4645 4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4646 4711 /* end confdefs.h. */ 4647 4712 int i; 4648 4713 _ACEOF 4649 - if ac_fn_c_try_compile "$LINENO"; then : 4714 + if ac_fn_c_try_compile "$LINENO" 4715 + then : 4650 4716 xorg_cv_cc_flag_unknown_warning_option=yes 4651 - else 4717 + else $as_nop 4652 4718 xorg_cv_cc_flag_unknown_warning_option=no 4653 4719 fi 4654 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4720 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4655 4721 fi 4656 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4657 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4723 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4658 4724 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4659 4725 CFLAGS="$xorg_testset_save_CFLAGS" 4660 4726 fi ··· 4664 4730 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4665 4731 fi 4666 4732 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4667 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4668 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4669 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4670 - $as_echo_n "(cached) " >&6 4671 - else 4733 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4734 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4735 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4736 + then : 4737 + printf %s "(cached) " >&6 4738 + else $as_nop 4672 4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4673 4740 /* end confdefs.h. */ 4674 4741 int i; 4675 4742 _ACEOF 4676 - if ac_fn_c_try_compile "$LINENO"; then : 4743 + if ac_fn_c_try_compile "$LINENO" 4744 + then : 4677 4745 xorg_cv_cc_flag_unused_command_line_argument=yes 4678 - else 4746 + else $as_nop 4679 4747 xorg_cv_cc_flag_unused_command_line_argument=no 4680 4748 fi 4681 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4749 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4682 4750 fi 4683 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4684 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4752 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4685 4753 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4686 4754 CFLAGS="$xorg_testset_save_CFLAGS" 4687 4755 fi ··· 4699 4767 4700 4768 CFLAGS="$CFLAGS -Wall" 4701 4769 4702 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4703 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 4770 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 4771 + printf %s "checking if $CC supports -Wall... " >&6; } 4704 4772 cacheid=xorg_cv_cc_flag__Wall 4705 - if eval \${$cacheid+:} false; then : 4706 - $as_echo_n "(cached) " >&6 4707 - else 4773 + if eval test \${$cacheid+y} 4774 + then : 4775 + printf %s "(cached) " >&6 4776 + else $as_nop 4708 4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4709 4778 /* end confdefs.h. */ 4710 4779 int i; 4711 4780 int 4712 - main () 4781 + main (void) 4713 4782 { 4714 4783 4715 4784 ; 4716 4785 return 0; 4717 4786 } 4718 4787 _ACEOF 4719 - if ac_fn_c_try_link "$LINENO"; then : 4788 + if ac_fn_c_try_link "$LINENO" 4789 + then : 4720 4790 eval $cacheid=yes 4721 - else 4791 + else $as_nop 4722 4792 eval $cacheid=no 4723 4793 fi 4724 - rm -f core conftest.err conftest.$ac_objext \ 4794 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4725 4795 conftest$ac_exeext conftest.$ac_ext 4726 4796 fi 4727 4797 ··· 4729 4799 CFLAGS="$xorg_testset_save_CFLAGS" 4730 4800 4731 4801 eval supported=\$$cacheid 4732 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4733 - $as_echo "$supported" >&6; } 4802 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4803 + printf "%s\n" "$supported" >&6; } 4734 4804 if test "$supported" = "yes" ; then 4735 4805 BASE_CFLAGS="$BASE_CFLAGS -Wall" 4736 4806 found="yes" ··· 4755 4825 4756 4826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4757 4827 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4758 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4759 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4760 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4761 - $as_echo_n "(cached) " >&6 4762 - else 4828 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4829 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4830 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4831 + then : 4832 + printf %s "(cached) " >&6 4833 + else $as_nop 4763 4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4764 4835 /* end confdefs.h. */ 4765 4836 int i; 4766 4837 _ACEOF 4767 - if ac_fn_c_try_compile "$LINENO"; then : 4838 + if ac_fn_c_try_compile "$LINENO" 4839 + then : 4768 4840 xorg_cv_cc_flag_unknown_warning_option=yes 4769 - else 4841 + else $as_nop 4770 4842 xorg_cv_cc_flag_unknown_warning_option=no 4771 4843 fi 4772 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4844 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4773 4845 fi 4774 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4775 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4846 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4847 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4776 4848 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4777 4849 CFLAGS="$xorg_testset_save_CFLAGS" 4778 4850 fi ··· 4782 4854 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4783 4855 fi 4784 4856 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4785 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4786 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4787 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4788 - $as_echo_n "(cached) " >&6 4789 - else 4857 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4858 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4859 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4860 + then : 4861 + printf %s "(cached) " >&6 4862 + else $as_nop 4790 4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4791 4864 /* end confdefs.h. */ 4792 4865 int i; 4793 4866 _ACEOF 4794 - if ac_fn_c_try_compile "$LINENO"; then : 4867 + if ac_fn_c_try_compile "$LINENO" 4868 + then : 4795 4869 xorg_cv_cc_flag_unused_command_line_argument=yes 4796 - else 4870 + else $as_nop 4797 4871 xorg_cv_cc_flag_unused_command_line_argument=no 4798 4872 fi 4799 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4873 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4800 4874 fi 4801 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4802 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4875 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4876 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4803 4877 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4804 4878 CFLAGS="$xorg_testset_save_CFLAGS" 4805 4879 fi ··· 4817 4891 4818 4892 CFLAGS="$CFLAGS -Wpointer-arith" 4819 4893 4820 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4821 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 4894 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 4895 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 4822 4896 cacheid=xorg_cv_cc_flag__Wpointer_arith 4823 - if eval \${$cacheid+:} false; then : 4824 - $as_echo_n "(cached) " >&6 4825 - else 4897 + if eval test \${$cacheid+y} 4898 + then : 4899 + printf %s "(cached) " >&6 4900 + else $as_nop 4826 4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4827 4902 /* end confdefs.h. */ 4828 4903 int i; 4829 4904 int 4830 - main () 4905 + main (void) 4831 4906 { 4832 4907 4833 4908 ; 4834 4909 return 0; 4835 4910 } 4836 4911 _ACEOF 4837 - if ac_fn_c_try_link "$LINENO"; then : 4912 + if ac_fn_c_try_link "$LINENO" 4913 + then : 4838 4914 eval $cacheid=yes 4839 - else 4915 + else $as_nop 4840 4916 eval $cacheid=no 4841 4917 fi 4842 - rm -f core conftest.err conftest.$ac_objext \ 4918 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4843 4919 conftest$ac_exeext conftest.$ac_ext 4844 4920 fi 4845 4921 ··· 4847 4923 CFLAGS="$xorg_testset_save_CFLAGS" 4848 4924 4849 4925 eval supported=\$$cacheid 4850 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4851 - $as_echo "$supported" >&6; } 4926 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4927 + printf "%s\n" "$supported" >&6; } 4852 4928 if test "$supported" = "yes" ; then 4853 4929 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 4854 4930 found="yes" ··· 4873 4949 4874 4950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4875 4951 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4876 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4877 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4878 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4879 - $as_echo_n "(cached) " >&6 4880 - else 4952 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4953 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4954 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 4955 + then : 4956 + printf %s "(cached) " >&6 4957 + else $as_nop 4881 4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4882 4959 /* end confdefs.h. */ 4883 4960 int i; 4884 4961 _ACEOF 4885 - if ac_fn_c_try_compile "$LINENO"; then : 4962 + if ac_fn_c_try_compile "$LINENO" 4963 + then : 4886 4964 xorg_cv_cc_flag_unknown_warning_option=yes 4887 - else 4965 + else $as_nop 4888 4966 xorg_cv_cc_flag_unknown_warning_option=no 4889 4967 fi 4890 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4968 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4891 4969 fi 4892 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4893 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4970 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 4971 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 4894 4972 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 4895 4973 CFLAGS="$xorg_testset_save_CFLAGS" 4896 4974 fi ··· 4900 4978 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4901 4979 fi 4902 4980 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 4903 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4904 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4905 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 4906 - $as_echo_n "(cached) " >&6 4907 - else 4981 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 4982 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 4983 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 4984 + then : 4985 + printf %s "(cached) " >&6 4986 + else $as_nop 4908 4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4909 4988 /* end confdefs.h. */ 4910 4989 int i; 4911 4990 _ACEOF 4912 - if ac_fn_c_try_compile "$LINENO"; then : 4991 + if ac_fn_c_try_compile "$LINENO" 4992 + then : 4913 4993 xorg_cv_cc_flag_unused_command_line_argument=yes 4914 - else 4994 + else $as_nop 4915 4995 xorg_cv_cc_flag_unused_command_line_argument=no 4916 4996 fi 4917 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4997 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4918 4998 fi 4919 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 4920 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5000 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 4921 5001 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 4922 5002 CFLAGS="$xorg_testset_save_CFLAGS" 4923 5003 fi ··· 4935 5015 4936 5016 CFLAGS="$CFLAGS -Wmissing-declarations" 4937 5017 4938 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 4939 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 5018 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 5019 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 4940 5020 cacheid=xorg_cv_cc_flag__Wmissing_declarations 4941 - if eval \${$cacheid+:} false; then : 4942 - $as_echo_n "(cached) " >&6 4943 - else 5021 + if eval test \${$cacheid+y} 5022 + then : 5023 + printf %s "(cached) " >&6 5024 + else $as_nop 4944 5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4945 5026 /* end confdefs.h. */ 4946 5027 int i; 4947 5028 int 4948 - main () 5029 + main (void) 4949 5030 { 4950 5031 4951 5032 ; 4952 5033 return 0; 4953 5034 } 4954 5035 _ACEOF 4955 - if ac_fn_c_try_link "$LINENO"; then : 5036 + if ac_fn_c_try_link "$LINENO" 5037 + then : 4956 5038 eval $cacheid=yes 4957 - else 5039 + else $as_nop 4958 5040 eval $cacheid=no 4959 5041 fi 4960 - rm -f core conftest.err conftest.$ac_objext \ 5042 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4961 5043 conftest$ac_exeext conftest.$ac_ext 4962 5044 fi 4963 5045 ··· 4965 5047 CFLAGS="$xorg_testset_save_CFLAGS" 4966 5048 4967 5049 eval supported=\$$cacheid 4968 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 4969 - $as_echo "$supported" >&6; } 5050 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5051 + printf "%s\n" "$supported" >&6; } 4970 5052 if test "$supported" = "yes" ; then 4971 5053 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 4972 5054 found="yes" ··· 4991 5073 4992 5074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 4993 5075 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 4994 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 4995 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 4996 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 4997 - $as_echo_n "(cached) " >&6 4998 - else 5076 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5077 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5078 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5079 + then : 5080 + printf %s "(cached) " >&6 5081 + else $as_nop 4999 5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5000 5083 /* end confdefs.h. */ 5001 5084 int i; 5002 5085 _ACEOF 5003 - if ac_fn_c_try_compile "$LINENO"; then : 5086 + if ac_fn_c_try_compile "$LINENO" 5087 + then : 5004 5088 xorg_cv_cc_flag_unknown_warning_option=yes 5005 - else 5089 + else $as_nop 5006 5090 xorg_cv_cc_flag_unknown_warning_option=no 5007 5091 fi 5008 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5092 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5009 5093 fi 5010 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5011 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5095 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5012 5096 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5013 5097 CFLAGS="$xorg_testset_save_CFLAGS" 5014 5098 fi ··· 5018 5102 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5019 5103 fi 5020 5104 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5021 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5022 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5023 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5024 - $as_echo_n "(cached) " >&6 5025 - else 5105 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5106 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5107 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5108 + then : 5109 + printf %s "(cached) " >&6 5110 + else $as_nop 5026 5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5027 5112 /* end confdefs.h. */ 5028 5113 int i; 5029 5114 _ACEOF 5030 - if ac_fn_c_try_compile "$LINENO"; then : 5115 + if ac_fn_c_try_compile "$LINENO" 5116 + then : 5031 5117 xorg_cv_cc_flag_unused_command_line_argument=yes 5032 - else 5118 + else $as_nop 5033 5119 xorg_cv_cc_flag_unused_command_line_argument=no 5034 5120 fi 5035 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5121 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5036 5122 fi 5037 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5038 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5123 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5124 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5039 5125 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5040 5126 CFLAGS="$xorg_testset_save_CFLAGS" 5041 5127 fi ··· 5053 5139 5054 5140 CFLAGS="$CFLAGS -Wformat=2" 5055 5141 5056 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5057 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 5142 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 5143 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 5058 5144 cacheid=xorg_cv_cc_flag__Wformat_2 5059 - if eval \${$cacheid+:} false; then : 5060 - $as_echo_n "(cached) " >&6 5061 - else 5145 + if eval test \${$cacheid+y} 5146 + then : 5147 + printf %s "(cached) " >&6 5148 + else $as_nop 5062 5149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5063 5150 /* end confdefs.h. */ 5064 5151 int i; 5065 5152 int 5066 - main () 5153 + main (void) 5067 5154 { 5068 5155 5069 5156 ; 5070 5157 return 0; 5071 5158 } 5072 5159 _ACEOF 5073 - if ac_fn_c_try_link "$LINENO"; then : 5160 + if ac_fn_c_try_link "$LINENO" 5161 + then : 5074 5162 eval $cacheid=yes 5075 - else 5163 + else $as_nop 5076 5164 eval $cacheid=no 5077 5165 fi 5078 - rm -f core conftest.err conftest.$ac_objext \ 5166 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5079 5167 conftest$ac_exeext conftest.$ac_ext 5080 5168 fi 5081 5169 ··· 5083 5171 CFLAGS="$xorg_testset_save_CFLAGS" 5084 5172 5085 5173 eval supported=\$$cacheid 5086 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5087 - $as_echo "$supported" >&6; } 5174 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5175 + printf "%s\n" "$supported" >&6; } 5088 5176 if test "$supported" = "yes" ; then 5089 5177 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 5090 5178 found="yes" ··· 5102 5190 5103 5191 CFLAGS="$CFLAGS -Wformat" 5104 5192 5105 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5106 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 5193 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 5194 + printf %s "checking if $CC supports -Wformat... " >&6; } 5107 5195 cacheid=xorg_cv_cc_flag__Wformat 5108 - if eval \${$cacheid+:} false; then : 5109 - $as_echo_n "(cached) " >&6 5110 - else 5196 + if eval test \${$cacheid+y} 5197 + then : 5198 + printf %s "(cached) " >&6 5199 + else $as_nop 5111 5200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5112 5201 /* end confdefs.h. */ 5113 5202 int i; 5114 5203 int 5115 - main () 5204 + main (void) 5116 5205 { 5117 5206 5118 5207 ; 5119 5208 return 0; 5120 5209 } 5121 5210 _ACEOF 5122 - if ac_fn_c_try_link "$LINENO"; then : 5211 + if ac_fn_c_try_link "$LINENO" 5212 + then : 5123 5213 eval $cacheid=yes 5124 - else 5214 + else $as_nop 5125 5215 eval $cacheid=no 5126 5216 fi 5127 - rm -f core conftest.err conftest.$ac_objext \ 5217 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5128 5218 conftest$ac_exeext conftest.$ac_ext 5129 5219 fi 5130 5220 ··· 5132 5222 CFLAGS="$xorg_testset_save_CFLAGS" 5133 5223 5134 5224 eval supported=\$$cacheid 5135 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5136 - $as_echo "$supported" >&6; } 5225 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5226 + printf "%s\n" "$supported" >&6; } 5137 5227 if test "$supported" = "yes" ; then 5138 5228 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 5139 5229 found="yes" ··· 5160 5250 5161 5251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5162 5252 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5163 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5164 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5165 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5166 - $as_echo_n "(cached) " >&6 5167 - else 5253 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5254 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5255 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5256 + then : 5257 + printf %s "(cached) " >&6 5258 + else $as_nop 5168 5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5169 5260 /* end confdefs.h. */ 5170 5261 int i; 5171 5262 _ACEOF 5172 - if ac_fn_c_try_compile "$LINENO"; then : 5263 + if ac_fn_c_try_compile "$LINENO" 5264 + then : 5173 5265 xorg_cv_cc_flag_unknown_warning_option=yes 5174 - else 5266 + else $as_nop 5175 5267 xorg_cv_cc_flag_unknown_warning_option=no 5176 5268 fi 5177 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5269 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5178 5270 fi 5179 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5180 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5271 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5272 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5181 5273 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5182 5274 CFLAGS="$xorg_testset_save_CFLAGS" 5183 5275 fi ··· 5187 5279 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5188 5280 fi 5189 5281 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5190 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5191 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5192 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5193 - $as_echo_n "(cached) " >&6 5194 - else 5282 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5283 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5284 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5285 + then : 5286 + printf %s "(cached) " >&6 5287 + else $as_nop 5195 5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5196 5289 /* end confdefs.h. */ 5197 5290 int i; 5198 5291 _ACEOF 5199 - if ac_fn_c_try_compile "$LINENO"; then : 5292 + if ac_fn_c_try_compile "$LINENO" 5293 + then : 5200 5294 xorg_cv_cc_flag_unused_command_line_argument=yes 5201 - else 5295 + else $as_nop 5202 5296 xorg_cv_cc_flag_unused_command_line_argument=no 5203 5297 fi 5204 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5298 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5205 5299 fi 5206 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5207 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5301 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5208 5302 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5209 5303 CFLAGS="$xorg_testset_save_CFLAGS" 5210 5304 fi ··· 5222 5316 5223 5317 CFLAGS="$CFLAGS -Wstrict-prototypes" 5224 5318 5225 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5226 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 5319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 5320 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 5227 5321 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 5228 - if eval \${$cacheid+:} false; then : 5229 - $as_echo_n "(cached) " >&6 5230 - else 5322 + if eval test \${$cacheid+y} 5323 + then : 5324 + printf %s "(cached) " >&6 5325 + else $as_nop 5231 5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5232 5327 /* end confdefs.h. */ 5233 5328 int i; 5234 5329 int 5235 - main () 5330 + main (void) 5236 5331 { 5237 5332 5238 5333 ; 5239 5334 return 0; 5240 5335 } 5241 5336 _ACEOF 5242 - if ac_fn_c_try_link "$LINENO"; then : 5337 + if ac_fn_c_try_link "$LINENO" 5338 + then : 5243 5339 eval $cacheid=yes 5244 - else 5340 + else $as_nop 5245 5341 eval $cacheid=no 5246 5342 fi 5247 - rm -f core conftest.err conftest.$ac_objext \ 5343 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5248 5344 conftest$ac_exeext conftest.$ac_ext 5249 5345 fi 5250 5346 ··· 5252 5348 CFLAGS="$xorg_testset_save_CFLAGS" 5253 5349 5254 5350 eval supported=\$$cacheid 5255 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5256 - $as_echo "$supported" >&6; } 5351 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5352 + printf "%s\n" "$supported" >&6; } 5257 5353 if test "$supported" = "yes" ; then 5258 5354 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 5259 5355 found="yes" ··· 5278 5374 5279 5375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5280 5376 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5281 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5282 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5283 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5284 - $as_echo_n "(cached) " >&6 5285 - else 5377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5378 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5379 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5380 + then : 5381 + printf %s "(cached) " >&6 5382 + else $as_nop 5286 5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5287 5384 /* end confdefs.h. */ 5288 5385 int i; 5289 5386 _ACEOF 5290 - if ac_fn_c_try_compile "$LINENO"; then : 5387 + if ac_fn_c_try_compile "$LINENO" 5388 + then : 5291 5389 xorg_cv_cc_flag_unknown_warning_option=yes 5292 - else 5390 + else $as_nop 5293 5391 xorg_cv_cc_flag_unknown_warning_option=no 5294 5392 fi 5295 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5393 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5296 5394 fi 5297 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5298 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5396 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5299 5397 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5300 5398 CFLAGS="$xorg_testset_save_CFLAGS" 5301 5399 fi ··· 5305 5403 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5306 5404 fi 5307 5405 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5308 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5309 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5310 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5311 - $as_echo_n "(cached) " >&6 5312 - else 5406 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5407 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5408 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5409 + then : 5410 + printf %s "(cached) " >&6 5411 + else $as_nop 5313 5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5314 5413 /* end confdefs.h. */ 5315 5414 int i; 5316 5415 _ACEOF 5317 - if ac_fn_c_try_compile "$LINENO"; then : 5416 + if ac_fn_c_try_compile "$LINENO" 5417 + then : 5318 5418 xorg_cv_cc_flag_unused_command_line_argument=yes 5319 - else 5419 + else $as_nop 5320 5420 xorg_cv_cc_flag_unused_command_line_argument=no 5321 5421 fi 5322 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5422 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5323 5423 fi 5324 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5325 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5424 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5425 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5326 5426 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5327 5427 CFLAGS="$xorg_testset_save_CFLAGS" 5328 5428 fi ··· 5340 5440 5341 5441 CFLAGS="$CFLAGS -Wmissing-prototypes" 5342 5442 5343 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5344 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 5443 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 5444 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 5345 5445 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 5346 - if eval \${$cacheid+:} false; then : 5347 - $as_echo_n "(cached) " >&6 5348 - else 5446 + if eval test \${$cacheid+y} 5447 + then : 5448 + printf %s "(cached) " >&6 5449 + else $as_nop 5349 5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5350 5451 /* end confdefs.h. */ 5351 5452 int i; 5352 5453 int 5353 - main () 5454 + main (void) 5354 5455 { 5355 5456 5356 5457 ; 5357 5458 return 0; 5358 5459 } 5359 5460 _ACEOF 5360 - if ac_fn_c_try_link "$LINENO"; then : 5461 + if ac_fn_c_try_link "$LINENO" 5462 + then : 5361 5463 eval $cacheid=yes 5362 - else 5464 + else $as_nop 5363 5465 eval $cacheid=no 5364 5466 fi 5365 - rm -f core conftest.err conftest.$ac_objext \ 5467 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5366 5468 conftest$ac_exeext conftest.$ac_ext 5367 5469 fi 5368 5470 ··· 5370 5472 CFLAGS="$xorg_testset_save_CFLAGS" 5371 5473 5372 5474 eval supported=\$$cacheid 5373 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5374 - $as_echo "$supported" >&6; } 5475 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5476 + printf "%s\n" "$supported" >&6; } 5375 5477 if test "$supported" = "yes" ; then 5376 5478 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 5377 5479 found="yes" ··· 5396 5498 5397 5499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5398 5500 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5399 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5400 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5401 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5402 - $as_echo_n "(cached) " >&6 5403 - else 5501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5502 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5503 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5504 + then : 5505 + printf %s "(cached) " >&6 5506 + else $as_nop 5404 5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5405 5508 /* end confdefs.h. */ 5406 5509 int i; 5407 5510 _ACEOF 5408 - if ac_fn_c_try_compile "$LINENO"; then : 5511 + if ac_fn_c_try_compile "$LINENO" 5512 + then : 5409 5513 xorg_cv_cc_flag_unknown_warning_option=yes 5410 - else 5514 + else $as_nop 5411 5515 xorg_cv_cc_flag_unknown_warning_option=no 5412 5516 fi 5413 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5517 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5414 5518 fi 5415 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5416 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5520 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5417 5521 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5418 5522 CFLAGS="$xorg_testset_save_CFLAGS" 5419 5523 fi ··· 5423 5527 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5424 5528 fi 5425 5529 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5426 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5427 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5428 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5429 - $as_echo_n "(cached) " >&6 5430 - else 5530 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5531 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5532 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5533 + then : 5534 + printf %s "(cached) " >&6 5535 + else $as_nop 5431 5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5432 5537 /* end confdefs.h. */ 5433 5538 int i; 5434 5539 _ACEOF 5435 - if ac_fn_c_try_compile "$LINENO"; then : 5540 + if ac_fn_c_try_compile "$LINENO" 5541 + then : 5436 5542 xorg_cv_cc_flag_unused_command_line_argument=yes 5437 - else 5543 + else $as_nop 5438 5544 xorg_cv_cc_flag_unused_command_line_argument=no 5439 5545 fi 5440 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5546 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5441 5547 fi 5442 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5443 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5548 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5549 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5444 5550 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5445 5551 CFLAGS="$xorg_testset_save_CFLAGS" 5446 5552 fi ··· 5458 5564 5459 5565 CFLAGS="$CFLAGS -Wnested-externs" 5460 5566 5461 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5462 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 5567 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 5568 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 5463 5569 cacheid=xorg_cv_cc_flag__Wnested_externs 5464 - if eval \${$cacheid+:} false; then : 5465 - $as_echo_n "(cached) " >&6 5466 - else 5570 + if eval test \${$cacheid+y} 5571 + then : 5572 + printf %s "(cached) " >&6 5573 + else $as_nop 5467 5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5468 5575 /* end confdefs.h. */ 5469 5576 int i; 5470 5577 int 5471 - main () 5578 + main (void) 5472 5579 { 5473 5580 5474 5581 ; 5475 5582 return 0; 5476 5583 } 5477 5584 _ACEOF 5478 - if ac_fn_c_try_link "$LINENO"; then : 5585 + if ac_fn_c_try_link "$LINENO" 5586 + then : 5479 5587 eval $cacheid=yes 5480 - else 5588 + else $as_nop 5481 5589 eval $cacheid=no 5482 5590 fi 5483 - rm -f core conftest.err conftest.$ac_objext \ 5591 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5484 5592 conftest$ac_exeext conftest.$ac_ext 5485 5593 fi 5486 5594 ··· 5488 5596 CFLAGS="$xorg_testset_save_CFLAGS" 5489 5597 5490 5598 eval supported=\$$cacheid 5491 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5492 - $as_echo "$supported" >&6; } 5599 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5600 + printf "%s\n" "$supported" >&6; } 5493 5601 if test "$supported" = "yes" ; then 5494 5602 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 5495 5603 found="yes" ··· 5514 5622 5515 5623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5516 5624 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5517 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5518 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5519 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5520 - $as_echo_n "(cached) " >&6 5521 - else 5625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5626 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5627 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5628 + then : 5629 + printf %s "(cached) " >&6 5630 + else $as_nop 5522 5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5523 5632 /* end confdefs.h. */ 5524 5633 int i; 5525 5634 _ACEOF 5526 - if ac_fn_c_try_compile "$LINENO"; then : 5635 + if ac_fn_c_try_compile "$LINENO" 5636 + then : 5527 5637 xorg_cv_cc_flag_unknown_warning_option=yes 5528 - else 5638 + else $as_nop 5529 5639 xorg_cv_cc_flag_unknown_warning_option=no 5530 5640 fi 5531 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5641 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5532 5642 fi 5533 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5534 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5644 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5535 5645 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5536 5646 CFLAGS="$xorg_testset_save_CFLAGS" 5537 5647 fi ··· 5541 5651 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5542 5652 fi 5543 5653 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5544 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5545 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5546 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5547 - $as_echo_n "(cached) " >&6 5548 - else 5654 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5655 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5656 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5657 + then : 5658 + printf %s "(cached) " >&6 5659 + else $as_nop 5549 5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5550 5661 /* end confdefs.h. */ 5551 5662 int i; 5552 5663 _ACEOF 5553 - if ac_fn_c_try_compile "$LINENO"; then : 5664 + if ac_fn_c_try_compile "$LINENO" 5665 + then : 5554 5666 xorg_cv_cc_flag_unused_command_line_argument=yes 5555 - else 5667 + else $as_nop 5556 5668 xorg_cv_cc_flag_unused_command_line_argument=no 5557 5669 fi 5558 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5670 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5559 5671 fi 5560 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5561 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5672 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5673 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5562 5674 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5563 5675 CFLAGS="$xorg_testset_save_CFLAGS" 5564 5676 fi ··· 5576 5688 5577 5689 CFLAGS="$CFLAGS -Wbad-function-cast" 5578 5690 5579 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5580 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 5691 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 5692 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 5581 5693 cacheid=xorg_cv_cc_flag__Wbad_function_cast 5582 - if eval \${$cacheid+:} false; then : 5583 - $as_echo_n "(cached) " >&6 5584 - else 5694 + if eval test \${$cacheid+y} 5695 + then : 5696 + printf %s "(cached) " >&6 5697 + else $as_nop 5585 5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5586 5699 /* end confdefs.h. */ 5587 5700 int i; 5588 5701 int 5589 - main () 5702 + main (void) 5590 5703 { 5591 5704 5592 5705 ; 5593 5706 return 0; 5594 5707 } 5595 5708 _ACEOF 5596 - if ac_fn_c_try_link "$LINENO"; then : 5709 + if ac_fn_c_try_link "$LINENO" 5710 + then : 5597 5711 eval $cacheid=yes 5598 - else 5712 + else $as_nop 5599 5713 eval $cacheid=no 5600 5714 fi 5601 - rm -f core conftest.err conftest.$ac_objext \ 5715 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5602 5716 conftest$ac_exeext conftest.$ac_ext 5603 5717 fi 5604 5718 ··· 5606 5720 CFLAGS="$xorg_testset_save_CFLAGS" 5607 5721 5608 5722 eval supported=\$$cacheid 5609 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5610 - $as_echo "$supported" >&6; } 5723 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5724 + printf "%s\n" "$supported" >&6; } 5611 5725 if test "$supported" = "yes" ; then 5612 5726 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 5613 5727 found="yes" ··· 5632 5746 5633 5747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5634 5748 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5635 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5636 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5637 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5638 - $as_echo_n "(cached) " >&6 5639 - else 5749 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5750 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5751 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5752 + then : 5753 + printf %s "(cached) " >&6 5754 + else $as_nop 5640 5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5641 5756 /* end confdefs.h. */ 5642 5757 int i; 5643 5758 _ACEOF 5644 - if ac_fn_c_try_compile "$LINENO"; then : 5759 + if ac_fn_c_try_compile "$LINENO" 5760 + then : 5645 5761 xorg_cv_cc_flag_unknown_warning_option=yes 5646 - else 5762 + else $as_nop 5647 5763 xorg_cv_cc_flag_unknown_warning_option=no 5648 5764 fi 5649 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5765 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5650 5766 fi 5651 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5652 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5767 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5768 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5653 5769 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5654 5770 CFLAGS="$xorg_testset_save_CFLAGS" 5655 5771 fi ··· 5659 5775 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5660 5776 fi 5661 5777 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5662 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5663 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5664 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5665 - $as_echo_n "(cached) " >&6 5666 - else 5778 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5779 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5780 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5781 + then : 5782 + printf %s "(cached) " >&6 5783 + else $as_nop 5667 5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5668 5785 /* end confdefs.h. */ 5669 5786 int i; 5670 5787 _ACEOF 5671 - if ac_fn_c_try_compile "$LINENO"; then : 5788 + if ac_fn_c_try_compile "$LINENO" 5789 + then : 5672 5790 xorg_cv_cc_flag_unused_command_line_argument=yes 5673 - else 5791 + else $as_nop 5674 5792 xorg_cv_cc_flag_unused_command_line_argument=no 5675 5793 fi 5676 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5794 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5677 5795 fi 5678 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5679 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5796 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5797 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5680 5798 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5681 5799 CFLAGS="$xorg_testset_save_CFLAGS" 5682 5800 fi ··· 5694 5812 5695 5813 CFLAGS="$CFLAGS -Wold-style-definition" 5696 5814 5697 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5698 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 5815 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 5816 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 5699 5817 cacheid=xorg_cv_cc_flag__Wold_style_definition 5700 - if eval \${$cacheid+:} false; then : 5701 - $as_echo_n "(cached) " >&6 5702 - else 5818 + if eval test \${$cacheid+y} 5819 + then : 5820 + printf %s "(cached) " >&6 5821 + else $as_nop 5703 5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5704 5823 /* end confdefs.h. */ 5705 5824 int i; 5706 5825 int 5707 - main () 5826 + main (void) 5708 5827 { 5709 5828 5710 5829 ; 5711 5830 return 0; 5712 5831 } 5713 5832 _ACEOF 5714 - if ac_fn_c_try_link "$LINENO"; then : 5833 + if ac_fn_c_try_link "$LINENO" 5834 + then : 5715 5835 eval $cacheid=yes 5716 - else 5836 + else $as_nop 5717 5837 eval $cacheid=no 5718 5838 fi 5719 - rm -f core conftest.err conftest.$ac_objext \ 5839 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5720 5840 conftest$ac_exeext conftest.$ac_ext 5721 5841 fi 5722 5842 ··· 5724 5844 CFLAGS="$xorg_testset_save_CFLAGS" 5725 5845 5726 5846 eval supported=\$$cacheid 5727 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5728 - $as_echo "$supported" >&6; } 5847 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5848 + printf "%s\n" "$supported" >&6; } 5729 5849 if test "$supported" = "yes" ; then 5730 5850 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 5731 5851 found="yes" ··· 5743 5863 5744 5864 CFLAGS="$CFLAGS -fd" 5745 5865 5746 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5747 - $as_echo_n "checking if $CC supports -fd... " >&6; } 5866 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 5867 + printf %s "checking if $CC supports -fd... " >&6; } 5748 5868 cacheid=xorg_cv_cc_flag__fd 5749 - if eval \${$cacheid+:} false; then : 5750 - $as_echo_n "(cached) " >&6 5751 - else 5869 + if eval test \${$cacheid+y} 5870 + then : 5871 + printf %s "(cached) " >&6 5872 + else $as_nop 5752 5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5753 5874 /* end confdefs.h. */ 5754 5875 int i; 5755 5876 int 5756 - main () 5877 + main (void) 5757 5878 { 5758 5879 5759 5880 ; 5760 5881 return 0; 5761 5882 } 5762 5883 _ACEOF 5763 - if ac_fn_c_try_link "$LINENO"; then : 5884 + if ac_fn_c_try_link "$LINENO" 5885 + then : 5764 5886 eval $cacheid=yes 5765 - else 5887 + else $as_nop 5766 5888 eval $cacheid=no 5767 5889 fi 5768 - rm -f core conftest.err conftest.$ac_objext \ 5890 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5769 5891 conftest$ac_exeext conftest.$ac_ext 5770 5892 fi 5771 5893 ··· 5773 5895 CFLAGS="$xorg_testset_save_CFLAGS" 5774 5896 5775 5897 eval supported=\$$cacheid 5776 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5777 - $as_echo "$supported" >&6; } 5898 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5899 + printf "%s\n" "$supported" >&6; } 5778 5900 if test "$supported" = "yes" ; then 5779 5901 BASE_CFLAGS="$BASE_CFLAGS -fd" 5780 5902 found="yes" ··· 5799 5921 5800 5922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5801 5923 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5802 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5803 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5804 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5805 - $as_echo_n "(cached) " >&6 5806 - else 5924 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5925 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5926 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 5927 + then : 5928 + printf %s "(cached) " >&6 5929 + else $as_nop 5807 5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5808 5931 /* end confdefs.h. */ 5809 5932 int i; 5810 5933 _ACEOF 5811 - if ac_fn_c_try_compile "$LINENO"; then : 5934 + if ac_fn_c_try_compile "$LINENO" 5935 + then : 5812 5936 xorg_cv_cc_flag_unknown_warning_option=yes 5813 - else 5937 + else $as_nop 5814 5938 xorg_cv_cc_flag_unknown_warning_option=no 5815 5939 fi 5816 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5940 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5817 5941 fi 5818 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5819 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5942 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5943 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5820 5944 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5821 5945 CFLAGS="$xorg_testset_save_CFLAGS" 5822 5946 fi ··· 5826 5950 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5827 5951 fi 5828 5952 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5829 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5830 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5831 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5832 - $as_echo_n "(cached) " >&6 5833 - else 5953 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5954 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5955 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 5956 + then : 5957 + printf %s "(cached) " >&6 5958 + else $as_nop 5834 5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5835 5960 /* end confdefs.h. */ 5836 5961 int i; 5837 5962 _ACEOF 5838 - if ac_fn_c_try_compile "$LINENO"; then : 5963 + if ac_fn_c_try_compile "$LINENO" 5964 + then : 5839 5965 xorg_cv_cc_flag_unused_command_line_argument=yes 5840 - else 5966 + else $as_nop 5841 5967 xorg_cv_cc_flag_unused_command_line_argument=no 5842 5968 fi 5843 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5969 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5844 5970 fi 5845 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5846 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5971 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5972 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5847 5973 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5848 5974 CFLAGS="$xorg_testset_save_CFLAGS" 5849 5975 fi ··· 5861 5987 5862 5988 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 5863 5989 5864 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5865 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5990 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 5991 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 5866 5992 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 5867 - if eval \${$cacheid+:} false; then : 5868 - $as_echo_n "(cached) " >&6 5869 - else 5993 + if eval test \${$cacheid+y} 5994 + then : 5995 + printf %s "(cached) " >&6 5996 + else $as_nop 5870 5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5871 5998 /* end confdefs.h. */ 5872 5999 int i; 5873 6000 int 5874 - main () 6001 + main (void) 5875 6002 { 5876 6003 5877 6004 ; 5878 6005 return 0; 5879 6006 } 5880 6007 _ACEOF 5881 - if ac_fn_c_try_link "$LINENO"; then : 6008 + if ac_fn_c_try_link "$LINENO" 6009 + then : 5882 6010 eval $cacheid=yes 5883 - else 6011 + else $as_nop 5884 6012 eval $cacheid=no 5885 6013 fi 5886 - rm -f core conftest.err conftest.$ac_objext \ 6014 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 5887 6015 conftest$ac_exeext conftest.$ac_ext 5888 6016 fi 5889 6017 ··· 5891 6019 CFLAGS="$xorg_testset_save_CFLAGS" 5892 6020 5893 6021 eval supported=\$$cacheid 5894 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 5895 - $as_echo "$supported" >&6; } 6022 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6023 + printf "%s\n" "$supported" >&6; } 5896 6024 if test "$supported" = "yes" ; then 5897 6025 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 5898 6026 found="yes" ··· 5921 6049 5922 6050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 5923 6051 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5924 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 5925 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 5926 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 5927 - $as_echo_n "(cached) " >&6 5928 - else 6052 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6053 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6054 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6055 + then : 6056 + printf %s "(cached) " >&6 6057 + else $as_nop 5929 6058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5930 6059 /* end confdefs.h. */ 5931 6060 int i; 5932 6061 _ACEOF 5933 - if ac_fn_c_try_compile "$LINENO"; then : 6062 + if ac_fn_c_try_compile "$LINENO" 6063 + then : 5934 6064 xorg_cv_cc_flag_unknown_warning_option=yes 5935 - else 6065 + else $as_nop 5936 6066 xorg_cv_cc_flag_unknown_warning_option=no 5937 6067 fi 5938 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6068 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5939 6069 fi 5940 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 5941 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6070 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6071 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 5942 6072 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 5943 6073 CFLAGS="$xorg_testset_save_CFLAGS" 5944 6074 fi ··· 5948 6078 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 5949 6079 fi 5950 6080 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 5951 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 5952 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 5953 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 5954 - $as_echo_n "(cached) " >&6 5955 - else 6081 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6082 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6083 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6084 + then : 6085 + printf %s "(cached) " >&6 6086 + else $as_nop 5956 6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5957 6088 /* end confdefs.h. */ 5958 6089 int i; 5959 6090 _ACEOF 5960 - if ac_fn_c_try_compile "$LINENO"; then : 6091 + if ac_fn_c_try_compile "$LINENO" 6092 + then : 5961 6093 xorg_cv_cc_flag_unused_command_line_argument=yes 5962 - else 6094 + else $as_nop 5963 6095 xorg_cv_cc_flag_unused_command_line_argument=no 5964 6096 fi 5965 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6097 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5966 6098 fi 5967 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 5968 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6099 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6100 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 5969 6101 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 5970 6102 CFLAGS="$xorg_testset_save_CFLAGS" 5971 6103 fi ··· 5983 6115 5984 6116 CFLAGS="$CFLAGS -Wunused" 5985 6117 5986 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 5987 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 6118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 6119 + printf %s "checking if $CC supports -Wunused... " >&6; } 5988 6120 cacheid=xorg_cv_cc_flag__Wunused 5989 - if eval \${$cacheid+:} false; then : 5990 - $as_echo_n "(cached) " >&6 5991 - else 6121 + if eval test \${$cacheid+y} 6122 + then : 6123 + printf %s "(cached) " >&6 6124 + else $as_nop 5992 6125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5993 6126 /* end confdefs.h. */ 5994 6127 int i; 5995 6128 int 5996 - main () 6129 + main (void) 5997 6130 { 5998 6131 5999 6132 ; 6000 6133 return 0; 6001 6134 } 6002 6135 _ACEOF 6003 - if ac_fn_c_try_link "$LINENO"; then : 6136 + if ac_fn_c_try_link "$LINENO" 6137 + then : 6004 6138 eval $cacheid=yes 6005 - else 6139 + else $as_nop 6006 6140 eval $cacheid=no 6007 6141 fi 6008 - rm -f core conftest.err conftest.$ac_objext \ 6142 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6009 6143 conftest$ac_exeext conftest.$ac_ext 6010 6144 fi 6011 6145 ··· 6013 6147 CFLAGS="$xorg_testset_save_CFLAGS" 6014 6148 6015 6149 eval supported=\$$cacheid 6016 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6017 - $as_echo "$supported" >&6; } 6150 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6151 + printf "%s\n" "$supported" >&6; } 6018 6152 if test "$supported" = "yes" ; then 6019 6153 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 6020 6154 found="yes" ··· 6039 6173 6040 6174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6041 6175 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6042 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6043 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6044 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6045 - $as_echo_n "(cached) " >&6 6046 - else 6176 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6177 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6178 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6179 + then : 6180 + printf %s "(cached) " >&6 6181 + else $as_nop 6047 6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6048 6183 /* end confdefs.h. */ 6049 6184 int i; 6050 6185 _ACEOF 6051 - if ac_fn_c_try_compile "$LINENO"; then : 6186 + if ac_fn_c_try_compile "$LINENO" 6187 + then : 6052 6188 xorg_cv_cc_flag_unknown_warning_option=yes 6053 - else 6189 + else $as_nop 6054 6190 xorg_cv_cc_flag_unknown_warning_option=no 6055 6191 fi 6056 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6192 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6057 6193 fi 6058 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6059 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6194 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6195 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6060 6196 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6061 6197 CFLAGS="$xorg_testset_save_CFLAGS" 6062 6198 fi ··· 6066 6202 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6067 6203 fi 6068 6204 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6069 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6070 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6071 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6072 - $as_echo_n "(cached) " >&6 6073 - else 6205 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6206 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6207 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6208 + then : 6209 + printf %s "(cached) " >&6 6210 + else $as_nop 6074 6211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6075 6212 /* end confdefs.h. */ 6076 6213 int i; 6077 6214 _ACEOF 6078 - if ac_fn_c_try_compile "$LINENO"; then : 6215 + if ac_fn_c_try_compile "$LINENO" 6216 + then : 6079 6217 xorg_cv_cc_flag_unused_command_line_argument=yes 6080 - else 6218 + else $as_nop 6081 6219 xorg_cv_cc_flag_unused_command_line_argument=no 6082 6220 fi 6083 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6221 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6084 6222 fi 6085 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6086 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6224 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6087 6225 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6088 6226 CFLAGS="$xorg_testset_save_CFLAGS" 6089 6227 fi ··· 6101 6239 6102 6240 CFLAGS="$CFLAGS -Wuninitialized" 6103 6241 6104 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6105 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 6242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 6243 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 6106 6244 cacheid=xorg_cv_cc_flag__Wuninitialized 6107 - if eval \${$cacheid+:} false; then : 6108 - $as_echo_n "(cached) " >&6 6109 - else 6245 + if eval test \${$cacheid+y} 6246 + then : 6247 + printf %s "(cached) " >&6 6248 + else $as_nop 6110 6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6111 6250 /* end confdefs.h. */ 6112 6251 int i; 6113 6252 int 6114 - main () 6253 + main (void) 6115 6254 { 6116 6255 6117 6256 ; 6118 6257 return 0; 6119 6258 } 6120 6259 _ACEOF 6121 - if ac_fn_c_try_link "$LINENO"; then : 6260 + if ac_fn_c_try_link "$LINENO" 6261 + then : 6122 6262 eval $cacheid=yes 6123 - else 6263 + else $as_nop 6124 6264 eval $cacheid=no 6125 6265 fi 6126 - rm -f core conftest.err conftest.$ac_objext \ 6266 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6127 6267 conftest$ac_exeext conftest.$ac_ext 6128 6268 fi 6129 6269 ··· 6131 6271 CFLAGS="$xorg_testset_save_CFLAGS" 6132 6272 6133 6273 eval supported=\$$cacheid 6134 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6135 - $as_echo "$supported" >&6; } 6274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6275 + printf "%s\n" "$supported" >&6; } 6136 6276 if test "$supported" = "yes" ; then 6137 6277 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 6138 6278 found="yes" ··· 6157 6297 6158 6298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6159 6299 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6160 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6161 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6162 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6163 - $as_echo_n "(cached) " >&6 6164 - else 6300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6301 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6302 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6303 + then : 6304 + printf %s "(cached) " >&6 6305 + else $as_nop 6165 6306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6166 6307 /* end confdefs.h. */ 6167 6308 int i; 6168 6309 _ACEOF 6169 - if ac_fn_c_try_compile "$LINENO"; then : 6310 + if ac_fn_c_try_compile "$LINENO" 6311 + then : 6170 6312 xorg_cv_cc_flag_unknown_warning_option=yes 6171 - else 6313 + else $as_nop 6172 6314 xorg_cv_cc_flag_unknown_warning_option=no 6173 6315 fi 6174 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6316 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6175 6317 fi 6176 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6177 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6318 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6319 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6178 6320 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6179 6321 CFLAGS="$xorg_testset_save_CFLAGS" 6180 6322 fi ··· 6184 6326 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6185 6327 fi 6186 6328 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6187 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6188 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6189 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6190 - $as_echo_n "(cached) " >&6 6191 - else 6329 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6330 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6331 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6332 + then : 6333 + printf %s "(cached) " >&6 6334 + else $as_nop 6192 6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6193 6336 /* end confdefs.h. */ 6194 6337 int i; 6195 6338 _ACEOF 6196 - if ac_fn_c_try_compile "$LINENO"; then : 6339 + if ac_fn_c_try_compile "$LINENO" 6340 + then : 6197 6341 xorg_cv_cc_flag_unused_command_line_argument=yes 6198 - else 6342 + else $as_nop 6199 6343 xorg_cv_cc_flag_unused_command_line_argument=no 6200 6344 fi 6201 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6345 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6202 6346 fi 6203 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6204 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6347 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6348 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6205 6349 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6206 6350 CFLAGS="$xorg_testset_save_CFLAGS" 6207 6351 fi ··· 6219 6363 6220 6364 CFLAGS="$CFLAGS -Wshadow" 6221 6365 6222 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6223 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 6366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 6367 + printf %s "checking if $CC supports -Wshadow... " >&6; } 6224 6368 cacheid=xorg_cv_cc_flag__Wshadow 6225 - if eval \${$cacheid+:} false; then : 6226 - $as_echo_n "(cached) " >&6 6227 - else 6369 + if eval test \${$cacheid+y} 6370 + then : 6371 + printf %s "(cached) " >&6 6372 + else $as_nop 6228 6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6229 6374 /* end confdefs.h. */ 6230 6375 int i; 6231 6376 int 6232 - main () 6377 + main (void) 6233 6378 { 6234 6379 6235 6380 ; 6236 6381 return 0; 6237 6382 } 6238 6383 _ACEOF 6239 - if ac_fn_c_try_link "$LINENO"; then : 6384 + if ac_fn_c_try_link "$LINENO" 6385 + then : 6240 6386 eval $cacheid=yes 6241 - else 6387 + else $as_nop 6242 6388 eval $cacheid=no 6243 6389 fi 6244 - rm -f core conftest.err conftest.$ac_objext \ 6390 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6245 6391 conftest$ac_exeext conftest.$ac_ext 6246 6392 fi 6247 6393 ··· 6249 6395 CFLAGS="$xorg_testset_save_CFLAGS" 6250 6396 6251 6397 eval supported=\$$cacheid 6252 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6253 - $as_echo "$supported" >&6; } 6398 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6399 + printf "%s\n" "$supported" >&6; } 6254 6400 if test "$supported" = "yes" ; then 6255 6401 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 6256 6402 found="yes" ··· 6275 6421 6276 6422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6277 6423 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6278 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6279 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6280 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6281 - $as_echo_n "(cached) " >&6 6282 - else 6424 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6425 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6426 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6427 + then : 6428 + printf %s "(cached) " >&6 6429 + else $as_nop 6283 6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6284 6431 /* end confdefs.h. */ 6285 6432 int i; 6286 6433 _ACEOF 6287 - if ac_fn_c_try_compile "$LINENO"; then : 6434 + if ac_fn_c_try_compile "$LINENO" 6435 + then : 6288 6436 xorg_cv_cc_flag_unknown_warning_option=yes 6289 - else 6437 + else $as_nop 6290 6438 xorg_cv_cc_flag_unknown_warning_option=no 6291 6439 fi 6292 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6440 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6293 6441 fi 6294 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6295 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6442 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6443 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6296 6444 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6297 6445 CFLAGS="$xorg_testset_save_CFLAGS" 6298 6446 fi ··· 6302 6450 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6303 6451 fi 6304 6452 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6305 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6306 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6307 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6308 - $as_echo_n "(cached) " >&6 6309 - else 6453 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6454 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6455 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6456 + then : 6457 + printf %s "(cached) " >&6 6458 + else $as_nop 6310 6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6311 6460 /* end confdefs.h. */ 6312 6461 int i; 6313 6462 _ACEOF 6314 - if ac_fn_c_try_compile "$LINENO"; then : 6463 + if ac_fn_c_try_compile "$LINENO" 6464 + then : 6315 6465 xorg_cv_cc_flag_unused_command_line_argument=yes 6316 - else 6466 + else $as_nop 6317 6467 xorg_cv_cc_flag_unused_command_line_argument=no 6318 6468 fi 6319 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6469 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6320 6470 fi 6321 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6322 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6472 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6323 6473 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6324 6474 CFLAGS="$xorg_testset_save_CFLAGS" 6325 6475 fi ··· 6337 6487 6338 6488 CFLAGS="$CFLAGS -Wmissing-noreturn" 6339 6489 6340 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6341 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 6490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 6491 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 6342 6492 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 6343 - if eval \${$cacheid+:} false; then : 6344 - $as_echo_n "(cached) " >&6 6345 - else 6493 + if eval test \${$cacheid+y} 6494 + then : 6495 + printf %s "(cached) " >&6 6496 + else $as_nop 6346 6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6347 6498 /* end confdefs.h. */ 6348 6499 int i; 6349 6500 int 6350 - main () 6501 + main (void) 6351 6502 { 6352 6503 6353 6504 ; 6354 6505 return 0; 6355 6506 } 6356 6507 _ACEOF 6357 - if ac_fn_c_try_link "$LINENO"; then : 6508 + if ac_fn_c_try_link "$LINENO" 6509 + then : 6358 6510 eval $cacheid=yes 6359 - else 6511 + else $as_nop 6360 6512 eval $cacheid=no 6361 6513 fi 6362 - rm -f core conftest.err conftest.$ac_objext \ 6514 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6363 6515 conftest$ac_exeext conftest.$ac_ext 6364 6516 fi 6365 6517 ··· 6367 6519 CFLAGS="$xorg_testset_save_CFLAGS" 6368 6520 6369 6521 eval supported=\$$cacheid 6370 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6371 - $as_echo "$supported" >&6; } 6522 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6523 + printf "%s\n" "$supported" >&6; } 6372 6524 if test "$supported" = "yes" ; then 6373 6525 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 6374 6526 found="yes" ··· 6393 6545 6394 6546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6395 6547 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6396 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6397 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6398 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6399 - $as_echo_n "(cached) " >&6 6400 - else 6548 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6549 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6550 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6551 + then : 6552 + printf %s "(cached) " >&6 6553 + else $as_nop 6401 6554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6402 6555 /* end confdefs.h. */ 6403 6556 int i; 6404 6557 _ACEOF 6405 - if ac_fn_c_try_compile "$LINENO"; then : 6558 + if ac_fn_c_try_compile "$LINENO" 6559 + then : 6406 6560 xorg_cv_cc_flag_unknown_warning_option=yes 6407 - else 6561 + else $as_nop 6408 6562 xorg_cv_cc_flag_unknown_warning_option=no 6409 6563 fi 6410 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6564 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6411 6565 fi 6412 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6413 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6566 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6567 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6414 6568 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6415 6569 CFLAGS="$xorg_testset_save_CFLAGS" 6416 6570 fi ··· 6420 6574 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6421 6575 fi 6422 6576 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6423 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6424 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6425 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6426 - $as_echo_n "(cached) " >&6 6427 - else 6577 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6578 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6579 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6580 + then : 6581 + printf %s "(cached) " >&6 6582 + else $as_nop 6428 6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6429 6584 /* end confdefs.h. */ 6430 6585 int i; 6431 6586 _ACEOF 6432 - if ac_fn_c_try_compile "$LINENO"; then : 6587 + if ac_fn_c_try_compile "$LINENO" 6588 + then : 6433 6589 xorg_cv_cc_flag_unused_command_line_argument=yes 6434 - else 6590 + else $as_nop 6435 6591 xorg_cv_cc_flag_unused_command_line_argument=no 6436 6592 fi 6437 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6593 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6438 6594 fi 6439 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6440 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6595 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6596 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6441 6597 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6442 6598 CFLAGS="$xorg_testset_save_CFLAGS" 6443 6599 fi ··· 6455 6611 6456 6612 CFLAGS="$CFLAGS -Wmissing-format-attribute" 6457 6613 6458 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6459 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 6615 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 6460 6616 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 6461 - if eval \${$cacheid+:} false; then : 6462 - $as_echo_n "(cached) " >&6 6463 - else 6617 + if eval test \${$cacheid+y} 6618 + then : 6619 + printf %s "(cached) " >&6 6620 + else $as_nop 6464 6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6465 6622 /* end confdefs.h. */ 6466 6623 int i; 6467 6624 int 6468 - main () 6625 + main (void) 6469 6626 { 6470 6627 6471 6628 ; 6472 6629 return 0; 6473 6630 } 6474 6631 _ACEOF 6475 - if ac_fn_c_try_link "$LINENO"; then : 6632 + if ac_fn_c_try_link "$LINENO" 6633 + then : 6476 6634 eval $cacheid=yes 6477 - else 6635 + else $as_nop 6478 6636 eval $cacheid=no 6479 6637 fi 6480 - rm -f core conftest.err conftest.$ac_objext \ 6638 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6481 6639 conftest$ac_exeext conftest.$ac_ext 6482 6640 fi 6483 6641 ··· 6485 6643 CFLAGS="$xorg_testset_save_CFLAGS" 6486 6644 6487 6645 eval supported=\$$cacheid 6488 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6489 - $as_echo "$supported" >&6; } 6646 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6647 + printf "%s\n" "$supported" >&6; } 6490 6648 if test "$supported" = "yes" ; then 6491 6649 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 6492 6650 found="yes" ··· 6512 6670 6513 6671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6514 6672 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6515 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6516 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6517 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6518 - $as_echo_n "(cached) " >&6 6519 - else 6673 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6674 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6675 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6676 + then : 6677 + printf %s "(cached) " >&6 6678 + else $as_nop 6520 6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6521 6680 /* end confdefs.h. */ 6522 6681 int i; 6523 6682 _ACEOF 6524 - if ac_fn_c_try_compile "$LINENO"; then : 6683 + if ac_fn_c_try_compile "$LINENO" 6684 + then : 6525 6685 xorg_cv_cc_flag_unknown_warning_option=yes 6526 - else 6686 + else $as_nop 6527 6687 xorg_cv_cc_flag_unknown_warning_option=no 6528 6688 fi 6529 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6689 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6530 6690 fi 6531 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6532 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6691 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6692 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6533 6693 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6534 6694 CFLAGS="$xorg_testset_save_CFLAGS" 6535 6695 fi ··· 6539 6699 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6540 6700 fi 6541 6701 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6542 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6543 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6544 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6545 - $as_echo_n "(cached) " >&6 6546 - else 6702 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6703 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6704 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6705 + then : 6706 + printf %s "(cached) " >&6 6707 + else $as_nop 6547 6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6548 6709 /* end confdefs.h. */ 6549 6710 int i; 6550 6711 _ACEOF 6551 - if ac_fn_c_try_compile "$LINENO"; then : 6712 + if ac_fn_c_try_compile "$LINENO" 6713 + then : 6552 6714 xorg_cv_cc_flag_unused_command_line_argument=yes 6553 - else 6715 + else $as_nop 6554 6716 xorg_cv_cc_flag_unused_command_line_argument=no 6555 6717 fi 6556 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6718 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6557 6719 fi 6558 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6559 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6720 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6721 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6560 6722 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6561 6723 CFLAGS="$xorg_testset_save_CFLAGS" 6562 6724 fi ··· 6574 6736 6575 6737 CFLAGS="$CFLAGS -Wlogical-op" 6576 6738 6577 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6578 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 6739 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 6740 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 6579 6741 cacheid=xorg_cv_cc_flag__Wlogical_op 6580 - if eval \${$cacheid+:} false; then : 6581 - $as_echo_n "(cached) " >&6 6582 - else 6742 + if eval test \${$cacheid+y} 6743 + then : 6744 + printf %s "(cached) " >&6 6745 + else $as_nop 6583 6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6584 6747 /* end confdefs.h. */ 6585 6748 int i; 6586 6749 int 6587 - main () 6750 + main (void) 6588 6751 { 6589 6752 6590 6753 ; 6591 6754 return 0; 6592 6755 } 6593 6756 _ACEOF 6594 - if ac_fn_c_try_link "$LINENO"; then : 6757 + if ac_fn_c_try_link "$LINENO" 6758 + then : 6595 6759 eval $cacheid=yes 6596 - else 6760 + else $as_nop 6597 6761 eval $cacheid=no 6598 6762 fi 6599 - rm -f core conftest.err conftest.$ac_objext \ 6763 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6600 6764 conftest$ac_exeext conftest.$ac_ext 6601 6765 fi 6602 6766 ··· 6604 6768 CFLAGS="$xorg_testset_save_CFLAGS" 6605 6769 6606 6770 eval supported=\$$cacheid 6607 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6608 - $as_echo "$supported" >&6; } 6771 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6772 + printf "%s\n" "$supported" >&6; } 6609 6773 if test "$supported" = "yes" ; then 6610 6774 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 6611 6775 found="yes" ··· 6621 6785 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 6622 6786 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 6623 6787 6624 - # Turn some warnings into errors, so we don't accidently get successful builds 6788 + # Turn some warnings into errors, so we don't accidentally get successful builds 6625 6789 # when there are problems that should be fixed. 6626 6790 6627 6791 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 6642 6806 6643 6807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6644 6808 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6645 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6646 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6647 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6648 - $as_echo_n "(cached) " >&6 6649 - else 6809 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6810 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6811 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6812 + then : 6813 + printf %s "(cached) " >&6 6814 + else $as_nop 6650 6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6651 6816 /* end confdefs.h. */ 6652 6817 int i; 6653 6818 _ACEOF 6654 - if ac_fn_c_try_compile "$LINENO"; then : 6819 + if ac_fn_c_try_compile "$LINENO" 6820 + then : 6655 6821 xorg_cv_cc_flag_unknown_warning_option=yes 6656 - else 6822 + else $as_nop 6657 6823 xorg_cv_cc_flag_unknown_warning_option=no 6658 6824 fi 6659 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6825 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6660 6826 fi 6661 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6662 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6827 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6828 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6663 6829 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6664 6830 CFLAGS="$xorg_testset_save_CFLAGS" 6665 6831 fi ··· 6669 6835 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6670 6836 fi 6671 6837 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6672 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6673 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6674 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6675 - $as_echo_n "(cached) " >&6 6676 - else 6838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6839 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6840 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 6841 + then : 6842 + printf %s "(cached) " >&6 6843 + else $as_nop 6677 6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6678 6845 /* end confdefs.h. */ 6679 6846 int i; 6680 6847 _ACEOF 6681 - if ac_fn_c_try_compile "$LINENO"; then : 6848 + if ac_fn_c_try_compile "$LINENO" 6849 + then : 6682 6850 xorg_cv_cc_flag_unused_command_line_argument=yes 6683 - else 6851 + else $as_nop 6684 6852 xorg_cv_cc_flag_unused_command_line_argument=no 6685 6853 fi 6686 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6854 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6687 6855 fi 6688 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6689 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6856 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6857 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6690 6858 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6691 6859 CFLAGS="$xorg_testset_save_CFLAGS" 6692 6860 fi ··· 6704 6872 6705 6873 CFLAGS="$CFLAGS -Werror=implicit" 6706 6874 6707 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6708 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 6875 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 6876 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 6709 6877 cacheid=xorg_cv_cc_flag__Werror_implicit 6710 - if eval \${$cacheid+:} false; then : 6711 - $as_echo_n "(cached) " >&6 6712 - else 6878 + if eval test \${$cacheid+y} 6879 + then : 6880 + printf %s "(cached) " >&6 6881 + else $as_nop 6713 6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6714 6883 /* end confdefs.h. */ 6715 6884 int i; 6716 6885 int 6717 - main () 6886 + main (void) 6718 6887 { 6719 6888 6720 6889 ; 6721 6890 return 0; 6722 6891 } 6723 6892 _ACEOF 6724 - if ac_fn_c_try_link "$LINENO"; then : 6893 + if ac_fn_c_try_link "$LINENO" 6894 + then : 6725 6895 eval $cacheid=yes 6726 - else 6896 + else $as_nop 6727 6897 eval $cacheid=no 6728 6898 fi 6729 - rm -f core conftest.err conftest.$ac_objext \ 6899 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6730 6900 conftest$ac_exeext conftest.$ac_ext 6731 6901 fi 6732 6902 ··· 6734 6904 CFLAGS="$xorg_testset_save_CFLAGS" 6735 6905 6736 6906 eval supported=\$$cacheid 6737 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6738 - $as_echo "$supported" >&6; } 6907 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6908 + printf "%s\n" "$supported" >&6; } 6739 6909 if test "$supported" = "yes" ; then 6740 6910 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 6741 6911 found="yes" ··· 6753 6923 6754 6924 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6755 6925 6756 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 6757 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6926 + { 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 6927 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 6758 6928 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 6759 - if eval \${$cacheid+:} false; then : 6760 - $as_echo_n "(cached) " >&6 6761 - else 6929 + if eval test \${$cacheid+y} 6930 + then : 6931 + printf %s "(cached) " >&6 6932 + else $as_nop 6762 6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6763 6934 /* end confdefs.h. */ 6764 6935 int i; 6765 6936 int 6766 - main () 6937 + main (void) 6767 6938 { 6768 6939 6769 6940 ; 6770 6941 return 0; 6771 6942 } 6772 6943 _ACEOF 6773 - if ac_fn_c_try_link "$LINENO"; then : 6944 + if ac_fn_c_try_link "$LINENO" 6945 + then : 6774 6946 eval $cacheid=yes 6775 - else 6947 + else $as_nop 6776 6948 eval $cacheid=no 6777 6949 fi 6778 - rm -f core conftest.err conftest.$ac_objext \ 6950 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6779 6951 conftest$ac_exeext conftest.$ac_ext 6780 6952 fi 6781 6953 ··· 6783 6955 CFLAGS="$xorg_testset_save_CFLAGS" 6784 6956 6785 6957 eval supported=\$$cacheid 6786 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6787 - $as_echo "$supported" >&6; } 6958 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6959 + printf "%s\n" "$supported" >&6; } 6788 6960 if test "$supported" = "yes" ; then 6789 6961 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 6790 6962 found="yes" ··· 6809 6981 6810 6982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6811 6983 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6812 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6813 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6814 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6815 - $as_echo_n "(cached) " >&6 6816 - else 6984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6985 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6986 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 6987 + then : 6988 + printf %s "(cached) " >&6 6989 + else $as_nop 6817 6990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6818 6991 /* end confdefs.h. */ 6819 6992 int i; 6820 6993 _ACEOF 6821 - if ac_fn_c_try_compile "$LINENO"; then : 6994 + if ac_fn_c_try_compile "$LINENO" 6995 + then : 6822 6996 xorg_cv_cc_flag_unknown_warning_option=yes 6823 - else 6997 + else $as_nop 6824 6998 xorg_cv_cc_flag_unknown_warning_option=no 6825 6999 fi 6826 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7000 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6827 7001 fi 6828 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6829 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7003 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6830 7004 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6831 7005 CFLAGS="$xorg_testset_save_CFLAGS" 6832 7006 fi ··· 6836 7010 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6837 7011 fi 6838 7012 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6839 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6840 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6841 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6842 - $as_echo_n "(cached) " >&6 6843 - else 7013 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7014 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7015 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7016 + then : 7017 + printf %s "(cached) " >&6 7018 + else $as_nop 6844 7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6845 7020 /* end confdefs.h. */ 6846 7021 int i; 6847 7022 _ACEOF 6848 - if ac_fn_c_try_compile "$LINENO"; then : 7023 + if ac_fn_c_try_compile "$LINENO" 7024 + then : 6849 7025 xorg_cv_cc_flag_unused_command_line_argument=yes 6850 - else 7026 + else $as_nop 6851 7027 xorg_cv_cc_flag_unused_command_line_argument=no 6852 7028 fi 6853 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7029 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6854 7030 fi 6855 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6856 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7031 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7032 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6857 7033 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6858 7034 CFLAGS="$xorg_testset_save_CFLAGS" 6859 7035 fi ··· 6871 7047 6872 7048 CFLAGS="$CFLAGS -Werror=nonnull" 6873 7049 6874 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 6875 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 7050 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 7051 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 6876 7052 cacheid=xorg_cv_cc_flag__Werror_nonnull 6877 - if eval \${$cacheid+:} false; then : 6878 - $as_echo_n "(cached) " >&6 6879 - else 7053 + if eval test \${$cacheid+y} 7054 + then : 7055 + printf %s "(cached) " >&6 7056 + else $as_nop 6880 7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6881 7058 /* end confdefs.h. */ 6882 7059 int i; 6883 7060 int 6884 - main () 7061 + main (void) 6885 7062 { 6886 7063 6887 7064 ; 6888 7065 return 0; 6889 7066 } 6890 7067 _ACEOF 6891 - if ac_fn_c_try_link "$LINENO"; then : 7068 + if ac_fn_c_try_link "$LINENO" 7069 + then : 6892 7070 eval $cacheid=yes 6893 - else 7071 + else $as_nop 6894 7072 eval $cacheid=no 6895 7073 fi 6896 - rm -f core conftest.err conftest.$ac_objext \ 7074 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6897 7075 conftest$ac_exeext conftest.$ac_ext 6898 7076 fi 6899 7077 ··· 6901 7079 CFLAGS="$xorg_testset_save_CFLAGS" 6902 7080 6903 7081 eval supported=\$$cacheid 6904 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 6905 - $as_echo "$supported" >&6; } 7082 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7083 + printf "%s\n" "$supported" >&6; } 6906 7084 if test "$supported" = "yes" ; then 6907 7085 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 6908 7086 found="yes" ··· 6927 7105 6928 7106 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 6929 7107 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6930 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 6931 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 6932 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 6933 - $as_echo_n "(cached) " >&6 6934 - else 7108 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7109 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7110 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7111 + then : 7112 + printf %s "(cached) " >&6 7113 + else $as_nop 6935 7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6936 7115 /* end confdefs.h. */ 6937 7116 int i; 6938 7117 _ACEOF 6939 - if ac_fn_c_try_compile "$LINENO"; then : 7118 + if ac_fn_c_try_compile "$LINENO" 7119 + then : 6940 7120 xorg_cv_cc_flag_unknown_warning_option=yes 6941 - else 7121 + else $as_nop 6942 7122 xorg_cv_cc_flag_unknown_warning_option=no 6943 7123 fi 6944 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7124 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6945 7125 fi 6946 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 6947 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7126 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7127 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 6948 7128 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 6949 7129 CFLAGS="$xorg_testset_save_CFLAGS" 6950 7130 fi ··· 6954 7134 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 6955 7135 fi 6956 7136 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 6957 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 6958 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 6959 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 6960 - $as_echo_n "(cached) " >&6 6961 - else 7137 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7138 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7139 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7140 + then : 7141 + printf %s "(cached) " >&6 7142 + else $as_nop 6962 7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6963 7144 /* end confdefs.h. */ 6964 7145 int i; 6965 7146 _ACEOF 6966 - if ac_fn_c_try_compile "$LINENO"; then : 7147 + if ac_fn_c_try_compile "$LINENO" 7148 + then : 6967 7149 xorg_cv_cc_flag_unused_command_line_argument=yes 6968 - else 7150 + else $as_nop 6969 7151 xorg_cv_cc_flag_unused_command_line_argument=no 6970 7152 fi 6971 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7153 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6972 7154 fi 6973 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 6974 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7155 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7156 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 6975 7157 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 6976 7158 CFLAGS="$xorg_testset_save_CFLAGS" 6977 7159 fi ··· 6989 7171 6990 7172 CFLAGS="$CFLAGS -Werror=init-self" 6991 7173 6992 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 6993 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 7174 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 7175 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 6994 7176 cacheid=xorg_cv_cc_flag__Werror_init_self 6995 - if eval \${$cacheid+:} false; then : 6996 - $as_echo_n "(cached) " >&6 6997 - else 7177 + if eval test \${$cacheid+y} 7178 + then : 7179 + printf %s "(cached) " >&6 7180 + else $as_nop 6998 7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6999 7182 /* end confdefs.h. */ 7000 7183 int i; 7001 7184 int 7002 - main () 7185 + main (void) 7003 7186 { 7004 7187 7005 7188 ; 7006 7189 return 0; 7007 7190 } 7008 7191 _ACEOF 7009 - if ac_fn_c_try_link "$LINENO"; then : 7192 + if ac_fn_c_try_link "$LINENO" 7193 + then : 7010 7194 eval $cacheid=yes 7011 - else 7195 + else $as_nop 7012 7196 eval $cacheid=no 7013 7197 fi 7014 - rm -f core conftest.err conftest.$ac_objext \ 7198 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7015 7199 conftest$ac_exeext conftest.$ac_ext 7016 7200 fi 7017 7201 ··· 7019 7203 CFLAGS="$xorg_testset_save_CFLAGS" 7020 7204 7021 7205 eval supported=\$$cacheid 7022 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7023 - $as_echo "$supported" >&6; } 7206 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7207 + printf "%s\n" "$supported" >&6; } 7024 7208 if test "$supported" = "yes" ; then 7025 7209 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 7026 7210 found="yes" ··· 7045 7229 7046 7230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7047 7231 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7048 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7049 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7050 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7051 - $as_echo_n "(cached) " >&6 7052 - else 7232 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7233 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7234 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7235 + then : 7236 + printf %s "(cached) " >&6 7237 + else $as_nop 7053 7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7054 7239 /* end confdefs.h. */ 7055 7240 int i; 7056 7241 _ACEOF 7057 - if ac_fn_c_try_compile "$LINENO"; then : 7242 + if ac_fn_c_try_compile "$LINENO" 7243 + then : 7058 7244 xorg_cv_cc_flag_unknown_warning_option=yes 7059 - else 7245 + else $as_nop 7060 7246 xorg_cv_cc_flag_unknown_warning_option=no 7061 7247 fi 7062 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7248 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7063 7249 fi 7064 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7065 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7250 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7251 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7066 7252 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7067 7253 CFLAGS="$xorg_testset_save_CFLAGS" 7068 7254 fi ··· 7072 7258 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7073 7259 fi 7074 7260 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7075 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7076 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7077 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7078 - $as_echo_n "(cached) " >&6 7079 - else 7261 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7262 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7263 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7264 + then : 7265 + printf %s "(cached) " >&6 7266 + else $as_nop 7080 7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7081 7268 /* end confdefs.h. */ 7082 7269 int i; 7083 7270 _ACEOF 7084 - if ac_fn_c_try_compile "$LINENO"; then : 7271 + if ac_fn_c_try_compile "$LINENO" 7272 + then : 7085 7273 xorg_cv_cc_flag_unused_command_line_argument=yes 7086 - else 7274 + else $as_nop 7087 7275 xorg_cv_cc_flag_unused_command_line_argument=no 7088 7276 fi 7089 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7277 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7090 7278 fi 7091 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7092 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7279 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7280 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7093 7281 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7094 7282 CFLAGS="$xorg_testset_save_CFLAGS" 7095 7283 fi ··· 7107 7295 7108 7296 CFLAGS="$CFLAGS -Werror=main" 7109 7297 7110 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7111 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 7298 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 7299 + printf %s "checking if $CC supports -Werror=main... " >&6; } 7112 7300 cacheid=xorg_cv_cc_flag__Werror_main 7113 - if eval \${$cacheid+:} false; then : 7114 - $as_echo_n "(cached) " >&6 7115 - else 7301 + if eval test \${$cacheid+y} 7302 + then : 7303 + printf %s "(cached) " >&6 7304 + else $as_nop 7116 7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7117 7306 /* end confdefs.h. */ 7118 7307 int i; 7119 7308 int 7120 - main () 7309 + main (void) 7121 7310 { 7122 7311 7123 7312 ; 7124 7313 return 0; 7125 7314 } 7126 7315 _ACEOF 7127 - if ac_fn_c_try_link "$LINENO"; then : 7316 + if ac_fn_c_try_link "$LINENO" 7317 + then : 7128 7318 eval $cacheid=yes 7129 - else 7319 + else $as_nop 7130 7320 eval $cacheid=no 7131 7321 fi 7132 - rm -f core conftest.err conftest.$ac_objext \ 7322 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7133 7323 conftest$ac_exeext conftest.$ac_ext 7134 7324 fi 7135 7325 ··· 7137 7327 CFLAGS="$xorg_testset_save_CFLAGS" 7138 7328 7139 7329 eval supported=\$$cacheid 7140 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7141 - $as_echo "$supported" >&6; } 7330 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7331 + printf "%s\n" "$supported" >&6; } 7142 7332 if test "$supported" = "yes" ; then 7143 7333 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 7144 7334 found="yes" ··· 7163 7353 7164 7354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7165 7355 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7166 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7167 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7168 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7169 - $as_echo_n "(cached) " >&6 7170 - else 7356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7357 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7358 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7359 + then : 7360 + printf %s "(cached) " >&6 7361 + else $as_nop 7171 7362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7172 7363 /* end confdefs.h. */ 7173 7364 int i; 7174 7365 _ACEOF 7175 - if ac_fn_c_try_compile "$LINENO"; then : 7366 + if ac_fn_c_try_compile "$LINENO" 7367 + then : 7176 7368 xorg_cv_cc_flag_unknown_warning_option=yes 7177 - else 7369 + else $as_nop 7178 7370 xorg_cv_cc_flag_unknown_warning_option=no 7179 7371 fi 7180 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7372 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7181 7373 fi 7182 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7183 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7374 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7375 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7184 7376 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7185 7377 CFLAGS="$xorg_testset_save_CFLAGS" 7186 7378 fi ··· 7190 7382 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7191 7383 fi 7192 7384 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7193 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7194 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7195 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7196 - $as_echo_n "(cached) " >&6 7197 - else 7385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7386 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7387 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7388 + then : 7389 + printf %s "(cached) " >&6 7390 + else $as_nop 7198 7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7199 7392 /* end confdefs.h. */ 7200 7393 int i; 7201 7394 _ACEOF 7202 - if ac_fn_c_try_compile "$LINENO"; then : 7395 + if ac_fn_c_try_compile "$LINENO" 7396 + then : 7203 7397 xorg_cv_cc_flag_unused_command_line_argument=yes 7204 - else 7398 + else $as_nop 7205 7399 xorg_cv_cc_flag_unused_command_line_argument=no 7206 7400 fi 7207 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7401 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7208 7402 fi 7209 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7210 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7403 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7404 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7211 7405 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7212 7406 CFLAGS="$xorg_testset_save_CFLAGS" 7213 7407 fi ··· 7225 7419 7226 7420 CFLAGS="$CFLAGS -Werror=missing-braces" 7227 7421 7228 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7229 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 7422 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 7423 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 7230 7424 cacheid=xorg_cv_cc_flag__Werror_missing_braces 7231 - if eval \${$cacheid+:} false; then : 7232 - $as_echo_n "(cached) " >&6 7233 - else 7425 + if eval test \${$cacheid+y} 7426 + then : 7427 + printf %s "(cached) " >&6 7428 + else $as_nop 7234 7429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7235 7430 /* end confdefs.h. */ 7236 7431 int i; 7237 7432 int 7238 - main () 7433 + main (void) 7239 7434 { 7240 7435 7241 7436 ; 7242 7437 return 0; 7243 7438 } 7244 7439 _ACEOF 7245 - if ac_fn_c_try_link "$LINENO"; then : 7440 + if ac_fn_c_try_link "$LINENO" 7441 + then : 7246 7442 eval $cacheid=yes 7247 - else 7443 + else $as_nop 7248 7444 eval $cacheid=no 7249 7445 fi 7250 - rm -f core conftest.err conftest.$ac_objext \ 7446 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7251 7447 conftest$ac_exeext conftest.$ac_ext 7252 7448 fi 7253 7449 ··· 7255 7451 CFLAGS="$xorg_testset_save_CFLAGS" 7256 7452 7257 7453 eval supported=\$$cacheid 7258 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7259 - $as_echo "$supported" >&6; } 7454 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7455 + printf "%s\n" "$supported" >&6; } 7260 7456 if test "$supported" = "yes" ; then 7261 7457 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 7262 7458 found="yes" ··· 7281 7477 7282 7478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7283 7479 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7284 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7285 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7286 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7287 - $as_echo_n "(cached) " >&6 7288 - else 7480 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7481 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7482 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7483 + then : 7484 + printf %s "(cached) " >&6 7485 + else $as_nop 7289 7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7290 7487 /* end confdefs.h. */ 7291 7488 int i; 7292 7489 _ACEOF 7293 - if ac_fn_c_try_compile "$LINENO"; then : 7490 + if ac_fn_c_try_compile "$LINENO" 7491 + then : 7294 7492 xorg_cv_cc_flag_unknown_warning_option=yes 7295 - else 7493 + else $as_nop 7296 7494 xorg_cv_cc_flag_unknown_warning_option=no 7297 7495 fi 7298 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7496 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7299 7497 fi 7300 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7301 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7498 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7499 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7302 7500 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7303 7501 CFLAGS="$xorg_testset_save_CFLAGS" 7304 7502 fi ··· 7308 7506 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7309 7507 fi 7310 7508 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7311 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7312 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7313 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7314 - $as_echo_n "(cached) " >&6 7315 - else 7509 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7510 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7511 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7512 + then : 7513 + printf %s "(cached) " >&6 7514 + else $as_nop 7316 7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7317 7516 /* end confdefs.h. */ 7318 7517 int i; 7319 7518 _ACEOF 7320 - if ac_fn_c_try_compile "$LINENO"; then : 7519 + if ac_fn_c_try_compile "$LINENO" 7520 + then : 7321 7521 xorg_cv_cc_flag_unused_command_line_argument=yes 7322 - else 7522 + else $as_nop 7323 7523 xorg_cv_cc_flag_unused_command_line_argument=no 7324 7524 fi 7325 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7525 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7326 7526 fi 7327 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7328 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7527 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7528 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7329 7529 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7330 7530 CFLAGS="$xorg_testset_save_CFLAGS" 7331 7531 fi ··· 7343 7543 7344 7544 CFLAGS="$CFLAGS -Werror=sequence-point" 7345 7545 7346 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7347 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 7546 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 7547 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 7348 7548 cacheid=xorg_cv_cc_flag__Werror_sequence_point 7349 - if eval \${$cacheid+:} false; then : 7350 - $as_echo_n "(cached) " >&6 7351 - else 7549 + if eval test \${$cacheid+y} 7550 + then : 7551 + printf %s "(cached) " >&6 7552 + else $as_nop 7352 7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7353 7554 /* end confdefs.h. */ 7354 7555 int i; 7355 7556 int 7356 - main () 7557 + main (void) 7357 7558 { 7358 7559 7359 7560 ; 7360 7561 return 0; 7361 7562 } 7362 7563 _ACEOF 7363 - if ac_fn_c_try_link "$LINENO"; then : 7564 + if ac_fn_c_try_link "$LINENO" 7565 + then : 7364 7566 eval $cacheid=yes 7365 - else 7567 + else $as_nop 7366 7568 eval $cacheid=no 7367 7569 fi 7368 - rm -f core conftest.err conftest.$ac_objext \ 7570 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7369 7571 conftest$ac_exeext conftest.$ac_ext 7370 7572 fi 7371 7573 ··· 7373 7575 CFLAGS="$xorg_testset_save_CFLAGS" 7374 7576 7375 7577 eval supported=\$$cacheid 7376 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7377 - $as_echo "$supported" >&6; } 7578 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7579 + printf "%s\n" "$supported" >&6; } 7378 7580 if test "$supported" = "yes" ; then 7379 7581 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 7380 7582 found="yes" ··· 7399 7601 7400 7602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7401 7603 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7402 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7403 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7404 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7405 - $as_echo_n "(cached) " >&6 7406 - else 7604 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7605 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7606 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7607 + then : 7608 + printf %s "(cached) " >&6 7609 + else $as_nop 7407 7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7408 7611 /* end confdefs.h. */ 7409 7612 int i; 7410 7613 _ACEOF 7411 - if ac_fn_c_try_compile "$LINENO"; then : 7614 + if ac_fn_c_try_compile "$LINENO" 7615 + then : 7412 7616 xorg_cv_cc_flag_unknown_warning_option=yes 7413 - else 7617 + else $as_nop 7414 7618 xorg_cv_cc_flag_unknown_warning_option=no 7415 7619 fi 7416 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7620 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7417 7621 fi 7418 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7419 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7622 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7623 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7420 7624 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7421 7625 CFLAGS="$xorg_testset_save_CFLAGS" 7422 7626 fi ··· 7426 7630 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7427 7631 fi 7428 7632 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7429 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7430 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7431 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7432 - $as_echo_n "(cached) " >&6 7433 - else 7633 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7634 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7635 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7636 + then : 7637 + printf %s "(cached) " >&6 7638 + else $as_nop 7434 7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7435 7640 /* end confdefs.h. */ 7436 7641 int i; 7437 7642 _ACEOF 7438 - if ac_fn_c_try_compile "$LINENO"; then : 7643 + if ac_fn_c_try_compile "$LINENO" 7644 + then : 7439 7645 xorg_cv_cc_flag_unused_command_line_argument=yes 7440 - else 7646 + else $as_nop 7441 7647 xorg_cv_cc_flag_unused_command_line_argument=no 7442 7648 fi 7443 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7649 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7444 7650 fi 7445 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7446 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7651 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7652 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7447 7653 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7448 7654 CFLAGS="$xorg_testset_save_CFLAGS" 7449 7655 fi ··· 7461 7667 7462 7668 CFLAGS="$CFLAGS -Werror=return-type" 7463 7669 7464 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7465 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 7670 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 7671 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 7466 7672 cacheid=xorg_cv_cc_flag__Werror_return_type 7467 - if eval \${$cacheid+:} false; then : 7468 - $as_echo_n "(cached) " >&6 7469 - else 7673 + if eval test \${$cacheid+y} 7674 + then : 7675 + printf %s "(cached) " >&6 7676 + else $as_nop 7470 7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7471 7678 /* end confdefs.h. */ 7472 7679 int i; 7473 7680 int 7474 - main () 7681 + main (void) 7475 7682 { 7476 7683 7477 7684 ; 7478 7685 return 0; 7479 7686 } 7480 7687 _ACEOF 7481 - if ac_fn_c_try_link "$LINENO"; then : 7688 + if ac_fn_c_try_link "$LINENO" 7689 + then : 7482 7690 eval $cacheid=yes 7483 - else 7691 + else $as_nop 7484 7692 eval $cacheid=no 7485 7693 fi 7486 - rm -f core conftest.err conftest.$ac_objext \ 7694 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7487 7695 conftest$ac_exeext conftest.$ac_ext 7488 7696 fi 7489 7697 ··· 7491 7699 CFLAGS="$xorg_testset_save_CFLAGS" 7492 7700 7493 7701 eval supported=\$$cacheid 7494 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7495 - $as_echo "$supported" >&6; } 7702 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7703 + printf "%s\n" "$supported" >&6; } 7496 7704 if test "$supported" = "yes" ; then 7497 7705 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 7498 7706 found="yes" ··· 7510 7718 7511 7719 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7512 7720 7513 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7514 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7721 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 7722 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 7515 7723 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 7516 - if eval \${$cacheid+:} false; then : 7517 - $as_echo_n "(cached) " >&6 7518 - else 7724 + if eval test \${$cacheid+y} 7725 + then : 7726 + printf %s "(cached) " >&6 7727 + else $as_nop 7519 7728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7520 7729 /* end confdefs.h. */ 7521 7730 int i; 7522 7731 int 7523 - main () 7732 + main (void) 7524 7733 { 7525 7734 7526 7735 ; 7527 7736 return 0; 7528 7737 } 7529 7738 _ACEOF 7530 - if ac_fn_c_try_link "$LINENO"; then : 7739 + if ac_fn_c_try_link "$LINENO" 7740 + then : 7531 7741 eval $cacheid=yes 7532 - else 7742 + else $as_nop 7533 7743 eval $cacheid=no 7534 7744 fi 7535 - rm -f core conftest.err conftest.$ac_objext \ 7745 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7536 7746 conftest$ac_exeext conftest.$ac_ext 7537 7747 fi 7538 7748 ··· 7540 7750 CFLAGS="$xorg_testset_save_CFLAGS" 7541 7751 7542 7752 eval supported=\$$cacheid 7543 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7544 - $as_echo "$supported" >&6; } 7753 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7754 + printf "%s\n" "$supported" >&6; } 7545 7755 if test "$supported" = "yes" ; then 7546 7756 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 7547 7757 found="yes" ··· 7566 7776 7567 7777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7568 7778 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7569 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7570 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7571 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7572 - $as_echo_n "(cached) " >&6 7573 - else 7779 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7780 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7781 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7782 + then : 7783 + printf %s "(cached) " >&6 7784 + else $as_nop 7574 7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7575 7786 /* end confdefs.h. */ 7576 7787 int i; 7577 7788 _ACEOF 7578 - if ac_fn_c_try_compile "$LINENO"; then : 7789 + if ac_fn_c_try_compile "$LINENO" 7790 + then : 7579 7791 xorg_cv_cc_flag_unknown_warning_option=yes 7580 - else 7792 + else $as_nop 7581 7793 xorg_cv_cc_flag_unknown_warning_option=no 7582 7794 fi 7583 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7795 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7584 7796 fi 7585 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7586 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7797 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7798 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7587 7799 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7588 7800 CFLAGS="$xorg_testset_save_CFLAGS" 7589 7801 fi ··· 7593 7805 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7594 7806 fi 7595 7807 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7596 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7597 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7598 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7599 - $as_echo_n "(cached) " >&6 7600 - else 7808 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7809 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7810 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7811 + then : 7812 + printf %s "(cached) " >&6 7813 + else $as_nop 7601 7814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7602 7815 /* end confdefs.h. */ 7603 7816 int i; 7604 7817 _ACEOF 7605 - if ac_fn_c_try_compile "$LINENO"; then : 7818 + if ac_fn_c_try_compile "$LINENO" 7819 + then : 7606 7820 xorg_cv_cc_flag_unused_command_line_argument=yes 7607 - else 7821 + else $as_nop 7608 7822 xorg_cv_cc_flag_unused_command_line_argument=no 7609 7823 fi 7610 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7824 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7611 7825 fi 7612 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7613 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7826 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7827 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7614 7828 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7615 7829 CFLAGS="$xorg_testset_save_CFLAGS" 7616 7830 fi ··· 7628 7842 7629 7843 CFLAGS="$CFLAGS -Werror=trigraphs" 7630 7844 7631 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7632 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 7845 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 7846 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 7633 7847 cacheid=xorg_cv_cc_flag__Werror_trigraphs 7634 - if eval \${$cacheid+:} false; then : 7635 - $as_echo_n "(cached) " >&6 7636 - else 7848 + if eval test \${$cacheid+y} 7849 + then : 7850 + printf %s "(cached) " >&6 7851 + else $as_nop 7637 7852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7638 7853 /* end confdefs.h. */ 7639 7854 int i; 7640 7855 int 7641 - main () 7856 + main (void) 7642 7857 { 7643 7858 7644 7859 ; 7645 7860 return 0; 7646 7861 } 7647 7862 _ACEOF 7648 - if ac_fn_c_try_link "$LINENO"; then : 7863 + if ac_fn_c_try_link "$LINENO" 7864 + then : 7649 7865 eval $cacheid=yes 7650 - else 7866 + else $as_nop 7651 7867 eval $cacheid=no 7652 7868 fi 7653 - rm -f core conftest.err conftest.$ac_objext \ 7869 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7654 7870 conftest$ac_exeext conftest.$ac_ext 7655 7871 fi 7656 7872 ··· 7658 7874 CFLAGS="$xorg_testset_save_CFLAGS" 7659 7875 7660 7876 eval supported=\$$cacheid 7661 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7662 - $as_echo "$supported" >&6; } 7877 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7878 + printf "%s\n" "$supported" >&6; } 7663 7879 if test "$supported" = "yes" ; then 7664 7880 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 7665 7881 found="yes" ··· 7684 7900 7685 7901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7686 7902 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7687 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7688 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7689 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7690 - $as_echo_n "(cached) " >&6 7691 - else 7903 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7904 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7905 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 7906 + then : 7907 + printf %s "(cached) " >&6 7908 + else $as_nop 7692 7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7693 7910 /* end confdefs.h. */ 7694 7911 int i; 7695 7912 _ACEOF 7696 - if ac_fn_c_try_compile "$LINENO"; then : 7913 + if ac_fn_c_try_compile "$LINENO" 7914 + then : 7697 7915 xorg_cv_cc_flag_unknown_warning_option=yes 7698 - else 7916 + else $as_nop 7699 7917 xorg_cv_cc_flag_unknown_warning_option=no 7700 7918 fi 7701 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7919 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7702 7920 fi 7703 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7704 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7921 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7922 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7705 7923 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7706 7924 CFLAGS="$xorg_testset_save_CFLAGS" 7707 7925 fi ··· 7711 7929 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7712 7930 fi 7713 7931 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7714 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7715 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7716 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7717 - $as_echo_n "(cached) " >&6 7718 - else 7932 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7933 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7934 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 7935 + then : 7936 + printf %s "(cached) " >&6 7937 + else $as_nop 7719 7938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7720 7939 /* end confdefs.h. */ 7721 7940 int i; 7722 7941 _ACEOF 7723 - if ac_fn_c_try_compile "$LINENO"; then : 7942 + if ac_fn_c_try_compile "$LINENO" 7943 + then : 7724 7944 xorg_cv_cc_flag_unused_command_line_argument=yes 7725 - else 7945 + else $as_nop 7726 7946 xorg_cv_cc_flag_unused_command_line_argument=no 7727 7947 fi 7728 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7948 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7729 7949 fi 7730 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7731 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7950 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7951 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7732 7952 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7733 7953 CFLAGS="$xorg_testset_save_CFLAGS" 7734 7954 fi ··· 7746 7966 7747 7967 CFLAGS="$CFLAGS -Werror=array-bounds" 7748 7968 7749 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7750 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 7969 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 7970 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 7751 7971 cacheid=xorg_cv_cc_flag__Werror_array_bounds 7752 - if eval \${$cacheid+:} false; then : 7753 - $as_echo_n "(cached) " >&6 7754 - else 7972 + if eval test \${$cacheid+y} 7973 + then : 7974 + printf %s "(cached) " >&6 7975 + else $as_nop 7755 7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7756 7977 /* end confdefs.h. */ 7757 7978 int i; 7758 7979 int 7759 - main () 7980 + main (void) 7760 7981 { 7761 7982 7762 7983 ; 7763 7984 return 0; 7764 7985 } 7765 7986 _ACEOF 7766 - if ac_fn_c_try_link "$LINENO"; then : 7987 + if ac_fn_c_try_link "$LINENO" 7988 + then : 7767 7989 eval $cacheid=yes 7768 - else 7990 + else $as_nop 7769 7991 eval $cacheid=no 7770 7992 fi 7771 - rm -f core conftest.err conftest.$ac_objext \ 7993 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7772 7994 conftest$ac_exeext conftest.$ac_ext 7773 7995 fi 7774 7996 ··· 7776 7998 CFLAGS="$xorg_testset_save_CFLAGS" 7777 7999 7778 8000 eval supported=\$$cacheid 7779 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7780 - $as_echo "$supported" >&6; } 8001 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8002 + printf "%s\n" "$supported" >&6; } 7781 8003 if test "$supported" = "yes" ; then 7782 8004 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 7783 8005 found="yes" ··· 7802 8024 7803 8025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7804 8026 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7805 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7806 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7807 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7808 - $as_echo_n "(cached) " >&6 7809 - else 8027 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8028 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8029 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8030 + then : 8031 + printf %s "(cached) " >&6 8032 + else $as_nop 7810 8033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7811 8034 /* end confdefs.h. */ 7812 8035 int i; 7813 8036 _ACEOF 7814 - if ac_fn_c_try_compile "$LINENO"; then : 8037 + if ac_fn_c_try_compile "$LINENO" 8038 + then : 7815 8039 xorg_cv_cc_flag_unknown_warning_option=yes 7816 - else 8040 + else $as_nop 7817 8041 xorg_cv_cc_flag_unknown_warning_option=no 7818 8042 fi 7819 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8043 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7820 8044 fi 7821 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7822 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8046 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7823 8047 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7824 8048 CFLAGS="$xorg_testset_save_CFLAGS" 7825 8049 fi ··· 7829 8053 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7830 8054 fi 7831 8055 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7832 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7833 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7834 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7835 - $as_echo_n "(cached) " >&6 7836 - else 8056 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8057 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8058 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8059 + then : 8060 + printf %s "(cached) " >&6 8061 + else $as_nop 7837 8062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7838 8063 /* end confdefs.h. */ 7839 8064 int i; 7840 8065 _ACEOF 7841 - if ac_fn_c_try_compile "$LINENO"; then : 8066 + if ac_fn_c_try_compile "$LINENO" 8067 + then : 7842 8068 xorg_cv_cc_flag_unused_command_line_argument=yes 7843 - else 8069 + else $as_nop 7844 8070 xorg_cv_cc_flag_unused_command_line_argument=no 7845 8071 fi 7846 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8072 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7847 8073 fi 7848 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7849 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8074 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8075 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7850 8076 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7851 8077 CFLAGS="$xorg_testset_save_CFLAGS" 7852 8078 fi ··· 7864 8090 7865 8091 CFLAGS="$CFLAGS -Werror=write-strings" 7866 8092 7867 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 7868 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 8093 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 8094 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 7869 8095 cacheid=xorg_cv_cc_flag__Werror_write_strings 7870 - if eval \${$cacheid+:} false; then : 7871 - $as_echo_n "(cached) " >&6 7872 - else 8096 + if eval test \${$cacheid+y} 8097 + then : 8098 + printf %s "(cached) " >&6 8099 + else $as_nop 7873 8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7874 8101 /* end confdefs.h. */ 7875 8102 int i; 7876 8103 int 7877 - main () 8104 + main (void) 7878 8105 { 7879 8106 7880 8107 ; 7881 8108 return 0; 7882 8109 } 7883 8110 _ACEOF 7884 - if ac_fn_c_try_link "$LINENO"; then : 8111 + if ac_fn_c_try_link "$LINENO" 8112 + then : 7885 8113 eval $cacheid=yes 7886 - else 8114 + else $as_nop 7887 8115 eval $cacheid=no 7888 8116 fi 7889 - rm -f core conftest.err conftest.$ac_objext \ 8117 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7890 8118 conftest$ac_exeext conftest.$ac_ext 7891 8119 fi 7892 8120 ··· 7894 8122 CFLAGS="$xorg_testset_save_CFLAGS" 7895 8123 7896 8124 eval supported=\$$cacheid 7897 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 7898 - $as_echo "$supported" >&6; } 8125 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8126 + printf "%s\n" "$supported" >&6; } 7899 8127 if test "$supported" = "yes" ; then 7900 8128 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 7901 8129 found="yes" ··· 7920 8148 7921 8149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 7922 8150 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7923 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 7924 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 7925 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 7926 - $as_echo_n "(cached) " >&6 7927 - else 8151 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8152 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8153 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8154 + then : 8155 + printf %s "(cached) " >&6 8156 + else $as_nop 7928 8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7929 8158 /* end confdefs.h. */ 7930 8159 int i; 7931 8160 _ACEOF 7932 - if ac_fn_c_try_compile "$LINENO"; then : 8161 + if ac_fn_c_try_compile "$LINENO" 8162 + then : 7933 8163 xorg_cv_cc_flag_unknown_warning_option=yes 7934 - else 8164 + else $as_nop 7935 8165 xorg_cv_cc_flag_unknown_warning_option=no 7936 8166 fi 7937 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8167 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7938 8168 fi 7939 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 7940 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8169 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8170 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 7941 8171 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 7942 8172 CFLAGS="$xorg_testset_save_CFLAGS" 7943 8173 fi ··· 7947 8177 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 7948 8178 fi 7949 8179 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 7950 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 7951 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 7952 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 7953 - $as_echo_n "(cached) " >&6 7954 - else 8180 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8181 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8182 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8183 + then : 8184 + printf %s "(cached) " >&6 8185 + else $as_nop 7955 8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7956 8187 /* end confdefs.h. */ 7957 8188 int i; 7958 8189 _ACEOF 7959 - if ac_fn_c_try_compile "$LINENO"; then : 8190 + if ac_fn_c_try_compile "$LINENO" 8191 + then : 7960 8192 xorg_cv_cc_flag_unused_command_line_argument=yes 7961 - else 8193 + else $as_nop 7962 8194 xorg_cv_cc_flag_unused_command_line_argument=no 7963 8195 fi 7964 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8196 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7965 8197 fi 7966 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 7967 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8198 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8199 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 7968 8200 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 7969 8201 CFLAGS="$xorg_testset_save_CFLAGS" 7970 8202 fi ··· 7982 8214 7983 8215 CFLAGS="$CFLAGS -Werror=address" 7984 8216 7985 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 7986 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 8217 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 8218 + printf %s "checking if $CC supports -Werror=address... " >&6; } 7987 8219 cacheid=xorg_cv_cc_flag__Werror_address 7988 - if eval \${$cacheid+:} false; then : 7989 - $as_echo_n "(cached) " >&6 7990 - else 8220 + if eval test \${$cacheid+y} 8221 + then : 8222 + printf %s "(cached) " >&6 8223 + else $as_nop 7991 8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7992 8225 /* end confdefs.h. */ 7993 8226 int i; 7994 8227 int 7995 - main () 8228 + main (void) 7996 8229 { 7997 8230 7998 8231 ; 7999 8232 return 0; 8000 8233 } 8001 8234 _ACEOF 8002 - if ac_fn_c_try_link "$LINENO"; then : 8235 + if ac_fn_c_try_link "$LINENO" 8236 + then : 8003 8237 eval $cacheid=yes 8004 - else 8238 + else $as_nop 8005 8239 eval $cacheid=no 8006 8240 fi 8007 - rm -f core conftest.err conftest.$ac_objext \ 8241 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8008 8242 conftest$ac_exeext conftest.$ac_ext 8009 8243 fi 8010 8244 ··· 8012 8246 CFLAGS="$xorg_testset_save_CFLAGS" 8013 8247 8014 8248 eval supported=\$$cacheid 8015 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8016 - $as_echo "$supported" >&6; } 8249 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8250 + printf "%s\n" "$supported" >&6; } 8017 8251 if test "$supported" = "yes" ; then 8018 8252 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 8019 8253 found="yes" ··· 8038 8272 8039 8273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8040 8274 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8041 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8042 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8043 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8044 - $as_echo_n "(cached) " >&6 8045 - else 8275 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8276 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8277 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8278 + then : 8279 + printf %s "(cached) " >&6 8280 + else $as_nop 8046 8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8047 8282 /* end confdefs.h. */ 8048 8283 int i; 8049 8284 _ACEOF 8050 - if ac_fn_c_try_compile "$LINENO"; then : 8285 + if ac_fn_c_try_compile "$LINENO" 8286 + then : 8051 8287 xorg_cv_cc_flag_unknown_warning_option=yes 8052 - else 8288 + else $as_nop 8053 8289 xorg_cv_cc_flag_unknown_warning_option=no 8054 8290 fi 8055 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8291 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8056 8292 fi 8057 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8058 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8293 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8294 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8059 8295 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8060 8296 CFLAGS="$xorg_testset_save_CFLAGS" 8061 8297 fi ··· 8065 8301 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8066 8302 fi 8067 8303 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8068 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8069 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8070 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8071 - $as_echo_n "(cached) " >&6 8072 - else 8304 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8305 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8306 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8307 + then : 8308 + printf %s "(cached) " >&6 8309 + else $as_nop 8073 8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8074 8311 /* end confdefs.h. */ 8075 8312 int i; 8076 8313 _ACEOF 8077 - if ac_fn_c_try_compile "$LINENO"; then : 8314 + if ac_fn_c_try_compile "$LINENO" 8315 + then : 8078 8316 xorg_cv_cc_flag_unused_command_line_argument=yes 8079 - else 8317 + else $as_nop 8080 8318 xorg_cv_cc_flag_unused_command_line_argument=no 8081 8319 fi 8082 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8320 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8083 8321 fi 8084 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8085 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8322 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8323 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8086 8324 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8087 8325 CFLAGS="$xorg_testset_save_CFLAGS" 8088 8326 fi ··· 8100 8338 8101 8339 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 8102 8340 8103 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8104 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8341 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 8342 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 8105 8343 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 8106 - if eval \${$cacheid+:} false; then : 8107 - $as_echo_n "(cached) " >&6 8108 - else 8344 + if eval test \${$cacheid+y} 8345 + then : 8346 + printf %s "(cached) " >&6 8347 + else $as_nop 8109 8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8110 8349 /* end confdefs.h. */ 8111 8350 int i; 8112 8351 int 8113 - main () 8352 + main (void) 8114 8353 { 8115 8354 8116 8355 ; 8117 8356 return 0; 8118 8357 } 8119 8358 _ACEOF 8120 - if ac_fn_c_try_link "$LINENO"; then : 8359 + if ac_fn_c_try_link "$LINENO" 8360 + then : 8121 8361 eval $cacheid=yes 8122 - else 8362 + else $as_nop 8123 8363 eval $cacheid=no 8124 8364 fi 8125 - rm -f core conftest.err conftest.$ac_objext \ 8365 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8126 8366 conftest$ac_exeext conftest.$ac_ext 8127 8367 fi 8128 8368 ··· 8130 8370 CFLAGS="$xorg_testset_save_CFLAGS" 8131 8371 8132 8372 eval supported=\$$cacheid 8133 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8134 - $as_echo "$supported" >&6; } 8373 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8374 + printf "%s\n" "$supported" >&6; } 8135 8375 if test "$supported" = "yes" ; then 8136 8376 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 8137 8377 found="yes" ··· 8149 8389 8150 8390 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8151 8391 8152 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8153 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8392 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 8393 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 8154 8394 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 8155 - if eval \${$cacheid+:} false; then : 8156 - $as_echo_n "(cached) " >&6 8157 - else 8395 + if eval test \${$cacheid+y} 8396 + then : 8397 + printf %s "(cached) " >&6 8398 + else $as_nop 8158 8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8159 8400 /* end confdefs.h. */ 8160 8401 int i; 8161 8402 int 8162 - main () 8403 + main (void) 8163 8404 { 8164 8405 8165 8406 ; 8166 8407 return 0; 8167 8408 } 8168 8409 _ACEOF 8169 - if ac_fn_c_try_link "$LINENO"; then : 8410 + if ac_fn_c_try_link "$LINENO" 8411 + then : 8170 8412 eval $cacheid=yes 8171 - else 8413 + else $as_nop 8172 8414 eval $cacheid=no 8173 8415 fi 8174 - rm -f core conftest.err conftest.$ac_objext \ 8416 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8175 8417 conftest$ac_exeext conftest.$ac_ext 8176 8418 fi 8177 8419 ··· 8179 8421 CFLAGS="$xorg_testset_save_CFLAGS" 8180 8422 8181 8423 eval supported=\$$cacheid 8182 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8183 - $as_echo "$supported" >&6; } 8424 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8425 + printf "%s\n" "$supported" >&6; } 8184 8426 if test "$supported" = "yes" ; then 8185 8427 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 8186 8428 found="yes" ··· 8205 8447 8206 8448 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8207 8449 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8208 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8209 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8210 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8211 - $as_echo_n "(cached) " >&6 8212 - else 8450 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8451 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8452 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8453 + then : 8454 + printf %s "(cached) " >&6 8455 + else $as_nop 8213 8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8214 8457 /* end confdefs.h. */ 8215 8458 int i; 8216 8459 _ACEOF 8217 - if ac_fn_c_try_compile "$LINENO"; then : 8460 + if ac_fn_c_try_compile "$LINENO" 8461 + then : 8218 8462 xorg_cv_cc_flag_unknown_warning_option=yes 8219 - else 8463 + else $as_nop 8220 8464 xorg_cv_cc_flag_unknown_warning_option=no 8221 8465 fi 8222 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8466 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8223 8467 fi 8224 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8225 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8468 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8469 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8226 8470 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8227 8471 CFLAGS="$xorg_testset_save_CFLAGS" 8228 8472 fi ··· 8232 8476 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8233 8477 fi 8234 8478 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8235 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8236 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8237 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8238 - $as_echo_n "(cached) " >&6 8239 - else 8479 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8480 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8481 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8482 + then : 8483 + printf %s "(cached) " >&6 8484 + else $as_nop 8240 8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8241 8486 /* end confdefs.h. */ 8242 8487 int i; 8243 8488 _ACEOF 8244 - if ac_fn_c_try_compile "$LINENO"; then : 8489 + if ac_fn_c_try_compile "$LINENO" 8490 + then : 8245 8491 xorg_cv_cc_flag_unused_command_line_argument=yes 8246 - else 8492 + else $as_nop 8247 8493 xorg_cv_cc_flag_unused_command_line_argument=no 8248 8494 fi 8249 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8495 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8250 8496 fi 8251 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8252 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8497 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8498 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8253 8499 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8254 8500 CFLAGS="$xorg_testset_save_CFLAGS" 8255 8501 fi ··· 8267 8513 8268 8514 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 8269 8515 8270 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8271 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8516 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 8517 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 8272 8518 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 8273 - if eval \${$cacheid+:} false; then : 8274 - $as_echo_n "(cached) " >&6 8275 - else 8519 + if eval test \${$cacheid+y} 8520 + then : 8521 + printf %s "(cached) " >&6 8522 + else $as_nop 8276 8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8277 8524 /* end confdefs.h. */ 8278 8525 int i; 8279 8526 int 8280 - main () 8527 + main (void) 8281 8528 { 8282 8529 8283 8530 ; 8284 8531 return 0; 8285 8532 } 8286 8533 _ACEOF 8287 - if ac_fn_c_try_link "$LINENO"; then : 8534 + if ac_fn_c_try_link "$LINENO" 8535 + then : 8288 8536 eval $cacheid=yes 8289 - else 8537 + else $as_nop 8290 8538 eval $cacheid=no 8291 8539 fi 8292 - rm -f core conftest.err conftest.$ac_objext \ 8540 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8293 8541 conftest$ac_exeext conftest.$ac_ext 8294 8542 fi 8295 8543 ··· 8297 8545 CFLAGS="$xorg_testset_save_CFLAGS" 8298 8546 8299 8547 eval supported=\$$cacheid 8300 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8301 - $as_echo "$supported" >&6; } 8548 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8549 + printf "%s\n" "$supported" >&6; } 8302 8550 if test "$supported" = "yes" ; then 8303 8551 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 8304 8552 found="yes" ··· 8307 8555 8308 8556 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 8309 8557 else 8310 - { $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 8311 - $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;} 8558 + { 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 8559 + 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;} 8312 8560 8313 8561 8314 8562 ··· 8326 8574 8327 8575 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8328 8576 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8329 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8330 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8331 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8332 - $as_echo_n "(cached) " >&6 8333 - else 8577 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8578 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8579 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8580 + then : 8581 + printf %s "(cached) " >&6 8582 + else $as_nop 8334 8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8335 8584 /* end confdefs.h. */ 8336 8585 int i; 8337 8586 _ACEOF 8338 - if ac_fn_c_try_compile "$LINENO"; then : 8587 + if ac_fn_c_try_compile "$LINENO" 8588 + then : 8339 8589 xorg_cv_cc_flag_unknown_warning_option=yes 8340 - else 8590 + else $as_nop 8341 8591 xorg_cv_cc_flag_unknown_warning_option=no 8342 8592 fi 8343 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8593 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8344 8594 fi 8345 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8346 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8595 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8596 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8347 8597 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8348 8598 CFLAGS="$xorg_testset_save_CFLAGS" 8349 8599 fi ··· 8353 8603 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8354 8604 fi 8355 8605 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8356 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8357 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8358 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8359 - $as_echo_n "(cached) " >&6 8360 - else 8606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8607 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8608 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8609 + then : 8610 + printf %s "(cached) " >&6 8611 + else $as_nop 8361 8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8362 8613 /* end confdefs.h. */ 8363 8614 int i; 8364 8615 _ACEOF 8365 - if ac_fn_c_try_compile "$LINENO"; then : 8616 + if ac_fn_c_try_compile "$LINENO" 8617 + then : 8366 8618 xorg_cv_cc_flag_unused_command_line_argument=yes 8367 - else 8619 + else $as_nop 8368 8620 xorg_cv_cc_flag_unused_command_line_argument=no 8369 8621 fi 8370 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8622 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8371 8623 fi 8372 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8373 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8624 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8625 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8374 8626 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8375 8627 CFLAGS="$xorg_testset_save_CFLAGS" 8376 8628 fi ··· 8388 8640 8389 8641 CFLAGS="$CFLAGS -Wimplicit" 8390 8642 8391 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8392 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 8643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 8644 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 8393 8645 cacheid=xorg_cv_cc_flag__Wimplicit 8394 - if eval \${$cacheid+:} false; then : 8395 - $as_echo_n "(cached) " >&6 8396 - else 8646 + if eval test \${$cacheid+y} 8647 + then : 8648 + printf %s "(cached) " >&6 8649 + else $as_nop 8397 8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8398 8651 /* end confdefs.h. */ 8399 8652 int i; 8400 8653 int 8401 - main () 8654 + main (void) 8402 8655 { 8403 8656 8404 8657 ; 8405 8658 return 0; 8406 8659 } 8407 8660 _ACEOF 8408 - if ac_fn_c_try_link "$LINENO"; then : 8661 + if ac_fn_c_try_link "$LINENO" 8662 + then : 8409 8663 eval $cacheid=yes 8410 - else 8664 + else $as_nop 8411 8665 eval $cacheid=no 8412 8666 fi 8413 - rm -f core conftest.err conftest.$ac_objext \ 8667 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8414 8668 conftest$ac_exeext conftest.$ac_ext 8415 8669 fi 8416 8670 ··· 8418 8672 CFLAGS="$xorg_testset_save_CFLAGS" 8419 8673 8420 8674 eval supported=\$$cacheid 8421 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8422 - $as_echo "$supported" >&6; } 8675 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8676 + printf "%s\n" "$supported" >&6; } 8423 8677 if test "$supported" = "yes" ; then 8424 8678 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 8425 8679 found="yes" ··· 8444 8698 8445 8699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8446 8700 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8447 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8448 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8449 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8450 - $as_echo_n "(cached) " >&6 8451 - else 8701 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8702 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8703 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8704 + then : 8705 + printf %s "(cached) " >&6 8706 + else $as_nop 8452 8707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8453 8708 /* end confdefs.h. */ 8454 8709 int i; 8455 8710 _ACEOF 8456 - if ac_fn_c_try_compile "$LINENO"; then : 8711 + if ac_fn_c_try_compile "$LINENO" 8712 + then : 8457 8713 xorg_cv_cc_flag_unknown_warning_option=yes 8458 - else 8714 + else $as_nop 8459 8715 xorg_cv_cc_flag_unknown_warning_option=no 8460 8716 fi 8461 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8717 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8462 8718 fi 8463 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8464 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8719 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8720 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8465 8721 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8466 8722 CFLAGS="$xorg_testset_save_CFLAGS" 8467 8723 fi ··· 8471 8727 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8472 8728 fi 8473 8729 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8474 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8475 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8476 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8477 - $as_echo_n "(cached) " >&6 8478 - else 8730 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8731 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8732 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8733 + then : 8734 + printf %s "(cached) " >&6 8735 + else $as_nop 8479 8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8480 8737 /* end confdefs.h. */ 8481 8738 int i; 8482 8739 _ACEOF 8483 - if ac_fn_c_try_compile "$LINENO"; then : 8740 + if ac_fn_c_try_compile "$LINENO" 8741 + then : 8484 8742 xorg_cv_cc_flag_unused_command_line_argument=yes 8485 - else 8743 + else $as_nop 8486 8744 xorg_cv_cc_flag_unused_command_line_argument=no 8487 8745 fi 8488 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8746 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8489 8747 fi 8490 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8491 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8748 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8749 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8492 8750 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8493 8751 CFLAGS="$xorg_testset_save_CFLAGS" 8494 8752 fi ··· 8506 8764 8507 8765 CFLAGS="$CFLAGS -Wnonnull" 8508 8766 8509 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8510 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 8767 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 8768 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 8511 8769 cacheid=xorg_cv_cc_flag__Wnonnull 8512 - if eval \${$cacheid+:} false; then : 8513 - $as_echo_n "(cached) " >&6 8514 - else 8770 + if eval test \${$cacheid+y} 8771 + then : 8772 + printf %s "(cached) " >&6 8773 + else $as_nop 8515 8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8516 8775 /* end confdefs.h. */ 8517 8776 int i; 8518 8777 int 8519 - main () 8778 + main (void) 8520 8779 { 8521 8780 8522 8781 ; 8523 8782 return 0; 8524 8783 } 8525 8784 _ACEOF 8526 - if ac_fn_c_try_link "$LINENO"; then : 8785 + if ac_fn_c_try_link "$LINENO" 8786 + then : 8527 8787 eval $cacheid=yes 8528 - else 8788 + else $as_nop 8529 8789 eval $cacheid=no 8530 8790 fi 8531 - rm -f core conftest.err conftest.$ac_objext \ 8791 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8532 8792 conftest$ac_exeext conftest.$ac_ext 8533 8793 fi 8534 8794 ··· 8536 8796 CFLAGS="$xorg_testset_save_CFLAGS" 8537 8797 8538 8798 eval supported=\$$cacheid 8539 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8540 - $as_echo "$supported" >&6; } 8799 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8800 + printf "%s\n" "$supported" >&6; } 8541 8801 if test "$supported" = "yes" ; then 8542 8802 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 8543 8803 found="yes" ··· 8562 8822 8563 8823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8564 8824 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8565 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8566 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8567 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8568 - $as_echo_n "(cached) " >&6 8569 - else 8825 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8826 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8827 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8828 + then : 8829 + printf %s "(cached) " >&6 8830 + else $as_nop 8570 8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8571 8832 /* end confdefs.h. */ 8572 8833 int i; 8573 8834 _ACEOF 8574 - if ac_fn_c_try_compile "$LINENO"; then : 8835 + if ac_fn_c_try_compile "$LINENO" 8836 + then : 8575 8837 xorg_cv_cc_flag_unknown_warning_option=yes 8576 - else 8838 + else $as_nop 8577 8839 xorg_cv_cc_flag_unknown_warning_option=no 8578 8840 fi 8579 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8841 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8580 8842 fi 8581 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8582 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8843 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8844 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8583 8845 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8584 8846 CFLAGS="$xorg_testset_save_CFLAGS" 8585 8847 fi ··· 8589 8851 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8590 8852 fi 8591 8853 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8592 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8593 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8594 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8595 - $as_echo_n "(cached) " >&6 8596 - else 8854 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8855 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8856 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8857 + then : 8858 + printf %s "(cached) " >&6 8859 + else $as_nop 8597 8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8598 8861 /* end confdefs.h. */ 8599 8862 int i; 8600 8863 _ACEOF 8601 - if ac_fn_c_try_compile "$LINENO"; then : 8864 + if ac_fn_c_try_compile "$LINENO" 8865 + then : 8602 8866 xorg_cv_cc_flag_unused_command_line_argument=yes 8603 - else 8867 + else $as_nop 8604 8868 xorg_cv_cc_flag_unused_command_line_argument=no 8605 8869 fi 8606 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8870 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8607 8871 fi 8608 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8609 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8872 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8873 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8610 8874 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8611 8875 CFLAGS="$xorg_testset_save_CFLAGS" 8612 8876 fi ··· 8624 8888 8625 8889 CFLAGS="$CFLAGS -Winit-self" 8626 8890 8627 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8628 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 8891 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 8892 + printf %s "checking if $CC supports -Winit-self... " >&6; } 8629 8893 cacheid=xorg_cv_cc_flag__Winit_self 8630 - if eval \${$cacheid+:} false; then : 8631 - $as_echo_n "(cached) " >&6 8632 - else 8894 + if eval test \${$cacheid+y} 8895 + then : 8896 + printf %s "(cached) " >&6 8897 + else $as_nop 8633 8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8634 8899 /* end confdefs.h. */ 8635 8900 int i; 8636 8901 int 8637 - main () 8902 + main (void) 8638 8903 { 8639 8904 8640 8905 ; 8641 8906 return 0; 8642 8907 } 8643 8908 _ACEOF 8644 - if ac_fn_c_try_link "$LINENO"; then : 8909 + if ac_fn_c_try_link "$LINENO" 8910 + then : 8645 8911 eval $cacheid=yes 8646 - else 8912 + else $as_nop 8647 8913 eval $cacheid=no 8648 8914 fi 8649 - rm -f core conftest.err conftest.$ac_objext \ 8915 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8650 8916 conftest$ac_exeext conftest.$ac_ext 8651 8917 fi 8652 8918 ··· 8654 8920 CFLAGS="$xorg_testset_save_CFLAGS" 8655 8921 8656 8922 eval supported=\$$cacheid 8657 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8658 - $as_echo "$supported" >&6; } 8923 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8924 + printf "%s\n" "$supported" >&6; } 8659 8925 if test "$supported" = "yes" ; then 8660 8926 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 8661 8927 found="yes" ··· 8680 8946 8681 8947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8682 8948 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8683 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8684 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8685 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8686 - $as_echo_n "(cached) " >&6 8687 - else 8949 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8950 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8951 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 8952 + then : 8953 + printf %s "(cached) " >&6 8954 + else $as_nop 8688 8955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8689 8956 /* end confdefs.h. */ 8690 8957 int i; 8691 8958 _ACEOF 8692 - if ac_fn_c_try_compile "$LINENO"; then : 8959 + if ac_fn_c_try_compile "$LINENO" 8960 + then : 8693 8961 xorg_cv_cc_flag_unknown_warning_option=yes 8694 - else 8962 + else $as_nop 8695 8963 xorg_cv_cc_flag_unknown_warning_option=no 8696 8964 fi 8697 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8965 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8698 8966 fi 8699 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8700 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8967 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8968 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8701 8969 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8702 8970 CFLAGS="$xorg_testset_save_CFLAGS" 8703 8971 fi ··· 8707 8975 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8708 8976 fi 8709 8977 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8710 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8711 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8712 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8713 - $as_echo_n "(cached) " >&6 8714 - else 8978 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8979 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8980 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 8981 + then : 8982 + printf %s "(cached) " >&6 8983 + else $as_nop 8715 8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8716 8985 /* end confdefs.h. */ 8717 8986 int i; 8718 8987 _ACEOF 8719 - if ac_fn_c_try_compile "$LINENO"; then : 8988 + if ac_fn_c_try_compile "$LINENO" 8989 + then : 8720 8990 xorg_cv_cc_flag_unused_command_line_argument=yes 8721 - else 8991 + else $as_nop 8722 8992 xorg_cv_cc_flag_unused_command_line_argument=no 8723 8993 fi 8724 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8994 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8725 8995 fi 8726 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8727 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8996 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8997 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8728 8998 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8729 8999 CFLAGS="$xorg_testset_save_CFLAGS" 8730 9000 fi ··· 8742 9012 8743 9013 CFLAGS="$CFLAGS -Wmain" 8744 9014 8745 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 8746 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 9015 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 9016 + printf %s "checking if $CC supports -Wmain... " >&6; } 8747 9017 cacheid=xorg_cv_cc_flag__Wmain 8748 - if eval \${$cacheid+:} false; then : 8749 - $as_echo_n "(cached) " >&6 8750 - else 9018 + if eval test \${$cacheid+y} 9019 + then : 9020 + printf %s "(cached) " >&6 9021 + else $as_nop 8751 9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8752 9023 /* end confdefs.h. */ 8753 9024 int i; 8754 9025 int 8755 - main () 9026 + main (void) 8756 9027 { 8757 9028 8758 9029 ; 8759 9030 return 0; 8760 9031 } 8761 9032 _ACEOF 8762 - if ac_fn_c_try_link "$LINENO"; then : 9033 + if ac_fn_c_try_link "$LINENO" 9034 + then : 8763 9035 eval $cacheid=yes 8764 - else 9036 + else $as_nop 8765 9037 eval $cacheid=no 8766 9038 fi 8767 - rm -f core conftest.err conftest.$ac_objext \ 9039 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8768 9040 conftest$ac_exeext conftest.$ac_ext 8769 9041 fi 8770 9042 ··· 8772 9044 CFLAGS="$xorg_testset_save_CFLAGS" 8773 9045 8774 9046 eval supported=\$$cacheid 8775 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8776 - $as_echo "$supported" >&6; } 9047 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9048 + printf "%s\n" "$supported" >&6; } 8777 9049 if test "$supported" = "yes" ; then 8778 9050 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 8779 9051 found="yes" ··· 8798 9070 8799 9071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8800 9072 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8801 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8802 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8803 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8804 - $as_echo_n "(cached) " >&6 8805 - else 9073 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9074 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9075 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9076 + then : 9077 + printf %s "(cached) " >&6 9078 + else $as_nop 8806 9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8807 9080 /* end confdefs.h. */ 8808 9081 int i; 8809 9082 _ACEOF 8810 - if ac_fn_c_try_compile "$LINENO"; then : 9083 + if ac_fn_c_try_compile "$LINENO" 9084 + then : 8811 9085 xorg_cv_cc_flag_unknown_warning_option=yes 8812 - else 9086 + else $as_nop 8813 9087 xorg_cv_cc_flag_unknown_warning_option=no 8814 9088 fi 8815 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9089 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8816 9090 fi 8817 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8818 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9092 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8819 9093 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8820 9094 CFLAGS="$xorg_testset_save_CFLAGS" 8821 9095 fi ··· 8825 9099 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8826 9100 fi 8827 9101 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8828 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8829 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8830 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8831 - $as_echo_n "(cached) " >&6 8832 - else 9102 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9103 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9104 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9105 + then : 9106 + printf %s "(cached) " >&6 9107 + else $as_nop 8833 9108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8834 9109 /* end confdefs.h. */ 8835 9110 int i; 8836 9111 _ACEOF 8837 - if ac_fn_c_try_compile "$LINENO"; then : 9112 + if ac_fn_c_try_compile "$LINENO" 9113 + then : 8838 9114 xorg_cv_cc_flag_unused_command_line_argument=yes 8839 - else 9115 + else $as_nop 8840 9116 xorg_cv_cc_flag_unused_command_line_argument=no 8841 9117 fi 8842 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9118 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8843 9119 fi 8844 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8845 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9120 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9121 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8846 9122 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8847 9123 CFLAGS="$xorg_testset_save_CFLAGS" 8848 9124 fi ··· 8860 9136 8861 9137 CFLAGS="$CFLAGS -Wmissing-braces" 8862 9138 8863 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 8864 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 9139 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 9140 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 8865 9141 cacheid=xorg_cv_cc_flag__Wmissing_braces 8866 - if eval \${$cacheid+:} false; then : 8867 - $as_echo_n "(cached) " >&6 8868 - else 9142 + if eval test \${$cacheid+y} 9143 + then : 9144 + printf %s "(cached) " >&6 9145 + else $as_nop 8869 9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8870 9147 /* end confdefs.h. */ 8871 9148 int i; 8872 9149 int 8873 - main () 9150 + main (void) 8874 9151 { 8875 9152 8876 9153 ; 8877 9154 return 0; 8878 9155 } 8879 9156 _ACEOF 8880 - if ac_fn_c_try_link "$LINENO"; then : 9157 + if ac_fn_c_try_link "$LINENO" 9158 + then : 8881 9159 eval $cacheid=yes 8882 - else 9160 + else $as_nop 8883 9161 eval $cacheid=no 8884 9162 fi 8885 - rm -f core conftest.err conftest.$ac_objext \ 9163 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8886 9164 conftest$ac_exeext conftest.$ac_ext 8887 9165 fi 8888 9166 ··· 8890 9168 CFLAGS="$xorg_testset_save_CFLAGS" 8891 9169 8892 9170 eval supported=\$$cacheid 8893 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 8894 - $as_echo "$supported" >&6; } 9171 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9172 + printf "%s\n" "$supported" >&6; } 8895 9173 if test "$supported" = "yes" ; then 8896 9174 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 8897 9175 found="yes" ··· 8916 9194 8917 9195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 8918 9196 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8919 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 8920 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 8921 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 8922 - $as_echo_n "(cached) " >&6 8923 - else 9197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9198 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9199 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9200 + then : 9201 + printf %s "(cached) " >&6 9202 + else $as_nop 8924 9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8925 9204 /* end confdefs.h. */ 8926 9205 int i; 8927 9206 _ACEOF 8928 - if ac_fn_c_try_compile "$LINENO"; then : 9207 + if ac_fn_c_try_compile "$LINENO" 9208 + then : 8929 9209 xorg_cv_cc_flag_unknown_warning_option=yes 8930 - else 9210 + else $as_nop 8931 9211 xorg_cv_cc_flag_unknown_warning_option=no 8932 9212 fi 8933 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9213 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8934 9214 fi 8935 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 8936 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9216 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 8937 9217 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 8938 9218 CFLAGS="$xorg_testset_save_CFLAGS" 8939 9219 fi ··· 8943 9223 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 8944 9224 fi 8945 9225 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 8946 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 8947 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 8948 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 8949 - $as_echo_n "(cached) " >&6 8950 - else 9226 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9227 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9228 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9229 + then : 9230 + printf %s "(cached) " >&6 9231 + else $as_nop 8951 9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8952 9233 /* end confdefs.h. */ 8953 9234 int i; 8954 9235 _ACEOF 8955 - if ac_fn_c_try_compile "$LINENO"; then : 9236 + if ac_fn_c_try_compile "$LINENO" 9237 + then : 8956 9238 xorg_cv_cc_flag_unused_command_line_argument=yes 8957 - else 9239 + else $as_nop 8958 9240 xorg_cv_cc_flag_unused_command_line_argument=no 8959 9241 fi 8960 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9242 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 8961 9243 fi 8962 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 8963 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9245 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 8964 9246 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 8965 9247 CFLAGS="$xorg_testset_save_CFLAGS" 8966 9248 fi ··· 8978 9260 8979 9261 CFLAGS="$CFLAGS -Wsequence-point" 8980 9262 8981 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 8982 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 9263 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 9264 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 8983 9265 cacheid=xorg_cv_cc_flag__Wsequence_point 8984 - if eval \${$cacheid+:} false; then : 8985 - $as_echo_n "(cached) " >&6 8986 - else 9266 + if eval test \${$cacheid+y} 9267 + then : 9268 + printf %s "(cached) " >&6 9269 + else $as_nop 8987 9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8988 9271 /* end confdefs.h. */ 8989 9272 int i; 8990 9273 int 8991 - main () 9274 + main (void) 8992 9275 { 8993 9276 8994 9277 ; 8995 9278 return 0; 8996 9279 } 8997 9280 _ACEOF 8998 - if ac_fn_c_try_link "$LINENO"; then : 9281 + if ac_fn_c_try_link "$LINENO" 9282 + then : 8999 9283 eval $cacheid=yes 9000 - else 9284 + else $as_nop 9001 9285 eval $cacheid=no 9002 9286 fi 9003 - rm -f core conftest.err conftest.$ac_objext \ 9287 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9004 9288 conftest$ac_exeext conftest.$ac_ext 9005 9289 fi 9006 9290 ··· 9008 9292 CFLAGS="$xorg_testset_save_CFLAGS" 9009 9293 9010 9294 eval supported=\$$cacheid 9011 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9012 - $as_echo "$supported" >&6; } 9295 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9296 + printf "%s\n" "$supported" >&6; } 9013 9297 if test "$supported" = "yes" ; then 9014 9298 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 9015 9299 found="yes" ··· 9034 9318 9035 9319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9036 9320 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9037 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9038 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9039 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9040 - $as_echo_n "(cached) " >&6 9041 - else 9321 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9322 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9323 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9324 + then : 9325 + printf %s "(cached) " >&6 9326 + else $as_nop 9042 9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9043 9328 /* end confdefs.h. */ 9044 9329 int i; 9045 9330 _ACEOF 9046 - if ac_fn_c_try_compile "$LINENO"; then : 9331 + if ac_fn_c_try_compile "$LINENO" 9332 + then : 9047 9333 xorg_cv_cc_flag_unknown_warning_option=yes 9048 - else 9334 + else $as_nop 9049 9335 xorg_cv_cc_flag_unknown_warning_option=no 9050 9336 fi 9051 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9337 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9052 9338 fi 9053 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9054 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9340 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9055 9341 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9056 9342 CFLAGS="$xorg_testset_save_CFLAGS" 9057 9343 fi ··· 9061 9347 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9062 9348 fi 9063 9349 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9064 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9065 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9066 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9067 - $as_echo_n "(cached) " >&6 9068 - else 9350 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9351 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9352 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9353 + then : 9354 + printf %s "(cached) " >&6 9355 + else $as_nop 9069 9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9070 9357 /* end confdefs.h. */ 9071 9358 int i; 9072 9359 _ACEOF 9073 - if ac_fn_c_try_compile "$LINENO"; then : 9360 + if ac_fn_c_try_compile "$LINENO" 9361 + then : 9074 9362 xorg_cv_cc_flag_unused_command_line_argument=yes 9075 - else 9363 + else $as_nop 9076 9364 xorg_cv_cc_flag_unused_command_line_argument=no 9077 9365 fi 9078 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9366 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9079 9367 fi 9080 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9081 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9368 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9369 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9082 9370 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9083 9371 CFLAGS="$xorg_testset_save_CFLAGS" 9084 9372 fi ··· 9096 9384 9097 9385 CFLAGS="$CFLAGS -Wreturn-type" 9098 9386 9099 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9100 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 9387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 9388 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 9101 9389 cacheid=xorg_cv_cc_flag__Wreturn_type 9102 - if eval \${$cacheid+:} false; then : 9103 - $as_echo_n "(cached) " >&6 9104 - else 9390 + if eval test \${$cacheid+y} 9391 + then : 9392 + printf %s "(cached) " >&6 9393 + else $as_nop 9105 9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9106 9395 /* end confdefs.h. */ 9107 9396 int i; 9108 9397 int 9109 - main () 9398 + main (void) 9110 9399 { 9111 9400 9112 9401 ; 9113 9402 return 0; 9114 9403 } 9115 9404 _ACEOF 9116 - if ac_fn_c_try_link "$LINENO"; then : 9405 + if ac_fn_c_try_link "$LINENO" 9406 + then : 9117 9407 eval $cacheid=yes 9118 - else 9408 + else $as_nop 9119 9409 eval $cacheid=no 9120 9410 fi 9121 - rm -f core conftest.err conftest.$ac_objext \ 9411 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9122 9412 conftest$ac_exeext conftest.$ac_ext 9123 9413 fi 9124 9414 ··· 9126 9416 CFLAGS="$xorg_testset_save_CFLAGS" 9127 9417 9128 9418 eval supported=\$$cacheid 9129 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9130 - $as_echo "$supported" >&6; } 9419 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9420 + printf "%s\n" "$supported" >&6; } 9131 9421 if test "$supported" = "yes" ; then 9132 9422 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 9133 9423 found="yes" ··· 9152 9442 9153 9443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9154 9444 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9155 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9156 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9157 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9158 - $as_echo_n "(cached) " >&6 9159 - else 9445 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9446 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9447 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9448 + then : 9449 + printf %s "(cached) " >&6 9450 + else $as_nop 9160 9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9161 9452 /* end confdefs.h. */ 9162 9453 int i; 9163 9454 _ACEOF 9164 - if ac_fn_c_try_compile "$LINENO"; then : 9455 + if ac_fn_c_try_compile "$LINENO" 9456 + then : 9165 9457 xorg_cv_cc_flag_unknown_warning_option=yes 9166 - else 9458 + else $as_nop 9167 9459 xorg_cv_cc_flag_unknown_warning_option=no 9168 9460 fi 9169 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9461 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9170 9462 fi 9171 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9172 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9464 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9173 9465 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9174 9466 CFLAGS="$xorg_testset_save_CFLAGS" 9175 9467 fi ··· 9179 9471 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9180 9472 fi 9181 9473 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9182 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9183 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9184 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9185 - $as_echo_n "(cached) " >&6 9186 - else 9474 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9475 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9476 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9477 + then : 9478 + printf %s "(cached) " >&6 9479 + else $as_nop 9187 9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9188 9481 /* end confdefs.h. */ 9189 9482 int i; 9190 9483 _ACEOF 9191 - if ac_fn_c_try_compile "$LINENO"; then : 9484 + if ac_fn_c_try_compile "$LINENO" 9485 + then : 9192 9486 xorg_cv_cc_flag_unused_command_line_argument=yes 9193 - else 9487 + else $as_nop 9194 9488 xorg_cv_cc_flag_unused_command_line_argument=no 9195 9489 fi 9196 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9490 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9197 9491 fi 9198 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9199 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9492 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9493 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9200 9494 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9201 9495 CFLAGS="$xorg_testset_save_CFLAGS" 9202 9496 fi ··· 9214 9508 9215 9509 CFLAGS="$CFLAGS -Wtrigraphs" 9216 9510 9217 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9218 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 9511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 9512 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 9219 9513 cacheid=xorg_cv_cc_flag__Wtrigraphs 9220 - if eval \${$cacheid+:} false; then : 9221 - $as_echo_n "(cached) " >&6 9222 - else 9514 + if eval test \${$cacheid+y} 9515 + then : 9516 + printf %s "(cached) " >&6 9517 + else $as_nop 9223 9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9224 9519 /* end confdefs.h. */ 9225 9520 int i; 9226 9521 int 9227 - main () 9522 + main (void) 9228 9523 { 9229 9524 9230 9525 ; 9231 9526 return 0; 9232 9527 } 9233 9528 _ACEOF 9234 - if ac_fn_c_try_link "$LINENO"; then : 9529 + if ac_fn_c_try_link "$LINENO" 9530 + then : 9235 9531 eval $cacheid=yes 9236 - else 9532 + else $as_nop 9237 9533 eval $cacheid=no 9238 9534 fi 9239 - rm -f core conftest.err conftest.$ac_objext \ 9535 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9240 9536 conftest$ac_exeext conftest.$ac_ext 9241 9537 fi 9242 9538 ··· 9244 9540 CFLAGS="$xorg_testset_save_CFLAGS" 9245 9541 9246 9542 eval supported=\$$cacheid 9247 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9248 - $as_echo "$supported" >&6; } 9543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9544 + printf "%s\n" "$supported" >&6; } 9249 9545 if test "$supported" = "yes" ; then 9250 9546 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 9251 9547 found="yes" ··· 9270 9566 9271 9567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9272 9568 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9273 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9274 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9275 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9276 - $as_echo_n "(cached) " >&6 9277 - else 9569 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9570 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9571 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9572 + then : 9573 + printf %s "(cached) " >&6 9574 + else $as_nop 9278 9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9279 9576 /* end confdefs.h. */ 9280 9577 int i; 9281 9578 _ACEOF 9282 - if ac_fn_c_try_compile "$LINENO"; then : 9579 + if ac_fn_c_try_compile "$LINENO" 9580 + then : 9283 9581 xorg_cv_cc_flag_unknown_warning_option=yes 9284 - else 9582 + else $as_nop 9285 9583 xorg_cv_cc_flag_unknown_warning_option=no 9286 9584 fi 9287 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9585 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9288 9586 fi 9289 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9290 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9588 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9291 9589 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9292 9590 CFLAGS="$xorg_testset_save_CFLAGS" 9293 9591 fi ··· 9297 9595 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9298 9596 fi 9299 9597 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9300 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9301 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9302 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9303 - $as_echo_n "(cached) " >&6 9304 - else 9598 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9599 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9600 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9601 + then : 9602 + printf %s "(cached) " >&6 9603 + else $as_nop 9305 9604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9306 9605 /* end confdefs.h. */ 9307 9606 int i; 9308 9607 _ACEOF 9309 - if ac_fn_c_try_compile "$LINENO"; then : 9608 + if ac_fn_c_try_compile "$LINENO" 9609 + then : 9310 9610 xorg_cv_cc_flag_unused_command_line_argument=yes 9311 - else 9611 + else $as_nop 9312 9612 xorg_cv_cc_flag_unused_command_line_argument=no 9313 9613 fi 9314 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9614 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9315 9615 fi 9316 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9317 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9616 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9617 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9318 9618 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9319 9619 CFLAGS="$xorg_testset_save_CFLAGS" 9320 9620 fi ··· 9332 9632 9333 9633 CFLAGS="$CFLAGS -Warray-bounds" 9334 9634 9335 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9336 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 9635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 9636 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 9337 9637 cacheid=xorg_cv_cc_flag__Warray_bounds 9338 - if eval \${$cacheid+:} false; then : 9339 - $as_echo_n "(cached) " >&6 9340 - else 9638 + if eval test \${$cacheid+y} 9639 + then : 9640 + printf %s "(cached) " >&6 9641 + else $as_nop 9341 9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9342 9643 /* end confdefs.h. */ 9343 9644 int i; 9344 9645 int 9345 - main () 9646 + main (void) 9346 9647 { 9347 9648 9348 9649 ; 9349 9650 return 0; 9350 9651 } 9351 9652 _ACEOF 9352 - if ac_fn_c_try_link "$LINENO"; then : 9653 + if ac_fn_c_try_link "$LINENO" 9654 + then : 9353 9655 eval $cacheid=yes 9354 - else 9656 + else $as_nop 9355 9657 eval $cacheid=no 9356 9658 fi 9357 - rm -f core conftest.err conftest.$ac_objext \ 9659 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9358 9660 conftest$ac_exeext conftest.$ac_ext 9359 9661 fi 9360 9662 ··· 9362 9664 CFLAGS="$xorg_testset_save_CFLAGS" 9363 9665 9364 9666 eval supported=\$$cacheid 9365 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9366 - $as_echo "$supported" >&6; } 9667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9668 + printf "%s\n" "$supported" >&6; } 9367 9669 if test "$supported" = "yes" ; then 9368 9670 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 9369 9671 found="yes" ··· 9388 9690 9389 9691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9390 9692 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9391 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9392 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9393 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9394 - $as_echo_n "(cached) " >&6 9395 - else 9693 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9694 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9695 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9696 + then : 9697 + printf %s "(cached) " >&6 9698 + else $as_nop 9396 9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9397 9700 /* end confdefs.h. */ 9398 9701 int i; 9399 9702 _ACEOF 9400 - if ac_fn_c_try_compile "$LINENO"; then : 9703 + if ac_fn_c_try_compile "$LINENO" 9704 + then : 9401 9705 xorg_cv_cc_flag_unknown_warning_option=yes 9402 - else 9706 + else $as_nop 9403 9707 xorg_cv_cc_flag_unknown_warning_option=no 9404 9708 fi 9405 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9709 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9406 9710 fi 9407 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9408 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9712 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9409 9713 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9410 9714 CFLAGS="$xorg_testset_save_CFLAGS" 9411 9715 fi ··· 9415 9719 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9416 9720 fi 9417 9721 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9418 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9419 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9420 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9421 - $as_echo_n "(cached) " >&6 9422 - else 9722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9723 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9724 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9725 + then : 9726 + printf %s "(cached) " >&6 9727 + else $as_nop 9423 9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9424 9729 /* end confdefs.h. */ 9425 9730 int i; 9426 9731 _ACEOF 9427 - if ac_fn_c_try_compile "$LINENO"; then : 9732 + if ac_fn_c_try_compile "$LINENO" 9733 + then : 9428 9734 xorg_cv_cc_flag_unused_command_line_argument=yes 9429 - else 9735 + else $as_nop 9430 9736 xorg_cv_cc_flag_unused_command_line_argument=no 9431 9737 fi 9432 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9738 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9433 9739 fi 9434 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9435 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9740 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9741 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9436 9742 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9437 9743 CFLAGS="$xorg_testset_save_CFLAGS" 9438 9744 fi ··· 9450 9756 9451 9757 CFLAGS="$CFLAGS -Wwrite-strings" 9452 9758 9453 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9454 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 9759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 9760 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 9455 9761 cacheid=xorg_cv_cc_flag__Wwrite_strings 9456 - if eval \${$cacheid+:} false; then : 9457 - $as_echo_n "(cached) " >&6 9458 - else 9762 + if eval test \${$cacheid+y} 9763 + then : 9764 + printf %s "(cached) " >&6 9765 + else $as_nop 9459 9766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9460 9767 /* end confdefs.h. */ 9461 9768 int i; 9462 9769 int 9463 - main () 9770 + main (void) 9464 9771 { 9465 9772 9466 9773 ; 9467 9774 return 0; 9468 9775 } 9469 9776 _ACEOF 9470 - if ac_fn_c_try_link "$LINENO"; then : 9777 + if ac_fn_c_try_link "$LINENO" 9778 + then : 9471 9779 eval $cacheid=yes 9472 - else 9780 + else $as_nop 9473 9781 eval $cacheid=no 9474 9782 fi 9475 - rm -f core conftest.err conftest.$ac_objext \ 9783 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9476 9784 conftest$ac_exeext conftest.$ac_ext 9477 9785 fi 9478 9786 ··· 9480 9788 CFLAGS="$xorg_testset_save_CFLAGS" 9481 9789 9482 9790 eval supported=\$$cacheid 9483 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9484 - $as_echo "$supported" >&6; } 9791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9792 + printf "%s\n" "$supported" >&6; } 9485 9793 if test "$supported" = "yes" ; then 9486 9794 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 9487 9795 found="yes" ··· 9506 9814 9507 9815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9508 9816 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9509 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9510 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9511 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9512 - $as_echo_n "(cached) " >&6 9513 - else 9817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9818 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9819 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9820 + then : 9821 + printf %s "(cached) " >&6 9822 + else $as_nop 9514 9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9515 9824 /* end confdefs.h. */ 9516 9825 int i; 9517 9826 _ACEOF 9518 - if ac_fn_c_try_compile "$LINENO"; then : 9827 + if ac_fn_c_try_compile "$LINENO" 9828 + then : 9519 9829 xorg_cv_cc_flag_unknown_warning_option=yes 9520 - else 9830 + else $as_nop 9521 9831 xorg_cv_cc_flag_unknown_warning_option=no 9522 9832 fi 9523 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9833 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9524 9834 fi 9525 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9526 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9835 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9836 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9527 9837 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9528 9838 CFLAGS="$xorg_testset_save_CFLAGS" 9529 9839 fi ··· 9533 9843 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9534 9844 fi 9535 9845 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9536 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9537 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9538 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9539 - $as_echo_n "(cached) " >&6 9540 - else 9846 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9847 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9848 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9849 + then : 9850 + printf %s "(cached) " >&6 9851 + else $as_nop 9541 9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9542 9853 /* end confdefs.h. */ 9543 9854 int i; 9544 9855 _ACEOF 9545 - if ac_fn_c_try_compile "$LINENO"; then : 9856 + if ac_fn_c_try_compile "$LINENO" 9857 + then : 9546 9858 xorg_cv_cc_flag_unused_command_line_argument=yes 9547 - else 9859 + else $as_nop 9548 9860 xorg_cv_cc_flag_unused_command_line_argument=no 9549 9861 fi 9550 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9862 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9551 9863 fi 9552 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9553 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9864 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9865 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9554 9866 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9555 9867 CFLAGS="$xorg_testset_save_CFLAGS" 9556 9868 fi ··· 9568 9880 9569 9881 CFLAGS="$CFLAGS -Waddress" 9570 9882 9571 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9572 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 9883 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 9884 + printf %s "checking if $CC supports -Waddress... " >&6; } 9573 9885 cacheid=xorg_cv_cc_flag__Waddress 9574 - if eval \${$cacheid+:} false; then : 9575 - $as_echo_n "(cached) " >&6 9576 - else 9886 + if eval test \${$cacheid+y} 9887 + then : 9888 + printf %s "(cached) " >&6 9889 + else $as_nop 9577 9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9578 9891 /* end confdefs.h. */ 9579 9892 int i; 9580 9893 int 9581 - main () 9894 + main (void) 9582 9895 { 9583 9896 9584 9897 ; 9585 9898 return 0; 9586 9899 } 9587 9900 _ACEOF 9588 - if ac_fn_c_try_link "$LINENO"; then : 9901 + if ac_fn_c_try_link "$LINENO" 9902 + then : 9589 9903 eval $cacheid=yes 9590 - else 9904 + else $as_nop 9591 9905 eval $cacheid=no 9592 9906 fi 9593 - rm -f core conftest.err conftest.$ac_objext \ 9907 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9594 9908 conftest$ac_exeext conftest.$ac_ext 9595 9909 fi 9596 9910 ··· 9598 9912 CFLAGS="$xorg_testset_save_CFLAGS" 9599 9913 9600 9914 eval supported=\$$cacheid 9601 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9602 - $as_echo "$supported" >&6; } 9915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9916 + printf "%s\n" "$supported" >&6; } 9603 9917 if test "$supported" = "yes" ; then 9604 9918 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 9605 9919 found="yes" ··· 9624 9938 9625 9939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9626 9940 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9627 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9628 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9629 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9630 - $as_echo_n "(cached) " >&6 9631 - else 9941 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9942 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9943 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 9944 + then : 9945 + printf %s "(cached) " >&6 9946 + else $as_nop 9632 9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9633 9948 /* end confdefs.h. */ 9634 9949 int i; 9635 9950 _ACEOF 9636 - if ac_fn_c_try_compile "$LINENO"; then : 9951 + if ac_fn_c_try_compile "$LINENO" 9952 + then : 9637 9953 xorg_cv_cc_flag_unknown_warning_option=yes 9638 - else 9954 + else $as_nop 9639 9955 xorg_cv_cc_flag_unknown_warning_option=no 9640 9956 fi 9641 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9957 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9642 9958 fi 9643 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9644 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9959 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9960 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9645 9961 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9646 9962 CFLAGS="$xorg_testset_save_CFLAGS" 9647 9963 fi ··· 9651 9967 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9652 9968 fi 9653 9969 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9654 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9655 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9656 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9657 - $as_echo_n "(cached) " >&6 9658 - else 9970 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9971 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9972 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 9973 + then : 9974 + printf %s "(cached) " >&6 9975 + else $as_nop 9659 9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9660 9977 /* end confdefs.h. */ 9661 9978 int i; 9662 9979 _ACEOF 9663 - if ac_fn_c_try_compile "$LINENO"; then : 9980 + if ac_fn_c_try_compile "$LINENO" 9981 + then : 9664 9982 xorg_cv_cc_flag_unused_command_line_argument=yes 9665 - else 9983 + else $as_nop 9666 9984 xorg_cv_cc_flag_unused_command_line_argument=no 9667 9985 fi 9668 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9986 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9669 9987 fi 9670 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9671 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9988 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9989 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9672 9990 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9673 9991 CFLAGS="$xorg_testset_save_CFLAGS" 9674 9992 fi ··· 9686 10004 9687 10005 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 9688 10006 9689 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 9690 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 10007 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 10008 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 9691 10009 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 9692 - if eval \${$cacheid+:} false; then : 9693 - $as_echo_n "(cached) " >&6 9694 - else 10010 + if eval test \${$cacheid+y} 10011 + then : 10012 + printf %s "(cached) " >&6 10013 + else $as_nop 9695 10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9696 10015 /* end confdefs.h. */ 9697 10016 int i; 9698 10017 int 9699 - main () 10018 + main (void) 9700 10019 { 9701 10020 9702 10021 ; 9703 10022 return 0; 9704 10023 } 9705 10024 _ACEOF 9706 - if ac_fn_c_try_link "$LINENO"; then : 10025 + if ac_fn_c_try_link "$LINENO" 10026 + then : 9707 10027 eval $cacheid=yes 9708 - else 10028 + else $as_nop 9709 10029 eval $cacheid=no 9710 10030 fi 9711 - rm -f core conftest.err conftest.$ac_objext \ 10031 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9712 10032 conftest$ac_exeext conftest.$ac_ext 9713 10033 fi 9714 10034 ··· 9716 10036 CFLAGS="$xorg_testset_save_CFLAGS" 9717 10037 9718 10038 eval supported=\$$cacheid 9719 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9720 - $as_echo "$supported" >&6; } 10039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10040 + printf "%s\n" "$supported" >&6; } 9721 10041 if test "$supported" = "yes" ; then 9722 10042 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 9723 10043 found="yes" ··· 9742 10062 9743 10063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9744 10064 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9745 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9746 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9747 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9748 - $as_echo_n "(cached) " >&6 9749 - else 10065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10066 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10067 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10068 + then : 10069 + printf %s "(cached) " >&6 10070 + else $as_nop 9750 10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9751 10072 /* end confdefs.h. */ 9752 10073 int i; 9753 10074 _ACEOF 9754 - if ac_fn_c_try_compile "$LINENO"; then : 10075 + if ac_fn_c_try_compile "$LINENO" 10076 + then : 9755 10077 xorg_cv_cc_flag_unknown_warning_option=yes 9756 - else 10078 + else $as_nop 9757 10079 xorg_cv_cc_flag_unknown_warning_option=no 9758 10080 fi 9759 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10081 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9760 10082 fi 9761 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9762 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10083 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10084 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9763 10085 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9764 10086 CFLAGS="$xorg_testset_save_CFLAGS" 9765 10087 fi ··· 9769 10091 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9770 10092 fi 9771 10093 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9772 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9773 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9774 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9775 - $as_echo_n "(cached) " >&6 9776 - else 10094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10095 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10096 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10097 + then : 10098 + printf %s "(cached) " >&6 10099 + else $as_nop 9777 10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9778 10101 /* end confdefs.h. */ 9779 10102 int i; 9780 10103 _ACEOF 9781 - if ac_fn_c_try_compile "$LINENO"; then : 10104 + if ac_fn_c_try_compile "$LINENO" 10105 + then : 9782 10106 xorg_cv_cc_flag_unused_command_line_argument=yes 9783 - else 10107 + else $as_nop 9784 10108 xorg_cv_cc_flag_unused_command_line_argument=no 9785 10109 fi 9786 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10110 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9787 10111 fi 9788 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9789 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10112 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10113 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9790 10114 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9791 10115 CFLAGS="$xorg_testset_save_CFLAGS" 9792 10116 fi ··· 9804 10128 9805 10129 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 9806 10130 9807 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 9808 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 10131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 10132 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 9809 10133 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 9810 - if eval \${$cacheid+:} false; then : 9811 - $as_echo_n "(cached) " >&6 9812 - else 10134 + if eval test \${$cacheid+y} 10135 + then : 10136 + printf %s "(cached) " >&6 10137 + else $as_nop 9813 10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9814 10139 /* end confdefs.h. */ 9815 10140 int i; 9816 10141 int 9817 - main () 10142 + main (void) 9818 10143 { 9819 10144 9820 10145 ; 9821 10146 return 0; 9822 10147 } 9823 10148 _ACEOF 9824 - if ac_fn_c_try_link "$LINENO"; then : 10149 + if ac_fn_c_try_link "$LINENO" 10150 + then : 9825 10151 eval $cacheid=yes 9826 - else 10152 + else $as_nop 9827 10153 eval $cacheid=no 9828 10154 fi 9829 - rm -f core conftest.err conftest.$ac_objext \ 10155 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9830 10156 conftest$ac_exeext conftest.$ac_ext 9831 10157 fi 9832 10158 ··· 9834 10160 CFLAGS="$xorg_testset_save_CFLAGS" 9835 10161 9836 10162 eval supported=\$$cacheid 9837 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9838 - $as_echo "$supported" >&6; } 10163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10164 + printf "%s\n" "$supported" >&6; } 9839 10165 if test "$supported" = "yes" ; then 9840 10166 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 9841 10167 found="yes" ··· 9864 10190 9865 10191 9866 10192 # Check whether --enable-strict-compilation was given. 9867 - if test "${enable_strict_compilation+set}" = set; then : 10193 + if test ${enable_strict_compilation+y} 10194 + then : 9868 10195 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 9869 - else 10196 + else $as_nop 9870 10197 STRICT_COMPILE=no 9871 10198 fi 9872 10199 ··· 9893 10220 9894 10221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 9895 10222 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9896 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 9897 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 9898 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 9899 - $as_echo_n "(cached) " >&6 9900 - else 10223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10224 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10225 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10226 + then : 10227 + printf %s "(cached) " >&6 10228 + else $as_nop 9901 10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9902 10230 /* end confdefs.h. */ 9903 10231 int i; 9904 10232 _ACEOF 9905 - if ac_fn_c_try_compile "$LINENO"; then : 10233 + if ac_fn_c_try_compile "$LINENO" 10234 + then : 9906 10235 xorg_cv_cc_flag_unknown_warning_option=yes 9907 - else 10236 + else $as_nop 9908 10237 xorg_cv_cc_flag_unknown_warning_option=no 9909 10238 fi 9910 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10239 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9911 10240 fi 9912 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 9913 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10242 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 9914 10243 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 9915 10244 CFLAGS="$xorg_testset_save_CFLAGS" 9916 10245 fi ··· 9920 10249 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 9921 10250 fi 9922 10251 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 9923 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 9924 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 9925 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 9926 - $as_echo_n "(cached) " >&6 9927 - else 10252 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10253 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10254 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10255 + then : 10256 + printf %s "(cached) " >&6 10257 + else $as_nop 9928 10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9929 10259 /* end confdefs.h. */ 9930 10260 int i; 9931 10261 _ACEOF 9932 - if ac_fn_c_try_compile "$LINENO"; then : 10262 + if ac_fn_c_try_compile "$LINENO" 10263 + then : 9933 10264 xorg_cv_cc_flag_unused_command_line_argument=yes 9934 - else 10265 + else $as_nop 9935 10266 xorg_cv_cc_flag_unused_command_line_argument=no 9936 10267 fi 9937 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10268 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9938 10269 fi 9939 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 9940 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10270 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10271 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 9941 10272 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 9942 10273 CFLAGS="$xorg_testset_save_CFLAGS" 9943 10274 fi ··· 9955 10286 9956 10287 CFLAGS="$CFLAGS -pedantic" 9957 10288 9958 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 9959 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 10289 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 10290 + printf %s "checking if $CC supports -pedantic... " >&6; } 9960 10291 cacheid=xorg_cv_cc_flag__pedantic 9961 - if eval \${$cacheid+:} false; then : 9962 - $as_echo_n "(cached) " >&6 9963 - else 10292 + if eval test \${$cacheid+y} 10293 + then : 10294 + printf %s "(cached) " >&6 10295 + else $as_nop 9964 10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9965 10297 /* end confdefs.h. */ 9966 10298 int i; 9967 10299 int 9968 - main () 10300 + main (void) 9969 10301 { 9970 10302 9971 10303 ; 9972 10304 return 0; 9973 10305 } 9974 10306 _ACEOF 9975 - if ac_fn_c_try_link "$LINENO"; then : 10307 + if ac_fn_c_try_link "$LINENO" 10308 + then : 9976 10309 eval $cacheid=yes 9977 - else 10310 + else $as_nop 9978 10311 eval $cacheid=no 9979 10312 fi 9980 - rm -f core conftest.err conftest.$ac_objext \ 10313 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9981 10314 conftest$ac_exeext conftest.$ac_ext 9982 10315 fi 9983 10316 ··· 9985 10318 CFLAGS="$xorg_testset_save_CFLAGS" 9986 10319 9987 10320 eval supported=\$$cacheid 9988 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 9989 - $as_echo "$supported" >&6; } 10321 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10322 + printf "%s\n" "$supported" >&6; } 9990 10323 if test "$supported" = "yes" ; then 9991 10324 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 9992 10325 found="yes" ··· 10011 10344 10012 10345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10013 10346 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10014 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10015 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10016 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10017 - $as_echo_n "(cached) " >&6 10018 - else 10347 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10348 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10349 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10350 + then : 10351 + printf %s "(cached) " >&6 10352 + else $as_nop 10019 10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10020 10354 /* end confdefs.h. */ 10021 10355 int i; 10022 10356 _ACEOF 10023 - if ac_fn_c_try_compile "$LINENO"; then : 10357 + if ac_fn_c_try_compile "$LINENO" 10358 + then : 10024 10359 xorg_cv_cc_flag_unknown_warning_option=yes 10025 - else 10360 + else $as_nop 10026 10361 xorg_cv_cc_flag_unknown_warning_option=no 10027 10362 fi 10028 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10363 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10029 10364 fi 10030 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10031 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10365 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10366 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10032 10367 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10033 10368 CFLAGS="$xorg_testset_save_CFLAGS" 10034 10369 fi ··· 10038 10373 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10039 10374 fi 10040 10375 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10041 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10042 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10043 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10044 - $as_echo_n "(cached) " >&6 10045 - else 10376 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10377 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10378 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10379 + then : 10380 + printf %s "(cached) " >&6 10381 + else $as_nop 10046 10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10047 10383 /* end confdefs.h. */ 10048 10384 int i; 10049 10385 _ACEOF 10050 - if ac_fn_c_try_compile "$LINENO"; then : 10386 + if ac_fn_c_try_compile "$LINENO" 10387 + then : 10051 10388 xorg_cv_cc_flag_unused_command_line_argument=yes 10052 - else 10389 + else $as_nop 10053 10390 xorg_cv_cc_flag_unused_command_line_argument=no 10054 10391 fi 10055 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10392 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10056 10393 fi 10057 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10058 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10394 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10395 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10059 10396 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10060 10397 CFLAGS="$xorg_testset_save_CFLAGS" 10061 10398 fi ··· 10073 10410 10074 10411 CFLAGS="$CFLAGS -Werror" 10075 10412 10076 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10077 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 10413 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 10414 + printf %s "checking if $CC supports -Werror... " >&6; } 10078 10415 cacheid=xorg_cv_cc_flag__Werror 10079 - if eval \${$cacheid+:} false; then : 10080 - $as_echo_n "(cached) " >&6 10081 - else 10416 + if eval test \${$cacheid+y} 10417 + then : 10418 + printf %s "(cached) " >&6 10419 + else $as_nop 10082 10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10083 10421 /* end confdefs.h. */ 10084 10422 int i; 10085 10423 int 10086 - main () 10424 + main (void) 10087 10425 { 10088 10426 10089 10427 ; 10090 10428 return 0; 10091 10429 } 10092 10430 _ACEOF 10093 - if ac_fn_c_try_link "$LINENO"; then : 10431 + if ac_fn_c_try_link "$LINENO" 10432 + then : 10094 10433 eval $cacheid=yes 10095 - else 10434 + else $as_nop 10096 10435 eval $cacheid=no 10097 10436 fi 10098 - rm -f core conftest.err conftest.$ac_objext \ 10437 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10099 10438 conftest$ac_exeext conftest.$ac_ext 10100 10439 fi 10101 10440 ··· 10103 10442 CFLAGS="$xorg_testset_save_CFLAGS" 10104 10443 10105 10444 eval supported=\$$cacheid 10106 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10107 - $as_echo "$supported" >&6; } 10445 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10446 + printf "%s\n" "$supported" >&6; } 10108 10447 if test "$supported" = "yes" ; then 10109 10448 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 10110 10449 found="yes" ··· 10122 10461 10123 10462 CFLAGS="$CFLAGS -errwarn" 10124 10463 10125 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10126 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 10464 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 10465 + printf %s "checking if $CC supports -errwarn... " >&6; } 10127 10466 cacheid=xorg_cv_cc_flag__errwarn 10128 - if eval \${$cacheid+:} false; then : 10129 - $as_echo_n "(cached) " >&6 10130 - else 10467 + if eval test \${$cacheid+y} 10468 + then : 10469 + printf %s "(cached) " >&6 10470 + else $as_nop 10131 10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10132 10472 /* end confdefs.h. */ 10133 10473 int i; 10134 10474 int 10135 - main () 10475 + main (void) 10136 10476 { 10137 10477 10138 10478 ; 10139 10479 return 0; 10140 10480 } 10141 10481 _ACEOF 10142 - if ac_fn_c_try_link "$LINENO"; then : 10482 + if ac_fn_c_try_link "$LINENO" 10483 + then : 10143 10484 eval $cacheid=yes 10144 - else 10485 + else $as_nop 10145 10486 eval $cacheid=no 10146 10487 fi 10147 - rm -f core conftest.err conftest.$ac_objext \ 10488 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10148 10489 conftest$ac_exeext conftest.$ac_ext 10149 10490 fi 10150 10491 ··· 10152 10493 CFLAGS="$xorg_testset_save_CFLAGS" 10153 10494 10154 10495 eval supported=\$$cacheid 10155 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10156 - $as_echo "$supported" >&6; } 10496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10497 + printf "%s\n" "$supported" >&6; } 10157 10498 if test "$supported" = "yes" ; then 10158 10499 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 10159 10500 found="yes" ··· 10181 10522 10182 10523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 10183 10524 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10184 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10185 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10186 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 10187 - $as_echo_n "(cached) " >&6 10188 - else 10525 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 10526 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 10527 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 10528 + then : 10529 + printf %s "(cached) " >&6 10530 + else $as_nop 10189 10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10190 10532 /* end confdefs.h. */ 10191 10533 int i; 10192 10534 _ACEOF 10193 - if ac_fn_c_try_compile "$LINENO"; then : 10535 + if ac_fn_c_try_compile "$LINENO" 10536 + then : 10194 10537 xorg_cv_cc_flag_unknown_warning_option=yes 10195 - else 10538 + else $as_nop 10196 10539 xorg_cv_cc_flag_unknown_warning_option=no 10197 10540 fi 10198 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10541 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10199 10542 fi 10200 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10201 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 10544 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 10202 10545 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 10203 10546 CFLAGS="$xorg_testset_save_CFLAGS" 10204 10547 fi ··· 10208 10551 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 10209 10552 fi 10210 10553 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 10211 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10212 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10213 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 10214 - $as_echo_n "(cached) " >&6 10215 - else 10554 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 10555 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 10556 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 10557 + then : 10558 + printf %s "(cached) " >&6 10559 + else $as_nop 10216 10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10217 10561 /* end confdefs.h. */ 10218 10562 int i; 10219 10563 _ACEOF 10220 - if ac_fn_c_try_compile "$LINENO"; then : 10564 + if ac_fn_c_try_compile "$LINENO" 10565 + then : 10221 10566 xorg_cv_cc_flag_unused_command_line_argument=yes 10222 - else 10567 + else $as_nop 10223 10568 xorg_cv_cc_flag_unused_command_line_argument=no 10224 10569 fi 10225 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10570 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 10226 10571 fi 10227 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10228 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10572 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 10573 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 10229 10574 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 10230 10575 CFLAGS="$xorg_testset_save_CFLAGS" 10231 10576 fi ··· 10243 10588 10244 10589 CFLAGS="$CFLAGS -Werror=attributes" 10245 10590 10246 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10247 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 10591 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 10592 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 10248 10593 cacheid=xorg_cv_cc_flag__Werror_attributes 10249 - if eval \${$cacheid+:} false; then : 10250 - $as_echo_n "(cached) " >&6 10251 - else 10594 + if eval test \${$cacheid+y} 10595 + then : 10596 + printf %s "(cached) " >&6 10597 + else $as_nop 10252 10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10253 10599 /* end confdefs.h. */ 10254 10600 int i; 10255 10601 int 10256 - main () 10602 + main (void) 10257 10603 { 10258 10604 10259 10605 ; 10260 10606 return 0; 10261 10607 } 10262 10608 _ACEOF 10263 - if ac_fn_c_try_link "$LINENO"; then : 10609 + if ac_fn_c_try_link "$LINENO" 10610 + then : 10264 10611 eval $cacheid=yes 10265 - else 10612 + else $as_nop 10266 10613 eval $cacheid=no 10267 10614 fi 10268 - rm -f core conftest.err conftest.$ac_objext \ 10615 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10269 10616 conftest$ac_exeext conftest.$ac_ext 10270 10617 fi 10271 10618 ··· 10273 10620 CFLAGS="$xorg_testset_save_CFLAGS" 10274 10621 10275 10622 eval supported=\$$cacheid 10276 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10277 - $as_echo "$supported" >&6; } 10623 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 10624 + printf "%s\n" "$supported" >&6; } 10278 10625 if test "$supported" = "yes" ; then 10279 10626 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 10280 10627 found="yes" ··· 10293 10640 10294 10641 10295 10642 10643 + 10644 + 10296 10645 cat >>confdefs.h <<_ACEOF 10297 10646 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 10298 10647 _ACEOF ··· 10302 10651 PVM="0" 10303 10652 fi 10304 10653 10305 - cat >>confdefs.h <<_ACEOF 10306 - #define PACKAGE_VERSION_MINOR $PVM 10307 - _ACEOF 10654 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 10308 10655 10309 10656 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10310 10657 if test "x$PVP" = "x"; then 10311 10658 PVP="0" 10312 10659 fi 10313 10660 10314 - cat >>confdefs.h <<_ACEOF 10315 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 10316 - _ACEOF 10661 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 10317 10662 10318 10663 10319 10664 ··· 10343 10688 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 10344 10689 # check for a man page file found in later versions that use 10345 10690 # traditional section numbers instead 10346 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10347 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 10348 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 10349 - $as_echo_n "(cached) " >&6 10350 - else 10691 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 10692 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 10693 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 10694 + then : 10695 + printf %s "(cached) " >&6 10696 + else $as_nop 10351 10697 test "$cross_compiling" = yes && 10352 10698 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 10353 10699 if test -r "/usr/share/man/man7/attributes.7"; then ··· 10356 10702 ac_cv_file__usr_share_man_man7_attributes_7=no 10357 10703 fi 10358 10704 fi 10359 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10360 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10361 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 10705 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 10706 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 10707 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 10708 + then : 10362 10709 SYSV_MAN_SECTIONS=false 10363 - else 10710 + else $as_nop 10364 10711 SYSV_MAN_SECTIONS=true 10365 10712 fi 10366 10713 ··· 10455 10802 10456 10803 10457 10804 # Check whether --enable-silent-rules was given. 10458 - if test "${enable_silent_rules+set}" = set; then : 10805 + if test ${enable_silent_rules+y} 10806 + then : 10459 10807 enableval=$enable_silent_rules; 10460 10808 fi 10461 10809 ··· 10465 10813 *) AM_DEFAULT_VERBOSITY=0;; 10466 10814 esac 10467 10815 am_make=${MAKE-make} 10468 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10469 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 10470 - if ${am_cv_make_support_nested_variables+:} false; then : 10471 - $as_echo_n "(cached) " >&6 10472 - else 10473 - if $as_echo 'TRUE=$(BAR$(V)) 10816 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 10817 + printf %s "checking whether $am_make supports nested variables... " >&6; } 10818 + if test ${am_cv_make_support_nested_variables+y} 10819 + then : 10820 + printf %s "(cached) " >&6 10821 + else $as_nop 10822 + if printf "%s\n" 'TRUE=$(BAR$(V)) 10474 10823 BAR0=false 10475 10824 BAR1=true 10476 10825 V=1 ··· 10482 10831 am_cv_make_support_nested_variables=no 10483 10832 fi 10484 10833 fi 10485 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10486 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 10834 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 10835 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 10487 10836 if test $am_cv_make_support_nested_variables = yes; then 10488 10837 AM_V='$(V)' 10489 10838 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 10495 10844 10496 10845 10497 10846 10847 + 10498 10848 # Checks for pkg-config packages 10499 10849 10500 10850 pkg_failed=no 10501 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XBIFF" >&5 10502 - $as_echo_n "checking for XBIFF... " >&6; } 10851 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" >&5 10852 + printf %s "checking for xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25... " >&6; } 10503 10853 10504 10854 if test -n "$XBIFF_CFLAGS"; then 10505 10855 pkg_cv_XBIFF_CFLAGS="$XBIFF_CFLAGS" 10506 10856 elif test -n "$PKG_CONFIG"; then 10507 10857 if test -n "$PKG_CONFIG" && \ 10508 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xbitmaps xext x11\""; } >&5 10509 - ($PKG_CONFIG --exists --print-errors "xaw7 xmu xbitmaps xext x11") 2>&5 10858 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25\""; } >&5 10859 + ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25") 2>&5 10510 10860 ac_status=$? 10511 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10861 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10512 10862 test $ac_status = 0; }; then 10513 - pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xbitmaps xext x11" 2>/dev/null` 10863 + pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>/dev/null` 10514 10864 test "x$?" != "x0" && pkg_failed=yes 10515 10865 else 10516 10866 pkg_failed=yes ··· 10522 10872 pkg_cv_XBIFF_LIBS="$XBIFF_LIBS" 10523 10873 elif test -n "$PKG_CONFIG"; then 10524 10874 if test -n "$PKG_CONFIG" && \ 10525 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xbitmaps xext x11\""; } >&5 10526 - ($PKG_CONFIG --exists --print-errors "xaw7 xmu xbitmaps xext x11") 2>&5 10875 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25\""; } >&5 10876 + ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25") 2>&5 10527 10877 ac_status=$? 10528 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10878 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10529 10879 test $ac_status = 0; }; then 10530 - pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xbitmaps xext x11" 2>/dev/null` 10880 + pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>/dev/null` 10531 10881 test "x$?" != "x0" && pkg_failed=yes 10532 10882 else 10533 10883 pkg_failed=yes ··· 10539 10889 10540 10890 10541 10891 if test $pkg_failed = yes; then 10542 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10543 - $as_echo "no" >&6; } 10892 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10893 + printf "%s\n" "no" >&6; } 10544 10894 10545 10895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 10546 10896 _pkg_short_errors_supported=yes ··· 10548 10898 _pkg_short_errors_supported=no 10549 10899 fi 10550 10900 if test $_pkg_short_errors_supported = yes; then 10551 - XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xbitmaps xext x11" 2>&1` 10901 + XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>&1` 10552 10902 else 10553 - XBIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xbitmaps xext x11" 2>&1` 10903 + XBIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>&1` 10554 10904 fi 10555 10905 # Put the nasty error message in config.log where it belongs 10556 10906 echo "$XBIFF_PKG_ERRORS" >&5 10557 10907 10558 - as_fn_error $? "Package requirements (xaw7 xmu xbitmaps xext x11) were not met: 10908 + as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25) were not met: 10559 10909 10560 10910 $XBIFF_PKG_ERRORS 10561 10911 ··· 10566 10916 and XBIFF_LIBS to avoid the need to call pkg-config. 10567 10917 See the pkg-config man page for more details." "$LINENO" 5 10568 10918 elif test $pkg_failed = untried; then 10569 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10570 - $as_echo "no" >&6; } 10571 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10572 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 10919 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 10920 + printf "%s\n" "no" >&6; } 10921 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10922 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 10573 10923 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 10574 10924 is in your PATH or set the PKG_CONFIG environment variable to the full 10575 10925 path to pkg-config. ··· 10583 10933 else 10584 10934 XBIFF_CFLAGS=$pkg_cv_XBIFF_CFLAGS 10585 10935 XBIFF_LIBS=$pkg_cv_XBIFF_LIBS 10586 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10587 - $as_echo "yes" >&6; } 10936 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10937 + printf "%s\n" "yes" >&6; } 10588 10938 10589 10939 fi 10590 10940 10591 10941 # Checks for headers 10592 - for ac_header in paths.h 10593 - do : 10594 - ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" 10595 - if test "x$ac_cv_header_paths_h" = xyes; then : 10596 - cat >>confdefs.h <<_ACEOF 10597 - #define HAVE_PATHS_H 1 10942 + ac_fn_c_check_header_compile "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" 10943 + if test "x$ac_cv_header_paths_h" = xyes 10944 + then : 10945 + printf "%s\n" "#define HAVE_PATHS_H 1" >>confdefs.h 10946 + 10947 + fi 10948 + 10949 + 10950 + # Checks for typedefs, structures, and compiler characteristics. 10951 + # Check whether --enable-largefile was given. 10952 + if test ${enable_largefile+y} 10953 + then : 10954 + enableval=$enable_largefile; 10955 + fi 10956 + 10957 + if test "$enable_largefile" != no; then 10958 + 10959 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 10960 + printf %s "checking for special C compiler options needed for large files... " >&6; } 10961 + if test ${ac_cv_sys_largefile_CC+y} 10962 + then : 10963 + printf %s "(cached) " >&6 10964 + else $as_nop 10965 + ac_cv_sys_largefile_CC=no 10966 + if test "$GCC" != yes; then 10967 + ac_save_CC=$CC 10968 + while :; do 10969 + # IRIX 6.2 and later do not support large files by default, 10970 + # so use the C compiler's -n32 option if that helps. 10971 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10972 + /* end confdefs.h. */ 10973 + #include <sys/types.h> 10974 + /* Check that off_t can represent 2**63 - 1 correctly. 10975 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 10976 + since some C++ compilers masquerading as C compilers 10977 + incorrectly reject 9223372036854775807. */ 10978 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 10979 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 10980 + && LARGE_OFF_T % 2147483647 == 1) 10981 + ? 1 : -1]; 10982 + int 10983 + main (void) 10984 + { 10985 + 10986 + ; 10987 + return 0; 10988 + } 10989 + _ACEOF 10990 + if ac_fn_c_try_compile "$LINENO" 10991 + then : 10992 + break 10993 + fi 10994 + rm -f core conftest.err conftest.$ac_objext conftest.beam 10995 + CC="$CC -n32" 10996 + if ac_fn_c_try_compile "$LINENO" 10997 + then : 10998 + ac_cv_sys_largefile_CC=' -n32'; break 10999 + fi 11000 + rm -f core conftest.err conftest.$ac_objext conftest.beam 11001 + break 11002 + done 11003 + CC=$ac_save_CC 11004 + rm -f conftest.$ac_ext 11005 + fi 11006 + fi 11007 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 11008 + printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; } 11009 + if test "$ac_cv_sys_largefile_CC" != no; then 11010 + CC=$CC$ac_cv_sys_largefile_CC 11011 + fi 11012 + 11013 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 11014 + printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 11015 + if test ${ac_cv_sys_file_offset_bits+y} 11016 + then : 11017 + printf %s "(cached) " >&6 11018 + else $as_nop 11019 + while :; do 11020 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11021 + /* end confdefs.h. */ 11022 + #include <sys/types.h> 11023 + /* Check that off_t can represent 2**63 - 1 correctly. 11024 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 11025 + since some C++ compilers masquerading as C compilers 11026 + incorrectly reject 9223372036854775807. */ 11027 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 11028 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 11029 + && LARGE_OFF_T % 2147483647 == 1) 11030 + ? 1 : -1]; 11031 + int 11032 + main (void) 11033 + { 11034 + 11035 + ; 11036 + return 0; 11037 + } 10598 11038 _ACEOF 11039 + if ac_fn_c_try_compile "$LINENO" 11040 + then : 11041 + ac_cv_sys_file_offset_bits=no; break 11042 + fi 11043 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11044 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11045 + /* end confdefs.h. */ 11046 + #define _FILE_OFFSET_BITS 64 11047 + #include <sys/types.h> 11048 + /* Check that off_t can represent 2**63 - 1 correctly. 11049 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 11050 + since some C++ compilers masquerading as C compilers 11051 + incorrectly reject 9223372036854775807. */ 11052 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 11053 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 11054 + && LARGE_OFF_T % 2147483647 == 1) 11055 + ? 1 : -1]; 11056 + int 11057 + main (void) 11058 + { 10599 11059 11060 + ; 11061 + return 0; 11062 + } 11063 + _ACEOF 11064 + if ac_fn_c_try_compile "$LINENO" 11065 + then : 11066 + ac_cv_sys_file_offset_bits=64; break 10600 11067 fi 11068 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11069 + ac_cv_sys_file_offset_bits=unknown 11070 + break 11071 + done 11072 + fi 11073 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 11074 + printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } 11075 + case $ac_cv_sys_file_offset_bits in #( 11076 + no | unknown) ;; 11077 + *) 11078 + printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h 11079 + ;; 11080 + esac 11081 + rm -rf conftest* 11082 + if test $ac_cv_sys_file_offset_bits = unknown; then 11083 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 11084 + printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } 11085 + if test ${ac_cv_sys_large_files+y} 11086 + then : 11087 + printf %s "(cached) " >&6 11088 + else $as_nop 11089 + while :; do 11090 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11091 + /* end confdefs.h. */ 11092 + #include <sys/types.h> 11093 + /* Check that off_t can represent 2**63 - 1 correctly. 11094 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 11095 + since some C++ compilers masquerading as C compilers 11096 + incorrectly reject 9223372036854775807. */ 11097 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 11098 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 11099 + && LARGE_OFF_T % 2147483647 == 1) 11100 + ? 1 : -1]; 11101 + int 11102 + main (void) 11103 + { 10601 11104 11105 + ; 11106 + return 0; 11107 + } 11108 + _ACEOF 11109 + if ac_fn_c_try_compile "$LINENO" 11110 + then : 11111 + ac_cv_sys_large_files=no; break 11112 + fi 11113 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11114 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11115 + /* end confdefs.h. */ 11116 + #define _LARGE_FILES 1 11117 + #include <sys/types.h> 11118 + /* Check that off_t can represent 2**63 - 1 correctly. 11119 + We can't simply define LARGE_OFF_T to be 9223372036854775807, 11120 + since some C++ compilers masquerading as C compilers 11121 + incorrectly reject 9223372036854775807. */ 11122 + #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) 11123 + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 11124 + && LARGE_OFF_T % 2147483647 == 1) 11125 + ? 1 : -1]; 11126 + int 11127 + main (void) 11128 + { 11129 + 11130 + ; 11131 + return 0; 11132 + } 11133 + _ACEOF 11134 + if ac_fn_c_try_compile "$LINENO" 11135 + then : 11136 + ac_cv_sys_large_files=1; break 11137 + fi 11138 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11139 + ac_cv_sys_large_files=unknown 11140 + break 10602 11141 done 11142 + fi 11143 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 11144 + printf "%s\n" "$ac_cv_sys_large_files" >&6; } 11145 + case $ac_cv_sys_large_files in #( 11146 + no | unknown) ;; 11147 + *) 11148 + printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h 11149 + ;; 11150 + esac 11151 + rm -rf conftest* 11152 + fi 11153 + fi 10603 11154 10604 11155 10605 11156 # Allow builder to set path to look for mailboxes 10606 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mailbox directory" >&5 10607 - $as_echo_n "checking for mailbox directory... " >&6; } 11157 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mailbox directory" >&5 11158 + printf %s "checking for mailbox directory... " >&6; } 10608 11159 10609 11160 # Check whether --with-mailbox-directory was given. 10610 - if test "${with_mailbox_directory+set}" = set; then : 11161 + if test ${with_mailbox_directory+y} 11162 + then : 10611 11163 withval=$with_mailbox_directory; mailbox_directory=$with_mailbox_directory 10612 11164 fi 10613 11165 10614 11166 10615 11167 if test "x$mailbox_directory" != "x"; then 10616 11168 10617 - cat >>confdefs.h <<_ACEOF 10618 - #define MAILBOX_DIRECTORY "$mailbox_directory" 10619 - _ACEOF 11169 + printf "%s\n" "#define MAILBOX_DIRECTORY \"$mailbox_directory\"" >>confdefs.h 10620 11170 10621 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailbox_directory" >&5 10622 - $as_echo "$mailbox_directory" >&6; } 11171 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $mailbox_directory" >&5 11172 + printf "%s\n" "$mailbox_directory" >&6; } 10623 11173 else 10624 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5 10625 - $as_echo "not set" >&6; } 11174 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not set" >&5 11175 + printf "%s\n" "not set" >&6; } 10626 11176 fi 10627 11177 10628 11178 ac_config_files="$ac_config_files Makefile man/Makefile" ··· 10654 11204 case $ac_val in #( 10655 11205 *${as_nl}*) 10656 11206 case $ac_var in #( 10657 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10658 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11207 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11208 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10659 11209 esac 10660 11210 case $ac_var in #( 10661 11211 _ | IFS | as_nl) ;; #( ··· 10685 11235 /^ac_cv_env_/b end 10686 11236 t clear 10687 11237 :clear 10688 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11238 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 10689 11239 t end 10690 11240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10691 11241 :end' >>confcache 10692 11242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10693 11243 if test -w "$cache_file"; then 10694 11244 if test "x$cache_file" != "x/dev/null"; then 10695 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10696 - $as_echo "$as_me: updating cache $cache_file" >&6;} 11245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11246 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 10697 11247 if test ! -f "$cache_file" || test -h "$cache_file"; then 10698 11248 cat confcache >"$cache_file" 10699 11249 else ··· 10707 11257 fi 10708 11258 fi 10709 11259 else 10710 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10711 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11260 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11261 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 10712 11262 fi 10713 11263 fi 10714 11264 rm -f confcache ··· 10725 11275 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10726 11276 # 1. Remove the extension, and $U if already installed. 10727 11277 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10728 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11278 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 10729 11279 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10730 11280 # will be set to the directory where LIBOBJS objects are built. 10731 11281 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 10736 11286 LTLIBOBJS=$ac_ltlibobjs 10737 11287 10738 11288 10739 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10740 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 11289 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 11290 + printf %s "checking that generated files are newer than configure... " >&6; } 10741 11291 if test -n "$am_sleep_pid"; then 10742 11292 # Hide warnings about reused PIDs. 10743 11293 wait $am_sleep_pid 2>/dev/null 10744 11294 fi 10745 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10746 - $as_echo "done" >&6; } 11295 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 11296 + printf "%s\n" "done" >&6; } 10747 11297 if test -n "$EXEEXT"; then 10748 11298 am__EXEEXT_TRUE= 10749 11299 am__EXEEXT_FALSE='#' ··· 10769 11319 ac_write_fail=0 10770 11320 ac_clean_files_save=$ac_clean_files 10771 11321 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10772 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10773 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11322 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11323 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 10774 11324 as_write_fail=0 10775 11325 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10776 11326 #! $SHELL ··· 10793 11343 10794 11344 # Be more Bourne compatible 10795 11345 DUALCASE=1; export DUALCASE # for MKS sh 10796 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11346 + as_nop=: 11347 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 11348 + then : 10797 11349 emulate sh 10798 11350 NULLCMD=: 10799 11351 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10800 11352 # is contrary to our usage. Disable this feature. 10801 11353 alias -g '${1+"$@"}'='"$@"' 10802 11354 setopt NO_GLOB_SUBST 10803 - else 11355 + else $as_nop 10804 11356 case `(set -o) 2>/dev/null` in #( 10805 11357 *posix*) : 10806 11358 set -o posix ;; #( ··· 10810 11362 fi 10811 11363 10812 11364 11365 + 11366 + # Reset variables that may have inherited troublesome values from 11367 + # the environment. 11368 + 11369 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 11370 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 11371 + # side effect of setting IFS to empty, thus disabling word splitting.) 11372 + # Quoting is to prevent editors from complaining about space-tab. 10813 11373 as_nl=' 10814 11374 ' 10815 11375 export as_nl 10816 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 10817 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10818 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10819 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10820 - # Prefer a ksh shell builtin over an external printf program on Solaris, 10821 - # but without wasting forks for bash or zsh. 10822 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 10823 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10824 - as_echo='print -r --' 10825 - as_echo_n='print -rn --' 10826 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10827 - as_echo='printf %s\n' 10828 - as_echo_n='printf %s' 10829 - else 10830 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10831 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10832 - as_echo_n='/usr/ucb/echo -n' 10833 - else 10834 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10835 - as_echo_n_body='eval 10836 - arg=$1; 10837 - case $arg in #( 10838 - *"$as_nl"*) 10839 - expr "X$arg" : "X\\(.*\\)$as_nl"; 10840 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10841 - esac; 10842 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10843 - ' 10844 - export as_echo_n_body 10845 - as_echo_n='sh -c $as_echo_n_body as_echo' 10846 - fi 10847 - export as_echo_body 10848 - as_echo='sh -c $as_echo_body as_echo' 10849 - fi 11376 + IFS=" "" $as_nl" 11377 + 11378 + PS1='$ ' 11379 + PS2='> ' 11380 + PS4='+ ' 11381 + 11382 + # Ensure predictable behavior from utilities with locale-dependent output. 11383 + LC_ALL=C 11384 + export LC_ALL 11385 + LANGUAGE=C 11386 + export LANGUAGE 11387 + 11388 + # We cannot yet rely on "unset" to work, but we need these variables 11389 + # to be unset--not just set to an empty or harmless value--now, to 11390 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 11391 + # also avoids known problems related to "unset" and subshell syntax 11392 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 11393 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 11394 + do eval test \${$as_var+y} \ 11395 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11396 + done 11397 + 11398 + # Ensure that fds 0, 1, and 2 are open. 11399 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 11400 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 11401 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 10850 11402 10851 11403 # The user is always right. 10852 - if test "${PATH_SEPARATOR+set}" != set; then 11404 + if ${PATH_SEPARATOR+false} :; then 10853 11405 PATH_SEPARATOR=: 10854 11406 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10855 11407 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 10858 11410 fi 10859 11411 10860 11412 10861 - # IFS 10862 - # We need space, tab and new line, in precisely that order. Quoting is 10863 - # there to prevent editors from complaining about space-tab. 10864 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 10865 - # splitting by setting IFS to empty value.) 10866 - IFS=" "" $as_nl" 10867 - 10868 11413 # Find who we are. Look in the path if we contain no directory separator. 10869 11414 as_myself= 10870 11415 case $0 in #(( ··· 10873 11418 for as_dir in $PATH 10874 11419 do 10875 11420 IFS=$as_save_IFS 10876 - test -z "$as_dir" && as_dir=. 10877 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11421 + case $as_dir in #((( 11422 + '') as_dir=./ ;; 11423 + */) ;; 11424 + *) as_dir=$as_dir/ ;; 11425 + esac 11426 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 10878 11427 done 10879 11428 IFS=$as_save_IFS 10880 11429 ··· 10886 11435 as_myself=$0 10887 11436 fi 10888 11437 if test ! -f "$as_myself"; then 10889 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11438 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10890 11439 exit 1 10891 11440 fi 10892 11441 10893 - # Unset variables that we do not need and which cause bugs (e.g. in 10894 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10895 - # suppresses any "Segmentation fault" message there. '((' could 10896 - # trigger a bug in pdksh 5.2.14. 10897 - for as_var in BASH_ENV ENV MAIL MAILPATH 10898 - do eval test x\${$as_var+set} = xset \ 10899 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10900 - done 10901 - PS1='$ ' 10902 - PS2='> ' 10903 - PS4='+ ' 10904 - 10905 - # NLS nuisances. 10906 - LC_ALL=C 10907 - export LC_ALL 10908 - LANGUAGE=C 10909 - export LANGUAGE 10910 - 10911 - # CDPATH. 10912 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10913 11442 10914 11443 10915 11444 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 10922 11451 as_status=$1; test $as_status -eq 0 && as_status=1 10923 11452 if test "$4"; then 10924 11453 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10925 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 11454 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10926 11455 fi 10927 - $as_echo "$as_me: error: $2" >&2 11456 + printf "%s\n" "$as_me: error: $2" >&2 10928 11457 as_fn_exit $as_status 10929 11458 } # as_fn_error 11459 + 10930 11460 10931 11461 10932 11462 # as_fn_set_status STATUS ··· 10955 11485 { eval $1=; unset $1;} 10956 11486 } 10957 11487 as_unset=as_fn_unset 11488 + 10958 11489 # as_fn_append VAR VALUE 10959 11490 # ---------------------- 10960 11491 # Append the text in VALUE to the end of the definition contained in VAR. Take 10961 11492 # advantage of any shell optimizations that allow amortized linear growth over 10962 11493 # repeated appends, instead of the typical quadratic growth present in naive 10963 11494 # implementations. 10964 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11495 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 11496 + then : 10965 11497 eval 'as_fn_append () 10966 11498 { 10967 11499 eval $1+=\$2 10968 11500 }' 10969 - else 11501 + else $as_nop 10970 11502 as_fn_append () 10971 11503 { 10972 11504 eval $1=\$$1\$2 ··· 10978 11510 # Perform arithmetic evaluation on the ARGs, and store the result in the 10979 11511 # global $as_val. Take advantage of shells that can avoid forks. The arguments 10980 11512 # must be portable across $(()) and expr. 10981 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11513 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 11514 + then : 10982 11515 eval 'as_fn_arith () 10983 11516 { 10984 11517 as_val=$(( $* )) 10985 11518 }' 10986 - else 11519 + else $as_nop 10987 11520 as_fn_arith () 10988 11521 { 10989 11522 as_val=`expr "$@" || test $? -eq 1` ··· 11014 11547 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11015 11548 X"$0" : 'X\(//\)$' \| \ 11016 11549 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11017 - $as_echo X/"$0" | 11550 + printf "%s\n" X/"$0" | 11018 11551 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11019 11552 s//\1/ 11020 11553 q ··· 11036 11569 as_cr_digits='0123456789' 11037 11570 as_cr_alnum=$as_cr_Letters$as_cr_digits 11038 11571 11572 + 11573 + # Determine whether it's possible to make 'echo' print without a newline. 11574 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 11575 + # for compatibility with existing Makefiles. 11039 11576 ECHO_C= ECHO_N= ECHO_T= 11040 11577 case `echo -n x` in #((((( 11041 11578 -n*) ··· 11048 11585 *) 11049 11586 ECHO_N='-n';; 11050 11587 esac 11588 + 11589 + # For backward compatibility with old third-party macros, we provide 11590 + # the shell variables $as_echo and $as_echo_n. New code should use 11591 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 11592 + as_echo='printf %s\n' 11593 + as_echo_n='printf %s' 11051 11594 11052 11595 rm -f conf$$ conf$$.exe conf$$.file 11053 11596 if test -d conf$$.dir; then ··· 11090 11633 as_dirs= 11091 11634 while :; do 11092 11635 case $as_dir in #( 11093 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11636 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11094 11637 *) as_qdir=$as_dir;; 11095 11638 esac 11096 11639 as_dirs="'$as_qdir' $as_dirs" ··· 11099 11642 X"$as_dir" : 'X\(//\)[^/]' \| \ 11100 11643 X"$as_dir" : 'X\(//\)$' \| \ 11101 11644 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11102 - $as_echo X"$as_dir" | 11645 + printf "%s\n" X"$as_dir" | 11103 11646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11104 11647 s//\1/ 11105 11648 q ··· 11161 11704 # report actual input values of CONFIG_FILES etc. instead of their 11162 11705 # values after options handling. 11163 11706 ac_log=" 11164 - This file was extended by xbiff $as_me 1.0.4, which was 11165 - generated by GNU Autoconf 2.69. Invocation command line was 11707 + This file was extended by xbiff $as_me 1.0.5, which was 11708 + generated by GNU Autoconf 2.71. Invocation command line was 11166 11709 11167 11710 CONFIG_FILES = $CONFIG_FILES 11168 11711 CONFIG_HEADERS = $CONFIG_HEADERS ··· 11224 11767 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/issues>." 11225 11768 11226 11769 _ACEOF 11770 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 11771 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 11227 11772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11228 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11773 + ac_cs_config='$ac_cs_config_escaped' 11229 11774 ac_cs_version="\\ 11230 - xbiff config.status 1.0.4 11231 - configured by $0, generated by GNU Autoconf 2.69, 11775 + xbiff config.status 1.0.5 11776 + configured by $0, generated by GNU Autoconf 2.71, 11232 11777 with options \\"\$ac_cs_config\\" 11233 11778 11234 - Copyright (C) 2012 Free Software Foundation, Inc. 11779 + Copyright (C) 2021 Free Software Foundation, Inc. 11235 11780 This config.status script is free software; the Free Software Foundation 11236 11781 gives unlimited permission to copy, distribute and modify it." 11237 11782 ··· 11271 11816 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11272 11817 ac_cs_recheck=: ;; 11273 11818 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11274 - $as_echo "$ac_cs_version"; exit ;; 11819 + printf "%s\n" "$ac_cs_version"; exit ;; 11275 11820 --config | --confi | --conf | --con | --co | --c ) 11276 - $as_echo "$ac_cs_config"; exit ;; 11821 + printf "%s\n" "$ac_cs_config"; exit ;; 11277 11822 --debug | --debu | --deb | --de | --d | -d ) 11278 11823 debug=: ;; 11279 11824 --file | --fil | --fi | --f ) 11280 11825 $ac_shift 11281 11826 case $ac_optarg in 11282 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11827 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11283 11828 '') as_fn_error $? "missing file argument" ;; 11284 11829 esac 11285 11830 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 11287 11832 --header | --heade | --head | --hea ) 11288 11833 $ac_shift 11289 11834 case $ac_optarg in 11290 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11835 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11291 11836 esac 11292 11837 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11293 11838 ac_need_defaults=false;; ··· 11296 11841 as_fn_error $? "ambiguous option: \`$1' 11297 11842 Try \`$0 --help' for more information.";; 11298 11843 --help | --hel | -h ) 11299 - $as_echo "$ac_cs_usage"; exit ;; 11844 + printf "%s\n" "$ac_cs_usage"; exit ;; 11300 11845 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11301 11846 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11302 11847 ac_cs_silent=: ;; ··· 11324 11869 if \$ac_cs_recheck; then 11325 11870 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11326 11871 shift 11327 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11872 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 11328 11873 CONFIG_SHELL='$SHELL' 11329 11874 export CONFIG_SHELL 11330 11875 exec "\$@" ··· 11338 11883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11339 11884 ## Running $as_me. ## 11340 11885 _ASBOX 11341 - $as_echo "$ac_log" 11886 + printf "%s\n" "$ac_log" 11342 11887 } >&5 11343 11888 11344 11889 _ACEOF ··· 11371 11916 # We use the long form for the default assignment because of an extremely 11372 11917 # bizarre bug on SunOS 4.1.3. 11373 11918 if $ac_need_defaults; then 11374 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11375 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11376 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11919 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 11920 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 11921 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 11377 11922 fi 11378 11923 11379 11924 # Have a temporary directory for convenience. Make it in the build tree ··· 11709 12254 esac || 11710 12255 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11711 12256 esac 11712 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12257 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11713 12258 as_fn_append ac_file_inputs " '$ac_f'" 11714 12259 done 11715 12260 ··· 11717 12262 # use $as_me), people would be surprised to read: 11718 12263 # /* config.h. Generated by config.status. */ 11719 12264 configure_input='Generated from '` 11720 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12265 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11721 12266 `' by configure.' 11722 12267 if test x"$ac_file" != x-; then 11723 12268 configure_input="$ac_file. $configure_input" 11724 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11725 - $as_echo "$as_me: creating $ac_file" >&6;} 12269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12270 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 11726 12271 fi 11727 12272 # Neutralize special characters interpreted by sed in replacement strings. 11728 12273 case $configure_input in #( 11729 12274 *\&* | *\|* | *\\* ) 11730 - ac_sed_conf_input=`$as_echo "$configure_input" | 12275 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 11731 12276 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11732 12277 *) ac_sed_conf_input=$configure_input;; 11733 12278 esac ··· 11744 12289 X"$ac_file" : 'X\(//\)[^/]' \| \ 11745 12290 X"$ac_file" : 'X\(//\)$' \| \ 11746 12291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11747 - $as_echo X"$ac_file" | 12292 + printf "%s\n" X"$ac_file" | 11748 12293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11749 12294 s//\1/ 11750 12295 q ··· 11768 12313 case "$ac_dir" in 11769 12314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11770 12315 *) 11771 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12316 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 11772 12317 # A ".." for each directory in $ac_dir_suffix. 11773 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12318 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11774 12319 case $ac_top_builddir_sub in 11775 12320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11776 12321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 11832 12377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11833 12378 *datarootdir*) ac_datarootdir_seen=yes;; 11834 12379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11835 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11836 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12380 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12381 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11837 12382 _ACEOF 11838 12383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11839 12384 ac_datarootdir_hack=' ··· 11877 12422 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11878 12423 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11879 12424 "$ac_tmp/out"`; test -z "$ac_out"; } && 11880 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12425 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11881 12426 which seems to be undefined. Please make sure it is defined" >&5 11882 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12427 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11883 12428 which seems to be undefined. Please make sure it is defined" >&2;} 11884 12429 11885 12430 rm -f "$ac_tmp/stdin" ··· 11895 12440 # 11896 12441 if test x"$ac_file" != x-; then 11897 12442 { 11898 - $as_echo "/* $configure_input */" \ 12443 + printf "%s\n" "/* $configure_input */" >&1 \ 11899 12444 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11900 12445 } >"$ac_tmp/config.h" \ 11901 12446 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11902 12447 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11903 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11904 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 12448 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12449 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 11905 12450 else 11906 12451 rm -f "$ac_file" 11907 12452 mv "$ac_tmp/config.h" "$ac_file" \ 11908 12453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11909 12454 fi 11910 12455 else 11911 - $as_echo "/* $configure_input */" \ 12456 + printf "%s\n" "/* $configure_input */" >&1 \ 11912 12457 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11913 12458 || as_fn_error $? "could not create -" "$LINENO" 5 11914 12459 fi ··· 11928 12473 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11929 12474 X"$_am_arg" : 'X\(//\)$' \| \ 11930 12475 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11931 - $as_echo X"$_am_arg" | 12476 + printf "%s\n" X"$_am_arg" | 11932 12477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11933 12478 s//\1/ 11934 12479 q ··· 11948 12493 s/.*/./; q'`/stamp-h$_am_stamp_count 11949 12494 ;; 11950 12495 11951 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 11952 - $as_echo "$as_me: executing $ac_file commands" >&6;} 12496 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12497 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 11953 12498 ;; 11954 12499 esac 11955 12500 ··· 11981 12526 X"$mf" : 'X\(//\)[^/]' \| \ 11982 12527 X"$mf" : 'X\(//\)$' \| \ 11983 12528 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11984 - $as_echo X"$mf" | 12529 + printf "%s\n" X"$mf" | 11985 12530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11986 12531 s//\1/ 11987 12532 q ··· 12023 12568 X"$file" : 'X\(//\)[^/]' \| \ 12024 12569 X"$file" : 'X\(//\)$' \| \ 12025 12570 X"$file" : 'X\(/\)' \| . 2>/dev/null || 12026 - $as_echo X"$file" | 12571 + printf "%s\n" X"$file" | 12027 12572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12028 12573 s//\1/ 12029 12574 q ··· 12082 12627 $ac_cs_success || as_fn_exit 1 12083 12628 fi 12084 12629 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12085 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12086 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12630 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12631 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12087 12632 fi 12088 12633
+6 -3
app/xbiff/configure.ac
··· 23 23 24 24 # Initialize Autoconf 25 25 AC_PREREQ([2.60]) 26 - AC_INIT([xbiff], [1.0.4], 26 + AC_INIT([xbiff], [1.0.5], 27 27 [https://gitlab.freedesktop.org/xorg/app/xbiff/issues], [xbiff]) 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]) 32 + AM_INIT_AUTOMAKE([foreign dist-xz]) 33 33 34 34 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 35 35 m4_ifndef([XORG_MACROS_VERSION], ··· 38 38 XORG_DEFAULT_OPTIONS 39 39 40 40 # Checks for pkg-config packages 41 - PKG_CHECK_MODULES(XBIFF, xaw7 xmu xbitmaps xext x11) 41 + PKG_CHECK_MODULES(XBIFF, [xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25]) 42 42 43 43 # Checks for headers 44 44 AC_CHECK_HEADERS([paths.h]) 45 + 46 + # Checks for typedefs, structures, and compiler characteristics. 47 + AC_SYS_LARGEFILE 45 48 46 49 # Allow builder to set path to look for mailboxes 47 50 AC_MSG_CHECKING([for mailbox directory])
+214 -200
app/xbiff/install-sh
··· 1 1 #!/bin/sh 2 2 # install - install a program, script, or datafile 3 3 4 - scriptversion=2011-11-20.07; # UTC 4 + scriptversion=2020-11-14.01; # UTC 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 7 # later released in X11R6 (xc/config/util/install.sh) with the ··· 41 41 # This script is compatible with the BSD install script, but was written 42 42 # from scratch. 43 43 44 + tab=' ' 44 45 nl=' 45 46 ' 46 - IFS=" "" $nl" 47 + IFS=" $tab$nl" 47 48 48 - # set DOITPROG to echo to test this script 49 + # Set DOITPROG to "echo" to test this script. 49 50 50 - # Don't use :- since 4.3BSD and earlier shells don't like it. 51 51 doit=${DOITPROG-} 52 - if test -z "$doit"; then 53 - doit_exec=exec 54 - else 55 - doit_exec=$doit 56 - fi 52 + doit_exec=${doit:-exec} 57 53 58 54 # Put in absolute file names if you don't have them in your path; 59 55 # or use environment vars. ··· 68 64 rmprog=${RMPROG-rm} 69 65 stripprog=${STRIPPROG-strip} 70 66 71 - posix_glob='?' 72 - initialize_posix_glob=' 73 - test "$posix_glob" != "?" || { 74 - if (set -f) 2>/dev/null; then 75 - posix_glob= 76 - else 77 - posix_glob=: 78 - fi 79 - } 80 - ' 81 - 82 67 posix_mkdir= 83 68 84 69 # Desired mode of installed file. 85 70 mode=0755 86 71 72 + # Create dirs (including intermediate dirs) using mode 755. 73 + # This is like GNU 'install' as of coreutils 8.32 (2020). 74 + mkdir_umask=22 75 + 76 + backupsuffix= 87 77 chgrpcmd= 88 78 chmodcmd=$chmodprog 89 79 chowncmd= ··· 97 87 dst_arg= 98 88 99 89 copy_on_change=false 100 - no_target_directory= 90 + is_target_a_directory=possibly 101 91 102 92 usage="\ 103 93 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ··· 114 104 --version display version info and exit. 115 105 116 106 -c (ignored) 117 - -C install only if different (preserve the last data modification time) 107 + -C install only if different (preserve data modification time) 118 108 -d create directories instead of installing files. 119 109 -g GROUP $chgrpprog installed files to GROUP. 120 110 -m MODE $chmodprog installed files to MODE. 121 111 -o USER $chownprog installed files to USER. 112 + -p pass -p to $cpprog. 122 113 -s $stripprog installed files. 114 + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. 123 115 -t DIRECTORY install into DIRECTORY. 124 116 -T report an error if DSTFILE is a directory. 125 117 126 118 Environment variables override the default commands: 127 119 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG 128 120 RMPROG STRIPPROG 121 + 122 + By default, rm is invoked with -f; when overridden with RMPROG, 123 + it's up to you to specify -f if you want it. 124 + 125 + If -S is not specified, no backups are attempted. 126 + 127 + Email bug reports to bug-automake@gnu.org. 128 + Automake home page: https://www.gnu.org/software/automake/ 129 129 " 130 130 131 131 while test $# -ne 0; do ··· 137 137 -d) dir_arg=true;; 138 138 139 139 -g) chgrpcmd="$chgrpprog $2" 140 - shift;; 140 + shift;; 141 141 142 142 --help) echo "$usage"; exit $?;; 143 143 144 144 -m) mode=$2 145 - case $mode in 146 - *' '* | *' '* | *' 147 - '* | *'*'* | *'?'* | *'['*) 148 - echo "$0: invalid mode: $mode" >&2 149 - exit 1;; 150 - esac 151 - shift;; 145 + case $mode in 146 + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) 147 + echo "$0: invalid mode: $mode" >&2 148 + exit 1;; 149 + esac 150 + shift;; 152 151 153 152 -o) chowncmd="$chownprog $2" 154 - shift;; 153 + shift;; 154 + 155 + -p) cpprog="$cpprog -p";; 155 156 156 157 -s) stripcmd=$stripprog;; 157 158 158 - -t) dst_arg=$2 159 - # Protect names problematic for 'test' and other utilities. 160 - case $dst_arg in 161 - -* | [=\(\)!]) dst_arg=./$dst_arg;; 162 - esac 163 - shift;; 159 + -S) backupsuffix="$2" 160 + shift;; 164 161 165 - -T) no_target_directory=true;; 162 + -t) 163 + is_target_a_directory=always 164 + dst_arg=$2 165 + # Protect names problematic for 'test' and other utilities. 166 + case $dst_arg in 167 + -* | [=\(\)!]) dst_arg=./$dst_arg;; 168 + esac 169 + shift;; 170 + 171 + -T) is_target_a_directory=never;; 166 172 167 173 --version) echo "$0 $scriptversion"; exit $?;; 168 174 169 - --) shift 170 - break;; 175 + --) shift 176 + break;; 171 177 172 - -*) echo "$0: invalid option: $1" >&2 173 - exit 1;; 178 + -*) echo "$0: invalid option: $1" >&2 179 + exit 1;; 174 180 175 181 *) break;; 176 182 esac 177 183 shift 178 184 done 185 + 186 + # We allow the use of options -d and -T together, by making -d 187 + # take the precedence; this is for compatibility with GNU install. 188 + 189 + if test -n "$dir_arg"; then 190 + if test -n "$dst_arg"; then 191 + echo "$0: target directory not allowed when installing a directory." >&2 192 + exit 1 193 + fi 194 + fi 179 195 180 196 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then 181 197 # When -d is used, all remaining arguments are directories to create. ··· 208 224 fi 209 225 210 226 if test -z "$dir_arg"; then 227 + if test $# -gt 1 || test "$is_target_a_directory" = always; then 228 + if test ! -d "$dst_arg"; then 229 + echo "$0: $dst_arg: Is not a directory." >&2 230 + exit 1 231 + fi 232 + fi 233 + fi 234 + 235 + if test -z "$dir_arg"; then 211 236 do_exit='(exit $ret); exit $ret' 212 237 trap "ret=129; $do_exit" 1 213 238 trap "ret=130; $do_exit" 2 ··· 223 248 224 249 *[0-7]) 225 250 if test -z "$stripcmd"; then 226 - u_plus_rw= 251 + u_plus_rw= 227 252 else 228 - u_plus_rw='% 200' 253 + u_plus_rw='% 200' 229 254 fi 230 255 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; 231 256 *) 232 257 if test -z "$stripcmd"; then 233 - u_plus_rw= 258 + u_plus_rw= 234 259 else 235 - u_plus_rw=,u+rw 260 + u_plus_rw=,u+rw 236 261 fi 237 262 cp_umask=$mode$u_plus_rw;; 238 263 esac ··· 250 275 dstdir=$dst 251 276 test -d "$dstdir" 252 277 dstdir_status=$? 278 + # Don't chown directories that already exist. 279 + if test $dstdir_status = 0; then 280 + chowncmd="" 281 + fi 253 282 else 254 283 255 284 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ··· 266 295 fi 267 296 dst=$dst_arg 268 297 269 - # If destination is a directory, append the input filename; won't work 270 - # if double slashes aren't ignored. 298 + # If destination is a directory, append the input filename. 271 299 if test -d "$dst"; then 272 - if test -n "$no_target_directory"; then 273 - echo "$0: $dst_arg: Is a directory" >&2 274 - exit 1 300 + if test "$is_target_a_directory" = never; then 301 + echo "$0: $dst_arg: Is a directory" >&2 302 + exit 1 275 303 fi 276 304 dstdir=$dst 277 - dst=$dstdir/`basename "$src"` 305 + dstbase=`basename "$src"` 306 + case $dst in 307 + */) dst=$dst$dstbase;; 308 + *) dst=$dst/$dstbase;; 309 + esac 278 310 dstdir_status=0 279 311 else 280 - # Prefer dirname, but fall back on a substitute if dirname fails. 281 - dstdir=` 282 - (dirname "$dst") 2>/dev/null || 283 - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 - X"$dst" : 'X\(//\)[^/]' \| \ 285 - X"$dst" : 'X\(//\)$' \| \ 286 - X"$dst" : 'X\(/\)' \| . 2>/dev/null || 287 - echo X"$dst" | 288 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 289 - s//\1/ 290 - q 291 - } 292 - /^X\(\/\/\)[^/].*/{ 293 - s//\1/ 294 - q 295 - } 296 - /^X\(\/\/\)$/{ 297 - s//\1/ 298 - q 299 - } 300 - /^X\(\/\).*/{ 301 - s//\1/ 302 - q 303 - } 304 - s/.*/./; q' 305 - ` 306 - 312 + dstdir=`dirname "$dst"` 307 313 test -d "$dstdir" 308 314 dstdir_status=$? 309 315 fi 310 316 fi 317 + 318 + case $dstdir in 319 + */) dstdirslash=$dstdir;; 320 + *) dstdirslash=$dstdir/;; 321 + esac 311 322 312 323 obsolete_mkdir_used=false 313 324 314 325 if test $dstdir_status != 0; then 315 326 case $posix_mkdir in 316 327 '') 317 - # Create intermediate dirs using mode 755 as modified by the umask. 318 - # This is like FreeBSD 'install' as of 1997-10-28. 319 - umask=`umask` 320 - case $stripcmd.$umask in 321 - # Optimize common cases. 322 - *[2367][2367]) mkdir_umask=$umask;; 323 - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; 328 + # With -d, create the new directory with the user-specified mode. 329 + # Otherwise, rely on $mkdir_umask. 330 + if test -n "$dir_arg"; then 331 + mkdir_mode=-m$mode 332 + else 333 + mkdir_mode= 334 + fi 335 + 336 + posix_mkdir=false 337 + # The $RANDOM variable is not portable (e.g., dash). Use it 338 + # here however when possible just to lower collision chance. 339 + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 324 340 325 - *[0-7]) 326 - mkdir_umask=`expr $umask + 22 \ 327 - - $umask % 100 % 40 + $umask % 20 \ 328 - - $umask % 10 % 4 + $umask % 2 329 - `;; 330 - *) mkdir_umask=$umask,go-w;; 331 - esac 341 + trap ' 342 + ret=$? 343 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null 344 + exit $ret 345 + ' 0 332 346 333 - # With -d, create the new directory with the user-specified mode. 334 - # Otherwise, rely on $mkdir_umask. 335 - if test -n "$dir_arg"; then 336 - mkdir_mode=-m$mode 347 + # Because "mkdir -p" follows existing symlinks and we likely work 348 + # directly in world-writeable /tmp, make sure that the '$tmpdir' 349 + # directory is successfully created first before we actually test 350 + # 'mkdir -p'. 351 + if (umask $mkdir_umask && 352 + $mkdirprog $mkdir_mode "$tmpdir" && 353 + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 354 + then 355 + if test -z "$dir_arg" || { 356 + # Check for POSIX incompatibilities with -m. 357 + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 358 + # other-writable bit of parent directory when it shouldn't. 359 + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 360 + test_tmpdir="$tmpdir/a" 361 + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` 362 + case $ls_ld_tmpdir in 363 + d????-?r-*) different_mode=700;; 364 + d????-?--*) different_mode=755;; 365 + *) false;; 366 + esac && 367 + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { 368 + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` 369 + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 370 + } 371 + } 372 + then posix_mkdir=: 373 + fi 374 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 337 375 else 338 - mkdir_mode= 376 + # Remove any dirs left behind by ancient mkdir implementations. 377 + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null 339 378 fi 340 - 341 - posix_mkdir=false 342 - case $umask in 343 - *[123567][0-7][0-7]) 344 - # POSIX mkdir -p sets u+wx bits regardless of umask, which 345 - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. 346 - ;; 347 - *) 348 - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 349 - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 350 - 351 - if (umask $mkdir_umask && 352 - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 353 - then 354 - if test -z "$dir_arg" || { 355 - # Check for POSIX incompatibilities with -m. 356 - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 357 - # other-writable bit of parent directory when it shouldn't. 358 - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 359 - ls_ld_tmpdir=`ls -ld "$tmpdir"` 360 - case $ls_ld_tmpdir in 361 - d????-?r-*) different_mode=700;; 362 - d????-?--*) different_mode=755;; 363 - *) false;; 364 - esac && 365 - $mkdirprog -m$different_mode -p -- "$tmpdir" && { 366 - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` 367 - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 368 - } 369 - } 370 - then posix_mkdir=: 371 - fi 372 - rmdir "$tmpdir/d" "$tmpdir" 373 - else 374 - # Remove any dirs left behind by ancient mkdir implementations. 375 - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null 376 - fi 377 - trap '' 0;; 378 - esac;; 379 + trap '' 0;; 379 380 esac 380 381 381 382 if 382 383 $posix_mkdir && ( 383 - umask $mkdir_umask && 384 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 384 + umask $mkdir_umask && 385 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 385 386 ) 386 387 then : 387 388 else 388 389 389 - # The umask is ridiculous, or mkdir does not conform to POSIX, 390 + # mkdir does not conform to POSIX, 390 391 # or it failed possibly due to a race condition. Create the 391 392 # directory the slow way, step by step, checking for races as we go. 392 393 393 394 case $dstdir in 394 - /*) prefix='/';; 395 - [-=\(\)!]*) prefix='./';; 396 - *) prefix='';; 395 + /*) prefix='/';; 396 + [-=\(\)!]*) prefix='./';; 397 + *) prefix='';; 397 398 esac 398 - 399 - eval "$initialize_posix_glob" 400 399 401 400 oIFS=$IFS 402 401 IFS=/ 403 - $posix_glob set -f 402 + set -f 404 403 set fnord $dstdir 405 404 shift 406 - $posix_glob set +f 405 + set +f 407 406 IFS=$oIFS 408 407 409 408 prefixes= 410 409 411 410 for d 412 411 do 413 - test X"$d" = X && continue 412 + test X"$d" = X && continue 414 413 415 - prefix=$prefix$d 416 - if test -d "$prefix"; then 417 - prefixes= 418 - else 419 - if $posix_mkdir; then 420 - (umask=$mkdir_umask && 421 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 422 - # Don't fail if two instances are running concurrently. 423 - test -d "$prefix" || exit 1 424 - else 425 - case $prefix in 426 - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 427 - *) qprefix=$prefix;; 428 - esac 429 - prefixes="$prefixes '$qprefix'" 430 - fi 431 - fi 432 - prefix=$prefix/ 414 + prefix=$prefix$d 415 + if test -d "$prefix"; then 416 + prefixes= 417 + else 418 + if $posix_mkdir; then 419 + (umask $mkdir_umask && 420 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 421 + # Don't fail if two instances are running concurrently. 422 + test -d "$prefix" || exit 1 423 + else 424 + case $prefix in 425 + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 426 + *) qprefix=$prefix;; 427 + esac 428 + prefixes="$prefixes '$qprefix'" 429 + fi 430 + fi 431 + prefix=$prefix/ 433 432 done 434 433 435 434 if test -n "$prefixes"; then 436 - # Don't fail if two instances are running concurrently. 437 - (umask $mkdir_umask && 438 - eval "\$doit_exec \$mkdirprog $prefixes") || 439 - test -d "$dstdir" || exit 1 440 - obsolete_mkdir_used=true 435 + # Don't fail if two instances are running concurrently. 436 + (umask $mkdir_umask && 437 + eval "\$doit_exec \$mkdirprog $prefixes") || 438 + test -d "$dstdir" || exit 1 439 + obsolete_mkdir_used=true 441 440 fi 442 441 fi 443 442 fi ··· 450 449 else 451 450 452 451 # Make a couple of temp file names in the proper directory. 453 - dsttmp=$dstdir/_inst.$$_ 454 - rmtmp=$dstdir/_rm.$$_ 452 + dsttmp=${dstdirslash}_inst.$$_ 453 + rmtmp=${dstdirslash}_rm.$$_ 455 454 456 455 # Trap to clean up those temp files at exit. 457 456 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 458 457 459 458 # Copy the file name to the temp name. 460 - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && 459 + (umask $cp_umask && 460 + { test -z "$stripcmd" || { 461 + # Create $dsttmp read-write so that cp doesn't create it read-only, 462 + # which would cause strip to fail. 463 + if test -z "$doit"; then 464 + : >"$dsttmp" # No need to fork-exec 'touch'. 465 + else 466 + $doit touch "$dsttmp" 467 + fi 468 + } 469 + } && 470 + $doit_exec $cpprog "$src" "$dsttmp") && 461 471 462 472 # and set any options; do chmod last to preserve setuid bits. 463 473 # ··· 472 482 473 483 # If -C, don't bother to copy if it wouldn't change the file. 474 484 if $copy_on_change && 475 - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 476 - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 477 - 478 - eval "$initialize_posix_glob" && 479 - $posix_glob set -f && 485 + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 486 + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 487 + set -f && 480 488 set X $old && old=:$2:$4:$5:$6 && 481 489 set X $new && new=:$2:$4:$5:$6 && 482 - $posix_glob set +f && 483 - 490 + set +f && 484 491 test "$old" = "$new" && 485 492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 486 493 then 487 494 rm -f "$dsttmp" 488 495 else 496 + # If $backupsuffix is set, and the file being installed 497 + # already exists, attempt a backup. Don't worry if it fails, 498 + # e.g., if mv doesn't support -f. 499 + if test -n "$backupsuffix" && test -f "$dst"; then 500 + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null 501 + fi 502 + 489 503 # Rename the file to the real destination. 490 504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || 491 505 ··· 493 507 # to itself, or perhaps because mv is so ancient that it does not 494 508 # support -f. 495 509 { 496 - # Now remove or move aside any old file at destination location. 497 - # We try this two ways since rm can't unlink itself on some 498 - # systems and the destination file might be busy for other 499 - # reasons. In this case, the final cleanup might fail but the new 500 - # file should still install successfully. 501 - { 502 - test ! -f "$dst" || 503 - $doit $rmcmd -f "$dst" 2>/dev/null || 504 - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 505 - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } 506 - } || 507 - { echo "$0: cannot unlink or rename $dst" >&2 508 - (exit 1); exit 1 509 - } 510 - } && 510 + # Now remove or move aside any old file at destination location. 511 + # We try this two ways since rm can't unlink itself on some 512 + # systems and the destination file might be busy for other 513 + # reasons. In this case, the final cleanup might fail but the new 514 + # file should still install successfully. 515 + { 516 + test ! -f "$dst" || 517 + $doit $rmcmd "$dst" 2>/dev/null || 518 + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 519 + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } 520 + } || 521 + { echo "$0: cannot unlink or rename $dst" >&2 522 + (exit 1); exit 1 523 + } 524 + } && 511 525 512 - # Now rename the file to the real destination. 513 - $doit $mvcmd "$dsttmp" "$dst" 526 + # Now rename the file to the real destination. 527 + $doit $mvcmd "$dsttmp" "$dst" 514 528 } 515 529 fi || exit 1 516 530 ··· 519 533 done 520 534 521 535 # Local variables: 522 - # eval: (add-hook 'write-file-hooks 'time-stamp) 536 + # eval: (add-hook 'before-save-hook 'time-stamp) 523 537 # time-stamp-start: "scriptversion=" 524 538 # time-stamp-format: "%:y-%02m-%02d.%02H" 525 - # time-stamp-time-zone: "UTC" 539 + # time-stamp-time-zone: "UTC0" 526 540 # time-stamp-end: "; # UTC" 527 541 # End:
+1 -3
app/xbiff/man/Makefile.in
··· 126 126 CCDEPMODE = @CCDEPMODE@ 127 127 CFLAGS = @CFLAGS@ 128 128 CHANGELOG_CMD = @CHANGELOG_CMD@ 129 - CPP = @CPP@ 130 129 CPPFLAGS = @CPPFLAGS@ 131 130 CWARNFLAGS = @CWARNFLAGS@ 132 131 CYGPATH_W = @CYGPATH_W@ ··· 137 136 ECHO_C = @ECHO_C@ 138 137 ECHO_N = @ECHO_N@ 139 138 ECHO_T = @ECHO_T@ 140 - EGREP = @EGREP@ 141 139 EXEEXT = @EXEEXT@ 142 140 FILE_MAN_DIR = @FILE_MAN_DIR@ 143 141 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 144 - GREP = @GREP@ 145 142 INSTALL = @INSTALL@ 146 143 INSTALL_CMD = @INSTALL_CMD@ 147 144 INSTALL_DATA = @INSTALL_DATA@ ··· 223 220 prefix = @prefix@ 224 221 program_transform_name = @program_transform_name@ 225 222 psdir = @psdir@ 223 + runstatedir = @runstatedir@ 226 224 sbindir = @sbindir@ 227 225 sharedstatedir = @sharedstatedir@ 228 226 srcdir = @srcdir@
+3
app/xbiff/man/xbiff.man
··· 77 77 .B \-shape 78 78 This option indicates that the mailbox window should be shaped if masks for 79 79 the empty or full images are given. 80 + .TP 8 81 + .B \-version 82 + This option indicates that \fIxbiff\fP should print its version and exit. 80 83 .PP 81 84 The following standard X Toolkit command line arguments are commonly used with 82 85 .I xbiff:
+45 -19
app/xbiff/xbiff.c
··· 30 30 */ 31 31 /* $XFree86: xc/programs/xbiff/xbiff.c,v 1.3tsi Exp $ */ 32 32 33 + #ifdef HAVE_CONFIG_H 34 + #include "config.h" 35 + #endif 36 + 33 37 #include <stdio.h> 34 38 #include <stdlib.h> 35 39 #include <X11/Xatom.h> ··· 64 68 { "quit", quit }, 65 69 }; 66 70 67 - static void Usage (void) 71 + static void _X_NORETURN _X_COLD 72 + Usage (int exitval) 68 73 { 69 - static const char *help_message[] = { 70 - "where options include:", 71 - " -display host:dpy X server to contact", 72 - " -geometry geom size of mailbox", 73 - " -file file file to watch", 74 - " -update seconds how often to check for mail", 75 - " -volume percentage how loud to ring the bell", 76 - " -bg color background color", 77 - " -fg color foreground color", 78 - " -rv reverse video", 79 - " -shape shape the window", 80 - NULL}; 81 - const char **cpp; 74 + const char *help_message = 75 + "where options include:\n" 76 + " -display host:dpy X server to contact\n" 77 + " -geometry geom size of mailbox\n" 78 + " -file file file to watch\n" 79 + " -update seconds how often to check for mail\n" 80 + " -volume percentage how loud to ring the bell\n" 81 + " -bg color background color\n" 82 + " -fg color foreground color\n" 83 + " -rv reverse video\n" 84 + " -shape shape the window\n" 85 + " -help print usage info and exit\n" 86 + " -version print version info and exit\n"; 82 87 83 88 fprintf (stderr, "usage: %s [-options ...]\n", ProgramName); 84 - for (cpp = help_message; *cpp; cpp++) 85 - fprintf (stderr, "%s\n", *cpp); 86 - fprintf (stderr, "\n"); 87 - exit (1); 89 + fprintf (stderr, "%s\n", help_message); 90 + exit (exitval); 88 91 } 89 92 90 93 ··· 98 101 99 102 XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL); 100 103 104 + /* Handle args that don't require opening a display */ 105 + for (int n = 1; n < argc; n++) { 106 + const char *argn = argv[n]; 107 + /* accept single or double dash for -help & -version */ 108 + if (argn[0] == '-' && argn[1] == '-') { 109 + argn++; 110 + } 111 + if (strcmp(argn, "-help") == 0) { 112 + Usage(0); 113 + } 114 + if (strcmp(argn, "-version") == 0) { 115 + puts(PACKAGE_STRING); 116 + exit(0); 117 + } 118 + } 119 + 101 120 toplevel = XtAppInitialize(&xtcontext, "XBiff", options, XtNumber (options), 102 121 &argc, argv, NULL, NULL, 0); 103 - if (argc != 1) Usage (); 122 + if (argc != 1) { 123 + fputs("Unknown argument(s):", stderr); 124 + for (int n = 1; n < argc; n++) { 125 + fprintf(stderr, " %s", argv[n]); 126 + } 127 + fputs("\n\n", stderr); 128 + Usage(1); 129 + } 104 130 105 131 /* 106 132 * This is a hack so that f.delete will do something useful in this