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 libXrandr 1.5.3

matthieu dca2d3dc 668895bb

+4943 -4043
+89 -4
lib/libXrandr/ChangeLog
··· 1 + commit 3387129532899eaeee3477a2d92fa662d7292a84 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sun Nov 20 08:54:24 2022 -0800 4 + 5 + libXrandr 1.5.3 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit 7181160b2c32b1bb804792990783fa25c1122bae 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Mon Oct 17 17:57:19 2022 -0700 12 + 13 + Remove unnecessary casts of return values from malloc() 14 + 15 + Not needed in C89 and later 16 + 17 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18 + 19 + commit 8710ed270fbb9ec905b906826cb09095c57003f8 20 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 21 + Date: Mon Oct 17 17:24:23 2022 -0700 22 + 23 + Variable scope reductions as recommended by cppcheck 24 + 25 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26 + 27 + commit 684ed1b997f9e8a2fe2219524c1dea04b20a7e25 28 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 29 + Date: Mon Oct 17 16:45:38 2022 -0700 30 + 31 + XRRGetProviderInfo: Remove unneeded ProviderInfoExtra 32 + 33 + It was always 0, hence caused gcc warnings: 34 + 35 + XrrProvider.c: In function ‘XRRGetProviderInfo’: 36 + XrrProvider.c:133:49: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 37 + if (rep.length > INT_MAX >> 2 || rep.length < ProviderInfoExtra >> 2) 38 + ^ 39 + XrrProvider.c:135:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] 40 + if (rep.length < ProviderInfoExtra >> 2) 41 + ^ 42 + XrrProvider.c:135:5: warning: this condition has identical branches [-Wduplicated-branches] 43 + if (rep.length < ProviderInfoExtra >> 2) 44 + ^ 45 + 46 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 47 + 48 + commit 8ddb2aefcda77709cf98f15fbcb7d97a2d00ab7d 49 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 50 + Date: Mon Oct 17 16:36:01 2022 -0700 51 + 52 + Xrandr.h: remove misleading comment for XRRGetScreenSizeRange() 53 + 54 + Closes: #7 55 + Fixes: 5e94f07 ("GetScreenSizeRange: Document funky return code in the header") 56 + 57 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 58 + 59 + commit d66693441f688867e6fd4a5d4a4bdade9a338755 60 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 61 + Date: Sun Jul 17 17:32:18 2022 -0700 62 + 63 + gitlab CI: add a basic build test 64 + 65 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 66 + 67 + commit e4c7841eb916f8ad65bfe63daef0f1e81252c704 68 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 69 + Date: Sun Jul 17 17:31:20 2022 -0700 70 + 71 + Fix spelling/wording issues 72 + 73 + Found by using: 74 + codespell --builtin clear,rare,usage,informal,code,names 75 + 76 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77 + 78 + commit be3c7a7621e89bbde2884585179b9e4c5b9e6639 79 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 80 + Date: Sun Jul 17 17:29:30 2022 -0700 81 + 82 + Build xz tarballs instead of bzip2 83 + 84 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 85 + 1 86 commit 55dcda4518eda8ae03ef25ea29d3c994ad71eb0a 2 87 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 88 Date: Sat Mar 16 13:54:20 2019 -0700 ··· 1094 1179 Set version to 1.2.1 for release. 1095 1180 1096 1181 commit c279b64ccca18b14974e413b0b1d55ac81abceda 1097 - Author: Fredrik Höglund <fredrik@kde.org> 1182 + Author: Fredrik Höglund <fredrik@kde.org> 1098 1183 Date: Tue Feb 20 22:30:00 2007 +0100 1099 1184 1100 1185 Fix the use of a C++ keyword as a parameter name in Xrandr.h ··· 1458 1543 Require renderproto instead of render for pkgconfig 1459 1544 1460 1545 commit 9c36643810a7e837f325970ddd5964bbff4971b6 1461 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1546 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1462 1547 Date: Wed Jun 8 20:22:47 2005 +0000 1463 1548 1464 1549 - Don't search for non-autoconf'ed X libs in Xrandr 1465 1550 - Rename man page Xrandr.3 1466 1551 1467 1552 commit 73b3dff9d12d417716c19a33a95eac5f73e5da13 1468 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1553 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1469 1554 Date: Wed Jun 8 19:19:31 2005 +0000 1470 1555 1471 1556 Add Xcursor 1472 1557 conditionally include config.h 1473 1558 1474 1559 commit 32107cdd57b4796c3f41ac56c9ba683be3d894af 1475 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1560 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 1476 1561 Date: Wed Jun 8 17:48:03 2005 +0000 1477 1562 1478 1563 Check in build system for Xrandr
+4 -4
lib/libXrandr/Makefile.in
··· 186 186 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 187 187 done; \ 188 188 reldir="$$dir2" 189 - DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 189 + DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz 190 190 GZIP_ENV = --best 191 - DIST_TARGETS = dist-bzip2 dist-gzip 191 + DIST_TARGETS = dist-xz dist-gzip 192 192 distuninstallcheck_listfiles = find . -type f -print 193 193 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 194 194 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' ··· 210 210 CCDEPMODE = @CCDEPMODE@ 211 211 CFLAGS = @CFLAGS@ 212 212 CHANGELOG_CMD = @CHANGELOG_CMD@ 213 - CPP = @CPP@ 214 213 CPPFLAGS = @CPPFLAGS@ 215 214 CWARNFLAGS = @CWARNFLAGS@ 216 215 CYGPATH_W = @CYGPATH_W@ ··· 328 327 prefix = @prefix@ 329 328 program_transform_name = @program_transform_name@ 330 329 psdir = @psdir@ 330 + runstatedir = @runstatedir@ 331 331 sbindir = @sbindir@ 332 332 sharedstatedir = @sharedstatedir@ 333 333 srcdir = @srcdir@ ··· 633 633 dist-gzip: distdir 634 634 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 635 635 $(am__post_remove_distdir) 636 + 636 637 dist-bzip2: distdir 637 638 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 638 639 $(am__post_remove_distdir) ··· 640 641 dist-lzip: distdir 641 642 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 642 643 $(am__post_remove_distdir) 643 - 644 644 dist-xz: distdir 645 645 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 646 646 $(am__post_remove_distdir)
+1 -1
lib/libXrandr/README.md
··· 9 9 10 10 https://lists.x.org/mailman/listinfo/xorg 11 11 12 - The master development code repository can be found at: 12 + The primary development code repository can be found at: 13 13 14 14 https://gitlab.freedesktop.org/xorg/lib/libXrandr 15 15
+53 -33
lib/libXrandr/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'.])]) ··· 8606 8606 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) 8607 8607 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) 8608 8608 8609 - dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 8610 - dnl serial 11 (pkg-config-0.29.1) 8611 - dnl 8609 + # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 8610 + # serial 12 (pkg-config-0.29.2) 8611 + 8612 8612 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 8613 8613 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> 8614 8614 dnl ··· 8649 8649 dnl See the "Since" comment for each macro you use to see what version 8650 8650 dnl of the macros you require. 8651 8651 m4_defun([PKG_PREREQ], 8652 - [m4_define([PKG_MACROS_VERSION], [0.29.1]) 8652 + [m4_define([PKG_MACROS_VERSION], [0.29.2]) 8653 8653 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, 8654 8654 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 8655 8655 ])dnl PKG_PREREQ ··· 8750 8750 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 8751 8751 8752 8752 pkg_failed=no 8753 - AC_MSG_CHECKING([for $1]) 8753 + AC_MSG_CHECKING([for $2]) 8754 8754 8755 8755 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 8756 8756 _PKG_CONFIG([$1][_LIBS], [libs], [$2]) ··· 8760 8760 See the pkg-config man page for more details.]) 8761 8761 8762 8762 if test $pkg_failed = yes; then 8763 - AC_MSG_RESULT([no]) 8763 + AC_MSG_RESULT([no]) 8764 8764 _PKG_SHORT_ERRORS_SUPPORTED 8765 8765 if test $_pkg_short_errors_supported = yes; then 8766 8766 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` 8767 - else 8767 + else 8768 8768 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` 8769 8769 fi 8770 8770 # Put the nasty error message in config.log where it belongs ··· 8781 8781 _PKG_TEXT])[]dnl 8782 8782 ]) 8783 8783 elif test $pkg_failed = untried; then 8784 - AC_MSG_RESULT([no]) 8784 + AC_MSG_RESULT([no]) 8785 8785 m4_default([$4], [AC_MSG_FAILURE( 8786 8786 [The pkg-config script could not be found or is too old. Make sure it 8787 8787 is in your PATH or set the PKG_CONFIG environment variable to the full ··· 9905 9905 9906 9906 dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. 9907 9907 dnl 9908 - dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. 9908 + dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates. 9909 9909 dnl 9910 9910 dnl Permission is hereby granted, free of charge, to any person obtaining a 9911 9911 dnl copy of this software and associated documentation files (the "Software"), ··· 9942 9942 # See the "minimum version" comment for each macro you use to see what 9943 9943 # version you require. 9944 9944 m4_defun([XORG_MACROS_VERSION],[ 9945 - m4_define([vers_have], [1.19.2]) 9945 + m4_define([vers_have], [1.20.0]) 9946 9946 m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.]))) 9947 9947 m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.]))) 9948 9948 m4_if(m4_cmp(maj_have, maj_needed), 0,, ··· 9963 9963 # such as man pages and config files 9964 9964 AC_DEFUN([XORG_PROG_RAWCPP],[ 9965 9965 AC_REQUIRE([AC_PROG_CPP]) 9966 - AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}], 9966 + AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}], 9967 9967 [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib]) 9968 9968 9969 9969 # Check for flag to avoid builtin definitions - assumes unix is predefined, ··· 10273 10273 # Documentation tools are not always available on all platforms and sometimes 10274 10274 # not at the appropriate level. This macro enables a module to test for the 10275 10275 # presence of the tool and obtain it's path in separate variables. Coupled with 10276 - # the --with-xmlto option, it allows maximum flexibilty in making decisions 10276 + # the --with-xmlto option, it allows maximum flexibility in making decisions 10277 10277 # as whether or not to use the xmlto package. When DEFAULT is not specified, 10278 10278 # --with-xmlto assumes 'auto'. 10279 10279 # ··· 10487 10487 # Documentation tools are not always available on all platforms and sometimes 10488 10488 # not at the appropriate level. This macro enables a module to test for the 10489 10489 # presence of the tool and obtain it's path in separate variables. Coupled with 10490 - # the --with-asciidoc option, it allows maximum flexibilty in making decisions 10490 + # the --with-asciidoc option, it allows maximum flexibility in making decisions 10491 10491 # as whether or not to use the asciidoc package. When DEFAULT is not specified, 10492 10492 # --with-asciidoc assumes 'auto'. 10493 10493 # ··· 10557 10557 # Documentation tools are not always available on all platforms and sometimes 10558 10558 # not at the appropriate level. This macro enables a module to test for the 10559 10559 # presence of the tool and obtain it's path in separate variables. Coupled with 10560 - # the --with-doxygen option, it allows maximum flexibilty in making decisions 10560 + # the --with-doxygen option, it allows maximum flexibility in making decisions 10561 10561 # as whether or not to use the doxygen package. When DEFAULT is not specified, 10562 10562 # --with-doxygen assumes 'auto'. 10563 10563 # ··· 10641 10641 # Documentation tools are not always available on all platforms and sometimes 10642 10642 # not at the appropriate level. This macro enables a module to test for the 10643 10643 # presence of the tool and obtain it's path in separate variables. Coupled with 10644 - # the --with-groff option, it allows maximum flexibilty in making decisions 10644 + # the --with-groff option, it allows maximum flexibility in making decisions 10645 10645 # as whether or not to use the groff package. When DEFAULT is not specified, 10646 10646 # --with-groff assumes 'auto'. 10647 10647 # ··· 10749 10749 # Documentation tools are not always available on all platforms and sometimes 10750 10750 # not at the appropriate level. This macro enables a module to test for the 10751 10751 # presence of the tool and obtain it's path in separate variables. Coupled with 10752 - # the --with-fop option, it allows maximum flexibilty in making decisions 10752 + # the --with-fop option, it allows maximum flexibility in making decisions 10753 10753 # as whether or not to use the fop package. When DEFAULT is not specified, 10754 10754 # --with-fop assumes 'auto'. 10755 10755 # ··· 10843 10843 # Documentation tools are not always available on all platforms and sometimes 10844 10844 # not at the appropriate level. This macro enables a module to test for the 10845 10845 # presence of the tool and obtain it's path in separate variables. Coupled with 10846 - # the --with-ps2pdf option, it allows maximum flexibilty in making decisions 10846 + # the --with-ps2pdf option, it allows maximum flexibility in making decisions 10847 10847 # as whether or not to use the ps2pdf package. When DEFAULT is not specified, 10848 10848 # --with-ps2pdf assumes 'auto'. 10849 10849 # ··· 10898 10898 # not at the appropriate level. This macro enables a builder to skip all 10899 10899 # documentation targets except traditional man pages. 10900 10900 # Combined with the specific tool checking macros XORG_WITH_*, it provides 10901 - # maximum flexibilty in controlling documentation building. 10901 + # maximum flexibility in controlling documentation building. 10902 10902 # Refer to: 10903 10903 # XORG_WITH_XMLTO --with-xmlto 10904 10904 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 10931 10931 # 10932 10932 # This macro enables a builder to skip all developer documentation. 10933 10933 # Combined with the specific tool checking macros XORG_WITH_*, it provides 10934 - # maximum flexibilty in controlling documentation building. 10934 + # maximum flexibility in controlling documentation building. 10935 10935 # Refer to: 10936 10936 # XORG_WITH_XMLTO --with-xmlto 10937 10937 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 10964 10964 # 10965 10965 # This macro enables a builder to skip all functional specification targets. 10966 10966 # Combined with the specific tool checking macros XORG_WITH_*, it provides 10967 - # maximum flexibilty in controlling documentation building. 10967 + # maximum flexibility in controlling documentation building. 10968 10968 # Refer to: 10969 10969 # XORG_WITH_XMLTO --with-xmlto 10970 10970 # XORG_WITH_ASCIIDOC --with-asciidoc ··· 11439 11439 AC_DEFUN([XORG_COMPILER_BRAND], [ 11440 11440 AC_LANG_CASE( 11441 11441 [C], [ 11442 - AC_REQUIRE([AC_PROG_CC_C99]) 11442 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 11443 + dnl and complains that AC_PROG_CC_C99 is obsolete 11444 + m4_version_prereq([2.70], 11445 + [AC_REQUIRE([AC_PROG_CC])], 11446 + [AC_REQUIRE([AC_PROG_CC_C99])]) 11443 11447 ], 11444 11448 [C++], [ 11445 11449 AC_REQUIRE([AC_PROG_CXX]) ··· 11455 11459 # Minimum version: 1.16.0 11456 11460 # 11457 11461 # Test if the compiler works when passed the given flag as a command line argument. 11458 - # If it succeeds, the flag is appeneded to the given variable. If not, it tries the 11462 + # If it succeeds, the flag is appended to the given variable. If not, it tries the 11459 11463 # next flag in the list until there are no more options. 11460 11464 # 11461 11465 # Note that this does not guarantee that the compiler supports the flag as some ··· 11471 11475 11472 11476 AC_LANG_CASE( 11473 11477 [C], [ 11474 - AC_REQUIRE([AC_PROG_CC_C99]) 11478 + dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC 11479 + dnl and complains that AC_PROG_CC_C99 is obsolete 11480 + m4_version_prereq([2.70], 11481 + [AC_REQUIRE([AC_PROG_CC])], 11482 + [AC_REQUIRE([AC_PROG_CC_C99])]) 11475 11483 define([PREFIX], [C]) 11476 11484 define([CACHE_PREFIX], [cc]) 11477 11485 define([COMPILER], [$CC]) ··· 11612 11620 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 11613 11621 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 11614 11622 11615 - # Turn some warnings into errors, so we don't accidently get successful builds 11623 + # Turn some warnings into errors, so we don't accidentally get successful builds 11616 11624 # when there are problems that should be fixed. 11617 11625 11618 11626 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 11721 11729 AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS])) 11722 11730 ]) # XORG_STRICT_OPTION 11723 11731 11732 + # XORG_DEFAULT_NOCODE_OPTIONS 11733 + # --------------------------- 11734 + # Minimum version: 1.20.0 11735 + # 11736 + # Defines default options for X.Org modules which don't compile code, 11737 + # such as fonts, bitmaps, cursors, and docs. 11738 + # 11739 + AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [ 11740 + AC_REQUIRE([AC_PROG_INSTALL]) 11741 + XORG_RELEASE_VERSION 11742 + XORG_CHANGELOG 11743 + XORG_INSTALL 11744 + XORG_MANPAGE_SECTIONS 11745 + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 11746 + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 11747 + ]) # XORG_DEFAULT_NOCODE_OPTIONS 11748 + 11724 11749 # XORG_DEFAULT_OPTIONS 11725 11750 # -------------------- 11726 11751 # Minimum version: 1.3.0 11727 11752 # 11728 - # Defines default options for X.Org modules. 11753 + # Defines default options for X.Org modules which compile code. 11729 11754 # 11730 11755 AC_DEFUN([XORG_DEFAULT_OPTIONS], [ 11731 11756 AC_REQUIRE([AC_PROG_INSTALL]) 11732 11757 XORG_COMPILER_FLAGS 11733 11758 XORG_CWARNFLAGS 11734 11759 XORG_STRICT_OPTION 11735 - XORG_RELEASE_VERSION 11736 - XORG_CHANGELOG 11737 - XORG_INSTALL 11738 - XORG_MANPAGE_SECTIONS 11739 - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 11740 - [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 11760 + XORG_DEFAULT_NOCODE_OPTIONS 11741 11761 ]) # XORG_DEFAULT_OPTIONS 11742 11762 11743 11763 # XORG_INSTALL()
+9 -8
lib/libXrandr/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:
+6 -4
lib/libXrandr/config.h.in
··· 6 6 /* Define to 1 if you have the <inttypes.h> header file. */ 7 7 #undef HAVE_INTTYPES_H 8 8 9 - /* Define to 1 if you have the <memory.h> header file. */ 10 - #undef HAVE_MEMORY_H 11 - 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 ··· 64 64 /* Patch version of this package */ 65 65 #undef PACKAGE_VERSION_PATCHLEVEL 66 66 67 - /* Define to 1 if you have the ANSI C header files. */ 67 + /* Define to 1 if all of the C90 standard headers exist (not just the ones 68 + required in a freestanding environment). This macro is provided for 69 + backward compatibility; new code need not use it. */ 68 70 #undef STDC_HEADERS 69 71 70 72 /* Version number of package */
+4501 -3708
lib/libXrandr/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for libXrandr 1.5.2. 3 + # Generated by GNU Autoconf 2.71 for libXrandr 1.5.3. 4 4 # 5 - # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXrandr/issues>. 5 + # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/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 ··· 207 192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209 194 test \$(( 1 + 1 )) = 2 || exit 1" 210 - if (eval "$as_required") 2>/dev/null; then : 195 + if (eval "$as_required") 2>/dev/null 196 + then : 211 197 as_have_required=yes 212 - else 198 + else $as_nop 213 199 as_have_required=no 214 200 fi 215 - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 201 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 202 + then : 216 203 217 - else 204 + else $as_nop 218 205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 206 as_found=false 220 207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221 208 do 222 209 IFS=$as_save_IFS 223 - test -z "$as_dir" && as_dir=. 210 + case $as_dir in #((( 211 + '') as_dir=./ ;; 212 + */) ;; 213 + *) as_dir=$as_dir/ ;; 214 + esac 224 215 as_found=: 225 216 case $as_dir in #( 226 217 /*) 227 218 for as_base in sh bash ksh sh5; do 228 219 # Try only shells that exist, to save several forks. 229 - as_shell=$as_dir/$as_base 220 + as_shell=$as_dir$as_base 230 221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 223 + then : 232 224 CONFIG_SHELL=$as_shell as_have_required=yes 233 - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 225 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 226 + then : 234 227 break 2 235 228 fi 236 229 fi ··· 238 231 esac 239 232 as_found=false 240 233 done 241 - $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 - CONFIG_SHELL=$SHELL as_have_required=yes 244 - fi; } 245 234 IFS=$as_save_IFS 235 + if $as_found 236 + then : 246 237 238 + else $as_nop 239 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 241 + then : 242 + CONFIG_SHELL=$SHELL as_have_required=yes 243 + fi 244 + fi 247 245 248 - if test "x$CONFIG_SHELL" != x; then : 246 + 247 + if test "x$CONFIG_SHELL" != x 248 + then : 249 249 export CONFIG_SHELL 250 250 # We cannot yet assume a decent shell, so we have to provide a 251 251 # neutralization value for shells without unset; and this also ··· 263 263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264 264 # Admittedly, this is quite paranoid, since all the known shells bail 265 265 # out after a failed `exec'. 266 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 266 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 267 267 exit 255 268 268 fi 269 269 270 - if test x$as_have_required = xno; then : 271 - $as_echo "$0: This script requires a shell more modern than all" 272 - $as_echo "$0: the shells that I found on your system." 273 - if test x${ZSH_VERSION+set} = xset ; then 274 - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 - $as_echo "$0: be upgraded to zsh 4.3.4 or later." 270 + if test x$as_have_required = xno 271 + then : 272 + printf "%s\n" "$0: This script requires a shell more modern than all" 273 + printf "%s\n" "$0: the shells that I found on your system." 274 + if test ${ZSH_VERSION+y} ; then 275 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 276 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 276 277 else 277 - $as_echo "$0: Please tell bug-autoconf@gnu.org and 278 - $0: https://gitlab.freedesktop.org/xorg/lib/libXrandr/issues 278 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 279 + $0: https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues 279 280 $0: about your system, including any error possibly output 280 281 $0: before this message. Then install a modern shell, or 281 282 $0: manually run the script under such a shell if you do ··· 303 304 } 304 305 as_unset=as_fn_unset 305 306 307 + 306 308 # as_fn_set_status STATUS 307 309 # ----------------------- 308 310 # Set $? to STATUS, without forking. ··· 320 322 as_fn_set_status $1 321 323 exit $1 322 324 } # as_fn_exit 325 + # as_fn_nop 326 + # --------- 327 + # Do nothing but, unlike ":", preserve the value of $?. 328 + as_fn_nop () 329 + { 330 + return $? 331 + } 332 + as_nop=as_fn_nop 323 333 324 334 # as_fn_mkdir_p 325 335 # ------------- ··· 334 344 as_dirs= 335 345 while :; do 336 346 case $as_dir in #( 337 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 347 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 348 *) as_qdir=$as_dir;; 339 349 esac 340 350 as_dirs="'$as_qdir' $as_dirs" ··· 343 353 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 354 X"$as_dir" : 'X\(//\)$' \| \ 345 355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346 - $as_echo X"$as_dir" | 356 + printf "%s\n" X"$as_dir" | 347 357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 358 s//\1/ 349 359 q ··· 382 392 # advantage of any shell optimizations that allow amortized linear growth over 383 393 # repeated appends, instead of the typical quadratic growth present in naive 384 394 # implementations. 385 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 395 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 396 + then : 386 397 eval 'as_fn_append () 387 398 { 388 399 eval $1+=\$2 389 400 }' 390 - else 401 + else $as_nop 391 402 as_fn_append () 392 403 { 393 404 eval $1=\$$1\$2 ··· 399 410 # Perform arithmetic evaluation on the ARGs, and store the result in the 400 411 # global $as_val. Take advantage of shells that can avoid forks. The arguments 401 412 # must be portable across $(()) and expr. 402 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 413 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 414 + then : 403 415 eval 'as_fn_arith () 404 416 { 405 417 as_val=$(( $* )) 406 418 }' 407 - else 419 + else $as_nop 408 420 as_fn_arith () 409 421 { 410 422 as_val=`expr "$@" || test $? -eq 1` 411 423 } 412 424 fi # as_fn_arith 413 425 426 + # as_fn_nop 427 + # --------- 428 + # Do nothing but, unlike ":", preserve the value of $?. 429 + as_fn_nop () 430 + { 431 + return $? 432 + } 433 + as_nop=as_fn_nop 414 434 415 435 # as_fn_error STATUS ERROR [LINENO LOG_FD] 416 436 # ---------------------------------------- ··· 422 442 as_status=$1; test $as_status -eq 0 && as_status=1 423 443 if test "$4"; then 424 444 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 445 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 446 fi 427 - $as_echo "$as_me: error: $2" >&2 447 + printf "%s\n" "$as_me: error: $2" >&2 428 448 as_fn_exit $as_status 429 449 } # as_fn_error 430 450 ··· 451 471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 472 X"$0" : 'X\(//\)$' \| \ 453 473 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454 - $as_echo X/"$0" | 474 + printf "%s\n" X/"$0" | 455 475 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 476 s//\1/ 457 477 q ··· 495 515 s/-\n.*// 496 516 ' >$as_me.lineno && 497 517 chmod +x "$as_me.lineno" || 498 - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 518 + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 519 500 520 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 521 # already done that, so ensure we don't try to do so again and fall ··· 509 529 exit 510 530 } 511 531 532 + 533 + # Determine whether it's possible to make 'echo' print without a newline. 534 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 535 + # for compatibility with existing Makefiles. 512 536 ECHO_C= ECHO_N= ECHO_T= 513 537 case `echo -n x` in #((((( 514 538 -n*) ··· 522 546 ECHO_N='-n';; 523 547 esac 524 548 549 + # For backward compatibility with old third-party macros, we provide 550 + # the shell variables $as_echo and $as_echo_n. New code should use 551 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 552 + as_echo='printf %s\n' 553 + as_echo_n='printf %s' 554 + 555 + 525 556 rm -f conf$$ conf$$.exe conf$$.file 526 557 if test -d conf$$.dir; then 527 558 rm -f conf$$.dir/conf$$.file ··· 591 622 # Identity of this package. 592 623 PACKAGE_NAME='libXrandr' 593 624 PACKAGE_TARNAME='libXrandr' 594 - PACKAGE_VERSION='1.5.2' 595 - PACKAGE_STRING='libXrandr 1.5.2' 596 - PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXrandr/issues' 625 + PACKAGE_VERSION='1.5.3' 626 + PACKAGE_STRING='libXrandr 1.5.3' 627 + PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues' 597 628 PACKAGE_URL='' 598 629 599 630 ac_unique_file="Makefile.am" 600 631 # Factoring default headers for most tests. 601 632 ac_includes_default="\ 602 - #include <stdio.h> 603 - #ifdef HAVE_SYS_TYPES_H 604 - # include <sys/types.h> 605 - #endif 606 - #ifdef HAVE_SYS_STAT_H 607 - # include <sys/stat.h> 633 + #include <stddef.h> 634 + #ifdef HAVE_STDIO_H 635 + # include <stdio.h> 608 636 #endif 609 - #ifdef STDC_HEADERS 637 + #ifdef HAVE_STDLIB_H 610 638 # include <stdlib.h> 611 - # include <stddef.h> 612 - #else 613 - # ifdef HAVE_STDLIB_H 614 - # include <stdlib.h> 615 - # endif 616 639 #endif 617 640 #ifdef HAVE_STRING_H 618 - # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 619 - # include <memory.h> 620 - # endif 621 641 # include <string.h> 622 642 #endif 623 - #ifdef HAVE_STRINGS_H 624 - # include <strings.h> 625 - #endif 626 643 #ifdef HAVE_INTTYPES_H 627 644 # include <inttypes.h> 628 645 #endif 629 646 #ifdef HAVE_STDINT_H 630 647 # include <stdint.h> 631 648 #endif 649 + #ifdef HAVE_STRINGS_H 650 + # include <strings.h> 651 + #endif 652 + #ifdef HAVE_SYS_TYPES_H 653 + # include <sys/types.h> 654 + #endif 655 + #ifdef HAVE_SYS_STAT_H 656 + # include <sys/stat.h> 657 + #endif 632 658 #ifdef HAVE_UNISTD_H 633 659 # include <unistd.h> 634 660 #endif" 635 661 662 + ac_header_c_list= 636 663 ac_subst_vars='am__EXEEXT_FALSE 637 664 am__EXEEXT_TRUE 638 665 LTLIBOBJS ··· 672 699 MAINT 673 700 MAINTAINER_MODE_FALSE 674 701 MAINTAINER_MODE_TRUE 675 - CPP 676 702 OTOOL64 677 703 OTOOL 678 704 LIPO ··· 761 787 docdir 762 788 oldincludedir 763 789 includedir 790 + runstatedir 764 791 localstatedir 765 792 sharedstatedir 766 793 sysconfdir ··· 805 832 LDFLAGS 806 833 LIBS 807 834 CPPFLAGS 808 - CPP 809 835 PKG_CONFIG 810 836 PKG_CONFIG_PATH 811 837 PKG_CONFIG_LIBDIR ··· 849 875 sysconfdir='${prefix}/etc' 850 876 sharedstatedir='${prefix}/com' 851 877 localstatedir='${prefix}/var' 878 + runstatedir='${localstatedir}/run' 852 879 includedir='${prefix}/include' 853 880 oldincludedir='/usr/include' 854 881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ··· 878 905 *) ac_optarg=yes ;; 879 906 esac 880 907 881 - # Accept the important Cygnus configure options, so we can diagnose typos. 882 - 883 908 case $ac_dashdash$ac_option in 884 909 --) 885 910 ac_dashdash=yes ;; ··· 920 945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 921 946 # Reject names that are not valid shell variable names. 922 947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 923 - as_fn_error $? "invalid feature name: $ac_useropt" 948 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 924 949 ac_useropt_orig=$ac_useropt 925 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 950 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 926 951 case $ac_user_opts in 927 952 *" 928 953 "enable_$ac_useropt" ··· 946 971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 947 972 # Reject names that are not valid shell variable names. 948 973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 949 - as_fn_error $? "invalid feature name: $ac_useropt" 974 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 950 975 ac_useropt_orig=$ac_useropt 951 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 976 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 952 977 case $ac_user_opts in 953 978 *" 954 979 "enable_$ac_useropt" ··· 1101 1126 | -silent | --silent | --silen | --sile | --sil) 1102 1127 silent=yes ;; 1103 1128 1129 + -runstatedir | --runstatedir | --runstatedi | --runstated \ 1130 + | --runstate | --runstat | --runsta | --runst | --runs \ 1131 + | --run | --ru | --r) 1132 + ac_prev=runstatedir ;; 1133 + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1134 + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1135 + | --run=* | --ru=* | --r=*) 1136 + runstatedir=$ac_optarg ;; 1137 + 1104 1138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1105 1139 ac_prev=sbindir ;; 1106 1140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ··· 1150 1184 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1151 1185 # Reject names that are not valid shell variable names. 1152 1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1153 - as_fn_error $? "invalid package name: $ac_useropt" 1187 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1154 1188 ac_useropt_orig=$ac_useropt 1155 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1189 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1156 1190 case $ac_user_opts in 1157 1191 *" 1158 1192 "with_$ac_useropt" ··· 1166 1200 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1167 1201 # Reject names that are not valid shell variable names. 1168 1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1169 - as_fn_error $? "invalid package name: $ac_useropt" 1203 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1170 1204 ac_useropt_orig=$ac_useropt 1171 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1205 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1172 1206 case $ac_user_opts in 1173 1207 *" 1174 1208 "with_$ac_useropt" ··· 1212 1246 1213 1247 *) 1214 1248 # FIXME: should be removed in autoconf 3.0. 1215 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1249 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1216 1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1217 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1251 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1218 1252 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1219 1253 ;; 1220 1254 ··· 1230 1264 case $enable_option_checking in 1231 1265 no) ;; 1232 1266 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1233 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1267 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1234 1268 esac 1235 1269 fi 1236 1270 ··· 1238 1272 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1239 1273 datadir sysconfdir sharedstatedir localstatedir includedir \ 1240 1274 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1241 - libdir localedir mandir 1275 + libdir localedir mandir runstatedir 1242 1276 do 1243 1277 eval ac_val=\$$ac_var 1244 1278 # Remove trailing slashes. ··· 1294 1328 X"$as_myself" : 'X\(//\)[^/]' \| \ 1295 1329 X"$as_myself" : 'X\(//\)$' \| \ 1296 1330 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1297 - $as_echo X"$as_myself" | 1331 + printf "%s\n" X"$as_myself" | 1298 1332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1299 1333 s//\1/ 1300 1334 q ··· 1351 1385 # Omit some internal or obsolete options to make the list less imposing. 1352 1386 # This message is too long to be a string in the A/UX 3.1 sh. 1353 1387 cat <<_ACEOF 1354 - \`configure' configures libXrandr 1.5.2 to adapt to many kinds of systems. 1388 + \`configure' configures libXrandr 1.5.3 to adapt to many kinds of systems. 1355 1389 1356 1390 Usage: $0 [OPTION]... [VAR=VALUE]... 1357 1391 ··· 1391 1425 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1392 1426 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1393 1427 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1428 + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1394 1429 --libdir=DIR object code libraries [EPREFIX/lib] 1395 1430 --includedir=DIR C header files [PREFIX/include] 1396 1431 --oldincludedir=DIR C header files for non-gcc [/usr/include] ··· 1421 1456 1422 1457 if test -n "$ac_init_help"; then 1423 1458 case $ac_init_help in 1424 - short | recursive ) echo "Configuration of libXrandr 1.5.2:";; 1459 + short | recursive ) echo "Configuration of libXrandr 1.5.3:";; 1425 1460 esac 1426 1461 cat <<\_ACEOF 1427 1462 ··· 1469 1504 LIBS libraries to pass to the linker, e.g. -l<library> 1470 1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1471 1506 you have headers in a nonstandard directory <include dir> 1472 - CPP C preprocessor 1473 1507 PKG_CONFIG path to pkg-config utility 1474 1508 PKG_CONFIG_PATH 1475 1509 directories to add to pkg-config's search path ··· 1482 1516 Use these variables to override the choices made by `configure' or to help 1483 1517 it to find libraries and programs with nonstandard names/locations. 1484 1518 1485 - Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXrandr/issues>. 1519 + Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues>. 1486 1520 _ACEOF 1487 1521 ac_status=$? 1488 1522 fi ··· 1498 1532 case "$ac_dir" in 1499 1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1500 1534 *) 1501 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1535 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1502 1536 # A ".." for each directory in $ac_dir_suffix. 1503 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1537 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1504 1538 case $ac_top_builddir_sub in 1505 1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1506 1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1528 1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1529 1563 1530 1564 cd "$ac_dir" || { ac_status=$?; continue; } 1531 - # Check for guested configure. 1565 + # Check for configure.gnu first; this name is used for a wrapper for 1566 + # Metaconfig's "Configure" on case-insensitive file systems. 1532 1567 if test -f "$ac_srcdir/configure.gnu"; then 1533 1568 echo && 1534 1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1536 1571 echo && 1537 1572 $SHELL "$ac_srcdir/configure" --help=recursive 1538 1573 else 1539 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1574 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1540 1575 fi || ac_status=$? 1541 1576 cd "$ac_pwd" || { ac_status=$?; break; } 1542 1577 done ··· 1545 1580 test -n "$ac_init_help" && exit $ac_status 1546 1581 if $ac_init_version; then 1547 1582 cat <<\_ACEOF 1548 - libXrandr configure 1.5.2 1549 - generated by GNU Autoconf 2.69 1583 + libXrandr configure 1.5.3 1584 + generated by GNU Autoconf 2.71 1550 1585 1551 - Copyright (C) 2012 Free Software Foundation, Inc. 1586 + Copyright (C) 2021 Free Software Foundation, Inc. 1552 1587 This configure script is free software; the Free Software Foundation 1553 1588 gives unlimited permission to copy, distribute and modify it. 1554 1589 _ACEOF ··· 1565 1600 ac_fn_c_try_compile () 1566 1601 { 1567 1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1568 - rm -f conftest.$ac_objext 1603 + rm -f conftest.$ac_objext conftest.beam 1569 1604 if { { ac_try="$ac_compile" 1570 1605 case "(($ac_try" in 1571 1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1572 1607 *) ac_try_echo=$ac_try;; 1573 1608 esac 1574 1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1575 - $as_echo "$ac_try_echo"; } >&5 1610 + printf "%s\n" "$ac_try_echo"; } >&5 1576 1611 (eval "$ac_compile") 2>conftest.err 1577 1612 ac_status=$? 1578 1613 if test -s conftest.err; then ··· 1580 1615 cat conftest.er1 >&5 1581 1616 mv -f conftest.er1 conftest.err 1582 1617 fi 1583 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1584 1619 test $ac_status = 0; } && { 1585 1620 test -z "$ac_c_werror_flag" || 1586 1621 test ! -s conftest.err 1587 - } && test -s conftest.$ac_objext; then : 1622 + } && test -s conftest.$ac_objext 1623 + then : 1588 1624 ac_retval=0 1589 - else 1590 - $as_echo "$as_me: failed program was:" >&5 1625 + else $as_nop 1626 + printf "%s\n" "$as_me: failed program was:" >&5 1591 1627 sed 's/^/| /' conftest.$ac_ext >&5 1592 1628 1593 1629 ac_retval=1 ··· 1603 1639 ac_fn_c_try_link () 1604 1640 { 1605 1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1606 - rm -f conftest.$ac_objext conftest$ac_exeext 1642 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1607 1643 if { { ac_try="$ac_link" 1608 1644 case "(($ac_try" in 1609 1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1610 1646 *) ac_try_echo=$ac_try;; 1611 1647 esac 1612 1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1613 - $as_echo "$ac_try_echo"; } >&5 1649 + printf "%s\n" "$ac_try_echo"; } >&5 1614 1650 (eval "$ac_link") 2>conftest.err 1615 1651 ac_status=$? 1616 1652 if test -s conftest.err; then ··· 1618 1654 cat conftest.er1 >&5 1619 1655 mv -f conftest.er1 conftest.err 1620 1656 fi 1621 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1657 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1622 1658 test $ac_status = 0; } && { 1623 1659 test -z "$ac_c_werror_flag" || 1624 1660 test ! -s conftest.err 1625 1661 } && test -s conftest$ac_exeext && { 1626 1662 test "$cross_compiling" = yes || 1627 1663 test -x conftest$ac_exeext 1628 - }; then : 1664 + } 1665 + then : 1629 1666 ac_retval=0 1630 - else 1631 - $as_echo "$as_me: failed program was:" >&5 1667 + else $as_nop 1668 + printf "%s\n" "$as_me: failed program was:" >&5 1632 1669 sed 's/^/| /' conftest.$ac_ext >&5 1633 1670 1634 1671 ac_retval=1 ··· 1650 1687 ac_fn_c_check_header_compile () 1651 1688 { 1652 1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1653 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1654 - $as_echo_n "checking for $2... " >&6; } 1655 - if eval \${$3+:} false; then : 1656 - $as_echo_n "(cached) " >&6 1657 - else 1690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1691 + printf %s "checking for $2... " >&6; } 1692 + if eval test \${$3+y} 1693 + then : 1694 + printf %s "(cached) " >&6 1695 + else $as_nop 1658 1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1659 1697 /* end confdefs.h. */ 1660 1698 $4 1661 1699 #include <$2> 1662 1700 _ACEOF 1663 - if ac_fn_c_try_compile "$LINENO"; then : 1701 + if ac_fn_c_try_compile "$LINENO" 1702 + then : 1664 1703 eval "$3=yes" 1665 - else 1704 + else $as_nop 1666 1705 eval "$3=no" 1667 1706 fi 1668 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1707 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1669 1708 fi 1670 1709 eval ac_res=\$$3 1671 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1672 - $as_echo "$ac_res" >&6; } 1710 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1711 + printf "%s\n" "$ac_res" >&6; } 1673 1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1674 1713 1675 1714 } # ac_fn_c_check_header_compile 1676 1715 1677 - # ac_fn_c_try_cpp LINENO 1678 - # ---------------------- 1679 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1680 - ac_fn_c_try_cpp () 1681 - { 1682 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1683 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1684 - case "(($ac_try" in 1685 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1686 - *) ac_try_echo=$ac_try;; 1687 - esac 1688 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1689 - $as_echo "$ac_try_echo"; } >&5 1690 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1691 - ac_status=$? 1692 - if test -s conftest.err; then 1693 - grep -v '^ *+' conftest.err >conftest.er1 1694 - cat conftest.er1 >&5 1695 - mv -f conftest.er1 conftest.err 1696 - fi 1697 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1698 - test $ac_status = 0; } > conftest.i && { 1699 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1700 - test ! -s conftest.err 1701 - }; then : 1702 - ac_retval=0 1703 - else 1704 - $as_echo "$as_me: failed program was:" >&5 1705 - sed 's/^/| /' conftest.$ac_ext >&5 1706 - 1707 - ac_retval=1 1708 - fi 1709 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1710 - as_fn_set_status $ac_retval 1711 - 1712 - } # ac_fn_c_try_cpp 1713 - 1714 - # ac_fn_c_try_run LINENO 1715 - # ---------------------- 1716 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1717 - # that executables *can* be run. 1718 - ac_fn_c_try_run () 1719 - { 1720 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1721 - if { { ac_try="$ac_link" 1722 - case "(($ac_try" in 1723 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1724 - *) ac_try_echo=$ac_try;; 1725 - esac 1726 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1727 - $as_echo "$ac_try_echo"; } >&5 1728 - (eval "$ac_link") 2>&5 1729 - ac_status=$? 1730 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1731 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1732 - { { case "(($ac_try" in 1733 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 - *) ac_try_echo=$ac_try;; 1735 - esac 1736 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737 - $as_echo "$ac_try_echo"; } >&5 1738 - (eval "$ac_try") 2>&5 1739 - ac_status=$? 1740 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 - test $ac_status = 0; }; }; then : 1742 - ac_retval=0 1743 - else 1744 - $as_echo "$as_me: program exited with status $ac_status" >&5 1745 - $as_echo "$as_me: failed program was:" >&5 1746 - sed 's/^/| /' conftest.$ac_ext >&5 1747 - 1748 - ac_retval=$ac_status 1749 - fi 1750 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1751 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1752 - as_fn_set_status $ac_retval 1753 - 1754 - } # ac_fn_c_try_run 1755 - 1756 1716 # ac_fn_c_check_func LINENO FUNC VAR 1757 1717 # ---------------------------------- 1758 1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1759 1719 ac_fn_c_check_func () 1760 1720 { 1761 1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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 - else 1722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1723 + printf %s "checking for $2... " >&6; } 1724 + if eval test \${$3+y} 1725 + then : 1726 + printf %s "(cached) " >&6 1727 + else $as_nop 1767 1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1768 1729 /* end confdefs.h. */ 1769 1730 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. ··· 1771 1732 #define $2 innocuous_$2 1772 1733 1773 1734 /* System header to define __stub macros and hopefully few prototypes, 1774 - which can conflict with char $2 (); below. 1775 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1776 - <limits.h> exists even on freestanding compilers. */ 1777 - 1778 - #ifdef __STDC__ 1779 - # include <limits.h> 1780 - #else 1781 - # include <assert.h> 1782 - #endif 1735 + which can conflict with char $2 (); below. */ 1783 1736 1737 + #include <limits.h> 1784 1738 #undef $2 1785 1739 1786 1740 /* Override any GCC internal prototype to avoid an error. ··· 1798 1752 #endif 1799 1753 1800 1754 int 1801 - main () 1755 + main (void) 1802 1756 { 1803 1757 return $2 (); 1804 1758 ; 1805 1759 return 0; 1806 1760 } 1807 1761 _ACEOF 1808 - if ac_fn_c_try_link "$LINENO"; then : 1762 + if ac_fn_c_try_link "$LINENO" 1763 + then : 1809 1764 eval "$3=yes" 1810 - else 1765 + else $as_nop 1811 1766 eval "$3=no" 1812 1767 fi 1813 - rm -f core conftest.err conftest.$ac_objext \ 1768 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1814 1769 conftest$ac_exeext conftest.$ac_ext 1815 1770 fi 1816 1771 eval ac_res=\$$3 1817 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1818 - $as_echo "$ac_res" >&6; } 1772 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1773 + printf "%s\n" "$ac_res" >&6; } 1819 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1820 1775 1821 1776 } # ac_fn_c_check_func 1822 1777 1823 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1824 - # --------------------------------------------- 1778 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1779 + # ------------------------------------------------------------------ 1825 1780 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1826 - # accordingly. 1827 - ac_fn_c_check_decl () 1781 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1782 + ac_fn_check_decl () 1828 1783 { 1829 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1830 1785 as_decl_name=`echo $2|sed 's/ *(.*//'` 1786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1787 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1788 + if eval test \${$3+y} 1789 + then : 1790 + printf %s "(cached) " >&6 1791 + else $as_nop 1831 1792 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1832 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1833 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1834 - if eval \${$3+:} false; then : 1835 - $as_echo_n "(cached) " >&6 1836 - else 1793 + eval ac_save_FLAGS=\$$6 1794 + as_fn_append $6 " $5" 1837 1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1838 1796 /* end confdefs.h. */ 1839 1797 $4 1840 1798 int 1841 - main () 1799 + main (void) 1842 1800 { 1843 1801 #ifndef $as_decl_name 1844 1802 #ifdef __cplusplus ··· 1852 1810 return 0; 1853 1811 } 1854 1812 _ACEOF 1855 - if ac_fn_c_try_compile "$LINENO"; then : 1813 + if ac_fn_c_try_compile "$LINENO" 1814 + then : 1856 1815 eval "$3=yes" 1857 - else 1816 + else $as_nop 1858 1817 eval "$3=no" 1859 1818 fi 1860 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1819 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1820 + eval $6=\$ac_save_FLAGS 1821 + 1861 1822 fi 1862 1823 eval ac_res=\$$3 1863 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1864 - $as_echo "$ac_res" >&6; } 1824 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1825 + printf "%s\n" "$ac_res" >&6; } 1826 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1827 + 1828 + } # ac_fn_check_decl 1829 + 1830 + # ac_fn_c_try_run LINENO 1831 + # ---------------------- 1832 + # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that 1833 + # executables *can* be run. 1834 + ac_fn_c_try_run () 1835 + { 1836 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1837 + if { { ac_try="$ac_link" 1838 + case "(($ac_try" in 1839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1840 + *) ac_try_echo=$ac_try;; 1841 + esac 1842 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1843 + printf "%s\n" "$ac_try_echo"; } >&5 1844 + (eval "$ac_link") 2>&5 1845 + ac_status=$? 1846 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1847 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1848 + { { case "(($ac_try" in 1849 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1850 + *) ac_try_echo=$ac_try;; 1851 + esac 1852 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1853 + printf "%s\n" "$ac_try_echo"; } >&5 1854 + (eval "$ac_try") 2>&5 1855 + ac_status=$? 1856 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1857 + test $ac_status = 0; }; } 1858 + then : 1859 + ac_retval=0 1860 + else $as_nop 1861 + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 1862 + printf "%s\n" "$as_me: failed program was:" >&5 1863 + sed 's/^/| /' conftest.$ac_ext >&5 1864 + 1865 + ac_retval=$ac_status 1866 + fi 1867 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1865 1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1869 + as_fn_set_status $ac_retval 1866 1870 1867 - } # ac_fn_c_check_decl 1871 + } # ac_fn_c_try_run 1872 + ac_configure_args_raw= 1873 + for ac_arg 1874 + do 1875 + case $ac_arg in 1876 + *\'*) 1877 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1878 + esac 1879 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1880 + done 1881 + 1882 + case $ac_configure_args_raw in 1883 + *$as_nl*) 1884 + ac_safe_unquote= ;; 1885 + *) 1886 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1887 + ac_unsafe_a="$ac_unsafe_z#~" 1888 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1889 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1890 + esac 1891 + 1868 1892 cat >config.log <<_ACEOF 1869 1893 This file contains any messages produced by compilers while 1870 1894 running configure, to aid debugging if configure makes a mistake. 1871 1895 1872 - It was created by libXrandr $as_me 1.5.2, which was 1873 - generated by GNU Autoconf 2.69. Invocation command line was 1896 + It was created by libXrandr $as_me 1.5.3, which was 1897 + generated by GNU Autoconf 2.71. Invocation command line was 1874 1898 1875 - $ $0 $@ 1899 + $ $0$ac_configure_args_raw 1876 1900 1877 1901 _ACEOF 1878 1902 exec 5>>config.log ··· 1905 1929 for as_dir in $PATH 1906 1930 do 1907 1931 IFS=$as_save_IFS 1908 - test -z "$as_dir" && as_dir=. 1909 - $as_echo "PATH: $as_dir" 1932 + case $as_dir in #((( 1933 + '') as_dir=./ ;; 1934 + */) ;; 1935 + *) as_dir=$as_dir/ ;; 1936 + esac 1937 + printf "%s\n" "PATH: $as_dir" 1910 1938 done 1911 1939 IFS=$as_save_IFS 1912 1940 ··· 1941 1969 | -silent | --silent | --silen | --sile | --sil) 1942 1970 continue ;; 1943 1971 *\'*) 1944 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1972 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1945 1973 esac 1946 1974 case $ac_pass in 1947 1975 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1976 2004 # WARNING: Use '\'' to represent an apostrophe within the trap. 1977 2005 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1978 2006 trap 'exit_status=$? 2007 + # Sanitize IFS. 2008 + IFS=" "" $as_nl" 1979 2009 # Save into config.log some information that might help in debugging. 1980 2010 { 1981 2011 echo 1982 2012 1983 - $as_echo "## ---------------- ## 2013 + printf "%s\n" "## ---------------- ## 1984 2014 ## Cache variables. ## 1985 2015 ## ---------------- ##" 1986 2016 echo ··· 1991 2021 case $ac_val in #( 1992 2022 *${as_nl}*) 1993 2023 case $ac_var in #( 1994 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1995 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2024 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2025 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1996 2026 esac 1997 2027 case $ac_var in #( 1998 2028 _ | IFS | as_nl) ;; #( ··· 2016 2046 ) 2017 2047 echo 2018 2048 2019 - $as_echo "## ----------------- ## 2049 + printf "%s\n" "## ----------------- ## 2020 2050 ## Output variables. ## 2021 2051 ## ----------------- ##" 2022 2052 echo ··· 2024 2054 do 2025 2055 eval ac_val=\$$ac_var 2026 2056 case $ac_val in 2027 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2057 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2028 2058 esac 2029 - $as_echo "$ac_var='\''$ac_val'\''" 2059 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2030 2060 done | sort 2031 2061 echo 2032 2062 2033 2063 if test -n "$ac_subst_files"; then 2034 - $as_echo "## ------------------- ## 2064 + printf "%s\n" "## ------------------- ## 2035 2065 ## File substitutions. ## 2036 2066 ## ------------------- ##" 2037 2067 echo ··· 2039 2069 do 2040 2070 eval ac_val=\$$ac_var 2041 2071 case $ac_val in 2042 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2072 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2043 2073 esac 2044 - $as_echo "$ac_var='\''$ac_val'\''" 2074 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2045 2075 done | sort 2046 2076 echo 2047 2077 fi 2048 2078 2049 2079 if test -s confdefs.h; then 2050 - $as_echo "## ----------- ## 2080 + printf "%s\n" "## ----------- ## 2051 2081 ## confdefs.h. ## 2052 2082 ## ----------- ##" 2053 2083 echo ··· 2055 2085 echo 2056 2086 fi 2057 2087 test "$ac_signal" != 0 && 2058 - $as_echo "$as_me: caught signal $ac_signal" 2059 - $as_echo "$as_me: exit $exit_status" 2088 + printf "%s\n" "$as_me: caught signal $ac_signal" 2089 + printf "%s\n" "$as_me: exit $exit_status" 2060 2090 } >&5 2061 2091 rm -f core *.core core.conftest.* && 2062 2092 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 2070 2100 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2071 2101 rm -f -r conftest* confdefs.h 2072 2102 2073 - $as_echo "/* confdefs.h */" > confdefs.h 2103 + printf "%s\n" "/* confdefs.h */" > confdefs.h 2074 2104 2075 2105 # Predefined preprocessor variables. 2076 2106 2077 - cat >>confdefs.h <<_ACEOF 2078 - #define PACKAGE_NAME "$PACKAGE_NAME" 2079 - _ACEOF 2107 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2080 2108 2081 - cat >>confdefs.h <<_ACEOF 2082 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2083 - _ACEOF 2109 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2084 2110 2085 - cat >>confdefs.h <<_ACEOF 2086 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 2087 - _ACEOF 2111 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2088 2112 2089 - cat >>confdefs.h <<_ACEOF 2090 - #define PACKAGE_STRING "$PACKAGE_STRING" 2091 - _ACEOF 2113 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2092 2114 2093 - cat >>confdefs.h <<_ACEOF 2094 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2095 - _ACEOF 2115 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2096 2116 2097 - cat >>confdefs.h <<_ACEOF 2098 - #define PACKAGE_URL "$PACKAGE_URL" 2099 - _ACEOF 2117 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2100 2118 2101 2119 2102 2120 # Let the site file select an alternate cache file if it wants to. 2103 2121 # Prefer an explicitly selected file to automatically selected ones. 2104 - ac_site_file1=NONE 2105 - ac_site_file2=NONE 2106 2122 if test -n "$CONFIG_SITE"; then 2107 - # We do not want a PATH search for config.site. 2108 - case $CONFIG_SITE in #(( 2109 - -*) ac_site_file1=./$CONFIG_SITE;; 2110 - */*) ac_site_file1=$CONFIG_SITE;; 2111 - *) ac_site_file1=./$CONFIG_SITE;; 2112 - esac 2123 + ac_site_files="$CONFIG_SITE" 2113 2124 elif test "x$prefix" != xNONE; then 2114 - ac_site_file1=$prefix/share/config.site 2115 - ac_site_file2=$prefix/etc/config.site 2125 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2116 2126 else 2117 - ac_site_file1=$ac_default_prefix/share/config.site 2118 - ac_site_file2=$ac_default_prefix/etc/config.site 2127 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2119 2128 fi 2120 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2129 + 2130 + for ac_site_file in $ac_site_files 2121 2131 do 2122 - test "x$ac_site_file" = xNONE && continue 2123 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2124 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2125 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2132 + case $ac_site_file in #( 2133 + */*) : 2134 + ;; #( 2135 + *) : 2136 + ac_site_file=./$ac_site_file ;; 2137 + esac 2138 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2139 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2140 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2126 2141 sed 's/^/| /' "$ac_site_file" >&5 2127 2142 . "$ac_site_file" \ 2128 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2129 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2143 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2144 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2130 2145 as_fn_error $? "failed to load site script $ac_site_file 2131 2146 See \`config.log' for more details" "$LINENO" 5; } 2132 2147 fi ··· 2136 2151 # Some versions of bash will fail to source /dev/null (special files 2137 2152 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2138 2153 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2139 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2140 - $as_echo "$as_me: loading cache $cache_file" >&6;} 2154 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2155 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2141 2156 case $cache_file in 2142 2157 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2143 2158 *) . "./$cache_file";; 2144 2159 esac 2145 2160 fi 2146 2161 else 2147 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2148 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2162 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2163 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2149 2164 >$cache_file 2150 2165 fi 2151 2166 2167 + # Test code for whether the C compiler supports C89 (global declarations) 2168 + ac_c_conftest_c89_globals=' 2169 + /* Does the compiler advertise C89 conformance? 2170 + Do not test the value of __STDC__, because some compilers set it to 0 2171 + while being otherwise adequately conformant. */ 2172 + #if !defined __STDC__ 2173 + # error "Compiler does not advertise C89 conformance" 2174 + #endif 2175 + 2176 + #include <stddef.h> 2177 + #include <stdarg.h> 2178 + struct stat; 2179 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2180 + struct buf { int x; }; 2181 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2182 + static char *e (p, i) 2183 + char **p; 2184 + int i; 2185 + { 2186 + return p[i]; 2187 + } 2188 + static char *f (char * (*g) (char **, int), char **p, ...) 2189 + { 2190 + char *s; 2191 + va_list v; 2192 + va_start (v,p); 2193 + s = g (p, va_arg (v,int)); 2194 + va_end (v); 2195 + return s; 2196 + } 2197 + 2198 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2199 + function prototypes and stuff, but not \xHH hex character constants. 2200 + These do not provoke an error unfortunately, instead are silently treated 2201 + as an "x". The following induces an error, until -std is added to get 2202 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2203 + array size at least. It is necessary to write \x00 == 0 to get something 2204 + that is true only with -std. */ 2205 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2206 + 2207 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2208 + inside strings and character constants. */ 2209 + #define FOO(x) '\''x'\'' 2210 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2211 + 2212 + int test (int i, double x); 2213 + struct s1 {int (*f) (int a);}; 2214 + struct s2 {int (*f) (double a);}; 2215 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2216 + int, int);' 2217 + 2218 + # Test code for whether the C compiler supports C89 (body of main). 2219 + ac_c_conftest_c89_main=' 2220 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2221 + ' 2222 + 2223 + # Test code for whether the C compiler supports C99 (global declarations) 2224 + ac_c_conftest_c99_globals=' 2225 + // Does the compiler advertise C99 conformance? 2226 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2227 + # error "Compiler does not advertise C99 conformance" 2228 + #endif 2229 + 2230 + #include <stdbool.h> 2231 + extern int puts (const char *); 2232 + extern int printf (const char *, ...); 2233 + extern int dprintf (int, const char *, ...); 2234 + extern void *malloc (size_t); 2235 + 2236 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2237 + // dprintf is used instead of fprintf to avoid needing to declare 2238 + // FILE and stderr. 2239 + #define debug(...) dprintf (2, __VA_ARGS__) 2240 + #define showlist(...) puts (#__VA_ARGS__) 2241 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2242 + static void 2243 + test_varargs_macros (void) 2244 + { 2245 + int x = 1234; 2246 + int y = 5678; 2247 + debug ("Flag"); 2248 + debug ("X = %d\n", x); 2249 + showlist (The first, second, and third items.); 2250 + report (x>y, "x is %d but y is %d", x, y); 2251 + } 2252 + 2253 + // Check long long types. 2254 + #define BIG64 18446744073709551615ull 2255 + #define BIG32 4294967295ul 2256 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2257 + #if !BIG_OK 2258 + #error "your preprocessor is broken" 2259 + #endif 2260 + #if BIG_OK 2261 + #else 2262 + #error "your preprocessor is broken" 2263 + #endif 2264 + static long long int bignum = -9223372036854775807LL; 2265 + static unsigned long long int ubignum = BIG64; 2266 + 2267 + struct incomplete_array 2268 + { 2269 + int datasize; 2270 + double data[]; 2271 + }; 2272 + 2273 + struct named_init { 2274 + int number; 2275 + const wchar_t *name; 2276 + double average; 2277 + }; 2278 + 2279 + typedef const char *ccp; 2280 + 2281 + static inline int 2282 + test_restrict (ccp restrict text) 2283 + { 2284 + // See if C++-style comments work. 2285 + // Iterate through items via the restricted pointer. 2286 + // Also check for declarations in for loops. 2287 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2288 + continue; 2289 + return 0; 2290 + } 2291 + 2292 + // Check varargs and va_copy. 2293 + static bool 2294 + test_varargs (const char *format, ...) 2295 + { 2296 + va_list args; 2297 + va_start (args, format); 2298 + va_list args_copy; 2299 + va_copy (args_copy, args); 2300 + 2301 + const char *str = ""; 2302 + int number = 0; 2303 + float fnumber = 0; 2304 + 2305 + while (*format) 2306 + { 2307 + switch (*format++) 2308 + { 2309 + case '\''s'\'': // string 2310 + str = va_arg (args_copy, const char *); 2311 + break; 2312 + case '\''d'\'': // int 2313 + number = va_arg (args_copy, int); 2314 + break; 2315 + case '\''f'\'': // float 2316 + fnumber = va_arg (args_copy, double); 2317 + break; 2318 + default: 2319 + break; 2320 + } 2321 + } 2322 + va_end (args_copy); 2323 + va_end (args); 2324 + 2325 + return *str && number && fnumber; 2326 + } 2327 + ' 2328 + 2329 + # Test code for whether the C compiler supports C99 (body of main). 2330 + ac_c_conftest_c99_main=' 2331 + // Check bool. 2332 + _Bool success = false; 2333 + success |= (argc != 0); 2334 + 2335 + // Check restrict. 2336 + if (test_restrict ("String literal") == 0) 2337 + success = true; 2338 + char *restrict newvar = "Another string"; 2339 + 2340 + // Check varargs. 2341 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2342 + test_varargs_macros (); 2343 + 2344 + // Check flexible array members. 2345 + struct incomplete_array *ia = 2346 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2347 + ia->datasize = 10; 2348 + for (int i = 0; i < ia->datasize; ++i) 2349 + ia->data[i] = i * 1.234; 2350 + 2351 + // Check named initializers. 2352 + struct named_init ni = { 2353 + .number = 34, 2354 + .name = L"Test wide string", 2355 + .average = 543.34343, 2356 + }; 2357 + 2358 + ni.number = 58; 2359 + 2360 + int dynamic_array[ni.number]; 2361 + dynamic_array[0] = argv[0][0]; 2362 + dynamic_array[ni.number - 1] = 543; 2363 + 2364 + // work around unused variable warnings 2365 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2366 + || dynamic_array[ni.number - 1] != 543); 2367 + ' 2368 + 2369 + # Test code for whether the C compiler supports C11 (global declarations) 2370 + ac_c_conftest_c11_globals=' 2371 + // Does the compiler advertise C11 conformance? 2372 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2373 + # error "Compiler does not advertise C11 conformance" 2374 + #endif 2375 + 2376 + // Check _Alignas. 2377 + char _Alignas (double) aligned_as_double; 2378 + char _Alignas (0) no_special_alignment; 2379 + extern char aligned_as_int; 2380 + char _Alignas (0) _Alignas (int) aligned_as_int; 2381 + 2382 + // Check _Alignof. 2383 + enum 2384 + { 2385 + int_alignment = _Alignof (int), 2386 + int_array_alignment = _Alignof (int[100]), 2387 + char_alignment = _Alignof (char) 2388 + }; 2389 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2390 + 2391 + // Check _Noreturn. 2392 + int _Noreturn does_not_return (void) { for (;;) continue; } 2393 + 2394 + // Check _Static_assert. 2395 + struct test_static_assert 2396 + { 2397 + int x; 2398 + _Static_assert (sizeof (int) <= sizeof (long int), 2399 + "_Static_assert does not work in struct"); 2400 + long int y; 2401 + }; 2402 + 2403 + // Check UTF-8 literals. 2404 + #define u8 syntax error! 2405 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2406 + 2407 + // Check duplicate typedefs. 2408 + typedef long *long_ptr; 2409 + typedef long int *long_ptr; 2410 + typedef long_ptr long_ptr; 2411 + 2412 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2413 + struct anonymous 2414 + { 2415 + union { 2416 + struct { int i; int j; }; 2417 + struct { int k; long int l; } w; 2418 + }; 2419 + int m; 2420 + } v1; 2421 + ' 2422 + 2423 + # Test code for whether the C compiler supports C11 (body of main). 2424 + ac_c_conftest_c11_main=' 2425 + _Static_assert ((offsetof (struct anonymous, i) 2426 + == offsetof (struct anonymous, w.k)), 2427 + "Anonymous union alignment botch"); 2428 + v1.i = 2; 2429 + v1.w.k = 5; 2430 + ok |= v1.i != 5; 2431 + ' 2432 + 2433 + # Test code for whether the C compiler supports C11 (complete). 2434 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2435 + ${ac_c_conftest_c99_globals} 2436 + ${ac_c_conftest_c11_globals} 2437 + 2438 + int 2439 + main (int argc, char **argv) 2440 + { 2441 + int ok = 0; 2442 + ${ac_c_conftest_c89_main} 2443 + ${ac_c_conftest_c99_main} 2444 + ${ac_c_conftest_c11_main} 2445 + return ok; 2446 + } 2447 + " 2448 + 2449 + # Test code for whether the C compiler supports C99 (complete). 2450 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2451 + ${ac_c_conftest_c99_globals} 2452 + 2453 + int 2454 + main (int argc, char **argv) 2455 + { 2456 + int ok = 0; 2457 + ${ac_c_conftest_c89_main} 2458 + ${ac_c_conftest_c99_main} 2459 + return ok; 2460 + } 2461 + " 2462 + 2463 + # Test code for whether the C compiler supports C89 (complete). 2464 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2465 + 2466 + int 2467 + main (int argc, char **argv) 2468 + { 2469 + int ok = 0; 2470 + ${ac_c_conftest_c89_main} 2471 + return ok; 2472 + } 2473 + " 2474 + 2475 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2476 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2477 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2478 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2479 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2480 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2481 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2482 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2483 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2484 + 2485 + # Auxiliary files required by this configure script. 2486 + ac_aux_files="config.guess config.sub ltmain.sh missing install-sh" 2487 + 2488 + # Locations in which to look for auxiliary files. 2489 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2490 + 2491 + # Search for a directory containing all of the required auxiliary files, 2492 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2493 + # If we don't find one directory that contains all the files we need, 2494 + # we report the set of missing files from the *first* directory in 2495 + # $ac_aux_dir_candidates and give up. 2496 + ac_missing_aux_files="" 2497 + ac_first_candidate=: 2498 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2499 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2500 + as_found=false 2501 + for as_dir in $ac_aux_dir_candidates 2502 + do 2503 + IFS=$as_save_IFS 2504 + case $as_dir in #((( 2505 + '') as_dir=./ ;; 2506 + */) ;; 2507 + *) as_dir=$as_dir/ ;; 2508 + esac 2509 + as_found=: 2510 + 2511 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2512 + ac_aux_dir_found=yes 2513 + ac_install_sh= 2514 + for ac_aux in $ac_aux_files 2515 + do 2516 + # As a special case, if "install-sh" is required, that requirement 2517 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2518 + # and $ac_install_sh is set appropriately for whichever one is found. 2519 + if test x"$ac_aux" = x"install-sh" 2520 + then 2521 + if test -f "${as_dir}install-sh"; then 2522 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2523 + ac_install_sh="${as_dir}install-sh -c" 2524 + elif test -f "${as_dir}install.sh"; then 2525 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2526 + ac_install_sh="${as_dir}install.sh -c" 2527 + elif test -f "${as_dir}shtool"; then 2528 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2529 + ac_install_sh="${as_dir}shtool install -c" 2530 + else 2531 + ac_aux_dir_found=no 2532 + if $ac_first_candidate; then 2533 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2534 + else 2535 + break 2536 + fi 2537 + fi 2538 + else 2539 + if test -f "${as_dir}${ac_aux}"; then 2540 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2541 + else 2542 + ac_aux_dir_found=no 2543 + if $ac_first_candidate; then 2544 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2545 + else 2546 + break 2547 + fi 2548 + fi 2549 + fi 2550 + done 2551 + if test "$ac_aux_dir_found" = yes; then 2552 + ac_aux_dir="$as_dir" 2553 + break 2554 + fi 2555 + ac_first_candidate=false 2556 + 2557 + as_found=false 2558 + done 2559 + IFS=$as_save_IFS 2560 + if $as_found 2561 + then : 2562 + 2563 + else $as_nop 2564 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2565 + fi 2566 + 2567 + 2568 + # These three variables are undocumented and unsupported, 2569 + # and are intended to be withdrawn in a future Autoconf release. 2570 + # They can cause serious problems if a builder's source tree is in a directory 2571 + # whose full name contains unusual characters. 2572 + if test -f "${ac_aux_dir}config.guess"; then 2573 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2574 + fi 2575 + if test -f "${ac_aux_dir}config.sub"; then 2576 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2577 + fi 2578 + if test -f "$ac_aux_dir/configure"; then 2579 + ac_configure="$SHELL ${ac_aux_dir}configure" 2580 + fi 2581 + 2152 2582 # Check that the precious variables saved in the cache have kept the same 2153 2583 # value. 2154 2584 ac_cache_corrupted=false ··· 2159 2589 eval ac_new_val=\$ac_env_${ac_var}_value 2160 2590 case $ac_old_set,$ac_new_set in 2161 2591 set,) 2162 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2163 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2592 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2593 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2164 2594 ac_cache_corrupted=: ;; 2165 2595 ,set) 2166 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2167 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2596 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2597 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2168 2598 ac_cache_corrupted=: ;; 2169 2599 ,);; 2170 2600 *) ··· 2173 2603 ac_old_val_w=`echo x $ac_old_val` 2174 2604 ac_new_val_w=`echo x $ac_new_val` 2175 2605 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2176 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2177 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2607 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2178 2608 ac_cache_corrupted=: 2179 2609 else 2180 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2181 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2611 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2182 2612 eval $ac_var=\$ac_old_val 2183 2613 fi 2184 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2185 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2186 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2187 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2615 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2616 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2617 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2188 2618 fi;; 2189 2619 esac 2190 2620 # Pass precious variables to config.status. 2191 2621 if test "$ac_new_set" = set; then 2192 2622 case $ac_new_val in 2193 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2623 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2194 2624 *) ac_arg=$ac_var=$ac_new_val ;; 2195 2625 esac 2196 2626 case " $ac_configure_args " in ··· 2200 2630 fi 2201 2631 done 2202 2632 if $ac_cache_corrupted; then 2203 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2204 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2205 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2206 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2207 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2633 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2634 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2636 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2637 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2638 + and start over" "$LINENO" 5 2208 2639 fi 2209 2640 ## -------------------- ## 2210 2641 ## Main body of script. ## ··· 2224 2655 # Initialize Automake 2225 2656 am__api_version='1.12' 2226 2657 2227 - ac_aux_dir= 2228 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2229 - if test -f "$ac_dir/install-sh"; then 2230 - ac_aux_dir=$ac_dir 2231 - ac_install_sh="$ac_aux_dir/install-sh -c" 2232 - break 2233 - elif test -f "$ac_dir/install.sh"; then 2234 - ac_aux_dir=$ac_dir 2235 - ac_install_sh="$ac_aux_dir/install.sh -c" 2236 - break 2237 - elif test -f "$ac_dir/shtool"; then 2238 - ac_aux_dir=$ac_dir 2239 - ac_install_sh="$ac_aux_dir/shtool install -c" 2240 - break 2241 - fi 2242 - done 2243 - if test -z "$ac_aux_dir"; then 2244 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2245 - fi 2246 - 2247 - # These three variables are undocumented and unsupported, 2248 - # and are intended to be withdrawn in a future Autoconf release. 2249 - # They can cause serious problems if a builder's source tree is in a directory 2250 - # whose full name contains unusual characters. 2251 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2252 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2253 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2254 2658 2255 2659 2256 - # Find a good install program. We prefer a C program (faster), 2660 + # Find a good install program. We prefer a C program (faster), 2257 2661 # so one script is as good as another. But avoid the broken or 2258 2662 # incompatible versions: 2259 2663 # SysV /etc/install, /usr/sbin/install ··· 2267 2671 # OS/2's system install, which has a completely different semantic 2268 2672 # ./install, which can be erroneously created by make from ./install.sh. 2269 2673 # Reject install programs that cannot install multiple files. 2270 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2271 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2674 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2675 + printf %s "checking for a BSD-compatible install... " >&6; } 2272 2676 if test -z "$INSTALL"; then 2273 - if ${ac_cv_path_install+:} false; then : 2274 - $as_echo_n "(cached) " >&6 2275 - else 2677 + if test ${ac_cv_path_install+y} 2678 + then : 2679 + printf %s "(cached) " >&6 2680 + else $as_nop 2276 2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2277 2682 for as_dir in $PATH 2278 2683 do 2279 2684 IFS=$as_save_IFS 2280 - test -z "$as_dir" && as_dir=. 2281 - # Account for people who put trailing slashes in PATH elements. 2282 - case $as_dir/ in #(( 2283 - ./ | .// | /[cC]/* | \ 2685 + case $as_dir in #((( 2686 + '') as_dir=./ ;; 2687 + */) ;; 2688 + *) as_dir=$as_dir/ ;; 2689 + esac 2690 + # Account for fact that we put trailing slashes in our PATH walk. 2691 + case $as_dir in #(( 2692 + ./ | /[cC]/* | \ 2284 2693 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2285 2694 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2286 2695 /usr/ucb/* ) ;; ··· 2290 2699 # by default. 2291 2700 for ac_prog in ginstall scoinst install; do 2292 2701 for ac_exec_ext in '' $ac_executable_extensions; do 2293 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2702 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2294 2703 if test $ac_prog = install && 2295 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2704 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2296 2705 # AIX install. It has an incompatible calling convention. 2297 2706 : 2298 2707 elif test $ac_prog = install && 2299 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2708 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2300 2709 # program-specific install script used by HP pwplus--don't use. 2301 2710 : 2302 2711 else ··· 2304 2713 echo one > conftest.one 2305 2714 echo two > conftest.two 2306 2715 mkdir conftest.dir 2307 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2716 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2308 2717 test -s conftest.one && test -s conftest.two && 2309 2718 test -s conftest.dir/conftest.one && 2310 2719 test -s conftest.dir/conftest.two 2311 2720 then 2312 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2721 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2313 2722 break 3 2314 2723 fi 2315 2724 fi ··· 2325 2734 rm -rf conftest.one conftest.two conftest.dir 2326 2735 2327 2736 fi 2328 - if test "${ac_cv_path_install+set}" = set; then 2737 + if test ${ac_cv_path_install+y}; then 2329 2738 INSTALL=$ac_cv_path_install 2330 2739 else 2331 2740 # As a last resort, use the slow shell script. Don't cache a ··· 2335 2744 INSTALL=$ac_install_sh 2336 2745 fi 2337 2746 fi 2338 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2339 - $as_echo "$INSTALL" >&6; } 2747 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2748 + printf "%s\n" "$INSTALL" >&6; } 2340 2749 2341 2750 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2342 2751 # It thinks the first close brace ends the variable substitution. ··· 2346 2755 2347 2756 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2348 2757 2349 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2350 - $as_echo_n "checking whether build environment is sane... " >&6; } 2758 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2759 + printf %s "checking whether build environment is sane... " >&6; } 2351 2760 # Reject unsafe characters in $srcdir or the absolute working directory 2352 2761 # name. Accept space and tab only in the latter. 2353 2762 am_lf=' ··· 2401 2810 as_fn_error $? "newly created file is older than distributed files! 2402 2811 Check your system clock" "$LINENO" 5 2403 2812 fi 2404 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2405 - $as_echo "yes" >&6; } 2813 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2814 + printf "%s\n" "yes" >&6; } 2406 2815 # If we didn't sleep, we still need to ensure time stamps of config.status and 2407 2816 # generated files are strictly newer. 2408 2817 am_sleep_pid= ··· 2421 2830 # Double any \ or $. 2422 2831 # By default was `s,x,x', remove it if useless. 2423 2832 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2424 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2833 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2425 2834 2426 2835 # expand $ac_aux_dir to an absolute path 2427 2836 am_aux_dir=`cd $ac_aux_dir && pwd` 2428 2837 2429 - if test x"${MISSING+set}" != xset; then 2838 + 2839 + if test x"${MISSING+set}" != xset; then 2430 2840 case $am_aux_dir in 2431 2841 *\ * | *\ *) 2432 2842 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2439 2849 am_missing_run="$MISSING --run " 2440 2850 else 2441 2851 am_missing_run= 2442 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2443 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2852 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2853 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2444 2854 fi 2445 2855 2446 2856 if test x"${install_sh}" != xset; then ··· 2460 2870 if test -n "$ac_tool_prefix"; then 2461 2871 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2462 2872 set dummy ${ac_tool_prefix}strip; ac_word=$2 2463 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2464 - $as_echo_n "checking for $ac_word... " >&6; } 2465 - if ${ac_cv_prog_STRIP+:} false; then : 2466 - $as_echo_n "(cached) " >&6 2467 - 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_STRIP+y} 2876 + then : 2877 + printf %s "(cached) " >&6 2878 + else $as_nop 2468 2879 if test -n "$STRIP"; then 2469 2880 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2470 2881 else ··· 2472 2883 for as_dir in $PATH 2473 2884 do 2474 2885 IFS=$as_save_IFS 2475 - test -z "$as_dir" && as_dir=. 2886 + case $as_dir in #((( 2887 + '') as_dir=./ ;; 2888 + */) ;; 2889 + *) as_dir=$as_dir/ ;; 2890 + esac 2476 2891 for ac_exec_ext in '' $ac_executable_extensions; do 2477 - 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 2478 2893 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2479 - $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 2480 2895 break 2 2481 2896 fi 2482 2897 done ··· 2487 2902 fi 2488 2903 STRIP=$ac_cv_prog_STRIP 2489 2904 if test -n "$STRIP"; then 2490 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2491 - $as_echo "$STRIP" >&6; } 2905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2906 + printf "%s\n" "$STRIP" >&6; } 2492 2907 else 2493 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2494 - $as_echo "no" >&6; } 2908 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2909 + printf "%s\n" "no" >&6; } 2495 2910 fi 2496 2911 2497 2912 ··· 2500 2915 ac_ct_STRIP=$STRIP 2501 2916 # Extract the first word of "strip", so it can be a program name with args. 2502 2917 set dummy strip; ac_word=$2 2503 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2504 - $as_echo_n "checking for $ac_word... " >&6; } 2505 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2506 - $as_echo_n "(cached) " >&6 2507 - else 2918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2919 + printf %s "checking for $ac_word... " >&6; } 2920 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2921 + then : 2922 + printf %s "(cached) " >&6 2923 + else $as_nop 2508 2924 if test -n "$ac_ct_STRIP"; then 2509 2925 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2510 2926 else ··· 2512 2928 for as_dir in $PATH 2513 2929 do 2514 2930 IFS=$as_save_IFS 2515 - test -z "$as_dir" && as_dir=. 2931 + case $as_dir in #((( 2932 + '') as_dir=./ ;; 2933 + */) ;; 2934 + *) as_dir=$as_dir/ ;; 2935 + esac 2516 2936 for ac_exec_ext in '' $ac_executable_extensions; do 2517 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2937 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2518 2938 ac_cv_prog_ac_ct_STRIP="strip" 2519 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2939 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2520 2940 break 2 2521 2941 fi 2522 2942 done ··· 2527 2947 fi 2528 2948 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2529 2949 if test -n "$ac_ct_STRIP"; then 2530 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2531 - $as_echo "$ac_ct_STRIP" >&6; } 2950 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2951 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2532 2952 else 2533 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2534 - $as_echo "no" >&6; } 2953 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2954 + printf "%s\n" "no" >&6; } 2535 2955 fi 2536 2956 2537 2957 if test "x$ac_ct_STRIP" = x; then ··· 2539 2959 else 2540 2960 case $cross_compiling:$ac_tool_warned in 2541 2961 yes:) 2542 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2543 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2963 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2544 2964 ac_tool_warned=yes ;; 2545 2965 esac 2546 2966 STRIP=$ac_ct_STRIP ··· 2552 2972 fi 2553 2973 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2554 2974 2555 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2556 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2975 + 2976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2977 + printf %s "checking for a race-free mkdir -p... " >&6; } 2557 2978 if test -z "$MKDIR_P"; then 2558 - if ${ac_cv_path_mkdir+:} false; then : 2559 - $as_echo_n "(cached) " >&6 2560 - else 2979 + if test ${ac_cv_path_mkdir+y} 2980 + then : 2981 + printf %s "(cached) " >&6 2982 + else $as_nop 2561 2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2562 2984 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2563 2985 do 2564 2986 IFS=$as_save_IFS 2565 - test -z "$as_dir" && as_dir=. 2987 + case $as_dir in #((( 2988 + '') as_dir=./ ;; 2989 + */) ;; 2990 + *) as_dir=$as_dir/ ;; 2991 + esac 2566 2992 for ac_prog in mkdir gmkdir; do 2567 2993 for ac_exec_ext in '' $ac_executable_extensions; do 2568 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2569 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2570 - 'mkdir (GNU coreutils) '* | \ 2571 - 'mkdir (coreutils) '* | \ 2994 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2995 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2996 + 'mkdir ('*'coreutils) '* | \ 2997 + 'BusyBox '* | \ 2572 2998 'mkdir (fileutils) '4.1*) 2573 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2999 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2574 3000 break 3;; 2575 3001 esac 2576 3002 done ··· 2581 3007 fi 2582 3008 2583 3009 test -d ./--version && rmdir ./--version 2584 - if test "${ac_cv_path_mkdir+set}" = set; then 3010 + if test ${ac_cv_path_mkdir+y}; then 2585 3011 MKDIR_P="$ac_cv_path_mkdir -p" 2586 3012 else 2587 3013 # As a last resort, use the slow shell script. Don't cache a ··· 2591 3017 MKDIR_P="$ac_install_sh -d" 2592 3018 fi 2593 3019 fi 2594 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2595 - $as_echo "$MKDIR_P" >&6; } 3020 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3021 + printf "%s\n" "$MKDIR_P" >&6; } 2596 3022 2597 3023 for ac_prog in gawk mawk nawk awk 2598 3024 do 2599 3025 # Extract the first word of "$ac_prog", so it can be a program name with args. 2600 3026 set dummy $ac_prog; ac_word=$2 2601 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2602 - $as_echo_n "checking for $ac_word... " >&6; } 2603 - if ${ac_cv_prog_AWK+:} false; then : 2604 - $as_echo_n "(cached) " >&6 2605 - else 3027 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3028 + printf %s "checking for $ac_word... " >&6; } 3029 + if test ${ac_cv_prog_AWK+y} 3030 + then : 3031 + printf %s "(cached) " >&6 3032 + else $as_nop 2606 3033 if test -n "$AWK"; then 2607 3034 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2608 3035 else ··· 2610 3037 for as_dir in $PATH 2611 3038 do 2612 3039 IFS=$as_save_IFS 2613 - test -z "$as_dir" && as_dir=. 3040 + case $as_dir in #((( 3041 + '') as_dir=./ ;; 3042 + */) ;; 3043 + *) as_dir=$as_dir/ ;; 3044 + esac 2614 3045 for ac_exec_ext in '' $ac_executable_extensions; do 2615 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3046 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2616 3047 ac_cv_prog_AWK="$ac_prog" 2617 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3048 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2618 3049 break 2 2619 3050 fi 2620 3051 done ··· 2625 3056 fi 2626 3057 AWK=$ac_cv_prog_AWK 2627 3058 if test -n "$AWK"; then 2628 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2629 - $as_echo "$AWK" >&6; } 3059 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3060 + printf "%s\n" "$AWK" >&6; } 2630 3061 else 2631 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2632 - $as_echo "no" >&6; } 3062 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3063 + printf "%s\n" "no" >&6; } 2633 3064 fi 2634 3065 2635 3066 2636 3067 test -n "$AWK" && break 2637 3068 done 2638 3069 2639 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2640 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3070 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3071 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2641 3072 set x ${MAKE-make} 2642 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2643 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2644 - $as_echo_n "(cached) " >&6 2645 - else 3073 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3074 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 3075 + then : 3076 + printf %s "(cached) " >&6 3077 + else $as_nop 2646 3078 cat >conftest.make <<\_ACEOF 2647 3079 SHELL = /bin/sh 2648 3080 all: ··· 2658 3090 rm -f conftest.make 2659 3091 fi 2660 3092 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2661 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2662 - $as_echo "yes" >&6; } 3093 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3094 + printf "%s\n" "yes" >&6; } 2663 3095 SET_MAKE= 2664 3096 else 2665 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666 - $as_echo "no" >&6; } 3097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3098 + printf "%s\n" "no" >&6; } 2667 3099 SET_MAKE="MAKE=${MAKE-make}" 2668 3100 fi 2669 3101 ··· 2698 3130 2699 3131 # Define the identity of the package. 2700 3132 PACKAGE='libXrandr' 2701 - VERSION='1.5.2' 3133 + VERSION='1.5.3' 2702 3134 2703 3135 2704 - cat >>confdefs.h <<_ACEOF 2705 - #define PACKAGE "$PACKAGE" 2706 - _ACEOF 3136 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2707 3137 2708 3138 2709 - cat >>confdefs.h <<_ACEOF 2710 - #define VERSION "$VERSION" 2711 - _ACEOF 3139 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2712 3140 2713 3141 # Some tools Automake needs. 2714 3142 ··· 2746 3174 2747 3175 2748 3176 # Initialize libtool 3177 + 2749 3178 case `pwd` in 2750 3179 *\ * | *\ *) 2751 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2752 - $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3180 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3181 + printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2753 3182 esac 2754 3183 2755 3184 ··· 2769 3198 2770 3199 2771 3200 3201 + 2772 3202 ltmain="$ac_aux_dir/ltmain.sh" 2773 3203 2774 - # Make sure we can run config.sub. 2775 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2776 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2777 3204 2778 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2779 - $as_echo_n "checking build system type... " >&6; } 2780 - if ${ac_cv_build+:} false; then : 2781 - $as_echo_n "(cached) " >&6 2782 - else 3205 + 3206 + # Make sure we can run config.sub. 3207 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 3208 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 3209 + 3210 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3211 + printf %s "checking build system type... " >&6; } 3212 + if test ${ac_cv_build+y} 3213 + then : 3214 + printf %s "(cached) " >&6 3215 + else $as_nop 2783 3216 ac_build_alias=$build_alias 2784 3217 test "x$ac_build_alias" = x && 2785 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3218 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2786 3219 test "x$ac_build_alias" = x && 2787 3220 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2788 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2789 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3221 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 3222 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2790 3223 2791 3224 fi 2792 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2793 - $as_echo "$ac_cv_build" >&6; } 3225 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3226 + printf "%s\n" "$ac_cv_build" >&6; } 2794 3227 case $ac_cv_build in 2795 3228 *-*-*) ;; 2796 3229 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 2809 3242 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2810 3243 2811 3244 2812 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2813 - $as_echo_n "checking host system type... " >&6; } 2814 - if ${ac_cv_host+:} false; then : 2815 - $as_echo_n "(cached) " >&6 2816 - else 3245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3246 + printf %s "checking host system type... " >&6; } 3247 + if test ${ac_cv_host+y} 3248 + then : 3249 + printf %s "(cached) " >&6 3250 + else $as_nop 2817 3251 if test "x$host_alias" = x; then 2818 3252 ac_cv_host=$ac_cv_build 2819 3253 else 2820 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2821 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3254 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 3255 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2822 3256 fi 2823 3257 2824 3258 fi 2825 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2826 - $as_echo "$ac_cv_host" >&6; } 3259 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3260 + printf "%s\n" "$ac_cv_host" >&6; } 2827 3261 case $ac_cv_host in 2828 3262 *-*-*) ;; 2829 3263 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 2863 3297 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2864 3298 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2865 3299 2866 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2867 - $as_echo_n "checking how to print strings... " >&6; } 3300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3301 + printf %s "checking how to print strings... " >&6; } 2868 3302 # Test print first, because it will be a builtin if present. 2869 3303 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2870 3304 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ··· 2890 3324 } 2891 3325 2892 3326 case "$ECHO" in 2893 - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2894 - $as_echo "printf" >&6; } ;; 2895 - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2896 - $as_echo "print -r" >&6; } ;; 2897 - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2898 - $as_echo "cat" >&6; } ;; 3327 + printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3328 + printf "%s\n" "printf" >&6; } ;; 3329 + print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3330 + printf "%s\n" "print -r" >&6; } ;; 3331 + *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3332 + printf "%s\n" "cat" >&6; } ;; 2899 3333 esac 3334 + 3335 + 3336 + 3337 + 3338 + 3339 + 2900 3340 2901 3341 2902 3342 ··· 2911 3351 2912 3352 2913 3353 3354 + 3355 + 3356 + 2914 3357 DEPDIR="${am__leading_dot}deps" 2915 3358 2916 3359 ac_config_commands="$ac_config_commands depfiles" ··· 2923 3366 .PHONY: am__doit 2924 3367 END 2925 3368 # If we don't find an include directive, just comment out the code. 2926 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2927 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3369 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3370 + printf %s "checking for style of include used by $am_make... " >&6; } 2928 3371 am__include="#" 2929 3372 am__quote= 2930 3373 _am_result=none ··· 2951 3394 fi 2952 3395 2953 3396 2954 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2955 - $as_echo "$_am_result" >&6; } 3397 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3398 + printf "%s\n" "$_am_result" >&6; } 2956 3399 rm -f confinc confmf 2957 3400 2958 3401 # Check whether --enable-dependency-tracking was given. 2959 - if test "${enable_dependency_tracking+set}" = set; then : 3402 + if test ${enable_dependency_tracking+y} 3403 + then : 2960 3404 enableval=$enable_dependency_tracking; 2961 3405 fi 2962 3406 ··· 2982 3426 if test -n "$ac_tool_prefix"; then 2983 3427 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2984 3428 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2985 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2986 - $as_echo_n "checking for $ac_word... " >&6; } 2987 - if ${ac_cv_prog_CC+:} false; then : 2988 - $as_echo_n "(cached) " >&6 2989 - else 3429 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3430 + printf %s "checking for $ac_word... " >&6; } 3431 + if test ${ac_cv_prog_CC+y} 3432 + then : 3433 + printf %s "(cached) " >&6 3434 + else $as_nop 2990 3435 if test -n "$CC"; then 2991 3436 ac_cv_prog_CC="$CC" # Let the user override the test. 2992 3437 else ··· 2994 3439 for as_dir in $PATH 2995 3440 do 2996 3441 IFS=$as_save_IFS 2997 - test -z "$as_dir" && as_dir=. 3442 + case $as_dir in #((( 3443 + '') as_dir=./ ;; 3444 + */) ;; 3445 + *) as_dir=$as_dir/ ;; 3446 + esac 2998 3447 for ac_exec_ext in '' $ac_executable_extensions; do 2999 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3448 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3000 3449 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3001 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3450 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3002 3451 break 2 3003 3452 fi 3004 3453 done ··· 3009 3458 fi 3010 3459 CC=$ac_cv_prog_CC 3011 3460 if test -n "$CC"; then 3012 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3013 - $as_echo "$CC" >&6; } 3461 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3462 + printf "%s\n" "$CC" >&6; } 3014 3463 else 3015 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016 - $as_echo "no" >&6; } 3464 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3465 + printf "%s\n" "no" >&6; } 3017 3466 fi 3018 3467 3019 3468 ··· 3022 3471 ac_ct_CC=$CC 3023 3472 # Extract the first word of "gcc", so it can be a program name with args. 3024 3473 set dummy gcc; ac_word=$2 3025 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3026 - $as_echo_n "checking for $ac_word... " >&6; } 3027 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3028 - $as_echo_n "(cached) " >&6 3029 - else 3474 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3475 + printf %s "checking for $ac_word... " >&6; } 3476 + if test ${ac_cv_prog_ac_ct_CC+y} 3477 + then : 3478 + printf %s "(cached) " >&6 3479 + else $as_nop 3030 3480 if test -n "$ac_ct_CC"; then 3031 3481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3032 3482 else ··· 3034 3484 for as_dir in $PATH 3035 3485 do 3036 3486 IFS=$as_save_IFS 3037 - test -z "$as_dir" && as_dir=. 3487 + case $as_dir in #((( 3488 + '') as_dir=./ ;; 3489 + */) ;; 3490 + *) as_dir=$as_dir/ ;; 3491 + esac 3038 3492 for ac_exec_ext in '' $ac_executable_extensions; do 3039 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3493 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3040 3494 ac_cv_prog_ac_ct_CC="gcc" 3041 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3495 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3042 3496 break 2 3043 3497 fi 3044 3498 done ··· 3049 3503 fi 3050 3504 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3051 3505 if test -n "$ac_ct_CC"; then 3052 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3053 - $as_echo "$ac_ct_CC" >&6; } 3506 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3507 + printf "%s\n" "$ac_ct_CC" >&6; } 3054 3508 else 3055 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3056 - $as_echo "no" >&6; } 3509 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3510 + printf "%s\n" "no" >&6; } 3057 3511 fi 3058 3512 3059 3513 if test "x$ac_ct_CC" = x; then ··· 3061 3515 else 3062 3516 case $cross_compiling:$ac_tool_warned in 3063 3517 yes:) 3064 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3065 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3518 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3519 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3066 3520 ac_tool_warned=yes ;; 3067 3521 esac 3068 3522 CC=$ac_ct_CC ··· 3075 3529 if test -n "$ac_tool_prefix"; then 3076 3530 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3077 3531 set dummy ${ac_tool_prefix}cc; ac_word=$2 3078 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3079 - $as_echo_n "checking for $ac_word... " >&6; } 3080 - if ${ac_cv_prog_CC+:} false; then : 3081 - $as_echo_n "(cached) " >&6 3082 - else 3532 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3533 + printf %s "checking for $ac_word... " >&6; } 3534 + if test ${ac_cv_prog_CC+y} 3535 + then : 3536 + printf %s "(cached) " >&6 3537 + else $as_nop 3083 3538 if test -n "$CC"; then 3084 3539 ac_cv_prog_CC="$CC" # Let the user override the test. 3085 3540 else ··· 3087 3542 for as_dir in $PATH 3088 3543 do 3089 3544 IFS=$as_save_IFS 3090 - test -z "$as_dir" && as_dir=. 3545 + case $as_dir in #((( 3546 + '') as_dir=./ ;; 3547 + */) ;; 3548 + *) as_dir=$as_dir/ ;; 3549 + esac 3091 3550 for ac_exec_ext in '' $ac_executable_extensions; do 3092 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3551 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3093 3552 ac_cv_prog_CC="${ac_tool_prefix}cc" 3094 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3553 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3095 3554 break 2 3096 3555 fi 3097 3556 done ··· 3102 3561 fi 3103 3562 CC=$ac_cv_prog_CC 3104 3563 if test -n "$CC"; then 3105 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3106 - $as_echo "$CC" >&6; } 3564 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3565 + printf "%s\n" "$CC" >&6; } 3107 3566 else 3108 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3109 - $as_echo "no" >&6; } 3567 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3568 + printf "%s\n" "no" >&6; } 3110 3569 fi 3111 3570 3112 3571 ··· 3115 3574 if test -z "$CC"; then 3116 3575 # Extract the first word of "cc", so it can be a program name with args. 3117 3576 set dummy cc; ac_word=$2 3118 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3119 - $as_echo_n "checking for $ac_word... " >&6; } 3120 - if ${ac_cv_prog_CC+:} false; then : 3121 - $as_echo_n "(cached) " >&6 3122 - else 3577 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3578 + printf %s "checking for $ac_word... " >&6; } 3579 + if test ${ac_cv_prog_CC+y} 3580 + then : 3581 + printf %s "(cached) " >&6 3582 + else $as_nop 3123 3583 if test -n "$CC"; then 3124 3584 ac_cv_prog_CC="$CC" # Let the user override the test. 3125 3585 else ··· 3128 3588 for as_dir in $PATH 3129 3589 do 3130 3590 IFS=$as_save_IFS 3131 - test -z "$as_dir" && as_dir=. 3591 + case $as_dir in #((( 3592 + '') as_dir=./ ;; 3593 + */) ;; 3594 + *) as_dir=$as_dir/ ;; 3595 + esac 3132 3596 for ac_exec_ext in '' $ac_executable_extensions; do 3133 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3134 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3597 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3598 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3135 3599 ac_prog_rejected=yes 3136 3600 continue 3137 3601 fi 3138 3602 ac_cv_prog_CC="cc" 3139 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3603 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3140 3604 break 2 3141 3605 fi 3142 3606 done ··· 3152 3616 # However, it has the same basename, so the bogon will be chosen 3153 3617 # first if we set CC to just the basename; use the full file name. 3154 3618 shift 3155 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3619 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3156 3620 fi 3157 3621 fi 3158 3622 fi 3159 3623 fi 3160 3624 CC=$ac_cv_prog_CC 3161 3625 if test -n "$CC"; then 3162 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3163 - $as_echo "$CC" >&6; } 3626 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3627 + printf "%s\n" "$CC" >&6; } 3164 3628 else 3165 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3166 - $as_echo "no" >&6; } 3629 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3630 + printf "%s\n" "no" >&6; } 3167 3631 fi 3168 3632 3169 3633 ··· 3174 3638 do 3175 3639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3176 3640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3177 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3178 - $as_echo_n "checking for $ac_word... " >&6; } 3179 - if ${ac_cv_prog_CC+:} false; then : 3180 - $as_echo_n "(cached) " >&6 3181 - else 3641 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3642 + printf %s "checking for $ac_word... " >&6; } 3643 + if test ${ac_cv_prog_CC+y} 3644 + then : 3645 + printf %s "(cached) " >&6 3646 + else $as_nop 3182 3647 if test -n "$CC"; then 3183 3648 ac_cv_prog_CC="$CC" # Let the user override the test. 3184 3649 else ··· 3186 3651 for as_dir in $PATH 3187 3652 do 3188 3653 IFS=$as_save_IFS 3189 - test -z "$as_dir" && as_dir=. 3654 + case $as_dir in #((( 3655 + '') as_dir=./ ;; 3656 + */) ;; 3657 + *) as_dir=$as_dir/ ;; 3658 + esac 3190 3659 for ac_exec_ext in '' $ac_executable_extensions; do 3191 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3660 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3192 3661 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3193 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3662 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3194 3663 break 2 3195 3664 fi 3196 3665 done ··· 3201 3670 fi 3202 3671 CC=$ac_cv_prog_CC 3203 3672 if test -n "$CC"; then 3204 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3205 - $as_echo "$CC" >&6; } 3673 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3674 + printf "%s\n" "$CC" >&6; } 3206 3675 else 3207 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3208 - $as_echo "no" >&6; } 3676 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3677 + printf "%s\n" "no" >&6; } 3209 3678 fi 3210 3679 3211 3680 ··· 3218 3687 do 3219 3688 # Extract the first word of "$ac_prog", so it can be a program name with args. 3220 3689 set dummy $ac_prog; ac_word=$2 3221 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3222 - $as_echo_n "checking for $ac_word... " >&6; } 3223 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3224 - $as_echo_n "(cached) " >&6 3225 - else 3690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3691 + printf %s "checking for $ac_word... " >&6; } 3692 + if test ${ac_cv_prog_ac_ct_CC+y} 3693 + then : 3694 + printf %s "(cached) " >&6 3695 + else $as_nop 3226 3696 if test -n "$ac_ct_CC"; then 3227 3697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3228 3698 else ··· 3230 3700 for as_dir in $PATH 3231 3701 do 3232 3702 IFS=$as_save_IFS 3233 - test -z "$as_dir" && as_dir=. 3703 + case $as_dir in #((( 3704 + '') as_dir=./ ;; 3705 + */) ;; 3706 + *) as_dir=$as_dir/ ;; 3707 + esac 3234 3708 for ac_exec_ext in '' $ac_executable_extensions; do 3235 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3709 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3236 3710 ac_cv_prog_ac_ct_CC="$ac_prog" 3237 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3711 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3238 3712 break 2 3239 3713 fi 3240 3714 done ··· 3245 3719 fi 3246 3720 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3247 3721 if test -n "$ac_ct_CC"; then 3248 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3249 - $as_echo "$ac_ct_CC" >&6; } 3722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3723 + printf "%s\n" "$ac_ct_CC" >&6; } 3250 3724 else 3251 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3252 - $as_echo "no" >&6; } 3725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3726 + printf "%s\n" "no" >&6; } 3253 3727 fi 3254 3728 3255 3729 ··· 3261 3735 else 3262 3736 case $cross_compiling:$ac_tool_warned in 3263 3737 yes:) 3264 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3265 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3738 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3739 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3266 3740 ac_tool_warned=yes ;; 3267 3741 esac 3268 3742 CC=$ac_ct_CC ··· 3270 3744 fi 3271 3745 3272 3746 fi 3747 + if test -z "$CC"; then 3748 + if test -n "$ac_tool_prefix"; then 3749 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3750 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3752 + printf %s "checking for $ac_word... " >&6; } 3753 + if test ${ac_cv_prog_CC+y} 3754 + then : 3755 + printf %s "(cached) " >&6 3756 + else $as_nop 3757 + if test -n "$CC"; then 3758 + ac_cv_prog_CC="$CC" # Let the user override the test. 3759 + else 3760 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3761 + for as_dir in $PATH 3762 + do 3763 + IFS=$as_save_IFS 3764 + case $as_dir in #((( 3765 + '') as_dir=./ ;; 3766 + */) ;; 3767 + *) as_dir=$as_dir/ ;; 3768 + esac 3769 + for ac_exec_ext in '' $ac_executable_extensions; do 3770 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3771 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3772 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3773 + break 2 3774 + fi 3775 + done 3776 + done 3777 + IFS=$as_save_IFS 3273 3778 3779 + fi 3780 + fi 3781 + CC=$ac_cv_prog_CC 3782 + if test -n "$CC"; then 3783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3784 + printf "%s\n" "$CC" >&6; } 3785 + else 3786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3787 + printf "%s\n" "no" >&6; } 3788 + fi 3274 3789 3275 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3276 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3790 + 3791 + fi 3792 + if test -z "$ac_cv_prog_CC"; then 3793 + ac_ct_CC=$CC 3794 + # Extract the first word of "clang", so it can be a program name with args. 3795 + set dummy clang; ac_word=$2 3796 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3797 + printf %s "checking for $ac_word... " >&6; } 3798 + if test ${ac_cv_prog_ac_ct_CC+y} 3799 + then : 3800 + printf %s "(cached) " >&6 3801 + else $as_nop 3802 + if test -n "$ac_ct_CC"; then 3803 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3804 + else 3805 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3806 + for as_dir in $PATH 3807 + do 3808 + IFS=$as_save_IFS 3809 + case $as_dir in #((( 3810 + '') as_dir=./ ;; 3811 + */) ;; 3812 + *) as_dir=$as_dir/ ;; 3813 + esac 3814 + for ac_exec_ext in '' $ac_executable_extensions; do 3815 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3816 + ac_cv_prog_ac_ct_CC="clang" 3817 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3818 + break 2 3819 + fi 3820 + done 3821 + done 3822 + IFS=$as_save_IFS 3823 + 3824 + fi 3825 + fi 3826 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3827 + if test -n "$ac_ct_CC"; then 3828 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3829 + printf "%s\n" "$ac_ct_CC" >&6; } 3830 + else 3831 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3832 + printf "%s\n" "no" >&6; } 3833 + fi 3834 + 3835 + if test "x$ac_ct_CC" = x; then 3836 + CC="" 3837 + else 3838 + case $cross_compiling:$ac_tool_warned in 3839 + yes:) 3840 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3841 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3842 + ac_tool_warned=yes ;; 3843 + esac 3844 + CC=$ac_ct_CC 3845 + fi 3846 + else 3847 + CC="$ac_cv_prog_CC" 3848 + fi 3849 + 3850 + fi 3851 + 3852 + 3853 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3854 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3277 3855 as_fn_error $? "no acceptable C compiler found in \$PATH 3278 3856 See \`config.log' for more details" "$LINENO" 5; } 3279 3857 3280 3858 # Provide some information about the compiler. 3281 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3859 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3282 3860 set X $ac_compile 3283 3861 ac_compiler=$2 3284 - for ac_option in --version -v -V -qversion; do 3862 + for ac_option in --version -v -V -qversion -version; do 3285 3863 { { ac_try="$ac_compiler $ac_option >&5" 3286 3864 case "(($ac_try" in 3287 3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3288 3866 *) ac_try_echo=$ac_try;; 3289 3867 esac 3290 3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3291 - $as_echo "$ac_try_echo"; } >&5 3869 + printf "%s\n" "$ac_try_echo"; } >&5 3292 3870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3293 3871 ac_status=$? 3294 3872 if test -s conftest.err; then ··· 3298 3876 cat conftest.er1 >&5 3299 3877 fi 3300 3878 rm -f conftest.er1 conftest.err 3301 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3879 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3302 3880 test $ac_status = 0; } 3303 3881 done 3304 3882 ··· 3306 3884 /* end confdefs.h. */ 3307 3885 3308 3886 int 3309 - main () 3887 + main (void) 3310 3888 { 3311 3889 3312 3890 ; ··· 3318 3896 # Try to create an executable without -o first, disregard a.out. 3319 3897 # It will help us diagnose broken compilers, and finding out an intuition 3320 3898 # of exeext. 3321 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3322 - $as_echo_n "checking whether the C compiler works... " >&6; } 3323 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3899 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3900 + printf %s "checking whether the C compiler works... " >&6; } 3901 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3324 3902 3325 3903 # The possible output files: 3326 3904 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3341 3919 *) ac_try_echo=$ac_try;; 3342 3920 esac 3343 3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3344 - $as_echo "$ac_try_echo"; } >&5 3922 + printf "%s\n" "$ac_try_echo"; } >&5 3345 3923 (eval "$ac_link_default") 2>&5 3346 3924 ac_status=$? 3347 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3348 - test $ac_status = 0; }; then : 3925 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3926 + test $ac_status = 0; } 3927 + then : 3349 3928 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3350 3929 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3351 3930 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3362 3941 # certainly right. 3363 3942 break;; 3364 3943 *.* ) 3365 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3944 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3366 3945 then :; else 3367 3946 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3368 3947 fi ··· 3378 3957 done 3379 3958 test "$ac_cv_exeext" = no && ac_cv_exeext= 3380 3959 3381 - else 3960 + else $as_nop 3382 3961 ac_file='' 3383 3962 fi 3384 - if test -z "$ac_file"; then : 3385 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3386 - $as_echo "no" >&6; } 3387 - $as_echo "$as_me: failed program was:" >&5 3963 + if test -z "$ac_file" 3964 + then : 3965 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3966 + printf "%s\n" "no" >&6; } 3967 + printf "%s\n" "$as_me: failed program was:" >&5 3388 3968 sed 's/^/| /' conftest.$ac_ext >&5 3389 3969 3390 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3391 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3970 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3971 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3392 3972 as_fn_error 77 "C compiler cannot create executables 3393 3973 See \`config.log' for more details" "$LINENO" 5; } 3394 - else 3395 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3396 - $as_echo "yes" >&6; } 3974 + else $as_nop 3975 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3976 + printf "%s\n" "yes" >&6; } 3397 3977 fi 3398 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3399 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3400 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3401 - $as_echo "$ac_file" >&6; } 3978 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3979 + printf %s "checking for C compiler default output file name... " >&6; } 3980 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3981 + printf "%s\n" "$ac_file" >&6; } 3402 3982 ac_exeext=$ac_cv_exeext 3403 3983 3404 3984 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3405 3985 ac_clean_files=$ac_clean_files_save 3406 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3407 - $as_echo_n "checking for suffix of executables... " >&6; } 3986 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3987 + printf %s "checking for suffix of executables... " >&6; } 3408 3988 if { { ac_try="$ac_link" 3409 3989 case "(($ac_try" in 3410 3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3411 3991 *) ac_try_echo=$ac_try;; 3412 3992 esac 3413 3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3414 - $as_echo "$ac_try_echo"; } >&5 3994 + printf "%s\n" "$ac_try_echo"; } >&5 3415 3995 (eval "$ac_link") 2>&5 3416 3996 ac_status=$? 3417 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3418 - test $ac_status = 0; }; then : 3997 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3998 + test $ac_status = 0; } 3999 + then : 3419 4000 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3420 4001 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3421 4002 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3429 4010 * ) break;; 3430 4011 esac 3431 4012 done 3432 - else 3433 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3434 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4013 + else $as_nop 4014 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4015 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3435 4016 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3436 4017 See \`config.log' for more details" "$LINENO" 5; } 3437 4018 fi 3438 4019 rm -f conftest conftest$ac_cv_exeext 3439 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3440 - $as_echo "$ac_cv_exeext" >&6; } 4020 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4021 + printf "%s\n" "$ac_cv_exeext" >&6; } 3441 4022 3442 4023 rm -f conftest.$ac_ext 3443 4024 EXEEXT=$ac_cv_exeext ··· 3446 4027 /* end confdefs.h. */ 3447 4028 #include <stdio.h> 3448 4029 int 3449 - main () 4030 + main (void) 3450 4031 { 3451 4032 FILE *f = fopen ("conftest.out", "w"); 3452 4033 return ferror (f) || fclose (f) != 0; ··· 3458 4039 ac_clean_files="$ac_clean_files conftest.out" 3459 4040 # Check that the compiler produces executables we can run. If not, either 3460 4041 # the compiler is broken, or we cross compile. 3461 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3462 - $as_echo_n "checking whether we are cross compiling... " >&6; } 4042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4043 + printf %s "checking whether we are cross compiling... " >&6; } 3463 4044 if test "$cross_compiling" != yes; then 3464 4045 { { ac_try="$ac_link" 3465 4046 case "(($ac_try" in ··· 3467 4048 *) ac_try_echo=$ac_try;; 3468 4049 esac 3469 4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3470 - $as_echo "$ac_try_echo"; } >&5 4051 + printf "%s\n" "$ac_try_echo"; } >&5 3471 4052 (eval "$ac_link") 2>&5 3472 4053 ac_status=$? 3473 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4054 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3474 4055 test $ac_status = 0; } 3475 4056 if { ac_try='./conftest$ac_cv_exeext' 3476 4057 { { case "(($ac_try" in ··· 3478 4059 *) ac_try_echo=$ac_try;; 3479 4060 esac 3480 4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3481 - $as_echo "$ac_try_echo"; } >&5 4062 + printf "%s\n" "$ac_try_echo"; } >&5 3482 4063 (eval "$ac_try") 2>&5 3483 4064 ac_status=$? 3484 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4065 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3485 4066 test $ac_status = 0; }; }; then 3486 4067 cross_compiling=no 3487 4068 else 3488 4069 if test "$cross_compiling" = maybe; then 3489 4070 cross_compiling=yes 3490 4071 else 3491 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3492 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3493 - as_fn_error $? "cannot run C compiled programs. 4072 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4073 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4074 + as_fn_error 77 "cannot run C compiled programs. 3494 4075 If you meant to cross compile, use \`--host'. 3495 4076 See \`config.log' for more details" "$LINENO" 5; } 3496 4077 fi 3497 4078 fi 3498 4079 fi 3499 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3500 - $as_echo "$cross_compiling" >&6; } 4080 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4081 + printf "%s\n" "$cross_compiling" >&6; } 3501 4082 3502 4083 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3503 4084 ac_clean_files=$ac_clean_files_save 3504 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3505 - $as_echo_n "checking for suffix of object files... " >&6; } 3506 - if ${ac_cv_objext+:} false; then : 3507 - $as_echo_n "(cached) " >&6 3508 - else 4085 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4086 + printf %s "checking for suffix of object files... " >&6; } 4087 + if test ${ac_cv_objext+y} 4088 + then : 4089 + printf %s "(cached) " >&6 4090 + else $as_nop 3509 4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3510 4092 /* end confdefs.h. */ 3511 4093 3512 4094 int 3513 - main () 4095 + main (void) 3514 4096 { 3515 4097 3516 4098 ; ··· 3524 4106 *) ac_try_echo=$ac_try;; 3525 4107 esac 3526 4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3527 - $as_echo "$ac_try_echo"; } >&5 4109 + printf "%s\n" "$ac_try_echo"; } >&5 3528 4110 (eval "$ac_compile") 2>&5 3529 4111 ac_status=$? 3530 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3531 - test $ac_status = 0; }; then : 4112 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4113 + test $ac_status = 0; } 4114 + then : 3532 4115 for ac_file in conftest.o conftest.obj conftest.*; do 3533 4116 test -f "$ac_file" || continue; 3534 4117 case $ac_file in ··· 3537 4120 break;; 3538 4121 esac 3539 4122 done 3540 - else 3541 - $as_echo "$as_me: failed program was:" >&5 4123 + else $as_nop 4124 + printf "%s\n" "$as_me: failed program was:" >&5 3542 4125 sed 's/^/| /' conftest.$ac_ext >&5 3543 4126 3544 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3545 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4127 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4128 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3546 4129 as_fn_error $? "cannot compute suffix of object files: cannot compile 3547 4130 See \`config.log' for more details" "$LINENO" 5; } 3548 4131 fi 3549 4132 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3550 4133 fi 3551 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3552 - $as_echo "$ac_cv_objext" >&6; } 4134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4135 + printf "%s\n" "$ac_cv_objext" >&6; } 3553 4136 OBJEXT=$ac_cv_objext 3554 4137 ac_objext=$OBJEXT 3555 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3556 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3557 - if ${ac_cv_c_compiler_gnu+:} false; then : 3558 - $as_echo_n "(cached) " >&6 3559 - else 4138 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4139 + printf %s "checking whether the compiler supports GNU C... " >&6; } 4140 + if test ${ac_cv_c_compiler_gnu+y} 4141 + then : 4142 + printf %s "(cached) " >&6 4143 + else $as_nop 3560 4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3561 4145 /* end confdefs.h. */ 3562 4146 3563 4147 int 3564 - main () 4148 + main (void) 3565 4149 { 3566 4150 #ifndef __GNUC__ 3567 4151 choke me ··· 3571 4155 return 0; 3572 4156 } 3573 4157 _ACEOF 3574 - if ac_fn_c_try_compile "$LINENO"; then : 4158 + if ac_fn_c_try_compile "$LINENO" 4159 + then : 3575 4160 ac_compiler_gnu=yes 3576 - else 4161 + else $as_nop 3577 4162 ac_compiler_gnu=no 3578 4163 fi 3579 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4164 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3580 4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3581 4166 3582 4167 fi 3583 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3584 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4168 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4169 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4170 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 4171 + 3585 4172 if test $ac_compiler_gnu = yes; then 3586 4173 GCC=yes 3587 4174 else 3588 4175 GCC= 3589 4176 fi 3590 - ac_test_CFLAGS=${CFLAGS+set} 4177 + ac_test_CFLAGS=${CFLAGS+y} 3591 4178 ac_save_CFLAGS=$CFLAGS 3592 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3593 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3594 - if ${ac_cv_prog_cc_g+:} false; then : 3595 - $as_echo_n "(cached) " >&6 3596 - else 4179 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4180 + printf %s "checking whether $CC accepts -g... " >&6; } 4181 + if test ${ac_cv_prog_cc_g+y} 4182 + then : 4183 + printf %s "(cached) " >&6 4184 + else $as_nop 3597 4185 ac_save_c_werror_flag=$ac_c_werror_flag 3598 4186 ac_c_werror_flag=yes 3599 4187 ac_cv_prog_cc_g=no ··· 3602 4190 /* end confdefs.h. */ 3603 4191 3604 4192 int 3605 - main () 4193 + main (void) 3606 4194 { 3607 4195 3608 4196 ; 3609 4197 return 0; 3610 4198 } 3611 4199 _ACEOF 3612 - if ac_fn_c_try_compile "$LINENO"; then : 4200 + if ac_fn_c_try_compile "$LINENO" 4201 + then : 3613 4202 ac_cv_prog_cc_g=yes 3614 - else 4203 + else $as_nop 3615 4204 CFLAGS="" 3616 4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3617 4206 /* end confdefs.h. */ 3618 4207 3619 4208 int 3620 - main () 4209 + main (void) 3621 4210 { 3622 4211 3623 4212 ; 3624 4213 return 0; 3625 4214 } 3626 4215 _ACEOF 3627 - if ac_fn_c_try_compile "$LINENO"; then : 4216 + if ac_fn_c_try_compile "$LINENO" 4217 + then : 3628 4218 3629 - else 4219 + else $as_nop 3630 4220 ac_c_werror_flag=$ac_save_c_werror_flag 3631 4221 CFLAGS="-g" 3632 4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3633 4223 /* end confdefs.h. */ 3634 4224 3635 4225 int 3636 - main () 4226 + main (void) 3637 4227 { 3638 4228 3639 4229 ; 3640 4230 return 0; 3641 4231 } 3642 4232 _ACEOF 3643 - if ac_fn_c_try_compile "$LINENO"; then : 4233 + if ac_fn_c_try_compile "$LINENO" 4234 + then : 3644 4235 ac_cv_prog_cc_g=yes 3645 4236 fi 3646 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4237 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3647 4238 fi 3648 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4239 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3649 4240 fi 3650 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4241 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3651 4242 ac_c_werror_flag=$ac_save_c_werror_flag 3652 4243 fi 3653 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3654 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3655 - if test "$ac_test_CFLAGS" = set; then 4244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4245 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4246 + if test $ac_test_CFLAGS; then 3656 4247 CFLAGS=$ac_save_CFLAGS 3657 4248 elif test $ac_cv_prog_cc_g = yes; then 3658 4249 if test "$GCC" = yes; then ··· 3667 4258 CFLAGS= 3668 4259 fi 3669 4260 fi 3670 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3671 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3672 - if ${ac_cv_prog_cc_c89+:} false; then : 3673 - $as_echo_n "(cached) " >&6 3674 - else 3675 - ac_cv_prog_cc_c89=no 4261 + ac_prog_cc_stdc=no 4262 + if test x$ac_prog_cc_stdc = xno 4263 + then : 4264 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4265 + printf %s "checking for $CC option to enable C11 features... " >&6; } 4266 + if test ${ac_cv_prog_cc_c11+y} 4267 + then : 4268 + printf %s "(cached) " >&6 4269 + else $as_nop 4270 + ac_cv_prog_cc_c11=no 3676 4271 ac_save_CC=$CC 3677 4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678 4273 /* end confdefs.h. */ 3679 - #include <stdarg.h> 3680 - #include <stdio.h> 3681 - struct stat; 3682 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3683 - struct buf { int x; }; 3684 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3685 - static char *e (p, i) 3686 - char **p; 3687 - int i; 3688 - { 3689 - return p[i]; 3690 - } 3691 - static char *f (char * (*g) (char **, int), char **p, ...) 3692 - { 3693 - char *s; 3694 - va_list v; 3695 - va_start (v,p); 3696 - s = g (p, va_arg (v,int)); 3697 - va_end (v); 3698 - return s; 3699 - } 4274 + $ac_c_conftest_c11_program 4275 + _ACEOF 4276 + for ac_arg in '' -std=gnu11 4277 + do 4278 + CC="$ac_save_CC $ac_arg" 4279 + if ac_fn_c_try_compile "$LINENO" 4280 + then : 4281 + ac_cv_prog_cc_c11=$ac_arg 4282 + fi 4283 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4284 + test "x$ac_cv_prog_cc_c11" != "xno" && break 4285 + done 4286 + rm -f conftest.$ac_ext 4287 + CC=$ac_save_CC 4288 + fi 3700 4289 3701 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3702 - function prototypes and stuff, but not '\xHH' hex character constants. 3703 - These don't provoke an error unfortunately, instead are silently treated 3704 - as 'x'. The following induces an error, until -std is added to get 3705 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3706 - array size at least. It's necessary to write '\x00'==0 to get something 3707 - that's true only with -std. */ 3708 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4290 + if test "x$ac_cv_prog_cc_c11" = xno 4291 + then : 4292 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4293 + printf "%s\n" "unsupported" >&6; } 4294 + else $as_nop 4295 + if test "x$ac_cv_prog_cc_c11" = x 4296 + then : 4297 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4298 + printf "%s\n" "none needed" >&6; } 4299 + else $as_nop 4300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4301 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4302 + CC="$CC $ac_cv_prog_cc_c11" 4303 + fi 4304 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4305 + ac_prog_cc_stdc=c11 4306 + fi 4307 + fi 4308 + if test x$ac_prog_cc_stdc = xno 4309 + then : 4310 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4311 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4312 + if test ${ac_cv_prog_cc_c99+y} 4313 + then : 4314 + printf %s "(cached) " >&6 4315 + else $as_nop 4316 + ac_cv_prog_cc_c99=no 4317 + ac_save_CC=$CC 4318 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4319 + /* end confdefs.h. */ 4320 + $ac_c_conftest_c99_program 4321 + _ACEOF 4322 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4323 + do 4324 + CC="$ac_save_CC $ac_arg" 4325 + if ac_fn_c_try_compile "$LINENO" 4326 + then : 4327 + ac_cv_prog_cc_c99=$ac_arg 4328 + fi 4329 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4330 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4331 + done 4332 + rm -f conftest.$ac_ext 4333 + CC=$ac_save_CC 4334 + fi 3709 4335 3710 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3711 - inside strings and character constants. */ 3712 - #define FOO(x) 'x' 3713 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3714 - 3715 - int test (int i, double x); 3716 - struct s1 {int (*f) (int a);}; 3717 - struct s2 {int (*f) (double a);}; 3718 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3719 - int argc; 3720 - char **argv; 3721 - int 3722 - main () 3723 - { 3724 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3725 - ; 3726 - return 0; 3727 - } 4336 + if test "x$ac_cv_prog_cc_c99" = xno 4337 + then : 4338 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4339 + printf "%s\n" "unsupported" >&6; } 4340 + else $as_nop 4341 + if test "x$ac_cv_prog_cc_c99" = x 4342 + then : 4343 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4344 + printf "%s\n" "none needed" >&6; } 4345 + else $as_nop 4346 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4347 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4348 + CC="$CC $ac_cv_prog_cc_c99" 4349 + fi 4350 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4351 + ac_prog_cc_stdc=c99 4352 + fi 4353 + fi 4354 + if test x$ac_prog_cc_stdc = xno 4355 + then : 4356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4357 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4358 + if test ${ac_cv_prog_cc_c89+y} 4359 + then : 4360 + printf %s "(cached) " >&6 4361 + else $as_nop 4362 + ac_cv_prog_cc_c89=no 4363 + ac_save_CC=$CC 4364 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4365 + /* end confdefs.h. */ 4366 + $ac_c_conftest_c89_program 3728 4367 _ACEOF 3729 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3730 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4368 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3731 4369 do 3732 4370 CC="$ac_save_CC $ac_arg" 3733 - if ac_fn_c_try_compile "$LINENO"; then : 4371 + if ac_fn_c_try_compile "$LINENO" 4372 + then : 3734 4373 ac_cv_prog_cc_c89=$ac_arg 3735 4374 fi 3736 - rm -f core conftest.err conftest.$ac_objext 4375 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3737 4376 test "x$ac_cv_prog_cc_c89" != "xno" && break 3738 4377 done 3739 4378 rm -f conftest.$ac_ext 3740 4379 CC=$ac_save_CC 4380 + fi 3741 4381 4382 + if test "x$ac_cv_prog_cc_c89" = xno 4383 + then : 4384 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4385 + printf "%s\n" "unsupported" >&6; } 4386 + else $as_nop 4387 + if test "x$ac_cv_prog_cc_c89" = x 4388 + then : 4389 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4390 + printf "%s\n" "none needed" >&6; } 4391 + else $as_nop 4392 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4393 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4394 + CC="$CC $ac_cv_prog_cc_c89" 3742 4395 fi 3743 - # AC_CACHE_VAL 3744 - case "x$ac_cv_prog_cc_c89" in 3745 - x) 3746 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3747 - $as_echo "none needed" >&6; } ;; 3748 - xno) 3749 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3750 - $as_echo "unsupported" >&6; } ;; 3751 - *) 3752 - CC="$CC $ac_cv_prog_cc_c89" 3753 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3754 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3755 - esac 3756 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3757 - 4396 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4397 + ac_prog_cc_stdc=c89 4398 + fi 3758 4399 fi 3759 4400 3760 4401 ac_ext=c ··· 3765 4406 3766 4407 depcc="$CC" am_compiler_list= 3767 4408 3768 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3769 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3770 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3771 - $as_echo_n "(cached) " >&6 3772 - else 4409 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4410 + printf %s "checking dependency style of $depcc... " >&6; } 4411 + if test ${am_cv_CC_dependencies_compiler_type+y} 4412 + then : 4413 + printf %s "(cached) " >&6 4414 + else $as_nop 3773 4415 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3774 4416 # We make a subdir and do the tests there. Otherwise we can end up 3775 4417 # making bogus files that we don't know about and never remove. For ··· 3876 4518 fi 3877 4519 3878 4520 fi 3879 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3880 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4521 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4522 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3881 4523 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3882 4524 3883 4525 if ··· 3891 4533 fi 3892 4534 3893 4535 3894 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3895 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 3896 - if ${ac_cv_path_SED+:} false; then : 3897 - $as_echo_n "(cached) " >&6 3898 - else 4536 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4537 + printf %s "checking for a sed that does not truncate output... " >&6; } 4538 + if test ${ac_cv_path_SED+y} 4539 + then : 4540 + printf %s "(cached) " >&6 4541 + else $as_nop 3899 4542 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3900 4543 for ac_i in 1 2 3 4 5 6 7; do 3901 4544 ac_script="$ac_script$as_nl$ac_script" ··· 3909 4552 for as_dir in $PATH 3910 4553 do 3911 4554 IFS=$as_save_IFS 3912 - test -z "$as_dir" && as_dir=. 3913 - for ac_prog in sed gsed; do 4555 + case $as_dir in #((( 4556 + '') as_dir=./ ;; 4557 + */) ;; 4558 + *) as_dir=$as_dir/ ;; 4559 + esac 4560 + for ac_prog in sed gsed 4561 + do 3914 4562 for ac_exec_ext in '' $ac_executable_extensions; do 3915 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4563 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 3916 4564 as_fn_executable_p "$ac_path_SED" || continue 3917 4565 # Check for GNU ac_path_SED and select it if it is found. 3918 4566 # Check for GNU $ac_path_SED ··· 3921 4569 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3922 4570 *) 3923 4571 ac_count=0 3924 - $as_echo_n 0123456789 >"conftest.in" 4572 + printf %s 0123456789 >"conftest.in" 3925 4573 while : 3926 4574 do 3927 4575 cat "conftest.in" "conftest.in" >"conftest.tmp" 3928 4576 mv "conftest.tmp" "conftest.in" 3929 4577 cp "conftest.in" "conftest.nl" 3930 - $as_echo '' >> "conftest.nl" 4578 + printf "%s\n" '' >> "conftest.nl" 3931 4579 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3932 4580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3933 4581 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 3955 4603 fi 3956 4604 3957 4605 fi 3958 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3959 - $as_echo "$ac_cv_path_SED" >&6; } 4606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4607 + printf "%s\n" "$ac_cv_path_SED" >&6; } 3960 4608 SED="$ac_cv_path_SED" 3961 4609 rm -f conftest.sed 3962 4610 ··· 3973 4621 3974 4622 3975 4623 3976 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3977 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3978 - if ${ac_cv_path_GREP+:} false; then : 3979 - $as_echo_n "(cached) " >&6 3980 - else 4624 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4625 + printf %s "checking for grep that handles long lines and -e... " >&6; } 4626 + if test ${ac_cv_path_GREP+y} 4627 + then : 4628 + printf %s "(cached) " >&6 4629 + else $as_nop 3981 4630 if test -z "$GREP"; then 3982 4631 ac_path_GREP_found=false 3983 4632 # Loop through the user's path and test for each of PROGNAME-LIST ··· 3985 4634 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3986 4635 do 3987 4636 IFS=$as_save_IFS 3988 - test -z "$as_dir" && as_dir=. 3989 - for ac_prog in grep ggrep; do 4637 + case $as_dir in #((( 4638 + '') as_dir=./ ;; 4639 + */) ;; 4640 + *) as_dir=$as_dir/ ;; 4641 + esac 4642 + for ac_prog in grep ggrep 4643 + do 3990 4644 for ac_exec_ext in '' $ac_executable_extensions; do 3991 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4645 + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 3992 4646 as_fn_executable_p "$ac_path_GREP" || continue 3993 4647 # Check for GNU ac_path_GREP and select it if it is found. 3994 4648 # Check for GNU $ac_path_GREP ··· 3997 4651 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3998 4652 *) 3999 4653 ac_count=0 4000 - $as_echo_n 0123456789 >"conftest.in" 4654 + printf %s 0123456789 >"conftest.in" 4001 4655 while : 4002 4656 do 4003 4657 cat "conftest.in" "conftest.in" >"conftest.tmp" 4004 4658 mv "conftest.tmp" "conftest.in" 4005 4659 cp "conftest.in" "conftest.nl" 4006 - $as_echo 'GREP' >> "conftest.nl" 4660 + printf "%s\n" 'GREP' >> "conftest.nl" 4007 4661 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4008 4662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4009 4663 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4031 4685 fi 4032 4686 4033 4687 fi 4034 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4035 - $as_echo "$ac_cv_path_GREP" >&6; } 4688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4689 + printf "%s\n" "$ac_cv_path_GREP" >&6; } 4036 4690 GREP="$ac_cv_path_GREP" 4037 4691 4038 4692 4039 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4040 - $as_echo_n "checking for egrep... " >&6; } 4041 - if ${ac_cv_path_EGREP+:} false; then : 4042 - $as_echo_n "(cached) " >&6 4043 - else 4693 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4694 + printf %s "checking for egrep... " >&6; } 4695 + if test ${ac_cv_path_EGREP+y} 4696 + then : 4697 + printf %s "(cached) " >&6 4698 + else $as_nop 4044 4699 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4045 4700 then ac_cv_path_EGREP="$GREP -E" 4046 4701 else ··· 4051 4706 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4052 4707 do 4053 4708 IFS=$as_save_IFS 4054 - test -z "$as_dir" && as_dir=. 4055 - for ac_prog in egrep; do 4709 + case $as_dir in #((( 4710 + '') as_dir=./ ;; 4711 + */) ;; 4712 + *) as_dir=$as_dir/ ;; 4713 + esac 4714 + for ac_prog in egrep 4715 + do 4056 4716 for ac_exec_ext in '' $ac_executable_extensions; do 4057 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4717 + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 4058 4718 as_fn_executable_p "$ac_path_EGREP" || continue 4059 4719 # Check for GNU ac_path_EGREP and select it if it is found. 4060 4720 # Check for GNU $ac_path_EGREP ··· 4063 4723 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4064 4724 *) 4065 4725 ac_count=0 4066 - $as_echo_n 0123456789 >"conftest.in" 4726 + printf %s 0123456789 >"conftest.in" 4067 4727 while : 4068 4728 do 4069 4729 cat "conftest.in" "conftest.in" >"conftest.tmp" 4070 4730 mv "conftest.tmp" "conftest.in" 4071 4731 cp "conftest.in" "conftest.nl" 4072 - $as_echo 'EGREP' >> "conftest.nl" 4732 + printf "%s\n" 'EGREP' >> "conftest.nl" 4073 4733 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4074 4734 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4075 4735 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4098 4758 4099 4759 fi 4100 4760 fi 4101 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4102 - $as_echo "$ac_cv_path_EGREP" >&6; } 4761 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4762 + printf "%s\n" "$ac_cv_path_EGREP" >&6; } 4103 4763 EGREP="$ac_cv_path_EGREP" 4104 4764 4105 4765 4106 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4107 - $as_echo_n "checking for fgrep... " >&6; } 4108 - if ${ac_cv_path_FGREP+:} false; then : 4109 - $as_echo_n "(cached) " >&6 4110 - else 4766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4767 + printf %s "checking for fgrep... " >&6; } 4768 + if test ${ac_cv_path_FGREP+y} 4769 + then : 4770 + printf %s "(cached) " >&6 4771 + else $as_nop 4111 4772 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4112 4773 then ac_cv_path_FGREP="$GREP -F" 4113 4774 else ··· 4118 4779 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4119 4780 do 4120 4781 IFS=$as_save_IFS 4121 - test -z "$as_dir" && as_dir=. 4122 - for ac_prog in fgrep; do 4782 + case $as_dir in #((( 4783 + '') as_dir=./ ;; 4784 + */) ;; 4785 + *) as_dir=$as_dir/ ;; 4786 + esac 4787 + for ac_prog in fgrep 4788 + do 4123 4789 for ac_exec_ext in '' $ac_executable_extensions; do 4124 - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4790 + ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" 4125 4791 as_fn_executable_p "$ac_path_FGREP" || continue 4126 4792 # Check for GNU ac_path_FGREP and select it if it is found. 4127 4793 # Check for GNU $ac_path_FGREP ··· 4130 4796 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4131 4797 *) 4132 4798 ac_count=0 4133 - $as_echo_n 0123456789 >"conftest.in" 4799 + printf %s 0123456789 >"conftest.in" 4134 4800 while : 4135 4801 do 4136 4802 cat "conftest.in" "conftest.in" >"conftest.tmp" 4137 4803 mv "conftest.tmp" "conftest.in" 4138 4804 cp "conftest.in" "conftest.nl" 4139 - $as_echo 'FGREP' >> "conftest.nl" 4805 + printf "%s\n" 'FGREP' >> "conftest.nl" 4140 4806 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4141 4807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4142 4808 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4165 4831 4166 4832 fi 4167 4833 fi 4168 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4169 - $as_echo "$ac_cv_path_FGREP" >&6; } 4834 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4835 + printf "%s\n" "$ac_cv_path_FGREP" >&6; } 4170 4836 FGREP="$ac_cv_path_FGREP" 4171 4837 4172 4838 ··· 4191 4857 4192 4858 4193 4859 # Check whether --with-gnu-ld was given. 4194 - if test "${with_gnu_ld+set}" = set; then : 4860 + if test ${with_gnu_ld+y} 4861 + then : 4195 4862 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4196 - else 4863 + else $as_nop 4197 4864 with_gnu_ld=no 4198 4865 fi 4199 4866 4200 4867 ac_prog=ld 4201 4868 if test "$GCC" = yes; then 4202 4869 # Check if gcc -print-prog-name=ld gives a path. 4203 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4204 - $as_echo_n "checking for ld used by $CC... " >&6; } 4870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4871 + printf %s "checking for ld used by $CC... " >&6; } 4205 4872 case $host in 4206 4873 *-*-mingw*) 4207 4874 # gcc leaves a trailing carriage return which upsets mingw ··· 4230 4897 ;; 4231 4898 esac 4232 4899 elif test "$with_gnu_ld" = yes; then 4233 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4234 - $as_echo_n "checking for GNU ld... " >&6; } 4900 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4901 + printf %s "checking for GNU ld... " >&6; } 4235 4902 else 4236 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4237 - $as_echo_n "checking for non-GNU ld... " >&6; } 4903 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4904 + printf %s "checking for non-GNU ld... " >&6; } 4238 4905 fi 4239 - if ${lt_cv_path_LD+:} false; then : 4240 - $as_echo_n "(cached) " >&6 4241 - else 4906 + if test ${lt_cv_path_LD+y} 4907 + then : 4908 + printf %s "(cached) " >&6 4909 + else $as_nop 4242 4910 if test -z "$LD"; then 4243 4911 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4244 4912 for ac_dir in $PATH; do ··· 4267 4935 4268 4936 LD="$lt_cv_path_LD" 4269 4937 if test -n "$LD"; then 4270 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4271 - $as_echo "$LD" >&6; } 4938 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4939 + printf "%s\n" "$LD" >&6; } 4272 4940 else 4273 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4274 - $as_echo "no" >&6; } 4941 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4942 + printf "%s\n" "no" >&6; } 4275 4943 fi 4276 4944 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4277 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4278 - $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4279 - if ${lt_cv_prog_gnu_ld+:} false; then : 4280 - $as_echo_n "(cached) " >&6 4281 - else 4945 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4946 + printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 4947 + if test ${lt_cv_prog_gnu_ld+y} 4948 + then : 4949 + printf %s "(cached) " >&6 4950 + else $as_nop 4282 4951 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4283 4952 case `$LD -v 2>&1 </dev/null` in 4284 4953 *GNU* | *'with BFD'*) ··· 4289 4958 ;; 4290 4959 esac 4291 4960 fi 4292 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4293 - $as_echo "$lt_cv_prog_gnu_ld" >&6; } 4961 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4962 + printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } 4294 4963 with_gnu_ld=$lt_cv_prog_gnu_ld 4295 4964 4296 4965 ··· 4301 4970 4302 4971 4303 4972 4304 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4305 - $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4306 - if ${lt_cv_path_NM+:} false; then : 4307 - $as_echo_n "(cached) " >&6 4308 - else 4973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4974 + printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4975 + if test ${lt_cv_path_NM+y} 4976 + then : 4977 + printf %s "(cached) " >&6 4978 + else $as_nop 4309 4979 if test -n "$NM"; then 4310 4980 # Let the user override the test. 4311 4981 lt_cv_path_NM="$NM" ··· 4350 5020 : ${lt_cv_path_NM=no} 4351 5021 fi 4352 5022 fi 4353 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4354 - $as_echo "$lt_cv_path_NM" >&6; } 5023 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5024 + printf "%s\n" "$lt_cv_path_NM" >&6; } 4355 5025 if test "$lt_cv_path_NM" != "no"; then 4356 5026 NM="$lt_cv_path_NM" 4357 5027 else ··· 4364 5034 do 4365 5035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4366 5036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4367 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4368 - $as_echo_n "checking for $ac_word... " >&6; } 4369 - if ${ac_cv_prog_DUMPBIN+:} false; then : 4370 - $as_echo_n "(cached) " >&6 4371 - else 5037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5038 + printf %s "checking for $ac_word... " >&6; } 5039 + if test ${ac_cv_prog_DUMPBIN+y} 5040 + then : 5041 + printf %s "(cached) " >&6 5042 + else $as_nop 4372 5043 if test -n "$DUMPBIN"; then 4373 5044 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4374 5045 else ··· 4376 5047 for as_dir in $PATH 4377 5048 do 4378 5049 IFS=$as_save_IFS 4379 - test -z "$as_dir" && as_dir=. 5050 + case $as_dir in #((( 5051 + '') as_dir=./ ;; 5052 + */) ;; 5053 + *) as_dir=$as_dir/ ;; 5054 + esac 4380 5055 for ac_exec_ext in '' $ac_executable_extensions; do 4381 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5056 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4382 5057 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4383 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5058 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4384 5059 break 2 4385 5060 fi 4386 5061 done ··· 4391 5066 fi 4392 5067 DUMPBIN=$ac_cv_prog_DUMPBIN 4393 5068 if test -n "$DUMPBIN"; then 4394 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4395 - $as_echo "$DUMPBIN" >&6; } 5069 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5070 + printf "%s\n" "$DUMPBIN" >&6; } 4396 5071 else 4397 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4398 - $as_echo "no" >&6; } 5072 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5073 + printf "%s\n" "no" >&6; } 4399 5074 fi 4400 5075 4401 5076 ··· 4408 5083 do 4409 5084 # Extract the first word of "$ac_prog", so it can be a program name with args. 4410 5085 set dummy $ac_prog; ac_word=$2 4411 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4412 - $as_echo_n "checking for $ac_word... " >&6; } 4413 - if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4414 - $as_echo_n "(cached) " >&6 4415 - else 5086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5087 + printf %s "checking for $ac_word... " >&6; } 5088 + if test ${ac_cv_prog_ac_ct_DUMPBIN+y} 5089 + then : 5090 + printf %s "(cached) " >&6 5091 + else $as_nop 4416 5092 if test -n "$ac_ct_DUMPBIN"; then 4417 5093 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4418 5094 else ··· 4420 5096 for as_dir in $PATH 4421 5097 do 4422 5098 IFS=$as_save_IFS 4423 - test -z "$as_dir" && as_dir=. 5099 + case $as_dir in #((( 5100 + '') as_dir=./ ;; 5101 + */) ;; 5102 + *) as_dir=$as_dir/ ;; 5103 + esac 4424 5104 for ac_exec_ext in '' $ac_executable_extensions; do 4425 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5105 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4426 5106 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4427 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5107 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4428 5108 break 2 4429 5109 fi 4430 5110 done ··· 4435 5115 fi 4436 5116 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4437 5117 if test -n "$ac_ct_DUMPBIN"; then 4438 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4439 - $as_echo "$ac_ct_DUMPBIN" >&6; } 5118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5119 + printf "%s\n" "$ac_ct_DUMPBIN" >&6; } 4440 5120 else 4441 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4442 - $as_echo "no" >&6; } 5121 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5122 + printf "%s\n" "no" >&6; } 4443 5123 fi 4444 5124 4445 5125 ··· 4451 5131 else 4452 5132 case $cross_compiling:$ac_tool_warned in 4453 5133 yes:) 4454 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4455 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5135 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4456 5136 ac_tool_warned=yes ;; 4457 5137 esac 4458 5138 DUMPBIN=$ac_ct_DUMPBIN ··· 4480 5160 4481 5161 4482 5162 4483 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4484 - $as_echo_n "checking the name lister ($NM) interface... " >&6; } 4485 - if ${lt_cv_nm_interface+:} false; then : 4486 - $as_echo_n "(cached) " >&6 4487 - else 5163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5164 + printf %s "checking the name lister ($NM) interface... " >&6; } 5165 + if test ${lt_cv_nm_interface+y} 5166 + then : 5167 + printf %s "(cached) " >&6 5168 + else $as_nop 4488 5169 lt_cv_nm_interface="BSD nm" 4489 5170 echo "int some_variable = 0;" > conftest.$ac_ext 4490 5171 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) ··· 4500 5181 fi 4501 5182 rm -f conftest* 4502 5183 fi 4503 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4504 - $as_echo "$lt_cv_nm_interface" >&6; } 5184 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5185 + printf "%s\n" "$lt_cv_nm_interface" >&6; } 4505 5186 4506 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4507 - $as_echo_n "checking whether ln -s works... " >&6; } 5187 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5188 + printf %s "checking whether ln -s works... " >&6; } 4508 5189 LN_S=$as_ln_s 4509 5190 if test "$LN_S" = "ln -s"; then 4510 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4511 - $as_echo "yes" >&6; } 5191 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5192 + printf "%s\n" "yes" >&6; } 4512 5193 else 4513 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4514 - $as_echo "no, using $LN_S" >&6; } 5194 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5195 + printf "%s\n" "no, using $LN_S" >&6; } 4515 5196 fi 4516 5197 4517 5198 # find the maximum length of command line arguments 4518 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4519 - $as_echo_n "checking the maximum length of command line arguments... " >&6; } 4520 - if ${lt_cv_sys_max_cmd_len+:} false; then : 4521 - $as_echo_n "(cached) " >&6 4522 - else 5199 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5200 + printf %s "checking the maximum length of command line arguments... " >&6; } 5201 + if test ${lt_cv_sys_max_cmd_len+y} 5202 + then : 5203 + printf %s "(cached) " >&6 5204 + else $as_nop 4523 5205 i=0 4524 5206 teststring="ABCD" 4525 5207 ··· 4645 5327 fi 4646 5328 4647 5329 if test -n $lt_cv_sys_max_cmd_len ; then 4648 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4649 - $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5330 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5331 + printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } 4650 5332 else 4651 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4652 - $as_echo "none" >&6; } 5333 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 5334 + printf "%s\n" "none" >&6; } 4653 5335 fi 4654 5336 max_cmd_len=$lt_cv_sys_max_cmd_len 4655 5337 ··· 4662 5344 : ${MV="mv -f"} 4663 5345 : ${RM="rm -f"} 4664 5346 4665 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4666 - $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5347 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5348 + printf %s "checking whether the shell understands some XSI constructs... " >&6; } 4667 5349 # Try some XSI features 4668 5350 xsi_shell=no 4669 5351 ( _lt_dummy="a/b/c" ··· 4672 5354 && eval 'test $(( 1 + 1 )) -eq 2 \ 4673 5355 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4674 5356 && xsi_shell=yes 4675 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4676 - $as_echo "$xsi_shell" >&6; } 5357 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5358 + printf "%s\n" "$xsi_shell" >&6; } 4677 5359 4678 5360 4679 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4680 - $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5361 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5362 + printf %s "checking whether the shell understands \"+=\"... " >&6; } 4681 5363 lt_shell_append=no 4682 5364 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4683 5365 >/dev/null 2>&1 \ 4684 5366 && lt_shell_append=yes 4685 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4686 - $as_echo "$lt_shell_append" >&6; } 5367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5368 + printf "%s\n" "$lt_shell_append" >&6; } 4687 5369 4688 5370 4689 5371 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ··· 4717 5399 4718 5400 4719 5401 4720 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4721 - $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4722 - if ${lt_cv_to_host_file_cmd+:} false; then : 4723 - $as_echo_n "(cached) " >&6 4724 - else 5402 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5403 + printf %s "checking how to convert $build file names to $host format... " >&6; } 5404 + if test ${lt_cv_to_host_file_cmd+y} 5405 + then : 5406 + printf %s "(cached) " >&6 5407 + else $as_nop 4725 5408 case $host in 4726 5409 *-*-mingw* ) 4727 5410 case $build in ··· 4757 5440 fi 4758 5441 4759 5442 to_host_file_cmd=$lt_cv_to_host_file_cmd 4760 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4761 - $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5443 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5444 + printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } 4762 5445 4763 5446 4764 5447 4765 5448 4766 5449 4767 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4768 - $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4769 - if ${lt_cv_to_tool_file_cmd+:} false; then : 4770 - $as_echo_n "(cached) " >&6 4771 - else 5450 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5451 + printf %s "checking how to convert $build file names to toolchain format... " >&6; } 5452 + if test ${lt_cv_to_tool_file_cmd+y} 5453 + then : 5454 + printf %s "(cached) " >&6 5455 + else $as_nop 4772 5456 #assume ordinary cross tools, or native build. 4773 5457 lt_cv_to_tool_file_cmd=func_convert_file_noop 4774 5458 case $host in ··· 4784 5468 fi 4785 5469 4786 5470 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4787 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4788 - $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5472 + printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } 4789 5473 4790 5474 4791 5475 4792 5476 4793 5477 4794 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4795 - $as_echo_n "checking for $LD option to reload object files... " >&6; } 4796 - if ${lt_cv_ld_reload_flag+:} false; then : 4797 - $as_echo_n "(cached) " >&6 4798 - else 5478 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5479 + printf %s "checking for $LD option to reload object files... " >&6; } 5480 + if test ${lt_cv_ld_reload_flag+y} 5481 + then : 5482 + printf %s "(cached) " >&6 5483 + else $as_nop 4799 5484 lt_cv_ld_reload_flag='-r' 4800 5485 fi 4801 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4802 - $as_echo "$lt_cv_ld_reload_flag" >&6; } 5486 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5487 + printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } 4803 5488 reload_flag=$lt_cv_ld_reload_flag 4804 5489 case $reload_flag in 4805 5490 "" | " "*) ;; ··· 4832 5517 if test -n "$ac_tool_prefix"; then 4833 5518 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4834 5519 set dummy ${ac_tool_prefix}objdump; ac_word=$2 4835 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4836 - $as_echo_n "checking for $ac_word... " >&6; } 4837 - if ${ac_cv_prog_OBJDUMP+:} false; then : 4838 - $as_echo_n "(cached) " >&6 4839 - else 5520 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5521 + printf %s "checking for $ac_word... " >&6; } 5522 + if test ${ac_cv_prog_OBJDUMP+y} 5523 + then : 5524 + printf %s "(cached) " >&6 5525 + else $as_nop 4840 5526 if test -n "$OBJDUMP"; then 4841 5527 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4842 5528 else ··· 4844 5530 for as_dir in $PATH 4845 5531 do 4846 5532 IFS=$as_save_IFS 4847 - test -z "$as_dir" && as_dir=. 5533 + case $as_dir in #((( 5534 + '') as_dir=./ ;; 5535 + */) ;; 5536 + *) as_dir=$as_dir/ ;; 5537 + esac 4848 5538 for ac_exec_ext in '' $ac_executable_extensions; do 4849 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5539 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4850 5540 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4851 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5541 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4852 5542 break 2 4853 5543 fi 4854 5544 done ··· 4859 5549 fi 4860 5550 OBJDUMP=$ac_cv_prog_OBJDUMP 4861 5551 if test -n "$OBJDUMP"; then 4862 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4863 - $as_echo "$OBJDUMP" >&6; } 5552 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5553 + printf "%s\n" "$OBJDUMP" >&6; } 4864 5554 else 4865 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4866 - $as_echo "no" >&6; } 5555 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5556 + printf "%s\n" "no" >&6; } 4867 5557 fi 4868 5558 4869 5559 ··· 4872 5562 ac_ct_OBJDUMP=$OBJDUMP 4873 5563 # Extract the first word of "objdump", so it can be a program name with args. 4874 5564 set dummy objdump; ac_word=$2 4875 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4876 - $as_echo_n "checking for $ac_word... " >&6; } 4877 - if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4878 - $as_echo_n "(cached) " >&6 4879 - else 5565 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5566 + printf %s "checking for $ac_word... " >&6; } 5567 + if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 5568 + then : 5569 + printf %s "(cached) " >&6 5570 + else $as_nop 4880 5571 if test -n "$ac_ct_OBJDUMP"; then 4881 5572 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4882 5573 else ··· 4884 5575 for as_dir in $PATH 4885 5576 do 4886 5577 IFS=$as_save_IFS 4887 - test -z "$as_dir" && as_dir=. 5578 + case $as_dir in #((( 5579 + '') as_dir=./ ;; 5580 + */) ;; 5581 + *) as_dir=$as_dir/ ;; 5582 + esac 4888 5583 for ac_exec_ext in '' $ac_executable_extensions; do 4889 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5584 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4890 5585 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4891 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5586 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4892 5587 break 2 4893 5588 fi 4894 5589 done ··· 4899 5594 fi 4900 5595 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4901 5596 if test -n "$ac_ct_OBJDUMP"; then 4902 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4903 - $as_echo "$ac_ct_OBJDUMP" >&6; } 5597 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5598 + printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 4904 5599 else 4905 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4906 - $as_echo "no" >&6; } 5600 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5601 + printf "%s\n" "no" >&6; } 4907 5602 fi 4908 5603 4909 5604 if test "x$ac_ct_OBJDUMP" = x; then ··· 4911 5606 else 4912 5607 case $cross_compiling:$ac_tool_warned in 4913 5608 yes:) 4914 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4915 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5609 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5610 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4916 5611 ac_tool_warned=yes ;; 4917 5612 esac 4918 5613 OBJDUMP=$ac_ct_OBJDUMP ··· 4931 5626 4932 5627 4933 5628 4934 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4935 - $as_echo_n "checking how to recognize dependent libraries... " >&6; } 4936 - if ${lt_cv_deplibs_check_method+:} false; then : 4937 - $as_echo_n "(cached) " >&6 4938 - else 5629 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5630 + printf %s "checking how to recognize dependent libraries... " >&6; } 5631 + if test ${lt_cv_deplibs_check_method+y} 5632 + then : 5633 + printf %s "(cached) " >&6 5634 + else $as_nop 4939 5635 lt_cv_file_magic_cmd='$MAGIC_CMD' 4940 5636 lt_cv_file_magic_test_file= 4941 5637 lt_cv_deplibs_check_method='unknown' ··· 5133 5829 esac 5134 5830 5135 5831 fi 5136 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5137 - $as_echo "$lt_cv_deplibs_check_method" >&6; } 5832 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5833 + printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } 5138 5834 5139 5835 file_magic_glob= 5140 5836 want_nocaseglob=no ··· 5178 5874 if test -n "$ac_tool_prefix"; then 5179 5875 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5180 5876 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5181 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5182 - $as_echo_n "checking for $ac_word... " >&6; } 5183 - if ${ac_cv_prog_DLLTOOL+:} false; then : 5184 - $as_echo_n "(cached) " >&6 5185 - else 5877 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5878 + printf %s "checking for $ac_word... " >&6; } 5879 + if test ${ac_cv_prog_DLLTOOL+y} 5880 + then : 5881 + printf %s "(cached) " >&6 5882 + else $as_nop 5186 5883 if test -n "$DLLTOOL"; then 5187 5884 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5188 5885 else ··· 5190 5887 for as_dir in $PATH 5191 5888 do 5192 5889 IFS=$as_save_IFS 5193 - test -z "$as_dir" && as_dir=. 5890 + case $as_dir in #((( 5891 + '') as_dir=./ ;; 5892 + */) ;; 5893 + *) as_dir=$as_dir/ ;; 5894 + esac 5194 5895 for ac_exec_ext in '' $ac_executable_extensions; do 5195 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5896 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5196 5897 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5197 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5898 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5198 5899 break 2 5199 5900 fi 5200 5901 done ··· 5205 5906 fi 5206 5907 DLLTOOL=$ac_cv_prog_DLLTOOL 5207 5908 if test -n "$DLLTOOL"; then 5208 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5209 - $as_echo "$DLLTOOL" >&6; } 5909 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5910 + printf "%s\n" "$DLLTOOL" >&6; } 5210 5911 else 5211 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5212 - $as_echo "no" >&6; } 5912 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5913 + printf "%s\n" "no" >&6; } 5213 5914 fi 5214 5915 5215 5916 ··· 5218 5919 ac_ct_DLLTOOL=$DLLTOOL 5219 5920 # Extract the first word of "dlltool", so it can be a program name with args. 5220 5921 set dummy dlltool; ac_word=$2 5221 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5222 - $as_echo_n "checking for $ac_word... " >&6; } 5223 - if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5224 - $as_echo_n "(cached) " >&6 5225 - else 5922 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5923 + printf %s "checking for $ac_word... " >&6; } 5924 + if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 5925 + then : 5926 + printf %s "(cached) " >&6 5927 + else $as_nop 5226 5928 if test -n "$ac_ct_DLLTOOL"; then 5227 5929 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5228 5930 else ··· 5230 5932 for as_dir in $PATH 5231 5933 do 5232 5934 IFS=$as_save_IFS 5233 - test -z "$as_dir" && as_dir=. 5935 + case $as_dir in #((( 5936 + '') as_dir=./ ;; 5937 + */) ;; 5938 + *) as_dir=$as_dir/ ;; 5939 + esac 5234 5940 for ac_exec_ext in '' $ac_executable_extensions; do 5235 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5941 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5236 5942 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5237 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5943 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5238 5944 break 2 5239 5945 fi 5240 5946 done ··· 5245 5951 fi 5246 5952 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5247 5953 if test -n "$ac_ct_DLLTOOL"; then 5248 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5249 - $as_echo "$ac_ct_DLLTOOL" >&6; } 5954 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5955 + printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 5250 5956 else 5251 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5252 - $as_echo "no" >&6; } 5957 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5958 + printf "%s\n" "no" >&6; } 5253 5959 fi 5254 5960 5255 5961 if test "x$ac_ct_DLLTOOL" = x; then ··· 5257 5963 else 5258 5964 case $cross_compiling:$ac_tool_warned in 5259 5965 yes:) 5260 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5261 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5966 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5967 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5262 5968 ac_tool_warned=yes ;; 5263 5969 esac 5264 5970 DLLTOOL=$ac_ct_DLLTOOL ··· 5278 5984 5279 5985 5280 5986 5281 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5282 - $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5283 - if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5284 - $as_echo_n "(cached) " >&6 5285 - else 5987 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5988 + printf %s "checking how to associate runtime and link libraries... " >&6; } 5989 + if test ${lt_cv_sharedlib_from_linklib_cmd+y} 5990 + then : 5991 + printf %s "(cached) " >&6 5992 + else $as_nop 5286 5993 lt_cv_sharedlib_from_linklib_cmd='unknown' 5287 5994 5288 5995 case $host_os in ··· 5305 6012 esac 5306 6013 5307 6014 fi 5308 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5309 - $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6015 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6016 + printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5310 6017 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5311 6018 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5312 6019 ··· 5322 6029 do 5323 6030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5324 6031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5325 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5326 - $as_echo_n "checking for $ac_word... " >&6; } 5327 - if ${ac_cv_prog_AR+:} false; then : 5328 - $as_echo_n "(cached) " >&6 5329 - else 6032 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6033 + printf %s "checking for $ac_word... " >&6; } 6034 + if test ${ac_cv_prog_AR+y} 6035 + then : 6036 + printf %s "(cached) " >&6 6037 + else $as_nop 5330 6038 if test -n "$AR"; then 5331 6039 ac_cv_prog_AR="$AR" # Let the user override the test. 5332 6040 else ··· 5334 6042 for as_dir in $PATH 5335 6043 do 5336 6044 IFS=$as_save_IFS 5337 - test -z "$as_dir" && as_dir=. 6045 + case $as_dir in #((( 6046 + '') as_dir=./ ;; 6047 + */) ;; 6048 + *) as_dir=$as_dir/ ;; 6049 + esac 5338 6050 for ac_exec_ext in '' $ac_executable_extensions; do 5339 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6051 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5340 6052 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5341 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6053 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5342 6054 break 2 5343 6055 fi 5344 6056 done ··· 5349 6061 fi 5350 6062 AR=$ac_cv_prog_AR 5351 6063 if test -n "$AR"; then 5352 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5353 - $as_echo "$AR" >&6; } 6064 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6065 + printf "%s\n" "$AR" >&6; } 5354 6066 else 5355 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5356 - $as_echo "no" >&6; } 6067 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6068 + printf "%s\n" "no" >&6; } 5357 6069 fi 5358 6070 5359 6071 ··· 5366 6078 do 5367 6079 # Extract the first word of "$ac_prog", so it can be a program name with args. 5368 6080 set dummy $ac_prog; ac_word=$2 5369 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5370 - $as_echo_n "checking for $ac_word... " >&6; } 5371 - if ${ac_cv_prog_ac_ct_AR+:} false; then : 5372 - $as_echo_n "(cached) " >&6 5373 - else 6081 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6082 + printf %s "checking for $ac_word... " >&6; } 6083 + if test ${ac_cv_prog_ac_ct_AR+y} 6084 + then : 6085 + printf %s "(cached) " >&6 6086 + else $as_nop 5374 6087 if test -n "$ac_ct_AR"; then 5375 6088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5376 6089 else ··· 5378 6091 for as_dir in $PATH 5379 6092 do 5380 6093 IFS=$as_save_IFS 5381 - test -z "$as_dir" && as_dir=. 6094 + case $as_dir in #((( 6095 + '') as_dir=./ ;; 6096 + */) ;; 6097 + *) as_dir=$as_dir/ ;; 6098 + esac 5382 6099 for ac_exec_ext in '' $ac_executable_extensions; do 5383 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6100 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5384 6101 ac_cv_prog_ac_ct_AR="$ac_prog" 5385 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6102 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5386 6103 break 2 5387 6104 fi 5388 6105 done ··· 5393 6110 fi 5394 6111 ac_ct_AR=$ac_cv_prog_ac_ct_AR 5395 6112 if test -n "$ac_ct_AR"; then 5396 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5397 - $as_echo "$ac_ct_AR" >&6; } 6113 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6114 + printf "%s\n" "$ac_ct_AR" >&6; } 5398 6115 else 5399 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5400 - $as_echo "no" >&6; } 6116 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6117 + printf "%s\n" "no" >&6; } 5401 6118 fi 5402 6119 5403 6120 ··· 5409 6126 else 5410 6127 case $cross_compiling:$ac_tool_warned in 5411 6128 yes:) 5412 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5413 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6129 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6130 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5414 6131 ac_tool_warned=yes ;; 5415 6132 esac 5416 6133 AR=$ac_ct_AR ··· 5430 6147 5431 6148 5432 6149 5433 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5434 - $as_echo_n "checking for archiver @FILE support... " >&6; } 5435 - if ${lt_cv_ar_at_file+:} false; then : 5436 - $as_echo_n "(cached) " >&6 5437 - else 6150 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6151 + printf %s "checking for archiver @FILE support... " >&6; } 6152 + if test ${lt_cv_ar_at_file+y} 6153 + then : 6154 + printf %s "(cached) " >&6 6155 + else $as_nop 5438 6156 lt_cv_ar_at_file=no 5439 6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5440 6158 /* end confdefs.h. */ 5441 6159 5442 6160 int 5443 - main () 6161 + main (void) 5444 6162 { 5445 6163 5446 6164 ; 5447 6165 return 0; 5448 6166 } 5449 6167 _ACEOF 5450 - if ac_fn_c_try_compile "$LINENO"; then : 6168 + if ac_fn_c_try_compile "$LINENO" 6169 + then : 5451 6170 echo conftest.$ac_objext > conftest.lst 5452 6171 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5453 6172 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5454 6173 (eval $lt_ar_try) 2>&5 5455 6174 ac_status=$? 5456 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6175 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5457 6176 test $ac_status = 0; } 5458 6177 if test "$ac_status" -eq 0; then 5459 6178 # Ensure the archiver fails upon bogus file names. ··· 5461 6180 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5462 6181 (eval $lt_ar_try) 2>&5 5463 6182 ac_status=$? 5464 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6183 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5465 6184 test $ac_status = 0; } 5466 6185 if test "$ac_status" -ne 0; then 5467 6186 lt_cv_ar_at_file=@ ··· 5470 6189 rm -f conftest.* libconftest.a 5471 6190 5472 6191 fi 5473 - 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 5474 6193 5475 6194 fi 5476 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5477 - $as_echo "$lt_cv_ar_at_file" >&6; } 6195 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6196 + printf "%s\n" "$lt_cv_ar_at_file" >&6; } 5478 6197 5479 6198 if test "x$lt_cv_ar_at_file" = xno; then 5480 6199 archiver_list_spec= ··· 5491 6210 if test -n "$ac_tool_prefix"; then 5492 6211 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5493 6212 set dummy ${ac_tool_prefix}strip; ac_word=$2 5494 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5495 - $as_echo_n "checking for $ac_word... " >&6; } 5496 - if ${ac_cv_prog_STRIP+:} false; then : 5497 - $as_echo_n "(cached) " >&6 5498 - else 6213 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6214 + printf %s "checking for $ac_word... " >&6; } 6215 + if test ${ac_cv_prog_STRIP+y} 6216 + then : 6217 + printf %s "(cached) " >&6 6218 + else $as_nop 5499 6219 if test -n "$STRIP"; then 5500 6220 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5501 6221 else ··· 5503 6223 for as_dir in $PATH 5504 6224 do 5505 6225 IFS=$as_save_IFS 5506 - test -z "$as_dir" && as_dir=. 6226 + case $as_dir in #((( 6227 + '') as_dir=./ ;; 6228 + */) ;; 6229 + *) as_dir=$as_dir/ ;; 6230 + esac 5507 6231 for ac_exec_ext in '' $ac_executable_extensions; do 5508 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6232 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5509 6233 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5510 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6234 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5511 6235 break 2 5512 6236 fi 5513 6237 done ··· 5518 6242 fi 5519 6243 STRIP=$ac_cv_prog_STRIP 5520 6244 if test -n "$STRIP"; then 5521 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5522 - $as_echo "$STRIP" >&6; } 6245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6246 + printf "%s\n" "$STRIP" >&6; } 5523 6247 else 5524 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5525 - $as_echo "no" >&6; } 6248 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6249 + printf "%s\n" "no" >&6; } 5526 6250 fi 5527 6251 5528 6252 ··· 5531 6255 ac_ct_STRIP=$STRIP 5532 6256 # Extract the first word of "strip", so it can be a program name with args. 5533 6257 set dummy strip; ac_word=$2 5534 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5535 - $as_echo_n "checking for $ac_word... " >&6; } 5536 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5537 - $as_echo_n "(cached) " >&6 5538 - else 6258 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6259 + printf %s "checking for $ac_word... " >&6; } 6260 + if test ${ac_cv_prog_ac_ct_STRIP+y} 6261 + then : 6262 + printf %s "(cached) " >&6 6263 + else $as_nop 5539 6264 if test -n "$ac_ct_STRIP"; then 5540 6265 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5541 6266 else ··· 5543 6268 for as_dir in $PATH 5544 6269 do 5545 6270 IFS=$as_save_IFS 5546 - test -z "$as_dir" && as_dir=. 6271 + case $as_dir in #((( 6272 + '') as_dir=./ ;; 6273 + */) ;; 6274 + *) as_dir=$as_dir/ ;; 6275 + esac 5547 6276 for ac_exec_ext in '' $ac_executable_extensions; do 5548 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6277 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5549 6278 ac_cv_prog_ac_ct_STRIP="strip" 5550 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6279 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5551 6280 break 2 5552 6281 fi 5553 6282 done ··· 5558 6287 fi 5559 6288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5560 6289 if test -n "$ac_ct_STRIP"; then 5561 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5562 - $as_echo "$ac_ct_STRIP" >&6; } 6290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6291 + printf "%s\n" "$ac_ct_STRIP" >&6; } 5563 6292 else 5564 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5565 - $as_echo "no" >&6; } 6293 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6294 + printf "%s\n" "no" >&6; } 5566 6295 fi 5567 6296 5568 6297 if test "x$ac_ct_STRIP" = x; then ··· 5570 6299 else 5571 6300 case $cross_compiling:$ac_tool_warned in 5572 6301 yes:) 5573 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5574 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6302 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6303 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5575 6304 ac_tool_warned=yes ;; 5576 6305 esac 5577 6306 STRIP=$ac_ct_STRIP ··· 5590 6319 if test -n "$ac_tool_prefix"; then 5591 6320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5592 6321 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5593 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5594 - $as_echo_n "checking for $ac_word... " >&6; } 5595 - if ${ac_cv_prog_RANLIB+:} false; then : 5596 - $as_echo_n "(cached) " >&6 5597 - else 6322 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6323 + printf %s "checking for $ac_word... " >&6; } 6324 + if test ${ac_cv_prog_RANLIB+y} 6325 + then : 6326 + printf %s "(cached) " >&6 6327 + else $as_nop 5598 6328 if test -n "$RANLIB"; then 5599 6329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5600 6330 else ··· 5602 6332 for as_dir in $PATH 5603 6333 do 5604 6334 IFS=$as_save_IFS 5605 - test -z "$as_dir" && as_dir=. 6335 + case $as_dir in #((( 6336 + '') as_dir=./ ;; 6337 + */) ;; 6338 + *) as_dir=$as_dir/ ;; 6339 + esac 5606 6340 for ac_exec_ext in '' $ac_executable_extensions; do 5607 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6341 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5608 6342 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5609 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6343 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5610 6344 break 2 5611 6345 fi 5612 6346 done ··· 5617 6351 fi 5618 6352 RANLIB=$ac_cv_prog_RANLIB 5619 6353 if test -n "$RANLIB"; then 5620 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5621 - $as_echo "$RANLIB" >&6; } 6354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6355 + printf "%s\n" "$RANLIB" >&6; } 5622 6356 else 5623 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5624 - $as_echo "no" >&6; } 6357 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6358 + printf "%s\n" "no" >&6; } 5625 6359 fi 5626 6360 5627 6361 ··· 5630 6364 ac_ct_RANLIB=$RANLIB 5631 6365 # Extract the first word of "ranlib", so it can be a program name with args. 5632 6366 set dummy ranlib; ac_word=$2 5633 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5634 - $as_echo_n "checking for $ac_word... " >&6; } 5635 - if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5636 - $as_echo_n "(cached) " >&6 5637 - else 6367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6368 + printf %s "checking for $ac_word... " >&6; } 6369 + if test ${ac_cv_prog_ac_ct_RANLIB+y} 6370 + then : 6371 + printf %s "(cached) " >&6 6372 + else $as_nop 5638 6373 if test -n "$ac_ct_RANLIB"; then 5639 6374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5640 6375 else ··· 5642 6377 for as_dir in $PATH 5643 6378 do 5644 6379 IFS=$as_save_IFS 5645 - test -z "$as_dir" && as_dir=. 6380 + case $as_dir in #((( 6381 + '') as_dir=./ ;; 6382 + */) ;; 6383 + *) as_dir=$as_dir/ ;; 6384 + esac 5646 6385 for ac_exec_ext in '' $ac_executable_extensions; do 5647 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6386 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5648 6387 ac_cv_prog_ac_ct_RANLIB="ranlib" 5649 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6388 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5650 6389 break 2 5651 6390 fi 5652 6391 done ··· 5657 6396 fi 5658 6397 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5659 6398 if test -n "$ac_ct_RANLIB"; then 5660 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5661 - $as_echo "$ac_ct_RANLIB" >&6; } 6399 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6400 + printf "%s\n" "$ac_ct_RANLIB" >&6; } 5662 6401 else 5663 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5664 - $as_echo "no" >&6; } 6402 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6403 + printf "%s\n" "no" >&6; } 5665 6404 fi 5666 6405 5667 6406 if test "x$ac_ct_RANLIB" = x; then ··· 5669 6408 else 5670 6409 case $cross_compiling:$ac_tool_warned in 5671 6410 yes:) 5672 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5673 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6411 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6412 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5674 6413 ac_tool_warned=yes ;; 5675 6414 esac 5676 6415 RANLIB=$ac_ct_RANLIB ··· 5759 6498 5760 6499 5761 6500 # Check for command to grab the raw symbol name followed by C symbol from nm. 5762 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5763 - $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5764 - if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5765 - $as_echo_n "(cached) " >&6 5766 - else 6501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6502 + printf %s "checking command to parse $NM output from $compiler object... " >&6; } 6503 + if test ${lt_cv_sys_global_symbol_pipe+y} 6504 + then : 6505 + printf %s "(cached) " >&6 6506 + else $as_nop 5767 6507 5768 6508 # These are sane defaults that work on at least a few old systems. 5769 6509 # [They come from Ultrix. What could be older than Ultrix?!! ;)] ··· 5882 6622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5883 6623 (eval $ac_compile) 2>&5 5884 6624 ac_status=$? 5885 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6625 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5886 6626 test $ac_status = 0; }; then 5887 6627 # Now try to grab the symbols. 5888 6628 nlist=conftest.nm 5889 6629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5890 6630 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5891 6631 ac_status=$? 5892 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6632 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5893 6633 test $ac_status = 0; } && test -s "$nlist"; then 5894 6634 # Try sorting and uniquifying the output. 5895 6635 if sort "$nlist" | uniq > "$nlist"T; then ··· 5958 6698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5959 6699 (eval $ac_link) 2>&5 5960 6700 ac_status=$? 5961 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6701 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5962 6702 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5963 6703 pipe_works=yes 5964 6704 fi ··· 5993 6733 lt_cv_sys_global_symbol_to_cdecl= 5994 6734 fi 5995 6735 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5996 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5997 - $as_echo "failed" >&6; } 6736 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6737 + printf "%s\n" "failed" >&6; } 5998 6738 else 5999 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6000 - $as_echo "ok" >&6; } 6739 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6740 + printf "%s\n" "ok" >&6; } 6001 6741 fi 6002 6742 6003 6743 # Response file support. ··· 6033 6773 6034 6774 6035 6775 6036 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6037 - $as_echo_n "checking for sysroot... " >&6; } 6776 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6777 + printf %s "checking for sysroot... " >&6; } 6038 6778 6039 6779 # Check whether --with-sysroot was given. 6040 - if test "${with_sysroot+set}" = set; then : 6780 + if test ${with_sysroot+y} 6781 + then : 6041 6782 withval=$with_sysroot; 6042 - else 6783 + else $as_nop 6043 6784 with_sysroot=no 6044 6785 fi 6045 6786 ··· 6057 6798 no|'') 6058 6799 ;; #( 6059 6800 *) 6060 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6061 - $as_echo "${with_sysroot}" >&6; } 6801 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6802 + printf "%s\n" "${with_sysroot}" >&6; } 6062 6803 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6063 6804 ;; 6064 6805 esac 6065 6806 6066 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6067 - $as_echo "${lt_sysroot:-no}" >&6; } 6807 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6808 + printf "%s\n" "${lt_sysroot:-no}" >&6; } 6068 6809 6069 6810 6070 6811 6071 6812 6072 6813 6073 6814 # Check whether --enable-libtool-lock was given. 6074 - if test "${enable_libtool_lock+set}" = set; then : 6815 + if test ${enable_libtool_lock+y} 6816 + then : 6075 6817 enableval=$enable_libtool_lock; 6076 6818 fi 6077 6819 ··· 6086 6828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6087 6829 (eval $ac_compile) 2>&5 6088 6830 ac_status=$? 6089 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6831 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6090 6832 test $ac_status = 0; }; then 6091 6833 case `/usr/bin/file conftest.$ac_objext` in 6092 6834 *ELF-32*) ··· 6105 6847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6106 6848 (eval $ac_compile) 2>&5 6107 6849 ac_status=$? 6108 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6850 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6109 6851 test $ac_status = 0; }; then 6110 6852 if test "$lt_cv_prog_gnu_ld" = yes; then 6111 6853 case `/usr/bin/file conftest.$ac_objext` in ··· 6143 6885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6144 6886 (eval $ac_compile) 2>&5 6145 6887 ac_status=$? 6146 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6888 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6147 6889 test $ac_status = 0; }; then 6148 6890 case `/usr/bin/file conftest.o` in 6149 6891 *32-bit*) ··· 6193 6935 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6194 6936 SAVE_CFLAGS="$CFLAGS" 6195 6937 CFLAGS="$CFLAGS -belf" 6196 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6197 - $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6198 - if ${lt_cv_cc_needs_belf+:} false; then : 6199 - $as_echo_n "(cached) " >&6 6200 - else 6938 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6939 + printf %s "checking whether the C compiler needs -belf... " >&6; } 6940 + if test ${lt_cv_cc_needs_belf+y} 6941 + then : 6942 + printf %s "(cached) " >&6 6943 + else $as_nop 6201 6944 ac_ext=c 6202 6945 ac_cpp='$CPP $CPPFLAGS' 6203 6946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ··· 6208 6951 /* end confdefs.h. */ 6209 6952 6210 6953 int 6211 - main () 6954 + main (void) 6212 6955 { 6213 6956 6214 6957 ; 6215 6958 return 0; 6216 6959 } 6217 6960 _ACEOF 6218 - if ac_fn_c_try_link "$LINENO"; then : 6961 + if ac_fn_c_try_link "$LINENO" 6962 + then : 6219 6963 lt_cv_cc_needs_belf=yes 6220 - else 6964 + else $as_nop 6221 6965 lt_cv_cc_needs_belf=no 6222 6966 fi 6223 - rm -f core conftest.err conftest.$ac_objext \ 6967 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6224 6968 conftest$ac_exeext conftest.$ac_ext 6225 6969 ac_ext=c 6226 6970 ac_cpp='$CPP $CPPFLAGS' ··· 6229 6973 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6230 6974 6231 6975 fi 6232 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6233 - $as_echo "$lt_cv_cc_needs_belf" >&6; } 6976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6977 + printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } 6234 6978 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6235 6979 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6236 6980 CFLAGS="$SAVE_CFLAGS" ··· 6242 6986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6243 6987 (eval $ac_compile) 2>&5 6244 6988 ac_status=$? 6245 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6989 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6246 6990 test $ac_status = 0; }; then 6247 6991 case `/usr/bin/file conftest.o` in 6248 6992 *64-bit*) ··· 6279 7023 if test -n "$ac_tool_prefix"; then 6280 7024 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6281 7025 set dummy ${ac_tool_prefix}mt; ac_word=$2 6282 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6283 - $as_echo_n "checking for $ac_word... " >&6; } 6284 - if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6285 - $as_echo_n "(cached) " >&6 6286 - else 7026 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7027 + printf %s "checking for $ac_word... " >&6; } 7028 + if test ${ac_cv_prog_MANIFEST_TOOL+y} 7029 + then : 7030 + printf %s "(cached) " >&6 7031 + else $as_nop 6287 7032 if test -n "$MANIFEST_TOOL"; then 6288 7033 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6289 7034 else ··· 6291 7036 for as_dir in $PATH 6292 7037 do 6293 7038 IFS=$as_save_IFS 6294 - test -z "$as_dir" && as_dir=. 7039 + case $as_dir in #((( 7040 + '') as_dir=./ ;; 7041 + */) ;; 7042 + *) as_dir=$as_dir/ ;; 7043 + esac 6295 7044 for ac_exec_ext in '' $ac_executable_extensions; do 6296 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7045 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6297 7046 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6298 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7047 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6299 7048 break 2 6300 7049 fi 6301 7050 done ··· 6306 7055 fi 6307 7056 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6308 7057 if test -n "$MANIFEST_TOOL"; then 6309 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6310 - $as_echo "$MANIFEST_TOOL" >&6; } 7058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7059 + printf "%s\n" "$MANIFEST_TOOL" >&6; } 6311 7060 else 6312 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6313 - $as_echo "no" >&6; } 7061 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7062 + printf "%s\n" "no" >&6; } 6314 7063 fi 6315 7064 6316 7065 ··· 6319 7068 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6320 7069 # Extract the first word of "mt", so it can be a program name with args. 6321 7070 set dummy mt; ac_word=$2 6322 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6323 - $as_echo_n "checking for $ac_word... " >&6; } 6324 - if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6325 - $as_echo_n "(cached) " >&6 6326 - else 7071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7072 + printf %s "checking for $ac_word... " >&6; } 7073 + if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} 7074 + then : 7075 + printf %s "(cached) " >&6 7076 + else $as_nop 6327 7077 if test -n "$ac_ct_MANIFEST_TOOL"; then 6328 7078 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6329 7079 else ··· 6331 7081 for as_dir in $PATH 6332 7082 do 6333 7083 IFS=$as_save_IFS 6334 - test -z "$as_dir" && as_dir=. 7084 + case $as_dir in #((( 7085 + '') as_dir=./ ;; 7086 + */) ;; 7087 + *) as_dir=$as_dir/ ;; 7088 + esac 6335 7089 for ac_exec_ext in '' $ac_executable_extensions; do 6336 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7090 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6337 7091 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6338 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7092 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6339 7093 break 2 6340 7094 fi 6341 7095 done ··· 6346 7100 fi 6347 7101 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6348 7102 if test -n "$ac_ct_MANIFEST_TOOL"; then 6349 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6350 - $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7103 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7104 + printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } 6351 7105 else 6352 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6353 - $as_echo "no" >&6; } 7106 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7107 + printf "%s\n" "no" >&6; } 6354 7108 fi 6355 7109 6356 7110 if test "x$ac_ct_MANIFEST_TOOL" = x; then ··· 6358 7112 else 6359 7113 case $cross_compiling:$ac_tool_warned in 6360 7114 yes:) 6361 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6362 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7116 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6363 7117 ac_tool_warned=yes ;; 6364 7118 esac 6365 7119 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL ··· 6369 7123 fi 6370 7124 6371 7125 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6372 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6373 - $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6374 - if ${lt_cv_path_mainfest_tool+:} false; then : 6375 - $as_echo_n "(cached) " >&6 6376 - else 7126 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7127 + printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7128 + if test ${lt_cv_path_mainfest_tool+y} 7129 + then : 7130 + printf %s "(cached) " >&6 7131 + else $as_nop 6377 7132 lt_cv_path_mainfest_tool=no 6378 7133 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6379 7134 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out ··· 6383 7138 fi 6384 7139 rm -f conftest* 6385 7140 fi 6386 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6387 - $as_echo "$lt_cv_path_mainfest_tool" >&6; } 7141 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7142 + printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } 6388 7143 if test "x$lt_cv_path_mainfest_tool" != xyes; then 6389 7144 MANIFEST_TOOL=: 6390 7145 fi ··· 6399 7154 if test -n "$ac_tool_prefix"; then 6400 7155 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6401 7156 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6402 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6403 - $as_echo_n "checking for $ac_word... " >&6; } 6404 - if ${ac_cv_prog_DSYMUTIL+:} false; then : 6405 - $as_echo_n "(cached) " >&6 6406 - else 7157 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7158 + printf %s "checking for $ac_word... " >&6; } 7159 + if test ${ac_cv_prog_DSYMUTIL+y} 7160 + then : 7161 + printf %s "(cached) " >&6 7162 + else $as_nop 6407 7163 if test -n "$DSYMUTIL"; then 6408 7164 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6409 7165 else ··· 6411 7167 for as_dir in $PATH 6412 7168 do 6413 7169 IFS=$as_save_IFS 6414 - test -z "$as_dir" && as_dir=. 7170 + case $as_dir in #((( 7171 + '') as_dir=./ ;; 7172 + */) ;; 7173 + *) as_dir=$as_dir/ ;; 7174 + esac 6415 7175 for ac_exec_ext in '' $ac_executable_extensions; do 6416 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7176 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6417 7177 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6418 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7178 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6419 7179 break 2 6420 7180 fi 6421 7181 done ··· 6426 7186 fi 6427 7187 DSYMUTIL=$ac_cv_prog_DSYMUTIL 6428 7188 if test -n "$DSYMUTIL"; then 6429 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6430 - $as_echo "$DSYMUTIL" >&6; } 7189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7190 + printf "%s\n" "$DSYMUTIL" >&6; } 6431 7191 else 6432 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6433 - $as_echo "no" >&6; } 7192 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7193 + printf "%s\n" "no" >&6; } 6434 7194 fi 6435 7195 6436 7196 ··· 6439 7199 ac_ct_DSYMUTIL=$DSYMUTIL 6440 7200 # Extract the first word of "dsymutil", so it can be a program name with args. 6441 7201 set dummy dsymutil; ac_word=$2 6442 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6443 - $as_echo_n "checking for $ac_word... " >&6; } 6444 - if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6445 - $as_echo_n "(cached) " >&6 6446 - else 7202 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7203 + printf %s "checking for $ac_word... " >&6; } 7204 + if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} 7205 + then : 7206 + printf %s "(cached) " >&6 7207 + else $as_nop 6447 7208 if test -n "$ac_ct_DSYMUTIL"; then 6448 7209 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6449 7210 else ··· 6451 7212 for as_dir in $PATH 6452 7213 do 6453 7214 IFS=$as_save_IFS 6454 - test -z "$as_dir" && as_dir=. 7215 + case $as_dir in #((( 7216 + '') as_dir=./ ;; 7217 + */) ;; 7218 + *) as_dir=$as_dir/ ;; 7219 + esac 6455 7220 for ac_exec_ext in '' $ac_executable_extensions; do 6456 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7221 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6457 7222 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6458 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7223 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6459 7224 break 2 6460 7225 fi 6461 7226 done ··· 6466 7231 fi 6467 7232 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6468 7233 if test -n "$ac_ct_DSYMUTIL"; then 6469 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6470 - $as_echo "$ac_ct_DSYMUTIL" >&6; } 7234 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7235 + printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } 6471 7236 else 6472 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6473 - $as_echo "no" >&6; } 7237 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7238 + printf "%s\n" "no" >&6; } 6474 7239 fi 6475 7240 6476 7241 if test "x$ac_ct_DSYMUTIL" = x; then ··· 6478 7243 else 6479 7244 case $cross_compiling:$ac_tool_warned in 6480 7245 yes:) 6481 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6482 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7246 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7247 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6483 7248 ac_tool_warned=yes ;; 6484 7249 esac 6485 7250 DSYMUTIL=$ac_ct_DSYMUTIL ··· 6491 7256 if test -n "$ac_tool_prefix"; then 6492 7257 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6493 7258 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6494 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6495 - $as_echo_n "checking for $ac_word... " >&6; } 6496 - if ${ac_cv_prog_NMEDIT+:} false; then : 6497 - $as_echo_n "(cached) " >&6 6498 - else 7259 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7260 + printf %s "checking for $ac_word... " >&6; } 7261 + if test ${ac_cv_prog_NMEDIT+y} 7262 + then : 7263 + printf %s "(cached) " >&6 7264 + else $as_nop 6499 7265 if test -n "$NMEDIT"; then 6500 7266 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6501 7267 else ··· 6503 7269 for as_dir in $PATH 6504 7270 do 6505 7271 IFS=$as_save_IFS 6506 - test -z "$as_dir" && as_dir=. 7272 + case $as_dir in #((( 7273 + '') as_dir=./ ;; 7274 + */) ;; 7275 + *) as_dir=$as_dir/ ;; 7276 + esac 6507 7277 for ac_exec_ext in '' $ac_executable_extensions; do 6508 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7278 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6509 7279 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6510 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7280 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6511 7281 break 2 6512 7282 fi 6513 7283 done ··· 6518 7288 fi 6519 7289 NMEDIT=$ac_cv_prog_NMEDIT 6520 7290 if test -n "$NMEDIT"; then 6521 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6522 - $as_echo "$NMEDIT" >&6; } 7291 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7292 + printf "%s\n" "$NMEDIT" >&6; } 6523 7293 else 6524 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6525 - $as_echo "no" >&6; } 7294 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7295 + printf "%s\n" "no" >&6; } 6526 7296 fi 6527 7297 6528 7298 ··· 6531 7301 ac_ct_NMEDIT=$NMEDIT 6532 7302 # Extract the first word of "nmedit", so it can be a program name with args. 6533 7303 set dummy nmedit; ac_word=$2 6534 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6535 - $as_echo_n "checking for $ac_word... " >&6; } 6536 - if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6537 - $as_echo_n "(cached) " >&6 6538 - else 7304 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7305 + printf %s "checking for $ac_word... " >&6; } 7306 + if test ${ac_cv_prog_ac_ct_NMEDIT+y} 7307 + then : 7308 + printf %s "(cached) " >&6 7309 + else $as_nop 6539 7310 if test -n "$ac_ct_NMEDIT"; then 6540 7311 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6541 7312 else ··· 6543 7314 for as_dir in $PATH 6544 7315 do 6545 7316 IFS=$as_save_IFS 6546 - test -z "$as_dir" && as_dir=. 7317 + case $as_dir in #((( 7318 + '') as_dir=./ ;; 7319 + */) ;; 7320 + *) as_dir=$as_dir/ ;; 7321 + esac 6547 7322 for ac_exec_ext in '' $ac_executable_extensions; do 6548 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7323 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6549 7324 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6550 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7325 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6551 7326 break 2 6552 7327 fi 6553 7328 done ··· 6558 7333 fi 6559 7334 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6560 7335 if test -n "$ac_ct_NMEDIT"; then 6561 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6562 - $as_echo "$ac_ct_NMEDIT" >&6; } 7336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7337 + printf "%s\n" "$ac_ct_NMEDIT" >&6; } 6563 7338 else 6564 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6565 - $as_echo "no" >&6; } 7339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7340 + printf "%s\n" "no" >&6; } 6566 7341 fi 6567 7342 6568 7343 if test "x$ac_ct_NMEDIT" = x; then ··· 6570 7345 else 6571 7346 case $cross_compiling:$ac_tool_warned in 6572 7347 yes:) 6573 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6574 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7349 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6575 7350 ac_tool_warned=yes ;; 6576 7351 esac 6577 7352 NMEDIT=$ac_ct_NMEDIT ··· 6583 7358 if test -n "$ac_tool_prefix"; then 6584 7359 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6585 7360 set dummy ${ac_tool_prefix}lipo; ac_word=$2 6586 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6587 - $as_echo_n "checking for $ac_word... " >&6; } 6588 - if ${ac_cv_prog_LIPO+:} false; then : 6589 - $as_echo_n "(cached) " >&6 6590 - else 7361 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7362 + printf %s "checking for $ac_word... " >&6; } 7363 + if test ${ac_cv_prog_LIPO+y} 7364 + then : 7365 + printf %s "(cached) " >&6 7366 + else $as_nop 6591 7367 if test -n "$LIPO"; then 6592 7368 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6593 7369 else ··· 6595 7371 for as_dir in $PATH 6596 7372 do 6597 7373 IFS=$as_save_IFS 6598 - test -z "$as_dir" && as_dir=. 7374 + case $as_dir in #((( 7375 + '') as_dir=./ ;; 7376 + */) ;; 7377 + *) as_dir=$as_dir/ ;; 7378 + esac 6599 7379 for ac_exec_ext in '' $ac_executable_extensions; do 6600 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7380 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6601 7381 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6602 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7382 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6603 7383 break 2 6604 7384 fi 6605 7385 done ··· 6610 7390 fi 6611 7391 LIPO=$ac_cv_prog_LIPO 6612 7392 if test -n "$LIPO"; then 6613 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6614 - $as_echo "$LIPO" >&6; } 7393 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7394 + printf "%s\n" "$LIPO" >&6; } 6615 7395 else 6616 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6617 - $as_echo "no" >&6; } 7396 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7397 + printf "%s\n" "no" >&6; } 6618 7398 fi 6619 7399 6620 7400 ··· 6623 7403 ac_ct_LIPO=$LIPO 6624 7404 # Extract the first word of "lipo", so it can be a program name with args. 6625 7405 set dummy lipo; ac_word=$2 6626 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6627 - $as_echo_n "checking for $ac_word... " >&6; } 6628 - if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6629 - $as_echo_n "(cached) " >&6 6630 - else 7406 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7407 + printf %s "checking for $ac_word... " >&6; } 7408 + if test ${ac_cv_prog_ac_ct_LIPO+y} 7409 + then : 7410 + printf %s "(cached) " >&6 7411 + else $as_nop 6631 7412 if test -n "$ac_ct_LIPO"; then 6632 7413 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6633 7414 else ··· 6635 7416 for as_dir in $PATH 6636 7417 do 6637 7418 IFS=$as_save_IFS 6638 - test -z "$as_dir" && as_dir=. 7419 + case $as_dir in #((( 7420 + '') as_dir=./ ;; 7421 + */) ;; 7422 + *) as_dir=$as_dir/ ;; 7423 + esac 6639 7424 for ac_exec_ext in '' $ac_executable_extensions; do 6640 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7425 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6641 7426 ac_cv_prog_ac_ct_LIPO="lipo" 6642 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7427 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6643 7428 break 2 6644 7429 fi 6645 7430 done ··· 6650 7435 fi 6651 7436 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6652 7437 if test -n "$ac_ct_LIPO"; then 6653 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6654 - $as_echo "$ac_ct_LIPO" >&6; } 7438 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7439 + printf "%s\n" "$ac_ct_LIPO" >&6; } 6655 7440 else 6656 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6657 - $as_echo "no" >&6; } 7441 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7442 + printf "%s\n" "no" >&6; } 6658 7443 fi 6659 7444 6660 7445 if test "x$ac_ct_LIPO" = x; then ··· 6662 7447 else 6663 7448 case $cross_compiling:$ac_tool_warned in 6664 7449 yes:) 6665 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6666 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7450 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7451 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6667 7452 ac_tool_warned=yes ;; 6668 7453 esac 6669 7454 LIPO=$ac_ct_LIPO ··· 6675 7460 if test -n "$ac_tool_prefix"; then 6676 7461 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6677 7462 set dummy ${ac_tool_prefix}otool; ac_word=$2 6678 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6679 - $as_echo_n "checking for $ac_word... " >&6; } 6680 - if ${ac_cv_prog_OTOOL+:} false; then : 6681 - $as_echo_n "(cached) " >&6 6682 - else 7463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7464 + printf %s "checking for $ac_word... " >&6; } 7465 + if test ${ac_cv_prog_OTOOL+y} 7466 + then : 7467 + printf %s "(cached) " >&6 7468 + else $as_nop 6683 7469 if test -n "$OTOOL"; then 6684 7470 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6685 7471 else ··· 6687 7473 for as_dir in $PATH 6688 7474 do 6689 7475 IFS=$as_save_IFS 6690 - test -z "$as_dir" && as_dir=. 7476 + case $as_dir in #((( 7477 + '') as_dir=./ ;; 7478 + */) ;; 7479 + *) as_dir=$as_dir/ ;; 7480 + esac 6691 7481 for ac_exec_ext in '' $ac_executable_extensions; do 6692 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7482 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6693 7483 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6694 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7484 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6695 7485 break 2 6696 7486 fi 6697 7487 done ··· 6702 7492 fi 6703 7493 OTOOL=$ac_cv_prog_OTOOL 6704 7494 if test -n "$OTOOL"; then 6705 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6706 - $as_echo "$OTOOL" >&6; } 7495 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7496 + printf "%s\n" "$OTOOL" >&6; } 6707 7497 else 6708 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6709 - $as_echo "no" >&6; } 7498 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7499 + printf "%s\n" "no" >&6; } 6710 7500 fi 6711 7501 6712 7502 ··· 6715 7505 ac_ct_OTOOL=$OTOOL 6716 7506 # Extract the first word of "otool", so it can be a program name with args. 6717 7507 set dummy otool; ac_word=$2 6718 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6719 - $as_echo_n "checking for $ac_word... " >&6; } 6720 - if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6721 - $as_echo_n "(cached) " >&6 6722 - else 7508 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7509 + printf %s "checking for $ac_word... " >&6; } 7510 + if test ${ac_cv_prog_ac_ct_OTOOL+y} 7511 + then : 7512 + printf %s "(cached) " >&6 7513 + else $as_nop 6723 7514 if test -n "$ac_ct_OTOOL"; then 6724 7515 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6725 7516 else ··· 6727 7518 for as_dir in $PATH 6728 7519 do 6729 7520 IFS=$as_save_IFS 6730 - test -z "$as_dir" && as_dir=. 7521 + case $as_dir in #((( 7522 + '') as_dir=./ ;; 7523 + */) ;; 7524 + *) as_dir=$as_dir/ ;; 7525 + esac 6731 7526 for ac_exec_ext in '' $ac_executable_extensions; do 6732 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7527 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6733 7528 ac_cv_prog_ac_ct_OTOOL="otool" 6734 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7529 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6735 7530 break 2 6736 7531 fi 6737 7532 done ··· 6742 7537 fi 6743 7538 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6744 7539 if test -n "$ac_ct_OTOOL"; then 6745 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6746 - $as_echo "$ac_ct_OTOOL" >&6; } 7540 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7541 + printf "%s\n" "$ac_ct_OTOOL" >&6; } 6747 7542 else 6748 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6749 - $as_echo "no" >&6; } 7543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7544 + printf "%s\n" "no" >&6; } 6750 7545 fi 6751 7546 6752 7547 if test "x$ac_ct_OTOOL" = x; then ··· 6754 7549 else 6755 7550 case $cross_compiling:$ac_tool_warned in 6756 7551 yes:) 6757 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6758 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7552 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7553 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6759 7554 ac_tool_warned=yes ;; 6760 7555 esac 6761 7556 OTOOL=$ac_ct_OTOOL ··· 6767 7562 if test -n "$ac_tool_prefix"; then 6768 7563 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6769 7564 set dummy ${ac_tool_prefix}otool64; ac_word=$2 6770 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6771 - $as_echo_n "checking for $ac_word... " >&6; } 6772 - if ${ac_cv_prog_OTOOL64+:} false; then : 6773 - $as_echo_n "(cached) " >&6 6774 - else 7565 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7566 + printf %s "checking for $ac_word... " >&6; } 7567 + if test ${ac_cv_prog_OTOOL64+y} 7568 + then : 7569 + printf %s "(cached) " >&6 7570 + else $as_nop 6775 7571 if test -n "$OTOOL64"; then 6776 7572 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6777 7573 else ··· 6779 7575 for as_dir in $PATH 6780 7576 do 6781 7577 IFS=$as_save_IFS 6782 - test -z "$as_dir" && as_dir=. 7578 + case $as_dir in #((( 7579 + '') as_dir=./ ;; 7580 + */) ;; 7581 + *) as_dir=$as_dir/ ;; 7582 + esac 6783 7583 for ac_exec_ext in '' $ac_executable_extensions; do 6784 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7584 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6785 7585 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6786 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7586 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6787 7587 break 2 6788 7588 fi 6789 7589 done ··· 6794 7594 fi 6795 7595 OTOOL64=$ac_cv_prog_OTOOL64 6796 7596 if test -n "$OTOOL64"; then 6797 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6798 - $as_echo "$OTOOL64" >&6; } 7597 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7598 + printf "%s\n" "$OTOOL64" >&6; } 6799 7599 else 6800 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6801 - $as_echo "no" >&6; } 7600 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7601 + printf "%s\n" "no" >&6; } 6802 7602 fi 6803 7603 6804 7604 ··· 6807 7607 ac_ct_OTOOL64=$OTOOL64 6808 7608 # Extract the first word of "otool64", so it can be a program name with args. 6809 7609 set dummy otool64; ac_word=$2 6810 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6811 - $as_echo_n "checking for $ac_word... " >&6; } 6812 - if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6813 - $as_echo_n "(cached) " >&6 6814 - else 7610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7611 + printf %s "checking for $ac_word... " >&6; } 7612 + if test ${ac_cv_prog_ac_ct_OTOOL64+y} 7613 + then : 7614 + printf %s "(cached) " >&6 7615 + else $as_nop 6815 7616 if test -n "$ac_ct_OTOOL64"; then 6816 7617 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6817 7618 else ··· 6819 7620 for as_dir in $PATH 6820 7621 do 6821 7622 IFS=$as_save_IFS 6822 - test -z "$as_dir" && as_dir=. 7623 + case $as_dir in #((( 7624 + '') as_dir=./ ;; 7625 + */) ;; 7626 + *) as_dir=$as_dir/ ;; 7627 + esac 6823 7628 for ac_exec_ext in '' $ac_executable_extensions; do 6824 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7629 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6825 7630 ac_cv_prog_ac_ct_OTOOL64="otool64" 6826 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7631 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6827 7632 break 2 6828 7633 fi 6829 7634 done ··· 6834 7639 fi 6835 7640 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6836 7641 if test -n "$ac_ct_OTOOL64"; then 6837 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6838 - $as_echo "$ac_ct_OTOOL64" >&6; } 7642 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7643 + printf "%s\n" "$ac_ct_OTOOL64" >&6; } 6839 7644 else 6840 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6841 - $as_echo "no" >&6; } 7645 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7646 + printf "%s\n" "no" >&6; } 6842 7647 fi 6843 7648 6844 7649 if test "x$ac_ct_OTOOL64" = x; then ··· 6846 7651 else 6847 7652 case $cross_compiling:$ac_tool_warned in 6848 7653 yes:) 6849 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6850 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7654 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7655 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6851 7656 ac_tool_warned=yes ;; 6852 7657 esac 6853 7658 OTOOL64=$ac_ct_OTOOL64 ··· 6882 7687 6883 7688 6884 7689 6885 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6886 - $as_echo_n "checking for -single_module linker flag... " >&6; } 6887 - if ${lt_cv_apple_cc_single_mod+:} false; then : 6888 - $as_echo_n "(cached) " >&6 6889 - else 7690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7691 + printf %s "checking for -single_module linker flag... " >&6; } 7692 + if test ${lt_cv_apple_cc_single_mod+y} 7693 + then : 7694 + printf %s "(cached) " >&6 7695 + else $as_nop 6890 7696 lt_cv_apple_cc_single_mod=no 6891 7697 if test -z "${LT_MULTI_MODULE}"; then 6892 7698 # By default we will add the -single_module flag. You can override ··· 6915 7721 rm -f conftest.* 6916 7722 fi 6917 7723 fi 6918 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6919 - $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7724 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7725 + printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } 6920 7726 6921 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6922 - $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6923 - if ${lt_cv_ld_exported_symbols_list+:} false; then : 6924 - $as_echo_n "(cached) " >&6 6925 - else 7727 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7728 + printf %s "checking for -exported_symbols_list linker flag... " >&6; } 7729 + if test ${lt_cv_ld_exported_symbols_list+y} 7730 + then : 7731 + printf %s "(cached) " >&6 7732 + else $as_nop 6926 7733 lt_cv_ld_exported_symbols_list=no 6927 7734 save_LDFLAGS=$LDFLAGS 6928 7735 echo "_main" > conftest.sym ··· 6931 7738 /* end confdefs.h. */ 6932 7739 6933 7740 int 6934 - main () 7741 + main (void) 6935 7742 { 6936 7743 6937 7744 ; 6938 7745 return 0; 6939 7746 } 6940 7747 _ACEOF 6941 - if ac_fn_c_try_link "$LINENO"; then : 7748 + if ac_fn_c_try_link "$LINENO" 7749 + then : 6942 7750 lt_cv_ld_exported_symbols_list=yes 6943 - else 7751 + else $as_nop 6944 7752 lt_cv_ld_exported_symbols_list=no 6945 7753 fi 6946 - rm -f core conftest.err conftest.$ac_objext \ 7754 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6947 7755 conftest$ac_exeext conftest.$ac_ext 6948 7756 LDFLAGS="$save_LDFLAGS" 6949 7757 6950 7758 fi 6951 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6952 - $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7760 + printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } 6953 7761 6954 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6955 - $as_echo_n "checking for -force_load linker flag... " >&6; } 6956 - if ${lt_cv_ld_force_load+:} false; then : 6957 - $as_echo_n "(cached) " >&6 6958 - else 7762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7763 + printf %s "checking for -force_load linker flag... " >&6; } 7764 + if test ${lt_cv_ld_force_load+y} 7765 + then : 7766 + printf %s "(cached) " >&6 7767 + else $as_nop 6959 7768 lt_cv_ld_force_load=no 6960 7769 cat > conftest.c << _LT_EOF 6961 7770 int forced_loaded() { return 2;} ··· 6983 7792 rm -rf conftest.dSYM 6984 7793 6985 7794 fi 6986 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 6987 - $as_echo "$lt_cv_ld_force_load" >&6; } 7795 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7796 + printf "%s\n" "$lt_cv_ld_force_load" >&6; } 6988 7797 case $host_os in 6989 7798 rhapsody* | darwin1.[012]) 6990 7799 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ··· 7020 7829 ;; 7021 7830 esac 7022 7831 7023 - ac_ext=c 7024 - ac_cpp='$CPP $CPPFLAGS' 7025 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7026 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7027 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 7028 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7029 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 7030 - # On Suns, sometimes $CPP names a directory. 7031 - if test -n "$CPP" && test -d "$CPP"; then 7032 - CPP= 7033 - fi 7034 - if test -z "$CPP"; then 7035 - if ${ac_cv_prog_CPP+:} false; then : 7036 - $as_echo_n "(cached) " >&6 7037 - else 7038 - # Double quotes because CPP needs to be expanded 7039 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7040 - do 7041 - ac_preproc_ok=false 7042 - for ac_c_preproc_warn_flag in '' yes 7832 + ac_header= ac_cache= 7833 + for ac_item in $ac_header_c_list 7043 7834 do 7044 - # Use a header file that comes with gcc, so configuring glibc 7045 - # with a fresh cross-compiler works. 7046 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7047 - # <limits.h> exists even on freestanding compilers. 7048 - # On the NeXT, cc -E runs the code through the compiler's parser, 7049 - # not just through cpp. "Syntax error" is here to catch this case. 7050 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7051 - /* end confdefs.h. */ 7052 - #ifdef __STDC__ 7053 - # include <limits.h> 7054 - #else 7055 - # include <assert.h> 7056 - #endif 7057 - Syntax error 7058 - _ACEOF 7059 - if ac_fn_c_try_cpp "$LINENO"; then : 7060 - 7061 - else 7062 - # Broken: fails on valid input. 7063 - continue 7064 - fi 7065 - rm -f conftest.err conftest.i conftest.$ac_ext 7066 - 7067 - # OK, works on sane cases. Now check whether nonexistent headers 7068 - # can be detected and how. 7069 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7070 - /* end confdefs.h. */ 7071 - #include <ac_nonexistent.h> 7072 - _ACEOF 7073 - if ac_fn_c_try_cpp "$LINENO"; then : 7074 - # Broken: success on invalid input. 7075 - continue 7076 - else 7077 - # Passes both tests. 7078 - ac_preproc_ok=: 7079 - break 7080 - fi 7081 - rm -f conftest.err conftest.i conftest.$ac_ext 7082 - 7835 + if test $ac_cache; then 7836 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 7837 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 7838 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 7839 + fi 7840 + ac_header= ac_cache= 7841 + elif test $ac_header; then 7842 + ac_cache=$ac_item 7843 + else 7844 + ac_header=$ac_item 7845 + fi 7083 7846 done 7084 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7085 - rm -f conftest.i conftest.err conftest.$ac_ext 7086 - if $ac_preproc_ok; then : 7087 - break 7088 - fi 7089 7847 7090 - done 7091 - ac_cv_prog_CPP=$CPP 7092 7848 7093 - fi 7094 - CPP=$ac_cv_prog_CPP 7095 - else 7096 - ac_cv_prog_CPP=$CPP 7097 - fi 7098 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7099 - $as_echo "$CPP" >&6; } 7100 - ac_preproc_ok=false 7101 - for ac_c_preproc_warn_flag in '' yes 7102 - do 7103 - # Use a header file that comes with gcc, so configuring glibc 7104 - # with a fresh cross-compiler works. 7105 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7106 - # <limits.h> exists even on freestanding compilers. 7107 - # On the NeXT, cc -E runs the code through the compiler's parser, 7108 - # not just through cpp. "Syntax error" is here to catch this case. 7109 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7110 - /* end confdefs.h. */ 7111 - #ifdef __STDC__ 7112 - # include <limits.h> 7113 - #else 7114 - # include <assert.h> 7115 - #endif 7116 - Syntax error 7117 - _ACEOF 7118 - if ac_fn_c_try_cpp "$LINENO"; then : 7119 7849 7120 - else 7121 - # Broken: fails on valid input. 7122 - continue 7123 - fi 7124 - rm -f conftest.err conftest.i conftest.$ac_ext 7125 7850 7126 - # OK, works on sane cases. Now check whether nonexistent headers 7127 - # can be detected and how. 7128 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7129 - /* end confdefs.h. */ 7130 - #include <ac_nonexistent.h> 7131 - _ACEOF 7132 - if ac_fn_c_try_cpp "$LINENO"; then : 7133 - # Broken: success on invalid input. 7134 - continue 7135 - else 7136 - # Passes both tests. 7137 - ac_preproc_ok=: 7138 - break 7139 - fi 7140 - rm -f conftest.err conftest.i conftest.$ac_ext 7141 7851 7142 - done 7143 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7144 - rm -f conftest.i conftest.err conftest.$ac_ext 7145 - if $ac_preproc_ok; then : 7146 7852 7147 - else 7148 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7149 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7150 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7151 - See \`config.log' for more details" "$LINENO" 5; } 7152 - fi 7153 - 7154 - ac_ext=c 7155 - ac_cpp='$CPP $CPPFLAGS' 7156 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7157 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7158 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 7159 7853 7160 7854 7161 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7162 - $as_echo_n "checking for ANSI C header files... " >&6; } 7163 - if ${ac_cv_header_stdc+:} false; then : 7164 - $as_echo_n "(cached) " >&6 7165 - else 7166 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7167 - /* end confdefs.h. */ 7168 - #include <stdlib.h> 7169 - #include <stdarg.h> 7170 - #include <string.h> 7171 - #include <float.h> 7855 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 7856 + then : 7172 7857 7173 - int 7174 - main () 7175 - { 7858 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 7176 7859 7177 - ; 7178 - return 0; 7179 - } 7180 - _ACEOF 7181 - if ac_fn_c_try_compile "$LINENO"; then : 7182 - ac_cv_header_stdc=yes 7183 - else 7184 - ac_cv_header_stdc=no 7185 7860 fi 7186 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7187 - 7188 - if test $ac_cv_header_stdc = yes; then 7189 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7190 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7191 - /* end confdefs.h. */ 7192 - #include <string.h> 7193 - 7194 - _ACEOF 7195 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7196 - $EGREP "memchr" >/dev/null 2>&1; then : 7197 - 7198 - else 7199 - ac_cv_header_stdc=no 7200 - fi 7201 - rm -f conftest* 7202 - 7203 - fi 7204 - 7205 - if test $ac_cv_header_stdc = yes; then 7206 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7207 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7208 - /* end confdefs.h. */ 7209 - #include <stdlib.h> 7210 - 7211 - _ACEOF 7212 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7213 - $EGREP "free" >/dev/null 2>&1; then : 7214 - 7215 - else 7216 - ac_cv_header_stdc=no 7217 - fi 7218 - rm -f conftest* 7219 - 7220 - fi 7221 - 7222 - if test $ac_cv_header_stdc = yes; then 7223 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7224 - if test "$cross_compiling" = yes; then : 7225 - : 7226 - else 7227 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7228 - /* end confdefs.h. */ 7229 - #include <ctype.h> 7230 - #include <stdlib.h> 7231 - #if ((' ' & 0x0FF) == 0x020) 7232 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7233 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7234 - #else 7235 - # define ISLOWER(c) \ 7236 - (('a' <= (c) && (c) <= 'i') \ 7237 - || ('j' <= (c) && (c) <= 'r') \ 7238 - || ('s' <= (c) && (c) <= 'z')) 7239 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7240 - #endif 7241 - 7242 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7243 - int 7244 - main () 7245 - { 7246 - int i; 7247 - for (i = 0; i < 256; i++) 7248 - if (XOR (islower (i), ISLOWER (i)) 7249 - || toupper (i) != TOUPPER (i)) 7250 - return 2; 7251 - return 0; 7252 - } 7253 - _ACEOF 7254 - if ac_fn_c_try_run "$LINENO"; then : 7255 - 7256 - else 7257 - ac_cv_header_stdc=no 7258 - fi 7259 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7260 - conftest.$ac_objext conftest.beam conftest.$ac_ext 7261 - fi 7262 - 7263 - fi 7264 - fi 7265 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7266 - $as_echo "$ac_cv_header_stdc" >&6; } 7267 - if test $ac_cv_header_stdc = yes; then 7268 - 7269 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7270 - 7271 - fi 7272 - 7273 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7274 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7275 - inttypes.h stdint.h unistd.h 7276 - do : 7277 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7278 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7861 + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7279 7862 " 7280 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7281 - cat >>confdefs.h <<_ACEOF 7282 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7283 - _ACEOF 7863 + if test "x$ac_cv_header_dlfcn_h" = xyes 7864 + then : 7865 + printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h 7284 7866 7285 7867 fi 7286 7868 7287 - done 7288 - 7289 - 7290 - for ac_header in dlfcn.h 7291 - do : 7292 - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7293 - " 7294 - if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7295 - cat >>confdefs.h <<_ACEOF 7296 - #define HAVE_DLFCN_H 1 7297 - _ACEOF 7298 - 7299 - fi 7300 - 7301 - done 7302 - 7303 7869 7304 7870 7305 7871 ··· 7315 7881 7316 7882 7317 7883 # Check whether --enable-shared was given. 7318 - if test "${enable_shared+set}" = set; then : 7884 + if test ${enable_shared+y} 7885 + then : 7319 7886 enableval=$enable_shared; p=${PACKAGE-default} 7320 7887 case $enableval in 7321 7888 yes) enable_shared=yes ;; ··· 7333 7900 IFS="$lt_save_ifs" 7334 7901 ;; 7335 7902 esac 7336 - else 7903 + else $as_nop 7337 7904 enable_shared=yes 7338 7905 fi 7339 7906 ··· 7346 7913 7347 7914 7348 7915 # Check whether --enable-static was given. 7349 - if test "${enable_static+set}" = set; then : 7916 + if test ${enable_static+y} 7917 + then : 7350 7918 enableval=$enable_static; p=${PACKAGE-default} 7351 7919 case $enableval in 7352 7920 yes) enable_static=yes ;; ··· 7364 7932 IFS="$lt_save_ifs" 7365 7933 ;; 7366 7934 esac 7367 - else 7935 + else $as_nop 7368 7936 enable_static=yes 7369 7937 fi 7370 7938 ··· 7378 7946 7379 7947 7380 7948 # Check whether --with-pic was given. 7381 - if test "${with_pic+set}" = set; then : 7949 + if test ${with_pic+y} 7950 + then : 7382 7951 withval=$with_pic; lt_p=${PACKAGE-default} 7383 7952 case $withval in 7384 7953 yes|no) pic_mode=$withval ;; ··· 7395 7964 IFS="$lt_save_ifs" 7396 7965 ;; 7397 7966 esac 7398 - else 7967 + else $as_nop 7399 7968 pic_mode=default 7400 7969 fi 7401 7970 ··· 7409 7978 7410 7979 7411 7980 # Check whether --enable-fast-install was given. 7412 - if test "${enable_fast_install+set}" = set; then : 7981 + if test ${enable_fast_install+y} 7982 + then : 7413 7983 enableval=$enable_fast_install; p=${PACKAGE-default} 7414 7984 case $enableval in 7415 7985 yes) enable_fast_install=yes ;; ··· 7427 7997 IFS="$lt_save_ifs" 7428 7998 ;; 7429 7999 esac 7430 - else 8000 + else $as_nop 7431 8001 enable_fast_install=yes 7432 8002 fi 7433 8003 ··· 7495 8065 setopt NO_GLOB_SUBST 7496 8066 fi 7497 8067 7498 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7499 - $as_echo_n "checking for objdir... " >&6; } 7500 - if ${lt_cv_objdir+:} false; then : 7501 - $as_echo_n "(cached) " >&6 7502 - else 8068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8069 + printf %s "checking for objdir... " >&6; } 8070 + if test ${lt_cv_objdir+y} 8071 + then : 8072 + printf %s "(cached) " >&6 8073 + else $as_nop 7503 8074 rm -f .libs 2>/dev/null 7504 8075 mkdir .libs 2>/dev/null 7505 8076 if test -d .libs; then ··· 7510 8081 fi 7511 8082 rmdir .libs 2>/dev/null 7512 8083 fi 7513 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7514 - $as_echo "$lt_cv_objdir" >&6; } 8084 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8085 + printf "%s\n" "$lt_cv_objdir" >&6; } 7515 8086 objdir=$lt_cv_objdir 7516 8087 7517 8088 7518 8089 7519 8090 7520 8091 7521 - cat >>confdefs.h <<_ACEOF 7522 - #define LT_OBJDIR "$lt_cv_objdir/" 7523 - _ACEOF 8092 + printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h 7524 8093 7525 8094 7526 8095 ··· 7573 8142 case $deplibs_check_method in 7574 8143 file_magic*) 7575 8144 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7576 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7577 - $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7578 - if ${lt_cv_path_MAGIC_CMD+:} false; then : 7579 - $as_echo_n "(cached) " >&6 7580 - else 8145 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8146 + printf %s "checking for ${ac_tool_prefix}file... " >&6; } 8147 + if test ${lt_cv_path_MAGIC_CMD+y} 8148 + then : 8149 + printf %s "(cached) " >&6 8150 + else $as_nop 7581 8151 case $MAGIC_CMD in 7582 8152 [\\/*] | ?:[\\/]*) 7583 8153 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ··· 7626 8196 7627 8197 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7628 8198 if test -n "$MAGIC_CMD"; then 7629 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7630 - $as_echo "$MAGIC_CMD" >&6; } 8199 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8200 + printf "%s\n" "$MAGIC_CMD" >&6; } 7631 8201 else 7632 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7633 - $as_echo "no" >&6; } 8202 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8203 + printf "%s\n" "no" >&6; } 7634 8204 fi 7635 8205 7636 8206 ··· 7639 8209 7640 8210 if test -z "$lt_cv_path_MAGIC_CMD"; then 7641 8211 if test -n "$ac_tool_prefix"; then 7642 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7643 - $as_echo_n "checking for file... " >&6; } 7644 - if ${lt_cv_path_MAGIC_CMD+:} false; then : 7645 - $as_echo_n "(cached) " >&6 7646 - else 8212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8213 + printf %s "checking for file... " >&6; } 8214 + if test ${lt_cv_path_MAGIC_CMD+y} 8215 + then : 8216 + printf %s "(cached) " >&6 8217 + else $as_nop 7647 8218 case $MAGIC_CMD in 7648 8219 [\\/*] | ?:[\\/]*) 7649 8220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ··· 7692 8263 7693 8264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7694 8265 if test -n "$MAGIC_CMD"; then 7695 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7696 - $as_echo "$MAGIC_CMD" >&6; } 8266 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8267 + printf "%s\n" "$MAGIC_CMD" >&6; } 7697 8268 else 7698 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7699 - $as_echo "no" >&6; } 8269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8270 + printf "%s\n" "no" >&6; } 7700 8271 fi 7701 8272 7702 8273 ··· 7777 8348 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7778 8349 esac 7779 8350 7780 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7781 - $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7782 - if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7783 - $as_echo_n "(cached) " >&6 7784 - else 8351 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8352 + printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8353 + if test ${lt_cv_prog_compiler_rtti_exceptions+y} 8354 + then : 8355 + printf %s "(cached) " >&6 8356 + else $as_nop 7785 8357 lt_cv_prog_compiler_rtti_exceptions=no 7786 8358 ac_outfile=conftest.$ac_objext 7787 8359 echo "$lt_simple_compile_test_code" > conftest.$ac_ext ··· 7812 8384 $RM conftest* 7813 8385 7814 8386 fi 7815 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7816 - $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8388 + printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7817 8389 7818 8390 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7819 8391 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" ··· 8139 8711 ;; 8140 8712 esac 8141 8713 8142 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8143 - $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8144 - if ${lt_cv_prog_compiler_pic+:} false; then : 8145 - $as_echo_n "(cached) " >&6 8146 - else 8714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8715 + printf %s "checking for $compiler option to produce PIC... " >&6; } 8716 + if test ${lt_cv_prog_compiler_pic+y} 8717 + then : 8718 + printf %s "(cached) " >&6 8719 + else $as_nop 8147 8720 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8148 8721 fi 8149 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8150 - $as_echo "$lt_cv_prog_compiler_pic" >&6; } 8722 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8723 + printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } 8151 8724 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8152 8725 8153 8726 # 8154 8727 # Check to make sure the PIC flag actually works. 8155 8728 # 8156 8729 if test -n "$lt_prog_compiler_pic"; then 8157 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8158 - $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8159 - if ${lt_cv_prog_compiler_pic_works+:} false; then : 8160 - $as_echo_n "(cached) " >&6 8161 - else 8730 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8731 + printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8732 + if test ${lt_cv_prog_compiler_pic_works+y} 8733 + then : 8734 + printf %s "(cached) " >&6 8735 + else $as_nop 8162 8736 lt_cv_prog_compiler_pic_works=no 8163 8737 ac_outfile=conftest.$ac_objext 8164 8738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext ··· 8189 8763 $RM conftest* 8190 8764 8191 8765 fi 8192 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8193 - $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8767 + printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } 8194 8768 8195 8769 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8196 8770 case $lt_prog_compiler_pic in ··· 8218 8792 # Check to make sure the static flag actually works. 8219 8793 # 8220 8794 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8221 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8222 - $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8223 - if ${lt_cv_prog_compiler_static_works+:} false; then : 8224 - $as_echo_n "(cached) " >&6 8225 - else 8795 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8796 + printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8797 + if test ${lt_cv_prog_compiler_static_works+y} 8798 + then : 8799 + printf %s "(cached) " >&6 8800 + else $as_nop 8226 8801 lt_cv_prog_compiler_static_works=no 8227 8802 save_LDFLAGS="$LDFLAGS" 8228 8803 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ··· 8246 8821 LDFLAGS="$save_LDFLAGS" 8247 8822 8248 8823 fi 8249 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8250 - $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8824 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8825 + printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } 8251 8826 8252 8827 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8253 8828 : ··· 8261 8836 8262 8837 8263 8838 8264 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8265 - $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8266 - if ${lt_cv_prog_compiler_c_o+:} false; then : 8267 - $as_echo_n "(cached) " >&6 8268 - else 8839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8840 + printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8841 + if test ${lt_cv_prog_compiler_c_o+y} 8842 + then : 8843 + printf %s "(cached) " >&6 8844 + else $as_nop 8269 8845 lt_cv_prog_compiler_c_o=no 8270 8846 $RM -r conftest 2>/dev/null 8271 8847 mkdir conftest ··· 8308 8884 $RM conftest* 8309 8885 8310 8886 fi 8311 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8312 - $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8887 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8888 + printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 8313 8889 8314 8890 8315 8891 8316 8892 8317 8893 8318 8894 8319 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8320 - $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8321 - if ${lt_cv_prog_compiler_c_o+:} false; then : 8322 - $as_echo_n "(cached) " >&6 8323 - else 8895 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8896 + printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8897 + if test ${lt_cv_prog_compiler_c_o+y} 8898 + then : 8899 + printf %s "(cached) " >&6 8900 + else $as_nop 8324 8901 lt_cv_prog_compiler_c_o=no 8325 8902 $RM -r conftest 2>/dev/null 8326 8903 mkdir conftest ··· 8363 8940 $RM conftest* 8364 8941 8365 8942 fi 8366 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8367 - $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8943 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8944 + printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 8368 8945 8369 8946 8370 8947 ··· 8372 8949 hard_links="nottested" 8373 8950 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8374 8951 # do not overwrite the value of need_locks provided by the user 8375 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8376 - $as_echo_n "checking if we can lock with hard links... " >&6; } 8952 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8953 + printf %s "checking if we can lock with hard links... " >&6; } 8377 8954 hard_links=yes 8378 8955 $RM conftest* 8379 8956 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8380 8957 touch conftest.a 8381 8958 ln conftest.a conftest.b 2>&5 || hard_links=no 8382 8959 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8384 - $as_echo "$hard_links" >&6; } 8960 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8961 + printf "%s\n" "$hard_links" >&6; } 8385 8962 if test "$hard_links" = no; then 8386 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8387 - $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8964 + printf "%s\n" "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8388 8965 need_locks=warn 8389 8966 fi 8390 8967 else ··· 8396 8973 8397 8974 8398 8975 8399 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8400 - $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8977 + printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8401 8978 8402 8979 runpath_var= 8403 8980 allow_undefined_flag= ··· 8881 9458 if test "${lt_cv_aix_libpath+set}" = set; then 8882 9459 aix_libpath=$lt_cv_aix_libpath 8883 9460 else 8884 - if ${lt_cv_aix_libpath_+:} false; then : 8885 - $as_echo_n "(cached) " >&6 8886 - else 9461 + if test ${lt_cv_aix_libpath_+y} 9462 + then : 9463 + printf %s "(cached) " >&6 9464 + else $as_nop 8887 9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8888 9466 /* end confdefs.h. */ 8889 9467 8890 9468 int 8891 - main () 9469 + main (void) 8892 9470 { 8893 9471 8894 9472 ; 8895 9473 return 0; 8896 9474 } 8897 9475 _ACEOF 8898 - if ac_fn_c_try_link "$LINENO"; then : 9476 + if ac_fn_c_try_link "$LINENO" 9477 + then : 8899 9478 8900 9479 lt_aix_libpath_sed=' 8901 9480 /Import File Strings/,/^$/ { ··· 8910 9489 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8911 9490 fi 8912 9491 fi 8913 - rm -f core conftest.err conftest.$ac_objext \ 9492 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8914 9493 conftest$ac_exeext conftest.$ac_ext 8915 9494 if test -z "$lt_cv_aix_libpath_"; then 8916 9495 lt_cv_aix_libpath_="/usr/lib:/lib" ··· 8934 9513 if test "${lt_cv_aix_libpath+set}" = set; then 8935 9514 aix_libpath=$lt_cv_aix_libpath 8936 9515 else 8937 - if ${lt_cv_aix_libpath_+:} false; then : 8938 - $as_echo_n "(cached) " >&6 8939 - else 9516 + if test ${lt_cv_aix_libpath_+y} 9517 + then : 9518 + printf %s "(cached) " >&6 9519 + else $as_nop 8940 9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8941 9521 /* end confdefs.h. */ 8942 9522 8943 9523 int 8944 - main () 9524 + main (void) 8945 9525 { 8946 9526 8947 9527 ; 8948 9528 return 0; 8949 9529 } 8950 9530 _ACEOF 8951 - if ac_fn_c_try_link "$LINENO"; then : 9531 + if ac_fn_c_try_link "$LINENO" 9532 + then : 8952 9533 8953 9534 lt_aix_libpath_sed=' 8954 9535 /Import File Strings/,/^$/ { ··· 8963 9544 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8964 9545 fi 8965 9546 fi 8966 - rm -f core conftest.err conftest.$ac_objext \ 9547 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8967 9548 conftest$ac_exeext conftest.$ac_ext 8968 9549 if test -z "$lt_cv_aix_libpath_"; then 8969 9550 lt_cv_aix_libpath_="/usr/lib:/lib" ··· 9201 9782 9202 9783 # Older versions of the 11.00 compiler do not understand -b yet 9203 9784 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9204 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9205 - $as_echo_n "checking if $CC understands -b... " >&6; } 9206 - if ${lt_cv_prog_compiler__b+:} false; then : 9207 - $as_echo_n "(cached) " >&6 9208 - else 9785 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9786 + printf %s "checking if $CC understands -b... " >&6; } 9787 + if test ${lt_cv_prog_compiler__b+y} 9788 + then : 9789 + printf %s "(cached) " >&6 9790 + else $as_nop 9209 9791 lt_cv_prog_compiler__b=no 9210 9792 save_LDFLAGS="$LDFLAGS" 9211 9793 LDFLAGS="$LDFLAGS -b" ··· 9229 9811 LDFLAGS="$save_LDFLAGS" 9230 9812 9231 9813 fi 9232 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9233 - $as_echo "$lt_cv_prog_compiler__b" >&6; } 9814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9815 + printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } 9234 9816 9235 9817 if test x"$lt_cv_prog_compiler__b" = xyes; then 9236 9818 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ··· 9270 9852 # work, assume that -exports_file does not work either and 9271 9853 # implicitly export all symbols. 9272 9854 # This should be the same for all languages, so no per-tag cache variable. 9273 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9274 - $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9275 - if ${lt_cv_irix_exported_symbol+:} false; then : 9276 - $as_echo_n "(cached) " >&6 9277 - else 9855 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9856 + printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9857 + if test ${lt_cv_irix_exported_symbol+y} 9858 + then : 9859 + printf %s "(cached) " >&6 9860 + else $as_nop 9278 9861 save_LDFLAGS="$LDFLAGS" 9279 9862 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9280 9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9281 9864 /* end confdefs.h. */ 9282 9865 int foo (void) { return 0; } 9283 9866 _ACEOF 9284 - if ac_fn_c_try_link "$LINENO"; then : 9867 + if ac_fn_c_try_link "$LINENO" 9868 + then : 9285 9869 lt_cv_irix_exported_symbol=yes 9286 - else 9870 + else $as_nop 9287 9871 lt_cv_irix_exported_symbol=no 9288 9872 fi 9289 - rm -f core conftest.err conftest.$ac_objext \ 9873 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9290 9874 conftest$ac_exeext conftest.$ac_ext 9291 9875 LDFLAGS="$save_LDFLAGS" 9292 9876 fi 9293 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9294 - $as_echo "$lt_cv_irix_exported_symbol" >&6; } 9877 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9878 + printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 9295 9879 if test "$lt_cv_irix_exported_symbol" = yes; then 9296 9880 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9297 9881 fi ··· 9549 10133 fi 9550 10134 fi 9551 10135 9552 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9553 - $as_echo "$ld_shlibs" >&6; } 10136 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10137 + printf "%s\n" "$ld_shlibs" >&6; } 9554 10138 test "$ld_shlibs" = no && can_build_shared=no 9555 10139 9556 10140 with_gnu_ld=$with_gnu_ld ··· 9586 10170 # Test whether the compiler implicitly links with -lc since on some 9587 10171 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9588 10172 # to ld, don't add -lc before -lgcc. 9589 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9590 - $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9591 - if ${lt_cv_archive_cmds_need_lc+:} false; then : 9592 - $as_echo_n "(cached) " >&6 9593 - else 10173 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10174 + printf %s "checking whether -lc should be explicitly linked in... " >&6; } 10175 + if test ${lt_cv_archive_cmds_need_lc+y} 10176 + then : 10177 + printf %s "(cached) " >&6 10178 + else $as_nop 9594 10179 $RM conftest* 9595 10180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9596 10181 9597 10182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9598 10183 (eval $ac_compile) 2>&5 9599 10184 ac_status=$? 9600 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10185 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9601 10186 test $ac_status = 0; } 2>conftest.err; then 9602 10187 soname=conftest 9603 10188 lib=conftest ··· 9615 10200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9616 10201 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9617 10202 ac_status=$? 9618 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10203 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9619 10204 test $ac_status = 0; } 9620 10205 then 9621 10206 lt_cv_archive_cmds_need_lc=no ··· 9629 10214 $RM conftest* 9630 10215 9631 10216 fi 9632 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9633 - $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10217 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10218 + printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } 9634 10219 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9635 10220 ;; 9636 10221 esac ··· 9789 10374 9790 10375 9791 10376 9792 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9793 - $as_echo_n "checking dynamic linker characteristics... " >&6; } 10377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10378 + printf %s "checking dynamic linker characteristics... " >&6; } 9794 10379 9795 10380 if test "$GCC" = yes; then 9796 10381 case $host_os in ··· 10281 10866 shlibpath_overrides_runpath=no 10282 10867 10283 10868 # Some binutils ld are patched to set DT_RUNPATH 10284 - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10285 - $as_echo_n "(cached) " >&6 10286 - else 10869 + if test ${lt_cv_shlibpath_overrides_runpath+y} 10870 + then : 10871 + printf %s "(cached) " >&6 10872 + else $as_nop 10287 10873 lt_cv_shlibpath_overrides_runpath=no 10288 10874 save_LDFLAGS=$LDFLAGS 10289 10875 save_libdir=$libdir ··· 10293 10879 /* end confdefs.h. */ 10294 10880 10295 10881 int 10296 - main () 10882 + main (void) 10297 10883 { 10298 10884 10299 10885 ; 10300 10886 return 0; 10301 10887 } 10302 10888 _ACEOF 10303 - if ac_fn_c_try_link "$LINENO"; then : 10304 - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10889 + if ac_fn_c_try_link "$LINENO" 10890 + then : 10891 + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 10892 + then : 10305 10893 lt_cv_shlibpath_overrides_runpath=yes 10306 10894 fi 10307 10895 fi 10308 - rm -f core conftest.err conftest.$ac_objext \ 10896 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10309 10897 conftest$ac_exeext conftest.$ac_ext 10310 10898 LDFLAGS=$save_LDFLAGS 10311 10899 libdir=$save_libdir ··· 10522 11110 dynamic_linker=no 10523 11111 ;; 10524 11112 esac 10525 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10526 - $as_echo "$dynamic_linker" >&6; } 11113 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11114 + printf "%s\n" "$dynamic_linker" >&6; } 10527 11115 test "$dynamic_linker" = no && can_build_shared=no 10528 11116 10529 11117 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ··· 10629 11217 10630 11218 10631 11219 10632 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10633 - $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11220 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11221 + printf %s "checking how to hardcode library paths into programs... " >&6; } 10634 11222 hardcode_action= 10635 11223 if test -n "$hardcode_libdir_flag_spec" || 10636 11224 test -n "$runpath_var" || ··· 10654 11242 # directories. 10655 11243 hardcode_action=unsupported 10656 11244 fi 10657 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10658 - $as_echo "$hardcode_action" >&6; } 11245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11246 + printf "%s\n" "$hardcode_action" >&6; } 10659 11247 10660 11248 if test "$hardcode_action" = relink || 10661 11249 test "$inherit_rpath" = yes; then ··· 10699 11287 10700 11288 darwin*) 10701 11289 # if libdl is installed we need to link against it 10702 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10703 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 10704 - if ${ac_cv_lib_dl_dlopen+:} false; then : 10705 - $as_echo_n "(cached) " >&6 10706 - else 11290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11291 + printf %s "checking for dlopen in -ldl... " >&6; } 11292 + if test ${ac_cv_lib_dl_dlopen+y} 11293 + then : 11294 + printf %s "(cached) " >&6 11295 + else $as_nop 10707 11296 ac_check_lib_save_LIBS=$LIBS 10708 11297 LIBS="-ldl $LIBS" 10709 11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10712 11301 /* Override any GCC internal prototype to avoid an error. 10713 11302 Use char because int might match the return type of a GCC 10714 11303 builtin and then its argument prototype would still apply. */ 10715 - #ifdef __cplusplus 10716 - extern "C" 10717 - #endif 10718 11304 char dlopen (); 10719 11305 int 10720 - main () 11306 + main (void) 10721 11307 { 10722 11308 return dlopen (); 10723 11309 ; 10724 11310 return 0; 10725 11311 } 10726 11312 _ACEOF 10727 - if ac_fn_c_try_link "$LINENO"; then : 11313 + if ac_fn_c_try_link "$LINENO" 11314 + then : 10728 11315 ac_cv_lib_dl_dlopen=yes 10729 - else 11316 + else $as_nop 10730 11317 ac_cv_lib_dl_dlopen=no 10731 11318 fi 10732 - rm -f core conftest.err conftest.$ac_objext \ 11319 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10733 11320 conftest$ac_exeext conftest.$ac_ext 10734 11321 LIBS=$ac_check_lib_save_LIBS 10735 11322 fi 10736 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10737 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10738 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11323 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11324 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11325 + if test "x$ac_cv_lib_dl_dlopen" = xyes 11326 + then : 10739 11327 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10740 - else 11328 + else $as_nop 10741 11329 10742 11330 lt_cv_dlopen="dyld" 10743 11331 lt_cv_dlopen_libs= ··· 10749 11337 10750 11338 *) 10751 11339 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10752 - if test "x$ac_cv_func_shl_load" = xyes; then : 11340 + if test "x$ac_cv_func_shl_load" = xyes 11341 + then : 10753 11342 lt_cv_dlopen="shl_load" 10754 - else 10755 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10756 - $as_echo_n "checking for shl_load in -ldld... " >&6; } 10757 - if ${ac_cv_lib_dld_shl_load+:} false; then : 10758 - $as_echo_n "(cached) " >&6 10759 - else 11343 + else $as_nop 11344 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11345 + printf %s "checking for shl_load in -ldld... " >&6; } 11346 + if test ${ac_cv_lib_dld_shl_load+y} 11347 + then : 11348 + printf %s "(cached) " >&6 11349 + else $as_nop 10760 11350 ac_check_lib_save_LIBS=$LIBS 10761 11351 LIBS="-ldld $LIBS" 10762 11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10765 11355 /* Override any GCC internal prototype to avoid an error. 10766 11356 Use char because int might match the return type of a GCC 10767 11357 builtin and then its argument prototype would still apply. */ 10768 - #ifdef __cplusplus 10769 - extern "C" 10770 - #endif 10771 11358 char shl_load (); 10772 11359 int 10773 - main () 11360 + main (void) 10774 11361 { 10775 11362 return shl_load (); 10776 11363 ; 10777 11364 return 0; 10778 11365 } 10779 11366 _ACEOF 10780 - if ac_fn_c_try_link "$LINENO"; then : 11367 + if ac_fn_c_try_link "$LINENO" 11368 + then : 10781 11369 ac_cv_lib_dld_shl_load=yes 10782 - else 11370 + else $as_nop 10783 11371 ac_cv_lib_dld_shl_load=no 10784 11372 fi 10785 - rm -f core conftest.err conftest.$ac_objext \ 11373 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10786 11374 conftest$ac_exeext conftest.$ac_ext 10787 11375 LIBS=$ac_check_lib_save_LIBS 10788 11376 fi 10789 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10790 - $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10791 - if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11378 + printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } 11379 + if test "x$ac_cv_lib_dld_shl_load" = xyes 11380 + then : 10792 11381 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10793 - else 11382 + else $as_nop 10794 11383 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10795 - if test "x$ac_cv_func_dlopen" = xyes; then : 11384 + if test "x$ac_cv_func_dlopen" = xyes 11385 + then : 10796 11386 lt_cv_dlopen="dlopen" 10797 - else 10798 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10799 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 10800 - if ${ac_cv_lib_dl_dlopen+:} false; then : 10801 - $as_echo_n "(cached) " >&6 10802 - else 11387 + else $as_nop 11388 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11389 + printf %s "checking for dlopen in -ldl... " >&6; } 11390 + if test ${ac_cv_lib_dl_dlopen+y} 11391 + then : 11392 + printf %s "(cached) " >&6 11393 + else $as_nop 10803 11394 ac_check_lib_save_LIBS=$LIBS 10804 11395 LIBS="-ldl $LIBS" 10805 11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10808 11399 /* Override any GCC internal prototype to avoid an error. 10809 11400 Use char because int might match the return type of a GCC 10810 11401 builtin and then its argument prototype would still apply. */ 10811 - #ifdef __cplusplus 10812 - extern "C" 10813 - #endif 10814 11402 char dlopen (); 10815 11403 int 10816 - main () 11404 + main (void) 10817 11405 { 10818 11406 return dlopen (); 10819 11407 ; 10820 11408 return 0; 10821 11409 } 10822 11410 _ACEOF 10823 - if ac_fn_c_try_link "$LINENO"; then : 11411 + if ac_fn_c_try_link "$LINENO" 11412 + then : 10824 11413 ac_cv_lib_dl_dlopen=yes 10825 - else 11414 + else $as_nop 10826 11415 ac_cv_lib_dl_dlopen=no 10827 11416 fi 10828 - rm -f core conftest.err conftest.$ac_objext \ 11417 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10829 11418 conftest$ac_exeext conftest.$ac_ext 10830 11419 LIBS=$ac_check_lib_save_LIBS 10831 11420 fi 10832 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10833 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10834 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11421 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11422 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11423 + if test "x$ac_cv_lib_dl_dlopen" = xyes 11424 + then : 10835 11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10836 - else 10837 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10838 - $as_echo_n "checking for dlopen in -lsvld... " >&6; } 10839 - if ${ac_cv_lib_svld_dlopen+:} false; then : 10840 - $as_echo_n "(cached) " >&6 10841 - else 11426 + else $as_nop 11427 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11428 + printf %s "checking for dlopen in -lsvld... " >&6; } 11429 + if test ${ac_cv_lib_svld_dlopen+y} 11430 + then : 11431 + printf %s "(cached) " >&6 11432 + else $as_nop 10842 11433 ac_check_lib_save_LIBS=$LIBS 10843 11434 LIBS="-lsvld $LIBS" 10844 11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10847 11438 /* Override any GCC internal prototype to avoid an error. 10848 11439 Use char because int might match the return type of a GCC 10849 11440 builtin and then its argument prototype would still apply. */ 10850 - #ifdef __cplusplus 10851 - extern "C" 10852 - #endif 10853 11441 char dlopen (); 10854 11442 int 10855 - main () 11443 + main (void) 10856 11444 { 10857 11445 return dlopen (); 10858 11446 ; 10859 11447 return 0; 10860 11448 } 10861 11449 _ACEOF 10862 - if ac_fn_c_try_link "$LINENO"; then : 11450 + if ac_fn_c_try_link "$LINENO" 11451 + then : 10863 11452 ac_cv_lib_svld_dlopen=yes 10864 - else 11453 + else $as_nop 10865 11454 ac_cv_lib_svld_dlopen=no 10866 11455 fi 10867 - rm -f core conftest.err conftest.$ac_objext \ 11456 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10868 11457 conftest$ac_exeext conftest.$ac_ext 10869 11458 LIBS=$ac_check_lib_save_LIBS 10870 11459 fi 10871 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10872 - $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10873 - if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11461 + printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } 11462 + if test "x$ac_cv_lib_svld_dlopen" = xyes 11463 + then : 10874 11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10875 - else 10876 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10877 - $as_echo_n "checking for dld_link in -ldld... " >&6; } 10878 - if ${ac_cv_lib_dld_dld_link+:} false; then : 10879 - $as_echo_n "(cached) " >&6 10880 - else 11465 + else $as_nop 11466 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11467 + printf %s "checking for dld_link in -ldld... " >&6; } 11468 + if test ${ac_cv_lib_dld_dld_link+y} 11469 + then : 11470 + printf %s "(cached) " >&6 11471 + else $as_nop 10881 11472 ac_check_lib_save_LIBS=$LIBS 10882 11473 LIBS="-ldld $LIBS" 10883 11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10886 11477 /* Override any GCC internal prototype to avoid an error. 10887 11478 Use char because int might match the return type of a GCC 10888 11479 builtin and then its argument prototype would still apply. */ 10889 - #ifdef __cplusplus 10890 - extern "C" 10891 - #endif 10892 11480 char dld_link (); 10893 11481 int 10894 - main () 11482 + main (void) 10895 11483 { 10896 11484 return dld_link (); 10897 11485 ; 10898 11486 return 0; 10899 11487 } 10900 11488 _ACEOF 10901 - if ac_fn_c_try_link "$LINENO"; then : 11489 + if ac_fn_c_try_link "$LINENO" 11490 + then : 10902 11491 ac_cv_lib_dld_dld_link=yes 10903 - else 11492 + else $as_nop 10904 11493 ac_cv_lib_dld_dld_link=no 10905 11494 fi 10906 - rm -f core conftest.err conftest.$ac_objext \ 11495 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10907 11496 conftest$ac_exeext conftest.$ac_ext 10908 11497 LIBS=$ac_check_lib_save_LIBS 10909 11498 fi 10910 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10911 - $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10912 - if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11499 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11500 + printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } 11501 + if test "x$ac_cv_lib_dld_dld_link" = xyes 11502 + then : 10913 11503 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10914 11504 fi 10915 11505 ··· 10948 11538 save_LIBS="$LIBS" 10949 11539 LIBS="$lt_cv_dlopen_libs $LIBS" 10950 11540 10951 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10952 - $as_echo_n "checking whether a program can dlopen itself... " >&6; } 10953 - if ${lt_cv_dlopen_self+:} false; then : 10954 - $as_echo_n "(cached) " >&6 10955 - else 11541 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11542 + printf %s "checking whether a program can dlopen itself... " >&6; } 11543 + if test ${lt_cv_dlopen_self+y} 11544 + then : 11545 + printf %s "(cached) " >&6 11546 + else $as_nop 10956 11547 if test "$cross_compiling" = yes; then : 10957 11548 lt_cv_dlopen_self=cross 10958 11549 else ··· 11031 11622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11032 11623 (eval $ac_link) 2>&5 11033 11624 ac_status=$? 11034 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11625 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11035 11626 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11036 11627 (./conftest; exit; ) >&5 2>/dev/null 11037 11628 lt_status=$? ··· 11049 11640 11050 11641 11051 11642 fi 11052 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11053 - $as_echo "$lt_cv_dlopen_self" >&6; } 11643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11644 + printf "%s\n" "$lt_cv_dlopen_self" >&6; } 11054 11645 11055 11646 if test "x$lt_cv_dlopen_self" = xyes; then 11056 11647 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11057 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11058 - $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11059 - if ${lt_cv_dlopen_self_static+:} false; then : 11060 - $as_echo_n "(cached) " >&6 11061 - else 11648 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11649 + printf %s "checking whether a statically linked program can dlopen itself... " >&6; } 11650 + if test ${lt_cv_dlopen_self_static+y} 11651 + then : 11652 + printf %s "(cached) " >&6 11653 + else $as_nop 11062 11654 if test "$cross_compiling" = yes; then : 11063 11655 lt_cv_dlopen_self_static=cross 11064 11656 else ··· 11137 11729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11138 11730 (eval $ac_link) 2>&5 11139 11731 ac_status=$? 11140 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11732 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11141 11733 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11142 11734 (./conftest; exit; ) >&5 2>/dev/null 11143 11735 lt_status=$? ··· 11155 11747 11156 11748 11157 11749 fi 11158 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11159 - $as_echo "$lt_cv_dlopen_self_static" >&6; } 11750 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11751 + printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } 11160 11752 fi 11161 11753 11162 11754 CPPFLAGS="$save_CPPFLAGS" ··· 11194 11786 11195 11787 striplib= 11196 11788 old_striplib= 11197 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11198 - $as_echo_n "checking whether stripping libraries is possible... " >&6; } 11789 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11790 + printf %s "checking whether stripping libraries is possible... " >&6; } 11199 11791 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11200 11792 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11201 11793 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11202 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11203 - $as_echo "yes" >&6; } 11794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11795 + printf "%s\n" "yes" >&6; } 11204 11796 else 11205 11797 # FIXME - insert some real tests, host_os isn't really good enough 11206 11798 case $host_os in ··· 11208 11800 if test -n "$STRIP" ; then 11209 11801 striplib="$STRIP -x" 11210 11802 old_striplib="$STRIP -S" 11211 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11212 - $as_echo "yes" >&6; } 11803 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11804 + printf "%s\n" "yes" >&6; } 11213 11805 else 11214 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11215 - $as_echo "no" >&6; } 11806 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11807 + printf "%s\n" "no" >&6; } 11216 11808 fi 11217 11809 ;; 11218 11810 *) 11219 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11220 - $as_echo "no" >&6; } 11811 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11812 + printf "%s\n" "no" >&6; } 11221 11813 ;; 11222 11814 esac 11223 11815 fi ··· 11234 11826 11235 11827 11236 11828 # Report which library types will actually be built 11237 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11238 - $as_echo_n "checking if libtool supports shared libraries... " >&6; } 11239 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11240 - $as_echo "$can_build_shared" >&6; } 11829 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11830 + printf %s "checking if libtool supports shared libraries... " >&6; } 11831 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11832 + printf "%s\n" "$can_build_shared" >&6; } 11241 11833 11242 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11243 - $as_echo_n "checking whether to build shared libraries... " >&6; } 11834 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11835 + printf %s "checking whether to build shared libraries... " >&6; } 11244 11836 test "$can_build_shared" = "no" && enable_shared=no 11245 11837 11246 11838 # On AIX, shared libraries and static libraries use the same namespace, and ··· 11260 11852 fi 11261 11853 ;; 11262 11854 esac 11263 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11264 - $as_echo "$enable_shared" >&6; } 11855 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11856 + printf "%s\n" "$enable_shared" >&6; } 11265 11857 11266 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11267 - $as_echo_n "checking whether to build static libraries... " >&6; } 11858 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11859 + printf %s "checking whether to build static libraries... " >&6; } 11268 11860 # Make sure either enable_shared or enable_static is yes. 11269 11861 test "$enable_shared" = yes || enable_static=yes 11270 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11271 - $as_echo "$enable_static" >&6; } 11862 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11863 + printf "%s\n" "$enable_static" >&6; } 11272 11864 11273 11865 11274 11866 ··· 11317 11909 11318 11910 11319 11911 11320 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11321 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11912 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11913 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11322 11914 # Check whether --enable-maintainer-mode was given. 11323 - if test "${enable_maintainer_mode+set}" = set; then : 11915 + if test ${enable_maintainer_mode+y} 11916 + then : 11324 11917 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 11325 - else 11918 + else $as_nop 11326 11919 USE_MAINTAINER_MODE=no 11327 11920 fi 11328 11921 11329 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11330 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 11922 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11923 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 11331 11924 if test $USE_MAINTAINER_MODE = yes; then 11332 11925 MAINTAINER_MODE_TRUE= 11333 11926 MAINTAINER_MODE_FALSE='#' ··· 11340 11933 11341 11934 11342 11935 11343 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 11344 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 11345 - if ${ac_cv_prog_cc_c99+:} false; then : 11346 - $as_echo_n "(cached) " >&6 11347 - else 11348 - ac_cv_prog_cc_c99=no 11349 - ac_save_CC=$CC 11350 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11936 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 11937 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 11938 + if test ${ac_cv_c_undeclared_builtin_options+y} 11939 + then : 11940 + printf %s "(cached) " >&6 11941 + else $as_nop 11942 + ac_save_CFLAGS=$CFLAGS 11943 + ac_cv_c_undeclared_builtin_options='cannot detect' 11944 + for ac_arg in '' -fno-builtin; do 11945 + CFLAGS="$ac_save_CFLAGS $ac_arg" 11946 + # This test program should *not* compile successfully. 11947 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11351 11948 /* end confdefs.h. */ 11352 - #include <stdarg.h> 11353 - #include <stdbool.h> 11354 - #include <stdlib.h> 11355 - #include <wchar.h> 11356 - #include <stdio.h> 11357 11949 11358 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 11359 - #define debug(...) fprintf (stderr, __VA_ARGS__) 11360 - #define showlist(...) puts (#__VA_ARGS__) 11361 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 11362 - static void 11363 - test_varargs_macros (void) 11364 - { 11365 - int x = 1234; 11366 - int y = 5678; 11367 - debug ("Flag"); 11368 - debug ("X = %d\n", x); 11369 - showlist (The first, second, and third items.); 11370 - report (x>y, "x is %d but y is %d", x, y); 11371 - } 11372 - 11373 - // Check long long types. 11374 - #define BIG64 18446744073709551615ull 11375 - #define BIG32 4294967295ul 11376 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 11377 - #if !BIG_OK 11378 - your preprocessor is broken; 11379 - #endif 11380 - #if BIG_OK 11381 - #else 11382 - your preprocessor is broken; 11383 - #endif 11384 - static long long int bignum = -9223372036854775807LL; 11385 - static unsigned long long int ubignum = BIG64; 11386 - 11387 - struct incomplete_array 11950 + int 11951 + main (void) 11388 11952 { 11389 - int datasize; 11390 - double data[]; 11391 - }; 11392 - 11393 - struct named_init { 11394 - int number; 11395 - const wchar_t *name; 11396 - double average; 11397 - }; 11398 - 11399 - typedef const char *ccp; 11400 - 11401 - static inline int 11402 - test_restrict (ccp restrict text) 11403 - { 11404 - // See if C++-style comments work. 11405 - // Iterate through items via the restricted pointer. 11406 - // Also check for declarations in for loops. 11407 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 11408 - continue; 11953 + (void) strchr; 11954 + ; 11409 11955 return 0; 11410 11956 } 11411 - 11412 - // Check varargs and va_copy. 11413 - static void 11414 - test_varargs (const char *format, ...) 11415 - { 11416 - va_list args; 11417 - va_start (args, format); 11418 - va_list args_copy; 11419 - va_copy (args_copy, args); 11420 - 11421 - const char *str; 11422 - int number; 11423 - float fnumber; 11957 + _ACEOF 11958 + if ac_fn_c_try_compile "$LINENO" 11959 + then : 11424 11960 11425 - while (*format) 11426 - { 11427 - switch (*format++) 11428 - { 11429 - case 's': // string 11430 - str = va_arg (args_copy, const char *); 11431 - break; 11432 - case 'd': // int 11433 - number = va_arg (args_copy, int); 11434 - break; 11435 - case 'f': // float 11436 - fnumber = va_arg (args_copy, double); 11437 - break; 11438 - default: 11439 - break; 11440 - } 11441 - } 11442 - va_end (args_copy); 11443 - va_end (args); 11444 - } 11961 + else $as_nop 11962 + # This test program should compile successfully. 11963 + # No library function is consistently available on 11964 + # freestanding implementations, so test against a dummy 11965 + # declaration. Include always-available headers on the 11966 + # off chance that they somehow elicit warnings. 11967 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11968 + /* end confdefs.h. */ 11969 + #include <float.h> 11970 + #include <limits.h> 11971 + #include <stdarg.h> 11972 + #include <stddef.h> 11973 + extern void ac_decl (int, char *); 11445 11974 11446 11975 int 11447 - main () 11976 + main (void) 11448 11977 { 11449 - 11450 - // Check bool. 11451 - _Bool success = false; 11452 - 11453 - // Check restrict. 11454 - if (test_restrict ("String literal") == 0) 11455 - success = true; 11456 - char *restrict newvar = "Another string"; 11457 - 11458 - // Check varargs. 11459 - test_varargs ("s, d' f .", "string", 65, 34.234); 11460 - test_varargs_macros (); 11461 - 11462 - // Check flexible array members. 11463 - struct incomplete_array *ia = 11464 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 11465 - ia->datasize = 10; 11466 - for (int i = 0; i < ia->datasize; ++i) 11467 - ia->data[i] = i * 1.234; 11468 - 11469 - // Check named initializers. 11470 - struct named_init ni = { 11471 - .number = 34, 11472 - .name = L"Test wide string", 11473 - .average = 543.34343, 11474 - }; 11475 - 11476 - ni.number = 58; 11477 - 11478 - int dynamic_array[ni.number]; 11479 - dynamic_array[ni.number - 1] = 543; 11480 - 11481 - // work around unused variable warnings 11482 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 11483 - || dynamic_array[ni.number - 1] != 543); 11978 + (void) ac_decl (0, (char *) 0); 11979 + (void) ac_decl; 11484 11980 11485 11981 ; 11486 11982 return 0; 11487 11983 } 11488 11984 _ACEOF 11489 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 11490 - do 11491 - CC="$ac_save_CC $ac_arg" 11492 - if ac_fn_c_try_compile "$LINENO"; then : 11493 - ac_cv_prog_cc_c99=$ac_arg 11985 + if ac_fn_c_try_compile "$LINENO" 11986 + then : 11987 + if test x"$ac_arg" = x 11988 + then : 11989 + ac_cv_c_undeclared_builtin_options='none needed' 11990 + else $as_nop 11991 + ac_cv_c_undeclared_builtin_options=$ac_arg 11494 11992 fi 11495 - rm -f core conftest.err conftest.$ac_objext 11496 - test "x$ac_cv_prog_cc_c99" != "xno" && break 11497 - done 11498 - rm -f conftest.$ac_ext 11499 - CC=$ac_save_CC 11500 - 11993 + break 11501 11994 fi 11502 - # AC_CACHE_VAL 11503 - case "x$ac_cv_prog_cc_c99" in 11504 - x) 11505 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 11506 - $as_echo "none needed" >&6; } ;; 11507 - xno) 11508 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 11509 - $as_echo "unsupported" >&6; } ;; 11510 - *) 11511 - CC="$CC $ac_cv_prog_cc_c99" 11512 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 11513 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 11514 - esac 11515 - if test "x$ac_cv_prog_cc_c99" != xno; then : 11516 - 11995 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11517 11996 fi 11997 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11998 + done 11999 + CFLAGS=$ac_save_CFLAGS 11518 12000 12001 + fi 12002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 12003 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 12004 + case $ac_cv_c_undeclared_builtin_options in #( 12005 + 'cannot detect') : 12006 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12007 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 12008 + as_fn_error $? "cannot make $CC report undeclared builtins 12009 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 12010 + 'none needed') : 12011 + ac_c_undeclared_builtin_options='' ;; #( 12012 + *) : 12013 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 12014 + esac 11519 12015 11520 12016 11521 12017 11522 12018 11523 12019 11524 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 11525 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 12020 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 12021 + if test "x$ac_cv_have_decl___clang__" = xyes 12022 + then : 11526 12023 CLANGCC="yes" 11527 - else 12024 + else $as_nop 11528 12025 CLANGCC="no" 11529 12026 fi 11530 - 11531 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 11532 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 12027 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 12028 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 12029 + then : 11533 12030 INTELCC="yes" 11534 - else 12031 + else $as_nop 11535 12032 INTELCC="no" 11536 12033 fi 11537 - 11538 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 11539 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 12034 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 12035 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 12036 + then : 11540 12037 SUNCC="yes" 11541 - else 12038 + else $as_nop 11542 12039 SUNCC="no" 11543 12040 fi 11544 - 11545 12041 11546 12042 11547 12043 ··· 11554 12050 if test -n "$ac_tool_prefix"; then 11555 12051 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11556 12052 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11557 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11558 - $as_echo_n "checking for $ac_word... " >&6; } 11559 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 11560 - $as_echo_n "(cached) " >&6 11561 - else 12053 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12054 + printf %s "checking for $ac_word... " >&6; } 12055 + if test ${ac_cv_path_PKG_CONFIG+y} 12056 + then : 12057 + printf %s "(cached) " >&6 12058 + else $as_nop 11562 12059 case $PKG_CONFIG in 11563 12060 [\\/]* | ?:[\\/]*) 11564 12061 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 11568 12065 for as_dir in $PATH 11569 12066 do 11570 12067 IFS=$as_save_IFS 11571 - test -z "$as_dir" && as_dir=. 12068 + case $as_dir in #((( 12069 + '') as_dir=./ ;; 12070 + */) ;; 12071 + *) as_dir=$as_dir/ ;; 12072 + esac 11572 12073 for ac_exec_ext in '' $ac_executable_extensions; do 11573 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11574 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11575 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12074 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12075 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 12076 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 11576 12077 break 2 11577 12078 fi 11578 12079 done ··· 11584 12085 fi 11585 12086 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11586 12087 if test -n "$PKG_CONFIG"; then 11587 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11588 - $as_echo "$PKG_CONFIG" >&6; } 12088 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12089 + printf "%s\n" "$PKG_CONFIG" >&6; } 11589 12090 else 11590 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11591 - $as_echo "no" >&6; } 12091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12092 + printf "%s\n" "no" >&6; } 11592 12093 fi 11593 12094 11594 12095 ··· 11597 12098 ac_pt_PKG_CONFIG=$PKG_CONFIG 11598 12099 # Extract the first word of "pkg-config", so it can be a program name with args. 11599 12100 set dummy pkg-config; ac_word=$2 11600 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11601 - $as_echo_n "checking for $ac_word... " >&6; } 11602 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 11603 - $as_echo_n "(cached) " >&6 11604 - else 12101 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12102 + printf %s "checking for $ac_word... " >&6; } 12103 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 12104 + then : 12105 + printf %s "(cached) " >&6 12106 + else $as_nop 11605 12107 case $ac_pt_PKG_CONFIG in 11606 12108 [\\/]* | ?:[\\/]*) 11607 12109 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 11611 12113 for as_dir in $PATH 11612 12114 do 11613 12115 IFS=$as_save_IFS 11614 - test -z "$as_dir" && as_dir=. 12116 + case $as_dir in #((( 12117 + '') as_dir=./ ;; 12118 + */) ;; 12119 + *) as_dir=$as_dir/ ;; 12120 + esac 11615 12121 for ac_exec_ext in '' $ac_executable_extensions; do 11616 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11617 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11618 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12122 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12123 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 12124 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 11619 12125 break 2 11620 12126 fi 11621 12127 done ··· 11627 12133 fi 11628 12134 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11629 12135 if test -n "$ac_pt_PKG_CONFIG"; then 11630 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11631 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 12136 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12137 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 11632 12138 else 11633 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11634 - $as_echo "no" >&6; } 12139 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12140 + printf "%s\n" "no" >&6; } 11635 12141 fi 11636 12142 11637 12143 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 11639 12145 else 11640 12146 case $cross_compiling:$ac_tool_warned in 11641 12147 yes:) 11642 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11643 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12148 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12149 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11644 12150 ac_tool_warned=yes ;; 11645 12151 esac 11646 12152 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 11652 12158 fi 11653 12159 if test -n "$PKG_CONFIG"; then 11654 12160 _pkg_min_version=0.9.0 11655 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11656 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12161 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12162 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11657 12163 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11658 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11659 - $as_echo "yes" >&6; } 12164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12165 + printf "%s\n" "yes" >&6; } 11660 12166 else 11661 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11662 - $as_echo "no" >&6; } 12167 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12168 + printf "%s\n" "no" >&6; } 11663 12169 PKG_CONFIG="" 11664 12170 fi 11665 12171 fi ··· 11669 12175 11670 12176 11671 12177 # Check whether --enable-selective-werror was given. 11672 - if test "${enable_selective_werror+set}" = set; then : 12178 + if test ${enable_selective_werror+y} 12179 + then : 11673 12180 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 11674 - else 12181 + else $as_nop 11675 12182 SELECTIVE_WERROR=yes 11676 12183 fi 11677 12184 ··· 11704 12211 11705 12212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11706 12213 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11707 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11708 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11709 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11710 - $as_echo_n "(cached) " >&6 11711 - else 12214 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12215 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12216 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12217 + then : 12218 + printf %s "(cached) " >&6 12219 + else $as_nop 11712 12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11713 12221 /* end confdefs.h. */ 11714 12222 int i; 11715 12223 _ACEOF 11716 - if ac_fn_c_try_compile "$LINENO"; then : 12224 + if ac_fn_c_try_compile "$LINENO" 12225 + then : 11717 12226 xorg_cv_cc_flag_unknown_warning_option=yes 11718 - else 12227 + else $as_nop 11719 12228 xorg_cv_cc_flag_unknown_warning_option=no 11720 12229 fi 11721 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12230 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11722 12231 fi 11723 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11724 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12232 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12233 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11725 12234 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11726 12235 CFLAGS="$xorg_testset_save_CFLAGS" 11727 12236 fi ··· 11731 12240 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11732 12241 fi 11733 12242 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11734 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11735 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11736 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11737 - $as_echo_n "(cached) " >&6 11738 - else 12243 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12244 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12245 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12246 + then : 12247 + printf %s "(cached) " >&6 12248 + else $as_nop 11739 12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11740 12250 /* end confdefs.h. */ 11741 12251 int i; 11742 12252 _ACEOF 11743 - if ac_fn_c_try_compile "$LINENO"; then : 12253 + if ac_fn_c_try_compile "$LINENO" 12254 + then : 11744 12255 xorg_cv_cc_flag_unused_command_line_argument=yes 11745 - else 12256 + else $as_nop 11746 12257 xorg_cv_cc_flag_unused_command_line_argument=no 11747 12258 fi 11748 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12259 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11749 12260 fi 11750 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11751 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12261 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12262 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11752 12263 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11753 12264 CFLAGS="$xorg_testset_save_CFLAGS" 11754 12265 fi ··· 11766 12277 11767 12278 CFLAGS="$CFLAGS -Wall" 11768 12279 11769 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 11770 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 12280 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 12281 + printf %s "checking if $CC supports -Wall... " >&6; } 11771 12282 cacheid=xorg_cv_cc_flag__Wall 11772 - if eval \${$cacheid+:} false; then : 11773 - $as_echo_n "(cached) " >&6 11774 - else 12283 + if eval test \${$cacheid+y} 12284 + then : 12285 + printf %s "(cached) " >&6 12286 + else $as_nop 11775 12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11776 12288 /* end confdefs.h. */ 11777 12289 int i; 11778 12290 int 11779 - main () 12291 + main (void) 11780 12292 { 11781 12293 11782 12294 ; 11783 12295 return 0; 11784 12296 } 11785 12297 _ACEOF 11786 - if ac_fn_c_try_link "$LINENO"; then : 12298 + if ac_fn_c_try_link "$LINENO" 12299 + then : 11787 12300 eval $cacheid=yes 11788 - else 12301 + else $as_nop 11789 12302 eval $cacheid=no 11790 12303 fi 11791 - rm -f core conftest.err conftest.$ac_objext \ 12304 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11792 12305 conftest$ac_exeext conftest.$ac_ext 11793 12306 fi 11794 12307 ··· 11796 12309 CFLAGS="$xorg_testset_save_CFLAGS" 11797 12310 11798 12311 eval supported=\$$cacheid 11799 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 11800 - $as_echo "$supported" >&6; } 12312 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12313 + printf "%s\n" "$supported" >&6; } 11801 12314 if test "$supported" = "yes" ; then 11802 12315 BASE_CFLAGS="$BASE_CFLAGS -Wall" 11803 12316 found="yes" ··· 11822 12335 11823 12336 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11824 12337 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11825 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11826 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11827 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11828 - $as_echo_n "(cached) " >&6 11829 - else 12338 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12339 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12340 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12341 + then : 12342 + printf %s "(cached) " >&6 12343 + else $as_nop 11830 12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11831 12345 /* end confdefs.h. */ 11832 12346 int i; 11833 12347 _ACEOF 11834 - if ac_fn_c_try_compile "$LINENO"; then : 12348 + if ac_fn_c_try_compile "$LINENO" 12349 + then : 11835 12350 xorg_cv_cc_flag_unknown_warning_option=yes 11836 - else 12351 + else $as_nop 11837 12352 xorg_cv_cc_flag_unknown_warning_option=no 11838 12353 fi 11839 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12354 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11840 12355 fi 11841 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11842 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12357 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11843 12358 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11844 12359 CFLAGS="$xorg_testset_save_CFLAGS" 11845 12360 fi ··· 11849 12364 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11850 12365 fi 11851 12366 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11852 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11853 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11854 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11855 - $as_echo_n "(cached) " >&6 11856 - else 12367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12368 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12369 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12370 + then : 12371 + printf %s "(cached) " >&6 12372 + else $as_nop 11857 12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11858 12374 /* end confdefs.h. */ 11859 12375 int i; 11860 12376 _ACEOF 11861 - if ac_fn_c_try_compile "$LINENO"; then : 12377 + if ac_fn_c_try_compile "$LINENO" 12378 + then : 11862 12379 xorg_cv_cc_flag_unused_command_line_argument=yes 11863 - else 12380 + else $as_nop 11864 12381 xorg_cv_cc_flag_unused_command_line_argument=no 11865 12382 fi 11866 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12383 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11867 12384 fi 11868 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11869 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12386 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11870 12387 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11871 12388 CFLAGS="$xorg_testset_save_CFLAGS" 11872 12389 fi ··· 11884 12401 11885 12402 CFLAGS="$CFLAGS -Wpointer-arith" 11886 12403 11887 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 11888 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 12404 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 12405 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 11889 12406 cacheid=xorg_cv_cc_flag__Wpointer_arith 11890 - if eval \${$cacheid+:} false; then : 11891 - $as_echo_n "(cached) " >&6 11892 - else 12407 + if eval test \${$cacheid+y} 12408 + then : 12409 + printf %s "(cached) " >&6 12410 + else $as_nop 11893 12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11894 12412 /* end confdefs.h. */ 11895 12413 int i; 11896 12414 int 11897 - main () 12415 + main (void) 11898 12416 { 11899 12417 11900 12418 ; 11901 12419 return 0; 11902 12420 } 11903 12421 _ACEOF 11904 - if ac_fn_c_try_link "$LINENO"; then : 12422 + if ac_fn_c_try_link "$LINENO" 12423 + then : 11905 12424 eval $cacheid=yes 11906 - else 12425 + else $as_nop 11907 12426 eval $cacheid=no 11908 12427 fi 11909 - rm -f core conftest.err conftest.$ac_objext \ 12428 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11910 12429 conftest$ac_exeext conftest.$ac_ext 11911 12430 fi 11912 12431 ··· 11914 12433 CFLAGS="$xorg_testset_save_CFLAGS" 11915 12434 11916 12435 eval supported=\$$cacheid 11917 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 11918 - $as_echo "$supported" >&6; } 12436 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12437 + printf "%s\n" "$supported" >&6; } 11919 12438 if test "$supported" = "yes" ; then 11920 12439 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 11921 12440 found="yes" ··· 11940 12459 11941 12460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11942 12461 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11943 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11944 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11945 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11946 - $as_echo_n "(cached) " >&6 11947 - else 12462 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12463 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12464 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12465 + then : 12466 + printf %s "(cached) " >&6 12467 + else $as_nop 11948 12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11949 12469 /* end confdefs.h. */ 11950 12470 int i; 11951 12471 _ACEOF 11952 - if ac_fn_c_try_compile "$LINENO"; then : 12472 + if ac_fn_c_try_compile "$LINENO" 12473 + then : 11953 12474 xorg_cv_cc_flag_unknown_warning_option=yes 11954 - else 12475 + else $as_nop 11955 12476 xorg_cv_cc_flag_unknown_warning_option=no 11956 12477 fi 11957 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12478 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11958 12479 fi 11959 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11960 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12480 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12481 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11961 12482 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11962 12483 CFLAGS="$xorg_testset_save_CFLAGS" 11963 12484 fi ··· 11967 12488 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11968 12489 fi 11969 12490 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11970 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11971 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11972 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11973 - $as_echo_n "(cached) " >&6 11974 - else 12491 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12492 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12493 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12494 + then : 12495 + printf %s "(cached) " >&6 12496 + else $as_nop 11975 12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11976 12498 /* end confdefs.h. */ 11977 12499 int i; 11978 12500 _ACEOF 11979 - if ac_fn_c_try_compile "$LINENO"; then : 12501 + if ac_fn_c_try_compile "$LINENO" 12502 + then : 11980 12503 xorg_cv_cc_flag_unused_command_line_argument=yes 11981 - else 12504 + else $as_nop 11982 12505 xorg_cv_cc_flag_unused_command_line_argument=no 11983 12506 fi 11984 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12507 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11985 12508 fi 11986 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11987 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12509 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12510 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11988 12511 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11989 12512 CFLAGS="$xorg_testset_save_CFLAGS" 11990 12513 fi ··· 12002 12525 12003 12526 CFLAGS="$CFLAGS -Wmissing-declarations" 12004 12527 12005 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 12006 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 12528 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 12529 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 12007 12530 cacheid=xorg_cv_cc_flag__Wmissing_declarations 12008 - if eval \${$cacheid+:} false; then : 12009 - $as_echo_n "(cached) " >&6 12010 - else 12531 + if eval test \${$cacheid+y} 12532 + then : 12533 + printf %s "(cached) " >&6 12534 + else $as_nop 12011 12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12012 12536 /* end confdefs.h. */ 12013 12537 int i; 12014 12538 int 12015 - main () 12539 + main (void) 12016 12540 { 12017 12541 12018 12542 ; 12019 12543 return 0; 12020 12544 } 12021 12545 _ACEOF 12022 - if ac_fn_c_try_link "$LINENO"; then : 12546 + if ac_fn_c_try_link "$LINENO" 12547 + then : 12023 12548 eval $cacheid=yes 12024 - else 12549 + else $as_nop 12025 12550 eval $cacheid=no 12026 12551 fi 12027 - rm -f core conftest.err conftest.$ac_objext \ 12552 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12028 12553 conftest$ac_exeext conftest.$ac_ext 12029 12554 fi 12030 12555 ··· 12032 12557 CFLAGS="$xorg_testset_save_CFLAGS" 12033 12558 12034 12559 eval supported=\$$cacheid 12035 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12036 - $as_echo "$supported" >&6; } 12560 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12561 + printf "%s\n" "$supported" >&6; } 12037 12562 if test "$supported" = "yes" ; then 12038 12563 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 12039 12564 found="yes" ··· 12058 12583 12059 12584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12060 12585 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12061 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12062 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12063 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12064 - $as_echo_n "(cached) " >&6 12065 - else 12586 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12587 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12588 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12589 + then : 12590 + printf %s "(cached) " >&6 12591 + else $as_nop 12066 12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12067 12593 /* end confdefs.h. */ 12068 12594 int i; 12069 12595 _ACEOF 12070 - if ac_fn_c_try_compile "$LINENO"; then : 12596 + if ac_fn_c_try_compile "$LINENO" 12597 + then : 12071 12598 xorg_cv_cc_flag_unknown_warning_option=yes 12072 - else 12599 + else $as_nop 12073 12600 xorg_cv_cc_flag_unknown_warning_option=no 12074 12601 fi 12075 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12602 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12076 12603 fi 12077 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12078 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12604 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12605 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12079 12606 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12080 12607 CFLAGS="$xorg_testset_save_CFLAGS" 12081 12608 fi ··· 12085 12612 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12086 12613 fi 12087 12614 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12088 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12089 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12090 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12091 - $as_echo_n "(cached) " >&6 12092 - else 12615 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12616 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12617 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12618 + then : 12619 + printf %s "(cached) " >&6 12620 + else $as_nop 12093 12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12094 12622 /* end confdefs.h. */ 12095 12623 int i; 12096 12624 _ACEOF 12097 - if ac_fn_c_try_compile "$LINENO"; then : 12625 + if ac_fn_c_try_compile "$LINENO" 12626 + then : 12098 12627 xorg_cv_cc_flag_unused_command_line_argument=yes 12099 - else 12628 + else $as_nop 12100 12629 xorg_cv_cc_flag_unused_command_line_argument=no 12101 12630 fi 12102 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12631 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12103 12632 fi 12104 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12105 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12633 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12634 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12106 12635 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12107 12636 CFLAGS="$xorg_testset_save_CFLAGS" 12108 12637 fi ··· 12120 12649 12121 12650 CFLAGS="$CFLAGS -Wformat=2" 12122 12651 12123 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 12124 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 12652 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 12653 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 12125 12654 cacheid=xorg_cv_cc_flag__Wformat_2 12126 - if eval \${$cacheid+:} false; then : 12127 - $as_echo_n "(cached) " >&6 12128 - else 12655 + if eval test \${$cacheid+y} 12656 + then : 12657 + printf %s "(cached) " >&6 12658 + else $as_nop 12129 12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12130 12660 /* end confdefs.h. */ 12131 12661 int i; 12132 12662 int 12133 - main () 12663 + main (void) 12134 12664 { 12135 12665 12136 12666 ; 12137 12667 return 0; 12138 12668 } 12139 12669 _ACEOF 12140 - if ac_fn_c_try_link "$LINENO"; then : 12670 + if ac_fn_c_try_link "$LINENO" 12671 + then : 12141 12672 eval $cacheid=yes 12142 - else 12673 + else $as_nop 12143 12674 eval $cacheid=no 12144 12675 fi 12145 - rm -f core conftest.err conftest.$ac_objext \ 12676 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12146 12677 conftest$ac_exeext conftest.$ac_ext 12147 12678 fi 12148 12679 ··· 12150 12681 CFLAGS="$xorg_testset_save_CFLAGS" 12151 12682 12152 12683 eval supported=\$$cacheid 12153 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12154 - $as_echo "$supported" >&6; } 12684 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12685 + printf "%s\n" "$supported" >&6; } 12155 12686 if test "$supported" = "yes" ; then 12156 12687 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 12157 12688 found="yes" ··· 12169 12700 12170 12701 CFLAGS="$CFLAGS -Wformat" 12171 12702 12172 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 12173 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 12703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 12704 + printf %s "checking if $CC supports -Wformat... " >&6; } 12174 12705 cacheid=xorg_cv_cc_flag__Wformat 12175 - if eval \${$cacheid+:} false; then : 12176 - $as_echo_n "(cached) " >&6 12177 - else 12706 + if eval test \${$cacheid+y} 12707 + then : 12708 + printf %s "(cached) " >&6 12709 + else $as_nop 12178 12710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12179 12711 /* end confdefs.h. */ 12180 12712 int i; 12181 12713 int 12182 - main () 12714 + main (void) 12183 12715 { 12184 12716 12185 12717 ; 12186 12718 return 0; 12187 12719 } 12188 12720 _ACEOF 12189 - if ac_fn_c_try_link "$LINENO"; then : 12721 + if ac_fn_c_try_link "$LINENO" 12722 + then : 12190 12723 eval $cacheid=yes 12191 - else 12724 + else $as_nop 12192 12725 eval $cacheid=no 12193 12726 fi 12194 - rm -f core conftest.err conftest.$ac_objext \ 12727 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12195 12728 conftest$ac_exeext conftest.$ac_ext 12196 12729 fi 12197 12730 ··· 12199 12732 CFLAGS="$xorg_testset_save_CFLAGS" 12200 12733 12201 12734 eval supported=\$$cacheid 12202 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12203 - $as_echo "$supported" >&6; } 12735 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12736 + printf "%s\n" "$supported" >&6; } 12204 12737 if test "$supported" = "yes" ; then 12205 12738 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 12206 12739 found="yes" ··· 12227 12760 12228 12761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12229 12762 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12230 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12231 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12232 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12233 - $as_echo_n "(cached) " >&6 12234 - else 12763 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12764 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12765 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12766 + then : 12767 + printf %s "(cached) " >&6 12768 + else $as_nop 12235 12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12236 12770 /* end confdefs.h. */ 12237 12771 int i; 12238 12772 _ACEOF 12239 - if ac_fn_c_try_compile "$LINENO"; then : 12773 + if ac_fn_c_try_compile "$LINENO" 12774 + then : 12240 12775 xorg_cv_cc_flag_unknown_warning_option=yes 12241 - else 12776 + else $as_nop 12242 12777 xorg_cv_cc_flag_unknown_warning_option=no 12243 12778 fi 12244 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12779 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12245 12780 fi 12246 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12247 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12781 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12782 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12248 12783 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12249 12784 CFLAGS="$xorg_testset_save_CFLAGS" 12250 12785 fi ··· 12254 12789 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12255 12790 fi 12256 12791 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12257 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12258 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12259 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12260 - $as_echo_n "(cached) " >&6 12261 - else 12792 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12793 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12794 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12795 + then : 12796 + printf %s "(cached) " >&6 12797 + else $as_nop 12262 12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12263 12799 /* end confdefs.h. */ 12264 12800 int i; 12265 12801 _ACEOF 12266 - if ac_fn_c_try_compile "$LINENO"; then : 12802 + if ac_fn_c_try_compile "$LINENO" 12803 + then : 12267 12804 xorg_cv_cc_flag_unused_command_line_argument=yes 12268 - else 12805 + else $as_nop 12269 12806 xorg_cv_cc_flag_unused_command_line_argument=no 12270 12807 fi 12271 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12808 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12272 12809 fi 12273 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12274 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12810 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12811 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12275 12812 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12276 12813 CFLAGS="$xorg_testset_save_CFLAGS" 12277 12814 fi ··· 12289 12826 12290 12827 CFLAGS="$CFLAGS -Wstrict-prototypes" 12291 12828 12292 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 12293 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 12829 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 12830 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 12294 12831 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 12295 - if eval \${$cacheid+:} false; then : 12296 - $as_echo_n "(cached) " >&6 12297 - else 12832 + if eval test \${$cacheid+y} 12833 + then : 12834 + printf %s "(cached) " >&6 12835 + else $as_nop 12298 12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12299 12837 /* end confdefs.h. */ 12300 12838 int i; 12301 12839 int 12302 - main () 12840 + main (void) 12303 12841 { 12304 12842 12305 12843 ; 12306 12844 return 0; 12307 12845 } 12308 12846 _ACEOF 12309 - if ac_fn_c_try_link "$LINENO"; then : 12847 + if ac_fn_c_try_link "$LINENO" 12848 + then : 12310 12849 eval $cacheid=yes 12311 - else 12850 + else $as_nop 12312 12851 eval $cacheid=no 12313 12852 fi 12314 - rm -f core conftest.err conftest.$ac_objext \ 12853 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12315 12854 conftest$ac_exeext conftest.$ac_ext 12316 12855 fi 12317 12856 ··· 12319 12858 CFLAGS="$xorg_testset_save_CFLAGS" 12320 12859 12321 12860 eval supported=\$$cacheid 12322 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12323 - $as_echo "$supported" >&6; } 12861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12862 + printf "%s\n" "$supported" >&6; } 12324 12863 if test "$supported" = "yes" ; then 12325 12864 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 12326 12865 found="yes" ··· 12345 12884 12346 12885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12347 12886 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12348 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12349 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12350 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12351 - $as_echo_n "(cached) " >&6 12352 - else 12887 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12888 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12889 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12890 + then : 12891 + printf %s "(cached) " >&6 12892 + else $as_nop 12353 12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12354 12894 /* end confdefs.h. */ 12355 12895 int i; 12356 12896 _ACEOF 12357 - if ac_fn_c_try_compile "$LINENO"; then : 12897 + if ac_fn_c_try_compile "$LINENO" 12898 + then : 12358 12899 xorg_cv_cc_flag_unknown_warning_option=yes 12359 - else 12900 + else $as_nop 12360 12901 xorg_cv_cc_flag_unknown_warning_option=no 12361 12902 fi 12362 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12903 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12363 12904 fi 12364 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12365 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12906 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12366 12907 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12367 12908 CFLAGS="$xorg_testset_save_CFLAGS" 12368 12909 fi ··· 12372 12913 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12373 12914 fi 12374 12915 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12375 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12376 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12377 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12378 - $as_echo_n "(cached) " >&6 12379 - else 12916 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12917 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12918 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12919 + then : 12920 + printf %s "(cached) " >&6 12921 + else $as_nop 12380 12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12381 12923 /* end confdefs.h. */ 12382 12924 int i; 12383 12925 _ACEOF 12384 - if ac_fn_c_try_compile "$LINENO"; then : 12926 + if ac_fn_c_try_compile "$LINENO" 12927 + then : 12385 12928 xorg_cv_cc_flag_unused_command_line_argument=yes 12386 - else 12929 + else $as_nop 12387 12930 xorg_cv_cc_flag_unused_command_line_argument=no 12388 12931 fi 12389 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12932 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12390 12933 fi 12391 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12392 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12935 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12393 12936 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12394 12937 CFLAGS="$xorg_testset_save_CFLAGS" 12395 12938 fi ··· 12407 12950 12408 12951 CFLAGS="$CFLAGS -Wmissing-prototypes" 12409 12952 12410 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 12411 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 12953 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 12954 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 12412 12955 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 12413 - if eval \${$cacheid+:} false; then : 12414 - $as_echo_n "(cached) " >&6 12415 - else 12956 + if eval test \${$cacheid+y} 12957 + then : 12958 + printf %s "(cached) " >&6 12959 + else $as_nop 12416 12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12417 12961 /* end confdefs.h. */ 12418 12962 int i; 12419 12963 int 12420 - main () 12964 + main (void) 12421 12965 { 12422 12966 12423 12967 ; 12424 12968 return 0; 12425 12969 } 12426 12970 _ACEOF 12427 - if ac_fn_c_try_link "$LINENO"; then : 12971 + if ac_fn_c_try_link "$LINENO" 12972 + then : 12428 12973 eval $cacheid=yes 12429 - else 12974 + else $as_nop 12430 12975 eval $cacheid=no 12431 12976 fi 12432 - rm -f core conftest.err conftest.$ac_objext \ 12977 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12433 12978 conftest$ac_exeext conftest.$ac_ext 12434 12979 fi 12435 12980 ··· 12437 12982 CFLAGS="$xorg_testset_save_CFLAGS" 12438 12983 12439 12984 eval supported=\$$cacheid 12440 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12441 - $as_echo "$supported" >&6; } 12985 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12986 + printf "%s\n" "$supported" >&6; } 12442 12987 if test "$supported" = "yes" ; then 12443 12988 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 12444 12989 found="yes" ··· 12463 13008 12464 13009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12465 13010 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12466 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12467 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12468 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12469 - $as_echo_n "(cached) " >&6 12470 - else 13011 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13012 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13013 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13014 + then : 13015 + printf %s "(cached) " >&6 13016 + else $as_nop 12471 13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12472 13018 /* end confdefs.h. */ 12473 13019 int i; 12474 13020 _ACEOF 12475 - if ac_fn_c_try_compile "$LINENO"; then : 13021 + if ac_fn_c_try_compile "$LINENO" 13022 + then : 12476 13023 xorg_cv_cc_flag_unknown_warning_option=yes 12477 - else 13024 + else $as_nop 12478 13025 xorg_cv_cc_flag_unknown_warning_option=no 12479 13026 fi 12480 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13027 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12481 13028 fi 12482 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12483 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13029 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13030 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12484 13031 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12485 13032 CFLAGS="$xorg_testset_save_CFLAGS" 12486 13033 fi ··· 12490 13037 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12491 13038 fi 12492 13039 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12493 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12494 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12495 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12496 - $as_echo_n "(cached) " >&6 12497 - else 13040 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13041 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13042 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13043 + then : 13044 + printf %s "(cached) " >&6 13045 + else $as_nop 12498 13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12499 13047 /* end confdefs.h. */ 12500 13048 int i; 12501 13049 _ACEOF 12502 - if ac_fn_c_try_compile "$LINENO"; then : 13050 + if ac_fn_c_try_compile "$LINENO" 13051 + then : 12503 13052 xorg_cv_cc_flag_unused_command_line_argument=yes 12504 - else 13053 + else $as_nop 12505 13054 xorg_cv_cc_flag_unused_command_line_argument=no 12506 13055 fi 12507 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13056 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12508 13057 fi 12509 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12510 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13059 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12511 13060 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12512 13061 CFLAGS="$xorg_testset_save_CFLAGS" 12513 13062 fi ··· 12525 13074 12526 13075 CFLAGS="$CFLAGS -Wnested-externs" 12527 13076 12528 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 12529 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 13077 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 13078 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 12530 13079 cacheid=xorg_cv_cc_flag__Wnested_externs 12531 - if eval \${$cacheid+:} false; then : 12532 - $as_echo_n "(cached) " >&6 12533 - else 13080 + if eval test \${$cacheid+y} 13081 + then : 13082 + printf %s "(cached) " >&6 13083 + else $as_nop 12534 13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12535 13085 /* end confdefs.h. */ 12536 13086 int i; 12537 13087 int 12538 - main () 13088 + main (void) 12539 13089 { 12540 13090 12541 13091 ; 12542 13092 return 0; 12543 13093 } 12544 13094 _ACEOF 12545 - if ac_fn_c_try_link "$LINENO"; then : 13095 + if ac_fn_c_try_link "$LINENO" 13096 + then : 12546 13097 eval $cacheid=yes 12547 - else 13098 + else $as_nop 12548 13099 eval $cacheid=no 12549 13100 fi 12550 - rm -f core conftest.err conftest.$ac_objext \ 13101 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12551 13102 conftest$ac_exeext conftest.$ac_ext 12552 13103 fi 12553 13104 ··· 12555 13106 CFLAGS="$xorg_testset_save_CFLAGS" 12556 13107 12557 13108 eval supported=\$$cacheid 12558 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12559 - $as_echo "$supported" >&6; } 13109 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13110 + printf "%s\n" "$supported" >&6; } 12560 13111 if test "$supported" = "yes" ; then 12561 13112 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 12562 13113 found="yes" ··· 12581 13132 12582 13133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12583 13134 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12584 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12585 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12586 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12587 - $as_echo_n "(cached) " >&6 12588 - else 13135 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13136 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13137 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13138 + then : 13139 + printf %s "(cached) " >&6 13140 + else $as_nop 12589 13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12590 13142 /* end confdefs.h. */ 12591 13143 int i; 12592 13144 _ACEOF 12593 - if ac_fn_c_try_compile "$LINENO"; then : 13145 + if ac_fn_c_try_compile "$LINENO" 13146 + then : 12594 13147 xorg_cv_cc_flag_unknown_warning_option=yes 12595 - else 13148 + else $as_nop 12596 13149 xorg_cv_cc_flag_unknown_warning_option=no 12597 13150 fi 12598 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13151 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12599 13152 fi 12600 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12601 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13153 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13154 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12602 13155 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12603 13156 CFLAGS="$xorg_testset_save_CFLAGS" 12604 13157 fi ··· 12608 13161 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12609 13162 fi 12610 13163 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12611 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12612 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12613 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12614 - $as_echo_n "(cached) " >&6 12615 - else 13164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13165 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13166 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13167 + then : 13168 + printf %s "(cached) " >&6 13169 + else $as_nop 12616 13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12617 13171 /* end confdefs.h. */ 12618 13172 int i; 12619 13173 _ACEOF 12620 - if ac_fn_c_try_compile "$LINENO"; then : 13174 + if ac_fn_c_try_compile "$LINENO" 13175 + then : 12621 13176 xorg_cv_cc_flag_unused_command_line_argument=yes 12622 - else 13177 + else $as_nop 12623 13178 xorg_cv_cc_flag_unused_command_line_argument=no 12624 13179 fi 12625 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13180 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12626 13181 fi 12627 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12628 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13182 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13183 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12629 13184 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12630 13185 CFLAGS="$xorg_testset_save_CFLAGS" 12631 13186 fi ··· 12643 13198 12644 13199 CFLAGS="$CFLAGS -Wbad-function-cast" 12645 13200 12646 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 12647 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 13201 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 13202 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 12648 13203 cacheid=xorg_cv_cc_flag__Wbad_function_cast 12649 - if eval \${$cacheid+:} false; then : 12650 - $as_echo_n "(cached) " >&6 12651 - else 13204 + if eval test \${$cacheid+y} 13205 + then : 13206 + printf %s "(cached) " >&6 13207 + else $as_nop 12652 13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12653 13209 /* end confdefs.h. */ 12654 13210 int i; 12655 13211 int 12656 - main () 13212 + main (void) 12657 13213 { 12658 13214 12659 13215 ; 12660 13216 return 0; 12661 13217 } 12662 13218 _ACEOF 12663 - if ac_fn_c_try_link "$LINENO"; then : 13219 + if ac_fn_c_try_link "$LINENO" 13220 + then : 12664 13221 eval $cacheid=yes 12665 - else 13222 + else $as_nop 12666 13223 eval $cacheid=no 12667 13224 fi 12668 - rm -f core conftest.err conftest.$ac_objext \ 13225 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12669 13226 conftest$ac_exeext conftest.$ac_ext 12670 13227 fi 12671 13228 ··· 12673 13230 CFLAGS="$xorg_testset_save_CFLAGS" 12674 13231 12675 13232 eval supported=\$$cacheid 12676 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12677 - $as_echo "$supported" >&6; } 13233 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13234 + printf "%s\n" "$supported" >&6; } 12678 13235 if test "$supported" = "yes" ; then 12679 13236 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 12680 13237 found="yes" ··· 12699 13256 12700 13257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12701 13258 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12702 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12703 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12704 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12705 - $as_echo_n "(cached) " >&6 12706 - else 13259 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13260 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13261 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13262 + then : 13263 + printf %s "(cached) " >&6 13264 + else $as_nop 12707 13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12708 13266 /* end confdefs.h. */ 12709 13267 int i; 12710 13268 _ACEOF 12711 - if ac_fn_c_try_compile "$LINENO"; then : 13269 + if ac_fn_c_try_compile "$LINENO" 13270 + then : 12712 13271 xorg_cv_cc_flag_unknown_warning_option=yes 12713 - else 13272 + else $as_nop 12714 13273 xorg_cv_cc_flag_unknown_warning_option=no 12715 13274 fi 12716 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13275 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12717 13276 fi 12718 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12719 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13277 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13278 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12720 13279 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12721 13280 CFLAGS="$xorg_testset_save_CFLAGS" 12722 13281 fi ··· 12726 13285 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12727 13286 fi 12728 13287 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12729 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12730 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12731 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12732 - $as_echo_n "(cached) " >&6 12733 - else 13288 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13289 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13290 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13291 + then : 13292 + printf %s "(cached) " >&6 13293 + else $as_nop 12734 13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12735 13295 /* end confdefs.h. */ 12736 13296 int i; 12737 13297 _ACEOF 12738 - if ac_fn_c_try_compile "$LINENO"; then : 13298 + if ac_fn_c_try_compile "$LINENO" 13299 + then : 12739 13300 xorg_cv_cc_flag_unused_command_line_argument=yes 12740 - else 13301 + else $as_nop 12741 13302 xorg_cv_cc_flag_unused_command_line_argument=no 12742 13303 fi 12743 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13304 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12744 13305 fi 12745 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12746 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13306 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13307 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12747 13308 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12748 13309 CFLAGS="$xorg_testset_save_CFLAGS" 12749 13310 fi ··· 12761 13322 12762 13323 CFLAGS="$CFLAGS -Wold-style-definition" 12763 13324 12764 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 12765 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 13325 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 13326 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 12766 13327 cacheid=xorg_cv_cc_flag__Wold_style_definition 12767 - if eval \${$cacheid+:} false; then : 12768 - $as_echo_n "(cached) " >&6 12769 - else 13328 + if eval test \${$cacheid+y} 13329 + then : 13330 + printf %s "(cached) " >&6 13331 + else $as_nop 12770 13332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12771 13333 /* end confdefs.h. */ 12772 13334 int i; 12773 13335 int 12774 - main () 13336 + main (void) 12775 13337 { 12776 13338 12777 13339 ; 12778 13340 return 0; 12779 13341 } 12780 13342 _ACEOF 12781 - if ac_fn_c_try_link "$LINENO"; then : 13343 + if ac_fn_c_try_link "$LINENO" 13344 + then : 12782 13345 eval $cacheid=yes 12783 - else 13346 + else $as_nop 12784 13347 eval $cacheid=no 12785 13348 fi 12786 - rm -f core conftest.err conftest.$ac_objext \ 13349 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12787 13350 conftest$ac_exeext conftest.$ac_ext 12788 13351 fi 12789 13352 ··· 12791 13354 CFLAGS="$xorg_testset_save_CFLAGS" 12792 13355 12793 13356 eval supported=\$$cacheid 12794 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12795 - $as_echo "$supported" >&6; } 13357 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13358 + printf "%s\n" "$supported" >&6; } 12796 13359 if test "$supported" = "yes" ; then 12797 13360 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 12798 13361 found="yes" ··· 12810 13373 12811 13374 CFLAGS="$CFLAGS -fd" 12812 13375 12813 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 12814 - $as_echo_n "checking if $CC supports -fd... " >&6; } 13376 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 13377 + printf %s "checking if $CC supports -fd... " >&6; } 12815 13378 cacheid=xorg_cv_cc_flag__fd 12816 - if eval \${$cacheid+:} false; then : 12817 - $as_echo_n "(cached) " >&6 12818 - else 13379 + if eval test \${$cacheid+y} 13380 + then : 13381 + printf %s "(cached) " >&6 13382 + else $as_nop 12819 13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12820 13384 /* end confdefs.h. */ 12821 13385 int i; 12822 13386 int 12823 - main () 13387 + main (void) 12824 13388 { 12825 13389 12826 13390 ; 12827 13391 return 0; 12828 13392 } 12829 13393 _ACEOF 12830 - if ac_fn_c_try_link "$LINENO"; then : 13394 + if ac_fn_c_try_link "$LINENO" 13395 + then : 12831 13396 eval $cacheid=yes 12832 - else 13397 + else $as_nop 12833 13398 eval $cacheid=no 12834 13399 fi 12835 - rm -f core conftest.err conftest.$ac_objext \ 13400 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12836 13401 conftest$ac_exeext conftest.$ac_ext 12837 13402 fi 12838 13403 ··· 12840 13405 CFLAGS="$xorg_testset_save_CFLAGS" 12841 13406 12842 13407 eval supported=\$$cacheid 12843 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12844 - $as_echo "$supported" >&6; } 13408 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13409 + printf "%s\n" "$supported" >&6; } 12845 13410 if test "$supported" = "yes" ; then 12846 13411 BASE_CFLAGS="$BASE_CFLAGS -fd" 12847 13412 found="yes" ··· 12866 13431 12867 13432 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12868 13433 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12869 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12870 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12871 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12872 - $as_echo_n "(cached) " >&6 12873 - else 13434 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13435 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13436 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13437 + then : 13438 + printf %s "(cached) " >&6 13439 + else $as_nop 12874 13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12875 13441 /* end confdefs.h. */ 12876 13442 int i; 12877 13443 _ACEOF 12878 - if ac_fn_c_try_compile "$LINENO"; then : 13444 + if ac_fn_c_try_compile "$LINENO" 13445 + then : 12879 13446 xorg_cv_cc_flag_unknown_warning_option=yes 12880 - else 13447 + else $as_nop 12881 13448 xorg_cv_cc_flag_unknown_warning_option=no 12882 13449 fi 12883 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13450 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12884 13451 fi 12885 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12886 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13452 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13453 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12887 13454 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12888 13455 CFLAGS="$xorg_testset_save_CFLAGS" 12889 13456 fi ··· 12893 13460 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12894 13461 fi 12895 13462 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12896 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12897 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12898 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12899 - $as_echo_n "(cached) " >&6 12900 - else 13463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13464 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13465 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13466 + then : 13467 + printf %s "(cached) " >&6 13468 + else $as_nop 12901 13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12902 13470 /* end confdefs.h. */ 12903 13471 int i; 12904 13472 _ACEOF 12905 - if ac_fn_c_try_compile "$LINENO"; then : 13473 + if ac_fn_c_try_compile "$LINENO" 13474 + then : 12906 13475 xorg_cv_cc_flag_unused_command_line_argument=yes 12907 - else 13476 + else $as_nop 12908 13477 xorg_cv_cc_flag_unused_command_line_argument=no 12909 13478 fi 12910 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13479 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12911 13480 fi 12912 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12913 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13481 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13482 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12914 13483 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12915 13484 CFLAGS="$xorg_testset_save_CFLAGS" 12916 13485 fi ··· 12928 13497 12929 13498 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 12930 13499 12931 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 12932 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 13500 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 13501 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 12933 13502 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 12934 - if eval \${$cacheid+:} false; then : 12935 - $as_echo_n "(cached) " >&6 12936 - else 13503 + if eval test \${$cacheid+y} 13504 + then : 13505 + printf %s "(cached) " >&6 13506 + else $as_nop 12937 13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12938 13508 /* end confdefs.h. */ 12939 13509 int i; 12940 13510 int 12941 - main () 13511 + main (void) 12942 13512 { 12943 13513 12944 13514 ; 12945 13515 return 0; 12946 13516 } 12947 13517 _ACEOF 12948 - if ac_fn_c_try_link "$LINENO"; then : 13518 + if ac_fn_c_try_link "$LINENO" 13519 + then : 12949 13520 eval $cacheid=yes 12950 - else 13521 + else $as_nop 12951 13522 eval $cacheid=no 12952 13523 fi 12953 - rm -f core conftest.err conftest.$ac_objext \ 13524 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12954 13525 conftest$ac_exeext conftest.$ac_ext 12955 13526 fi 12956 13527 ··· 12958 13529 CFLAGS="$xorg_testset_save_CFLAGS" 12959 13530 12960 13531 eval supported=\$$cacheid 12961 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12962 - $as_echo "$supported" >&6; } 13532 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13533 + printf "%s\n" "$supported" >&6; } 12963 13534 if test "$supported" = "yes" ; then 12964 13535 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 12965 13536 found="yes" ··· 12988 13559 12989 13560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12990 13561 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12991 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12992 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12993 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12994 - $as_echo_n "(cached) " >&6 12995 - else 13562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13563 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13564 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13565 + then : 13566 + printf %s "(cached) " >&6 13567 + else $as_nop 12996 13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12997 13569 /* end confdefs.h. */ 12998 13570 int i; 12999 13571 _ACEOF 13000 - if ac_fn_c_try_compile "$LINENO"; then : 13572 + if ac_fn_c_try_compile "$LINENO" 13573 + then : 13001 13574 xorg_cv_cc_flag_unknown_warning_option=yes 13002 - else 13575 + else $as_nop 13003 13576 xorg_cv_cc_flag_unknown_warning_option=no 13004 13577 fi 13005 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13578 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13006 13579 fi 13007 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13008 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13580 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13581 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13009 13582 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13010 13583 CFLAGS="$xorg_testset_save_CFLAGS" 13011 13584 fi ··· 13015 13588 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13016 13589 fi 13017 13590 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13018 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13019 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13020 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13021 - $as_echo_n "(cached) " >&6 13022 - else 13591 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13592 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13593 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13594 + then : 13595 + printf %s "(cached) " >&6 13596 + else $as_nop 13023 13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13024 13598 /* end confdefs.h. */ 13025 13599 int i; 13026 13600 _ACEOF 13027 - if ac_fn_c_try_compile "$LINENO"; then : 13601 + if ac_fn_c_try_compile "$LINENO" 13602 + then : 13028 13603 xorg_cv_cc_flag_unused_command_line_argument=yes 13029 - else 13604 + else $as_nop 13030 13605 xorg_cv_cc_flag_unused_command_line_argument=no 13031 13606 fi 13032 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13607 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13033 13608 fi 13034 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13035 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13609 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13610 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13036 13611 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13037 13612 CFLAGS="$xorg_testset_save_CFLAGS" 13038 13613 fi ··· 13050 13625 13051 13626 CFLAGS="$CFLAGS -Wunused" 13052 13627 13053 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 13054 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 13628 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 13629 + printf %s "checking if $CC supports -Wunused... " >&6; } 13055 13630 cacheid=xorg_cv_cc_flag__Wunused 13056 - if eval \${$cacheid+:} false; then : 13057 - $as_echo_n "(cached) " >&6 13058 - else 13631 + if eval test \${$cacheid+y} 13632 + then : 13633 + printf %s "(cached) " >&6 13634 + else $as_nop 13059 13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13060 13636 /* end confdefs.h. */ 13061 13637 int i; 13062 13638 int 13063 - main () 13639 + main (void) 13064 13640 { 13065 13641 13066 13642 ; 13067 13643 return 0; 13068 13644 } 13069 13645 _ACEOF 13070 - if ac_fn_c_try_link "$LINENO"; then : 13646 + if ac_fn_c_try_link "$LINENO" 13647 + then : 13071 13648 eval $cacheid=yes 13072 - else 13649 + else $as_nop 13073 13650 eval $cacheid=no 13074 13651 fi 13075 - rm -f core conftest.err conftest.$ac_objext \ 13652 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13076 13653 conftest$ac_exeext conftest.$ac_ext 13077 13654 fi 13078 13655 ··· 13080 13657 CFLAGS="$xorg_testset_save_CFLAGS" 13081 13658 13082 13659 eval supported=\$$cacheid 13083 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13084 - $as_echo "$supported" >&6; } 13660 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13661 + printf "%s\n" "$supported" >&6; } 13085 13662 if test "$supported" = "yes" ; then 13086 13663 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 13087 13664 found="yes" ··· 13106 13683 13107 13684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13108 13685 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13109 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13110 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13111 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13112 - $as_echo_n "(cached) " >&6 13113 - else 13686 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13687 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13688 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13689 + then : 13690 + printf %s "(cached) " >&6 13691 + else $as_nop 13114 13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13115 13693 /* end confdefs.h. */ 13116 13694 int i; 13117 13695 _ACEOF 13118 - if ac_fn_c_try_compile "$LINENO"; then : 13696 + if ac_fn_c_try_compile "$LINENO" 13697 + then : 13119 13698 xorg_cv_cc_flag_unknown_warning_option=yes 13120 - else 13699 + else $as_nop 13121 13700 xorg_cv_cc_flag_unknown_warning_option=no 13122 13701 fi 13123 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13702 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13124 13703 fi 13125 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13126 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13704 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13705 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13127 13706 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13128 13707 CFLAGS="$xorg_testset_save_CFLAGS" 13129 13708 fi ··· 13133 13712 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13134 13713 fi 13135 13714 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13136 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13137 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13138 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13139 - $as_echo_n "(cached) " >&6 13140 - else 13715 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13716 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13717 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13718 + then : 13719 + printf %s "(cached) " >&6 13720 + else $as_nop 13141 13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13142 13722 /* end confdefs.h. */ 13143 13723 int i; 13144 13724 _ACEOF 13145 - if ac_fn_c_try_compile "$LINENO"; then : 13725 + if ac_fn_c_try_compile "$LINENO" 13726 + then : 13146 13727 xorg_cv_cc_flag_unused_command_line_argument=yes 13147 - else 13728 + else $as_nop 13148 13729 xorg_cv_cc_flag_unused_command_line_argument=no 13149 13730 fi 13150 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13731 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13151 13732 fi 13152 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13153 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13733 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13734 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13154 13735 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13155 13736 CFLAGS="$xorg_testset_save_CFLAGS" 13156 13737 fi ··· 13168 13749 13169 13750 CFLAGS="$CFLAGS -Wuninitialized" 13170 13751 13171 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 13172 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 13752 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 13753 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 13173 13754 cacheid=xorg_cv_cc_flag__Wuninitialized 13174 - if eval \${$cacheid+:} false; then : 13175 - $as_echo_n "(cached) " >&6 13176 - else 13755 + if eval test \${$cacheid+y} 13756 + then : 13757 + printf %s "(cached) " >&6 13758 + else $as_nop 13177 13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13178 13760 /* end confdefs.h. */ 13179 13761 int i; 13180 13762 int 13181 - main () 13763 + main (void) 13182 13764 { 13183 13765 13184 13766 ; 13185 13767 return 0; 13186 13768 } 13187 13769 _ACEOF 13188 - if ac_fn_c_try_link "$LINENO"; then : 13770 + if ac_fn_c_try_link "$LINENO" 13771 + then : 13189 13772 eval $cacheid=yes 13190 - else 13773 + else $as_nop 13191 13774 eval $cacheid=no 13192 13775 fi 13193 - rm -f core conftest.err conftest.$ac_objext \ 13776 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13194 13777 conftest$ac_exeext conftest.$ac_ext 13195 13778 fi 13196 13779 ··· 13198 13781 CFLAGS="$xorg_testset_save_CFLAGS" 13199 13782 13200 13783 eval supported=\$$cacheid 13201 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13202 - $as_echo "$supported" >&6; } 13784 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13785 + printf "%s\n" "$supported" >&6; } 13203 13786 if test "$supported" = "yes" ; then 13204 13787 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 13205 13788 found="yes" ··· 13224 13807 13225 13808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13226 13809 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13227 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13228 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13229 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13230 - $as_echo_n "(cached) " >&6 13231 - else 13810 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13811 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13812 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13813 + then : 13814 + printf %s "(cached) " >&6 13815 + else $as_nop 13232 13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13233 13817 /* end confdefs.h. */ 13234 13818 int i; 13235 13819 _ACEOF 13236 - if ac_fn_c_try_compile "$LINENO"; then : 13820 + if ac_fn_c_try_compile "$LINENO" 13821 + then : 13237 13822 xorg_cv_cc_flag_unknown_warning_option=yes 13238 - else 13823 + else $as_nop 13239 13824 xorg_cv_cc_flag_unknown_warning_option=no 13240 13825 fi 13241 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13826 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13242 13827 fi 13243 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13244 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13828 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13829 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13245 13830 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13246 13831 CFLAGS="$xorg_testset_save_CFLAGS" 13247 13832 fi ··· 13251 13836 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13252 13837 fi 13253 13838 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13254 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13255 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13256 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13257 - $as_echo_n "(cached) " >&6 13258 - else 13839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13840 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13841 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13842 + then : 13843 + printf %s "(cached) " >&6 13844 + else $as_nop 13259 13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13260 13846 /* end confdefs.h. */ 13261 13847 int i; 13262 13848 _ACEOF 13263 - if ac_fn_c_try_compile "$LINENO"; then : 13849 + if ac_fn_c_try_compile "$LINENO" 13850 + then : 13264 13851 xorg_cv_cc_flag_unused_command_line_argument=yes 13265 - else 13852 + else $as_nop 13266 13853 xorg_cv_cc_flag_unused_command_line_argument=no 13267 13854 fi 13268 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13855 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13269 13856 fi 13270 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13271 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13857 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13858 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13272 13859 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13273 13860 CFLAGS="$xorg_testset_save_CFLAGS" 13274 13861 fi ··· 13286 13873 13287 13874 CFLAGS="$CFLAGS -Wshadow" 13288 13875 13289 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 13290 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 13876 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 13877 + printf %s "checking if $CC supports -Wshadow... " >&6; } 13291 13878 cacheid=xorg_cv_cc_flag__Wshadow 13292 - if eval \${$cacheid+:} false; then : 13293 - $as_echo_n "(cached) " >&6 13294 - else 13879 + if eval test \${$cacheid+y} 13880 + then : 13881 + printf %s "(cached) " >&6 13882 + else $as_nop 13295 13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13296 13884 /* end confdefs.h. */ 13297 13885 int i; 13298 13886 int 13299 - main () 13887 + main (void) 13300 13888 { 13301 13889 13302 13890 ; 13303 13891 return 0; 13304 13892 } 13305 13893 _ACEOF 13306 - if ac_fn_c_try_link "$LINENO"; then : 13894 + if ac_fn_c_try_link "$LINENO" 13895 + then : 13307 13896 eval $cacheid=yes 13308 - else 13897 + else $as_nop 13309 13898 eval $cacheid=no 13310 13899 fi 13311 - rm -f core conftest.err conftest.$ac_objext \ 13900 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13312 13901 conftest$ac_exeext conftest.$ac_ext 13313 13902 fi 13314 13903 ··· 13316 13905 CFLAGS="$xorg_testset_save_CFLAGS" 13317 13906 13318 13907 eval supported=\$$cacheid 13319 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13320 - $as_echo "$supported" >&6; } 13908 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13909 + printf "%s\n" "$supported" >&6; } 13321 13910 if test "$supported" = "yes" ; then 13322 13911 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 13323 13912 found="yes" ··· 13342 13931 13343 13932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13344 13933 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13345 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13346 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13347 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13348 - $as_echo_n "(cached) " >&6 13349 - else 13934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13935 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13936 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13937 + then : 13938 + printf %s "(cached) " >&6 13939 + else $as_nop 13350 13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13351 13941 /* end confdefs.h. */ 13352 13942 int i; 13353 13943 _ACEOF 13354 - if ac_fn_c_try_compile "$LINENO"; then : 13944 + if ac_fn_c_try_compile "$LINENO" 13945 + then : 13355 13946 xorg_cv_cc_flag_unknown_warning_option=yes 13356 - else 13947 + else $as_nop 13357 13948 xorg_cv_cc_flag_unknown_warning_option=no 13358 13949 fi 13359 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13950 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13360 13951 fi 13361 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13362 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13952 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13953 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13363 13954 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13364 13955 CFLAGS="$xorg_testset_save_CFLAGS" 13365 13956 fi ··· 13369 13960 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13370 13961 fi 13371 13962 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13372 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13373 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13374 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13375 - $as_echo_n "(cached) " >&6 13376 - else 13963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13964 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13965 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13966 + then : 13967 + printf %s "(cached) " >&6 13968 + else $as_nop 13377 13969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13378 13970 /* end confdefs.h. */ 13379 13971 int i; 13380 13972 _ACEOF 13381 - if ac_fn_c_try_compile "$LINENO"; then : 13973 + if ac_fn_c_try_compile "$LINENO" 13974 + then : 13382 13975 xorg_cv_cc_flag_unused_command_line_argument=yes 13383 - else 13976 + else $as_nop 13384 13977 xorg_cv_cc_flag_unused_command_line_argument=no 13385 13978 fi 13386 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13979 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13387 13980 fi 13388 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13389 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13981 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13982 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13390 13983 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13391 13984 CFLAGS="$xorg_testset_save_CFLAGS" 13392 13985 fi ··· 13404 13997 13405 13998 CFLAGS="$CFLAGS -Wmissing-noreturn" 13406 13999 13407 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 13408 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 14000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 14001 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 13409 14002 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 13410 - if eval \${$cacheid+:} false; then : 13411 - $as_echo_n "(cached) " >&6 13412 - else 14003 + if eval test \${$cacheid+y} 14004 + then : 14005 + printf %s "(cached) " >&6 14006 + else $as_nop 13413 14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13414 14008 /* end confdefs.h. */ 13415 14009 int i; 13416 14010 int 13417 - main () 14011 + main (void) 13418 14012 { 13419 14013 13420 14014 ; 13421 14015 return 0; 13422 14016 } 13423 14017 _ACEOF 13424 - if ac_fn_c_try_link "$LINENO"; then : 14018 + if ac_fn_c_try_link "$LINENO" 14019 + then : 13425 14020 eval $cacheid=yes 13426 - else 14021 + else $as_nop 13427 14022 eval $cacheid=no 13428 14023 fi 13429 - rm -f core conftest.err conftest.$ac_objext \ 14024 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13430 14025 conftest$ac_exeext conftest.$ac_ext 13431 14026 fi 13432 14027 ··· 13434 14029 CFLAGS="$xorg_testset_save_CFLAGS" 13435 14030 13436 14031 eval supported=\$$cacheid 13437 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13438 - $as_echo "$supported" >&6; } 14032 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14033 + printf "%s\n" "$supported" >&6; } 13439 14034 if test "$supported" = "yes" ; then 13440 14035 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 13441 14036 found="yes" ··· 13460 14055 13461 14056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13462 14057 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13463 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13464 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13465 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13466 - $as_echo_n "(cached) " >&6 13467 - else 14058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14059 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14060 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14061 + then : 14062 + printf %s "(cached) " >&6 14063 + else $as_nop 13468 14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13469 14065 /* end confdefs.h. */ 13470 14066 int i; 13471 14067 _ACEOF 13472 - if ac_fn_c_try_compile "$LINENO"; then : 14068 + if ac_fn_c_try_compile "$LINENO" 14069 + then : 13473 14070 xorg_cv_cc_flag_unknown_warning_option=yes 13474 - else 14071 + else $as_nop 13475 14072 xorg_cv_cc_flag_unknown_warning_option=no 13476 14073 fi 13477 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14074 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13478 14075 fi 13479 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13480 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14076 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14077 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13481 14078 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13482 14079 CFLAGS="$xorg_testset_save_CFLAGS" 13483 14080 fi ··· 13487 14084 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13488 14085 fi 13489 14086 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13490 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13491 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13492 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13493 - $as_echo_n "(cached) " >&6 13494 - else 14087 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14088 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14089 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14090 + then : 14091 + printf %s "(cached) " >&6 14092 + else $as_nop 13495 14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13496 14094 /* end confdefs.h. */ 13497 14095 int i; 13498 14096 _ACEOF 13499 - if ac_fn_c_try_compile "$LINENO"; then : 14097 + if ac_fn_c_try_compile "$LINENO" 14098 + then : 13500 14099 xorg_cv_cc_flag_unused_command_line_argument=yes 13501 - else 14100 + else $as_nop 13502 14101 xorg_cv_cc_flag_unused_command_line_argument=no 13503 14102 fi 13504 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14103 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13505 14104 fi 13506 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13507 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14105 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14106 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13508 14107 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13509 14108 CFLAGS="$xorg_testset_save_CFLAGS" 13510 14109 fi ··· 13522 14121 13523 14122 CFLAGS="$CFLAGS -Wmissing-format-attribute" 13524 14123 13525 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 13526 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 14124 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 14125 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 13527 14126 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 13528 - if eval \${$cacheid+:} false; then : 13529 - $as_echo_n "(cached) " >&6 13530 - else 14127 + if eval test \${$cacheid+y} 14128 + then : 14129 + printf %s "(cached) " >&6 14130 + else $as_nop 13531 14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13532 14132 /* end confdefs.h. */ 13533 14133 int i; 13534 14134 int 13535 - main () 14135 + main (void) 13536 14136 { 13537 14137 13538 14138 ; 13539 14139 return 0; 13540 14140 } 13541 14141 _ACEOF 13542 - if ac_fn_c_try_link "$LINENO"; then : 14142 + if ac_fn_c_try_link "$LINENO" 14143 + then : 13543 14144 eval $cacheid=yes 13544 - else 14145 + else $as_nop 13545 14146 eval $cacheid=no 13546 14147 fi 13547 - rm -f core conftest.err conftest.$ac_objext \ 14148 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13548 14149 conftest$ac_exeext conftest.$ac_ext 13549 14150 fi 13550 14151 ··· 13552 14153 CFLAGS="$xorg_testset_save_CFLAGS" 13553 14154 13554 14155 eval supported=\$$cacheid 13555 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13556 - $as_echo "$supported" >&6; } 14156 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14157 + printf "%s\n" "$supported" >&6; } 13557 14158 if test "$supported" = "yes" ; then 13558 14159 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 13559 14160 found="yes" ··· 13579 14180 13580 14181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13581 14182 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13582 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13583 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13584 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13585 - $as_echo_n "(cached) " >&6 13586 - else 14183 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14184 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14185 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14186 + then : 14187 + printf %s "(cached) " >&6 14188 + else $as_nop 13587 14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13588 14190 /* end confdefs.h. */ 13589 14191 int i; 13590 14192 _ACEOF 13591 - if ac_fn_c_try_compile "$LINENO"; then : 14193 + if ac_fn_c_try_compile "$LINENO" 14194 + then : 13592 14195 xorg_cv_cc_flag_unknown_warning_option=yes 13593 - else 14196 + else $as_nop 13594 14197 xorg_cv_cc_flag_unknown_warning_option=no 13595 14198 fi 13596 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14199 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13597 14200 fi 13598 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13599 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14201 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14202 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13600 14203 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13601 14204 CFLAGS="$xorg_testset_save_CFLAGS" 13602 14205 fi ··· 13606 14209 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13607 14210 fi 13608 14211 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13609 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13610 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13611 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13612 - $as_echo_n "(cached) " >&6 13613 - else 14212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14213 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14214 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14215 + then : 14216 + printf %s "(cached) " >&6 14217 + else $as_nop 13614 14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13615 14219 /* end confdefs.h. */ 13616 14220 int i; 13617 14221 _ACEOF 13618 - if ac_fn_c_try_compile "$LINENO"; then : 14222 + if ac_fn_c_try_compile "$LINENO" 14223 + then : 13619 14224 xorg_cv_cc_flag_unused_command_line_argument=yes 13620 - else 14225 + else $as_nop 13621 14226 xorg_cv_cc_flag_unused_command_line_argument=no 13622 14227 fi 13623 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14228 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13624 14229 fi 13625 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13626 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14230 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14231 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13627 14232 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13628 14233 CFLAGS="$xorg_testset_save_CFLAGS" 13629 14234 fi ··· 13641 14246 13642 14247 CFLAGS="$CFLAGS -Wlogical-op" 13643 14248 13644 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 13645 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 14249 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 14250 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 13646 14251 cacheid=xorg_cv_cc_flag__Wlogical_op 13647 - if eval \${$cacheid+:} false; then : 13648 - $as_echo_n "(cached) " >&6 13649 - else 14252 + if eval test \${$cacheid+y} 14253 + then : 14254 + printf %s "(cached) " >&6 14255 + else $as_nop 13650 14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13651 14257 /* end confdefs.h. */ 13652 14258 int i; 13653 14259 int 13654 - main () 14260 + main (void) 13655 14261 { 13656 14262 13657 14263 ; 13658 14264 return 0; 13659 14265 } 13660 14266 _ACEOF 13661 - if ac_fn_c_try_link "$LINENO"; then : 14267 + if ac_fn_c_try_link "$LINENO" 14268 + then : 13662 14269 eval $cacheid=yes 13663 - else 14270 + else $as_nop 13664 14271 eval $cacheid=no 13665 14272 fi 13666 - rm -f core conftest.err conftest.$ac_objext \ 14273 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13667 14274 conftest$ac_exeext conftest.$ac_ext 13668 14275 fi 13669 14276 ··· 13671 14278 CFLAGS="$xorg_testset_save_CFLAGS" 13672 14279 13673 14280 eval supported=\$$cacheid 13674 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13675 - $as_echo "$supported" >&6; } 14281 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14282 + printf "%s\n" "$supported" >&6; } 13676 14283 if test "$supported" = "yes" ; then 13677 14284 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 13678 14285 found="yes" ··· 13688 14295 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 13689 14296 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 13690 14297 13691 - # Turn some warnings into errors, so we don't accidently get successful builds 14298 + # Turn some warnings into errors, so we don't accidentally get successful builds 13692 14299 # when there are problems that should be fixed. 13693 14300 13694 14301 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 13709 14316 13710 14317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13711 14318 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13712 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13713 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13714 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13715 - $as_echo_n "(cached) " >&6 13716 - else 14319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14320 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14321 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14322 + then : 14323 + printf %s "(cached) " >&6 14324 + else $as_nop 13717 14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13718 14326 /* end confdefs.h. */ 13719 14327 int i; 13720 14328 _ACEOF 13721 - if ac_fn_c_try_compile "$LINENO"; then : 14329 + if ac_fn_c_try_compile "$LINENO" 14330 + then : 13722 14331 xorg_cv_cc_flag_unknown_warning_option=yes 13723 - else 14332 + else $as_nop 13724 14333 xorg_cv_cc_flag_unknown_warning_option=no 13725 14334 fi 13726 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14335 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13727 14336 fi 13728 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13729 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14337 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14338 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13730 14339 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13731 14340 CFLAGS="$xorg_testset_save_CFLAGS" 13732 14341 fi ··· 13736 14345 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13737 14346 fi 13738 14347 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13739 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13740 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13741 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13742 - $as_echo_n "(cached) " >&6 13743 - else 14348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14349 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14350 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14351 + then : 14352 + printf %s "(cached) " >&6 14353 + else $as_nop 13744 14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13745 14355 /* end confdefs.h. */ 13746 14356 int i; 13747 14357 _ACEOF 13748 - if ac_fn_c_try_compile "$LINENO"; then : 14358 + if ac_fn_c_try_compile "$LINENO" 14359 + then : 13749 14360 xorg_cv_cc_flag_unused_command_line_argument=yes 13750 - else 14361 + else $as_nop 13751 14362 xorg_cv_cc_flag_unused_command_line_argument=no 13752 14363 fi 13753 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14364 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13754 14365 fi 13755 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13756 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14367 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13757 14368 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13758 14369 CFLAGS="$xorg_testset_save_CFLAGS" 13759 14370 fi ··· 13771 14382 13772 14383 CFLAGS="$CFLAGS -Werror=implicit" 13773 14384 13774 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 13775 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 14385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 14386 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 13776 14387 cacheid=xorg_cv_cc_flag__Werror_implicit 13777 - if eval \${$cacheid+:} false; then : 13778 - $as_echo_n "(cached) " >&6 13779 - else 14388 + if eval test \${$cacheid+y} 14389 + then : 14390 + printf %s "(cached) " >&6 14391 + else $as_nop 13780 14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13781 14393 /* end confdefs.h. */ 13782 14394 int i; 13783 14395 int 13784 - main () 14396 + main (void) 13785 14397 { 13786 14398 13787 14399 ; 13788 14400 return 0; 13789 14401 } 13790 14402 _ACEOF 13791 - if ac_fn_c_try_link "$LINENO"; then : 14403 + if ac_fn_c_try_link "$LINENO" 14404 + then : 13792 14405 eval $cacheid=yes 13793 - else 14406 + else $as_nop 13794 14407 eval $cacheid=no 13795 14408 fi 13796 - rm -f core conftest.err conftest.$ac_objext \ 14409 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13797 14410 conftest$ac_exeext conftest.$ac_ext 13798 14411 fi 13799 14412 ··· 13801 14414 CFLAGS="$xorg_testset_save_CFLAGS" 13802 14415 13803 14416 eval supported=\$$cacheid 13804 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13805 - $as_echo "$supported" >&6; } 14417 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14418 + printf "%s\n" "$supported" >&6; } 13806 14419 if test "$supported" = "yes" ; then 13807 14420 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 13808 14421 found="yes" ··· 13820 14433 13821 14434 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 13822 14435 13823 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 13824 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 14436 + { 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 14437 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 13825 14438 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 13826 - if eval \${$cacheid+:} false; then : 13827 - $as_echo_n "(cached) " >&6 13828 - else 14439 + if eval test \${$cacheid+y} 14440 + then : 14441 + printf %s "(cached) " >&6 14442 + else $as_nop 13829 14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13830 14444 /* end confdefs.h. */ 13831 14445 int i; 13832 14446 int 13833 - main () 14447 + main (void) 13834 14448 { 13835 14449 13836 14450 ; 13837 14451 return 0; 13838 14452 } 13839 14453 _ACEOF 13840 - if ac_fn_c_try_link "$LINENO"; then : 14454 + if ac_fn_c_try_link "$LINENO" 14455 + then : 13841 14456 eval $cacheid=yes 13842 - else 14457 + else $as_nop 13843 14458 eval $cacheid=no 13844 14459 fi 13845 - rm -f core conftest.err conftest.$ac_objext \ 14460 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13846 14461 conftest$ac_exeext conftest.$ac_ext 13847 14462 fi 13848 14463 ··· 13850 14465 CFLAGS="$xorg_testset_save_CFLAGS" 13851 14466 13852 14467 eval supported=\$$cacheid 13853 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13854 - $as_echo "$supported" >&6; } 14468 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14469 + printf "%s\n" "$supported" >&6; } 13855 14470 if test "$supported" = "yes" ; then 13856 14471 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 13857 14472 found="yes" ··· 13876 14491 13877 14492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13878 14493 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13879 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13880 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13881 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13882 - $as_echo_n "(cached) " >&6 13883 - else 14494 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14495 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14496 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14497 + then : 14498 + printf %s "(cached) " >&6 14499 + else $as_nop 13884 14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13885 14501 /* end confdefs.h. */ 13886 14502 int i; 13887 14503 _ACEOF 13888 - if ac_fn_c_try_compile "$LINENO"; then : 14504 + if ac_fn_c_try_compile "$LINENO" 14505 + then : 13889 14506 xorg_cv_cc_flag_unknown_warning_option=yes 13890 - else 14507 + else $as_nop 13891 14508 xorg_cv_cc_flag_unknown_warning_option=no 13892 14509 fi 13893 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14510 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13894 14511 fi 13895 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13896 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14512 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14513 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13897 14514 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13898 14515 CFLAGS="$xorg_testset_save_CFLAGS" 13899 14516 fi ··· 13903 14520 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13904 14521 fi 13905 14522 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13906 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13907 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13908 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13909 - $as_echo_n "(cached) " >&6 13910 - else 14523 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14524 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14525 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14526 + then : 14527 + printf %s "(cached) " >&6 14528 + else $as_nop 13911 14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13912 14530 /* end confdefs.h. */ 13913 14531 int i; 13914 14532 _ACEOF 13915 - if ac_fn_c_try_compile "$LINENO"; then : 14533 + if ac_fn_c_try_compile "$LINENO" 14534 + then : 13916 14535 xorg_cv_cc_flag_unused_command_line_argument=yes 13917 - else 14536 + else $as_nop 13918 14537 xorg_cv_cc_flag_unused_command_line_argument=no 13919 14538 fi 13920 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14539 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13921 14540 fi 13922 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13923 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14541 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14542 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13924 14543 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13925 14544 CFLAGS="$xorg_testset_save_CFLAGS" 13926 14545 fi ··· 13938 14557 13939 14558 CFLAGS="$CFLAGS -Werror=nonnull" 13940 14559 13941 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 13942 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 14560 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 14561 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 13943 14562 cacheid=xorg_cv_cc_flag__Werror_nonnull 13944 - if eval \${$cacheid+:} false; then : 13945 - $as_echo_n "(cached) " >&6 13946 - else 14563 + if eval test \${$cacheid+y} 14564 + then : 14565 + printf %s "(cached) " >&6 14566 + else $as_nop 13947 14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13948 14568 /* end confdefs.h. */ 13949 14569 int i; 13950 14570 int 13951 - main () 14571 + main (void) 13952 14572 { 13953 14573 13954 14574 ; 13955 14575 return 0; 13956 14576 } 13957 14577 _ACEOF 13958 - if ac_fn_c_try_link "$LINENO"; then : 14578 + if ac_fn_c_try_link "$LINENO" 14579 + then : 13959 14580 eval $cacheid=yes 13960 - else 14581 + else $as_nop 13961 14582 eval $cacheid=no 13962 14583 fi 13963 - rm -f core conftest.err conftest.$ac_objext \ 14584 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13964 14585 conftest$ac_exeext conftest.$ac_ext 13965 14586 fi 13966 14587 ··· 13968 14589 CFLAGS="$xorg_testset_save_CFLAGS" 13969 14590 13970 14591 eval supported=\$$cacheid 13971 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13972 - $as_echo "$supported" >&6; } 14592 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14593 + printf "%s\n" "$supported" >&6; } 13973 14594 if test "$supported" = "yes" ; then 13974 14595 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 13975 14596 found="yes" ··· 13994 14615 13995 14616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13996 14617 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13997 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13998 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13999 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14000 - $as_echo_n "(cached) " >&6 14001 - else 14618 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14619 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14620 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14621 + then : 14622 + printf %s "(cached) " >&6 14623 + else $as_nop 14002 14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14003 14625 /* end confdefs.h. */ 14004 14626 int i; 14005 14627 _ACEOF 14006 - if ac_fn_c_try_compile "$LINENO"; then : 14628 + if ac_fn_c_try_compile "$LINENO" 14629 + then : 14007 14630 xorg_cv_cc_flag_unknown_warning_option=yes 14008 - else 14631 + else $as_nop 14009 14632 xorg_cv_cc_flag_unknown_warning_option=no 14010 14633 fi 14011 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14634 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14012 14635 fi 14013 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14014 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14636 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14637 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14015 14638 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14016 14639 CFLAGS="$xorg_testset_save_CFLAGS" 14017 14640 fi ··· 14021 14644 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14022 14645 fi 14023 14646 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14024 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14025 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14026 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14027 - $as_echo_n "(cached) " >&6 14028 - else 14647 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14648 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14649 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14650 + then : 14651 + printf %s "(cached) " >&6 14652 + else $as_nop 14029 14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14030 14654 /* end confdefs.h. */ 14031 14655 int i; 14032 14656 _ACEOF 14033 - if ac_fn_c_try_compile "$LINENO"; then : 14657 + if ac_fn_c_try_compile "$LINENO" 14658 + then : 14034 14659 xorg_cv_cc_flag_unused_command_line_argument=yes 14035 - else 14660 + else $as_nop 14036 14661 xorg_cv_cc_flag_unused_command_line_argument=no 14037 14662 fi 14038 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14663 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14039 14664 fi 14040 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14041 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14665 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14666 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14042 14667 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14043 14668 CFLAGS="$xorg_testset_save_CFLAGS" 14044 14669 fi ··· 14056 14681 14057 14682 CFLAGS="$CFLAGS -Werror=init-self" 14058 14683 14059 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 14060 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 14684 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 14685 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 14061 14686 cacheid=xorg_cv_cc_flag__Werror_init_self 14062 - if eval \${$cacheid+:} false; then : 14063 - $as_echo_n "(cached) " >&6 14064 - else 14687 + if eval test \${$cacheid+y} 14688 + then : 14689 + printf %s "(cached) " >&6 14690 + else $as_nop 14065 14691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14066 14692 /* end confdefs.h. */ 14067 14693 int i; 14068 14694 int 14069 - main () 14695 + main (void) 14070 14696 { 14071 14697 14072 14698 ; 14073 14699 return 0; 14074 14700 } 14075 14701 _ACEOF 14076 - if ac_fn_c_try_link "$LINENO"; then : 14702 + if ac_fn_c_try_link "$LINENO" 14703 + then : 14077 14704 eval $cacheid=yes 14078 - else 14705 + else $as_nop 14079 14706 eval $cacheid=no 14080 14707 fi 14081 - rm -f core conftest.err conftest.$ac_objext \ 14708 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14082 14709 conftest$ac_exeext conftest.$ac_ext 14083 14710 fi 14084 14711 ··· 14086 14713 CFLAGS="$xorg_testset_save_CFLAGS" 14087 14714 14088 14715 eval supported=\$$cacheid 14089 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14090 - $as_echo "$supported" >&6; } 14716 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14717 + printf "%s\n" "$supported" >&6; } 14091 14718 if test "$supported" = "yes" ; then 14092 14719 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 14093 14720 found="yes" ··· 14112 14739 14113 14740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14114 14741 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14115 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14116 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14117 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14118 - $as_echo_n "(cached) " >&6 14119 - else 14742 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14743 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14744 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14745 + then : 14746 + printf %s "(cached) " >&6 14747 + else $as_nop 14120 14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14121 14749 /* end confdefs.h. */ 14122 14750 int i; 14123 14751 _ACEOF 14124 - if ac_fn_c_try_compile "$LINENO"; then : 14752 + if ac_fn_c_try_compile "$LINENO" 14753 + then : 14125 14754 xorg_cv_cc_flag_unknown_warning_option=yes 14126 - else 14755 + else $as_nop 14127 14756 xorg_cv_cc_flag_unknown_warning_option=no 14128 14757 fi 14129 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14758 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14130 14759 fi 14131 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14132 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14760 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14761 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14133 14762 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14134 14763 CFLAGS="$xorg_testset_save_CFLAGS" 14135 14764 fi ··· 14139 14768 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14140 14769 fi 14141 14770 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14142 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14143 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14144 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14145 - $as_echo_n "(cached) " >&6 14146 - else 14771 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14772 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14773 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14774 + then : 14775 + printf %s "(cached) " >&6 14776 + else $as_nop 14147 14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14148 14778 /* end confdefs.h. */ 14149 14779 int i; 14150 14780 _ACEOF 14151 - if ac_fn_c_try_compile "$LINENO"; then : 14781 + if ac_fn_c_try_compile "$LINENO" 14782 + then : 14152 14783 xorg_cv_cc_flag_unused_command_line_argument=yes 14153 - else 14784 + else $as_nop 14154 14785 xorg_cv_cc_flag_unused_command_line_argument=no 14155 14786 fi 14156 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14787 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14157 14788 fi 14158 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14159 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14789 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14790 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14160 14791 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14161 14792 CFLAGS="$xorg_testset_save_CFLAGS" 14162 14793 fi ··· 14174 14805 14175 14806 CFLAGS="$CFLAGS -Werror=main" 14176 14807 14177 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 14178 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 14808 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 14809 + printf %s "checking if $CC supports -Werror=main... " >&6; } 14179 14810 cacheid=xorg_cv_cc_flag__Werror_main 14180 - if eval \${$cacheid+:} false; then : 14181 - $as_echo_n "(cached) " >&6 14182 - else 14811 + if eval test \${$cacheid+y} 14812 + then : 14813 + printf %s "(cached) " >&6 14814 + else $as_nop 14183 14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14184 14816 /* end confdefs.h. */ 14185 14817 int i; 14186 14818 int 14187 - main () 14819 + main (void) 14188 14820 { 14189 14821 14190 14822 ; 14191 14823 return 0; 14192 14824 } 14193 14825 _ACEOF 14194 - if ac_fn_c_try_link "$LINENO"; then : 14826 + if ac_fn_c_try_link "$LINENO" 14827 + then : 14195 14828 eval $cacheid=yes 14196 - else 14829 + else $as_nop 14197 14830 eval $cacheid=no 14198 14831 fi 14199 - rm -f core conftest.err conftest.$ac_objext \ 14832 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14200 14833 conftest$ac_exeext conftest.$ac_ext 14201 14834 fi 14202 14835 ··· 14204 14837 CFLAGS="$xorg_testset_save_CFLAGS" 14205 14838 14206 14839 eval supported=\$$cacheid 14207 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14208 - $as_echo "$supported" >&6; } 14840 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14841 + printf "%s\n" "$supported" >&6; } 14209 14842 if test "$supported" = "yes" ; then 14210 14843 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 14211 14844 found="yes" ··· 14230 14863 14231 14864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14232 14865 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14233 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14234 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14235 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14236 - $as_echo_n "(cached) " >&6 14237 - else 14866 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14867 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14868 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14869 + then : 14870 + printf %s "(cached) " >&6 14871 + else $as_nop 14238 14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14239 14873 /* end confdefs.h. */ 14240 14874 int i; 14241 14875 _ACEOF 14242 - if ac_fn_c_try_compile "$LINENO"; then : 14876 + if ac_fn_c_try_compile "$LINENO" 14877 + then : 14243 14878 xorg_cv_cc_flag_unknown_warning_option=yes 14244 - else 14879 + else $as_nop 14245 14880 xorg_cv_cc_flag_unknown_warning_option=no 14246 14881 fi 14247 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14882 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14248 14883 fi 14249 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14250 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14884 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14885 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14251 14886 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14252 14887 CFLAGS="$xorg_testset_save_CFLAGS" 14253 14888 fi ··· 14257 14892 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14258 14893 fi 14259 14894 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14260 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14261 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14262 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14263 - $as_echo_n "(cached) " >&6 14264 - else 14895 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14896 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14897 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14898 + then : 14899 + printf %s "(cached) " >&6 14900 + else $as_nop 14265 14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14266 14902 /* end confdefs.h. */ 14267 14903 int i; 14268 14904 _ACEOF 14269 - if ac_fn_c_try_compile "$LINENO"; then : 14905 + if ac_fn_c_try_compile "$LINENO" 14906 + then : 14270 14907 xorg_cv_cc_flag_unused_command_line_argument=yes 14271 - else 14908 + else $as_nop 14272 14909 xorg_cv_cc_flag_unused_command_line_argument=no 14273 14910 fi 14274 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14911 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14275 14912 fi 14276 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14277 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14913 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14914 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14278 14915 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14279 14916 CFLAGS="$xorg_testset_save_CFLAGS" 14280 14917 fi ··· 14292 14929 14293 14930 CFLAGS="$CFLAGS -Werror=missing-braces" 14294 14931 14295 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 14296 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 14932 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 14933 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 14297 14934 cacheid=xorg_cv_cc_flag__Werror_missing_braces 14298 - if eval \${$cacheid+:} false; then : 14299 - $as_echo_n "(cached) " >&6 14300 - else 14935 + if eval test \${$cacheid+y} 14936 + then : 14937 + printf %s "(cached) " >&6 14938 + else $as_nop 14301 14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14302 14940 /* end confdefs.h. */ 14303 14941 int i; 14304 14942 int 14305 - main () 14943 + main (void) 14306 14944 { 14307 14945 14308 14946 ; 14309 14947 return 0; 14310 14948 } 14311 14949 _ACEOF 14312 - if ac_fn_c_try_link "$LINENO"; then : 14950 + if ac_fn_c_try_link "$LINENO" 14951 + then : 14313 14952 eval $cacheid=yes 14314 - else 14953 + else $as_nop 14315 14954 eval $cacheid=no 14316 14955 fi 14317 - rm -f core conftest.err conftest.$ac_objext \ 14956 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14318 14957 conftest$ac_exeext conftest.$ac_ext 14319 14958 fi 14320 14959 ··· 14322 14961 CFLAGS="$xorg_testset_save_CFLAGS" 14323 14962 14324 14963 eval supported=\$$cacheid 14325 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14326 - $as_echo "$supported" >&6; } 14964 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14965 + printf "%s\n" "$supported" >&6; } 14327 14966 if test "$supported" = "yes" ; then 14328 14967 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 14329 14968 found="yes" ··· 14348 14987 14349 14988 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14350 14989 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14351 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14352 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14353 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14354 - $as_echo_n "(cached) " >&6 14355 - else 14990 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14991 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14992 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14993 + then : 14994 + printf %s "(cached) " >&6 14995 + else $as_nop 14356 14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14357 14997 /* end confdefs.h. */ 14358 14998 int i; 14359 14999 _ACEOF 14360 - if ac_fn_c_try_compile "$LINENO"; then : 15000 + if ac_fn_c_try_compile "$LINENO" 15001 + then : 14361 15002 xorg_cv_cc_flag_unknown_warning_option=yes 14362 - else 15003 + else $as_nop 14363 15004 xorg_cv_cc_flag_unknown_warning_option=no 14364 15005 fi 14365 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15006 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14366 15007 fi 14367 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14368 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15008 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15009 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14369 15010 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14370 15011 CFLAGS="$xorg_testset_save_CFLAGS" 14371 15012 fi ··· 14375 15016 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14376 15017 fi 14377 15018 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14378 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14379 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14380 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14381 - $as_echo_n "(cached) " >&6 14382 - else 15019 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15020 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15021 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15022 + then : 15023 + printf %s "(cached) " >&6 15024 + else $as_nop 14383 15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14384 15026 /* end confdefs.h. */ 14385 15027 int i; 14386 15028 _ACEOF 14387 - if ac_fn_c_try_compile "$LINENO"; then : 15029 + if ac_fn_c_try_compile "$LINENO" 15030 + then : 14388 15031 xorg_cv_cc_flag_unused_command_line_argument=yes 14389 - else 15032 + else $as_nop 14390 15033 xorg_cv_cc_flag_unused_command_line_argument=no 14391 15034 fi 14392 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15035 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14393 15036 fi 14394 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14395 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15038 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14396 15039 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14397 15040 CFLAGS="$xorg_testset_save_CFLAGS" 14398 15041 fi ··· 14410 15053 14411 15054 CFLAGS="$CFLAGS -Werror=sequence-point" 14412 15055 14413 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 14414 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 15056 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 15057 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 14415 15058 cacheid=xorg_cv_cc_flag__Werror_sequence_point 14416 - if eval \${$cacheid+:} false; then : 14417 - $as_echo_n "(cached) " >&6 14418 - else 15059 + if eval test \${$cacheid+y} 15060 + then : 15061 + printf %s "(cached) " >&6 15062 + else $as_nop 14419 15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14420 15064 /* end confdefs.h. */ 14421 15065 int i; 14422 15066 int 14423 - main () 15067 + main (void) 14424 15068 { 14425 15069 14426 15070 ; 14427 15071 return 0; 14428 15072 } 14429 15073 _ACEOF 14430 - if ac_fn_c_try_link "$LINENO"; then : 15074 + if ac_fn_c_try_link "$LINENO" 15075 + then : 14431 15076 eval $cacheid=yes 14432 - else 15077 + else $as_nop 14433 15078 eval $cacheid=no 14434 15079 fi 14435 - rm -f core conftest.err conftest.$ac_objext \ 15080 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14436 15081 conftest$ac_exeext conftest.$ac_ext 14437 15082 fi 14438 15083 ··· 14440 15085 CFLAGS="$xorg_testset_save_CFLAGS" 14441 15086 14442 15087 eval supported=\$$cacheid 14443 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14444 - $as_echo "$supported" >&6; } 15088 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15089 + printf "%s\n" "$supported" >&6; } 14445 15090 if test "$supported" = "yes" ; then 14446 15091 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 14447 15092 found="yes" ··· 14466 15111 14467 15112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14468 15113 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14469 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14470 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14471 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14472 - $as_echo_n "(cached) " >&6 14473 - else 15114 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15115 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15116 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15117 + then : 15118 + printf %s "(cached) " >&6 15119 + else $as_nop 14474 15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14475 15121 /* end confdefs.h. */ 14476 15122 int i; 14477 15123 _ACEOF 14478 - if ac_fn_c_try_compile "$LINENO"; then : 15124 + if ac_fn_c_try_compile "$LINENO" 15125 + then : 14479 15126 xorg_cv_cc_flag_unknown_warning_option=yes 14480 - else 15127 + else $as_nop 14481 15128 xorg_cv_cc_flag_unknown_warning_option=no 14482 15129 fi 14483 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15130 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14484 15131 fi 14485 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14486 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15132 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15133 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14487 15134 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14488 15135 CFLAGS="$xorg_testset_save_CFLAGS" 14489 15136 fi ··· 14493 15140 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14494 15141 fi 14495 15142 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14496 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14497 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14498 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14499 - $as_echo_n "(cached) " >&6 14500 - else 15143 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15144 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15145 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15146 + then : 15147 + printf %s "(cached) " >&6 15148 + else $as_nop 14501 15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14502 15150 /* end confdefs.h. */ 14503 15151 int i; 14504 15152 _ACEOF 14505 - if ac_fn_c_try_compile "$LINENO"; then : 15153 + if ac_fn_c_try_compile "$LINENO" 15154 + then : 14506 15155 xorg_cv_cc_flag_unused_command_line_argument=yes 14507 - else 15156 + else $as_nop 14508 15157 xorg_cv_cc_flag_unused_command_line_argument=no 14509 15158 fi 14510 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15159 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14511 15160 fi 14512 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14513 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15161 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15162 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14514 15163 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14515 15164 CFLAGS="$xorg_testset_save_CFLAGS" 14516 15165 fi ··· 14528 15177 14529 15178 CFLAGS="$CFLAGS -Werror=return-type" 14530 15179 14531 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 14532 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 15180 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 15181 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 14533 15182 cacheid=xorg_cv_cc_flag__Werror_return_type 14534 - if eval \${$cacheid+:} false; then : 14535 - $as_echo_n "(cached) " >&6 14536 - else 15183 + if eval test \${$cacheid+y} 15184 + then : 15185 + printf %s "(cached) " >&6 15186 + else $as_nop 14537 15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14538 15188 /* end confdefs.h. */ 14539 15189 int i; 14540 15190 int 14541 - main () 15191 + main (void) 14542 15192 { 14543 15193 14544 15194 ; 14545 15195 return 0; 14546 15196 } 14547 15197 _ACEOF 14548 - if ac_fn_c_try_link "$LINENO"; then : 15198 + if ac_fn_c_try_link "$LINENO" 15199 + then : 14549 15200 eval $cacheid=yes 14550 - else 15201 + else $as_nop 14551 15202 eval $cacheid=no 14552 15203 fi 14553 - rm -f core conftest.err conftest.$ac_objext \ 15204 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14554 15205 conftest$ac_exeext conftest.$ac_ext 14555 15206 fi 14556 15207 ··· 14558 15209 CFLAGS="$xorg_testset_save_CFLAGS" 14559 15210 14560 15211 eval supported=\$$cacheid 14561 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14562 - $as_echo "$supported" >&6; } 15212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15213 + printf "%s\n" "$supported" >&6; } 14563 15214 if test "$supported" = "yes" ; then 14564 15215 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 14565 15216 found="yes" ··· 14577 15228 14578 15229 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 14579 15230 14580 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 14581 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 15231 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 15232 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 14582 15233 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 14583 - if eval \${$cacheid+:} false; then : 14584 - $as_echo_n "(cached) " >&6 14585 - else 15234 + if eval test \${$cacheid+y} 15235 + then : 15236 + printf %s "(cached) " >&6 15237 + else $as_nop 14586 15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14587 15239 /* end confdefs.h. */ 14588 15240 int i; 14589 15241 int 14590 - main () 15242 + main (void) 14591 15243 { 14592 15244 14593 15245 ; 14594 15246 return 0; 14595 15247 } 14596 15248 _ACEOF 14597 - if ac_fn_c_try_link "$LINENO"; then : 15249 + if ac_fn_c_try_link "$LINENO" 15250 + then : 14598 15251 eval $cacheid=yes 14599 - else 15252 + else $as_nop 14600 15253 eval $cacheid=no 14601 15254 fi 14602 - rm -f core conftest.err conftest.$ac_objext \ 15255 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14603 15256 conftest$ac_exeext conftest.$ac_ext 14604 15257 fi 14605 15258 ··· 14607 15260 CFLAGS="$xorg_testset_save_CFLAGS" 14608 15261 14609 15262 eval supported=\$$cacheid 14610 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14611 - $as_echo "$supported" >&6; } 15263 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15264 + printf "%s\n" "$supported" >&6; } 14612 15265 if test "$supported" = "yes" ; then 14613 15266 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 14614 15267 found="yes" ··· 14633 15286 14634 15287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14635 15288 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14636 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14637 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14638 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14639 - $as_echo_n "(cached) " >&6 14640 - else 15289 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15290 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15291 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15292 + then : 15293 + printf %s "(cached) " >&6 15294 + else $as_nop 14641 15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14642 15296 /* end confdefs.h. */ 14643 15297 int i; 14644 15298 _ACEOF 14645 - if ac_fn_c_try_compile "$LINENO"; then : 15299 + if ac_fn_c_try_compile "$LINENO" 15300 + then : 14646 15301 xorg_cv_cc_flag_unknown_warning_option=yes 14647 - else 15302 + else $as_nop 14648 15303 xorg_cv_cc_flag_unknown_warning_option=no 14649 15304 fi 14650 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15305 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14651 15306 fi 14652 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14653 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15307 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15308 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14654 15309 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14655 15310 CFLAGS="$xorg_testset_save_CFLAGS" 14656 15311 fi ··· 14660 15315 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14661 15316 fi 14662 15317 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14663 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14664 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14665 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14666 - $as_echo_n "(cached) " >&6 14667 - else 15318 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15319 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15320 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15321 + then : 15322 + printf %s "(cached) " >&6 15323 + else $as_nop 14668 15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14669 15325 /* end confdefs.h. */ 14670 15326 int i; 14671 15327 _ACEOF 14672 - if ac_fn_c_try_compile "$LINENO"; then : 15328 + if ac_fn_c_try_compile "$LINENO" 15329 + then : 14673 15330 xorg_cv_cc_flag_unused_command_line_argument=yes 14674 - else 15331 + else $as_nop 14675 15332 xorg_cv_cc_flag_unused_command_line_argument=no 14676 15333 fi 14677 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15334 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14678 15335 fi 14679 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14680 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15337 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14681 15338 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14682 15339 CFLAGS="$xorg_testset_save_CFLAGS" 14683 15340 fi ··· 14695 15352 14696 15353 CFLAGS="$CFLAGS -Werror=trigraphs" 14697 15354 14698 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 14699 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 15355 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 15356 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 14700 15357 cacheid=xorg_cv_cc_flag__Werror_trigraphs 14701 - if eval \${$cacheid+:} false; then : 14702 - $as_echo_n "(cached) " >&6 14703 - else 15358 + if eval test \${$cacheid+y} 15359 + then : 15360 + printf %s "(cached) " >&6 15361 + else $as_nop 14704 15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14705 15363 /* end confdefs.h. */ 14706 15364 int i; 14707 15365 int 14708 - main () 15366 + main (void) 14709 15367 { 14710 15368 14711 15369 ; 14712 15370 return 0; 14713 15371 } 14714 15372 _ACEOF 14715 - if ac_fn_c_try_link "$LINENO"; then : 15373 + if ac_fn_c_try_link "$LINENO" 15374 + then : 14716 15375 eval $cacheid=yes 14717 - else 15376 + else $as_nop 14718 15377 eval $cacheid=no 14719 15378 fi 14720 - rm -f core conftest.err conftest.$ac_objext \ 15379 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14721 15380 conftest$ac_exeext conftest.$ac_ext 14722 15381 fi 14723 15382 ··· 14725 15384 CFLAGS="$xorg_testset_save_CFLAGS" 14726 15385 14727 15386 eval supported=\$$cacheid 14728 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14729 - $as_echo "$supported" >&6; } 15387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15388 + printf "%s\n" "$supported" >&6; } 14730 15389 if test "$supported" = "yes" ; then 14731 15390 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 14732 15391 found="yes" ··· 14751 15410 14752 15411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14753 15412 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14754 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14755 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14756 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14757 - $as_echo_n "(cached) " >&6 14758 - else 15413 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15414 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15415 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15416 + then : 15417 + printf %s "(cached) " >&6 15418 + else $as_nop 14759 15419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14760 15420 /* end confdefs.h. */ 14761 15421 int i; 14762 15422 _ACEOF 14763 - if ac_fn_c_try_compile "$LINENO"; then : 15423 + if ac_fn_c_try_compile "$LINENO" 15424 + then : 14764 15425 xorg_cv_cc_flag_unknown_warning_option=yes 14765 - else 15426 + else $as_nop 14766 15427 xorg_cv_cc_flag_unknown_warning_option=no 14767 15428 fi 14768 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15429 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14769 15430 fi 14770 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14771 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15431 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15432 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14772 15433 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14773 15434 CFLAGS="$xorg_testset_save_CFLAGS" 14774 15435 fi ··· 14778 15439 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14779 15440 fi 14780 15441 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14781 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14782 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14783 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14784 - $as_echo_n "(cached) " >&6 14785 - else 15442 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15443 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15444 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15445 + then : 15446 + printf %s "(cached) " >&6 15447 + else $as_nop 14786 15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14787 15449 /* end confdefs.h. */ 14788 15450 int i; 14789 15451 _ACEOF 14790 - if ac_fn_c_try_compile "$LINENO"; then : 15452 + if ac_fn_c_try_compile "$LINENO" 15453 + then : 14791 15454 xorg_cv_cc_flag_unused_command_line_argument=yes 14792 - else 15455 + else $as_nop 14793 15456 xorg_cv_cc_flag_unused_command_line_argument=no 14794 15457 fi 14795 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15458 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14796 15459 fi 14797 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14798 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15461 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14799 15462 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14800 15463 CFLAGS="$xorg_testset_save_CFLAGS" 14801 15464 fi ··· 14813 15476 14814 15477 CFLAGS="$CFLAGS -Werror=array-bounds" 14815 15478 14816 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 14817 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 15479 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 15480 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 14818 15481 cacheid=xorg_cv_cc_flag__Werror_array_bounds 14819 - if eval \${$cacheid+:} false; then : 14820 - $as_echo_n "(cached) " >&6 14821 - else 15482 + if eval test \${$cacheid+y} 15483 + then : 15484 + printf %s "(cached) " >&6 15485 + else $as_nop 14822 15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14823 15487 /* end confdefs.h. */ 14824 15488 int i; 14825 15489 int 14826 - main () 15490 + main (void) 14827 15491 { 14828 15492 14829 15493 ; 14830 15494 return 0; 14831 15495 } 14832 15496 _ACEOF 14833 - if ac_fn_c_try_link "$LINENO"; then : 15497 + if ac_fn_c_try_link "$LINENO" 15498 + then : 14834 15499 eval $cacheid=yes 14835 - else 15500 + else $as_nop 14836 15501 eval $cacheid=no 14837 15502 fi 14838 - rm -f core conftest.err conftest.$ac_objext \ 15503 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14839 15504 conftest$ac_exeext conftest.$ac_ext 14840 15505 fi 14841 15506 ··· 14843 15508 CFLAGS="$xorg_testset_save_CFLAGS" 14844 15509 14845 15510 eval supported=\$$cacheid 14846 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14847 - $as_echo "$supported" >&6; } 15511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15512 + printf "%s\n" "$supported" >&6; } 14848 15513 if test "$supported" = "yes" ; then 14849 15514 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 14850 15515 found="yes" ··· 14869 15534 14870 15535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14871 15536 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14872 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14873 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14874 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14875 - $as_echo_n "(cached) " >&6 14876 - else 15537 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15538 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15539 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15540 + then : 15541 + printf %s "(cached) " >&6 15542 + else $as_nop 14877 15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14878 15544 /* end confdefs.h. */ 14879 15545 int i; 14880 15546 _ACEOF 14881 - if ac_fn_c_try_compile "$LINENO"; then : 15547 + if ac_fn_c_try_compile "$LINENO" 15548 + then : 14882 15549 xorg_cv_cc_flag_unknown_warning_option=yes 14883 - else 15550 + else $as_nop 14884 15551 xorg_cv_cc_flag_unknown_warning_option=no 14885 15552 fi 14886 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15553 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14887 15554 fi 14888 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14889 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15555 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15556 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14890 15557 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14891 15558 CFLAGS="$xorg_testset_save_CFLAGS" 14892 15559 fi ··· 14896 15563 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14897 15564 fi 14898 15565 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14899 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14900 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14901 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14902 - $as_echo_n "(cached) " >&6 14903 - else 15566 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15567 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15568 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15569 + then : 15570 + printf %s "(cached) " >&6 15571 + else $as_nop 14904 15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14905 15573 /* end confdefs.h. */ 14906 15574 int i; 14907 15575 _ACEOF 14908 - if ac_fn_c_try_compile "$LINENO"; then : 15576 + if ac_fn_c_try_compile "$LINENO" 15577 + then : 14909 15578 xorg_cv_cc_flag_unused_command_line_argument=yes 14910 - else 15579 + else $as_nop 14911 15580 xorg_cv_cc_flag_unused_command_line_argument=no 14912 15581 fi 14913 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15582 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14914 15583 fi 14915 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14916 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15584 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15585 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14917 15586 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14918 15587 CFLAGS="$xorg_testset_save_CFLAGS" 14919 15588 fi ··· 14931 15600 14932 15601 CFLAGS="$CFLAGS -Werror=write-strings" 14933 15602 14934 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 14935 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 15603 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 15604 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 14936 15605 cacheid=xorg_cv_cc_flag__Werror_write_strings 14937 - if eval \${$cacheid+:} false; then : 14938 - $as_echo_n "(cached) " >&6 14939 - else 15606 + if eval test \${$cacheid+y} 15607 + then : 15608 + printf %s "(cached) " >&6 15609 + else $as_nop 14940 15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14941 15611 /* end confdefs.h. */ 14942 15612 int i; 14943 15613 int 14944 - main () 15614 + main (void) 14945 15615 { 14946 15616 14947 15617 ; 14948 15618 return 0; 14949 15619 } 14950 15620 _ACEOF 14951 - if ac_fn_c_try_link "$LINENO"; then : 15621 + if ac_fn_c_try_link "$LINENO" 15622 + then : 14952 15623 eval $cacheid=yes 14953 - else 15624 + else $as_nop 14954 15625 eval $cacheid=no 14955 15626 fi 14956 - rm -f core conftest.err conftest.$ac_objext \ 15627 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14957 15628 conftest$ac_exeext conftest.$ac_ext 14958 15629 fi 14959 15630 ··· 14961 15632 CFLAGS="$xorg_testset_save_CFLAGS" 14962 15633 14963 15634 eval supported=\$$cacheid 14964 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14965 - $as_echo "$supported" >&6; } 15635 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15636 + printf "%s\n" "$supported" >&6; } 14966 15637 if test "$supported" = "yes" ; then 14967 15638 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 14968 15639 found="yes" ··· 14987 15658 14988 15659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14989 15660 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14990 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14991 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14992 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14993 - $as_echo_n "(cached) " >&6 14994 - else 15661 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15662 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15663 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15664 + then : 15665 + printf %s "(cached) " >&6 15666 + else $as_nop 14995 15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14996 15668 /* end confdefs.h. */ 14997 15669 int i; 14998 15670 _ACEOF 14999 - if ac_fn_c_try_compile "$LINENO"; then : 15671 + if ac_fn_c_try_compile "$LINENO" 15672 + then : 15000 15673 xorg_cv_cc_flag_unknown_warning_option=yes 15001 - else 15674 + else $as_nop 15002 15675 xorg_cv_cc_flag_unknown_warning_option=no 15003 15676 fi 15004 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15677 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15005 15678 fi 15006 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15007 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15679 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15680 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15008 15681 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15009 15682 CFLAGS="$xorg_testset_save_CFLAGS" 15010 15683 fi ··· 15014 15687 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15015 15688 fi 15016 15689 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15017 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15018 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15019 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15020 - $as_echo_n "(cached) " >&6 15021 - else 15690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15691 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15692 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15693 + then : 15694 + printf %s "(cached) " >&6 15695 + else $as_nop 15022 15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15023 15697 /* end confdefs.h. */ 15024 15698 int i; 15025 15699 _ACEOF 15026 - if ac_fn_c_try_compile "$LINENO"; then : 15700 + if ac_fn_c_try_compile "$LINENO" 15701 + then : 15027 15702 xorg_cv_cc_flag_unused_command_line_argument=yes 15028 - else 15703 + else $as_nop 15029 15704 xorg_cv_cc_flag_unused_command_line_argument=no 15030 15705 fi 15031 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15706 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15032 15707 fi 15033 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15034 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15708 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15709 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15035 15710 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15036 15711 CFLAGS="$xorg_testset_save_CFLAGS" 15037 15712 fi ··· 15049 15724 15050 15725 CFLAGS="$CFLAGS -Werror=address" 15051 15726 15052 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 15053 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 15727 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 15728 + printf %s "checking if $CC supports -Werror=address... " >&6; } 15054 15729 cacheid=xorg_cv_cc_flag__Werror_address 15055 - if eval \${$cacheid+:} false; then : 15056 - $as_echo_n "(cached) " >&6 15057 - else 15730 + if eval test \${$cacheid+y} 15731 + then : 15732 + printf %s "(cached) " >&6 15733 + else $as_nop 15058 15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15059 15735 /* end confdefs.h. */ 15060 15736 int i; 15061 15737 int 15062 - main () 15738 + main (void) 15063 15739 { 15064 15740 15065 15741 ; 15066 15742 return 0; 15067 15743 } 15068 15744 _ACEOF 15069 - if ac_fn_c_try_link "$LINENO"; then : 15745 + if ac_fn_c_try_link "$LINENO" 15746 + then : 15070 15747 eval $cacheid=yes 15071 - else 15748 + else $as_nop 15072 15749 eval $cacheid=no 15073 15750 fi 15074 - rm -f core conftest.err conftest.$ac_objext \ 15751 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15075 15752 conftest$ac_exeext conftest.$ac_ext 15076 15753 fi 15077 15754 ··· 15079 15756 CFLAGS="$xorg_testset_save_CFLAGS" 15080 15757 15081 15758 eval supported=\$$cacheid 15082 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15083 - $as_echo "$supported" >&6; } 15759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15760 + printf "%s\n" "$supported" >&6; } 15084 15761 if test "$supported" = "yes" ; then 15085 15762 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 15086 15763 found="yes" ··· 15105 15782 15106 15783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15107 15784 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15108 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15109 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15110 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15111 - $as_echo_n "(cached) " >&6 15112 - else 15785 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15786 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15787 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15788 + then : 15789 + printf %s "(cached) " >&6 15790 + else $as_nop 15113 15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15114 15792 /* end confdefs.h. */ 15115 15793 int i; 15116 15794 _ACEOF 15117 - if ac_fn_c_try_compile "$LINENO"; then : 15795 + if ac_fn_c_try_compile "$LINENO" 15796 + then : 15118 15797 xorg_cv_cc_flag_unknown_warning_option=yes 15119 - else 15798 + else $as_nop 15120 15799 xorg_cv_cc_flag_unknown_warning_option=no 15121 15800 fi 15122 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15801 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15123 15802 fi 15124 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15125 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15803 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15804 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15126 15805 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15127 15806 CFLAGS="$xorg_testset_save_CFLAGS" 15128 15807 fi ··· 15132 15811 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15133 15812 fi 15134 15813 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15135 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15136 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15137 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15138 - $as_echo_n "(cached) " >&6 15139 - else 15814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15815 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15816 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15817 + then : 15818 + printf %s "(cached) " >&6 15819 + else $as_nop 15140 15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15141 15821 /* end confdefs.h. */ 15142 15822 int i; 15143 15823 _ACEOF 15144 - if ac_fn_c_try_compile "$LINENO"; then : 15824 + if ac_fn_c_try_compile "$LINENO" 15825 + then : 15145 15826 xorg_cv_cc_flag_unused_command_line_argument=yes 15146 - else 15827 + else $as_nop 15147 15828 xorg_cv_cc_flag_unused_command_line_argument=no 15148 15829 fi 15149 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15830 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15150 15831 fi 15151 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15152 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15832 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15833 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15153 15834 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15154 15835 CFLAGS="$xorg_testset_save_CFLAGS" 15155 15836 fi ··· 15167 15848 15168 15849 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 15169 15850 15170 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 15171 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 15851 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 15852 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 15172 15853 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 15173 - if eval \${$cacheid+:} false; then : 15174 - $as_echo_n "(cached) " >&6 15175 - else 15854 + if eval test \${$cacheid+y} 15855 + then : 15856 + printf %s "(cached) " >&6 15857 + else $as_nop 15176 15858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15177 15859 /* end confdefs.h. */ 15178 15860 int i; 15179 15861 int 15180 - main () 15862 + main (void) 15181 15863 { 15182 15864 15183 15865 ; 15184 15866 return 0; 15185 15867 } 15186 15868 _ACEOF 15187 - if ac_fn_c_try_link "$LINENO"; then : 15869 + if ac_fn_c_try_link "$LINENO" 15870 + then : 15188 15871 eval $cacheid=yes 15189 - else 15872 + else $as_nop 15190 15873 eval $cacheid=no 15191 15874 fi 15192 - rm -f core conftest.err conftest.$ac_objext \ 15875 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15193 15876 conftest$ac_exeext conftest.$ac_ext 15194 15877 fi 15195 15878 ··· 15197 15880 CFLAGS="$xorg_testset_save_CFLAGS" 15198 15881 15199 15882 eval supported=\$$cacheid 15200 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15201 - $as_echo "$supported" >&6; } 15883 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15884 + printf "%s\n" "$supported" >&6; } 15202 15885 if test "$supported" = "yes" ; then 15203 15886 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 15204 15887 found="yes" ··· 15216 15899 15217 15900 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 15218 15901 15219 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 15220 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 15902 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 15903 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 15221 15904 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 15222 - if eval \${$cacheid+:} false; then : 15223 - $as_echo_n "(cached) " >&6 15224 - else 15905 + if eval test \${$cacheid+y} 15906 + then : 15907 + printf %s "(cached) " >&6 15908 + else $as_nop 15225 15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15226 15910 /* end confdefs.h. */ 15227 15911 int i; 15228 15912 int 15229 - main () 15913 + main (void) 15230 15914 { 15231 15915 15232 15916 ; 15233 15917 return 0; 15234 15918 } 15235 15919 _ACEOF 15236 - if ac_fn_c_try_link "$LINENO"; then : 15920 + if ac_fn_c_try_link "$LINENO" 15921 + then : 15237 15922 eval $cacheid=yes 15238 - else 15923 + else $as_nop 15239 15924 eval $cacheid=no 15240 15925 fi 15241 - rm -f core conftest.err conftest.$ac_objext \ 15926 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15242 15927 conftest$ac_exeext conftest.$ac_ext 15243 15928 fi 15244 15929 ··· 15246 15931 CFLAGS="$xorg_testset_save_CFLAGS" 15247 15932 15248 15933 eval supported=\$$cacheid 15249 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15250 - $as_echo "$supported" >&6; } 15934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15935 + printf "%s\n" "$supported" >&6; } 15251 15936 if test "$supported" = "yes" ; then 15252 15937 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 15253 15938 found="yes" ··· 15272 15957 15273 15958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15274 15959 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15275 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15276 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15277 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15278 - $as_echo_n "(cached) " >&6 15279 - else 15960 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15961 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15962 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15963 + then : 15964 + printf %s "(cached) " >&6 15965 + else $as_nop 15280 15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15281 15967 /* end confdefs.h. */ 15282 15968 int i; 15283 15969 _ACEOF 15284 - if ac_fn_c_try_compile "$LINENO"; then : 15970 + if ac_fn_c_try_compile "$LINENO" 15971 + then : 15285 15972 xorg_cv_cc_flag_unknown_warning_option=yes 15286 - else 15973 + else $as_nop 15287 15974 xorg_cv_cc_flag_unknown_warning_option=no 15288 15975 fi 15289 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15976 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15290 15977 fi 15291 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15292 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15978 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15979 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15293 15980 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15294 15981 CFLAGS="$xorg_testset_save_CFLAGS" 15295 15982 fi ··· 15299 15986 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15300 15987 fi 15301 15988 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15302 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15303 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15304 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15305 - $as_echo_n "(cached) " >&6 15306 - else 15989 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15990 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15991 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15992 + then : 15993 + printf %s "(cached) " >&6 15994 + else $as_nop 15307 15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15308 15996 /* end confdefs.h. */ 15309 15997 int i; 15310 15998 _ACEOF 15311 - if ac_fn_c_try_compile "$LINENO"; then : 15999 + if ac_fn_c_try_compile "$LINENO" 16000 + then : 15312 16001 xorg_cv_cc_flag_unused_command_line_argument=yes 15313 - else 16002 + else $as_nop 15314 16003 xorg_cv_cc_flag_unused_command_line_argument=no 15315 16004 fi 15316 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16005 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15317 16006 fi 15318 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15319 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16007 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16008 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15320 16009 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15321 16010 CFLAGS="$xorg_testset_save_CFLAGS" 15322 16011 fi ··· 15334 16023 15335 16024 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 15336 16025 15337 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 15338 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 16026 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 16027 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 15339 16028 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 15340 - if eval \${$cacheid+:} false; then : 15341 - $as_echo_n "(cached) " >&6 15342 - else 16029 + if eval test \${$cacheid+y} 16030 + then : 16031 + printf %s "(cached) " >&6 16032 + else $as_nop 15343 16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15344 16034 /* end confdefs.h. */ 15345 16035 int i; 15346 16036 int 15347 - main () 16037 + main (void) 15348 16038 { 15349 16039 15350 16040 ; 15351 16041 return 0; 15352 16042 } 15353 16043 _ACEOF 15354 - if ac_fn_c_try_link "$LINENO"; then : 16044 + if ac_fn_c_try_link "$LINENO" 16045 + then : 15355 16046 eval $cacheid=yes 15356 - else 16047 + else $as_nop 15357 16048 eval $cacheid=no 15358 16049 fi 15359 - rm -f core conftest.err conftest.$ac_objext \ 16050 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15360 16051 conftest$ac_exeext conftest.$ac_ext 15361 16052 fi 15362 16053 ··· 15364 16055 CFLAGS="$xorg_testset_save_CFLAGS" 15365 16056 15366 16057 eval supported=\$$cacheid 15367 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15368 - $as_echo "$supported" >&6; } 16058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16059 + printf "%s\n" "$supported" >&6; } 15369 16060 if test "$supported" = "yes" ; then 15370 16061 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 15371 16062 found="yes" ··· 15374 16065 15375 16066 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 15376 16067 else 15377 - { $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 15378 - $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;} 16068 + { 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 16069 + 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;} 15379 16070 15380 16071 15381 16072 ··· 15393 16084 15394 16085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15395 16086 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15396 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15397 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15398 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15399 - $as_echo_n "(cached) " >&6 15400 - else 16087 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16088 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16089 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16090 + then : 16091 + printf %s "(cached) " >&6 16092 + else $as_nop 15401 16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15402 16094 /* end confdefs.h. */ 15403 16095 int i; 15404 16096 _ACEOF 15405 - if ac_fn_c_try_compile "$LINENO"; then : 16097 + if ac_fn_c_try_compile "$LINENO" 16098 + then : 15406 16099 xorg_cv_cc_flag_unknown_warning_option=yes 15407 - else 16100 + else $as_nop 15408 16101 xorg_cv_cc_flag_unknown_warning_option=no 15409 16102 fi 15410 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16103 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15411 16104 fi 15412 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15413 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16105 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16106 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15414 16107 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15415 16108 CFLAGS="$xorg_testset_save_CFLAGS" 15416 16109 fi ··· 15420 16113 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15421 16114 fi 15422 16115 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15423 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15424 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15425 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15426 - $as_echo_n "(cached) " >&6 15427 - else 16116 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16117 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16118 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16119 + then : 16120 + printf %s "(cached) " >&6 16121 + else $as_nop 15428 16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15429 16123 /* end confdefs.h. */ 15430 16124 int i; 15431 16125 _ACEOF 15432 - if ac_fn_c_try_compile "$LINENO"; then : 16126 + if ac_fn_c_try_compile "$LINENO" 16127 + then : 15433 16128 xorg_cv_cc_flag_unused_command_line_argument=yes 15434 - else 16129 + else $as_nop 15435 16130 xorg_cv_cc_flag_unused_command_line_argument=no 15436 16131 fi 15437 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16132 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15438 16133 fi 15439 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15440 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16135 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15441 16136 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15442 16137 CFLAGS="$xorg_testset_save_CFLAGS" 15443 16138 fi ··· 15455 16150 15456 16151 CFLAGS="$CFLAGS -Wimplicit" 15457 16152 15458 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 15459 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 16153 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 16154 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 15460 16155 cacheid=xorg_cv_cc_flag__Wimplicit 15461 - if eval \${$cacheid+:} false; then : 15462 - $as_echo_n "(cached) " >&6 15463 - else 16156 + if eval test \${$cacheid+y} 16157 + then : 16158 + printf %s "(cached) " >&6 16159 + else $as_nop 15464 16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15465 16161 /* end confdefs.h. */ 15466 16162 int i; 15467 16163 int 15468 - main () 16164 + main (void) 15469 16165 { 15470 16166 15471 16167 ; 15472 16168 return 0; 15473 16169 } 15474 16170 _ACEOF 15475 - if ac_fn_c_try_link "$LINENO"; then : 16171 + if ac_fn_c_try_link "$LINENO" 16172 + then : 15476 16173 eval $cacheid=yes 15477 - else 16174 + else $as_nop 15478 16175 eval $cacheid=no 15479 16176 fi 15480 - rm -f core conftest.err conftest.$ac_objext \ 16177 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15481 16178 conftest$ac_exeext conftest.$ac_ext 15482 16179 fi 15483 16180 ··· 15485 16182 CFLAGS="$xorg_testset_save_CFLAGS" 15486 16183 15487 16184 eval supported=\$$cacheid 15488 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15489 - $as_echo "$supported" >&6; } 16185 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16186 + printf "%s\n" "$supported" >&6; } 15490 16187 if test "$supported" = "yes" ; then 15491 16188 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 15492 16189 found="yes" ··· 15511 16208 15512 16209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15513 16210 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15514 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15515 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15516 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15517 - $as_echo_n "(cached) " >&6 15518 - else 16211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16212 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16213 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16214 + then : 16215 + printf %s "(cached) " >&6 16216 + else $as_nop 15519 16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15520 16218 /* end confdefs.h. */ 15521 16219 int i; 15522 16220 _ACEOF 15523 - if ac_fn_c_try_compile "$LINENO"; then : 16221 + if ac_fn_c_try_compile "$LINENO" 16222 + then : 15524 16223 xorg_cv_cc_flag_unknown_warning_option=yes 15525 - else 16224 + else $as_nop 15526 16225 xorg_cv_cc_flag_unknown_warning_option=no 15527 16226 fi 15528 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16227 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15529 16228 fi 15530 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15531 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16229 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16230 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15532 16231 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15533 16232 CFLAGS="$xorg_testset_save_CFLAGS" 15534 16233 fi ··· 15538 16237 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15539 16238 fi 15540 16239 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15541 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15542 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15543 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15544 - $as_echo_n "(cached) " >&6 15545 - else 16240 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16241 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16242 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16243 + then : 16244 + printf %s "(cached) " >&6 16245 + else $as_nop 15546 16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15547 16247 /* end confdefs.h. */ 15548 16248 int i; 15549 16249 _ACEOF 15550 - if ac_fn_c_try_compile "$LINENO"; then : 16250 + if ac_fn_c_try_compile "$LINENO" 16251 + then : 15551 16252 xorg_cv_cc_flag_unused_command_line_argument=yes 15552 - else 16253 + else $as_nop 15553 16254 xorg_cv_cc_flag_unused_command_line_argument=no 15554 16255 fi 15555 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16256 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15556 16257 fi 15557 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15558 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16258 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16259 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15559 16260 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15560 16261 CFLAGS="$xorg_testset_save_CFLAGS" 15561 16262 fi ··· 15573 16274 15574 16275 CFLAGS="$CFLAGS -Wnonnull" 15575 16276 15576 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 15577 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 16277 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 16278 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 15578 16279 cacheid=xorg_cv_cc_flag__Wnonnull 15579 - if eval \${$cacheid+:} false; then : 15580 - $as_echo_n "(cached) " >&6 15581 - else 16280 + if eval test \${$cacheid+y} 16281 + then : 16282 + printf %s "(cached) " >&6 16283 + else $as_nop 15582 16284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15583 16285 /* end confdefs.h. */ 15584 16286 int i; 15585 16287 int 15586 - main () 16288 + main (void) 15587 16289 { 15588 16290 15589 16291 ; 15590 16292 return 0; 15591 16293 } 15592 16294 _ACEOF 15593 - if ac_fn_c_try_link "$LINENO"; then : 16295 + if ac_fn_c_try_link "$LINENO" 16296 + then : 15594 16297 eval $cacheid=yes 15595 - else 16298 + else $as_nop 15596 16299 eval $cacheid=no 15597 16300 fi 15598 - rm -f core conftest.err conftest.$ac_objext \ 16301 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15599 16302 conftest$ac_exeext conftest.$ac_ext 15600 16303 fi 15601 16304 ··· 15603 16306 CFLAGS="$xorg_testset_save_CFLAGS" 15604 16307 15605 16308 eval supported=\$$cacheid 15606 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15607 - $as_echo "$supported" >&6; } 16309 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16310 + printf "%s\n" "$supported" >&6; } 15608 16311 if test "$supported" = "yes" ; then 15609 16312 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 15610 16313 found="yes" ··· 15629 16332 15630 16333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15631 16334 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15632 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15633 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15634 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15635 - $as_echo_n "(cached) " >&6 15636 - else 16335 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16336 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16337 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16338 + then : 16339 + printf %s "(cached) " >&6 16340 + else $as_nop 15637 16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15638 16342 /* end confdefs.h. */ 15639 16343 int i; 15640 16344 _ACEOF 15641 - if ac_fn_c_try_compile "$LINENO"; then : 16345 + if ac_fn_c_try_compile "$LINENO" 16346 + then : 15642 16347 xorg_cv_cc_flag_unknown_warning_option=yes 15643 - else 16348 + else $as_nop 15644 16349 xorg_cv_cc_flag_unknown_warning_option=no 15645 16350 fi 15646 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16351 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15647 16352 fi 15648 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15649 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16353 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16354 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15650 16355 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15651 16356 CFLAGS="$xorg_testset_save_CFLAGS" 15652 16357 fi ··· 15656 16361 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15657 16362 fi 15658 16363 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15659 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15660 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15661 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15662 - $as_echo_n "(cached) " >&6 15663 - else 16364 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16365 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16366 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16367 + then : 16368 + printf %s "(cached) " >&6 16369 + else $as_nop 15664 16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15665 16371 /* end confdefs.h. */ 15666 16372 int i; 15667 16373 _ACEOF 15668 - if ac_fn_c_try_compile "$LINENO"; then : 16374 + if ac_fn_c_try_compile "$LINENO" 16375 + then : 15669 16376 xorg_cv_cc_flag_unused_command_line_argument=yes 15670 - else 16377 + else $as_nop 15671 16378 xorg_cv_cc_flag_unused_command_line_argument=no 15672 16379 fi 15673 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16380 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15674 16381 fi 15675 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15676 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16382 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16383 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15677 16384 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15678 16385 CFLAGS="$xorg_testset_save_CFLAGS" 15679 16386 fi ··· 15691 16398 15692 16399 CFLAGS="$CFLAGS -Winit-self" 15693 16400 15694 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 15695 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 16401 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 16402 + printf %s "checking if $CC supports -Winit-self... " >&6; } 15696 16403 cacheid=xorg_cv_cc_flag__Winit_self 15697 - if eval \${$cacheid+:} false; then : 15698 - $as_echo_n "(cached) " >&6 15699 - else 16404 + if eval test \${$cacheid+y} 16405 + then : 16406 + printf %s "(cached) " >&6 16407 + else $as_nop 15700 16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15701 16409 /* end confdefs.h. */ 15702 16410 int i; 15703 16411 int 15704 - main () 16412 + main (void) 15705 16413 { 15706 16414 15707 16415 ; 15708 16416 return 0; 15709 16417 } 15710 16418 _ACEOF 15711 - if ac_fn_c_try_link "$LINENO"; then : 16419 + if ac_fn_c_try_link "$LINENO" 16420 + then : 15712 16421 eval $cacheid=yes 15713 - else 16422 + else $as_nop 15714 16423 eval $cacheid=no 15715 16424 fi 15716 - rm -f core conftest.err conftest.$ac_objext \ 16425 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15717 16426 conftest$ac_exeext conftest.$ac_ext 15718 16427 fi 15719 16428 ··· 15721 16430 CFLAGS="$xorg_testset_save_CFLAGS" 15722 16431 15723 16432 eval supported=\$$cacheid 15724 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15725 - $as_echo "$supported" >&6; } 16433 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16434 + printf "%s\n" "$supported" >&6; } 15726 16435 if test "$supported" = "yes" ; then 15727 16436 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 15728 16437 found="yes" ··· 15747 16456 15748 16457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15749 16458 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15750 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15751 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15752 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15753 - $as_echo_n "(cached) " >&6 15754 - else 16459 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16460 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16461 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16462 + then : 16463 + printf %s "(cached) " >&6 16464 + else $as_nop 15755 16465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15756 16466 /* end confdefs.h. */ 15757 16467 int i; 15758 16468 _ACEOF 15759 - if ac_fn_c_try_compile "$LINENO"; then : 16469 + if ac_fn_c_try_compile "$LINENO" 16470 + then : 15760 16471 xorg_cv_cc_flag_unknown_warning_option=yes 15761 - else 16472 + else $as_nop 15762 16473 xorg_cv_cc_flag_unknown_warning_option=no 15763 16474 fi 15764 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16475 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15765 16476 fi 15766 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15767 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16477 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16478 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15768 16479 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15769 16480 CFLAGS="$xorg_testset_save_CFLAGS" 15770 16481 fi ··· 15774 16485 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15775 16486 fi 15776 16487 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15777 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15778 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15779 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15780 - $as_echo_n "(cached) " >&6 15781 - else 16488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16489 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16490 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16491 + then : 16492 + printf %s "(cached) " >&6 16493 + else $as_nop 15782 16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15783 16495 /* end confdefs.h. */ 15784 16496 int i; 15785 16497 _ACEOF 15786 - if ac_fn_c_try_compile "$LINENO"; then : 16498 + if ac_fn_c_try_compile "$LINENO" 16499 + then : 15787 16500 xorg_cv_cc_flag_unused_command_line_argument=yes 15788 - else 16501 + else $as_nop 15789 16502 xorg_cv_cc_flag_unused_command_line_argument=no 15790 16503 fi 15791 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16504 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15792 16505 fi 15793 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15794 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16506 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16507 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15795 16508 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15796 16509 CFLAGS="$xorg_testset_save_CFLAGS" 15797 16510 fi ··· 15809 16522 15810 16523 CFLAGS="$CFLAGS -Wmain" 15811 16524 15812 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 15813 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 16525 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 16526 + printf %s "checking if $CC supports -Wmain... " >&6; } 15814 16527 cacheid=xorg_cv_cc_flag__Wmain 15815 - if eval \${$cacheid+:} false; then : 15816 - $as_echo_n "(cached) " >&6 15817 - else 16528 + if eval test \${$cacheid+y} 16529 + then : 16530 + printf %s "(cached) " >&6 16531 + else $as_nop 15818 16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15819 16533 /* end confdefs.h. */ 15820 16534 int i; 15821 16535 int 15822 - main () 16536 + main (void) 15823 16537 { 15824 16538 15825 16539 ; 15826 16540 return 0; 15827 16541 } 15828 16542 _ACEOF 15829 - if ac_fn_c_try_link "$LINENO"; then : 16543 + if ac_fn_c_try_link "$LINENO" 16544 + then : 15830 16545 eval $cacheid=yes 15831 - else 16546 + else $as_nop 15832 16547 eval $cacheid=no 15833 16548 fi 15834 - rm -f core conftest.err conftest.$ac_objext \ 16549 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15835 16550 conftest$ac_exeext conftest.$ac_ext 15836 16551 fi 15837 16552 ··· 15839 16554 CFLAGS="$xorg_testset_save_CFLAGS" 15840 16555 15841 16556 eval supported=\$$cacheid 15842 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15843 - $as_echo "$supported" >&6; } 16557 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16558 + printf "%s\n" "$supported" >&6; } 15844 16559 if test "$supported" = "yes" ; then 15845 16560 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 15846 16561 found="yes" ··· 15865 16580 15866 16581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15867 16582 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15868 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15869 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15870 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15871 - $as_echo_n "(cached) " >&6 15872 - else 16583 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16584 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16585 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16586 + then : 16587 + printf %s "(cached) " >&6 16588 + else $as_nop 15873 16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15874 16590 /* end confdefs.h. */ 15875 16591 int i; 15876 16592 _ACEOF 15877 - if ac_fn_c_try_compile "$LINENO"; then : 16593 + if ac_fn_c_try_compile "$LINENO" 16594 + then : 15878 16595 xorg_cv_cc_flag_unknown_warning_option=yes 15879 - else 16596 + else $as_nop 15880 16597 xorg_cv_cc_flag_unknown_warning_option=no 15881 16598 fi 15882 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16599 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15883 16600 fi 15884 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15885 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16601 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16602 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15886 16603 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15887 16604 CFLAGS="$xorg_testset_save_CFLAGS" 15888 16605 fi ··· 15892 16609 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15893 16610 fi 15894 16611 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15895 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15896 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15897 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15898 - $as_echo_n "(cached) " >&6 15899 - else 16612 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16613 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16614 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16615 + then : 16616 + printf %s "(cached) " >&6 16617 + else $as_nop 15900 16618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15901 16619 /* end confdefs.h. */ 15902 16620 int i; 15903 16621 _ACEOF 15904 - if ac_fn_c_try_compile "$LINENO"; then : 16622 + if ac_fn_c_try_compile "$LINENO" 16623 + then : 15905 16624 xorg_cv_cc_flag_unused_command_line_argument=yes 15906 - else 16625 + else $as_nop 15907 16626 xorg_cv_cc_flag_unused_command_line_argument=no 15908 16627 fi 15909 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16628 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15910 16629 fi 15911 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15912 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16630 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16631 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15913 16632 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15914 16633 CFLAGS="$xorg_testset_save_CFLAGS" 15915 16634 fi ··· 15927 16646 15928 16647 CFLAGS="$CFLAGS -Wmissing-braces" 15929 16648 15930 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 15931 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 16649 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 16650 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 15932 16651 cacheid=xorg_cv_cc_flag__Wmissing_braces 15933 - if eval \${$cacheid+:} false; then : 15934 - $as_echo_n "(cached) " >&6 15935 - else 16652 + if eval test \${$cacheid+y} 16653 + then : 16654 + printf %s "(cached) " >&6 16655 + else $as_nop 15936 16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15937 16657 /* end confdefs.h. */ 15938 16658 int i; 15939 16659 int 15940 - main () 16660 + main (void) 15941 16661 { 15942 16662 15943 16663 ; 15944 16664 return 0; 15945 16665 } 15946 16666 _ACEOF 15947 - if ac_fn_c_try_link "$LINENO"; then : 16667 + if ac_fn_c_try_link "$LINENO" 16668 + then : 15948 16669 eval $cacheid=yes 15949 - else 16670 + else $as_nop 15950 16671 eval $cacheid=no 15951 16672 fi 15952 - rm -f core conftest.err conftest.$ac_objext \ 16673 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15953 16674 conftest$ac_exeext conftest.$ac_ext 15954 16675 fi 15955 16676 ··· 15957 16678 CFLAGS="$xorg_testset_save_CFLAGS" 15958 16679 15959 16680 eval supported=\$$cacheid 15960 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15961 - $as_echo "$supported" >&6; } 16681 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16682 + printf "%s\n" "$supported" >&6; } 15962 16683 if test "$supported" = "yes" ; then 15963 16684 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 15964 16685 found="yes" ··· 15983 16704 15984 16705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15985 16706 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15986 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15987 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15988 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15989 - $as_echo_n "(cached) " >&6 15990 - else 16707 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16708 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16709 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16710 + then : 16711 + printf %s "(cached) " >&6 16712 + else $as_nop 15991 16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15992 16714 /* end confdefs.h. */ 15993 16715 int i; 15994 16716 _ACEOF 15995 - if ac_fn_c_try_compile "$LINENO"; then : 16717 + if ac_fn_c_try_compile "$LINENO" 16718 + then : 15996 16719 xorg_cv_cc_flag_unknown_warning_option=yes 15997 - else 16720 + else $as_nop 15998 16721 xorg_cv_cc_flag_unknown_warning_option=no 15999 16722 fi 16000 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16723 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16001 16724 fi 16002 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16003 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16726 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16004 16727 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16005 16728 CFLAGS="$xorg_testset_save_CFLAGS" 16006 16729 fi ··· 16010 16733 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16011 16734 fi 16012 16735 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16013 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16014 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16015 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16016 - $as_echo_n "(cached) " >&6 16017 - else 16736 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16737 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16738 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16739 + then : 16740 + printf %s "(cached) " >&6 16741 + else $as_nop 16018 16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16019 16743 /* end confdefs.h. */ 16020 16744 int i; 16021 16745 _ACEOF 16022 - if ac_fn_c_try_compile "$LINENO"; then : 16746 + if ac_fn_c_try_compile "$LINENO" 16747 + then : 16023 16748 xorg_cv_cc_flag_unused_command_line_argument=yes 16024 - else 16749 + else $as_nop 16025 16750 xorg_cv_cc_flag_unused_command_line_argument=no 16026 16751 fi 16027 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16752 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16028 16753 fi 16029 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16030 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16754 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16755 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16031 16756 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16032 16757 CFLAGS="$xorg_testset_save_CFLAGS" 16033 16758 fi ··· 16045 16770 16046 16771 CFLAGS="$CFLAGS -Wsequence-point" 16047 16772 16048 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 16049 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 16773 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 16774 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 16050 16775 cacheid=xorg_cv_cc_flag__Wsequence_point 16051 - if eval \${$cacheid+:} false; then : 16052 - $as_echo_n "(cached) " >&6 16053 - else 16776 + if eval test \${$cacheid+y} 16777 + then : 16778 + printf %s "(cached) " >&6 16779 + else $as_nop 16054 16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16055 16781 /* end confdefs.h. */ 16056 16782 int i; 16057 16783 int 16058 - main () 16784 + main (void) 16059 16785 { 16060 16786 16061 16787 ; 16062 16788 return 0; 16063 16789 } 16064 16790 _ACEOF 16065 - if ac_fn_c_try_link "$LINENO"; then : 16791 + if ac_fn_c_try_link "$LINENO" 16792 + then : 16066 16793 eval $cacheid=yes 16067 - else 16794 + else $as_nop 16068 16795 eval $cacheid=no 16069 16796 fi 16070 - rm -f core conftest.err conftest.$ac_objext \ 16797 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16071 16798 conftest$ac_exeext conftest.$ac_ext 16072 16799 fi 16073 16800 ··· 16075 16802 CFLAGS="$xorg_testset_save_CFLAGS" 16076 16803 16077 16804 eval supported=\$$cacheid 16078 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16079 - $as_echo "$supported" >&6; } 16805 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16806 + printf "%s\n" "$supported" >&6; } 16080 16807 if test "$supported" = "yes" ; then 16081 16808 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 16082 16809 found="yes" ··· 16101 16828 16102 16829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16103 16830 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16104 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16105 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16106 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16107 - $as_echo_n "(cached) " >&6 16108 - else 16831 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16832 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16833 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16834 + then : 16835 + printf %s "(cached) " >&6 16836 + else $as_nop 16109 16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16110 16838 /* end confdefs.h. */ 16111 16839 int i; 16112 16840 _ACEOF 16113 - if ac_fn_c_try_compile "$LINENO"; then : 16841 + if ac_fn_c_try_compile "$LINENO" 16842 + then : 16114 16843 xorg_cv_cc_flag_unknown_warning_option=yes 16115 - else 16844 + else $as_nop 16116 16845 xorg_cv_cc_flag_unknown_warning_option=no 16117 16846 fi 16118 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16847 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16119 16848 fi 16120 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16121 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16850 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16122 16851 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16123 16852 CFLAGS="$xorg_testset_save_CFLAGS" 16124 16853 fi ··· 16128 16857 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16129 16858 fi 16130 16859 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16131 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16132 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16133 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16134 - $as_echo_n "(cached) " >&6 16135 - else 16860 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16861 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16862 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16863 + then : 16864 + printf %s "(cached) " >&6 16865 + else $as_nop 16136 16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16137 16867 /* end confdefs.h. */ 16138 16868 int i; 16139 16869 _ACEOF 16140 - if ac_fn_c_try_compile "$LINENO"; then : 16870 + if ac_fn_c_try_compile "$LINENO" 16871 + then : 16141 16872 xorg_cv_cc_flag_unused_command_line_argument=yes 16142 - else 16873 + else $as_nop 16143 16874 xorg_cv_cc_flag_unused_command_line_argument=no 16144 16875 fi 16145 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16876 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16146 16877 fi 16147 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16148 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16878 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16879 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16149 16880 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16150 16881 CFLAGS="$xorg_testset_save_CFLAGS" 16151 16882 fi ··· 16163 16894 16164 16895 CFLAGS="$CFLAGS -Wreturn-type" 16165 16896 16166 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 16167 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 16897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 16898 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 16168 16899 cacheid=xorg_cv_cc_flag__Wreturn_type 16169 - if eval \${$cacheid+:} false; then : 16170 - $as_echo_n "(cached) " >&6 16171 - else 16900 + if eval test \${$cacheid+y} 16901 + then : 16902 + printf %s "(cached) " >&6 16903 + else $as_nop 16172 16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16173 16905 /* end confdefs.h. */ 16174 16906 int i; 16175 16907 int 16176 - main () 16908 + main (void) 16177 16909 { 16178 16910 16179 16911 ; 16180 16912 return 0; 16181 16913 } 16182 16914 _ACEOF 16183 - if ac_fn_c_try_link "$LINENO"; then : 16915 + if ac_fn_c_try_link "$LINENO" 16916 + then : 16184 16917 eval $cacheid=yes 16185 - else 16918 + else $as_nop 16186 16919 eval $cacheid=no 16187 16920 fi 16188 - rm -f core conftest.err conftest.$ac_objext \ 16921 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16189 16922 conftest$ac_exeext conftest.$ac_ext 16190 16923 fi 16191 16924 ··· 16193 16926 CFLAGS="$xorg_testset_save_CFLAGS" 16194 16927 16195 16928 eval supported=\$$cacheid 16196 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16197 - $as_echo "$supported" >&6; } 16929 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16930 + printf "%s\n" "$supported" >&6; } 16198 16931 if test "$supported" = "yes" ; then 16199 16932 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 16200 16933 found="yes" ··· 16219 16952 16220 16953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16221 16954 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16222 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16223 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16224 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16225 - $as_echo_n "(cached) " >&6 16226 - else 16955 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16956 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16957 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16958 + then : 16959 + printf %s "(cached) " >&6 16960 + else $as_nop 16227 16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16228 16962 /* end confdefs.h. */ 16229 16963 int i; 16230 16964 _ACEOF 16231 - if ac_fn_c_try_compile "$LINENO"; then : 16965 + if ac_fn_c_try_compile "$LINENO" 16966 + then : 16232 16967 xorg_cv_cc_flag_unknown_warning_option=yes 16233 - else 16968 + else $as_nop 16234 16969 xorg_cv_cc_flag_unknown_warning_option=no 16235 16970 fi 16236 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16971 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16237 16972 fi 16238 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16239 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16974 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16240 16975 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16241 16976 CFLAGS="$xorg_testset_save_CFLAGS" 16242 16977 fi ··· 16246 16981 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16247 16982 fi 16248 16983 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16249 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16250 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16251 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16252 - $as_echo_n "(cached) " >&6 16253 - else 16984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16985 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16986 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16987 + then : 16988 + printf %s "(cached) " >&6 16989 + else $as_nop 16254 16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16255 16991 /* end confdefs.h. */ 16256 16992 int i; 16257 16993 _ACEOF 16258 - if ac_fn_c_try_compile "$LINENO"; then : 16994 + if ac_fn_c_try_compile "$LINENO" 16995 + then : 16259 16996 xorg_cv_cc_flag_unused_command_line_argument=yes 16260 - else 16997 + else $as_nop 16261 16998 xorg_cv_cc_flag_unused_command_line_argument=no 16262 16999 fi 16263 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17000 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16264 17001 fi 16265 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16266 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17002 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17003 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16267 17004 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16268 17005 CFLAGS="$xorg_testset_save_CFLAGS" 16269 17006 fi ··· 16281 17018 16282 17019 CFLAGS="$CFLAGS -Wtrigraphs" 16283 17020 16284 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 16285 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 17021 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 17022 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 16286 17023 cacheid=xorg_cv_cc_flag__Wtrigraphs 16287 - if eval \${$cacheid+:} false; then : 16288 - $as_echo_n "(cached) " >&6 16289 - else 17024 + if eval test \${$cacheid+y} 17025 + then : 17026 + printf %s "(cached) " >&6 17027 + else $as_nop 16290 17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16291 17029 /* end confdefs.h. */ 16292 17030 int i; 16293 17031 int 16294 - main () 17032 + main (void) 16295 17033 { 16296 17034 16297 17035 ; 16298 17036 return 0; 16299 17037 } 16300 17038 _ACEOF 16301 - if ac_fn_c_try_link "$LINENO"; then : 17039 + if ac_fn_c_try_link "$LINENO" 17040 + then : 16302 17041 eval $cacheid=yes 16303 - else 17042 + else $as_nop 16304 17043 eval $cacheid=no 16305 17044 fi 16306 - rm -f core conftest.err conftest.$ac_objext \ 17045 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16307 17046 conftest$ac_exeext conftest.$ac_ext 16308 17047 fi 16309 17048 ··· 16311 17050 CFLAGS="$xorg_testset_save_CFLAGS" 16312 17051 16313 17052 eval supported=\$$cacheid 16314 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16315 - $as_echo "$supported" >&6; } 17053 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17054 + printf "%s\n" "$supported" >&6; } 16316 17055 if test "$supported" = "yes" ; then 16317 17056 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 16318 17057 found="yes" ··· 16337 17076 16338 17077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16339 17078 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16340 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16341 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16342 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16343 - $as_echo_n "(cached) " >&6 16344 - else 17079 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17080 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17081 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17082 + then : 17083 + printf %s "(cached) " >&6 17084 + else $as_nop 16345 17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16346 17086 /* end confdefs.h. */ 16347 17087 int i; 16348 17088 _ACEOF 16349 - if ac_fn_c_try_compile "$LINENO"; then : 17089 + if ac_fn_c_try_compile "$LINENO" 17090 + then : 16350 17091 xorg_cv_cc_flag_unknown_warning_option=yes 16351 - else 17092 + else $as_nop 16352 17093 xorg_cv_cc_flag_unknown_warning_option=no 16353 17094 fi 16354 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17095 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16355 17096 fi 16356 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16357 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17098 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16358 17099 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16359 17100 CFLAGS="$xorg_testset_save_CFLAGS" 16360 17101 fi ··· 16364 17105 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16365 17106 fi 16366 17107 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16367 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16368 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16369 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16370 - $as_echo_n "(cached) " >&6 16371 - else 17108 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17109 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17110 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17111 + then : 17112 + printf %s "(cached) " >&6 17113 + else $as_nop 16372 17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16373 17115 /* end confdefs.h. */ 16374 17116 int i; 16375 17117 _ACEOF 16376 - if ac_fn_c_try_compile "$LINENO"; then : 17118 + if ac_fn_c_try_compile "$LINENO" 17119 + then : 16377 17120 xorg_cv_cc_flag_unused_command_line_argument=yes 16378 - else 17121 + else $as_nop 16379 17122 xorg_cv_cc_flag_unused_command_line_argument=no 16380 17123 fi 16381 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17124 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16382 17125 fi 16383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16384 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17126 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17127 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16385 17128 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16386 17129 CFLAGS="$xorg_testset_save_CFLAGS" 16387 17130 fi ··· 16399 17142 16400 17143 CFLAGS="$CFLAGS -Warray-bounds" 16401 17144 16402 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 16403 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 17145 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 17146 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 16404 17147 cacheid=xorg_cv_cc_flag__Warray_bounds 16405 - if eval \${$cacheid+:} false; then : 16406 - $as_echo_n "(cached) " >&6 16407 - else 17148 + if eval test \${$cacheid+y} 17149 + then : 17150 + printf %s "(cached) " >&6 17151 + else $as_nop 16408 17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16409 17153 /* end confdefs.h. */ 16410 17154 int i; 16411 17155 int 16412 - main () 17156 + main (void) 16413 17157 { 16414 17158 16415 17159 ; 16416 17160 return 0; 16417 17161 } 16418 17162 _ACEOF 16419 - if ac_fn_c_try_link "$LINENO"; then : 17163 + if ac_fn_c_try_link "$LINENO" 17164 + then : 16420 17165 eval $cacheid=yes 16421 - else 17166 + else $as_nop 16422 17167 eval $cacheid=no 16423 17168 fi 16424 - rm -f core conftest.err conftest.$ac_objext \ 17169 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16425 17170 conftest$ac_exeext conftest.$ac_ext 16426 17171 fi 16427 17172 ··· 16429 17174 CFLAGS="$xorg_testset_save_CFLAGS" 16430 17175 16431 17176 eval supported=\$$cacheid 16432 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16433 - $as_echo "$supported" >&6; } 17177 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17178 + printf "%s\n" "$supported" >&6; } 16434 17179 if test "$supported" = "yes" ; then 16435 17180 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 16436 17181 found="yes" ··· 16455 17200 16456 17201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16457 17202 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16458 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16459 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16460 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16461 - $as_echo_n "(cached) " >&6 16462 - else 17203 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17204 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17205 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17206 + then : 17207 + printf %s "(cached) " >&6 17208 + else $as_nop 16463 17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16464 17210 /* end confdefs.h. */ 16465 17211 int i; 16466 17212 _ACEOF 16467 - if ac_fn_c_try_compile "$LINENO"; then : 17213 + if ac_fn_c_try_compile "$LINENO" 17214 + then : 16468 17215 xorg_cv_cc_flag_unknown_warning_option=yes 16469 - else 17216 + else $as_nop 16470 17217 xorg_cv_cc_flag_unknown_warning_option=no 16471 17218 fi 16472 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17219 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16473 17220 fi 16474 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16475 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17222 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16476 17223 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16477 17224 CFLAGS="$xorg_testset_save_CFLAGS" 16478 17225 fi ··· 16482 17229 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16483 17230 fi 16484 17231 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16485 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16486 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16487 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16488 - $as_echo_n "(cached) " >&6 16489 - else 17232 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17233 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17234 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17235 + then : 17236 + printf %s "(cached) " >&6 17237 + else $as_nop 16490 17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16491 17239 /* end confdefs.h. */ 16492 17240 int i; 16493 17241 _ACEOF 16494 - if ac_fn_c_try_compile "$LINENO"; then : 17242 + if ac_fn_c_try_compile "$LINENO" 17243 + then : 16495 17244 xorg_cv_cc_flag_unused_command_line_argument=yes 16496 - else 17245 + else $as_nop 16497 17246 xorg_cv_cc_flag_unused_command_line_argument=no 16498 17247 fi 16499 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17248 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16500 17249 fi 16501 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16502 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17250 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17251 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16503 17252 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16504 17253 CFLAGS="$xorg_testset_save_CFLAGS" 16505 17254 fi ··· 16517 17266 16518 17267 CFLAGS="$CFLAGS -Wwrite-strings" 16519 17268 16520 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 16521 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 17269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 17270 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 16522 17271 cacheid=xorg_cv_cc_flag__Wwrite_strings 16523 - if eval \${$cacheid+:} false; then : 16524 - $as_echo_n "(cached) " >&6 16525 - else 17272 + if eval test \${$cacheid+y} 17273 + then : 17274 + printf %s "(cached) " >&6 17275 + else $as_nop 16526 17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16527 17277 /* end confdefs.h. */ 16528 17278 int i; 16529 17279 int 16530 - main () 17280 + main (void) 16531 17281 { 16532 17282 16533 17283 ; 16534 17284 return 0; 16535 17285 } 16536 17286 _ACEOF 16537 - if ac_fn_c_try_link "$LINENO"; then : 17287 + if ac_fn_c_try_link "$LINENO" 17288 + then : 16538 17289 eval $cacheid=yes 16539 - else 17290 + else $as_nop 16540 17291 eval $cacheid=no 16541 17292 fi 16542 - rm -f core conftest.err conftest.$ac_objext \ 17293 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16543 17294 conftest$ac_exeext conftest.$ac_ext 16544 17295 fi 16545 17296 ··· 16547 17298 CFLAGS="$xorg_testset_save_CFLAGS" 16548 17299 16549 17300 eval supported=\$$cacheid 16550 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16551 - $as_echo "$supported" >&6; } 17301 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17302 + printf "%s\n" "$supported" >&6; } 16552 17303 if test "$supported" = "yes" ; then 16553 17304 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 16554 17305 found="yes" ··· 16573 17324 16574 17325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16575 17326 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16576 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16577 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16578 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16579 - $as_echo_n "(cached) " >&6 16580 - else 17327 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17328 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17329 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17330 + then : 17331 + printf %s "(cached) " >&6 17332 + else $as_nop 16581 17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16582 17334 /* end confdefs.h. */ 16583 17335 int i; 16584 17336 _ACEOF 16585 - if ac_fn_c_try_compile "$LINENO"; then : 17337 + if ac_fn_c_try_compile "$LINENO" 17338 + then : 16586 17339 xorg_cv_cc_flag_unknown_warning_option=yes 16587 - else 17340 + else $as_nop 16588 17341 xorg_cv_cc_flag_unknown_warning_option=no 16589 17342 fi 16590 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17343 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16591 17344 fi 16592 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16593 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17345 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17346 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16594 17347 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16595 17348 CFLAGS="$xorg_testset_save_CFLAGS" 16596 17349 fi ··· 16600 17353 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16601 17354 fi 16602 17355 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16603 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16604 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16605 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16606 - $as_echo_n "(cached) " >&6 16607 - else 17356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17357 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17358 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17359 + then : 17360 + printf %s "(cached) " >&6 17361 + else $as_nop 16608 17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16609 17363 /* end confdefs.h. */ 16610 17364 int i; 16611 17365 _ACEOF 16612 - if ac_fn_c_try_compile "$LINENO"; then : 17366 + if ac_fn_c_try_compile "$LINENO" 17367 + then : 16613 17368 xorg_cv_cc_flag_unused_command_line_argument=yes 16614 - else 17369 + else $as_nop 16615 17370 xorg_cv_cc_flag_unused_command_line_argument=no 16616 17371 fi 16617 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17372 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16618 17373 fi 16619 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16620 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17374 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17375 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16621 17376 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16622 17377 CFLAGS="$xorg_testset_save_CFLAGS" 16623 17378 fi ··· 16635 17390 16636 17391 CFLAGS="$CFLAGS -Waddress" 16637 17392 16638 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 16639 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 17393 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 17394 + printf %s "checking if $CC supports -Waddress... " >&6; } 16640 17395 cacheid=xorg_cv_cc_flag__Waddress 16641 - if eval \${$cacheid+:} false; then : 16642 - $as_echo_n "(cached) " >&6 16643 - else 17396 + if eval test \${$cacheid+y} 17397 + then : 17398 + printf %s "(cached) " >&6 17399 + else $as_nop 16644 17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16645 17401 /* end confdefs.h. */ 16646 17402 int i; 16647 17403 int 16648 - main () 17404 + main (void) 16649 17405 { 16650 17406 16651 17407 ; 16652 17408 return 0; 16653 17409 } 16654 17410 _ACEOF 16655 - if ac_fn_c_try_link "$LINENO"; then : 17411 + if ac_fn_c_try_link "$LINENO" 17412 + then : 16656 17413 eval $cacheid=yes 16657 - else 17414 + else $as_nop 16658 17415 eval $cacheid=no 16659 17416 fi 16660 - rm -f core conftest.err conftest.$ac_objext \ 17417 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16661 17418 conftest$ac_exeext conftest.$ac_ext 16662 17419 fi 16663 17420 ··· 16665 17422 CFLAGS="$xorg_testset_save_CFLAGS" 16666 17423 16667 17424 eval supported=\$$cacheid 16668 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16669 - $as_echo "$supported" >&6; } 17425 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17426 + printf "%s\n" "$supported" >&6; } 16670 17427 if test "$supported" = "yes" ; then 16671 17428 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 16672 17429 found="yes" ··· 16691 17448 16692 17449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16693 17450 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16694 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16695 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16696 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16697 - $as_echo_n "(cached) " >&6 16698 - else 17451 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17452 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17453 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17454 + then : 17455 + printf %s "(cached) " >&6 17456 + else $as_nop 16699 17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16700 17458 /* end confdefs.h. */ 16701 17459 int i; 16702 17460 _ACEOF 16703 - if ac_fn_c_try_compile "$LINENO"; then : 17461 + if ac_fn_c_try_compile "$LINENO" 17462 + then : 16704 17463 xorg_cv_cc_flag_unknown_warning_option=yes 16705 - else 17464 + else $as_nop 16706 17465 xorg_cv_cc_flag_unknown_warning_option=no 16707 17466 fi 16708 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17467 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16709 17468 fi 16710 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16711 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17469 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17470 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16712 17471 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16713 17472 CFLAGS="$xorg_testset_save_CFLAGS" 16714 17473 fi ··· 16718 17477 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16719 17478 fi 16720 17479 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16721 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16722 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16723 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16724 - $as_echo_n "(cached) " >&6 16725 - else 17480 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17481 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17482 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17483 + then : 17484 + printf %s "(cached) " >&6 17485 + else $as_nop 16726 17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16727 17487 /* end confdefs.h. */ 16728 17488 int i; 16729 17489 _ACEOF 16730 - if ac_fn_c_try_compile "$LINENO"; then : 17490 + if ac_fn_c_try_compile "$LINENO" 17491 + then : 16731 17492 xorg_cv_cc_flag_unused_command_line_argument=yes 16732 - else 17493 + else $as_nop 16733 17494 xorg_cv_cc_flag_unused_command_line_argument=no 16734 17495 fi 16735 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17496 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16736 17497 fi 16737 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16738 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17498 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17499 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16739 17500 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16740 17501 CFLAGS="$xorg_testset_save_CFLAGS" 16741 17502 fi ··· 16753 17514 16754 17515 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 16755 17516 16756 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 16757 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 17517 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 17518 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 16758 17519 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 16759 - if eval \${$cacheid+:} false; then : 16760 - $as_echo_n "(cached) " >&6 16761 - else 17520 + if eval test \${$cacheid+y} 17521 + then : 17522 + printf %s "(cached) " >&6 17523 + else $as_nop 16762 17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16763 17525 /* end confdefs.h. */ 16764 17526 int i; 16765 17527 int 16766 - main () 17528 + main (void) 16767 17529 { 16768 17530 16769 17531 ; 16770 17532 return 0; 16771 17533 } 16772 17534 _ACEOF 16773 - if ac_fn_c_try_link "$LINENO"; then : 17535 + if ac_fn_c_try_link "$LINENO" 17536 + then : 16774 17537 eval $cacheid=yes 16775 - else 17538 + else $as_nop 16776 17539 eval $cacheid=no 16777 17540 fi 16778 - rm -f core conftest.err conftest.$ac_objext \ 17541 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16779 17542 conftest$ac_exeext conftest.$ac_ext 16780 17543 fi 16781 17544 ··· 16783 17546 CFLAGS="$xorg_testset_save_CFLAGS" 16784 17547 16785 17548 eval supported=\$$cacheid 16786 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16787 - $as_echo "$supported" >&6; } 17549 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17550 + printf "%s\n" "$supported" >&6; } 16788 17551 if test "$supported" = "yes" ; then 16789 17552 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 16790 17553 found="yes" ··· 16809 17572 16810 17573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16811 17574 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16812 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16813 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16814 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16815 - $as_echo_n "(cached) " >&6 16816 - else 17575 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17576 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17577 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17578 + then : 17579 + printf %s "(cached) " >&6 17580 + else $as_nop 16817 17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16818 17582 /* end confdefs.h. */ 16819 17583 int i; 16820 17584 _ACEOF 16821 - if ac_fn_c_try_compile "$LINENO"; then : 17585 + if ac_fn_c_try_compile "$LINENO" 17586 + then : 16822 17587 xorg_cv_cc_flag_unknown_warning_option=yes 16823 - else 17588 + else $as_nop 16824 17589 xorg_cv_cc_flag_unknown_warning_option=no 16825 17590 fi 16826 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17591 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16827 17592 fi 16828 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16829 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17594 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16830 17595 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16831 17596 CFLAGS="$xorg_testset_save_CFLAGS" 16832 17597 fi ··· 16836 17601 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16837 17602 fi 16838 17603 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16839 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16840 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16841 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16842 - $as_echo_n "(cached) " >&6 16843 - else 17604 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17605 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17606 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17607 + then : 17608 + printf %s "(cached) " >&6 17609 + else $as_nop 16844 17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16845 17611 /* end confdefs.h. */ 16846 17612 int i; 16847 17613 _ACEOF 16848 - if ac_fn_c_try_compile "$LINENO"; then : 17614 + if ac_fn_c_try_compile "$LINENO" 17615 + then : 16849 17616 xorg_cv_cc_flag_unused_command_line_argument=yes 16850 - else 17617 + else $as_nop 16851 17618 xorg_cv_cc_flag_unused_command_line_argument=no 16852 17619 fi 16853 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17620 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16854 17621 fi 16855 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16856 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17622 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17623 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16857 17624 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16858 17625 CFLAGS="$xorg_testset_save_CFLAGS" 16859 17626 fi ··· 16871 17638 16872 17639 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 16873 17640 16874 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 16875 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 17641 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 17642 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 16876 17643 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 16877 - if eval \${$cacheid+:} false; then : 16878 - $as_echo_n "(cached) " >&6 16879 - else 17644 + if eval test \${$cacheid+y} 17645 + then : 17646 + printf %s "(cached) " >&6 17647 + else $as_nop 16880 17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16881 17649 /* end confdefs.h. */ 16882 17650 int i; 16883 17651 int 16884 - main () 17652 + main (void) 16885 17653 { 16886 17654 16887 17655 ; 16888 17656 return 0; 16889 17657 } 16890 17658 _ACEOF 16891 - if ac_fn_c_try_link "$LINENO"; then : 17659 + if ac_fn_c_try_link "$LINENO" 17660 + then : 16892 17661 eval $cacheid=yes 16893 - else 17662 + else $as_nop 16894 17663 eval $cacheid=no 16895 17664 fi 16896 - rm -f core conftest.err conftest.$ac_objext \ 17665 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16897 17666 conftest$ac_exeext conftest.$ac_ext 16898 17667 fi 16899 17668 ··· 16901 17670 CFLAGS="$xorg_testset_save_CFLAGS" 16902 17671 16903 17672 eval supported=\$$cacheid 16904 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16905 - $as_echo "$supported" >&6; } 17673 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17674 + printf "%s\n" "$supported" >&6; } 16906 17675 if test "$supported" = "yes" ; then 16907 17676 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 16908 17677 found="yes" ··· 16931 17700 16932 17701 16933 17702 # Check whether --enable-strict-compilation was given. 16934 - if test "${enable_strict_compilation+set}" = set; then : 17703 + if test ${enable_strict_compilation+y} 17704 + then : 16935 17705 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 16936 - else 17706 + else $as_nop 16937 17707 STRICT_COMPILE=no 16938 17708 fi 16939 17709 ··· 16960 17730 16961 17731 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16962 17732 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16963 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16964 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16965 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16966 - $as_echo_n "(cached) " >&6 16967 - else 17733 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17734 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17735 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17736 + then : 17737 + printf %s "(cached) " >&6 17738 + else $as_nop 16968 17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16969 17740 /* end confdefs.h. */ 16970 17741 int i; 16971 17742 _ACEOF 16972 - if ac_fn_c_try_compile "$LINENO"; then : 17743 + if ac_fn_c_try_compile "$LINENO" 17744 + then : 16973 17745 xorg_cv_cc_flag_unknown_warning_option=yes 16974 - else 17746 + else $as_nop 16975 17747 xorg_cv_cc_flag_unknown_warning_option=no 16976 17748 fi 16977 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17749 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16978 17750 fi 16979 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16980 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17752 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16981 17753 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16982 17754 CFLAGS="$xorg_testset_save_CFLAGS" 16983 17755 fi ··· 16987 17759 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16988 17760 fi 16989 17761 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16990 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16991 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16992 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16993 - $as_echo_n "(cached) " >&6 16994 - else 17762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17763 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17764 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17765 + then : 17766 + printf %s "(cached) " >&6 17767 + else $as_nop 16995 17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16996 17769 /* end confdefs.h. */ 16997 17770 int i; 16998 17771 _ACEOF 16999 - if ac_fn_c_try_compile "$LINENO"; then : 17772 + if ac_fn_c_try_compile "$LINENO" 17773 + then : 17000 17774 xorg_cv_cc_flag_unused_command_line_argument=yes 17001 - else 17775 + else $as_nop 17002 17776 xorg_cv_cc_flag_unused_command_line_argument=no 17003 17777 fi 17004 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17778 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17005 17779 fi 17006 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17007 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17780 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17781 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17008 17782 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17009 17783 CFLAGS="$xorg_testset_save_CFLAGS" 17010 17784 fi ··· 17022 17796 17023 17797 CFLAGS="$CFLAGS -pedantic" 17024 17798 17025 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 17026 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 17799 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 17800 + printf %s "checking if $CC supports -pedantic... " >&6; } 17027 17801 cacheid=xorg_cv_cc_flag__pedantic 17028 - if eval \${$cacheid+:} false; then : 17029 - $as_echo_n "(cached) " >&6 17030 - else 17802 + if eval test \${$cacheid+y} 17803 + then : 17804 + printf %s "(cached) " >&6 17805 + else $as_nop 17031 17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17032 17807 /* end confdefs.h. */ 17033 17808 int i; 17034 17809 int 17035 - main () 17810 + main (void) 17036 17811 { 17037 17812 17038 17813 ; 17039 17814 return 0; 17040 17815 } 17041 17816 _ACEOF 17042 - if ac_fn_c_try_link "$LINENO"; then : 17817 + if ac_fn_c_try_link "$LINENO" 17818 + then : 17043 17819 eval $cacheid=yes 17044 - else 17820 + else $as_nop 17045 17821 eval $cacheid=no 17046 17822 fi 17047 - rm -f core conftest.err conftest.$ac_objext \ 17823 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17048 17824 conftest$ac_exeext conftest.$ac_ext 17049 17825 fi 17050 17826 ··· 17052 17828 CFLAGS="$xorg_testset_save_CFLAGS" 17053 17829 17054 17830 eval supported=\$$cacheid 17055 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17056 - $as_echo "$supported" >&6; } 17831 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17832 + printf "%s\n" "$supported" >&6; } 17057 17833 if test "$supported" = "yes" ; then 17058 17834 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 17059 17835 found="yes" ··· 17078 17854 17079 17855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 17080 17856 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17081 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17082 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17083 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 17084 - $as_echo_n "(cached) " >&6 17085 - else 17857 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17858 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17859 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17860 + then : 17861 + printf %s "(cached) " >&6 17862 + else $as_nop 17086 17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17087 17864 /* end confdefs.h. */ 17088 17865 int i; 17089 17866 _ACEOF 17090 - if ac_fn_c_try_compile "$LINENO"; then : 17867 + if ac_fn_c_try_compile "$LINENO" 17868 + then : 17091 17869 xorg_cv_cc_flag_unknown_warning_option=yes 17092 - else 17870 + else $as_nop 17093 17871 xorg_cv_cc_flag_unknown_warning_option=no 17094 17872 fi 17095 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17873 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17096 17874 fi 17097 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17098 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17875 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17876 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17099 17877 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 17100 17878 CFLAGS="$xorg_testset_save_CFLAGS" 17101 17879 fi ··· 17105 17883 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17106 17884 fi 17107 17885 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17108 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17109 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17110 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17111 - $as_echo_n "(cached) " >&6 17112 - else 17886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17887 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17888 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17889 + then : 17890 + printf %s "(cached) " >&6 17891 + else $as_nop 17113 17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17114 17893 /* end confdefs.h. */ 17115 17894 int i; 17116 17895 _ACEOF 17117 - if ac_fn_c_try_compile "$LINENO"; then : 17896 + if ac_fn_c_try_compile "$LINENO" 17897 + then : 17118 17898 xorg_cv_cc_flag_unused_command_line_argument=yes 17119 - else 17899 + else $as_nop 17120 17900 xorg_cv_cc_flag_unused_command_line_argument=no 17121 17901 fi 17122 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17902 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17123 17903 fi 17124 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17125 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17904 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17905 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17126 17906 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17127 17907 CFLAGS="$xorg_testset_save_CFLAGS" 17128 17908 fi ··· 17140 17920 17141 17921 CFLAGS="$CFLAGS -Werror" 17142 17922 17143 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 17144 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 17923 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 17924 + printf %s "checking if $CC supports -Werror... " >&6; } 17145 17925 cacheid=xorg_cv_cc_flag__Werror 17146 - if eval \${$cacheid+:} false; then : 17147 - $as_echo_n "(cached) " >&6 17148 - else 17926 + if eval test \${$cacheid+y} 17927 + then : 17928 + printf %s "(cached) " >&6 17929 + else $as_nop 17149 17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17150 17931 /* end confdefs.h. */ 17151 17932 int i; 17152 17933 int 17153 - main () 17934 + main (void) 17154 17935 { 17155 17936 17156 17937 ; 17157 17938 return 0; 17158 17939 } 17159 17940 _ACEOF 17160 - if ac_fn_c_try_link "$LINENO"; then : 17941 + if ac_fn_c_try_link "$LINENO" 17942 + then : 17161 17943 eval $cacheid=yes 17162 - else 17944 + else $as_nop 17163 17945 eval $cacheid=no 17164 17946 fi 17165 - rm -f core conftest.err conftest.$ac_objext \ 17947 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17166 17948 conftest$ac_exeext conftest.$ac_ext 17167 17949 fi 17168 17950 ··· 17170 17952 CFLAGS="$xorg_testset_save_CFLAGS" 17171 17953 17172 17954 eval supported=\$$cacheid 17173 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17174 - $as_echo "$supported" >&6; } 17955 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17956 + printf "%s\n" "$supported" >&6; } 17175 17957 if test "$supported" = "yes" ; then 17176 17958 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 17177 17959 found="yes" ··· 17189 17971 17190 17972 CFLAGS="$CFLAGS -errwarn" 17191 17973 17192 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 17193 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 17974 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 17975 + printf %s "checking if $CC supports -errwarn... " >&6; } 17194 17976 cacheid=xorg_cv_cc_flag__errwarn 17195 - if eval \${$cacheid+:} false; then : 17196 - $as_echo_n "(cached) " >&6 17197 - else 17977 + if eval test \${$cacheid+y} 17978 + then : 17979 + printf %s "(cached) " >&6 17980 + else $as_nop 17198 17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17199 17982 /* end confdefs.h. */ 17200 17983 int i; 17201 17984 int 17202 - main () 17985 + main (void) 17203 17986 { 17204 17987 17205 17988 ; 17206 17989 return 0; 17207 17990 } 17208 17991 _ACEOF 17209 - if ac_fn_c_try_link "$LINENO"; then : 17992 + if ac_fn_c_try_link "$LINENO" 17993 + then : 17210 17994 eval $cacheid=yes 17211 - else 17995 + else $as_nop 17212 17996 eval $cacheid=no 17213 17997 fi 17214 - rm -f core conftest.err conftest.$ac_objext \ 17998 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17215 17999 conftest$ac_exeext conftest.$ac_ext 17216 18000 fi 17217 18001 ··· 17219 18003 CFLAGS="$xorg_testset_save_CFLAGS" 17220 18004 17221 18005 eval supported=\$$cacheid 17222 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17223 - $as_echo "$supported" >&6; } 18006 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 18007 + printf "%s\n" "$supported" >&6; } 17224 18008 if test "$supported" = "yes" ; then 17225 18009 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 17226 18010 found="yes" ··· 17248 18032 17249 18033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 17250 18034 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17251 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17252 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17253 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 17254 - $as_echo_n "(cached) " >&6 17255 - else 18035 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 18036 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 18037 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 18038 + then : 18039 + printf %s "(cached) " >&6 18040 + else $as_nop 17256 18041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17257 18042 /* end confdefs.h. */ 17258 18043 int i; 17259 18044 _ACEOF 17260 - if ac_fn_c_try_compile "$LINENO"; then : 18045 + if ac_fn_c_try_compile "$LINENO" 18046 + then : 17261 18047 xorg_cv_cc_flag_unknown_warning_option=yes 17262 - else 18048 + else $as_nop 17263 18049 xorg_cv_cc_flag_unknown_warning_option=no 17264 18050 fi 17265 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18051 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17266 18052 fi 17267 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17268 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 18053 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 18054 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17269 18055 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 17270 18056 CFLAGS="$xorg_testset_save_CFLAGS" 17271 18057 fi ··· 17275 18061 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17276 18062 fi 17277 18063 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17278 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17279 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17280 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17281 - $as_echo_n "(cached) " >&6 17282 - else 18064 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 18065 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 18066 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 18067 + then : 18068 + printf %s "(cached) " >&6 18069 + else $as_nop 17283 18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17284 18071 /* end confdefs.h. */ 17285 18072 int i; 17286 18073 _ACEOF 17287 - if ac_fn_c_try_compile "$LINENO"; then : 18074 + if ac_fn_c_try_compile "$LINENO" 18075 + then : 17288 18076 xorg_cv_cc_flag_unused_command_line_argument=yes 17289 - else 18077 + else $as_nop 17290 18078 xorg_cv_cc_flag_unused_command_line_argument=no 17291 18079 fi 17292 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18080 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17293 18081 fi 17294 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17295 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 18082 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 18083 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17296 18084 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17297 18085 CFLAGS="$xorg_testset_save_CFLAGS" 17298 18086 fi ··· 17310 18098 17311 18099 CFLAGS="$CFLAGS -Werror=attributes" 17312 18100 17313 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 17314 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 18101 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 18102 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 17315 18103 cacheid=xorg_cv_cc_flag__Werror_attributes 17316 - if eval \${$cacheid+:} false; then : 17317 - $as_echo_n "(cached) " >&6 17318 - else 18104 + if eval test \${$cacheid+y} 18105 + then : 18106 + printf %s "(cached) " >&6 18107 + else $as_nop 17319 18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17320 18109 /* end confdefs.h. */ 17321 18110 int i; 17322 18111 int 17323 - main () 18112 + main (void) 17324 18113 { 17325 18114 17326 18115 ; 17327 18116 return 0; 17328 18117 } 17329 18118 _ACEOF 17330 - if ac_fn_c_try_link "$LINENO"; then : 18119 + if ac_fn_c_try_link "$LINENO" 18120 + then : 17331 18121 eval $cacheid=yes 17332 - else 18122 + else $as_nop 17333 18123 eval $cacheid=no 17334 18124 fi 17335 - rm -f core conftest.err conftest.$ac_objext \ 18125 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17336 18126 conftest$ac_exeext conftest.$ac_ext 17337 18127 fi 17338 18128 ··· 17340 18130 CFLAGS="$xorg_testset_save_CFLAGS" 17341 18131 17342 18132 eval supported=\$$cacheid 17343 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17344 - $as_echo "$supported" >&6; } 18133 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 18134 + printf "%s\n" "$supported" >&6; } 17345 18135 if test "$supported" = "yes" ; then 17346 18136 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 17347 18137 found="yes" ··· 17354 18144 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS" 17355 18145 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 17356 18146 fi 18147 + 17357 18148 17358 18149 17359 18150 17360 18151 17361 18152 17362 18153 18154 + 17363 18155 cat >>confdefs.h <<_ACEOF 17364 18156 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 17365 18157 _ACEOF ··· 17369 18161 PVM="0" 17370 18162 fi 17371 18163 17372 - cat >>confdefs.h <<_ACEOF 17373 - #define PACKAGE_VERSION_MINOR $PVM 17374 - _ACEOF 18164 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 17375 18165 17376 18166 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 17377 18167 if test "x$PVP" = "x"; then 17378 18168 PVP="0" 17379 18169 fi 17380 18170 17381 - cat >>confdefs.h <<_ACEOF 17382 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 17383 - _ACEOF 18171 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 17384 18172 17385 18173 17386 18174 ··· 17410 18198 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 17411 18199 # check for a man page file found in later versions that use 17412 18200 # traditional section numbers instead 17413 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 17414 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 17415 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 17416 - $as_echo_n "(cached) " >&6 17417 - else 18201 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 18202 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 18203 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 18204 + then : 18205 + printf %s "(cached) " >&6 18206 + else $as_nop 17418 18207 test "$cross_compiling" = yes && 17419 18208 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17420 18209 if test -r "/usr/share/man/man7/attributes.7"; then ··· 17423 18212 ac_cv_file__usr_share_man_man7_attributes_7=no 17424 18213 fi 17425 18214 fi 17426 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 17427 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 17428 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 18215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 18216 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 18217 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 18218 + then : 17429 18219 SYSV_MAN_SECTIONS=false 17430 - else 18220 + else $as_nop 17431 18221 SYSV_MAN_SECTIONS=true 17432 18222 fi 17433 18223 ··· 17522 18312 17523 18313 17524 18314 # Check whether --enable-silent-rules was given. 17525 - if test "${enable_silent_rules+set}" = set; then : 18315 + if test ${enable_silent_rules+y} 18316 + then : 17526 18317 enableval=$enable_silent_rules; 17527 18318 fi 17528 18319 ··· 17532 18323 *) AM_DEFAULT_VERBOSITY=0;; 17533 18324 esac 17534 18325 am_make=${MAKE-make} 17535 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 17536 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 17537 - if ${am_cv_make_support_nested_variables+:} false; then : 17538 - $as_echo_n "(cached) " >&6 17539 - else 17540 - if $as_echo 'TRUE=$(BAR$(V)) 18326 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 18327 + printf %s "checking whether $am_make supports nested variables... " >&6; } 18328 + if test ${am_cv_make_support_nested_variables+y} 18329 + then : 18330 + printf %s "(cached) " >&6 18331 + else $as_nop 18332 + if printf "%s\n" 'TRUE=$(BAR$(V)) 17541 18333 BAR0=false 17542 18334 BAR1=true 17543 18335 V=1 ··· 17549 18341 am_cv_make_support_nested_variables=no 17550 18342 fi 17551 18343 fi 17552 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 17553 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 18344 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 18345 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 17554 18346 if test $am_cv_make_support_nested_variables = yes; then 17555 18347 AM_V='$(V)' 17556 18348 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 17559 18351 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 17560 18352 fi 17561 18353 AM_BACKSLASH='\' 18354 + 17562 18355 17563 18356 17564 18357 17565 18358 # Check whether --enable-malloc0returnsnull was given. 17566 - if test "${enable_malloc0returnsnull+set}" = set; then : 18359 + if test ${enable_malloc0returnsnull+y} 18360 + then : 17567 18361 enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval 17568 - else 18362 + else $as_nop 17569 18363 MALLOC_ZERO_RETURNS_NULL=auto 17570 18364 fi 17571 18365 17572 18366 17573 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5 17574 - $as_echo_n "checking whether malloc(0) returns NULL... " >&6; } 18367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5 18368 + printf %s "checking whether malloc(0) returns NULL... " >&6; } 17575 18369 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then 17576 - if ${xorg_cv_malloc0_returns_null+:} false; then : 17577 - $as_echo_n "(cached) " >&6 17578 - else 17579 - if test "$cross_compiling" = yes; then : 17580 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17581 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18370 + if test ${xorg_cv_malloc0_returns_null+y} 18371 + then : 18372 + printf %s "(cached) " >&6 18373 + else $as_nop 18374 + if test "$cross_compiling" = yes 18375 + then : 18376 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18377 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17582 18378 as_fn_error $? "cannot run test program while cross compiling 17583 18379 See \`config.log' for more details" "$LINENO" 5; } 17584 - else 18380 + else $as_nop 17585 18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17586 18382 /* end confdefs.h. */ 17587 18383 17588 18384 #include <stdlib.h> 17589 18385 17590 18386 int 17591 - main () 18387 + main (void) 17592 18388 { 17593 18389 17594 18390 char *m0, *r0, *c0, *p; ··· 17602 18398 return 0; 17603 18399 } 17604 18400 _ACEOF 17605 - if ac_fn_c_try_run "$LINENO"; then : 18401 + if ac_fn_c_try_run "$LINENO" 18402 + then : 17606 18403 xorg_cv_malloc0_returns_null=yes 17607 - else 18404 + else $as_nop 17608 18405 xorg_cv_malloc0_returns_null=no 17609 18406 fi 17610 18407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ··· 17615 18412 17616 18413 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null 17617 18414 fi 17618 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5 17619 - $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; } 18415 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5 18416 + printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; } 17620 18417 17621 18418 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then 17622 18419 MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL" ··· 17638 18435 RANDR_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'` 17639 18436 17640 18437 17641 - # Obtain compiler/linker options for depedencies 18438 + # Obtain compiler/linker options for dependencies 17642 18439 17643 18440 pkg_failed=no 17644 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RANDR" >&5 17645 - $as_echo_n "checking for RANDR... " >&6; } 18441 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" >&5 18442 + printf %s "checking for x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto... " >&6; } 17646 18443 17647 18444 if test -n "$RANDR_CFLAGS"; then 17648 18445 pkg_cv_RANDR_CFLAGS="$RANDR_CFLAGS" 17649 18446 elif test -n "$PKG_CONFIG"; then 17650 18447 if test -n "$PKG_CONFIG" && \ 17651 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5 18448 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5 17652 18449 ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5 17653 18450 ac_status=$? 17654 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18451 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17655 18452 test $ac_status = 0; }; then 17656 18453 pkg_cv_RANDR_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null` 17657 18454 test "x$?" != "x0" && pkg_failed=yes ··· 17665 18462 pkg_cv_RANDR_LIBS="$RANDR_LIBS" 17666 18463 elif test -n "$PKG_CONFIG"; then 17667 18464 if test -n "$PKG_CONFIG" && \ 17668 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5 18465 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5 17669 18466 ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5 17670 18467 ac_status=$? 17671 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18468 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17672 18469 test $ac_status = 0; }; then 17673 18470 pkg_cv_RANDR_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null` 17674 18471 test "x$?" != "x0" && pkg_failed=yes ··· 17682 18479 17683 18480 17684 18481 if test $pkg_failed = yes; then 17685 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17686 - $as_echo "no" >&6; } 18482 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18483 + printf "%s\n" "no" >&6; } 17687 18484 17688 18485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17689 18486 _pkg_short_errors_supported=yes ··· 17709 18506 and RANDR_LIBS to avoid the need to call pkg-config. 17710 18507 See the pkg-config man page for more details." "$LINENO" 5 17711 18508 elif test $pkg_failed = untried; then 17712 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17713 - $as_echo "no" >&6; } 17714 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17715 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18509 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18510 + printf "%s\n" "no" >&6; } 18511 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18512 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17716 18513 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 17717 18514 is in your PATH or set the PKG_CONFIG environment variable to the full 17718 18515 path to pkg-config. ··· 17726 18523 else 17727 18524 RANDR_CFLAGS=$pkg_cv_RANDR_CFLAGS 17728 18525 RANDR_LIBS=$pkg_cv_RANDR_LIBS 17729 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17730 - $as_echo "yes" >&6; } 18526 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18527 + printf "%s\n" "yes" >&6; } 17731 18528 17732 18529 fi 17733 18530 ··· 17760 18557 case $ac_val in #( 17761 18558 *${as_nl}*) 17762 18559 case $ac_var in #( 17763 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17764 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18560 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18561 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17765 18562 esac 17766 18563 case $ac_var in #( 17767 18564 _ | IFS | as_nl) ;; #( ··· 17791 18588 /^ac_cv_env_/b end 17792 18589 t clear 17793 18590 :clear 17794 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18591 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 17795 18592 t end 17796 18593 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17797 18594 :end' >>confcache 17798 18595 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17799 18596 if test -w "$cache_file"; then 17800 18597 if test "x$cache_file" != "x/dev/null"; then 17801 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17802 - $as_echo "$as_me: updating cache $cache_file" >&6;} 18598 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18599 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 17803 18600 if test ! -f "$cache_file" || test -h "$cache_file"; then 17804 18601 cat confcache >"$cache_file" 17805 18602 else ··· 17813 18610 fi 17814 18611 fi 17815 18612 else 17816 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17817 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18613 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18614 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 17818 18615 fi 17819 18616 fi 17820 18617 rm -f confcache ··· 17831 18628 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17832 18629 # 1. Remove the extension, and $U if already installed. 17833 18630 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17834 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18631 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 17835 18632 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17836 18633 # will be set to the directory where LIBOBJS objects are built. 17837 18634 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 17842 18639 LTLIBOBJS=$ac_ltlibobjs 17843 18640 17844 18641 17845 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17846 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 18642 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18643 + printf %s "checking that generated files are newer than configure... " >&6; } 17847 18644 if test -n "$am_sleep_pid"; then 17848 18645 # Hide warnings about reused PIDs. 17849 18646 wait $am_sleep_pid 2>/dev/null 17850 18647 fi 17851 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17852 - $as_echo "done" >&6; } 18648 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 18649 + printf "%s\n" "done" >&6; } 17853 18650 if test -n "$EXEEXT"; then 17854 18651 am__EXEEXT_TRUE= 17855 18652 am__EXEEXT_FALSE='#' ··· 17875 18672 ac_write_fail=0 17876 18673 ac_clean_files_save=$ac_clean_files 17877 18674 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17878 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17879 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18675 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18676 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 17880 18677 as_write_fail=0 17881 18678 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17882 18679 #! $SHELL ··· 17899 18696 17900 18697 # Be more Bourne compatible 17901 18698 DUALCASE=1; export DUALCASE # for MKS sh 17902 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18699 + as_nop=: 18700 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 18701 + then : 17903 18702 emulate sh 17904 18703 NULLCMD=: 17905 18704 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17906 18705 # is contrary to our usage. Disable this feature. 17907 18706 alias -g '${1+"$@"}'='"$@"' 17908 18707 setopt NO_GLOB_SUBST 17909 - else 18708 + else $as_nop 17910 18709 case `(set -o) 2>/dev/null` in #( 17911 18710 *posix*) : 17912 18711 set -o posix ;; #( ··· 17916 18715 fi 17917 18716 17918 18717 18718 + 18719 + # Reset variables that may have inherited troublesome values from 18720 + # the environment. 18721 + 18722 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 18723 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 18724 + # side effect of setting IFS to empty, thus disabling word splitting.) 18725 + # Quoting is to prevent editors from complaining about space-tab. 17919 18726 as_nl=' 17920 18727 ' 17921 18728 export as_nl 17922 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 17923 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17924 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17925 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17926 - # Prefer a ksh shell builtin over an external printf program on Solaris, 17927 - # but without wasting forks for bash or zsh. 17928 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 17929 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17930 - as_echo='print -r --' 17931 - as_echo_n='print -rn --' 17932 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17933 - as_echo='printf %s\n' 17934 - as_echo_n='printf %s' 17935 - else 17936 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17937 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17938 - as_echo_n='/usr/ucb/echo -n' 17939 - else 17940 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17941 - as_echo_n_body='eval 17942 - arg=$1; 17943 - case $arg in #( 17944 - *"$as_nl"*) 17945 - expr "X$arg" : "X\\(.*\\)$as_nl"; 17946 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17947 - esac; 17948 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17949 - ' 17950 - export as_echo_n_body 17951 - as_echo_n='sh -c $as_echo_n_body as_echo' 17952 - fi 17953 - export as_echo_body 17954 - as_echo='sh -c $as_echo_body as_echo' 17955 - fi 18729 + IFS=" "" $as_nl" 18730 + 18731 + PS1='$ ' 18732 + PS2='> ' 18733 + PS4='+ ' 18734 + 18735 + # Ensure predictable behavior from utilities with locale-dependent output. 18736 + LC_ALL=C 18737 + export LC_ALL 18738 + LANGUAGE=C 18739 + export LANGUAGE 18740 + 18741 + # We cannot yet rely on "unset" to work, but we need these variables 18742 + # to be unset--not just set to an empty or harmless value--now, to 18743 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 18744 + # also avoids known problems related to "unset" and subshell syntax 18745 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 18746 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 18747 + do eval test \${$as_var+y} \ 18748 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18749 + done 18750 + 18751 + # Ensure that fds 0, 1, and 2 are open. 18752 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 18753 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 18754 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 17956 18755 17957 18756 # The user is always right. 17958 - if test "${PATH_SEPARATOR+set}" != set; then 18757 + if ${PATH_SEPARATOR+false} :; then 17959 18758 PATH_SEPARATOR=: 17960 18759 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17961 18760 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 17964 18763 fi 17965 18764 17966 18765 17967 - # IFS 17968 - # We need space, tab and new line, in precisely that order. Quoting is 17969 - # there to prevent editors from complaining about space-tab. 17970 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 17971 - # splitting by setting IFS to empty value.) 17972 - IFS=" "" $as_nl" 17973 - 17974 18766 # Find who we are. Look in the path if we contain no directory separator. 17975 18767 as_myself= 17976 18768 case $0 in #(( ··· 17979 18771 for as_dir in $PATH 17980 18772 do 17981 18773 IFS=$as_save_IFS 17982 - test -z "$as_dir" && as_dir=. 17983 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18774 + case $as_dir in #((( 18775 + '') as_dir=./ ;; 18776 + */) ;; 18777 + *) as_dir=$as_dir/ ;; 18778 + esac 18779 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 17984 18780 done 17985 18781 IFS=$as_save_IFS 17986 18782 ··· 17992 18788 as_myself=$0 17993 18789 fi 17994 18790 if test ! -f "$as_myself"; then 17995 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18791 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17996 18792 exit 1 17997 18793 fi 17998 18794 17999 - # Unset variables that we do not need and which cause bugs (e.g. in 18000 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18001 - # suppresses any "Segmentation fault" message there. '((' could 18002 - # trigger a bug in pdksh 5.2.14. 18003 - for as_var in BASH_ENV ENV MAIL MAILPATH 18004 - do eval test x\${$as_var+set} = xset \ 18005 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18006 - done 18007 - PS1='$ ' 18008 - PS2='> ' 18009 - PS4='+ ' 18010 - 18011 - # NLS nuisances. 18012 - LC_ALL=C 18013 - export LC_ALL 18014 - LANGUAGE=C 18015 - export LANGUAGE 18016 - 18017 - # CDPATH. 18018 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18019 18795 18020 18796 18021 18797 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 18028 18804 as_status=$1; test $as_status -eq 0 && as_status=1 18029 18805 if test "$4"; then 18030 18806 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18031 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18807 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18032 18808 fi 18033 - $as_echo "$as_me: error: $2" >&2 18809 + printf "%s\n" "$as_me: error: $2" >&2 18034 18810 as_fn_exit $as_status 18035 18811 } # as_fn_error 18812 + 18036 18813 18037 18814 18038 18815 # as_fn_set_status STATUS ··· 18061 18838 { eval $1=; unset $1;} 18062 18839 } 18063 18840 as_unset=as_fn_unset 18841 + 18064 18842 # as_fn_append VAR VALUE 18065 18843 # ---------------------- 18066 18844 # Append the text in VALUE to the end of the definition contained in VAR. Take 18067 18845 # advantage of any shell optimizations that allow amortized linear growth over 18068 18846 # repeated appends, instead of the typical quadratic growth present in naive 18069 18847 # implementations. 18070 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18848 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 18849 + then : 18071 18850 eval 'as_fn_append () 18072 18851 { 18073 18852 eval $1+=\$2 18074 18853 }' 18075 - else 18854 + else $as_nop 18076 18855 as_fn_append () 18077 18856 { 18078 18857 eval $1=\$$1\$2 ··· 18084 18863 # Perform arithmetic evaluation on the ARGs, and store the result in the 18085 18864 # global $as_val. Take advantage of shells that can avoid forks. The arguments 18086 18865 # must be portable across $(()) and expr. 18087 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18866 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 18867 + then : 18088 18868 eval 'as_fn_arith () 18089 18869 { 18090 18870 as_val=$(( $* )) 18091 18871 }' 18092 - else 18872 + else $as_nop 18093 18873 as_fn_arith () 18094 18874 { 18095 18875 as_val=`expr "$@" || test $? -eq 1` ··· 18120 18900 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18121 18901 X"$0" : 'X\(//\)$' \| \ 18122 18902 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18123 - $as_echo X/"$0" | 18903 + printf "%s\n" X/"$0" | 18124 18904 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18125 18905 s//\1/ 18126 18906 q ··· 18142 18922 as_cr_digits='0123456789' 18143 18923 as_cr_alnum=$as_cr_Letters$as_cr_digits 18144 18924 18925 + 18926 + # Determine whether it's possible to make 'echo' print without a newline. 18927 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 18928 + # for compatibility with existing Makefiles. 18145 18929 ECHO_C= ECHO_N= ECHO_T= 18146 18930 case `echo -n x` in #((((( 18147 18931 -n*) ··· 18155 18939 ECHO_N='-n';; 18156 18940 esac 18157 18941 18942 + # For backward compatibility with old third-party macros, we provide 18943 + # the shell variables $as_echo and $as_echo_n. New code should use 18944 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 18945 + as_echo='printf %s\n' 18946 + as_echo_n='printf %s' 18947 + 18158 18948 rm -f conf$$ conf$$.exe conf$$.file 18159 18949 if test -d conf$$.dir; then 18160 18950 rm -f conf$$.dir/conf$$.file ··· 18196 18986 as_dirs= 18197 18987 while :; do 18198 18988 case $as_dir in #( 18199 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18989 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18200 18990 *) as_qdir=$as_dir;; 18201 18991 esac 18202 18992 as_dirs="'$as_qdir' $as_dirs" ··· 18205 18995 X"$as_dir" : 'X\(//\)[^/]' \| \ 18206 18996 X"$as_dir" : 'X\(//\)$' \| \ 18207 18997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18208 - $as_echo X"$as_dir" | 18998 + printf "%s\n" X"$as_dir" | 18209 18999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18210 19000 s//\1/ 18211 19001 q ··· 18267 19057 # report actual input values of CONFIG_FILES etc. instead of their 18268 19058 # values after options handling. 18269 19059 ac_log=" 18270 - This file was extended by libXrandr $as_me 1.5.2, which was 18271 - generated by GNU Autoconf 2.69. Invocation command line was 19060 + This file was extended by libXrandr $as_me 1.5.3, which was 19061 + generated by GNU Autoconf 2.71. Invocation command line was 18272 19062 18273 19063 CONFIG_FILES = $CONFIG_FILES 18274 19064 CONFIG_HEADERS = $CONFIG_HEADERS ··· 18327 19117 Configuration commands: 18328 19118 $config_commands 18329 19119 18330 - Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXrandr/issues>." 19120 + Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues>." 18331 19121 18332 19122 _ACEOF 19123 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 19124 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 18333 19125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18334 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19126 + ac_cs_config='$ac_cs_config_escaped' 18335 19127 ac_cs_version="\\ 18336 - libXrandr config.status 1.5.2 18337 - configured by $0, generated by GNU Autoconf 2.69, 19128 + libXrandr config.status 1.5.3 19129 + configured by $0, generated by GNU Autoconf 2.71, 18338 19130 with options \\"\$ac_cs_config\\" 18339 19131 18340 - Copyright (C) 2012 Free Software Foundation, Inc. 19132 + Copyright (C) 2021 Free Software Foundation, Inc. 18341 19133 This config.status script is free software; the Free Software Foundation 18342 19134 gives unlimited permission to copy, distribute and modify it." 18343 19135 ··· 18377 19169 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18378 19170 ac_cs_recheck=: ;; 18379 19171 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18380 - $as_echo "$ac_cs_version"; exit ;; 19172 + printf "%s\n" "$ac_cs_version"; exit ;; 18381 19173 --config | --confi | --conf | --con | --co | --c ) 18382 - $as_echo "$ac_cs_config"; exit ;; 19174 + printf "%s\n" "$ac_cs_config"; exit ;; 18383 19175 --debug | --debu | --deb | --de | --d | -d ) 18384 19176 debug=: ;; 18385 19177 --file | --fil | --fi | --f ) 18386 19178 $ac_shift 18387 19179 case $ac_optarg in 18388 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19180 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18389 19181 '') as_fn_error $? "missing file argument" ;; 18390 19182 esac 18391 19183 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 18393 19185 --header | --heade | --head | --hea ) 18394 19186 $ac_shift 18395 19187 case $ac_optarg in 18396 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19188 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18397 19189 esac 18398 19190 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18399 19191 ac_need_defaults=false;; ··· 18402 19194 as_fn_error $? "ambiguous option: \`$1' 18403 19195 Try \`$0 --help' for more information.";; 18404 19196 --help | --hel | -h ) 18405 - $as_echo "$ac_cs_usage"; exit ;; 19197 + printf "%s\n" "$ac_cs_usage"; exit ;; 18406 19198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18407 19199 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18408 19200 ac_cs_silent=: ;; ··· 18430 19222 if \$ac_cs_recheck; then 18431 19223 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18432 19224 shift 18433 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 19225 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 18434 19226 CONFIG_SHELL='$SHELL' 18435 19227 export CONFIG_SHELL 18436 19228 exec "\$@" ··· 18444 19236 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18445 19237 ## Running $as_me. ## 18446 19238 _ASBOX 18447 - $as_echo "$ac_log" 19239 + printf "%s\n" "$ac_log" 18448 19240 } >&5 18449 19241 18450 19242 _ACEOF ··· 18757 19549 # We use the long form for the default assignment because of an extremely 18758 19550 # bizarre bug on SunOS 4.1.3. 18759 19551 if $ac_need_defaults; then 18760 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18761 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18762 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19552 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 19553 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 19554 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 18763 19555 fi 18764 19556 18765 19557 # Have a temporary directory for convenience. Make it in the build tree ··· 19095 19887 esac || 19096 19888 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19097 19889 esac 19098 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19890 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19099 19891 as_fn_append ac_file_inputs " '$ac_f'" 19100 19892 done 19101 19893 ··· 19103 19895 # use $as_me), people would be surprised to read: 19104 19896 # /* config.h. Generated by config.status. */ 19105 19897 configure_input='Generated from '` 19106 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19898 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19107 19899 `' by configure.' 19108 19900 if test x"$ac_file" != x-; then 19109 19901 configure_input="$ac_file. $configure_input" 19110 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19111 - $as_echo "$as_me: creating $ac_file" >&6;} 19902 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19903 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 19112 19904 fi 19113 19905 # Neutralize special characters interpreted by sed in replacement strings. 19114 19906 case $configure_input in #( 19115 19907 *\&* | *\|* | *\\* ) 19116 - ac_sed_conf_input=`$as_echo "$configure_input" | 19908 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 19117 19909 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19118 19910 *) ac_sed_conf_input=$configure_input;; 19119 19911 esac ··· 19130 19922 X"$ac_file" : 'X\(//\)[^/]' \| \ 19131 19923 X"$ac_file" : 'X\(//\)$' \| \ 19132 19924 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19133 - $as_echo X"$ac_file" | 19925 + printf "%s\n" X"$ac_file" | 19134 19926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19135 19927 s//\1/ 19136 19928 q ··· 19154 19946 case "$ac_dir" in 19155 19947 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19156 19948 *) 19157 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19949 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 19158 19950 # A ".." for each directory in $ac_dir_suffix. 19159 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19951 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19160 19952 case $ac_top_builddir_sub in 19161 19953 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19162 19954 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 19218 20010 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19219 20011 *datarootdir*) ac_datarootdir_seen=yes;; 19220 20012 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19221 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19222 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20013 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20014 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19223 20015 _ACEOF 19224 20016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19225 20017 ac_datarootdir_hack=' ··· 19263 20055 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19264 20056 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19265 20057 "$ac_tmp/out"`; test -z "$ac_out"; } && 19266 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19267 20059 which seems to be undefined. Please make sure it is defined" >&5 19268 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20060 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19269 20061 which seems to be undefined. Please make sure it is defined" >&2;} 19270 20062 19271 20063 rm -f "$ac_tmp/stdin" ··· 19281 20073 # 19282 20074 if test x"$ac_file" != x-; then 19283 20075 { 19284 - $as_echo "/* $configure_input */" \ 20076 + printf "%s\n" "/* $configure_input */" >&1 \ 19285 20077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19286 20078 } >"$ac_tmp/config.h" \ 19287 20079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19288 20080 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19289 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19290 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 20081 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 20082 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 19291 20083 else 19292 20084 rm -f "$ac_file" 19293 20085 mv "$ac_tmp/config.h" "$ac_file" \ 19294 20086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19295 20087 fi 19296 20088 else 19297 - $as_echo "/* $configure_input */" \ 20089 + printf "%s\n" "/* $configure_input */" >&1 \ 19298 20090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19299 20091 || as_fn_error $? "could not create -" "$LINENO" 5 19300 20092 fi ··· 19314 20106 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19315 20107 X"$_am_arg" : 'X\(//\)$' \| \ 19316 20108 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19317 - $as_echo X"$_am_arg" | 20109 + printf "%s\n" X"$_am_arg" | 19318 20110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19319 20111 s//\1/ 19320 20112 q ··· 19334 20126 s/.*/./; q'`/stamp-h$_am_stamp_count 19335 20127 ;; 19336 20128 19337 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19338 - $as_echo "$as_me: executing $ac_file commands" >&6;} 20129 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 20130 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 19339 20131 ;; 19340 20132 esac 19341 20133 ··· 19367 20159 X"$mf" : 'X\(//\)[^/]' \| \ 19368 20160 X"$mf" : 'X\(//\)$' \| \ 19369 20161 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19370 - $as_echo X"$mf" | 20162 + printf "%s\n" X"$mf" | 19371 20163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19372 20164 s//\1/ 19373 20165 q ··· 19409 20201 X"$file" : 'X\(//\)[^/]' \| \ 19410 20202 X"$file" : 'X\(//\)$' \| \ 19411 20203 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19412 - $as_echo X"$file" | 20204 + printf "%s\n" X"$file" | 19413 20205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19414 20206 s//\1/ 19415 20207 q ··· 19890 20682 esac 19891 20683 19892 20684 20685 + 19893 20686 ltmain="$ac_aux_dir/ltmain.sh" 19894 20687 19895 20688 ··· 20054 20847 fi 20055 20848 20056 20849 if test x"$_lt_function_replace_fail" = x":"; then 20057 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 20058 - $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 20850 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 20851 + printf "%s\n" "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 20059 20852 fi 20060 20853 20061 20854 ··· 20098 20891 $ac_cs_success || as_fn_exit 1 20099 20892 fi 20100 20893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20101 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20102 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20894 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20895 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20103 20896 fi 20104 20897
+5 -4
lib/libXrandr/configure.ac
··· 29 29 # digit in the version number to track changes which don't affect the 30 30 # protocol, so Xrandr version l.n.m corresponds to protocol version l.n 31 31 # 32 - AC_INIT([libXrandr], [1.5.2], 33 - [https://gitlab.freedesktop.org/xorg/lib/libXrandr/issues], [libXrandr]) 32 + AC_INIT([libXrandr], [1.5.3], 33 + [https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues], 34 + [libXrandr]) 34 35 AC_CONFIG_SRCDIR([Makefile.am]) 35 36 AC_CONFIG_HEADERS([config.h]) 36 37 37 38 # Initialize Automake 38 - AM_INIT_AUTOMAKE([foreign dist-bzip2]) 39 + AM_INIT_AUTOMAKE([foreign dist-xz]) 39 40 40 41 # Initialize libtool 41 42 AC_PROG_LIBTOOL ··· 52 53 RANDR_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`] 53 54 AC_SUBST(RANDR_VERSION) 54 55 55 - # Obtain compiler/linker options for depedencies 56 + # Obtain compiler/linker options for dependencies 56 57 PKG_CHECK_MODULES(RANDR, [x11 >= 1.6] randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) 57 58 58 59 AC_CONFIG_FILES([Makefile
+1 -2
lib/libXrandr/include/X11/extensions/Xrandr.h
··· 210 210 211 211 /* 212 212 * returns the screen configuration for the specified screen; does a lazy 213 - * evalution to delay getting the information, and caches the result. 213 + * evaluation to delay getting the information, and caches the result. 214 214 * These routines should be used in preference to XRRGetScreenInfo 215 215 * to avoid unneeded round trips to the X server. These are new 216 216 * in protocol version 0.1. ··· 233 233 234 234 /* Version 1.2 additions */ 235 235 236 - /* despite returning a Status, this returns 1 for success */ 237 236 Status 238 237 XRRGetScreenSizeRange (Display *dpy, Window window, 239 238 int *minWidth, int *minHeight,
+214 -200
lib/libXrandr/install-sh
··· 1 1 #!/bin/sh 2 2 # install - install a program, script, or datafile 3 3 4 - scriptversion=2011-11-20.07; # UTC 4 + scriptversion=2020-11-14.01; # UTC 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 7 # later released in X11R6 (xc/config/util/install.sh) with the ··· 41 41 # This script is compatible with the BSD install script, but was written 42 42 # from scratch. 43 43 44 + tab=' ' 44 45 nl=' 45 46 ' 46 - IFS=" "" $nl" 47 + IFS=" $tab$nl" 47 48 48 - # set DOITPROG to echo to test this script 49 + # Set DOITPROG to "echo" to test this script. 49 50 50 - # Don't use :- since 4.3BSD and earlier shells don't like it. 51 51 doit=${DOITPROG-} 52 - if test -z "$doit"; then 53 - doit_exec=exec 54 - else 55 - doit_exec=$doit 56 - fi 52 + doit_exec=${doit:-exec} 57 53 58 54 # Put in absolute file names if you don't have them in your path; 59 55 # or use environment vars. ··· 68 64 rmprog=${RMPROG-rm} 69 65 stripprog=${STRIPPROG-strip} 70 66 71 - posix_glob='?' 72 - initialize_posix_glob=' 73 - test "$posix_glob" != "?" || { 74 - if (set -f) 2>/dev/null; then 75 - posix_glob= 76 - else 77 - posix_glob=: 78 - fi 79 - } 80 - ' 81 - 82 67 posix_mkdir= 83 68 84 69 # Desired mode of installed file. 85 70 mode=0755 86 71 72 + # Create dirs (including intermediate dirs) using mode 755. 73 + # This is like GNU 'install' as of coreutils 8.32 (2020). 74 + mkdir_umask=22 75 + 76 + backupsuffix= 87 77 chgrpcmd= 88 78 chmodcmd=$chmodprog 89 79 chowncmd= ··· 97 87 dst_arg= 98 88 99 89 copy_on_change=false 100 - no_target_directory= 90 + is_target_a_directory=possibly 101 91 102 92 usage="\ 103 93 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ··· 114 104 --version display version info and exit. 115 105 116 106 -c (ignored) 117 - -C install only if different (preserve the last data modification time) 107 + -C install only if different (preserve data modification time) 118 108 -d create directories instead of installing files. 119 109 -g GROUP $chgrpprog installed files to GROUP. 120 110 -m MODE $chmodprog installed files to MODE. 121 111 -o USER $chownprog installed files to USER. 112 + -p pass -p to $cpprog. 122 113 -s $stripprog installed files. 114 + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. 123 115 -t DIRECTORY install into DIRECTORY. 124 116 -T report an error if DSTFILE is a directory. 125 117 126 118 Environment variables override the default commands: 127 119 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG 128 120 RMPROG STRIPPROG 121 + 122 + By default, rm is invoked with -f; when overridden with RMPROG, 123 + it's up to you to specify -f if you want it. 124 + 125 + If -S is not specified, no backups are attempted. 126 + 127 + Email bug reports to bug-automake@gnu.org. 128 + Automake home page: https://www.gnu.org/software/automake/ 129 129 " 130 130 131 131 while test $# -ne 0; do ··· 137 137 -d) dir_arg=true;; 138 138 139 139 -g) chgrpcmd="$chgrpprog $2" 140 - shift;; 140 + shift;; 141 141 142 142 --help) echo "$usage"; exit $?;; 143 143 144 144 -m) mode=$2 145 - case $mode in 146 - *' '* | *' '* | *' 147 - '* | *'*'* | *'?'* | *'['*) 148 - echo "$0: invalid mode: $mode" >&2 149 - exit 1;; 150 - esac 151 - shift;; 145 + case $mode in 146 + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) 147 + echo "$0: invalid mode: $mode" >&2 148 + exit 1;; 149 + esac 150 + shift;; 152 151 153 152 -o) chowncmd="$chownprog $2" 154 - shift;; 153 + shift;; 154 + 155 + -p) cpprog="$cpprog -p";; 155 156 156 157 -s) stripcmd=$stripprog;; 157 158 158 - -t) dst_arg=$2 159 - # Protect names problematic for 'test' and other utilities. 160 - case $dst_arg in 161 - -* | [=\(\)!]) dst_arg=./$dst_arg;; 162 - esac 163 - shift;; 159 + -S) backupsuffix="$2" 160 + shift;; 164 161 165 - -T) no_target_directory=true;; 162 + -t) 163 + is_target_a_directory=always 164 + dst_arg=$2 165 + # Protect names problematic for 'test' and other utilities. 166 + case $dst_arg in 167 + -* | [=\(\)!]) dst_arg=./$dst_arg;; 168 + esac 169 + shift;; 170 + 171 + -T) is_target_a_directory=never;; 166 172 167 173 --version) echo "$0 $scriptversion"; exit $?;; 168 174 169 - --) shift 170 - break;; 175 + --) shift 176 + break;; 171 177 172 - -*) echo "$0: invalid option: $1" >&2 173 - exit 1;; 178 + -*) echo "$0: invalid option: $1" >&2 179 + exit 1;; 174 180 175 181 *) break;; 176 182 esac 177 183 shift 178 184 done 185 + 186 + # We allow the use of options -d and -T together, by making -d 187 + # take the precedence; this is for compatibility with GNU install. 188 + 189 + if test -n "$dir_arg"; then 190 + if test -n "$dst_arg"; then 191 + echo "$0: target directory not allowed when installing a directory." >&2 192 + exit 1 193 + fi 194 + fi 179 195 180 196 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then 181 197 # When -d is used, all remaining arguments are directories to create. ··· 208 224 fi 209 225 210 226 if test -z "$dir_arg"; then 227 + if test $# -gt 1 || test "$is_target_a_directory" = always; then 228 + if test ! -d "$dst_arg"; then 229 + echo "$0: $dst_arg: Is not a directory." >&2 230 + exit 1 231 + fi 232 + fi 233 + fi 234 + 235 + if test -z "$dir_arg"; then 211 236 do_exit='(exit $ret); exit $ret' 212 237 trap "ret=129; $do_exit" 1 213 238 trap "ret=130; $do_exit" 2 ··· 223 248 224 249 *[0-7]) 225 250 if test -z "$stripcmd"; then 226 - u_plus_rw= 251 + u_plus_rw= 227 252 else 228 - u_plus_rw='% 200' 253 + u_plus_rw='% 200' 229 254 fi 230 255 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; 231 256 *) 232 257 if test -z "$stripcmd"; then 233 - u_plus_rw= 258 + u_plus_rw= 234 259 else 235 - u_plus_rw=,u+rw 260 + u_plus_rw=,u+rw 236 261 fi 237 262 cp_umask=$mode$u_plus_rw;; 238 263 esac ··· 250 275 dstdir=$dst 251 276 test -d "$dstdir" 252 277 dstdir_status=$? 278 + # Don't chown directories that already exist. 279 + if test $dstdir_status = 0; then 280 + chowncmd="" 281 + fi 253 282 else 254 283 255 284 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ··· 266 295 fi 267 296 dst=$dst_arg 268 297 269 - # If destination is a directory, append the input filename; won't work 270 - # if double slashes aren't ignored. 298 + # If destination is a directory, append the input filename. 271 299 if test -d "$dst"; then 272 - if test -n "$no_target_directory"; then 273 - echo "$0: $dst_arg: Is a directory" >&2 274 - exit 1 300 + if test "$is_target_a_directory" = never; then 301 + echo "$0: $dst_arg: Is a directory" >&2 302 + exit 1 275 303 fi 276 304 dstdir=$dst 277 - dst=$dstdir/`basename "$src"` 305 + dstbase=`basename "$src"` 306 + case $dst in 307 + */) dst=$dst$dstbase;; 308 + *) dst=$dst/$dstbase;; 309 + esac 278 310 dstdir_status=0 279 311 else 280 - # Prefer dirname, but fall back on a substitute if dirname fails. 281 - dstdir=` 282 - (dirname "$dst") 2>/dev/null || 283 - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 - X"$dst" : 'X\(//\)[^/]' \| \ 285 - X"$dst" : 'X\(//\)$' \| \ 286 - X"$dst" : 'X\(/\)' \| . 2>/dev/null || 287 - echo X"$dst" | 288 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 289 - s//\1/ 290 - q 291 - } 292 - /^X\(\/\/\)[^/].*/{ 293 - s//\1/ 294 - q 295 - } 296 - /^X\(\/\/\)$/{ 297 - s//\1/ 298 - q 299 - } 300 - /^X\(\/\).*/{ 301 - s//\1/ 302 - q 303 - } 304 - s/.*/./; q' 305 - ` 306 - 312 + dstdir=`dirname "$dst"` 307 313 test -d "$dstdir" 308 314 dstdir_status=$? 309 315 fi 310 316 fi 317 + 318 + case $dstdir in 319 + */) dstdirslash=$dstdir;; 320 + *) dstdirslash=$dstdir/;; 321 + esac 311 322 312 323 obsolete_mkdir_used=false 313 324 314 325 if test $dstdir_status != 0; then 315 326 case $posix_mkdir in 316 327 '') 317 - # Create intermediate dirs using mode 755 as modified by the umask. 318 - # This is like FreeBSD 'install' as of 1997-10-28. 319 - umask=`umask` 320 - case $stripcmd.$umask in 321 - # Optimize common cases. 322 - *[2367][2367]) mkdir_umask=$umask;; 323 - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; 328 + # With -d, create the new directory with the user-specified mode. 329 + # Otherwise, rely on $mkdir_umask. 330 + if test -n "$dir_arg"; then 331 + mkdir_mode=-m$mode 332 + else 333 + mkdir_mode= 334 + fi 335 + 336 + posix_mkdir=false 337 + # The $RANDOM variable is not portable (e.g., dash). Use it 338 + # here however when possible just to lower collision chance. 339 + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 324 340 325 - *[0-7]) 326 - mkdir_umask=`expr $umask + 22 \ 327 - - $umask % 100 % 40 + $umask % 20 \ 328 - - $umask % 10 % 4 + $umask % 2 329 - `;; 330 - *) mkdir_umask=$umask,go-w;; 331 - esac 341 + trap ' 342 + ret=$? 343 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null 344 + exit $ret 345 + ' 0 332 346 333 - # With -d, create the new directory with the user-specified mode. 334 - # Otherwise, rely on $mkdir_umask. 335 - if test -n "$dir_arg"; then 336 - mkdir_mode=-m$mode 347 + # Because "mkdir -p" follows existing symlinks and we likely work 348 + # directly in world-writeable /tmp, make sure that the '$tmpdir' 349 + # directory is successfully created first before we actually test 350 + # 'mkdir -p'. 351 + if (umask $mkdir_umask && 352 + $mkdirprog $mkdir_mode "$tmpdir" && 353 + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 354 + then 355 + if test -z "$dir_arg" || { 356 + # Check for POSIX incompatibilities with -m. 357 + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 358 + # other-writable bit of parent directory when it shouldn't. 359 + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 360 + test_tmpdir="$tmpdir/a" 361 + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` 362 + case $ls_ld_tmpdir in 363 + d????-?r-*) different_mode=700;; 364 + d????-?--*) different_mode=755;; 365 + *) false;; 366 + esac && 367 + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { 368 + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` 369 + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 370 + } 371 + } 372 + then posix_mkdir=: 373 + fi 374 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 337 375 else 338 - mkdir_mode= 376 + # Remove any dirs left behind by ancient mkdir implementations. 377 + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null 339 378 fi 340 - 341 - posix_mkdir=false 342 - case $umask in 343 - *[123567][0-7][0-7]) 344 - # POSIX mkdir -p sets u+wx bits regardless of umask, which 345 - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. 346 - ;; 347 - *) 348 - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 349 - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 350 - 351 - if (umask $mkdir_umask && 352 - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 353 - then 354 - if test -z "$dir_arg" || { 355 - # Check for POSIX incompatibilities with -m. 356 - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 357 - # other-writable bit of parent directory when it shouldn't. 358 - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 359 - ls_ld_tmpdir=`ls -ld "$tmpdir"` 360 - case $ls_ld_tmpdir in 361 - d????-?r-*) different_mode=700;; 362 - d????-?--*) different_mode=755;; 363 - *) false;; 364 - esac && 365 - $mkdirprog -m$different_mode -p -- "$tmpdir" && { 366 - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` 367 - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 368 - } 369 - } 370 - then posix_mkdir=: 371 - fi 372 - rmdir "$tmpdir/d" "$tmpdir" 373 - else 374 - # Remove any dirs left behind by ancient mkdir implementations. 375 - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null 376 - fi 377 - trap '' 0;; 378 - esac;; 379 + trap '' 0;; 379 380 esac 380 381 381 382 if 382 383 $posix_mkdir && ( 383 - umask $mkdir_umask && 384 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 384 + umask $mkdir_umask && 385 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 385 386 ) 386 387 then : 387 388 else 388 389 389 - # The umask is ridiculous, or mkdir does not conform to POSIX, 390 + # mkdir does not conform to POSIX, 390 391 # or it failed possibly due to a race condition. Create the 391 392 # directory the slow way, step by step, checking for races as we go. 392 393 393 394 case $dstdir in 394 - /*) prefix='/';; 395 - [-=\(\)!]*) prefix='./';; 396 - *) prefix='';; 395 + /*) prefix='/';; 396 + [-=\(\)!]*) prefix='./';; 397 + *) prefix='';; 397 398 esac 398 - 399 - eval "$initialize_posix_glob" 400 399 401 400 oIFS=$IFS 402 401 IFS=/ 403 - $posix_glob set -f 402 + set -f 404 403 set fnord $dstdir 405 404 shift 406 - $posix_glob set +f 405 + set +f 407 406 IFS=$oIFS 408 407 409 408 prefixes= 410 409 411 410 for d 412 411 do 413 - test X"$d" = X && continue 412 + test X"$d" = X && continue 414 413 415 - prefix=$prefix$d 416 - if test -d "$prefix"; then 417 - prefixes= 418 - else 419 - if $posix_mkdir; then 420 - (umask=$mkdir_umask && 421 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 422 - # Don't fail if two instances are running concurrently. 423 - test -d "$prefix" || exit 1 424 - else 425 - case $prefix in 426 - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 427 - *) qprefix=$prefix;; 428 - esac 429 - prefixes="$prefixes '$qprefix'" 430 - fi 431 - fi 432 - prefix=$prefix/ 414 + prefix=$prefix$d 415 + if test -d "$prefix"; then 416 + prefixes= 417 + else 418 + if $posix_mkdir; then 419 + (umask $mkdir_umask && 420 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 421 + # Don't fail if two instances are running concurrently. 422 + test -d "$prefix" || exit 1 423 + else 424 + case $prefix in 425 + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 426 + *) qprefix=$prefix;; 427 + esac 428 + prefixes="$prefixes '$qprefix'" 429 + fi 430 + fi 431 + prefix=$prefix/ 433 432 done 434 433 435 434 if test -n "$prefixes"; then 436 - # Don't fail if two instances are running concurrently. 437 - (umask $mkdir_umask && 438 - eval "\$doit_exec \$mkdirprog $prefixes") || 439 - test -d "$dstdir" || exit 1 440 - obsolete_mkdir_used=true 435 + # Don't fail if two instances are running concurrently. 436 + (umask $mkdir_umask && 437 + eval "\$doit_exec \$mkdirprog $prefixes") || 438 + test -d "$dstdir" || exit 1 439 + obsolete_mkdir_used=true 441 440 fi 442 441 fi 443 442 fi ··· 450 449 else 451 450 452 451 # Make a couple of temp file names in the proper directory. 453 - dsttmp=$dstdir/_inst.$$_ 454 - rmtmp=$dstdir/_rm.$$_ 452 + dsttmp=${dstdirslash}_inst.$$_ 453 + rmtmp=${dstdirslash}_rm.$$_ 455 454 456 455 # Trap to clean up those temp files at exit. 457 456 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 458 457 459 458 # Copy the file name to the temp name. 460 - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && 459 + (umask $cp_umask && 460 + { test -z "$stripcmd" || { 461 + # Create $dsttmp read-write so that cp doesn't create it read-only, 462 + # which would cause strip to fail. 463 + if test -z "$doit"; then 464 + : >"$dsttmp" # No need to fork-exec 'touch'. 465 + else 466 + $doit touch "$dsttmp" 467 + fi 468 + } 469 + } && 470 + $doit_exec $cpprog "$src" "$dsttmp") && 461 471 462 472 # and set any options; do chmod last to preserve setuid bits. 463 473 # ··· 472 482 473 483 # If -C, don't bother to copy if it wouldn't change the file. 474 484 if $copy_on_change && 475 - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 476 - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 477 - 478 - eval "$initialize_posix_glob" && 479 - $posix_glob set -f && 485 + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 486 + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 487 + set -f && 480 488 set X $old && old=:$2:$4:$5:$6 && 481 489 set X $new && new=:$2:$4:$5:$6 && 482 - $posix_glob set +f && 483 - 490 + set +f && 484 491 test "$old" = "$new" && 485 492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 486 493 then 487 494 rm -f "$dsttmp" 488 495 else 496 + # If $backupsuffix is set, and the file being installed 497 + # already exists, attempt a backup. Don't worry if it fails, 498 + # e.g., if mv doesn't support -f. 499 + if test -n "$backupsuffix" && test -f "$dst"; then 500 + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null 501 + fi 502 + 489 503 # Rename the file to the real destination. 490 504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || 491 505 ··· 493 507 # to itself, or perhaps because mv is so ancient that it does not 494 508 # support -f. 495 509 { 496 - # Now remove or move aside any old file at destination location. 497 - # We try this two ways since rm can't unlink itself on some 498 - # systems and the destination file might be busy for other 499 - # reasons. In this case, the final cleanup might fail but the new 500 - # file should still install successfully. 501 - { 502 - test ! -f "$dst" || 503 - $doit $rmcmd -f "$dst" 2>/dev/null || 504 - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 505 - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } 506 - } || 507 - { echo "$0: cannot unlink or rename $dst" >&2 508 - (exit 1); exit 1 509 - } 510 - } && 510 + # Now remove or move aside any old file at destination location. 511 + # We try this two ways since rm can't unlink itself on some 512 + # systems and the destination file might be busy for other 513 + # reasons. In this case, the final cleanup might fail but the new 514 + # file should still install successfully. 515 + { 516 + test ! -f "$dst" || 517 + $doit $rmcmd "$dst" 2>/dev/null || 518 + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 519 + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } 520 + } || 521 + { echo "$0: cannot unlink or rename $dst" >&2 522 + (exit 1); exit 1 523 + } 524 + } && 511 525 512 - # Now rename the file to the real destination. 513 - $doit $mvcmd "$dsttmp" "$dst" 526 + # Now rename the file to the real destination. 527 + $doit $mvcmd "$dsttmp" "$dst" 514 528 } 515 529 fi || exit 1 516 530 ··· 519 533 done 520 534 521 535 # Local variables: 522 - # eval: (add-hook 'write-file-hooks 'time-stamp) 536 + # eval: (add-hook 'before-save-hook 'time-stamp) 523 537 # time-stamp-start: "scriptversion=" 524 538 # time-stamp-format: "%:y-%02m-%02d.%02H" 525 - # time-stamp-time-zone: "UTC" 539 + # time-stamp-time-zone: "UTC0" 526 540 # time-stamp-end: "; # UTC" 527 541 # End:
+1 -1
lib/libXrandr/man/Makefile.in
··· 149 149 CCDEPMODE = @CCDEPMODE@ 150 150 CFLAGS = @CFLAGS@ 151 151 CHANGELOG_CMD = @CHANGELOG_CMD@ 152 - CPP = @CPP@ 153 152 CPPFLAGS = @CPPFLAGS@ 154 153 CWARNFLAGS = @CWARNFLAGS@ 155 154 CYGPATH_W = @CYGPATH_W@ ··· 267 266 prefix = @prefix@ 268 267 program_transform_name = @program_transform_name@ 269 268 psdir = @psdir@ 269 + runstatedir = @runstatedir@ 270 270 sbindir = @sbindir@ 271 271 sharedstatedir = @sharedstatedir@ 272 272 srcdir = @srcdir@
+1 -1
lib/libXrandr/src/Makefile.in
··· 166 166 CCDEPMODE = @CCDEPMODE@ 167 167 CFLAGS = @CFLAGS@ 168 168 CHANGELOG_CMD = @CHANGELOG_CMD@ 169 - CPP = @CPP@ 170 169 CPPFLAGS = @CPPFLAGS@ 171 170 CWARNFLAGS = @CWARNFLAGS@ 172 171 CYGPATH_W = @CYGPATH_W@ ··· 284 283 prefix = @prefix@ 285 284 program_transform_name = @program_transform_name@ 286 285 psdir = @psdir@ 286 + runstatedir = @runstatedir@ 287 287 sbindir = @sbindir@ 288 288 sharedstatedir = @sharedstatedir@ 289 289 srcdir = @srcdir@
+9 -13
lib/libXrandr/src/Xrandr.c
··· 286 286 _X_HIDDEN XExtDisplayInfo * 287 287 XRRFindDisplay (Display *dpy) 288 288 { 289 - XExtDisplayInfo *dpyinfo; 290 - XRandRInfo *xrri; 291 - int i, numscreens; 289 + XExtDisplayInfo *dpyinfo = XextFindDisplay (&XRRExtensionInfo, dpy); 292 290 293 - dpyinfo = XextFindDisplay (&XRRExtensionInfo, dpy); 294 291 if (!dpyinfo) { 292 + XRandRInfo *xrri; 293 + int numscreens; 294 + 295 295 dpyinfo = XextAddDisplay (&XRRExtensionInfo, dpy, 296 296 XRRExtensionName, 297 297 &rr_extension_hooks, ··· 300 300 xrri = Xmalloc (sizeof(XRandRInfo) + 301 301 sizeof(char *) * numscreens); 302 302 xrri->config = (XRRScreenConfiguration **)(xrri + 1); 303 - for(i = 0; i < numscreens; i++) 303 + for (int i = 0; i < numscreens; i++) 304 304 xrri->config[i] = NULL; 305 305 xrri->major_version = -1; 306 306 dpyinfo->data = (char *) xrri; ··· 311 311 static int 312 312 XRRCloseDisplay (Display *dpy, XExtCodes *codes) 313 313 { 314 - int i; 315 - XRRScreenConfiguration **configs; 316 314 XExtDisplayInfo *info = XRRFindDisplay (dpy); 317 - XRandRInfo *xrri; 318 315 319 316 LockDisplay(dpy); 320 317 /* 321 318 * free cached data 322 319 */ 323 320 if (XextHasExtension(info)) { 324 - xrri = (XRandRInfo *) info->data; 321 + XRandRInfo *xrri = (XRandRInfo *) info->data; 325 322 if (xrri) { 326 - configs = xrri->config; 323 + XRRScreenConfiguration **configs = xrri->config; 327 324 328 - for (i = 0; i < ScreenCount(dpy); i++) { 325 + for (int i = 0; i < ScreenCount(dpy); i++) { 329 326 if (configs[i] != NULL) XFree (configs[i]); 330 327 } 331 328 XFree (xrri); ··· 337 334 338 335 int XRRRootToScreen(Display *dpy, Window root) 339 336 { 340 - int snum; 341 - for (snum = 0; snum < ScreenCount(dpy); snum++) { 337 + for (int snum = 0; snum < ScreenCount(dpy); snum++) { 342 338 if (RootWindow(dpy, snum) == root) return snum; 343 339 } 344 340 return -1;
+2 -2
lib/libXrandr/src/Xrandrint.h
··· 60 60 }; 61 61 62 62 /* 63 - * if a configure notify on the root is recieved, or 64 - * an XRRScreenChangeNotify is recieved, 63 + * if a configure notify on the root is received, or 64 + * an XRRScreenChangeNotify is received, 65 65 * XRRUpdateConfiguration should be called to update the X library's 66 66 * view of the screen configuration; it will also invalidate the cache 67 67 * provided by XRRScreenConfig and XRRConfig, and force a round trip
+11 -17
lib/libXrandr/src/XrrConfig.c
··· 103 103 XExtDisplayInfo *info, 104 104 int screen) 105 105 { 106 - XRRScreenConfiguration **configs; 107 - XRandRInfo *xrri; 108 - 109 106 if ((screen >= 0) && (screen < ScreenCount(dpy)) && XextHasExtension(info)) { 110 - xrri = (XRandRInfo *) info->data; 111 - configs = xrri->config; 107 + XRandRInfo *xrri = (XRandRInfo *) info->data; 108 + XRRScreenConfiguration **configs = xrri->config; 112 109 113 110 if (configs[screen] == NULL) 114 111 configs[screen] = _XRRGetScreenInfo (dpy, info, RootWindow(dpy, screen)); ··· 123 120 { 124 121 XRRScreenConfiguration *config; 125 122 XExtDisplayInfo *info = XRRFindDisplay(dpy); 126 - Rotation cr; 123 + 127 124 LockDisplay(dpy); 128 125 if ((config = _XRRValidateCache(dpy, info, screen))) { 126 + Rotation cr = config->rotations; 129 127 *current_rotation = config->current_rotation; 130 - cr = config->rotations; 131 128 UnlockDisplay(dpy); 132 129 return cr; 133 130 } ··· 143 140 { 144 141 XRRScreenConfiguration *config; 145 142 XExtDisplayInfo *info = XRRFindDisplay(dpy); 146 - XRRScreenSize *sizes; 147 143 148 144 LockDisplay(dpy); 149 145 if ((config = _XRRValidateCache(dpy, info, screen))) { 146 + XRRScreenSize *sizes = config->sizes; 150 147 *nsizes = config->nsizes; 151 - sizes = config->sizes; 152 148 UnlockDisplay(dpy); 153 149 return sizes; 154 150 } ··· 163 159 { 164 160 XRRScreenConfiguration *config; 165 161 XExtDisplayInfo *info = XRRFindDisplay(dpy); 166 - short *rates; 167 162 168 163 LockDisplay(dpy); 169 164 if ((config = _XRRValidateCache(dpy, info, screen))) { 170 - rates = XRRConfigRates (config, sizeID, nrates); 165 + short *rates = XRRConfigRates (config, sizeID, nrates); 171 166 UnlockDisplay(dpy); 172 167 return rates; 173 168 } ··· 183 178 { 184 179 XRRScreenConfiguration *config; 185 180 XExtDisplayInfo *info = XRRFindDisplay(dpy); 186 - Time ts; 187 181 188 182 LockDisplay(dpy); 189 183 if ((config = _XRRValidateCache(dpy, info, screen))) { 184 + Time ts = config->timestamp; 190 185 *config_timestamp = config->config_timestamp; 191 - ts = config->timestamp; 192 186 UnlockDisplay(dpy); 193 187 return ts; 194 188 } else { ··· 207 201 _XAsyncHandler async; 208 202 _XRRVersionState async_state; 209 203 int nbytes, nbytesRead, rbytes; 210 - int i; 211 204 xScreenSizes size; 212 205 struct _XRRScreenConfiguration *scp; 213 206 XRRScreenSize *ssp; 214 207 short *rates; 215 - xRRQueryVersionReq *vreq; 216 208 XRandRInfo *xrri; 217 209 Bool getting_version = False; 218 210 ··· 222 214 223 215 if (xrri->major_version == -1) 224 216 { 217 + xRRQueryVersionReq *vreq; 218 + 225 219 /* hide a version query in the request */ 226 220 GetReq (RRQueryVersion, vreq); 227 221 vreq->reqType = info->codes->major_opcode; ··· 289 283 (rep.nSizes * sizeof (XRRScreenSize) + 290 284 rep.nrateEnts * sizeof (int)); 291 285 292 - scp = (struct _XRRScreenConfiguration *) Xmalloc(rbytes); 286 + scp = Xmalloc(rbytes); 293 287 } else { 294 288 nbytes = 0; 295 289 nbytesRead = 0; ··· 328 322 /* 329 323 * First the size information 330 324 */ 331 - for (i = 0; i < rep.nSizes; i++) { 325 + for (unsigned int i = 0; i < rep.nSizes; i++) { 332 326 _XReadPad (dpy, (char *) &size, SIZEOF (xScreenSizes)); 333 327 334 328 ssp[i].width = size.widthInPixels;
+6 -6
lib/libXrandr/src/XrrCrtc.c
··· 75 75 rep.nOutput * sizeof (RROutput) + 76 76 rep.nPossibleOutput * sizeof (RROutput)); 77 77 78 - xci = (XRRCrtcInfo *) Xmalloc(rbytes); 78 + xci = Xmalloc(rbytes); 79 79 } 80 80 else 81 81 { ··· 375 375 { 376 376 XExtDisplayInfo *info = XRRFindDisplay(dpy); 377 377 xRRGetCrtcTransformReply rep; 378 - xRRGetCrtcTransformReq *req; 379 378 int major_version, minor_version; 380 379 XRRCrtcTransformAttributes *attr; 381 380 char *extra = NULL, *end = NULL, *e; 382 - int p; 383 381 384 382 *attributes = NULL; 385 383 ··· 398 396 } 399 397 else 400 398 { 399 + xRRGetCrtcTransformReq *req; 400 + 401 401 LockDisplay (dpy); 402 402 GetReq (RRGetCrtcTransform, req); 403 403 req->reqType = info->codes->major_opcode; ··· 466 466 memcpy (attr->pendingFilter, e, rep.pendingNbytesFilter); 467 467 attr->pendingFilter[rep.pendingNbytesFilter] = '\0'; 468 468 e += (rep.pendingNbytesFilter + 3) & ~3; 469 - for (p = 0; p < rep.pendingNparamsFilter; p++) { 469 + for (unsigned int p = 0; p < rep.pendingNparamsFilter; p++) { 470 470 INT32 f; 471 471 if (e + 4 > end) { 472 472 XFree (attr); ··· 487 487 memcpy (attr->currentFilter, e, rep.currentNbytesFilter); 488 488 attr->currentFilter[rep.currentNbytesFilter] = '\0'; 489 489 e += (rep.currentNbytesFilter + 3) & ~3; 490 - for (p = 0; p < rep.currentNparamsFilter; p++) { 490 + for (unsigned int p = 0; p < rep.currentNparamsFilter; p++) { 491 491 INT32 f; 492 492 if (e + 4 > end) { 493 493 XFree (attr); ··· 530 530 return NULL; 531 531 } 532 532 533 - if (! (xp = (XRRPanning *) Xmalloc(sizeof(XRRPanning))) ) { 533 + if (! (xp = Xmalloc(sizeof(XRRPanning))) ) { 534 534 _XEatData (dpy, sizeof(XRRPanning)); 535 535 UnlockDisplay (dpy); 536 536 SyncHandle ();
+6 -6
lib/libXrandr/src/XrrMonitor.c
··· 39 39 XExtDisplayInfo *info = XRRFindDisplay(dpy); 40 40 xRRGetMonitorsReply rep; 41 41 xRRGetMonitorsReq *req; 42 - int nbytes, nbytesRead, rbytes; 42 + int nbytes, nbytesRead; 43 43 int nmon, noutput; 44 - int m, o; 45 - char *buf, *buf_head; 46 44 xRRMonitorInfo *xmon; 47 45 CARD32 *xoutput; 48 46 XRRMonitorInfo *mon = NULL; ··· 81 79 nbytesRead = nmon * SIZEOF(xRRMonitorInfo) + noutput * 4; 82 80 83 81 if (nmon > 0) { 82 + char *buf, *buf_head; 84 83 85 84 /* 86 85 * first we must compute how much space to allocate for ··· 88 87 * allocation, on cleanlyness grounds. 89 88 */ 90 89 91 - rbytes = nmon * sizeof (XRRMonitorInfo) + noutput * sizeof(RROutput); 90 + size_t rbytes = (nmon * sizeof (XRRMonitorInfo)) 91 + + (noutput * sizeof(RROutput)); 92 92 93 93 buf = buf_head = Xmalloc (nbytesRead); 94 94 mon = Xmalloc (rbytes); ··· 106 106 107 107 output = (RROutput *) (mon + nmon); 108 108 109 - for (m = 0; m < nmon; m++) { 109 + for (int m = 0; m < nmon; m++) { 110 110 xmon = (xRRMonitorInfo *) buf; 111 111 mon[m].name = xmon->name; 112 112 mon[m].primary = xmon->primary; ··· 129 129 return NULL; 130 130 } 131 131 rep.noutputs -= xmon->noutput; 132 - for (o = 0; o < xmon->noutput; o++) 132 + for (int o = 0; o < xmon->noutput; o++) 133 133 output[o] = xoutput[o]; 134 134 output += xmon->noutput; 135 135 buf += xmon->noutput * 4;
+1 -1
lib/libXrandr/src/XrrOutput.c
··· 90 90 rep.nClones * sizeof (RROutput) + 91 91 rep.nameLength + 1); /* '\0' terminate name */ 92 92 93 - xoi = (XRROutputInfo *) Xmalloc(rbytes); 93 + xoi = Xmalloc(rbytes); 94 94 if (xoi == NULL) { 95 95 _XEatDataWords (dpy, rep.length - (OutputInfoExtra >> 2)); 96 96 UnlockDisplay (dpy);
+6 -7
lib/libXrandr/src/XrrProperty.c
··· 39 39 XExtDisplayInfo *info = XRRFindDisplay(dpy); 40 40 xRRListOutputPropertiesReply rep; 41 41 xRRListOutputPropertiesReq *req; 42 - int nbytes, rbytes; 43 42 Atom *props = NULL; 44 43 45 44 RRCheckExtension (dpy, info, NULL); ··· 58 57 } 59 58 60 59 if (rep.nAtoms) { 61 - rbytes = rep.nAtoms * sizeof (Atom); 62 - nbytes = rep.nAtoms << 2; 60 + size_t rbytes = rep.nAtoms * sizeof (Atom); 61 + size_t nbytes = rep.nAtoms << 2; 63 62 64 - props = (Atom *) Xmalloc (rbytes); 63 + props = Xmalloc (rbytes); 65 64 if (props == NULL) { 66 65 _XEatDataWords (dpy, rep.length); 67 66 UnlockDisplay (dpy); ··· 85 84 XExtDisplayInfo *info = XRRFindDisplay(dpy); 86 85 xRRQueryOutputPropertyReply rep; 87 86 xRRQueryOutputPropertyReq *req; 88 - unsigned int rbytes, nbytes; 87 + unsigned int nbytes; 89 88 XRRPropertyInfo *prop_info; 90 89 91 90 RRCheckExtension (dpy, info, NULL); ··· 104 103 } 105 104 106 105 if (rep.length < ((INT_MAX / sizeof(long)) - sizeof (XRRPropertyInfo))) { 107 - rbytes = sizeof (XRRPropertyInfo) + (rep.length * sizeof (long)); 106 + size_t rbytes = sizeof (XRRPropertyInfo) + (rep.length * sizeof (long)); 108 107 nbytes = rep.length << 2; 109 108 110 109 prop_info = Xmalloc (rbytes); ··· 257 256 XExtDisplayInfo *info = XRRFindDisplay(dpy); 258 257 xRRGetOutputPropertyReply rep; 259 258 xRRGetOutputPropertyReq *req; 260 - unsigned long nbytes, rbytes; 261 259 262 260 /* Always initialize return values, in case callers fail to initialize 263 261 them and fail to check the return code for an error. */ ··· 289 287 290 288 if (rep.propertyType != None) { 291 289 int format = rep.format; 290 + size_t nbytes, rbytes; 292 291 293 292 /* 294 293 * Protect against both integer overflow and just plain oversized
+7 -11
lib/libXrandr/src/XrrProvider.c
··· 67 67 68 68 rbytes = (sizeof(XRRProviderResources) + rep.nProviders * 69 69 sizeof(RRProvider)); 70 - xrpr = (XRRProviderResources *) Xmalloc(rbytes); 70 + xrpr = Xmalloc(rbytes); 71 71 } else { 72 72 nbytes = 0; 73 73 nbytesRead = 0; ··· 104 104 free(provider_resources); 105 105 } 106 106 107 - #define ProviderInfoExtra (SIZEOF(xRRGetProviderInfoReply) - 32) 108 107 XRRProviderInfo * 109 108 XRRGetProviderInfo(Display *dpy, XRRScreenResources *resources, RRProvider provider) 110 109 { ··· 123 122 req->provider = provider; 124 123 req->configTimestamp = resources->configTimestamp; 125 124 126 - if (!_XReply (dpy, (xReply *) &rep, ProviderInfoExtra >> 2, xFalse)) 125 + if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) 127 126 { 128 127 UnlockDisplay (dpy); 129 128 SyncHandle (); 130 129 return NULL; 131 130 } 132 131 133 - if (rep.length > INT_MAX >> 2 || rep.length < ProviderInfoExtra >> 2) 132 + if (rep.length > INT_MAX >> 2) 134 133 { 135 - if (rep.length < ProviderInfoExtra >> 2) 136 - _XEatDataWords (dpy, rep.length); 137 - else 138 - _XEatDataWords (dpy, rep.length - (ProviderInfoExtra >> 2)); 134 + _XEatDataWords (dpy, rep.length); 139 135 UnlockDisplay (dpy); 140 136 SyncHandle (); 141 137 return NULL; 142 138 } 143 139 144 - nbytes = ((long) rep.length << 2) - ProviderInfoExtra; 140 + nbytes = ((long) rep.length << 2); 145 141 146 142 nbytesRead = (long)(rep.nCrtcs * 4 + 147 143 rep.nOutputs * 4 + ··· 154 150 rep.nAssociatedProviders * (sizeof(RRProvider) + sizeof(unsigned int))+ 155 151 rep.nameLength + 1); 156 152 157 - xpi = (XRRProviderInfo *)Xmalloc(rbytes); 153 + xpi = Xmalloc(rbytes); 158 154 if (xpi == NULL) { 159 - _XEatDataWords (dpy, rep.length - (ProviderInfoExtra >> 2)); 155 + _XEatDataWords (dpy, rep.length); 160 156 UnlockDisplay (dpy); 161 157 SyncHandle (); 162 158 return NULL;
+6 -7
lib/libXrandr/src/XrrProviderProperty.c
··· 39 39 XExtDisplayInfo *info = XRRFindDisplay(dpy); 40 40 xRRListProviderPropertiesReply rep; 41 41 xRRListProviderPropertiesReq *req; 42 - int nbytes, rbytes; 43 42 Atom *props = NULL; 44 43 45 44 RRCheckExtension (dpy, info, NULL); ··· 58 57 } 59 58 60 59 if (rep.nAtoms) { 61 - rbytes = rep.nAtoms * sizeof (Atom); 62 - nbytes = rep.nAtoms << 2; 60 + size_t rbytes = rep.nAtoms * sizeof (Atom); 61 + size_t nbytes = rep.nAtoms << 2; 63 62 64 - props = (Atom *) Xmalloc (rbytes); 63 + props = Xmalloc (rbytes); 65 64 if (props == NULL) { 66 65 _XEatDataWords (dpy, rep.length); 67 66 UnlockDisplay (dpy); ··· 85 84 XExtDisplayInfo *info = XRRFindDisplay(dpy); 86 85 xRRQueryProviderPropertyReply rep; 87 86 xRRQueryProviderPropertyReq *req; 88 - unsigned int rbytes, nbytes; 87 + unsigned int nbytes; 89 88 XRRPropertyInfo *prop_info; 90 89 91 90 RRCheckExtension (dpy, info, NULL); ··· 104 103 } 105 104 106 105 if (rep.length < ((INT_MAX / sizeof(long)) - sizeof (XRRPropertyInfo))) { 107 - rbytes = sizeof (XRRPropertyInfo) + (rep.length * sizeof (long)); 106 + size_t rbytes = sizeof (XRRPropertyInfo) + (rep.length * sizeof (long)); 108 107 nbytes = rep.length << 2; 109 108 110 109 prop_info = Xmalloc (rbytes); ··· 257 256 XExtDisplayInfo *info = XRRFindDisplay(dpy); 258 257 xRRGetProviderPropertyReply rep; 259 258 xRRGetProviderPropertyReq *req; 260 - unsigned long nbytes, rbytes; 261 259 262 260 /* Always initialize return values, in case callers fail to initialize 263 261 them and fail to check the return code for an error. */ ··· 289 287 290 288 if (rep.propertyType != None) { 291 289 int format = rep.format; 290 + unsigned long nbytes, rbytes; 292 291 293 292 /* 294 293 * Protect against both integer overflow and just plain oversized
+4 -3
lib/libXrandr/src/XrrScreen.c
··· 47 47 _XRRVersionState async_state; 48 48 int nbytes, nbytesRead, rbytes; 49 49 int i; 50 - xRRQueryVersionReq *vreq; 51 50 XRRScreenResources *xrsr; 52 51 char *names; 53 52 char *wire_names, *wire_name; ··· 61 60 62 61 if (xrri->major_version == -1) 63 62 { 63 + xRRQueryVersionReq *vreq; 64 + 64 65 /* hide a version query in the request */ 65 66 GetReq (RRQueryVersion, vreq); 66 67 vreq->reqType = info->codes->major_opcode; ··· 126 127 rep.nModes * sizeof (XRRModeInfo) + 127 128 rep.nbytesNames + rep.nModes); /* '\0' terminate names */ 128 129 129 - xrsr = (XRRScreenResources *) Xmalloc(rbytes); 130 - wire_names = (char *) Xmalloc (rep.nbytesNames); 130 + xrsr = Xmalloc(rbytes); 131 + wire_names = Xmalloc (rep.nbytesNames); 131 132 } else { 132 133 nbytes = 0; 133 134 nbytesRead = 0;