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 libXvMC 1.0.13

matthieu 23f39683 55472065

+5028 -4018
+66
lib/libXvMC/ChangeLog
··· 1 + commit 590fb6835170aa60cd4d3d46eaeac51725300d23 2 + Author: Matt Turner <mattst88@gmail.com> 3 + Date: Sat Mar 26 10:51:18 2022 -0700 4 + 5 + libXvMC 1.0.13 6 + 7 + Signed-off-by: Matt Turner <mattst88@gmail.com> 8 + 9 + commit 2090940ded023df2a1c0ef8c7dd2cde16a686d7d 10 + Author: Matt Turner <mattst88@gmail.com> 11 + Date: Sat Mar 26 10:47:31 2022 -0700 12 + 13 + meson: Fix typo 14 + 15 + Signed-off-by: Matt Turner <mattst88@gmail.com> 16 + 17 + commit f65c43c05a766ef2e9335367d079b75273d5e53f 18 + Author: Dylan Baker <dylan@pnwbakers.com> 19 + Date: Fri Mar 25 15:04:15 2022 -0700 20 + 21 + autotools: fix Requires and Requires.Private in pkgconfig 22 + 23 + This only applies to the autotools generated pkg-config files, as Meson 24 + does it's own dependency tracking for us. 25 + 26 + commit cdf1532b13efe667f40dd472f41b4e12a0282dea 27 + Author: Dylan Baker <dylan@pnwbakers.com> 28 + Date: Fri Mar 25 14:55:36 2022 -0700 29 + 30 + meson: Add a meson build system 31 + 32 + This does everything the autotools based system does, including building 33 + both a static and shared version by default, though this can be 34 + controlled with meson's builtin `default_library` option. 35 + 36 + commit 324ecde7352e7a129f30b795a1c2d9142600aeea 37 + Author: Dylan Baker <dylan@pnwbakers.com> 38 + Date: Fri Mar 25 13:31:40 2022 -0700 39 + 40 + editorconfig: add meson 41 + 42 + commit b391192bd391009f9d834ea920fd15c872fbe85b 43 + Author: Dylan Baker <dylan@pnwbakers.com> 44 + Date: Fri Mar 25 13:31:17 2022 -0700 45 + 46 + editorconfig: add 47 + 48 + commit bd930bf94f0bcb9964248cdb5196b97cf93a0921 49 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 50 + Date: Sat Mar 26 08:56:25 2022 -0700 51 + 52 + Build xz tarballs instead of bzip2 53 + 54 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 55 + 56 + commit 53c3cfbecba041d1a215f7a5689df796b97949e8 57 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 58 + Date: Sat Mar 26 08:56:16 2022 -0700 59 + 60 + Fix spelling/wording issues 61 + 62 + Found by using: 63 + codespell --builtin clear,rare,usage,informal,code,names 64 + 65 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 66 + 1 67 commit 36086307ba9fd1272365b964056e8a6780109478 2 68 Author: Adam Jackson <ajax@redhat.com> 3 69 Date: Tue Sep 24 12:52:29 2019 -0400
+4 -1
lib/libXvMC/Makefile.am
··· 43 43 (cd src && $(MAKE) $(MFLAGS) lint) 44 44 endif LINT 45 45 46 - EXTRA_DIST = README.md 46 + EXTRA_DIST = \ 47 + meson.build \ 48 + README.md 49 +
+8 -5
lib/libXvMC/Makefile.in
··· 187 187 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 188 188 done; \ 189 189 reldir="$$dir2" 190 - DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 190 + DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz 191 191 GZIP_ENV = --best 192 - DIST_TARGETS = dist-bzip2 dist-gzip 192 + DIST_TARGETS = dist-xz dist-gzip 193 193 distuninstallcheck_listfiles = find . -type f -print 194 194 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 195 195 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' ··· 211 211 CCDEPMODE = @CCDEPMODE@ 212 212 CFLAGS = @CFLAGS@ 213 213 CHANGELOG_CMD = @CHANGELOG_CMD@ 214 - CPP = @CPP@ 215 214 CPPFLAGS = @CPPFLAGS@ 216 215 CWARNFLAGS = @CWARNFLAGS@ 217 216 CYGPATH_W = @CYGPATH_W@ ··· 331 330 prefix = @prefix@ 332 331 program_transform_name = @program_transform_name@ 333 332 psdir = @psdir@ 333 + runstatedir = @runstatedir@ 334 334 sbindir = @sbindir@ 335 335 sharedstatedir = @sharedstatedir@ 336 336 srcdir = @srcdir@ ··· 344 344 pkgconfig_DATA = xvmc.pc xvmc-wrapper.pc 345 345 dist_doc_DATA = XvMC_API.txt 346 346 MAINTAINERCLEANFILES = ChangeLog INSTALL 347 - EXTRA_DIST = README.md 347 + EXTRA_DIST = \ 348 + meson.build \ 349 + README.md 350 + 348 351 all: config.h 349 352 $(MAKE) $(AM_MAKEFLAGS) all-recursive 350 353 ··· 660 663 dist-gzip: distdir 661 664 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 662 665 $(am__post_remove_distdir) 666 + 663 667 dist-bzip2: distdir 664 668 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 665 669 $(am__post_remove_distdir) ··· 667 671 dist-lzip: distdir 668 672 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 669 673 $(am__post_remove_distdir) 670 - 671 674 dist-xz: distdir 672 675 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 673 676 $(am__post_remove_distdir)
+1 -1
lib/libXvMC/README.md
··· 6 6 7 7 https://lists.x.org/mailman/listinfo/xorg 8 8 9 - The master development code repository can be found at: 9 + The primary development code repository can be found at: 10 10 11 11 https://gitlab.freedesktop.org/xorg/lib/libXvMC 12 12
+12 -12
lib/libXvMC/XvMC_API.txt
··· 31 31 /********************************************************************/ 32 32 33 33 XvMC extends the X-Video extension (Xv) and makes use of the 34 - familar concept of the XvPort. Ports have attributes that can be set 34 + familiar concept of the XvPort. Ports have attributes that can be set 35 35 and queried through Xv. In XvMC ports can also have hardware motion 36 36 compensation contexts created for use with them. Ports which support 37 37 XvImages (ie. they have an "XV_IMAGE" port encoding as described in ··· 343 343 344 344 Creates a surface (Frame) for use with the specified context. 345 345 The surface structure is filled out and Success is returned if no 346 - error occured. 346 + error occurred. 347 347 348 348 context - pointer to a valid context. The context implies 349 349 the surface type to be created, and its dimensions. ··· 398 398 ); 399 399 400 400 This allocates an array of DCT blocks in the XvMCBlockArray 401 - structure passed to it. Success is returned if no error occured. 401 + structure passed to it. Success is returned if no error occurred. 402 402 403 403 display - The connection to the server. 404 404 ··· 579 579 ); 580 580 581 581 This allocates an array of XvMCMacroBlocks in the XvMCMacroBlockArray 582 - structure passed to it. Success is returned if no error occured. 582 + structure passed to it. Success is returned if no error occurred. 583 583 584 584 display - The connection to the server. 585 585 ··· 634 634 return until it has read all of the macroblocks, however, rendering 635 635 will usually not be completed by that time. The return of this 636 636 function means it is safe to touch the blocks and macroblock_array. 637 - To synchronize rendering see the section on sychronization below. 637 + To synchronize rendering see the section on synchronization below. 638 638 639 639 display - The connection to the server. 640 640 ··· 1120 1120 This function commits pending rendering requests to ensure that 1121 1121 they will be completed in a finite amount of time. 1122 1122 1123 - display - The connnection to the server. 1123 + display - The connection to the server. 1124 1124 1125 - surface - The surface whos rendering requests should be flushed. 1125 + surface - The surface whose rendering requests should be flushed. 1126 1126 1127 1127 Errors: 1128 1128 ··· 1134 1134 1135 1135 display - The connection to the server. 1136 1136 1137 - surface - The surface whos status is being queried. 1137 + surface - The surface whose status is being queried. 1138 1138 1139 1139 stat - May be any of the following OR'd together: 1140 1140 ··· 1181 1181 1182 1182 display - The connection to the server. 1183 1183 1184 - subpicture - The subpicture whos compositing should be flushed. 1184 + subpicture - The subpicture whose compositing should be flushed. 1185 1185 1186 1186 Errors: 1187 1187 ··· 1193 1193 1194 1194 display - The connection to the server. 1195 1195 1196 - subpic - The subpicture whos status is being queried. 1196 + subpic - The subpicture whose status is being queried. 1197 1197 1198 1198 stat - may be any of the following OR'd together: 1199 1199 ··· 1231 1231 1232 1232 display - The connection to the server. 1233 1233 1234 - context - The context whos attributes we are querying. 1234 + context - The context whose attributes we are querying. 1235 1235 1236 1236 number - The returned number of recognized atoms. 1237 1237 ··· 1279 1279 1280 1280 display - The connection to the server. 1281 1281 1282 - context - The context whos attribute we are querying. 1282 + context - The context whose attribute we are querying. 1283 1283 1284 1284 attribute - The X Atom of the attribute to be retrieved. 1285 1285
+53 -33
lib/libXvMC/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()
+3 -3
lib/libXvMC/compile
··· 3 3 4 4 scriptversion=2018-03-07.03; # UTC 5 5 6 - # Copyright (C) 1999-2018 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 ··· 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/*)
+6 -4
lib/libXvMC/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 `shmat' function. */ 13 10 #undef HAVE_SHMAT 14 11 15 12 /* Define to 1 if you have the <stdint.h> header file. */ 16 13 #undef HAVE_STDINT_H 14 + 15 + /* Define to 1 if you have the <stdio.h> header file. */ 16 + #undef HAVE_STDIO_H 17 17 18 18 /* Define to 1 if you have the <stdlib.h> header file. */ 19 19 #undef HAVE_STDLIB_H ··· 67 67 /* Patch version of this package */ 68 68 #undef PACKAGE_VERSION_PATCHLEVEL 69 69 70 - /* Define to 1 if you have the ANSI C header files. */ 70 + /* Define to 1 if all of the C90 standard headers exist (not just the ones 71 + required in a freestanding environment). This macro is provided for 72 + backward compatibility; new code need not use it. */ 71 73 #undef STDC_HEADERS 72 74 73 75 /* Version number of package */
+4541 -3745
lib/libXvMC/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for libXvMC 1.0.12. 3 + # Generated by GNU Autoconf 2.71 for libXvMC 1.0.13. 4 4 # 5 5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXvMC/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 : 234 + IFS=$as_save_IFS 235 + if $as_found 236 + then : 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 : 243 242 CONFIG_SHELL=$SHELL as_have_required=yes 244 - fi; } 245 - IFS=$as_save_IFS 243 + fi 244 + fi 246 245 247 246 248 - if test "x$CONFIG_SHELL" != x; then : 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 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 278 279 $0: https://gitlab.freedesktop.org/xorg/lib/libXvMC/issues 279 280 $0: about your system, including any error possibly output 280 281 $0: before this message. Then install a modern shell, or ··· 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*) ··· 521 545 *) 522 546 ECHO_N='-n';; 523 547 esac 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 + 524 555 525 556 rm -f conf$$ conf$$.exe conf$$.file 526 557 if test -d conf$$.dir; then ··· 591 622 # Identity of this package. 592 623 PACKAGE_NAME='libXvMC' 593 624 PACKAGE_TARNAME='libXvMC' 594 - PACKAGE_VERSION='1.0.12' 595 - PACKAGE_STRING='libXvMC 1.0.12' 625 + PACKAGE_VERSION='1.0.13' 626 + PACKAGE_STRING='libXvMC 1.0.13' 596 627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXvMC/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 ··· 676 703 MAINT 677 704 MAINTAINER_MODE_FALSE 678 705 MAINTAINER_MODE_TRUE 679 - CPP 680 706 OTOOL64 681 707 OTOOL 682 708 LIPO ··· 765 791 docdir 766 792 oldincludedir 767 793 includedir 794 + runstatedir 768 795 localstatedir 769 796 sharedstatedir 770 797 sysconfdir ··· 810 837 LDFLAGS 811 838 LIBS 812 839 CPPFLAGS 813 - CPP 814 840 PKG_CONFIG 815 841 PKG_CONFIG_PATH 816 842 PKG_CONFIG_LIBDIR ··· 856 882 sysconfdir='${prefix}/etc' 857 883 sharedstatedir='${prefix}/com' 858 884 localstatedir='${prefix}/var' 885 + runstatedir='${localstatedir}/run' 859 886 includedir='${prefix}/include' 860 887 oldincludedir='/usr/include' 861 888 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ··· 885 912 *) ac_optarg=yes ;; 886 913 esac 887 914 888 - # Accept the important Cygnus configure options, so we can diagnose typos. 889 - 890 915 case $ac_dashdash$ac_option in 891 916 --) 892 917 ac_dashdash=yes ;; ··· 927 952 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 928 953 # Reject names that are not valid shell variable names. 929 954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 930 - as_fn_error $? "invalid feature name: $ac_useropt" 955 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 931 956 ac_useropt_orig=$ac_useropt 932 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 957 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 933 958 case $ac_user_opts in 934 959 *" 935 960 "enable_$ac_useropt" ··· 953 978 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 954 979 # Reject names that are not valid shell variable names. 955 980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 - as_fn_error $? "invalid feature name: $ac_useropt" 981 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 957 982 ac_useropt_orig=$ac_useropt 958 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 983 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 959 984 case $ac_user_opts in 960 985 *" 961 986 "enable_$ac_useropt" ··· 1108 1133 | -silent | --silent | --silen | --sile | --sil) 1109 1134 silent=yes ;; 1110 1135 1136 + -runstatedir | --runstatedir | --runstatedi | --runstated \ 1137 + | --runstate | --runstat | --runsta | --runst | --runs \ 1138 + | --run | --ru | --r) 1139 + ac_prev=runstatedir ;; 1140 + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1141 + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1142 + | --run=* | --ru=* | --r=*) 1143 + runstatedir=$ac_optarg ;; 1144 + 1111 1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1112 1146 ac_prev=sbindir ;; 1113 1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ··· 1157 1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1158 1192 # Reject names that are not valid shell variable names. 1159 1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160 - as_fn_error $? "invalid package name: $ac_useropt" 1194 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1161 1195 ac_useropt_orig=$ac_useropt 1162 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1196 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1163 1197 case $ac_user_opts in 1164 1198 *" 1165 1199 "with_$ac_useropt" ··· 1173 1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1174 1208 # Reject names that are not valid shell variable names. 1175 1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176 - as_fn_error $? "invalid package name: $ac_useropt" 1210 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1177 1211 ac_useropt_orig=$ac_useropt 1178 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1212 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1179 1213 case $ac_user_opts in 1180 1214 *" 1181 1215 "with_$ac_useropt" ··· 1219 1253 1220 1254 *) 1221 1255 # FIXME: should be removed in autoconf 3.0. 1222 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1256 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1223 1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1224 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1258 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1225 1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1226 1260 ;; 1227 1261 ··· 1237 1271 case $enable_option_checking in 1238 1272 no) ;; 1239 1273 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1240 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1274 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1241 1275 esac 1242 1276 fi 1243 1277 ··· 1245 1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1246 1280 datadir sysconfdir sharedstatedir localstatedir includedir \ 1247 1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1248 - libdir localedir mandir 1282 + libdir localedir mandir runstatedir 1249 1283 do 1250 1284 eval ac_val=\$$ac_var 1251 1285 # Remove trailing slashes. ··· 1301 1335 X"$as_myself" : 'X\(//\)[^/]' \| \ 1302 1336 X"$as_myself" : 'X\(//\)$' \| \ 1303 1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1304 - $as_echo X"$as_myself" | 1338 + printf "%s\n" X"$as_myself" | 1305 1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1306 1340 s//\1/ 1307 1341 q ··· 1358 1392 # Omit some internal or obsolete options to make the list less imposing. 1359 1393 # This message is too long to be a string in the A/UX 3.1 sh. 1360 1394 cat <<_ACEOF 1361 - \`configure' configures libXvMC 1.0.12 to adapt to many kinds of systems. 1395 + \`configure' configures libXvMC 1.0.13 to adapt to many kinds of systems. 1362 1396 1363 1397 Usage: $0 [OPTION]... [VAR=VALUE]... 1364 1398 ··· 1398 1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1399 1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1400 1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1435 + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1401 1436 --libdir=DIR object code libraries [EPREFIX/lib] 1402 1437 --includedir=DIR C header files [PREFIX/include] 1403 1438 --oldincludedir=DIR C header files for non-gcc [/usr/include] ··· 1428 1463 1429 1464 if test -n "$ac_init_help"; then 1430 1465 case $ac_init_help in 1431 - short | recursive ) echo "Configuration of libXvMC 1.0.12:";; 1466 + short | recursive ) echo "Configuration of libXvMC 1.0.13:";; 1432 1467 esac 1433 1468 cat <<\_ACEOF 1434 1469 ··· 1478 1513 LIBS libraries to pass to the linker, e.g. -l<library> 1479 1514 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1480 1515 you have headers in a nonstandard directory <include dir> 1481 - CPP C preprocessor 1482 1516 PKG_CONFIG path to pkg-config utility 1483 1517 PKG_CONFIG_PATH 1484 1518 directories to add to pkg-config's search path ··· 1508 1542 case "$ac_dir" in 1509 1543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1510 1544 *) 1511 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1545 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1512 1546 # A ".." for each directory in $ac_dir_suffix. 1513 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1547 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1514 1548 case $ac_top_builddir_sub in 1515 1549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1516 1550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1538 1572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1539 1573 1540 1574 cd "$ac_dir" || { ac_status=$?; continue; } 1541 - # Check for guested configure. 1575 + # Check for configure.gnu first; this name is used for a wrapper for 1576 + # Metaconfig's "Configure" on case-insensitive file systems. 1542 1577 if test -f "$ac_srcdir/configure.gnu"; then 1543 1578 echo && 1544 1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1546 1581 echo && 1547 1582 $SHELL "$ac_srcdir/configure" --help=recursive 1548 1583 else 1549 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1584 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1550 1585 fi || ac_status=$? 1551 1586 cd "$ac_pwd" || { ac_status=$?; break; } 1552 1587 done ··· 1555 1590 test -n "$ac_init_help" && exit $ac_status 1556 1591 if $ac_init_version; then 1557 1592 cat <<\_ACEOF 1558 - libXvMC configure 1.0.12 1559 - generated by GNU Autoconf 2.69 1593 + libXvMC configure 1.0.13 1594 + generated by GNU Autoconf 2.71 1560 1595 1561 - Copyright (C) 2012 Free Software Foundation, Inc. 1596 + Copyright (C) 2021 Free Software Foundation, Inc. 1562 1597 This configure script is free software; the Free Software Foundation 1563 1598 gives unlimited permission to copy, distribute and modify it. 1564 1599 _ACEOF ··· 1575 1610 ac_fn_c_try_compile () 1576 1611 { 1577 1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 - rm -f conftest.$ac_objext 1613 + rm -f conftest.$ac_objext conftest.beam 1579 1614 if { { ac_try="$ac_compile" 1580 1615 case "(($ac_try" in 1581 1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 1617 *) ac_try_echo=$ac_try;; 1583 1618 esac 1584 1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585 - $as_echo "$ac_try_echo"; } >&5 1620 + printf "%s\n" "$ac_try_echo"; } >&5 1586 1621 (eval "$ac_compile") 2>conftest.err 1587 1622 ac_status=$? 1588 1623 if test -s conftest.err; then ··· 1590 1625 cat conftest.er1 >&5 1591 1626 mv -f conftest.er1 conftest.err 1592 1627 fi 1593 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 1629 test $ac_status = 0; } && { 1595 1630 test -z "$ac_c_werror_flag" || 1596 1631 test ! -s conftest.err 1597 - } && test -s conftest.$ac_objext; then : 1632 + } && test -s conftest.$ac_objext 1633 + then : 1598 1634 ac_retval=0 1599 - else 1600 - $as_echo "$as_me: failed program was:" >&5 1635 + else $as_nop 1636 + printf "%s\n" "$as_me: failed program was:" >&5 1601 1637 sed 's/^/| /' conftest.$ac_ext >&5 1602 1638 1603 1639 ac_retval=1 ··· 1613 1649 ac_fn_c_try_link () 1614 1650 { 1615 1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 - rm -f conftest.$ac_objext conftest$ac_exeext 1652 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1617 1653 if { { ac_try="$ac_link" 1618 1654 case "(($ac_try" in 1619 1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1620 1656 *) ac_try_echo=$ac_try;; 1621 1657 esac 1622 1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1623 - $as_echo "$ac_try_echo"; } >&5 1659 + printf "%s\n" "$ac_try_echo"; } >&5 1624 1660 (eval "$ac_link") 2>conftest.err 1625 1661 ac_status=$? 1626 1662 if test -s conftest.err; then ··· 1628 1664 cat conftest.er1 >&5 1629 1665 mv -f conftest.er1 conftest.err 1630 1666 fi 1631 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1667 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1632 1668 test $ac_status = 0; } && { 1633 1669 test -z "$ac_c_werror_flag" || 1634 1670 test ! -s conftest.err 1635 1671 } && test -s conftest$ac_exeext && { 1636 1672 test "$cross_compiling" = yes || 1637 1673 test -x conftest$ac_exeext 1638 - }; then : 1674 + } 1675 + then : 1639 1676 ac_retval=0 1640 - else 1641 - $as_echo "$as_me: failed program was:" >&5 1677 + else $as_nop 1678 + printf "%s\n" "$as_me: failed program was:" >&5 1642 1679 sed 's/^/| /' conftest.$ac_ext >&5 1643 1680 1644 1681 ac_retval=1 ··· 1660 1697 ac_fn_c_check_header_compile () 1661 1698 { 1662 1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1663 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1664 - $as_echo_n "checking for $2... " >&6; } 1665 - if eval \${$3+:} false; then : 1666 - $as_echo_n "(cached) " >&6 1667 - else 1700 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1701 + printf %s "checking for $2... " >&6; } 1702 + if eval test \${$3+y} 1703 + then : 1704 + printf %s "(cached) " >&6 1705 + else $as_nop 1668 1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1669 1707 /* end confdefs.h. */ 1670 1708 $4 1671 1709 #include <$2> 1672 1710 _ACEOF 1673 - if ac_fn_c_try_compile "$LINENO"; then : 1711 + if ac_fn_c_try_compile "$LINENO" 1712 + then : 1674 1713 eval "$3=yes" 1675 - else 1714 + else $as_nop 1676 1715 eval "$3=no" 1677 1716 fi 1678 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1717 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1679 1718 fi 1680 1719 eval ac_res=\$$3 1681 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1682 - $as_echo "$ac_res" >&6; } 1720 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1721 + printf "%s\n" "$ac_res" >&6; } 1683 1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1684 1723 1685 1724 } # ac_fn_c_check_header_compile 1686 1725 1687 - # ac_fn_c_try_cpp LINENO 1688 - # ---------------------- 1689 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1690 - ac_fn_c_try_cpp () 1691 - { 1692 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1693 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1694 - case "(($ac_try" in 1695 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1696 - *) ac_try_echo=$ac_try;; 1697 - esac 1698 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1699 - $as_echo "$ac_try_echo"; } >&5 1700 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1701 - ac_status=$? 1702 - if test -s conftest.err; then 1703 - grep -v '^ *+' conftest.err >conftest.er1 1704 - cat conftest.er1 >&5 1705 - mv -f conftest.er1 conftest.err 1706 - fi 1707 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 - test $ac_status = 0; } > conftest.i && { 1709 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1710 - test ! -s conftest.err 1711 - }; then : 1712 - ac_retval=0 1713 - else 1714 - $as_echo "$as_me: failed program was:" >&5 1715 - sed 's/^/| /' conftest.$ac_ext >&5 1716 - 1717 - ac_retval=1 1718 - fi 1719 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1720 - as_fn_set_status $ac_retval 1721 - 1722 - } # ac_fn_c_try_cpp 1723 - 1724 - # ac_fn_c_try_run LINENO 1725 - # ---------------------- 1726 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1727 - # that executables *can* be run. 1728 - ac_fn_c_try_run () 1729 - { 1730 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1731 - if { { ac_try="$ac_link" 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_link") 2>&5 1739 - ac_status=$? 1740 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1742 - { { case "(($ac_try" in 1743 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1744 - *) ac_try_echo=$ac_try;; 1745 - esac 1746 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1747 - $as_echo "$ac_try_echo"; } >&5 1748 - (eval "$ac_try") 2>&5 1749 - ac_status=$? 1750 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1751 - test $ac_status = 0; }; }; then : 1752 - ac_retval=0 1753 - else 1754 - $as_echo "$as_me: program exited with status $ac_status" >&5 1755 - $as_echo "$as_me: failed program was:" >&5 1756 - sed 's/^/| /' conftest.$ac_ext >&5 1757 - 1758 - ac_retval=$ac_status 1759 - fi 1760 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1761 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1762 - as_fn_set_status $ac_retval 1763 - 1764 - } # ac_fn_c_try_run 1765 - 1766 1726 # ac_fn_c_check_func LINENO FUNC VAR 1767 1727 # ---------------------------------- 1768 1728 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1769 1729 ac_fn_c_check_func () 1770 1730 { 1771 1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1772 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1773 - $as_echo_n "checking for $2... " >&6; } 1774 - if eval \${$3+:} false; then : 1775 - $as_echo_n "(cached) " >&6 1776 - else 1732 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1733 + printf %s "checking for $2... " >&6; } 1734 + if eval test \${$3+y} 1735 + then : 1736 + printf %s "(cached) " >&6 1737 + else $as_nop 1777 1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1778 1739 /* end confdefs.h. */ 1779 1740 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. ··· 1781 1742 #define $2 innocuous_$2 1782 1743 1783 1744 /* System header to define __stub macros and hopefully few prototypes, 1784 - which can conflict with char $2 (); below. 1785 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1786 - <limits.h> exists even on freestanding compilers. */ 1787 - 1788 - #ifdef __STDC__ 1789 - # include <limits.h> 1790 - #else 1791 - # include <assert.h> 1792 - #endif 1745 + which can conflict with char $2 (); below. */ 1793 1746 1747 + #include <limits.h> 1794 1748 #undef $2 1795 1749 1796 1750 /* Override any GCC internal prototype to avoid an error. ··· 1808 1762 #endif 1809 1763 1810 1764 int 1811 - main () 1765 + main (void) 1812 1766 { 1813 1767 return $2 (); 1814 1768 ; 1815 1769 return 0; 1816 1770 } 1817 1771 _ACEOF 1818 - if ac_fn_c_try_link "$LINENO"; then : 1772 + if ac_fn_c_try_link "$LINENO" 1773 + then : 1819 1774 eval "$3=yes" 1820 - else 1775 + else $as_nop 1821 1776 eval "$3=no" 1822 1777 fi 1823 - rm -f core conftest.err conftest.$ac_objext \ 1778 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1824 1779 conftest$ac_exeext conftest.$ac_ext 1825 1780 fi 1826 1781 eval ac_res=\$$3 1827 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1828 - $as_echo "$ac_res" >&6; } 1782 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1783 + printf "%s\n" "$ac_res" >&6; } 1829 1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1830 1785 1831 1786 } # ac_fn_c_check_func 1832 1787 1833 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1834 - # --------------------------------------------- 1788 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1789 + # ------------------------------------------------------------------ 1835 1790 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1836 - # accordingly. 1837 - ac_fn_c_check_decl () 1791 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1792 + ac_fn_check_decl () 1838 1793 { 1839 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1840 1795 as_decl_name=`echo $2|sed 's/ *(.*//'` 1796 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1797 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1798 + if eval test \${$3+y} 1799 + then : 1800 + printf %s "(cached) " >&6 1801 + else $as_nop 1841 1802 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1842 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1843 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1844 - if eval \${$3+:} false; then : 1845 - $as_echo_n "(cached) " >&6 1846 - else 1803 + eval ac_save_FLAGS=\$$6 1804 + as_fn_append $6 " $5" 1847 1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1848 1806 /* end confdefs.h. */ 1849 1807 $4 1850 1808 int 1851 - main () 1809 + main (void) 1852 1810 { 1853 1811 #ifndef $as_decl_name 1854 1812 #ifdef __cplusplus ··· 1862 1820 return 0; 1863 1821 } 1864 1822 _ACEOF 1865 - if ac_fn_c_try_compile "$LINENO"; then : 1823 + if ac_fn_c_try_compile "$LINENO" 1824 + then : 1866 1825 eval "$3=yes" 1867 - else 1826 + else $as_nop 1868 1827 eval "$3=no" 1869 1828 fi 1870 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1829 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1830 + eval $6=\$ac_save_FLAGS 1831 + 1871 1832 fi 1872 1833 eval ac_res=\$$3 1873 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1874 - $as_echo "$ac_res" >&6; } 1834 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1835 + printf "%s\n" "$ac_res" >&6; } 1836 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1837 + 1838 + } # ac_fn_check_decl 1839 + 1840 + # ac_fn_c_try_run LINENO 1841 + # ---------------------- 1842 + # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that 1843 + # executables *can* be run. 1844 + ac_fn_c_try_run () 1845 + { 1846 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1847 + if { { ac_try="$ac_link" 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_link") 2>&5 1855 + ac_status=$? 1856 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1857 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1858 + { { case "(($ac_try" in 1859 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1860 + *) ac_try_echo=$ac_try;; 1861 + esac 1862 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1863 + printf "%s\n" "$ac_try_echo"; } >&5 1864 + (eval "$ac_try") 2>&5 1865 + ac_status=$? 1866 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1867 + test $ac_status = 0; }; } 1868 + then : 1869 + ac_retval=0 1870 + else $as_nop 1871 + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 1872 + printf "%s\n" "$as_me: failed program was:" >&5 1873 + sed 's/^/| /' conftest.$ac_ext >&5 1874 + 1875 + ac_retval=$ac_status 1876 + fi 1877 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1875 1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1879 + as_fn_set_status $ac_retval 1876 1880 1877 - } # ac_fn_c_check_decl 1881 + } # ac_fn_c_try_run 1882 + ac_configure_args_raw= 1883 + for ac_arg 1884 + do 1885 + case $ac_arg in 1886 + *\'*) 1887 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1888 + esac 1889 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1890 + done 1891 + 1892 + case $ac_configure_args_raw in 1893 + *$as_nl*) 1894 + ac_safe_unquote= ;; 1895 + *) 1896 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1897 + ac_unsafe_a="$ac_unsafe_z#~" 1898 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1899 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1900 + esac 1901 + 1878 1902 cat >config.log <<_ACEOF 1879 1903 This file contains any messages produced by compilers while 1880 1904 running configure, to aid debugging if configure makes a mistake. 1881 1905 1882 - It was created by libXvMC $as_me 1.0.12, which was 1883 - generated by GNU Autoconf 2.69. Invocation command line was 1906 + It was created by libXvMC $as_me 1.0.13, which was 1907 + generated by GNU Autoconf 2.71. Invocation command line was 1884 1908 1885 - $ $0 $@ 1909 + $ $0$ac_configure_args_raw 1886 1910 1887 1911 _ACEOF 1888 1912 exec 5>>config.log ··· 1915 1939 for as_dir in $PATH 1916 1940 do 1917 1941 IFS=$as_save_IFS 1918 - test -z "$as_dir" && as_dir=. 1919 - $as_echo "PATH: $as_dir" 1942 + case $as_dir in #((( 1943 + '') as_dir=./ ;; 1944 + */) ;; 1945 + *) as_dir=$as_dir/ ;; 1946 + esac 1947 + printf "%s\n" "PATH: $as_dir" 1920 1948 done 1921 1949 IFS=$as_save_IFS 1922 1950 ··· 1951 1979 | -silent | --silent | --silen | --sile | --sil) 1952 1980 continue ;; 1953 1981 *\'*) 1954 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1982 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1955 1983 esac 1956 1984 case $ac_pass in 1957 1985 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1986 2014 # WARNING: Use '\'' to represent an apostrophe within the trap. 1987 2015 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1988 2016 trap 'exit_status=$? 2017 + # Sanitize IFS. 2018 + IFS=" "" $as_nl" 1989 2019 # Save into config.log some information that might help in debugging. 1990 2020 { 1991 2021 echo 1992 2022 1993 - $as_echo "## ---------------- ## 2023 + printf "%s\n" "## ---------------- ## 1994 2024 ## Cache variables. ## 1995 2025 ## ---------------- ##" 1996 2026 echo ··· 2001 2031 case $ac_val in #( 2002 2032 *${as_nl}*) 2003 2033 case $ac_var in #( 2004 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2005 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2034 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2035 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2006 2036 esac 2007 2037 case $ac_var in #( 2008 2038 _ | IFS | as_nl) ;; #( ··· 2026 2056 ) 2027 2057 echo 2028 2058 2029 - $as_echo "## ----------------- ## 2059 + printf "%s\n" "## ----------------- ## 2030 2060 ## Output variables. ## 2031 2061 ## ----------------- ##" 2032 2062 echo ··· 2034 2064 do 2035 2065 eval ac_val=\$$ac_var 2036 2066 case $ac_val in 2037 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2067 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2038 2068 esac 2039 - $as_echo "$ac_var='\''$ac_val'\''" 2069 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2040 2070 done | sort 2041 2071 echo 2042 2072 2043 2073 if test -n "$ac_subst_files"; then 2044 - $as_echo "## ------------------- ## 2074 + printf "%s\n" "## ------------------- ## 2045 2075 ## File substitutions. ## 2046 2076 ## ------------------- ##" 2047 2077 echo ··· 2049 2079 do 2050 2080 eval ac_val=\$$ac_var 2051 2081 case $ac_val in 2052 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2082 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2053 2083 esac 2054 - $as_echo "$ac_var='\''$ac_val'\''" 2084 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2055 2085 done | sort 2056 2086 echo 2057 2087 fi 2058 2088 2059 2089 if test -s confdefs.h; then 2060 - $as_echo "## ----------- ## 2090 + printf "%s\n" "## ----------- ## 2061 2091 ## confdefs.h. ## 2062 2092 ## ----------- ##" 2063 2093 echo ··· 2065 2095 echo 2066 2096 fi 2067 2097 test "$ac_signal" != 0 && 2068 - $as_echo "$as_me: caught signal $ac_signal" 2069 - $as_echo "$as_me: exit $exit_status" 2098 + printf "%s\n" "$as_me: caught signal $ac_signal" 2099 + printf "%s\n" "$as_me: exit $exit_status" 2070 2100 } >&5 2071 2101 rm -f core *.core core.conftest.* && 2072 2102 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 2080 2110 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2081 2111 rm -f -r conftest* confdefs.h 2082 2112 2083 - $as_echo "/* confdefs.h */" > confdefs.h 2113 + printf "%s\n" "/* confdefs.h */" > confdefs.h 2084 2114 2085 2115 # Predefined preprocessor variables. 2086 2116 2087 - cat >>confdefs.h <<_ACEOF 2088 - #define PACKAGE_NAME "$PACKAGE_NAME" 2089 - _ACEOF 2117 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2090 2118 2091 - cat >>confdefs.h <<_ACEOF 2092 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2093 - _ACEOF 2119 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2094 2120 2095 - cat >>confdefs.h <<_ACEOF 2096 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 2097 - _ACEOF 2121 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2098 2122 2099 - cat >>confdefs.h <<_ACEOF 2100 - #define PACKAGE_STRING "$PACKAGE_STRING" 2101 - _ACEOF 2123 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2102 2124 2103 - cat >>confdefs.h <<_ACEOF 2104 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2105 - _ACEOF 2125 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2106 2126 2107 - cat >>confdefs.h <<_ACEOF 2108 - #define PACKAGE_URL "$PACKAGE_URL" 2109 - _ACEOF 2127 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2110 2128 2111 2129 2112 2130 # Let the site file select an alternate cache file if it wants to. 2113 2131 # Prefer an explicitly selected file to automatically selected ones. 2114 - ac_site_file1=NONE 2115 - ac_site_file2=NONE 2116 2132 if test -n "$CONFIG_SITE"; then 2117 - # We do not want a PATH search for config.site. 2118 - case $CONFIG_SITE in #(( 2119 - -*) ac_site_file1=./$CONFIG_SITE;; 2120 - */*) ac_site_file1=$CONFIG_SITE;; 2121 - *) ac_site_file1=./$CONFIG_SITE;; 2122 - esac 2133 + ac_site_files="$CONFIG_SITE" 2123 2134 elif test "x$prefix" != xNONE; then 2124 - ac_site_file1=$prefix/share/config.site 2125 - ac_site_file2=$prefix/etc/config.site 2135 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2126 2136 else 2127 - ac_site_file1=$ac_default_prefix/share/config.site 2128 - ac_site_file2=$ac_default_prefix/etc/config.site 2137 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2129 2138 fi 2130 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2139 + 2140 + for ac_site_file in $ac_site_files 2131 2141 do 2132 - test "x$ac_site_file" = xNONE && continue 2133 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2134 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2135 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2142 + case $ac_site_file in #( 2143 + */*) : 2144 + ;; #( 2145 + *) : 2146 + ac_site_file=./$ac_site_file ;; 2147 + esac 2148 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2149 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2150 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2136 2151 sed 's/^/| /' "$ac_site_file" >&5 2137 2152 . "$ac_site_file" \ 2138 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2139 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2153 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2154 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2140 2155 as_fn_error $? "failed to load site script $ac_site_file 2141 2156 See \`config.log' for more details" "$LINENO" 5; } 2142 2157 fi ··· 2146 2161 # Some versions of bash will fail to source /dev/null (special files 2147 2162 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2148 2163 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2149 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2150 - $as_echo "$as_me: loading cache $cache_file" >&6;} 2164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2165 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2151 2166 case $cache_file in 2152 2167 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2153 2168 *) . "./$cache_file";; 2154 2169 esac 2155 2170 fi 2156 2171 else 2157 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2158 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2172 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2173 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2159 2174 >$cache_file 2160 2175 fi 2161 2176 2177 + # Test code for whether the C compiler supports C89 (global declarations) 2178 + ac_c_conftest_c89_globals=' 2179 + /* Does the compiler advertise C89 conformance? 2180 + Do not test the value of __STDC__, because some compilers set it to 0 2181 + while being otherwise adequately conformant. */ 2182 + #if !defined __STDC__ 2183 + # error "Compiler does not advertise C89 conformance" 2184 + #endif 2185 + 2186 + #include <stddef.h> 2187 + #include <stdarg.h> 2188 + struct stat; 2189 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2190 + struct buf { int x; }; 2191 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2192 + static char *e (p, i) 2193 + char **p; 2194 + int i; 2195 + { 2196 + return p[i]; 2197 + } 2198 + static char *f (char * (*g) (char **, int), char **p, ...) 2199 + { 2200 + char *s; 2201 + va_list v; 2202 + va_start (v,p); 2203 + s = g (p, va_arg (v,int)); 2204 + va_end (v); 2205 + return s; 2206 + } 2207 + 2208 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2209 + function prototypes and stuff, but not \xHH hex character constants. 2210 + These do not provoke an error unfortunately, instead are silently treated 2211 + as an "x". The following induces an error, until -std is added to get 2212 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2213 + array size at least. It is necessary to write \x00 == 0 to get something 2214 + that is true only with -std. */ 2215 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2216 + 2217 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2218 + inside strings and character constants. */ 2219 + #define FOO(x) '\''x'\'' 2220 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2221 + 2222 + int test (int i, double x); 2223 + struct s1 {int (*f) (int a);}; 2224 + struct s2 {int (*f) (double a);}; 2225 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2226 + int, int);' 2227 + 2228 + # Test code for whether the C compiler supports C89 (body of main). 2229 + ac_c_conftest_c89_main=' 2230 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2231 + ' 2232 + 2233 + # Test code for whether the C compiler supports C99 (global declarations) 2234 + ac_c_conftest_c99_globals=' 2235 + // Does the compiler advertise C99 conformance? 2236 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2237 + # error "Compiler does not advertise C99 conformance" 2238 + #endif 2239 + 2240 + #include <stdbool.h> 2241 + extern int puts (const char *); 2242 + extern int printf (const char *, ...); 2243 + extern int dprintf (int, const char *, ...); 2244 + extern void *malloc (size_t); 2245 + 2246 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2247 + // dprintf is used instead of fprintf to avoid needing to declare 2248 + // FILE and stderr. 2249 + #define debug(...) dprintf (2, __VA_ARGS__) 2250 + #define showlist(...) puts (#__VA_ARGS__) 2251 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2252 + static void 2253 + test_varargs_macros (void) 2254 + { 2255 + int x = 1234; 2256 + int y = 5678; 2257 + debug ("Flag"); 2258 + debug ("X = %d\n", x); 2259 + showlist (The first, second, and third items.); 2260 + report (x>y, "x is %d but y is %d", x, y); 2261 + } 2262 + 2263 + // Check long long types. 2264 + #define BIG64 18446744073709551615ull 2265 + #define BIG32 4294967295ul 2266 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2267 + #if !BIG_OK 2268 + #error "your preprocessor is broken" 2269 + #endif 2270 + #if BIG_OK 2271 + #else 2272 + #error "your preprocessor is broken" 2273 + #endif 2274 + static long long int bignum = -9223372036854775807LL; 2275 + static unsigned long long int ubignum = BIG64; 2276 + 2277 + struct incomplete_array 2278 + { 2279 + int datasize; 2280 + double data[]; 2281 + }; 2282 + 2283 + struct named_init { 2284 + int number; 2285 + const wchar_t *name; 2286 + double average; 2287 + }; 2288 + 2289 + typedef const char *ccp; 2290 + 2291 + static inline int 2292 + test_restrict (ccp restrict text) 2293 + { 2294 + // See if C++-style comments work. 2295 + // Iterate through items via the restricted pointer. 2296 + // Also check for declarations in for loops. 2297 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2298 + continue; 2299 + return 0; 2300 + } 2301 + 2302 + // Check varargs and va_copy. 2303 + static bool 2304 + test_varargs (const char *format, ...) 2305 + { 2306 + va_list args; 2307 + va_start (args, format); 2308 + va_list args_copy; 2309 + va_copy (args_copy, args); 2310 + 2311 + const char *str = ""; 2312 + int number = 0; 2313 + float fnumber = 0; 2314 + 2315 + while (*format) 2316 + { 2317 + switch (*format++) 2318 + { 2319 + case '\''s'\'': // string 2320 + str = va_arg (args_copy, const char *); 2321 + break; 2322 + case '\''d'\'': // int 2323 + number = va_arg (args_copy, int); 2324 + break; 2325 + case '\''f'\'': // float 2326 + fnumber = va_arg (args_copy, double); 2327 + break; 2328 + default: 2329 + break; 2330 + } 2331 + } 2332 + va_end (args_copy); 2333 + va_end (args); 2334 + 2335 + return *str && number && fnumber; 2336 + } 2337 + ' 2338 + 2339 + # Test code for whether the C compiler supports C99 (body of main). 2340 + ac_c_conftest_c99_main=' 2341 + // Check bool. 2342 + _Bool success = false; 2343 + success |= (argc != 0); 2344 + 2345 + // Check restrict. 2346 + if (test_restrict ("String literal") == 0) 2347 + success = true; 2348 + char *restrict newvar = "Another string"; 2349 + 2350 + // Check varargs. 2351 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2352 + test_varargs_macros (); 2353 + 2354 + // Check flexible array members. 2355 + struct incomplete_array *ia = 2356 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2357 + ia->datasize = 10; 2358 + for (int i = 0; i < ia->datasize; ++i) 2359 + ia->data[i] = i * 1.234; 2360 + 2361 + // Check named initializers. 2362 + struct named_init ni = { 2363 + .number = 34, 2364 + .name = L"Test wide string", 2365 + .average = 543.34343, 2366 + }; 2367 + 2368 + ni.number = 58; 2369 + 2370 + int dynamic_array[ni.number]; 2371 + dynamic_array[0] = argv[0][0]; 2372 + dynamic_array[ni.number - 1] = 543; 2373 + 2374 + // work around unused variable warnings 2375 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2376 + || dynamic_array[ni.number - 1] != 543); 2377 + ' 2378 + 2379 + # Test code for whether the C compiler supports C11 (global declarations) 2380 + ac_c_conftest_c11_globals=' 2381 + // Does the compiler advertise C11 conformance? 2382 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2383 + # error "Compiler does not advertise C11 conformance" 2384 + #endif 2385 + 2386 + // Check _Alignas. 2387 + char _Alignas (double) aligned_as_double; 2388 + char _Alignas (0) no_special_alignment; 2389 + extern char aligned_as_int; 2390 + char _Alignas (0) _Alignas (int) aligned_as_int; 2391 + 2392 + // Check _Alignof. 2393 + enum 2394 + { 2395 + int_alignment = _Alignof (int), 2396 + int_array_alignment = _Alignof (int[100]), 2397 + char_alignment = _Alignof (char) 2398 + }; 2399 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2400 + 2401 + // Check _Noreturn. 2402 + int _Noreturn does_not_return (void) { for (;;) continue; } 2403 + 2404 + // Check _Static_assert. 2405 + struct test_static_assert 2406 + { 2407 + int x; 2408 + _Static_assert (sizeof (int) <= sizeof (long int), 2409 + "_Static_assert does not work in struct"); 2410 + long int y; 2411 + }; 2412 + 2413 + // Check UTF-8 literals. 2414 + #define u8 syntax error! 2415 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2416 + 2417 + // Check duplicate typedefs. 2418 + typedef long *long_ptr; 2419 + typedef long int *long_ptr; 2420 + typedef long_ptr long_ptr; 2421 + 2422 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2423 + struct anonymous 2424 + { 2425 + union { 2426 + struct { int i; int j; }; 2427 + struct { int k; long int l; } w; 2428 + }; 2429 + int m; 2430 + } v1; 2431 + ' 2432 + 2433 + # Test code for whether the C compiler supports C11 (body of main). 2434 + ac_c_conftest_c11_main=' 2435 + _Static_assert ((offsetof (struct anonymous, i) 2436 + == offsetof (struct anonymous, w.k)), 2437 + "Anonymous union alignment botch"); 2438 + v1.i = 2; 2439 + v1.w.k = 5; 2440 + ok |= v1.i != 5; 2441 + ' 2442 + 2443 + # Test code for whether the C compiler supports C11 (complete). 2444 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2445 + ${ac_c_conftest_c99_globals} 2446 + ${ac_c_conftest_c11_globals} 2447 + 2448 + int 2449 + main (int argc, char **argv) 2450 + { 2451 + int ok = 0; 2452 + ${ac_c_conftest_c89_main} 2453 + ${ac_c_conftest_c99_main} 2454 + ${ac_c_conftest_c11_main} 2455 + return ok; 2456 + } 2457 + " 2458 + 2459 + # Test code for whether the C compiler supports C99 (complete). 2460 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2461 + ${ac_c_conftest_c99_globals} 2462 + 2463 + int 2464 + main (int argc, char **argv) 2465 + { 2466 + int ok = 0; 2467 + ${ac_c_conftest_c89_main} 2468 + ${ac_c_conftest_c99_main} 2469 + return ok; 2470 + } 2471 + " 2472 + 2473 + # Test code for whether the C compiler supports C89 (complete). 2474 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2475 + 2476 + int 2477 + main (int argc, char **argv) 2478 + { 2479 + int ok = 0; 2480 + ${ac_c_conftest_c89_main} 2481 + return ok; 2482 + } 2483 + " 2484 + 2485 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2486 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2487 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2488 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2489 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2490 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2491 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2492 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2493 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2494 + 2495 + # Auxiliary files required by this configure script. 2496 + ac_aux_files="config.guess config.sub ltmain.sh missing install-sh" 2497 + 2498 + # Locations in which to look for auxiliary files. 2499 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2500 + 2501 + # Search for a directory containing all of the required auxiliary files, 2502 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2503 + # If we don't find one directory that contains all the files we need, 2504 + # we report the set of missing files from the *first* directory in 2505 + # $ac_aux_dir_candidates and give up. 2506 + ac_missing_aux_files="" 2507 + ac_first_candidate=: 2508 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2509 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2510 + as_found=false 2511 + for as_dir in $ac_aux_dir_candidates 2512 + do 2513 + IFS=$as_save_IFS 2514 + case $as_dir in #((( 2515 + '') as_dir=./ ;; 2516 + */) ;; 2517 + *) as_dir=$as_dir/ ;; 2518 + esac 2519 + as_found=: 2520 + 2521 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2522 + ac_aux_dir_found=yes 2523 + ac_install_sh= 2524 + for ac_aux in $ac_aux_files 2525 + do 2526 + # As a special case, if "install-sh" is required, that requirement 2527 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2528 + # and $ac_install_sh is set appropriately for whichever one is found. 2529 + if test x"$ac_aux" = x"install-sh" 2530 + then 2531 + if test -f "${as_dir}install-sh"; then 2532 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2533 + ac_install_sh="${as_dir}install-sh -c" 2534 + elif test -f "${as_dir}install.sh"; then 2535 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2536 + ac_install_sh="${as_dir}install.sh -c" 2537 + elif test -f "${as_dir}shtool"; then 2538 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2539 + ac_install_sh="${as_dir}shtool install -c" 2540 + else 2541 + ac_aux_dir_found=no 2542 + if $ac_first_candidate; then 2543 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2544 + else 2545 + break 2546 + fi 2547 + fi 2548 + else 2549 + if test -f "${as_dir}${ac_aux}"; then 2550 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2551 + else 2552 + ac_aux_dir_found=no 2553 + if $ac_first_candidate; then 2554 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2555 + else 2556 + break 2557 + fi 2558 + fi 2559 + fi 2560 + done 2561 + if test "$ac_aux_dir_found" = yes; then 2562 + ac_aux_dir="$as_dir" 2563 + break 2564 + fi 2565 + ac_first_candidate=false 2566 + 2567 + as_found=false 2568 + done 2569 + IFS=$as_save_IFS 2570 + if $as_found 2571 + then : 2572 + 2573 + else $as_nop 2574 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2575 + fi 2576 + 2577 + 2578 + # These three variables are undocumented and unsupported, 2579 + # and are intended to be withdrawn in a future Autoconf release. 2580 + # They can cause serious problems if a builder's source tree is in a directory 2581 + # whose full name contains unusual characters. 2582 + if test -f "${ac_aux_dir}config.guess"; then 2583 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2584 + fi 2585 + if test -f "${ac_aux_dir}config.sub"; then 2586 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2587 + fi 2588 + if test -f "$ac_aux_dir/configure"; then 2589 + ac_configure="$SHELL ${ac_aux_dir}configure" 2590 + fi 2591 + 2162 2592 # Check that the precious variables saved in the cache have kept the same 2163 2593 # value. 2164 2594 ac_cache_corrupted=false ··· 2169 2599 eval ac_new_val=\$ac_env_${ac_var}_value 2170 2600 case $ac_old_set,$ac_new_set in 2171 2601 set,) 2172 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2173 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2602 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2603 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2174 2604 ac_cache_corrupted=: ;; 2175 2605 ,set) 2176 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2177 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2607 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2178 2608 ac_cache_corrupted=: ;; 2179 2609 ,);; 2180 2610 *) ··· 2183 2613 ac_old_val_w=`echo x $ac_old_val` 2184 2614 ac_new_val_w=`echo x $ac_new_val` 2185 2615 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2186 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2187 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2616 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2617 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2188 2618 ac_cache_corrupted=: 2189 2619 else 2190 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2191 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2620 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2621 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2192 2622 eval $ac_var=\$ac_old_val 2193 2623 fi 2194 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2195 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2196 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2197 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2624 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2625 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2626 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2627 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2198 2628 fi;; 2199 2629 esac 2200 2630 # Pass precious variables to config.status. 2201 2631 if test "$ac_new_set" = set; then 2202 2632 case $ac_new_val in 2203 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2633 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2204 2634 *) ac_arg=$ac_var=$ac_new_val ;; 2205 2635 esac 2206 2636 case " $ac_configure_args " in ··· 2210 2640 fi 2211 2641 done 2212 2642 if $ac_cache_corrupted; then 2213 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2214 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2215 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2216 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2217 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2644 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2645 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2646 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2647 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2648 + and start over" "$LINENO" 5 2218 2649 fi 2219 2650 ## -------------------- ## 2220 2651 ## Main body of script. ## ··· 2234 2665 # Initialize Automake 2235 2666 am__api_version='1.12' 2236 2667 2237 - ac_aux_dir= 2238 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2239 - if test -f "$ac_dir/install-sh"; then 2240 - ac_aux_dir=$ac_dir 2241 - ac_install_sh="$ac_aux_dir/install-sh -c" 2242 - break 2243 - elif test -f "$ac_dir/install.sh"; then 2244 - ac_aux_dir=$ac_dir 2245 - ac_install_sh="$ac_aux_dir/install.sh -c" 2246 - break 2247 - elif test -f "$ac_dir/shtool"; then 2248 - ac_aux_dir=$ac_dir 2249 - ac_install_sh="$ac_aux_dir/shtool install -c" 2250 - break 2251 - fi 2252 - done 2253 - if test -z "$ac_aux_dir"; then 2254 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2255 - fi 2256 2668 2257 - # These three variables are undocumented and unsupported, 2258 - # and are intended to be withdrawn in a future Autoconf release. 2259 - # They can cause serious problems if a builder's source tree is in a directory 2260 - # whose full name contains unusual characters. 2261 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2262 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2263 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2264 2669 2265 - 2266 - # Find a good install program. We prefer a C program (faster), 2670 + # Find a good install program. We prefer a C program (faster), 2267 2671 # so one script is as good as another. But avoid the broken or 2268 2672 # incompatible versions: 2269 2673 # SysV /etc/install, /usr/sbin/install ··· 2277 2681 # OS/2's system install, which has a completely different semantic 2278 2682 # ./install, which can be erroneously created by make from ./install.sh. 2279 2683 # Reject install programs that cannot install multiple files. 2280 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2281 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2684 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2685 + printf %s "checking for a BSD-compatible install... " >&6; } 2282 2686 if test -z "$INSTALL"; then 2283 - if ${ac_cv_path_install+:} false; then : 2284 - $as_echo_n "(cached) " >&6 2285 - else 2687 + if test ${ac_cv_path_install+y} 2688 + then : 2689 + printf %s "(cached) " >&6 2690 + else $as_nop 2286 2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2287 2692 for as_dir in $PATH 2288 2693 do 2289 2694 IFS=$as_save_IFS 2290 - test -z "$as_dir" && as_dir=. 2291 - # Account for people who put trailing slashes in PATH elements. 2292 - case $as_dir/ in #(( 2293 - ./ | .// | /[cC]/* | \ 2695 + case $as_dir in #((( 2696 + '') as_dir=./ ;; 2697 + */) ;; 2698 + *) as_dir=$as_dir/ ;; 2699 + esac 2700 + # Account for fact that we put trailing slashes in our PATH walk. 2701 + case $as_dir in #(( 2702 + ./ | /[cC]/* | \ 2294 2703 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2295 2704 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2296 2705 /usr/ucb/* ) ;; ··· 2300 2709 # by default. 2301 2710 for ac_prog in ginstall scoinst install; do 2302 2711 for ac_exec_ext in '' $ac_executable_extensions; do 2303 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2712 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2304 2713 if test $ac_prog = install && 2305 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2714 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2306 2715 # AIX install. It has an incompatible calling convention. 2307 2716 : 2308 2717 elif test $ac_prog = install && 2309 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2718 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2310 2719 # program-specific install script used by HP pwplus--don't use. 2311 2720 : 2312 2721 else ··· 2314 2723 echo one > conftest.one 2315 2724 echo two > conftest.two 2316 2725 mkdir conftest.dir 2317 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2726 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2318 2727 test -s conftest.one && test -s conftest.two && 2319 2728 test -s conftest.dir/conftest.one && 2320 2729 test -s conftest.dir/conftest.two 2321 2730 then 2322 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2731 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2323 2732 break 3 2324 2733 fi 2325 2734 fi ··· 2335 2744 rm -rf conftest.one conftest.two conftest.dir 2336 2745 2337 2746 fi 2338 - if test "${ac_cv_path_install+set}" = set; then 2747 + if test ${ac_cv_path_install+y}; then 2339 2748 INSTALL=$ac_cv_path_install 2340 2749 else 2341 2750 # As a last resort, use the slow shell script. Don't cache a ··· 2345 2754 INSTALL=$ac_install_sh 2346 2755 fi 2347 2756 fi 2348 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2349 - $as_echo "$INSTALL" >&6; } 2757 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2758 + printf "%s\n" "$INSTALL" >&6; } 2350 2759 2351 2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2352 2761 # It thinks the first close brace ends the variable substitution. ··· 2356 2765 2357 2766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2358 2767 2359 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2360 - $as_echo_n "checking whether build environment is sane... " >&6; } 2768 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2769 + printf %s "checking whether build environment is sane... " >&6; } 2361 2770 # Reject unsafe characters in $srcdir or the absolute working directory 2362 2771 # name. Accept space and tab only in the latter. 2363 2772 am_lf=' ··· 2411 2820 as_fn_error $? "newly created file is older than distributed files! 2412 2821 Check your system clock" "$LINENO" 5 2413 2822 fi 2414 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2415 - $as_echo "yes" >&6; } 2823 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2824 + printf "%s\n" "yes" >&6; } 2416 2825 # If we didn't sleep, we still need to ensure time stamps of config.status and 2417 2826 # generated files are strictly newer. 2418 2827 am_sleep_pid= ··· 2431 2840 # Double any \ or $. 2432 2841 # By default was `s,x,x', remove it if useless. 2433 2842 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2434 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2843 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2435 2844 2436 2845 # expand $ac_aux_dir to an absolute path 2437 2846 am_aux_dir=`cd $ac_aux_dir && pwd` 2438 2847 2439 - if test x"${MISSING+set}" != xset; then 2848 + 2849 + if test x"${MISSING+set}" != xset; then 2440 2850 case $am_aux_dir in 2441 2851 *\ * | *\ *) 2442 2852 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2449 2859 am_missing_run="$MISSING --run " 2450 2860 else 2451 2861 am_missing_run= 2452 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2453 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2862 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2863 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2454 2864 fi 2455 2865 2456 2866 if test x"${install_sh}" != xset; then ··· 2470 2880 if test -n "$ac_tool_prefix"; then 2471 2881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2472 2882 set dummy ${ac_tool_prefix}strip; ac_word=$2 2473 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2474 - $as_echo_n "checking for $ac_word... " >&6; } 2475 - if ${ac_cv_prog_STRIP+:} false; then : 2476 - $as_echo_n "(cached) " >&6 2477 - else 2883 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2884 + printf %s "checking for $ac_word... " >&6; } 2885 + if test ${ac_cv_prog_STRIP+y} 2886 + then : 2887 + printf %s "(cached) " >&6 2888 + else $as_nop 2478 2889 if test -n "$STRIP"; then 2479 2890 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2480 2891 else ··· 2482 2893 for as_dir in $PATH 2483 2894 do 2484 2895 IFS=$as_save_IFS 2485 - test -z "$as_dir" && as_dir=. 2896 + case $as_dir in #((( 2897 + '') as_dir=./ ;; 2898 + */) ;; 2899 + *) as_dir=$as_dir/ ;; 2900 + esac 2486 2901 for ac_exec_ext in '' $ac_executable_extensions; do 2487 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2902 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2488 2903 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2489 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2904 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2490 2905 break 2 2491 2906 fi 2492 2907 done ··· 2497 2912 fi 2498 2913 STRIP=$ac_cv_prog_STRIP 2499 2914 if test -n "$STRIP"; then 2500 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2501 - $as_echo "$STRIP" >&6; } 2915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2916 + printf "%s\n" "$STRIP" >&6; } 2502 2917 else 2503 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2504 - $as_echo "no" >&6; } 2918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2919 + printf "%s\n" "no" >&6; } 2505 2920 fi 2506 2921 2507 2922 ··· 2510 2925 ac_ct_STRIP=$STRIP 2511 2926 # Extract the first word of "strip", so it can be a program name with args. 2512 2927 set dummy strip; ac_word=$2 2513 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2514 - $as_echo_n "checking for $ac_word... " >&6; } 2515 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2516 - $as_echo_n "(cached) " >&6 2517 - else 2928 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2929 + printf %s "checking for $ac_word... " >&6; } 2930 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2931 + then : 2932 + printf %s "(cached) " >&6 2933 + else $as_nop 2518 2934 if test -n "$ac_ct_STRIP"; then 2519 2935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2520 2936 else ··· 2522 2938 for as_dir in $PATH 2523 2939 do 2524 2940 IFS=$as_save_IFS 2525 - test -z "$as_dir" && as_dir=. 2941 + case $as_dir in #((( 2942 + '') as_dir=./ ;; 2943 + */) ;; 2944 + *) as_dir=$as_dir/ ;; 2945 + esac 2526 2946 for ac_exec_ext in '' $ac_executable_extensions; do 2527 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2947 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2528 2948 ac_cv_prog_ac_ct_STRIP="strip" 2529 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2949 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2530 2950 break 2 2531 2951 fi 2532 2952 done ··· 2537 2957 fi 2538 2958 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2539 2959 if test -n "$ac_ct_STRIP"; then 2540 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2541 - $as_echo "$ac_ct_STRIP" >&6; } 2960 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2961 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2542 2962 else 2543 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2544 - $as_echo "no" >&6; } 2963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2964 + printf "%s\n" "no" >&6; } 2545 2965 fi 2546 2966 2547 2967 if test "x$ac_ct_STRIP" = x; then ··· 2549 2969 else 2550 2970 case $cross_compiling:$ac_tool_warned in 2551 2971 yes:) 2552 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2553 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2972 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2973 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2554 2974 ac_tool_warned=yes ;; 2555 2975 esac 2556 2976 STRIP=$ac_ct_STRIP ··· 2562 2982 fi 2563 2983 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2564 2984 2565 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2566 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2985 + 2986 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2987 + printf %s "checking for a race-free mkdir -p... " >&6; } 2567 2988 if test -z "$MKDIR_P"; then 2568 - if ${ac_cv_path_mkdir+:} false; then : 2569 - $as_echo_n "(cached) " >&6 2570 - else 2989 + if test ${ac_cv_path_mkdir+y} 2990 + then : 2991 + printf %s "(cached) " >&6 2992 + else $as_nop 2571 2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2572 2994 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2573 2995 do 2574 2996 IFS=$as_save_IFS 2575 - test -z "$as_dir" && as_dir=. 2997 + case $as_dir in #((( 2998 + '') as_dir=./ ;; 2999 + */) ;; 3000 + *) as_dir=$as_dir/ ;; 3001 + esac 2576 3002 for ac_prog in mkdir gmkdir; do 2577 3003 for ac_exec_ext in '' $ac_executable_extensions; do 2578 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2579 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2580 - 'mkdir (GNU coreutils) '* | \ 2581 - 'mkdir (coreutils) '* | \ 3004 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 3005 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 3006 + 'mkdir ('*'coreutils) '* | \ 3007 + 'BusyBox '* | \ 2582 3008 'mkdir (fileutils) '4.1*) 2583 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3009 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2584 3010 break 3;; 2585 3011 esac 2586 3012 done ··· 2591 3017 fi 2592 3018 2593 3019 test -d ./--version && rmdir ./--version 2594 - if test "${ac_cv_path_mkdir+set}" = set; then 3020 + if test ${ac_cv_path_mkdir+y}; then 2595 3021 MKDIR_P="$ac_cv_path_mkdir -p" 2596 3022 else 2597 3023 # As a last resort, use the slow shell script. Don't cache a ··· 2601 3027 MKDIR_P="$ac_install_sh -d" 2602 3028 fi 2603 3029 fi 2604 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2605 - $as_echo "$MKDIR_P" >&6; } 3030 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3031 + printf "%s\n" "$MKDIR_P" >&6; } 2606 3032 2607 3033 for ac_prog in gawk mawk nawk awk 2608 3034 do 2609 3035 # Extract the first word of "$ac_prog", so it can be a program name with args. 2610 3036 set dummy $ac_prog; ac_word=$2 2611 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2612 - $as_echo_n "checking for $ac_word... " >&6; } 2613 - if ${ac_cv_prog_AWK+:} false; then : 2614 - $as_echo_n "(cached) " >&6 2615 - else 3037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3038 + printf %s "checking for $ac_word... " >&6; } 3039 + if test ${ac_cv_prog_AWK+y} 3040 + then : 3041 + printf %s "(cached) " >&6 3042 + else $as_nop 2616 3043 if test -n "$AWK"; then 2617 3044 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2618 3045 else ··· 2620 3047 for as_dir in $PATH 2621 3048 do 2622 3049 IFS=$as_save_IFS 2623 - test -z "$as_dir" && as_dir=. 3050 + case $as_dir in #((( 3051 + '') as_dir=./ ;; 3052 + */) ;; 3053 + *) as_dir=$as_dir/ ;; 3054 + esac 2624 3055 for ac_exec_ext in '' $ac_executable_extensions; do 2625 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3056 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2626 3057 ac_cv_prog_AWK="$ac_prog" 2627 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3058 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2628 3059 break 2 2629 3060 fi 2630 3061 done ··· 2635 3066 fi 2636 3067 AWK=$ac_cv_prog_AWK 2637 3068 if test -n "$AWK"; then 2638 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2639 - $as_echo "$AWK" >&6; } 3069 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3070 + printf "%s\n" "$AWK" >&6; } 2640 3071 else 2641 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2642 - $as_echo "no" >&6; } 3072 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3073 + printf "%s\n" "no" >&6; } 2643 3074 fi 2644 3075 2645 3076 2646 3077 test -n "$AWK" && break 2647 3078 done 2648 3079 2649 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2650 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3080 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3081 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2651 3082 set x ${MAKE-make} 2652 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2653 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2654 - $as_echo_n "(cached) " >&6 2655 - else 3083 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3084 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 3085 + then : 3086 + printf %s "(cached) " >&6 3087 + else $as_nop 2656 3088 cat >conftest.make <<\_ACEOF 2657 3089 SHELL = /bin/sh 2658 3090 all: ··· 2668 3100 rm -f conftest.make 2669 3101 fi 2670 3102 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2671 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2672 - $as_echo "yes" >&6; } 3103 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3104 + printf "%s\n" "yes" >&6; } 2673 3105 SET_MAKE= 2674 3106 else 2675 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2676 - $as_echo "no" >&6; } 3107 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3108 + printf "%s\n" "no" >&6; } 2677 3109 SET_MAKE="MAKE=${MAKE-make}" 2678 3110 fi 2679 3111 ··· 2708 3140 2709 3141 # Define the identity of the package. 2710 3142 PACKAGE='libXvMC' 2711 - VERSION='1.0.12' 3143 + VERSION='1.0.13' 2712 3144 2713 3145 2714 - cat >>confdefs.h <<_ACEOF 2715 - #define PACKAGE "$PACKAGE" 2716 - _ACEOF 3146 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2717 3147 2718 3148 2719 - cat >>confdefs.h <<_ACEOF 2720 - #define VERSION "$VERSION" 2721 - _ACEOF 3149 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2722 3150 2723 3151 # Some tools Automake needs. 2724 3152 ··· 2756 3184 2757 3185 2758 3186 # Initialize libtool 3187 + 2759 3188 case `pwd` in 2760 3189 *\ * | *\ *) 2761 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2762 - $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3190 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3191 + printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2763 3192 esac 2764 3193 2765 3194 ··· 2779 3208 2780 3209 2781 3210 3211 + 2782 3212 ltmain="$ac_aux_dir/ltmain.sh" 2783 3213 2784 - # Make sure we can run config.sub. 2785 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2786 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3214 + 2787 3215 2788 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2789 - $as_echo_n "checking build system type... " >&6; } 2790 - if ${ac_cv_build+:} false; then : 2791 - $as_echo_n "(cached) " >&6 2792 - else 3216 + # Make sure we can run config.sub. 3217 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 3218 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 3219 + 3220 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3221 + printf %s "checking build system type... " >&6; } 3222 + if test ${ac_cv_build+y} 3223 + then : 3224 + printf %s "(cached) " >&6 3225 + else $as_nop 2793 3226 ac_build_alias=$build_alias 2794 3227 test "x$ac_build_alias" = x && 2795 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3228 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2796 3229 test "x$ac_build_alias" = x && 2797 3230 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2798 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2799 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3231 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 3232 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2800 3233 2801 3234 fi 2802 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2803 - $as_echo "$ac_cv_build" >&6; } 3235 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3236 + printf "%s\n" "$ac_cv_build" >&6; } 2804 3237 case $ac_cv_build in 2805 3238 *-*-*) ;; 2806 3239 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 2819 3252 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2820 3253 2821 3254 2822 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2823 - $as_echo_n "checking host system type... " >&6; } 2824 - if ${ac_cv_host+:} false; then : 2825 - $as_echo_n "(cached) " >&6 2826 - else 3255 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3256 + printf %s "checking host system type... " >&6; } 3257 + if test ${ac_cv_host+y} 3258 + then : 3259 + printf %s "(cached) " >&6 3260 + else $as_nop 2827 3261 if test "x$host_alias" = x; then 2828 3262 ac_cv_host=$ac_cv_build 2829 3263 else 2830 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2831 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3264 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 3265 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2832 3266 fi 2833 3267 2834 3268 fi 2835 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2836 - $as_echo "$ac_cv_host" >&6; } 3269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3270 + printf "%s\n" "$ac_cv_host" >&6; } 2837 3271 case $ac_cv_host in 2838 3272 *-*-*) ;; 2839 3273 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 2873 3307 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2874 3308 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2875 3309 2876 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2877 - $as_echo_n "checking how to print strings... " >&6; } 3310 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3311 + printf %s "checking how to print strings... " >&6; } 2878 3312 # Test print first, because it will be a builtin if present. 2879 3313 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2880 3314 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ··· 2900 3334 } 2901 3335 2902 3336 case "$ECHO" in 2903 - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2904 - $as_echo "printf" >&6; } ;; 2905 - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2906 - $as_echo "print -r" >&6; } ;; 2907 - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2908 - $as_echo "cat" >&6; } ;; 3337 + printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3338 + printf "%s\n" "printf" >&6; } ;; 3339 + print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3340 + printf "%s\n" "print -r" >&6; } ;; 3341 + *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3342 + printf "%s\n" "cat" >&6; } ;; 2909 3343 esac 3344 + 3345 + 3346 + 3347 + 3348 + 3349 + 3350 + 3351 + 3352 + 2910 3353 2911 3354 2912 3355 ··· 2933 3376 .PHONY: am__doit 2934 3377 END 2935 3378 # If we don't find an include directive, just comment out the code. 2936 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2937 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3379 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3380 + printf %s "checking for style of include used by $am_make... " >&6; } 2938 3381 am__include="#" 2939 3382 am__quote= 2940 3383 _am_result=none ··· 2961 3404 fi 2962 3405 2963 3406 2964 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2965 - $as_echo "$_am_result" >&6; } 3407 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3408 + printf "%s\n" "$_am_result" >&6; } 2966 3409 rm -f confinc confmf 2967 3410 2968 3411 # Check whether --enable-dependency-tracking was given. 2969 - if test "${enable_dependency_tracking+set}" = set; then : 3412 + if test ${enable_dependency_tracking+y} 3413 + then : 2970 3414 enableval=$enable_dependency_tracking; 2971 3415 fi 2972 3416 ··· 2992 3436 if test -n "$ac_tool_prefix"; then 2993 3437 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2994 3438 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2995 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2996 - $as_echo_n "checking for $ac_word... " >&6; } 2997 - if ${ac_cv_prog_CC+:} false; then : 2998 - $as_echo_n "(cached) " >&6 2999 - else 3439 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3440 + printf %s "checking for $ac_word... " >&6; } 3441 + if test ${ac_cv_prog_CC+y} 3442 + then : 3443 + printf %s "(cached) " >&6 3444 + else $as_nop 3000 3445 if test -n "$CC"; then 3001 3446 ac_cv_prog_CC="$CC" # Let the user override the test. 3002 3447 else ··· 3004 3449 for as_dir in $PATH 3005 3450 do 3006 3451 IFS=$as_save_IFS 3007 - test -z "$as_dir" && as_dir=. 3452 + case $as_dir in #((( 3453 + '') as_dir=./ ;; 3454 + */) ;; 3455 + *) as_dir=$as_dir/ ;; 3456 + esac 3008 3457 for ac_exec_ext in '' $ac_executable_extensions; do 3009 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3458 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3010 3459 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3011 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3460 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3012 3461 break 2 3013 3462 fi 3014 3463 done ··· 3019 3468 fi 3020 3469 CC=$ac_cv_prog_CC 3021 3470 if test -n "$CC"; then 3022 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3023 - $as_echo "$CC" >&6; } 3471 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3472 + printf "%s\n" "$CC" >&6; } 3024 3473 else 3025 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3026 - $as_echo "no" >&6; } 3474 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3475 + printf "%s\n" "no" >&6; } 3027 3476 fi 3028 3477 3029 3478 ··· 3032 3481 ac_ct_CC=$CC 3033 3482 # Extract the first word of "gcc", so it can be a program name with args. 3034 3483 set dummy gcc; ac_word=$2 3035 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3036 - $as_echo_n "checking for $ac_word... " >&6; } 3037 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3038 - $as_echo_n "(cached) " >&6 3039 - else 3484 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3485 + printf %s "checking for $ac_word... " >&6; } 3486 + if test ${ac_cv_prog_ac_ct_CC+y} 3487 + then : 3488 + printf %s "(cached) " >&6 3489 + else $as_nop 3040 3490 if test -n "$ac_ct_CC"; then 3041 3491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3042 3492 else ··· 3044 3494 for as_dir in $PATH 3045 3495 do 3046 3496 IFS=$as_save_IFS 3047 - test -z "$as_dir" && as_dir=. 3497 + case $as_dir in #((( 3498 + '') as_dir=./ ;; 3499 + */) ;; 3500 + *) as_dir=$as_dir/ ;; 3501 + esac 3048 3502 for ac_exec_ext in '' $ac_executable_extensions; do 3049 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3503 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3050 3504 ac_cv_prog_ac_ct_CC="gcc" 3051 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3505 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3052 3506 break 2 3053 3507 fi 3054 3508 done ··· 3059 3513 fi 3060 3514 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3061 3515 if test -n "$ac_ct_CC"; then 3062 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3063 - $as_echo "$ac_ct_CC" >&6; } 3516 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3517 + printf "%s\n" "$ac_ct_CC" >&6; } 3064 3518 else 3065 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3066 - $as_echo "no" >&6; } 3519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3520 + printf "%s\n" "no" >&6; } 3067 3521 fi 3068 3522 3069 3523 if test "x$ac_ct_CC" = x; then ··· 3071 3525 else 3072 3526 case $cross_compiling:$ac_tool_warned in 3073 3527 yes:) 3074 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3075 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3528 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3529 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3076 3530 ac_tool_warned=yes ;; 3077 3531 esac 3078 3532 CC=$ac_ct_CC ··· 3085 3539 if test -n "$ac_tool_prefix"; then 3086 3540 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3087 3541 set dummy ${ac_tool_prefix}cc; ac_word=$2 3088 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3089 - $as_echo_n "checking for $ac_word... " >&6; } 3090 - if ${ac_cv_prog_CC+:} false; then : 3091 - $as_echo_n "(cached) " >&6 3092 - else 3542 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3543 + printf %s "checking for $ac_word... " >&6; } 3544 + if test ${ac_cv_prog_CC+y} 3545 + then : 3546 + printf %s "(cached) " >&6 3547 + else $as_nop 3093 3548 if test -n "$CC"; then 3094 3549 ac_cv_prog_CC="$CC" # Let the user override the test. 3095 3550 else ··· 3097 3552 for as_dir in $PATH 3098 3553 do 3099 3554 IFS=$as_save_IFS 3100 - test -z "$as_dir" && as_dir=. 3555 + case $as_dir in #((( 3556 + '') as_dir=./ ;; 3557 + */) ;; 3558 + *) as_dir=$as_dir/ ;; 3559 + esac 3101 3560 for ac_exec_ext in '' $ac_executable_extensions; do 3102 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3561 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3103 3562 ac_cv_prog_CC="${ac_tool_prefix}cc" 3104 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3563 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3105 3564 break 2 3106 3565 fi 3107 3566 done ··· 3112 3571 fi 3113 3572 CC=$ac_cv_prog_CC 3114 3573 if test -n "$CC"; then 3115 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3116 - $as_echo "$CC" >&6; } 3574 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3575 + printf "%s\n" "$CC" >&6; } 3117 3576 else 3118 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3119 - $as_echo "no" >&6; } 3577 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3578 + printf "%s\n" "no" >&6; } 3120 3579 fi 3121 3580 3122 3581 ··· 3125 3584 if test -z "$CC"; then 3126 3585 # Extract the first word of "cc", so it can be a program name with args. 3127 3586 set dummy cc; ac_word=$2 3128 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3129 - $as_echo_n "checking for $ac_word... " >&6; } 3130 - if ${ac_cv_prog_CC+:} false; then : 3131 - $as_echo_n "(cached) " >&6 3132 - else 3587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3588 + printf %s "checking for $ac_word... " >&6; } 3589 + if test ${ac_cv_prog_CC+y} 3590 + then : 3591 + printf %s "(cached) " >&6 3592 + else $as_nop 3133 3593 if test -n "$CC"; then 3134 3594 ac_cv_prog_CC="$CC" # Let the user override the test. 3135 3595 else ··· 3138 3598 for as_dir in $PATH 3139 3599 do 3140 3600 IFS=$as_save_IFS 3141 - test -z "$as_dir" && as_dir=. 3601 + case $as_dir in #((( 3602 + '') as_dir=./ ;; 3603 + */) ;; 3604 + *) as_dir=$as_dir/ ;; 3605 + esac 3142 3606 for ac_exec_ext in '' $ac_executable_extensions; do 3143 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3144 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3607 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3608 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3145 3609 ac_prog_rejected=yes 3146 3610 continue 3147 3611 fi 3148 3612 ac_cv_prog_CC="cc" 3149 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3613 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3150 3614 break 2 3151 3615 fi 3152 3616 done ··· 3162 3626 # However, it has the same basename, so the bogon will be chosen 3163 3627 # first if we set CC to just the basename; use the full file name. 3164 3628 shift 3165 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3629 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3166 3630 fi 3167 3631 fi 3168 3632 fi 3169 3633 fi 3170 3634 CC=$ac_cv_prog_CC 3171 3635 if test -n "$CC"; then 3172 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3173 - $as_echo "$CC" >&6; } 3636 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3637 + printf "%s\n" "$CC" >&6; } 3174 3638 else 3175 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3176 - $as_echo "no" >&6; } 3639 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3640 + printf "%s\n" "no" >&6; } 3177 3641 fi 3178 3642 3179 3643 ··· 3184 3648 do 3185 3649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3186 3650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3187 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3188 - $as_echo_n "checking for $ac_word... " >&6; } 3189 - if ${ac_cv_prog_CC+:} false; then : 3190 - $as_echo_n "(cached) " >&6 3191 - else 3651 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3652 + printf %s "checking for $ac_word... " >&6; } 3653 + if test ${ac_cv_prog_CC+y} 3654 + then : 3655 + printf %s "(cached) " >&6 3656 + else $as_nop 3192 3657 if test -n "$CC"; then 3193 3658 ac_cv_prog_CC="$CC" # Let the user override the test. 3194 3659 else ··· 3196 3661 for as_dir in $PATH 3197 3662 do 3198 3663 IFS=$as_save_IFS 3199 - test -z "$as_dir" && as_dir=. 3664 + case $as_dir in #((( 3665 + '') as_dir=./ ;; 3666 + */) ;; 3667 + *) as_dir=$as_dir/ ;; 3668 + esac 3200 3669 for ac_exec_ext in '' $ac_executable_extensions; do 3201 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3670 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3202 3671 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3203 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3672 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3204 3673 break 2 3205 3674 fi 3206 3675 done ··· 3211 3680 fi 3212 3681 CC=$ac_cv_prog_CC 3213 3682 if test -n "$CC"; then 3214 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3215 - $as_echo "$CC" >&6; } 3683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3684 + printf "%s\n" "$CC" >&6; } 3216 3685 else 3217 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3218 - $as_echo "no" >&6; } 3686 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3687 + printf "%s\n" "no" >&6; } 3219 3688 fi 3220 3689 3221 3690 ··· 3228 3697 do 3229 3698 # Extract the first word of "$ac_prog", so it can be a program name with args. 3230 3699 set dummy $ac_prog; ac_word=$2 3231 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3232 - $as_echo_n "checking for $ac_word... " >&6; } 3233 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3234 - $as_echo_n "(cached) " >&6 3235 - else 3700 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3701 + printf %s "checking for $ac_word... " >&6; } 3702 + if test ${ac_cv_prog_ac_ct_CC+y} 3703 + then : 3704 + printf %s "(cached) " >&6 3705 + else $as_nop 3236 3706 if test -n "$ac_ct_CC"; then 3237 3707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3238 3708 else ··· 3240 3710 for as_dir in $PATH 3241 3711 do 3242 3712 IFS=$as_save_IFS 3243 - test -z "$as_dir" && as_dir=. 3713 + case $as_dir in #((( 3714 + '') as_dir=./ ;; 3715 + */) ;; 3716 + *) as_dir=$as_dir/ ;; 3717 + esac 3244 3718 for ac_exec_ext in '' $ac_executable_extensions; do 3245 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3719 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3246 3720 ac_cv_prog_ac_ct_CC="$ac_prog" 3247 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3721 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3248 3722 break 2 3249 3723 fi 3250 3724 done ··· 3255 3729 fi 3256 3730 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3257 3731 if test -n "$ac_ct_CC"; then 3258 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3259 - $as_echo "$ac_ct_CC" >&6; } 3732 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3733 + printf "%s\n" "$ac_ct_CC" >&6; } 3260 3734 else 3261 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3262 - $as_echo "no" >&6; } 3735 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3736 + printf "%s\n" "no" >&6; } 3263 3737 fi 3264 3738 3265 3739 ··· 3271 3745 else 3272 3746 case $cross_compiling:$ac_tool_warned in 3273 3747 yes:) 3274 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3275 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3748 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3749 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3750 + ac_tool_warned=yes ;; 3751 + esac 3752 + CC=$ac_ct_CC 3753 + fi 3754 + fi 3755 + 3756 + fi 3757 + if test -z "$CC"; then 3758 + if test -n "$ac_tool_prefix"; then 3759 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3760 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3761 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3762 + printf %s "checking for $ac_word... " >&6; } 3763 + if test ${ac_cv_prog_CC+y} 3764 + then : 3765 + printf %s "(cached) " >&6 3766 + else $as_nop 3767 + if test -n "$CC"; then 3768 + ac_cv_prog_CC="$CC" # Let the user override the test. 3769 + else 3770 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3771 + for as_dir in $PATH 3772 + do 3773 + IFS=$as_save_IFS 3774 + case $as_dir in #((( 3775 + '') as_dir=./ ;; 3776 + */) ;; 3777 + *) as_dir=$as_dir/ ;; 3778 + esac 3779 + for ac_exec_ext in '' $ac_executable_extensions; do 3780 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3781 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3782 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3783 + break 2 3784 + fi 3785 + done 3786 + done 3787 + IFS=$as_save_IFS 3788 + 3789 + fi 3790 + fi 3791 + CC=$ac_cv_prog_CC 3792 + if test -n "$CC"; then 3793 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3794 + printf "%s\n" "$CC" >&6; } 3795 + else 3796 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3797 + printf "%s\n" "no" >&6; } 3798 + fi 3799 + 3800 + 3801 + fi 3802 + if test -z "$ac_cv_prog_CC"; then 3803 + ac_ct_CC=$CC 3804 + # Extract the first word of "clang", so it can be a program name with args. 3805 + set dummy clang; ac_word=$2 3806 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3807 + printf %s "checking for $ac_word... " >&6; } 3808 + if test ${ac_cv_prog_ac_ct_CC+y} 3809 + then : 3810 + printf %s "(cached) " >&6 3811 + else $as_nop 3812 + if test -n "$ac_ct_CC"; then 3813 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3814 + else 3815 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3816 + for as_dir in $PATH 3817 + do 3818 + IFS=$as_save_IFS 3819 + case $as_dir in #((( 3820 + '') as_dir=./ ;; 3821 + */) ;; 3822 + *) as_dir=$as_dir/ ;; 3823 + esac 3824 + for ac_exec_ext in '' $ac_executable_extensions; do 3825 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3826 + ac_cv_prog_ac_ct_CC="clang" 3827 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3828 + break 2 3829 + fi 3830 + done 3831 + done 3832 + IFS=$as_save_IFS 3833 + 3834 + fi 3835 + fi 3836 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3837 + if test -n "$ac_ct_CC"; then 3838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3839 + printf "%s\n" "$ac_ct_CC" >&6; } 3840 + else 3841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3842 + printf "%s\n" "no" >&6; } 3843 + fi 3844 + 3845 + if test "x$ac_ct_CC" = x; then 3846 + CC="" 3847 + else 3848 + case $cross_compiling:$ac_tool_warned in 3849 + yes:) 3850 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3851 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3276 3852 ac_tool_warned=yes ;; 3277 3853 esac 3278 3854 CC=$ac_ct_CC 3279 3855 fi 3856 + else 3857 + CC="$ac_cv_prog_CC" 3280 3858 fi 3281 3859 3282 3860 fi 3283 3861 3284 3862 3285 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3286 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3863 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3864 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3287 3865 as_fn_error $? "no acceptable C compiler found in \$PATH 3288 3866 See \`config.log' for more details" "$LINENO" 5; } 3289 3867 3290 3868 # Provide some information about the compiler. 3291 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3869 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3292 3870 set X $ac_compile 3293 3871 ac_compiler=$2 3294 - for ac_option in --version -v -V -qversion; do 3872 + for ac_option in --version -v -V -qversion -version; do 3295 3873 { { ac_try="$ac_compiler $ac_option >&5" 3296 3874 case "(($ac_try" in 3297 3875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3298 3876 *) ac_try_echo=$ac_try;; 3299 3877 esac 3300 3878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3301 - $as_echo "$ac_try_echo"; } >&5 3879 + printf "%s\n" "$ac_try_echo"; } >&5 3302 3880 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3303 3881 ac_status=$? 3304 3882 if test -s conftest.err; then ··· 3308 3886 cat conftest.er1 >&5 3309 3887 fi 3310 3888 rm -f conftest.er1 conftest.err 3311 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3889 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3312 3890 test $ac_status = 0; } 3313 3891 done 3314 3892 ··· 3316 3894 /* end confdefs.h. */ 3317 3895 3318 3896 int 3319 - main () 3897 + main (void) 3320 3898 { 3321 3899 3322 3900 ; ··· 3328 3906 # Try to create an executable without -o first, disregard a.out. 3329 3907 # It will help us diagnose broken compilers, and finding out an intuition 3330 3908 # of exeext. 3331 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3332 - $as_echo_n "checking whether the C compiler works... " >&6; } 3333 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3909 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3910 + printf %s "checking whether the C compiler works... " >&6; } 3911 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3334 3912 3335 3913 # The possible output files: 3336 3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3351 3929 *) ac_try_echo=$ac_try;; 3352 3930 esac 3353 3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3354 - $as_echo "$ac_try_echo"; } >&5 3932 + printf "%s\n" "$ac_try_echo"; } >&5 3355 3933 (eval "$ac_link_default") 2>&5 3356 3934 ac_status=$? 3357 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3358 - test $ac_status = 0; }; then : 3935 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3936 + test $ac_status = 0; } 3937 + then : 3359 3938 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3360 3939 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3361 3940 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3372 3951 # certainly right. 3373 3952 break;; 3374 3953 *.* ) 3375 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3954 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3376 3955 then :; else 3377 3956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3378 3957 fi ··· 3388 3967 done 3389 3968 test "$ac_cv_exeext" = no && ac_cv_exeext= 3390 3969 3391 - else 3970 + else $as_nop 3392 3971 ac_file='' 3393 3972 fi 3394 - if test -z "$ac_file"; then : 3395 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3396 - $as_echo "no" >&6; } 3397 - $as_echo "$as_me: failed program was:" >&5 3973 + if test -z "$ac_file" 3974 + then : 3975 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3976 + printf "%s\n" "no" >&6; } 3977 + printf "%s\n" "$as_me: failed program was:" >&5 3398 3978 sed 's/^/| /' conftest.$ac_ext >&5 3399 3979 3400 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3401 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3980 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3981 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3402 3982 as_fn_error 77 "C compiler cannot create executables 3403 3983 See \`config.log' for more details" "$LINENO" 5; } 3404 - else 3405 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3406 - $as_echo "yes" >&6; } 3984 + else $as_nop 3985 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3986 + printf "%s\n" "yes" >&6; } 3407 3987 fi 3408 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3409 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3410 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3411 - $as_echo "$ac_file" >&6; } 3988 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3989 + printf %s "checking for C compiler default output file name... " >&6; } 3990 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3991 + printf "%s\n" "$ac_file" >&6; } 3412 3992 ac_exeext=$ac_cv_exeext 3413 3993 3414 3994 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3415 3995 ac_clean_files=$ac_clean_files_save 3416 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3417 - $as_echo_n "checking for suffix of executables... " >&6; } 3996 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3997 + printf %s "checking for suffix of executables... " >&6; } 3418 3998 if { { ac_try="$ac_link" 3419 3999 case "(($ac_try" in 3420 4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3421 4001 *) ac_try_echo=$ac_try;; 3422 4002 esac 3423 4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3424 - $as_echo "$ac_try_echo"; } >&5 4004 + printf "%s\n" "$ac_try_echo"; } >&5 3425 4005 (eval "$ac_link") 2>&5 3426 4006 ac_status=$? 3427 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3428 - test $ac_status = 0; }; then : 4007 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4008 + test $ac_status = 0; } 4009 + then : 3429 4010 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3430 4011 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3431 4012 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3439 4020 * ) break;; 3440 4021 esac 3441 4022 done 3442 - else 3443 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3444 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4023 + else $as_nop 4024 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4025 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3445 4026 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3446 4027 See \`config.log' for more details" "$LINENO" 5; } 3447 4028 fi 3448 4029 rm -f conftest conftest$ac_cv_exeext 3449 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3450 - $as_echo "$ac_cv_exeext" >&6; } 4030 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4031 + printf "%s\n" "$ac_cv_exeext" >&6; } 3451 4032 3452 4033 rm -f conftest.$ac_ext 3453 4034 EXEEXT=$ac_cv_exeext ··· 3456 4037 /* end confdefs.h. */ 3457 4038 #include <stdio.h> 3458 4039 int 3459 - main () 4040 + main (void) 3460 4041 { 3461 4042 FILE *f = fopen ("conftest.out", "w"); 3462 4043 return ferror (f) || fclose (f) != 0; ··· 3468 4049 ac_clean_files="$ac_clean_files conftest.out" 3469 4050 # Check that the compiler produces executables we can run. If not, either 3470 4051 # the compiler is broken, or we cross compile. 3471 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3472 - $as_echo_n "checking whether we are cross compiling... " >&6; } 4052 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4053 + printf %s "checking whether we are cross compiling... " >&6; } 3473 4054 if test "$cross_compiling" != yes; then 3474 4055 { { ac_try="$ac_link" 3475 4056 case "(($ac_try" in ··· 3477 4058 *) ac_try_echo=$ac_try;; 3478 4059 esac 3479 4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3480 - $as_echo "$ac_try_echo"; } >&5 4061 + printf "%s\n" "$ac_try_echo"; } >&5 3481 4062 (eval "$ac_link") 2>&5 3482 4063 ac_status=$? 3483 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4064 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3484 4065 test $ac_status = 0; } 3485 4066 if { ac_try='./conftest$ac_cv_exeext' 3486 4067 { { case "(($ac_try" in ··· 3488 4069 *) ac_try_echo=$ac_try;; 3489 4070 esac 3490 4071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3491 - $as_echo "$ac_try_echo"; } >&5 4072 + printf "%s\n" "$ac_try_echo"; } >&5 3492 4073 (eval "$ac_try") 2>&5 3493 4074 ac_status=$? 3494 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4075 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3495 4076 test $ac_status = 0; }; }; then 3496 4077 cross_compiling=no 3497 4078 else 3498 4079 if test "$cross_compiling" = maybe; then 3499 4080 cross_compiling=yes 3500 4081 else 3501 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3502 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3503 - as_fn_error $? "cannot run C compiled programs. 4082 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4083 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4084 + as_fn_error 77 "cannot run C compiled programs. 3504 4085 If you meant to cross compile, use \`--host'. 3505 4086 See \`config.log' for more details" "$LINENO" 5; } 3506 4087 fi 3507 4088 fi 3508 4089 fi 3509 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3510 - $as_echo "$cross_compiling" >&6; } 4090 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4091 + printf "%s\n" "$cross_compiling" >&6; } 3511 4092 3512 4093 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3513 4094 ac_clean_files=$ac_clean_files_save 3514 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3515 - $as_echo_n "checking for suffix of object files... " >&6; } 3516 - if ${ac_cv_objext+:} false; then : 3517 - $as_echo_n "(cached) " >&6 3518 - else 4095 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4096 + printf %s "checking for suffix of object files... " >&6; } 4097 + if test ${ac_cv_objext+y} 4098 + then : 4099 + printf %s "(cached) " >&6 4100 + else $as_nop 3519 4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3520 4102 /* end confdefs.h. */ 3521 4103 3522 4104 int 3523 - main () 4105 + main (void) 3524 4106 { 3525 4107 3526 4108 ; ··· 3534 4116 *) ac_try_echo=$ac_try;; 3535 4117 esac 3536 4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3537 - $as_echo "$ac_try_echo"; } >&5 4119 + printf "%s\n" "$ac_try_echo"; } >&5 3538 4120 (eval "$ac_compile") 2>&5 3539 4121 ac_status=$? 3540 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3541 - test $ac_status = 0; }; then : 4122 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4123 + test $ac_status = 0; } 4124 + then : 3542 4125 for ac_file in conftest.o conftest.obj conftest.*; do 3543 4126 test -f "$ac_file" || continue; 3544 4127 case $ac_file in ··· 3547 4130 break;; 3548 4131 esac 3549 4132 done 3550 - else 3551 - $as_echo "$as_me: failed program was:" >&5 4133 + else $as_nop 4134 + printf "%s\n" "$as_me: failed program was:" >&5 3552 4135 sed 's/^/| /' conftest.$ac_ext >&5 3553 4136 3554 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3555 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4137 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4138 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3556 4139 as_fn_error $? "cannot compute suffix of object files: cannot compile 3557 4140 See \`config.log' for more details" "$LINENO" 5; } 3558 4141 fi 3559 4142 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3560 4143 fi 3561 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3562 - $as_echo "$ac_cv_objext" >&6; } 4144 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4145 + printf "%s\n" "$ac_cv_objext" >&6; } 3563 4146 OBJEXT=$ac_cv_objext 3564 4147 ac_objext=$OBJEXT 3565 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3566 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3567 - if ${ac_cv_c_compiler_gnu+:} false; then : 3568 - $as_echo_n "(cached) " >&6 3569 - else 4148 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4149 + printf %s "checking whether the compiler supports GNU C... " >&6; } 4150 + if test ${ac_cv_c_compiler_gnu+y} 4151 + then : 4152 + printf %s "(cached) " >&6 4153 + else $as_nop 3570 4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3571 4155 /* end confdefs.h. */ 3572 4156 3573 4157 int 3574 - main () 4158 + main (void) 3575 4159 { 3576 4160 #ifndef __GNUC__ 3577 4161 choke me ··· 3581 4165 return 0; 3582 4166 } 3583 4167 _ACEOF 3584 - if ac_fn_c_try_compile "$LINENO"; then : 4168 + if ac_fn_c_try_compile "$LINENO" 4169 + then : 3585 4170 ac_compiler_gnu=yes 3586 - else 4171 + else $as_nop 3587 4172 ac_compiler_gnu=no 3588 4173 fi 3589 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4174 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3590 4175 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3591 4176 3592 4177 fi 3593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3594 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4178 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4179 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4180 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 4181 + 3595 4182 if test $ac_compiler_gnu = yes; then 3596 4183 GCC=yes 3597 4184 else 3598 4185 GCC= 3599 4186 fi 3600 - ac_test_CFLAGS=${CFLAGS+set} 4187 + ac_test_CFLAGS=${CFLAGS+y} 3601 4188 ac_save_CFLAGS=$CFLAGS 3602 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3603 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3604 - if ${ac_cv_prog_cc_g+:} false; then : 3605 - $as_echo_n "(cached) " >&6 3606 - else 4189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4190 + printf %s "checking whether $CC accepts -g... " >&6; } 4191 + if test ${ac_cv_prog_cc_g+y} 4192 + then : 4193 + printf %s "(cached) " >&6 4194 + else $as_nop 3607 4195 ac_save_c_werror_flag=$ac_c_werror_flag 3608 4196 ac_c_werror_flag=yes 3609 4197 ac_cv_prog_cc_g=no ··· 3612 4200 /* end confdefs.h. */ 3613 4201 3614 4202 int 3615 - main () 4203 + main (void) 3616 4204 { 3617 4205 3618 4206 ; 3619 4207 return 0; 3620 4208 } 3621 4209 _ACEOF 3622 - if ac_fn_c_try_compile "$LINENO"; then : 4210 + if ac_fn_c_try_compile "$LINENO" 4211 + then : 3623 4212 ac_cv_prog_cc_g=yes 3624 - else 4213 + else $as_nop 3625 4214 CFLAGS="" 3626 4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3627 4216 /* end confdefs.h. */ 3628 4217 3629 4218 int 3630 - main () 4219 + main (void) 3631 4220 { 3632 4221 3633 4222 ; 3634 4223 return 0; 3635 4224 } 3636 4225 _ACEOF 3637 - if ac_fn_c_try_compile "$LINENO"; then : 4226 + if ac_fn_c_try_compile "$LINENO" 4227 + then : 3638 4228 3639 - else 4229 + else $as_nop 3640 4230 ac_c_werror_flag=$ac_save_c_werror_flag 3641 4231 CFLAGS="-g" 3642 4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3643 4233 /* end confdefs.h. */ 3644 4234 3645 4235 int 3646 - main () 4236 + main (void) 3647 4237 { 3648 4238 3649 4239 ; 3650 4240 return 0; 3651 4241 } 3652 4242 _ACEOF 3653 - if ac_fn_c_try_compile "$LINENO"; then : 4243 + if ac_fn_c_try_compile "$LINENO" 4244 + then : 3654 4245 ac_cv_prog_cc_g=yes 3655 4246 fi 3656 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4247 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3657 4248 fi 3658 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4249 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3659 4250 fi 3660 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4251 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3661 4252 ac_c_werror_flag=$ac_save_c_werror_flag 3662 4253 fi 3663 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3664 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3665 - if test "$ac_test_CFLAGS" = set; then 4254 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4255 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4256 + if test $ac_test_CFLAGS; then 3666 4257 CFLAGS=$ac_save_CFLAGS 3667 4258 elif test $ac_cv_prog_cc_g = yes; then 3668 4259 if test "$GCC" = yes; then ··· 3677 4268 CFLAGS= 3678 4269 fi 3679 4270 fi 3680 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3681 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3682 - if ${ac_cv_prog_cc_c89+:} false; then : 3683 - $as_echo_n "(cached) " >&6 3684 - else 3685 - ac_cv_prog_cc_c89=no 4271 + ac_prog_cc_stdc=no 4272 + if test x$ac_prog_cc_stdc = xno 4273 + then : 4274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4275 + printf %s "checking for $CC option to enable C11 features... " >&6; } 4276 + if test ${ac_cv_prog_cc_c11+y} 4277 + then : 4278 + printf %s "(cached) " >&6 4279 + else $as_nop 4280 + ac_cv_prog_cc_c11=no 3686 4281 ac_save_CC=$CC 3687 4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3688 4283 /* end confdefs.h. */ 3689 - #include <stdarg.h> 3690 - #include <stdio.h> 3691 - struct stat; 3692 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3693 - struct buf { int x; }; 3694 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3695 - static char *e (p, i) 3696 - char **p; 3697 - int i; 3698 - { 3699 - return p[i]; 3700 - } 3701 - static char *f (char * (*g) (char **, int), char **p, ...) 3702 - { 3703 - char *s; 3704 - va_list v; 3705 - va_start (v,p); 3706 - s = g (p, va_arg (v,int)); 3707 - va_end (v); 3708 - return s; 3709 - } 4284 + $ac_c_conftest_c11_program 4285 + _ACEOF 4286 + for ac_arg in '' -std=gnu11 4287 + do 4288 + CC="$ac_save_CC $ac_arg" 4289 + if ac_fn_c_try_compile "$LINENO" 4290 + then : 4291 + ac_cv_prog_cc_c11=$ac_arg 4292 + fi 4293 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4294 + test "x$ac_cv_prog_cc_c11" != "xno" && break 4295 + done 4296 + rm -f conftest.$ac_ext 4297 + CC=$ac_save_CC 4298 + fi 3710 4299 3711 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3712 - function prototypes and stuff, but not '\xHH' hex character constants. 3713 - These don't provoke an error unfortunately, instead are silently treated 3714 - as 'x'. The following induces an error, until -std is added to get 3715 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3716 - array size at least. It's necessary to write '\x00'==0 to get something 3717 - that's true only with -std. */ 3718 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4300 + if test "x$ac_cv_prog_cc_c11" = xno 4301 + then : 4302 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4303 + printf "%s\n" "unsupported" >&6; } 4304 + else $as_nop 4305 + if test "x$ac_cv_prog_cc_c11" = x 4306 + then : 4307 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4308 + printf "%s\n" "none needed" >&6; } 4309 + else $as_nop 4310 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4311 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4312 + CC="$CC $ac_cv_prog_cc_c11" 4313 + fi 4314 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4315 + ac_prog_cc_stdc=c11 4316 + fi 4317 + fi 4318 + if test x$ac_prog_cc_stdc = xno 4319 + then : 4320 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4321 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4322 + if test ${ac_cv_prog_cc_c99+y} 4323 + then : 4324 + printf %s "(cached) " >&6 4325 + else $as_nop 4326 + ac_cv_prog_cc_c99=no 4327 + ac_save_CC=$CC 4328 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4329 + /* end confdefs.h. */ 4330 + $ac_c_conftest_c99_program 4331 + _ACEOF 4332 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4333 + do 4334 + CC="$ac_save_CC $ac_arg" 4335 + if ac_fn_c_try_compile "$LINENO" 4336 + then : 4337 + ac_cv_prog_cc_c99=$ac_arg 4338 + fi 4339 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4340 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4341 + done 4342 + rm -f conftest.$ac_ext 4343 + CC=$ac_save_CC 4344 + fi 3719 4345 3720 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3721 - inside strings and character constants. */ 3722 - #define FOO(x) 'x' 3723 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3724 - 3725 - int test (int i, double x); 3726 - struct s1 {int (*f) (int a);}; 3727 - struct s2 {int (*f) (double a);}; 3728 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3729 - int argc; 3730 - char **argv; 3731 - int 3732 - main () 3733 - { 3734 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3735 - ; 3736 - return 0; 3737 - } 4346 + if test "x$ac_cv_prog_cc_c99" = xno 4347 + then : 4348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4349 + printf "%s\n" "unsupported" >&6; } 4350 + else $as_nop 4351 + if test "x$ac_cv_prog_cc_c99" = x 4352 + then : 4353 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4354 + printf "%s\n" "none needed" >&6; } 4355 + else $as_nop 4356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4357 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4358 + CC="$CC $ac_cv_prog_cc_c99" 4359 + fi 4360 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4361 + ac_prog_cc_stdc=c99 4362 + fi 4363 + fi 4364 + if test x$ac_prog_cc_stdc = xno 4365 + then : 4366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4367 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4368 + if test ${ac_cv_prog_cc_c89+y} 4369 + then : 4370 + printf %s "(cached) " >&6 4371 + else $as_nop 4372 + ac_cv_prog_cc_c89=no 4373 + ac_save_CC=$CC 4374 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4375 + /* end confdefs.h. */ 4376 + $ac_c_conftest_c89_program 3738 4377 _ACEOF 3739 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3740 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4378 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3741 4379 do 3742 4380 CC="$ac_save_CC $ac_arg" 3743 - if ac_fn_c_try_compile "$LINENO"; then : 4381 + if ac_fn_c_try_compile "$LINENO" 4382 + then : 3744 4383 ac_cv_prog_cc_c89=$ac_arg 3745 4384 fi 3746 - rm -f core conftest.err conftest.$ac_objext 4385 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3747 4386 test "x$ac_cv_prog_cc_c89" != "xno" && break 3748 4387 done 3749 4388 rm -f conftest.$ac_ext 3750 4389 CC=$ac_save_CC 4390 + fi 3751 4391 4392 + if test "x$ac_cv_prog_cc_c89" = xno 4393 + then : 4394 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4395 + printf "%s\n" "unsupported" >&6; } 4396 + else $as_nop 4397 + if test "x$ac_cv_prog_cc_c89" = x 4398 + then : 4399 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4400 + printf "%s\n" "none needed" >&6; } 4401 + else $as_nop 4402 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4403 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4404 + CC="$CC $ac_cv_prog_cc_c89" 3752 4405 fi 3753 - # AC_CACHE_VAL 3754 - case "x$ac_cv_prog_cc_c89" in 3755 - x) 3756 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3757 - $as_echo "none needed" >&6; } ;; 3758 - xno) 3759 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3760 - $as_echo "unsupported" >&6; } ;; 3761 - *) 3762 - CC="$CC $ac_cv_prog_cc_c89" 3763 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3764 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3765 - esac 3766 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3767 - 4406 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4407 + ac_prog_cc_stdc=c89 4408 + fi 3768 4409 fi 3769 4410 3770 4411 ac_ext=c ··· 3775 4416 3776 4417 depcc="$CC" am_compiler_list= 3777 4418 3778 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3779 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3780 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3781 - $as_echo_n "(cached) " >&6 3782 - else 4419 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4420 + printf %s "checking dependency style of $depcc... " >&6; } 4421 + if test ${am_cv_CC_dependencies_compiler_type+y} 4422 + then : 4423 + printf %s "(cached) " >&6 4424 + else $as_nop 3783 4425 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3784 4426 # We make a subdir and do the tests there. Otherwise we can end up 3785 4427 # making bogus files that we don't know about and never remove. For ··· 3886 4528 fi 3887 4529 3888 4530 fi 3889 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3890 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4531 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4532 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3891 4533 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3892 4534 3893 4535 if ··· 3901 4543 fi 3902 4544 3903 4545 3904 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3905 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 3906 - if ${ac_cv_path_SED+:} false; then : 3907 - $as_echo_n "(cached) " >&6 3908 - else 4546 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4547 + printf %s "checking for a sed that does not truncate output... " >&6; } 4548 + if test ${ac_cv_path_SED+y} 4549 + then : 4550 + printf %s "(cached) " >&6 4551 + else $as_nop 3909 4552 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3910 4553 for ac_i in 1 2 3 4 5 6 7; do 3911 4554 ac_script="$ac_script$as_nl$ac_script" ··· 3919 4562 for as_dir in $PATH 3920 4563 do 3921 4564 IFS=$as_save_IFS 3922 - test -z "$as_dir" && as_dir=. 3923 - for ac_prog in sed gsed; do 4565 + case $as_dir in #((( 4566 + '') as_dir=./ ;; 4567 + */) ;; 4568 + *) as_dir=$as_dir/ ;; 4569 + esac 4570 + for ac_prog in sed gsed 4571 + do 3924 4572 for ac_exec_ext in '' $ac_executable_extensions; do 3925 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4573 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 3926 4574 as_fn_executable_p "$ac_path_SED" || continue 3927 4575 # Check for GNU ac_path_SED and select it if it is found. 3928 4576 # Check for GNU $ac_path_SED ··· 3931 4579 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3932 4580 *) 3933 4581 ac_count=0 3934 - $as_echo_n 0123456789 >"conftest.in" 4582 + printf %s 0123456789 >"conftest.in" 3935 4583 while : 3936 4584 do 3937 4585 cat "conftest.in" "conftest.in" >"conftest.tmp" 3938 4586 mv "conftest.tmp" "conftest.in" 3939 4587 cp "conftest.in" "conftest.nl" 3940 - $as_echo '' >> "conftest.nl" 4588 + printf "%s\n" '' >> "conftest.nl" 3941 4589 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3942 4590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3943 4591 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 3965 4613 fi 3966 4614 3967 4615 fi 3968 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3969 - $as_echo "$ac_cv_path_SED" >&6; } 4616 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4617 + printf "%s\n" "$ac_cv_path_SED" >&6; } 3970 4618 SED="$ac_cv_path_SED" 3971 4619 rm -f conftest.sed 3972 4620 ··· 3983 4631 3984 4632 3985 4633 3986 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3987 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3988 - if ${ac_cv_path_GREP+:} false; then : 3989 - $as_echo_n "(cached) " >&6 3990 - else 4634 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4635 + printf %s "checking for grep that handles long lines and -e... " >&6; } 4636 + if test ${ac_cv_path_GREP+y} 4637 + then : 4638 + printf %s "(cached) " >&6 4639 + else $as_nop 3991 4640 if test -z "$GREP"; then 3992 4641 ac_path_GREP_found=false 3993 4642 # Loop through the user's path and test for each of PROGNAME-LIST ··· 3995 4644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3996 4645 do 3997 4646 IFS=$as_save_IFS 3998 - test -z "$as_dir" && as_dir=. 3999 - for ac_prog in grep ggrep; do 4647 + case $as_dir in #((( 4648 + '') as_dir=./ ;; 4649 + */) ;; 4650 + *) as_dir=$as_dir/ ;; 4651 + esac 4652 + for ac_prog in grep ggrep 4653 + do 4000 4654 for ac_exec_ext in '' $ac_executable_extensions; do 4001 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4655 + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 4002 4656 as_fn_executable_p "$ac_path_GREP" || continue 4003 4657 # Check for GNU ac_path_GREP and select it if it is found. 4004 4658 # Check for GNU $ac_path_GREP ··· 4007 4661 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4008 4662 *) 4009 4663 ac_count=0 4010 - $as_echo_n 0123456789 >"conftest.in" 4664 + printf %s 0123456789 >"conftest.in" 4011 4665 while : 4012 4666 do 4013 4667 cat "conftest.in" "conftest.in" >"conftest.tmp" 4014 4668 mv "conftest.tmp" "conftest.in" 4015 4669 cp "conftest.in" "conftest.nl" 4016 - $as_echo 'GREP' >> "conftest.nl" 4670 + printf "%s\n" 'GREP' >> "conftest.nl" 4017 4671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4018 4672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4019 4673 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4041 4695 fi 4042 4696 4043 4697 fi 4044 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4045 - $as_echo "$ac_cv_path_GREP" >&6; } 4698 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4699 + printf "%s\n" "$ac_cv_path_GREP" >&6; } 4046 4700 GREP="$ac_cv_path_GREP" 4047 4701 4048 4702 4049 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4050 - $as_echo_n "checking for egrep... " >&6; } 4051 - if ${ac_cv_path_EGREP+:} false; then : 4052 - $as_echo_n "(cached) " >&6 4053 - else 4703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4704 + printf %s "checking for egrep... " >&6; } 4705 + if test ${ac_cv_path_EGREP+y} 4706 + then : 4707 + printf %s "(cached) " >&6 4708 + else $as_nop 4054 4709 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4055 4710 then ac_cv_path_EGREP="$GREP -E" 4056 4711 else ··· 4061 4716 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4062 4717 do 4063 4718 IFS=$as_save_IFS 4064 - test -z "$as_dir" && as_dir=. 4065 - for ac_prog in egrep; do 4719 + case $as_dir in #((( 4720 + '') as_dir=./ ;; 4721 + */) ;; 4722 + *) as_dir=$as_dir/ ;; 4723 + esac 4724 + for ac_prog in egrep 4725 + do 4066 4726 for ac_exec_ext in '' $ac_executable_extensions; do 4067 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4727 + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 4068 4728 as_fn_executable_p "$ac_path_EGREP" || continue 4069 4729 # Check for GNU ac_path_EGREP and select it if it is found. 4070 4730 # Check for GNU $ac_path_EGREP ··· 4073 4733 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4074 4734 *) 4075 4735 ac_count=0 4076 - $as_echo_n 0123456789 >"conftest.in" 4736 + printf %s 0123456789 >"conftest.in" 4077 4737 while : 4078 4738 do 4079 4739 cat "conftest.in" "conftest.in" >"conftest.tmp" 4080 4740 mv "conftest.tmp" "conftest.in" 4081 4741 cp "conftest.in" "conftest.nl" 4082 - $as_echo 'EGREP' >> "conftest.nl" 4742 + printf "%s\n" 'EGREP' >> "conftest.nl" 4083 4743 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4084 4744 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4085 4745 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4108 4768 4109 4769 fi 4110 4770 fi 4111 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4112 - $as_echo "$ac_cv_path_EGREP" >&6; } 4771 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4772 + printf "%s\n" "$ac_cv_path_EGREP" >&6; } 4113 4773 EGREP="$ac_cv_path_EGREP" 4114 4774 4115 4775 4116 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4117 - $as_echo_n "checking for fgrep... " >&6; } 4118 - if ${ac_cv_path_FGREP+:} false; then : 4119 - $as_echo_n "(cached) " >&6 4120 - else 4776 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4777 + printf %s "checking for fgrep... " >&6; } 4778 + if test ${ac_cv_path_FGREP+y} 4779 + then : 4780 + printf %s "(cached) " >&6 4781 + else $as_nop 4121 4782 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4122 4783 then ac_cv_path_FGREP="$GREP -F" 4123 4784 else ··· 4128 4789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4129 4790 do 4130 4791 IFS=$as_save_IFS 4131 - test -z "$as_dir" && as_dir=. 4132 - for ac_prog in fgrep; do 4792 + case $as_dir in #((( 4793 + '') as_dir=./ ;; 4794 + */) ;; 4795 + *) as_dir=$as_dir/ ;; 4796 + esac 4797 + for ac_prog in fgrep 4798 + do 4133 4799 for ac_exec_ext in '' $ac_executable_extensions; do 4134 - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4800 + ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" 4135 4801 as_fn_executable_p "$ac_path_FGREP" || continue 4136 4802 # Check for GNU ac_path_FGREP and select it if it is found. 4137 4803 # Check for GNU $ac_path_FGREP ··· 4140 4806 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4141 4807 *) 4142 4808 ac_count=0 4143 - $as_echo_n 0123456789 >"conftest.in" 4809 + printf %s 0123456789 >"conftest.in" 4144 4810 while : 4145 4811 do 4146 4812 cat "conftest.in" "conftest.in" >"conftest.tmp" 4147 4813 mv "conftest.tmp" "conftest.in" 4148 4814 cp "conftest.in" "conftest.nl" 4149 - $as_echo 'FGREP' >> "conftest.nl" 4815 + printf "%s\n" 'FGREP' >> "conftest.nl" 4150 4816 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4151 4817 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4152 4818 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4175 4841 4176 4842 fi 4177 4843 fi 4178 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4179 - $as_echo "$ac_cv_path_FGREP" >&6; } 4844 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4845 + printf "%s\n" "$ac_cv_path_FGREP" >&6; } 4180 4846 FGREP="$ac_cv_path_FGREP" 4181 4847 4182 4848 ··· 4201 4867 4202 4868 4203 4869 # Check whether --with-gnu-ld was given. 4204 - if test "${with_gnu_ld+set}" = set; then : 4870 + if test ${with_gnu_ld+y} 4871 + then : 4205 4872 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4206 - else 4873 + else $as_nop 4207 4874 with_gnu_ld=no 4208 4875 fi 4209 4876 4210 4877 ac_prog=ld 4211 4878 if test "$GCC" = yes; then 4212 4879 # Check if gcc -print-prog-name=ld gives a path. 4213 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4214 - $as_echo_n "checking for ld used by $CC... " >&6; } 4880 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4881 + printf %s "checking for ld used by $CC... " >&6; } 4215 4882 case $host in 4216 4883 *-*-mingw*) 4217 4884 # gcc leaves a trailing carriage return which upsets mingw ··· 4240 4907 ;; 4241 4908 esac 4242 4909 elif test "$with_gnu_ld" = yes; then 4243 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4244 - $as_echo_n "checking for GNU ld... " >&6; } 4910 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4911 + printf %s "checking for GNU ld... " >&6; } 4245 4912 else 4246 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4247 - $as_echo_n "checking for non-GNU ld... " >&6; } 4913 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4914 + printf %s "checking for non-GNU ld... " >&6; } 4248 4915 fi 4249 - if ${lt_cv_path_LD+:} false; then : 4250 - $as_echo_n "(cached) " >&6 4251 - else 4916 + if test ${lt_cv_path_LD+y} 4917 + then : 4918 + printf %s "(cached) " >&6 4919 + else $as_nop 4252 4920 if test -z "$LD"; then 4253 4921 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4254 4922 for ac_dir in $PATH; do ··· 4277 4945 4278 4946 LD="$lt_cv_path_LD" 4279 4947 if test -n "$LD"; then 4280 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4281 - $as_echo "$LD" >&6; } 4948 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4949 + printf "%s\n" "$LD" >&6; } 4282 4950 else 4283 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4284 - $as_echo "no" >&6; } 4951 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4952 + printf "%s\n" "no" >&6; } 4285 4953 fi 4286 4954 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4287 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4288 - $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4289 - if ${lt_cv_prog_gnu_ld+:} false; then : 4290 - $as_echo_n "(cached) " >&6 4291 - else 4955 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4956 + printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 4957 + if test ${lt_cv_prog_gnu_ld+y} 4958 + then : 4959 + printf %s "(cached) " >&6 4960 + else $as_nop 4292 4961 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4293 4962 case `$LD -v 2>&1 </dev/null` in 4294 4963 *GNU* | *'with BFD'*) ··· 4299 4968 ;; 4300 4969 esac 4301 4970 fi 4302 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4303 - $as_echo "$lt_cv_prog_gnu_ld" >&6; } 4971 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4972 + printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } 4304 4973 with_gnu_ld=$lt_cv_prog_gnu_ld 4305 4974 4306 4975 ··· 4311 4980 4312 4981 4313 4982 4314 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4315 - $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4316 - if ${lt_cv_path_NM+:} false; then : 4317 - $as_echo_n "(cached) " >&6 4318 - else 4983 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4984 + printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4985 + if test ${lt_cv_path_NM+y} 4986 + then : 4987 + printf %s "(cached) " >&6 4988 + else $as_nop 4319 4989 if test -n "$NM"; then 4320 4990 # Let the user override the test. 4321 4991 lt_cv_path_NM="$NM" ··· 4360 5030 : ${lt_cv_path_NM=no} 4361 5031 fi 4362 5032 fi 4363 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4364 - $as_echo "$lt_cv_path_NM" >&6; } 5033 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5034 + printf "%s\n" "$lt_cv_path_NM" >&6; } 4365 5035 if test "$lt_cv_path_NM" != "no"; then 4366 5036 NM="$lt_cv_path_NM" 4367 5037 else ··· 4374 5044 do 4375 5045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4376 5046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4377 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4378 - $as_echo_n "checking for $ac_word... " >&6; } 4379 - if ${ac_cv_prog_DUMPBIN+:} false; then : 4380 - $as_echo_n "(cached) " >&6 4381 - else 5047 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5048 + printf %s "checking for $ac_word... " >&6; } 5049 + if test ${ac_cv_prog_DUMPBIN+y} 5050 + then : 5051 + printf %s "(cached) " >&6 5052 + else $as_nop 4382 5053 if test -n "$DUMPBIN"; then 4383 5054 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4384 5055 else ··· 4386 5057 for as_dir in $PATH 4387 5058 do 4388 5059 IFS=$as_save_IFS 4389 - test -z "$as_dir" && as_dir=. 5060 + case $as_dir in #((( 5061 + '') as_dir=./ ;; 5062 + */) ;; 5063 + *) as_dir=$as_dir/ ;; 5064 + esac 4390 5065 for ac_exec_ext in '' $ac_executable_extensions; do 4391 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5066 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4392 5067 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4393 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5068 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4394 5069 break 2 4395 5070 fi 4396 5071 done ··· 4401 5076 fi 4402 5077 DUMPBIN=$ac_cv_prog_DUMPBIN 4403 5078 if test -n "$DUMPBIN"; then 4404 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4405 - $as_echo "$DUMPBIN" >&6; } 5079 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5080 + printf "%s\n" "$DUMPBIN" >&6; } 4406 5081 else 4407 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4408 - $as_echo "no" >&6; } 5082 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5083 + printf "%s\n" "no" >&6; } 4409 5084 fi 4410 5085 4411 5086 ··· 4418 5093 do 4419 5094 # Extract the first word of "$ac_prog", so it can be a program name with args. 4420 5095 set dummy $ac_prog; ac_word=$2 4421 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4422 - $as_echo_n "checking for $ac_word... " >&6; } 4423 - if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4424 - $as_echo_n "(cached) " >&6 4425 - else 5096 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5097 + printf %s "checking for $ac_word... " >&6; } 5098 + if test ${ac_cv_prog_ac_ct_DUMPBIN+y} 5099 + then : 5100 + printf %s "(cached) " >&6 5101 + else $as_nop 4426 5102 if test -n "$ac_ct_DUMPBIN"; then 4427 5103 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4428 5104 else ··· 4430 5106 for as_dir in $PATH 4431 5107 do 4432 5108 IFS=$as_save_IFS 4433 - test -z "$as_dir" && as_dir=. 5109 + case $as_dir in #((( 5110 + '') as_dir=./ ;; 5111 + */) ;; 5112 + *) as_dir=$as_dir/ ;; 5113 + esac 4434 5114 for ac_exec_ext in '' $ac_executable_extensions; do 4435 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5115 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4436 5116 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4437 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5117 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4438 5118 break 2 4439 5119 fi 4440 5120 done ··· 4445 5125 fi 4446 5126 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4447 5127 if test -n "$ac_ct_DUMPBIN"; then 4448 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4449 - $as_echo "$ac_ct_DUMPBIN" >&6; } 5128 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5129 + printf "%s\n" "$ac_ct_DUMPBIN" >&6; } 4450 5130 else 4451 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4452 - $as_echo "no" >&6; } 5131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5132 + printf "%s\n" "no" >&6; } 4453 5133 fi 4454 5134 4455 5135 ··· 4461 5141 else 4462 5142 case $cross_compiling:$ac_tool_warned in 4463 5143 yes:) 4464 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4465 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5144 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5145 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4466 5146 ac_tool_warned=yes ;; 4467 5147 esac 4468 5148 DUMPBIN=$ac_ct_DUMPBIN ··· 4490 5170 4491 5171 4492 5172 4493 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4494 - $as_echo_n "checking the name lister ($NM) interface... " >&6; } 4495 - if ${lt_cv_nm_interface+:} false; then : 4496 - $as_echo_n "(cached) " >&6 4497 - else 5173 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5174 + printf %s "checking the name lister ($NM) interface... " >&6; } 5175 + if test ${lt_cv_nm_interface+y} 5176 + then : 5177 + printf %s "(cached) " >&6 5178 + else $as_nop 4498 5179 lt_cv_nm_interface="BSD nm" 4499 5180 echo "int some_variable = 0;" > conftest.$ac_ext 4500 5181 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) ··· 4510 5191 fi 4511 5192 rm -f conftest* 4512 5193 fi 4513 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4514 - $as_echo "$lt_cv_nm_interface" >&6; } 5194 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5195 + printf "%s\n" "$lt_cv_nm_interface" >&6; } 4515 5196 4516 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4517 - $as_echo_n "checking whether ln -s works... " >&6; } 5197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5198 + printf %s "checking whether ln -s works... " >&6; } 4518 5199 LN_S=$as_ln_s 4519 5200 if test "$LN_S" = "ln -s"; then 4520 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4521 - $as_echo "yes" >&6; } 5201 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5202 + printf "%s\n" "yes" >&6; } 4522 5203 else 4523 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4524 - $as_echo "no, using $LN_S" >&6; } 5204 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5205 + printf "%s\n" "no, using $LN_S" >&6; } 4525 5206 fi 4526 5207 4527 5208 # find the maximum length of command line arguments 4528 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4529 - $as_echo_n "checking the maximum length of command line arguments... " >&6; } 4530 - if ${lt_cv_sys_max_cmd_len+:} false; then : 4531 - $as_echo_n "(cached) " >&6 4532 - else 5209 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5210 + printf %s "checking the maximum length of command line arguments... " >&6; } 5211 + if test ${lt_cv_sys_max_cmd_len+y} 5212 + then : 5213 + printf %s "(cached) " >&6 5214 + else $as_nop 4533 5215 i=0 4534 5216 teststring="ABCD" 4535 5217 ··· 4655 5337 fi 4656 5338 4657 5339 if test -n $lt_cv_sys_max_cmd_len ; then 4658 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4659 - $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5340 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5341 + printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } 4660 5342 else 4661 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4662 - $as_echo "none" >&6; } 5343 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 5344 + printf "%s\n" "none" >&6; } 4663 5345 fi 4664 5346 max_cmd_len=$lt_cv_sys_max_cmd_len 4665 5347 ··· 4672 5354 : ${MV="mv -f"} 4673 5355 : ${RM="rm -f"} 4674 5356 4675 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4676 - $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5357 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5358 + printf %s "checking whether the shell understands some XSI constructs... " >&6; } 4677 5359 # Try some XSI features 4678 5360 xsi_shell=no 4679 5361 ( _lt_dummy="a/b/c" ··· 4682 5364 && eval 'test $(( 1 + 1 )) -eq 2 \ 4683 5365 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4684 5366 && xsi_shell=yes 4685 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4686 - $as_echo "$xsi_shell" >&6; } 5367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5368 + printf "%s\n" "$xsi_shell" >&6; } 4687 5369 4688 5370 4689 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4690 - $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5371 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5372 + printf %s "checking whether the shell understands \"+=\"... " >&6; } 4691 5373 lt_shell_append=no 4692 5374 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4693 5375 >/dev/null 2>&1 \ 4694 5376 && lt_shell_append=yes 4695 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4696 - $as_echo "$lt_shell_append" >&6; } 5377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5378 + printf "%s\n" "$lt_shell_append" >&6; } 4697 5379 4698 5380 4699 5381 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ··· 4727 5409 4728 5410 4729 5411 4730 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4731 - $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4732 - if ${lt_cv_to_host_file_cmd+:} false; then : 4733 - $as_echo_n "(cached) " >&6 4734 - else 5412 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5413 + printf %s "checking how to convert $build file names to $host format... " >&6; } 5414 + if test ${lt_cv_to_host_file_cmd+y} 5415 + then : 5416 + printf %s "(cached) " >&6 5417 + else $as_nop 4735 5418 case $host in 4736 5419 *-*-mingw* ) 4737 5420 case $build in ··· 4767 5450 fi 4768 5451 4769 5452 to_host_file_cmd=$lt_cv_to_host_file_cmd 4770 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4771 - $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5453 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5454 + printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } 4772 5455 4773 5456 4774 5457 4775 5458 4776 5459 4777 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4778 - $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4779 - if ${lt_cv_to_tool_file_cmd+:} false; then : 4780 - $as_echo_n "(cached) " >&6 4781 - else 5460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5461 + printf %s "checking how to convert $build file names to toolchain format... " >&6; } 5462 + if test ${lt_cv_to_tool_file_cmd+y} 5463 + then : 5464 + printf %s "(cached) " >&6 5465 + else $as_nop 4782 5466 #assume ordinary cross tools, or native build. 4783 5467 lt_cv_to_tool_file_cmd=func_convert_file_noop 4784 5468 case $host in ··· 4794 5478 fi 4795 5479 4796 5480 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4797 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4798 - $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5481 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5482 + printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } 4799 5483 4800 5484 4801 5485 4802 5486 4803 5487 4804 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4805 - $as_echo_n "checking for $LD option to reload object files... " >&6; } 4806 - if ${lt_cv_ld_reload_flag+:} false; then : 4807 - $as_echo_n "(cached) " >&6 4808 - else 5488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5489 + printf %s "checking for $LD option to reload object files... " >&6; } 5490 + if test ${lt_cv_ld_reload_flag+y} 5491 + then : 5492 + printf %s "(cached) " >&6 5493 + else $as_nop 4809 5494 lt_cv_ld_reload_flag='-r' 4810 5495 fi 4811 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4812 - $as_echo "$lt_cv_ld_reload_flag" >&6; } 5496 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5497 + printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } 4813 5498 reload_flag=$lt_cv_ld_reload_flag 4814 5499 case $reload_flag in 4815 5500 "" | " "*) ;; ··· 4842 5527 if test -n "$ac_tool_prefix"; then 4843 5528 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4844 5529 set dummy ${ac_tool_prefix}objdump; ac_word=$2 4845 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4846 - $as_echo_n "checking for $ac_word... " >&6; } 4847 - if ${ac_cv_prog_OBJDUMP+:} false; then : 4848 - $as_echo_n "(cached) " >&6 4849 - else 5530 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5531 + printf %s "checking for $ac_word... " >&6; } 5532 + if test ${ac_cv_prog_OBJDUMP+y} 5533 + then : 5534 + printf %s "(cached) " >&6 5535 + else $as_nop 4850 5536 if test -n "$OBJDUMP"; then 4851 5537 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4852 5538 else ··· 4854 5540 for as_dir in $PATH 4855 5541 do 4856 5542 IFS=$as_save_IFS 4857 - test -z "$as_dir" && as_dir=. 5543 + case $as_dir in #((( 5544 + '') as_dir=./ ;; 5545 + */) ;; 5546 + *) as_dir=$as_dir/ ;; 5547 + esac 4858 5548 for ac_exec_ext in '' $ac_executable_extensions; do 4859 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5549 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4860 5550 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4861 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5551 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4862 5552 break 2 4863 5553 fi 4864 5554 done ··· 4869 5559 fi 4870 5560 OBJDUMP=$ac_cv_prog_OBJDUMP 4871 5561 if test -n "$OBJDUMP"; then 4872 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4873 - $as_echo "$OBJDUMP" >&6; } 5562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5563 + printf "%s\n" "$OBJDUMP" >&6; } 4874 5564 else 4875 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4876 - $as_echo "no" >&6; } 5565 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5566 + printf "%s\n" "no" >&6; } 4877 5567 fi 4878 5568 4879 5569 ··· 4882 5572 ac_ct_OBJDUMP=$OBJDUMP 4883 5573 # Extract the first word of "objdump", so it can be a program name with args. 4884 5574 set dummy objdump; ac_word=$2 4885 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4886 - $as_echo_n "checking for $ac_word... " >&6; } 4887 - if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4888 - $as_echo_n "(cached) " >&6 4889 - else 5575 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5576 + printf %s "checking for $ac_word... " >&6; } 5577 + if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 5578 + then : 5579 + printf %s "(cached) " >&6 5580 + else $as_nop 4890 5581 if test -n "$ac_ct_OBJDUMP"; then 4891 5582 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4892 5583 else ··· 4894 5585 for as_dir in $PATH 4895 5586 do 4896 5587 IFS=$as_save_IFS 4897 - test -z "$as_dir" && as_dir=. 5588 + case $as_dir in #((( 5589 + '') as_dir=./ ;; 5590 + */) ;; 5591 + *) as_dir=$as_dir/ ;; 5592 + esac 4898 5593 for ac_exec_ext in '' $ac_executable_extensions; do 4899 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5594 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4900 5595 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4901 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5596 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4902 5597 break 2 4903 5598 fi 4904 5599 done ··· 4909 5604 fi 4910 5605 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4911 5606 if test -n "$ac_ct_OBJDUMP"; then 4912 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4913 - $as_echo "$ac_ct_OBJDUMP" >&6; } 5607 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5608 + printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 4914 5609 else 4915 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4916 - $as_echo "no" >&6; } 5610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5611 + printf "%s\n" "no" >&6; } 4917 5612 fi 4918 5613 4919 5614 if test "x$ac_ct_OBJDUMP" = x; then ··· 4921 5616 else 4922 5617 case $cross_compiling:$ac_tool_warned in 4923 5618 yes:) 4924 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4925 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5619 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5620 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4926 5621 ac_tool_warned=yes ;; 4927 5622 esac 4928 5623 OBJDUMP=$ac_ct_OBJDUMP ··· 4941 5636 4942 5637 4943 5638 4944 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4945 - $as_echo_n "checking how to recognize dependent libraries... " >&6; } 4946 - if ${lt_cv_deplibs_check_method+:} false; then : 4947 - $as_echo_n "(cached) " >&6 4948 - else 5639 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5640 + printf %s "checking how to recognize dependent libraries... " >&6; } 5641 + if test ${lt_cv_deplibs_check_method+y} 5642 + then : 5643 + printf %s "(cached) " >&6 5644 + else $as_nop 4949 5645 lt_cv_file_magic_cmd='$MAGIC_CMD' 4950 5646 lt_cv_file_magic_test_file= 4951 5647 lt_cv_deplibs_check_method='unknown' ··· 5143 5839 esac 5144 5840 5145 5841 fi 5146 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5147 - $as_echo "$lt_cv_deplibs_check_method" >&6; } 5842 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5843 + printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } 5148 5844 5149 5845 file_magic_glob= 5150 5846 want_nocaseglob=no ··· 5188 5884 if test -n "$ac_tool_prefix"; then 5189 5885 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5190 5886 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5191 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5192 - $as_echo_n "checking for $ac_word... " >&6; } 5193 - if ${ac_cv_prog_DLLTOOL+:} false; then : 5194 - $as_echo_n "(cached) " >&6 5195 - else 5887 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5888 + printf %s "checking for $ac_word... " >&6; } 5889 + if test ${ac_cv_prog_DLLTOOL+y} 5890 + then : 5891 + printf %s "(cached) " >&6 5892 + else $as_nop 5196 5893 if test -n "$DLLTOOL"; then 5197 5894 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5198 5895 else ··· 5200 5897 for as_dir in $PATH 5201 5898 do 5202 5899 IFS=$as_save_IFS 5203 - test -z "$as_dir" && as_dir=. 5900 + case $as_dir in #((( 5901 + '') as_dir=./ ;; 5902 + */) ;; 5903 + *) as_dir=$as_dir/ ;; 5904 + esac 5204 5905 for ac_exec_ext in '' $ac_executable_extensions; do 5205 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5906 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5206 5907 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5207 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5908 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5208 5909 break 2 5209 5910 fi 5210 5911 done ··· 5215 5916 fi 5216 5917 DLLTOOL=$ac_cv_prog_DLLTOOL 5217 5918 if test -n "$DLLTOOL"; then 5218 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5219 - $as_echo "$DLLTOOL" >&6; } 5919 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5920 + printf "%s\n" "$DLLTOOL" >&6; } 5220 5921 else 5221 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5222 - $as_echo "no" >&6; } 5922 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5923 + printf "%s\n" "no" >&6; } 5223 5924 fi 5224 5925 5225 5926 ··· 5228 5929 ac_ct_DLLTOOL=$DLLTOOL 5229 5930 # Extract the first word of "dlltool", so it can be a program name with args. 5230 5931 set dummy dlltool; ac_word=$2 5231 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5232 - $as_echo_n "checking for $ac_word... " >&6; } 5233 - if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5234 - $as_echo_n "(cached) " >&6 5235 - else 5932 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5933 + printf %s "checking for $ac_word... " >&6; } 5934 + if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 5935 + then : 5936 + printf %s "(cached) " >&6 5937 + else $as_nop 5236 5938 if test -n "$ac_ct_DLLTOOL"; then 5237 5939 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5238 5940 else ··· 5240 5942 for as_dir in $PATH 5241 5943 do 5242 5944 IFS=$as_save_IFS 5243 - test -z "$as_dir" && as_dir=. 5945 + case $as_dir in #((( 5946 + '') as_dir=./ ;; 5947 + */) ;; 5948 + *) as_dir=$as_dir/ ;; 5949 + esac 5244 5950 for ac_exec_ext in '' $ac_executable_extensions; do 5245 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5951 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5246 5952 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5247 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5953 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5248 5954 break 2 5249 5955 fi 5250 5956 done ··· 5255 5961 fi 5256 5962 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5257 5963 if test -n "$ac_ct_DLLTOOL"; then 5258 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5259 - $as_echo "$ac_ct_DLLTOOL" >&6; } 5964 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5965 + printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 5260 5966 else 5261 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5262 - $as_echo "no" >&6; } 5967 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5968 + printf "%s\n" "no" >&6; } 5263 5969 fi 5264 5970 5265 5971 if test "x$ac_ct_DLLTOOL" = x; then ··· 5267 5973 else 5268 5974 case $cross_compiling:$ac_tool_warned in 5269 5975 yes:) 5270 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5271 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5976 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5977 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5272 5978 ac_tool_warned=yes ;; 5273 5979 esac 5274 5980 DLLTOOL=$ac_ct_DLLTOOL ··· 5288 5994 5289 5995 5290 5996 5291 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5292 - $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5293 - if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5294 - $as_echo_n "(cached) " >&6 5295 - else 5997 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5998 + printf %s "checking how to associate runtime and link libraries... " >&6; } 5999 + if test ${lt_cv_sharedlib_from_linklib_cmd+y} 6000 + then : 6001 + printf %s "(cached) " >&6 6002 + else $as_nop 5296 6003 lt_cv_sharedlib_from_linklib_cmd='unknown' 5297 6004 5298 6005 case $host_os in ··· 5315 6022 esac 5316 6023 5317 6024 fi 5318 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5319 - $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6025 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6026 + printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5320 6027 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5321 6028 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5322 6029 ··· 5332 6039 do 5333 6040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5334 6041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5335 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5336 - $as_echo_n "checking for $ac_word... " >&6; } 5337 - if ${ac_cv_prog_AR+:} false; then : 5338 - $as_echo_n "(cached) " >&6 5339 - else 6042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6043 + printf %s "checking for $ac_word... " >&6; } 6044 + if test ${ac_cv_prog_AR+y} 6045 + then : 6046 + printf %s "(cached) " >&6 6047 + else $as_nop 5340 6048 if test -n "$AR"; then 5341 6049 ac_cv_prog_AR="$AR" # Let the user override the test. 5342 6050 else ··· 5344 6052 for as_dir in $PATH 5345 6053 do 5346 6054 IFS=$as_save_IFS 5347 - test -z "$as_dir" && as_dir=. 6055 + case $as_dir in #((( 6056 + '') as_dir=./ ;; 6057 + */) ;; 6058 + *) as_dir=$as_dir/ ;; 6059 + esac 5348 6060 for ac_exec_ext in '' $ac_executable_extensions; do 5349 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6061 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5350 6062 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5351 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6063 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5352 6064 break 2 5353 6065 fi 5354 6066 done ··· 5359 6071 fi 5360 6072 AR=$ac_cv_prog_AR 5361 6073 if test -n "$AR"; then 5362 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5363 - $as_echo "$AR" >&6; } 6074 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6075 + printf "%s\n" "$AR" >&6; } 5364 6076 else 5365 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5366 - $as_echo "no" >&6; } 6077 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6078 + printf "%s\n" "no" >&6; } 5367 6079 fi 5368 6080 5369 6081 ··· 5376 6088 do 5377 6089 # Extract the first word of "$ac_prog", so it can be a program name with args. 5378 6090 set dummy $ac_prog; ac_word=$2 5379 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5380 - $as_echo_n "checking for $ac_word... " >&6; } 5381 - if ${ac_cv_prog_ac_ct_AR+:} false; then : 5382 - $as_echo_n "(cached) " >&6 5383 - else 6091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6092 + printf %s "checking for $ac_word... " >&6; } 6093 + if test ${ac_cv_prog_ac_ct_AR+y} 6094 + then : 6095 + printf %s "(cached) " >&6 6096 + else $as_nop 5384 6097 if test -n "$ac_ct_AR"; then 5385 6098 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5386 6099 else ··· 5388 6101 for as_dir in $PATH 5389 6102 do 5390 6103 IFS=$as_save_IFS 5391 - test -z "$as_dir" && as_dir=. 6104 + case $as_dir in #((( 6105 + '') as_dir=./ ;; 6106 + */) ;; 6107 + *) as_dir=$as_dir/ ;; 6108 + esac 5392 6109 for ac_exec_ext in '' $ac_executable_extensions; do 5393 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6110 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5394 6111 ac_cv_prog_ac_ct_AR="$ac_prog" 5395 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6112 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5396 6113 break 2 5397 6114 fi 5398 6115 done ··· 5403 6120 fi 5404 6121 ac_ct_AR=$ac_cv_prog_ac_ct_AR 5405 6122 if test -n "$ac_ct_AR"; then 5406 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5407 - $as_echo "$ac_ct_AR" >&6; } 6123 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6124 + printf "%s\n" "$ac_ct_AR" >&6; } 5408 6125 else 5409 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5410 - $as_echo "no" >&6; } 6126 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6127 + printf "%s\n" "no" >&6; } 5411 6128 fi 5412 6129 5413 6130 ··· 5419 6136 else 5420 6137 case $cross_compiling:$ac_tool_warned in 5421 6138 yes:) 5422 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5423 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6139 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6140 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5424 6141 ac_tool_warned=yes ;; 5425 6142 esac 5426 6143 AR=$ac_ct_AR ··· 5440 6157 5441 6158 5442 6159 5443 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5444 - $as_echo_n "checking for archiver @FILE support... " >&6; } 5445 - if ${lt_cv_ar_at_file+:} false; then : 5446 - $as_echo_n "(cached) " >&6 5447 - else 6160 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6161 + printf %s "checking for archiver @FILE support... " >&6; } 6162 + if test ${lt_cv_ar_at_file+y} 6163 + then : 6164 + printf %s "(cached) " >&6 6165 + else $as_nop 5448 6166 lt_cv_ar_at_file=no 5449 6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5450 6168 /* end confdefs.h. */ 5451 6169 5452 6170 int 5453 - main () 6171 + main (void) 5454 6172 { 5455 6173 5456 6174 ; 5457 6175 return 0; 5458 6176 } 5459 6177 _ACEOF 5460 - if ac_fn_c_try_compile "$LINENO"; then : 6178 + if ac_fn_c_try_compile "$LINENO" 6179 + then : 5461 6180 echo conftest.$ac_objext > conftest.lst 5462 6181 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5463 6182 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5464 6183 (eval $lt_ar_try) 2>&5 5465 6184 ac_status=$? 5466 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6185 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5467 6186 test $ac_status = 0; } 5468 6187 if test "$ac_status" -eq 0; then 5469 6188 # Ensure the archiver fails upon bogus file names. ··· 5471 6190 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5472 6191 (eval $lt_ar_try) 2>&5 5473 6192 ac_status=$? 5474 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6193 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5475 6194 test $ac_status = 0; } 5476 6195 if test "$ac_status" -ne 0; then 5477 6196 lt_cv_ar_at_file=@ ··· 5480 6199 rm -f conftest.* libconftest.a 5481 6200 5482 6201 fi 5483 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6202 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5484 6203 5485 6204 fi 5486 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5487 - $as_echo "$lt_cv_ar_at_file" >&6; } 6205 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6206 + printf "%s\n" "$lt_cv_ar_at_file" >&6; } 5488 6207 5489 6208 if test "x$lt_cv_ar_at_file" = xno; then 5490 6209 archiver_list_spec= ··· 5501 6220 if test -n "$ac_tool_prefix"; then 5502 6221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5503 6222 set dummy ${ac_tool_prefix}strip; ac_word=$2 5504 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5505 - $as_echo_n "checking for $ac_word... " >&6; } 5506 - if ${ac_cv_prog_STRIP+:} false; then : 5507 - $as_echo_n "(cached) " >&6 5508 - else 6223 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6224 + printf %s "checking for $ac_word... " >&6; } 6225 + if test ${ac_cv_prog_STRIP+y} 6226 + then : 6227 + printf %s "(cached) " >&6 6228 + else $as_nop 5509 6229 if test -n "$STRIP"; then 5510 6230 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5511 6231 else ··· 5513 6233 for as_dir in $PATH 5514 6234 do 5515 6235 IFS=$as_save_IFS 5516 - test -z "$as_dir" && as_dir=. 6236 + case $as_dir in #((( 6237 + '') as_dir=./ ;; 6238 + */) ;; 6239 + *) as_dir=$as_dir/ ;; 6240 + esac 5517 6241 for ac_exec_ext in '' $ac_executable_extensions; do 5518 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6242 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5519 6243 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5520 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6244 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5521 6245 break 2 5522 6246 fi 5523 6247 done ··· 5528 6252 fi 5529 6253 STRIP=$ac_cv_prog_STRIP 5530 6254 if test -n "$STRIP"; then 5531 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5532 - $as_echo "$STRIP" >&6; } 6255 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6256 + printf "%s\n" "$STRIP" >&6; } 5533 6257 else 5534 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5535 - $as_echo "no" >&6; } 6258 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6259 + printf "%s\n" "no" >&6; } 5536 6260 fi 5537 6261 5538 6262 ··· 5541 6265 ac_ct_STRIP=$STRIP 5542 6266 # Extract the first word of "strip", so it can be a program name with args. 5543 6267 set dummy strip; ac_word=$2 5544 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5545 - $as_echo_n "checking for $ac_word... " >&6; } 5546 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5547 - $as_echo_n "(cached) " >&6 5548 - else 6268 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6269 + printf %s "checking for $ac_word... " >&6; } 6270 + if test ${ac_cv_prog_ac_ct_STRIP+y} 6271 + then : 6272 + printf %s "(cached) " >&6 6273 + else $as_nop 5549 6274 if test -n "$ac_ct_STRIP"; then 5550 6275 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5551 6276 else ··· 5553 6278 for as_dir in $PATH 5554 6279 do 5555 6280 IFS=$as_save_IFS 5556 - test -z "$as_dir" && as_dir=. 6281 + case $as_dir in #((( 6282 + '') as_dir=./ ;; 6283 + */) ;; 6284 + *) as_dir=$as_dir/ ;; 6285 + esac 5557 6286 for ac_exec_ext in '' $ac_executable_extensions; do 5558 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6287 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5559 6288 ac_cv_prog_ac_ct_STRIP="strip" 5560 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6289 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5561 6290 break 2 5562 6291 fi 5563 6292 done ··· 5568 6297 fi 5569 6298 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5570 6299 if test -n "$ac_ct_STRIP"; then 5571 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5572 - $as_echo "$ac_ct_STRIP" >&6; } 6300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6301 + printf "%s\n" "$ac_ct_STRIP" >&6; } 5573 6302 else 5574 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5575 - $as_echo "no" >&6; } 6303 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6304 + printf "%s\n" "no" >&6; } 5576 6305 fi 5577 6306 5578 6307 if test "x$ac_ct_STRIP" = x; then ··· 5580 6309 else 5581 6310 case $cross_compiling:$ac_tool_warned in 5582 6311 yes:) 5583 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5584 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6312 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6313 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5585 6314 ac_tool_warned=yes ;; 5586 6315 esac 5587 6316 STRIP=$ac_ct_STRIP ··· 5600 6329 if test -n "$ac_tool_prefix"; then 5601 6330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5602 6331 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5603 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5604 - $as_echo_n "checking for $ac_word... " >&6; } 5605 - if ${ac_cv_prog_RANLIB+:} false; then : 5606 - $as_echo_n "(cached) " >&6 5607 - else 6332 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6333 + printf %s "checking for $ac_word... " >&6; } 6334 + if test ${ac_cv_prog_RANLIB+y} 6335 + then : 6336 + printf %s "(cached) " >&6 6337 + else $as_nop 5608 6338 if test -n "$RANLIB"; then 5609 6339 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5610 6340 else ··· 5612 6342 for as_dir in $PATH 5613 6343 do 5614 6344 IFS=$as_save_IFS 5615 - test -z "$as_dir" && as_dir=. 6345 + case $as_dir in #((( 6346 + '') as_dir=./ ;; 6347 + */) ;; 6348 + *) as_dir=$as_dir/ ;; 6349 + esac 5616 6350 for ac_exec_ext in '' $ac_executable_extensions; do 5617 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6351 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5618 6352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5619 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6353 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5620 6354 break 2 5621 6355 fi 5622 6356 done ··· 5627 6361 fi 5628 6362 RANLIB=$ac_cv_prog_RANLIB 5629 6363 if test -n "$RANLIB"; then 5630 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5631 - $as_echo "$RANLIB" >&6; } 6364 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6365 + printf "%s\n" "$RANLIB" >&6; } 5632 6366 else 5633 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5634 - $as_echo "no" >&6; } 6367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6368 + printf "%s\n" "no" >&6; } 5635 6369 fi 5636 6370 5637 6371 ··· 5640 6374 ac_ct_RANLIB=$RANLIB 5641 6375 # Extract the first word of "ranlib", so it can be a program name with args. 5642 6376 set dummy ranlib; ac_word=$2 5643 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5644 - $as_echo_n "checking for $ac_word... " >&6; } 5645 - if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5646 - $as_echo_n "(cached) " >&6 5647 - else 6377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6378 + printf %s "checking for $ac_word... " >&6; } 6379 + if test ${ac_cv_prog_ac_ct_RANLIB+y} 6380 + then : 6381 + printf %s "(cached) " >&6 6382 + else $as_nop 5648 6383 if test -n "$ac_ct_RANLIB"; then 5649 6384 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5650 6385 else ··· 5652 6387 for as_dir in $PATH 5653 6388 do 5654 6389 IFS=$as_save_IFS 5655 - test -z "$as_dir" && as_dir=. 6390 + case $as_dir in #((( 6391 + '') as_dir=./ ;; 6392 + */) ;; 6393 + *) as_dir=$as_dir/ ;; 6394 + esac 5656 6395 for ac_exec_ext in '' $ac_executable_extensions; do 5657 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6396 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5658 6397 ac_cv_prog_ac_ct_RANLIB="ranlib" 5659 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6398 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5660 6399 break 2 5661 6400 fi 5662 6401 done ··· 5667 6406 fi 5668 6407 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5669 6408 if test -n "$ac_ct_RANLIB"; then 5670 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5671 - $as_echo "$ac_ct_RANLIB" >&6; } 6409 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6410 + printf "%s\n" "$ac_ct_RANLIB" >&6; } 5672 6411 else 5673 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5674 - $as_echo "no" >&6; } 6412 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6413 + printf "%s\n" "no" >&6; } 5675 6414 fi 5676 6415 5677 6416 if test "x$ac_ct_RANLIB" = x; then ··· 5679 6418 else 5680 6419 case $cross_compiling:$ac_tool_warned in 5681 6420 yes:) 5682 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5683 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6421 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6422 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5684 6423 ac_tool_warned=yes ;; 5685 6424 esac 5686 6425 RANLIB=$ac_ct_RANLIB ··· 5769 6508 5770 6509 5771 6510 # Check for command to grab the raw symbol name followed by C symbol from nm. 5772 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5773 - $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5774 - if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5775 - $as_echo_n "(cached) " >&6 5776 - else 6511 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6512 + printf %s "checking command to parse $NM output from $compiler object... " >&6; } 6513 + if test ${lt_cv_sys_global_symbol_pipe+y} 6514 + then : 6515 + printf %s "(cached) " >&6 6516 + else $as_nop 5777 6517 5778 6518 # These are sane defaults that work on at least a few old systems. 5779 6519 # [They come from Ultrix. What could be older than Ultrix?!! ;)] ··· 5892 6632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5893 6633 (eval $ac_compile) 2>&5 5894 6634 ac_status=$? 5895 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6635 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5896 6636 test $ac_status = 0; }; then 5897 6637 # Now try to grab the symbols. 5898 6638 nlist=conftest.nm 5899 6639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5900 6640 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5901 6641 ac_status=$? 5902 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6642 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5903 6643 test $ac_status = 0; } && test -s "$nlist"; then 5904 6644 # Try sorting and uniquifying the output. 5905 6645 if sort "$nlist" | uniq > "$nlist"T; then ··· 5968 6708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5969 6709 (eval $ac_link) 2>&5 5970 6710 ac_status=$? 5971 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6711 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5972 6712 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5973 6713 pipe_works=yes 5974 6714 fi ··· 6003 6743 lt_cv_sys_global_symbol_to_cdecl= 6004 6744 fi 6005 6745 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6006 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6007 - $as_echo "failed" >&6; } 6746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6747 + printf "%s\n" "failed" >&6; } 6008 6748 else 6009 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6010 - $as_echo "ok" >&6; } 6749 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6750 + printf "%s\n" "ok" >&6; } 6011 6751 fi 6012 6752 6013 6753 # Response file support. ··· 6043 6783 6044 6784 6045 6785 6046 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6047 - $as_echo_n "checking for sysroot... " >&6; } 6786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6787 + printf %s "checking for sysroot... " >&6; } 6048 6788 6049 6789 # Check whether --with-sysroot was given. 6050 - if test "${with_sysroot+set}" = set; then : 6790 + if test ${with_sysroot+y} 6791 + then : 6051 6792 withval=$with_sysroot; 6052 - else 6793 + else $as_nop 6053 6794 with_sysroot=no 6054 6795 fi 6055 6796 ··· 6067 6808 no|'') 6068 6809 ;; #( 6069 6810 *) 6070 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6071 - $as_echo "${with_sysroot}" >&6; } 6811 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6812 + printf "%s\n" "${with_sysroot}" >&6; } 6072 6813 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6073 6814 ;; 6074 6815 esac 6075 6816 6076 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6077 - $as_echo "${lt_sysroot:-no}" >&6; } 6817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6818 + printf "%s\n" "${lt_sysroot:-no}" >&6; } 6078 6819 6079 6820 6080 6821 6081 6822 6082 6823 6083 6824 # Check whether --enable-libtool-lock was given. 6084 - if test "${enable_libtool_lock+set}" = set; then : 6825 + if test ${enable_libtool_lock+y} 6826 + then : 6085 6827 enableval=$enable_libtool_lock; 6086 6828 fi 6087 6829 ··· 6096 6838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6097 6839 (eval $ac_compile) 2>&5 6098 6840 ac_status=$? 6099 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6841 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6100 6842 test $ac_status = 0; }; then 6101 6843 case `/usr/bin/file conftest.$ac_objext` in 6102 6844 *ELF-32*) ··· 6115 6857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6116 6858 (eval $ac_compile) 2>&5 6117 6859 ac_status=$? 6118 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6860 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6119 6861 test $ac_status = 0; }; then 6120 6862 if test "$lt_cv_prog_gnu_ld" = yes; then 6121 6863 case `/usr/bin/file conftest.$ac_objext` in ··· 6153 6895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6154 6896 (eval $ac_compile) 2>&5 6155 6897 ac_status=$? 6156 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6898 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6157 6899 test $ac_status = 0; }; then 6158 6900 case `/usr/bin/file conftest.o` in 6159 6901 *32-bit*) ··· 6203 6945 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6204 6946 SAVE_CFLAGS="$CFLAGS" 6205 6947 CFLAGS="$CFLAGS -belf" 6206 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6207 - $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6208 - if ${lt_cv_cc_needs_belf+:} false; then : 6209 - $as_echo_n "(cached) " >&6 6210 - else 6948 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6949 + printf %s "checking whether the C compiler needs -belf... " >&6; } 6950 + if test ${lt_cv_cc_needs_belf+y} 6951 + then : 6952 + printf %s "(cached) " >&6 6953 + else $as_nop 6211 6954 ac_ext=c 6212 6955 ac_cpp='$CPP $CPPFLAGS' 6213 6956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ··· 6218 6961 /* end confdefs.h. */ 6219 6962 6220 6963 int 6221 - main () 6964 + main (void) 6222 6965 { 6223 6966 6224 6967 ; 6225 6968 return 0; 6226 6969 } 6227 6970 _ACEOF 6228 - if ac_fn_c_try_link "$LINENO"; then : 6971 + if ac_fn_c_try_link "$LINENO" 6972 + then : 6229 6973 lt_cv_cc_needs_belf=yes 6230 - else 6974 + else $as_nop 6231 6975 lt_cv_cc_needs_belf=no 6232 6976 fi 6233 - rm -f core conftest.err conftest.$ac_objext \ 6977 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6234 6978 conftest$ac_exeext conftest.$ac_ext 6235 6979 ac_ext=c 6236 6980 ac_cpp='$CPP $CPPFLAGS' ··· 6239 6983 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6240 6984 6241 6985 fi 6242 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6243 - $as_echo "$lt_cv_cc_needs_belf" >&6; } 6986 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6987 + printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } 6244 6988 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6245 6989 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6246 6990 CFLAGS="$SAVE_CFLAGS" ··· 6252 6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6253 6997 (eval $ac_compile) 2>&5 6254 6998 ac_status=$? 6255 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6999 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6256 7000 test $ac_status = 0; }; then 6257 7001 case `/usr/bin/file conftest.o` in 6258 7002 *64-bit*) ··· 6289 7033 if test -n "$ac_tool_prefix"; then 6290 7034 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6291 7035 set dummy ${ac_tool_prefix}mt; ac_word=$2 6292 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6293 - $as_echo_n "checking for $ac_word... " >&6; } 6294 - if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6295 - $as_echo_n "(cached) " >&6 6296 - else 7036 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7037 + printf %s "checking for $ac_word... " >&6; } 7038 + if test ${ac_cv_prog_MANIFEST_TOOL+y} 7039 + then : 7040 + printf %s "(cached) " >&6 7041 + else $as_nop 6297 7042 if test -n "$MANIFEST_TOOL"; then 6298 7043 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6299 7044 else ··· 6301 7046 for as_dir in $PATH 6302 7047 do 6303 7048 IFS=$as_save_IFS 6304 - test -z "$as_dir" && as_dir=. 7049 + case $as_dir in #((( 7050 + '') as_dir=./ ;; 7051 + */) ;; 7052 + *) as_dir=$as_dir/ ;; 7053 + esac 6305 7054 for ac_exec_ext in '' $ac_executable_extensions; do 6306 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7055 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6307 7056 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6308 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7057 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6309 7058 break 2 6310 7059 fi 6311 7060 done ··· 6316 7065 fi 6317 7066 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6318 7067 if test -n "$MANIFEST_TOOL"; then 6319 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6320 - $as_echo "$MANIFEST_TOOL" >&6; } 7068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7069 + printf "%s\n" "$MANIFEST_TOOL" >&6; } 6321 7070 else 6322 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6323 - $as_echo "no" >&6; } 7071 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7072 + printf "%s\n" "no" >&6; } 6324 7073 fi 6325 7074 6326 7075 ··· 6329 7078 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6330 7079 # Extract the first word of "mt", so it can be a program name with args. 6331 7080 set dummy mt; ac_word=$2 6332 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6333 - $as_echo_n "checking for $ac_word... " >&6; } 6334 - if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6335 - $as_echo_n "(cached) " >&6 6336 - else 7081 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7082 + printf %s "checking for $ac_word... " >&6; } 7083 + if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} 7084 + then : 7085 + printf %s "(cached) " >&6 7086 + else $as_nop 6337 7087 if test -n "$ac_ct_MANIFEST_TOOL"; then 6338 7088 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6339 7089 else ··· 6341 7091 for as_dir in $PATH 6342 7092 do 6343 7093 IFS=$as_save_IFS 6344 - test -z "$as_dir" && as_dir=. 7094 + case $as_dir in #((( 7095 + '') as_dir=./ ;; 7096 + */) ;; 7097 + *) as_dir=$as_dir/ ;; 7098 + esac 6345 7099 for ac_exec_ext in '' $ac_executable_extensions; do 6346 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7100 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6347 7101 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6348 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7102 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6349 7103 break 2 6350 7104 fi 6351 7105 done ··· 6356 7110 fi 6357 7111 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6358 7112 if test -n "$ac_ct_MANIFEST_TOOL"; then 6359 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6360 - $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7113 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7114 + printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } 6361 7115 else 6362 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6363 - $as_echo "no" >&6; } 7116 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7117 + printf "%s\n" "no" >&6; } 6364 7118 fi 6365 7119 6366 7120 if test "x$ac_ct_MANIFEST_TOOL" = x; then ··· 6368 7122 else 6369 7123 case $cross_compiling:$ac_tool_warned in 6370 7124 yes:) 6371 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6372 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7125 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7126 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6373 7127 ac_tool_warned=yes ;; 6374 7128 esac 6375 7129 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL ··· 6379 7133 fi 6380 7134 6381 7135 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6382 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6383 - $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6384 - if ${lt_cv_path_mainfest_tool+:} false; then : 6385 - $as_echo_n "(cached) " >&6 6386 - else 7136 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7137 + printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7138 + if test ${lt_cv_path_mainfest_tool+y} 7139 + then : 7140 + printf %s "(cached) " >&6 7141 + else $as_nop 6387 7142 lt_cv_path_mainfest_tool=no 6388 7143 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6389 7144 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out ··· 6393 7148 fi 6394 7149 rm -f conftest* 6395 7150 fi 6396 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6397 - $as_echo "$lt_cv_path_mainfest_tool" >&6; } 7151 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7152 + printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } 6398 7153 if test "x$lt_cv_path_mainfest_tool" != xyes; then 6399 7154 MANIFEST_TOOL=: 6400 7155 fi ··· 6409 7164 if test -n "$ac_tool_prefix"; then 6410 7165 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6411 7166 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6412 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6413 - $as_echo_n "checking for $ac_word... " >&6; } 6414 - if ${ac_cv_prog_DSYMUTIL+:} false; then : 6415 - $as_echo_n "(cached) " >&6 6416 - else 7167 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7168 + printf %s "checking for $ac_word... " >&6; } 7169 + if test ${ac_cv_prog_DSYMUTIL+y} 7170 + then : 7171 + printf %s "(cached) " >&6 7172 + else $as_nop 6417 7173 if test -n "$DSYMUTIL"; then 6418 7174 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6419 7175 else ··· 6421 7177 for as_dir in $PATH 6422 7178 do 6423 7179 IFS=$as_save_IFS 6424 - test -z "$as_dir" && as_dir=. 7180 + case $as_dir in #((( 7181 + '') as_dir=./ ;; 7182 + */) ;; 7183 + *) as_dir=$as_dir/ ;; 7184 + esac 6425 7185 for ac_exec_ext in '' $ac_executable_extensions; do 6426 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7186 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6427 7187 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6428 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7188 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6429 7189 break 2 6430 7190 fi 6431 7191 done ··· 6436 7196 fi 6437 7197 DSYMUTIL=$ac_cv_prog_DSYMUTIL 6438 7198 if test -n "$DSYMUTIL"; then 6439 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6440 - $as_echo "$DSYMUTIL" >&6; } 7199 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7200 + printf "%s\n" "$DSYMUTIL" >&6; } 6441 7201 else 6442 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6443 - $as_echo "no" >&6; } 7202 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7203 + printf "%s\n" "no" >&6; } 6444 7204 fi 6445 7205 6446 7206 ··· 6449 7209 ac_ct_DSYMUTIL=$DSYMUTIL 6450 7210 # Extract the first word of "dsymutil", so it can be a program name with args. 6451 7211 set dummy dsymutil; ac_word=$2 6452 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6453 - $as_echo_n "checking for $ac_word... " >&6; } 6454 - if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6455 - $as_echo_n "(cached) " >&6 6456 - else 7212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7213 + printf %s "checking for $ac_word... " >&6; } 7214 + if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} 7215 + then : 7216 + printf %s "(cached) " >&6 7217 + else $as_nop 6457 7218 if test -n "$ac_ct_DSYMUTIL"; then 6458 7219 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6459 7220 else ··· 6461 7222 for as_dir in $PATH 6462 7223 do 6463 7224 IFS=$as_save_IFS 6464 - test -z "$as_dir" && as_dir=. 7225 + case $as_dir in #((( 7226 + '') as_dir=./ ;; 7227 + */) ;; 7228 + *) as_dir=$as_dir/ ;; 7229 + esac 6465 7230 for ac_exec_ext in '' $ac_executable_extensions; do 6466 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7231 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6467 7232 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6468 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7233 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6469 7234 break 2 6470 7235 fi 6471 7236 done ··· 6476 7241 fi 6477 7242 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6478 7243 if test -n "$ac_ct_DSYMUTIL"; then 6479 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6480 - $as_echo "$ac_ct_DSYMUTIL" >&6; } 7244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7245 + printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } 6481 7246 else 6482 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6483 - $as_echo "no" >&6; } 7247 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7248 + printf "%s\n" "no" >&6; } 6484 7249 fi 6485 7250 6486 7251 if test "x$ac_ct_DSYMUTIL" = x; then ··· 6488 7253 else 6489 7254 case $cross_compiling:$ac_tool_warned in 6490 7255 yes:) 6491 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6492 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7256 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7257 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6493 7258 ac_tool_warned=yes ;; 6494 7259 esac 6495 7260 DSYMUTIL=$ac_ct_DSYMUTIL ··· 6501 7266 if test -n "$ac_tool_prefix"; then 6502 7267 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6503 7268 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6504 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6505 - $as_echo_n "checking for $ac_word... " >&6; } 6506 - if ${ac_cv_prog_NMEDIT+:} false; then : 6507 - $as_echo_n "(cached) " >&6 6508 - else 7269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7270 + printf %s "checking for $ac_word... " >&6; } 7271 + if test ${ac_cv_prog_NMEDIT+y} 7272 + then : 7273 + printf %s "(cached) " >&6 7274 + else $as_nop 6509 7275 if test -n "$NMEDIT"; then 6510 7276 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6511 7277 else ··· 6513 7279 for as_dir in $PATH 6514 7280 do 6515 7281 IFS=$as_save_IFS 6516 - test -z "$as_dir" && as_dir=. 7282 + case $as_dir in #((( 7283 + '') as_dir=./ ;; 7284 + */) ;; 7285 + *) as_dir=$as_dir/ ;; 7286 + esac 6517 7287 for ac_exec_ext in '' $ac_executable_extensions; do 6518 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7288 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6519 7289 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6520 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7290 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6521 7291 break 2 6522 7292 fi 6523 7293 done ··· 6528 7298 fi 6529 7299 NMEDIT=$ac_cv_prog_NMEDIT 6530 7300 if test -n "$NMEDIT"; then 6531 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6532 - $as_echo "$NMEDIT" >&6; } 7301 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7302 + printf "%s\n" "$NMEDIT" >&6; } 6533 7303 else 6534 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6535 - $as_echo "no" >&6; } 7304 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7305 + printf "%s\n" "no" >&6; } 6536 7306 fi 6537 7307 6538 7308 ··· 6541 7311 ac_ct_NMEDIT=$NMEDIT 6542 7312 # Extract the first word of "nmedit", so it can be a program name with args. 6543 7313 set dummy nmedit; ac_word=$2 6544 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6545 - $as_echo_n "checking for $ac_word... " >&6; } 6546 - if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6547 - $as_echo_n "(cached) " >&6 6548 - else 7314 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7315 + printf %s "checking for $ac_word... " >&6; } 7316 + if test ${ac_cv_prog_ac_ct_NMEDIT+y} 7317 + then : 7318 + printf %s "(cached) " >&6 7319 + else $as_nop 6549 7320 if test -n "$ac_ct_NMEDIT"; then 6550 7321 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6551 7322 else ··· 6553 7324 for as_dir in $PATH 6554 7325 do 6555 7326 IFS=$as_save_IFS 6556 - test -z "$as_dir" && as_dir=. 7327 + case $as_dir in #((( 7328 + '') as_dir=./ ;; 7329 + */) ;; 7330 + *) as_dir=$as_dir/ ;; 7331 + esac 6557 7332 for ac_exec_ext in '' $ac_executable_extensions; do 6558 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7333 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6559 7334 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6560 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7335 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6561 7336 break 2 6562 7337 fi 6563 7338 done ··· 6568 7343 fi 6569 7344 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6570 7345 if test -n "$ac_ct_NMEDIT"; then 6571 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6572 - $as_echo "$ac_ct_NMEDIT" >&6; } 7346 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7347 + printf "%s\n" "$ac_ct_NMEDIT" >&6; } 6573 7348 else 6574 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6575 - $as_echo "no" >&6; } 7349 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7350 + printf "%s\n" "no" >&6; } 6576 7351 fi 6577 7352 6578 7353 if test "x$ac_ct_NMEDIT" = x; then ··· 6580 7355 else 6581 7356 case $cross_compiling:$ac_tool_warned in 6582 7357 yes:) 6583 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6584 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7358 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7359 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6585 7360 ac_tool_warned=yes ;; 6586 7361 esac 6587 7362 NMEDIT=$ac_ct_NMEDIT ··· 6593 7368 if test -n "$ac_tool_prefix"; then 6594 7369 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6595 7370 set dummy ${ac_tool_prefix}lipo; ac_word=$2 6596 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6597 - $as_echo_n "checking for $ac_word... " >&6; } 6598 - if ${ac_cv_prog_LIPO+:} false; then : 6599 - $as_echo_n "(cached) " >&6 6600 - else 7371 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7372 + printf %s "checking for $ac_word... " >&6; } 7373 + if test ${ac_cv_prog_LIPO+y} 7374 + then : 7375 + printf %s "(cached) " >&6 7376 + else $as_nop 6601 7377 if test -n "$LIPO"; then 6602 7378 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6603 7379 else ··· 6605 7381 for as_dir in $PATH 6606 7382 do 6607 7383 IFS=$as_save_IFS 6608 - test -z "$as_dir" && as_dir=. 7384 + case $as_dir in #((( 7385 + '') as_dir=./ ;; 7386 + */) ;; 7387 + *) as_dir=$as_dir/ ;; 7388 + esac 6609 7389 for ac_exec_ext in '' $ac_executable_extensions; do 6610 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7390 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6611 7391 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6612 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7392 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6613 7393 break 2 6614 7394 fi 6615 7395 done ··· 6620 7400 fi 6621 7401 LIPO=$ac_cv_prog_LIPO 6622 7402 if test -n "$LIPO"; then 6623 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6624 - $as_echo "$LIPO" >&6; } 7403 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7404 + printf "%s\n" "$LIPO" >&6; } 6625 7405 else 6626 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6627 - $as_echo "no" >&6; } 7406 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7407 + printf "%s\n" "no" >&6; } 6628 7408 fi 6629 7409 6630 7410 ··· 6633 7413 ac_ct_LIPO=$LIPO 6634 7414 # Extract the first word of "lipo", so it can be a program name with args. 6635 7415 set dummy lipo; ac_word=$2 6636 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6637 - $as_echo_n "checking for $ac_word... " >&6; } 6638 - if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6639 - $as_echo_n "(cached) " >&6 6640 - else 7416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7417 + printf %s "checking for $ac_word... " >&6; } 7418 + if test ${ac_cv_prog_ac_ct_LIPO+y} 7419 + then : 7420 + printf %s "(cached) " >&6 7421 + else $as_nop 6641 7422 if test -n "$ac_ct_LIPO"; then 6642 7423 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6643 7424 else ··· 6645 7426 for as_dir in $PATH 6646 7427 do 6647 7428 IFS=$as_save_IFS 6648 - test -z "$as_dir" && as_dir=. 7429 + case $as_dir in #((( 7430 + '') as_dir=./ ;; 7431 + */) ;; 7432 + *) as_dir=$as_dir/ ;; 7433 + esac 6649 7434 for ac_exec_ext in '' $ac_executable_extensions; do 6650 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7435 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6651 7436 ac_cv_prog_ac_ct_LIPO="lipo" 6652 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7437 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6653 7438 break 2 6654 7439 fi 6655 7440 done ··· 6660 7445 fi 6661 7446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6662 7447 if test -n "$ac_ct_LIPO"; then 6663 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6664 - $as_echo "$ac_ct_LIPO" >&6; } 7448 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7449 + printf "%s\n" "$ac_ct_LIPO" >&6; } 6665 7450 else 6666 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6667 - $as_echo "no" >&6; } 7451 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7452 + printf "%s\n" "no" >&6; } 6668 7453 fi 6669 7454 6670 7455 if test "x$ac_ct_LIPO" = x; then ··· 6672 7457 else 6673 7458 case $cross_compiling:$ac_tool_warned in 6674 7459 yes:) 6675 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6676 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7461 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6677 7462 ac_tool_warned=yes ;; 6678 7463 esac 6679 7464 LIPO=$ac_ct_LIPO ··· 6685 7470 if test -n "$ac_tool_prefix"; then 6686 7471 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6687 7472 set dummy ${ac_tool_prefix}otool; ac_word=$2 6688 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6689 - $as_echo_n "checking for $ac_word... " >&6; } 6690 - if ${ac_cv_prog_OTOOL+:} false; then : 6691 - $as_echo_n "(cached) " >&6 6692 - else 7473 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7474 + printf %s "checking for $ac_word... " >&6; } 7475 + if test ${ac_cv_prog_OTOOL+y} 7476 + then : 7477 + printf %s "(cached) " >&6 7478 + else $as_nop 6693 7479 if test -n "$OTOOL"; then 6694 7480 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6695 7481 else ··· 6697 7483 for as_dir in $PATH 6698 7484 do 6699 7485 IFS=$as_save_IFS 6700 - test -z "$as_dir" && as_dir=. 7486 + case $as_dir in #((( 7487 + '') as_dir=./ ;; 7488 + */) ;; 7489 + *) as_dir=$as_dir/ ;; 7490 + esac 6701 7491 for ac_exec_ext in '' $ac_executable_extensions; do 6702 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7492 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6703 7493 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6704 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7494 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6705 7495 break 2 6706 7496 fi 6707 7497 done ··· 6712 7502 fi 6713 7503 OTOOL=$ac_cv_prog_OTOOL 6714 7504 if test -n "$OTOOL"; then 6715 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6716 - $as_echo "$OTOOL" >&6; } 7505 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7506 + printf "%s\n" "$OTOOL" >&6; } 6717 7507 else 6718 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6719 - $as_echo "no" >&6; } 7508 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7509 + printf "%s\n" "no" >&6; } 6720 7510 fi 6721 7511 6722 7512 ··· 6725 7515 ac_ct_OTOOL=$OTOOL 6726 7516 # Extract the first word of "otool", so it can be a program name with args. 6727 7517 set dummy otool; ac_word=$2 6728 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6729 - $as_echo_n "checking for $ac_word... " >&6; } 6730 - if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6731 - $as_echo_n "(cached) " >&6 6732 - else 7518 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7519 + printf %s "checking for $ac_word... " >&6; } 7520 + if test ${ac_cv_prog_ac_ct_OTOOL+y} 7521 + then : 7522 + printf %s "(cached) " >&6 7523 + else $as_nop 6733 7524 if test -n "$ac_ct_OTOOL"; then 6734 7525 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6735 7526 else ··· 6737 7528 for as_dir in $PATH 6738 7529 do 6739 7530 IFS=$as_save_IFS 6740 - test -z "$as_dir" && as_dir=. 7531 + case $as_dir in #((( 7532 + '') as_dir=./ ;; 7533 + */) ;; 7534 + *) as_dir=$as_dir/ ;; 7535 + esac 6741 7536 for ac_exec_ext in '' $ac_executable_extensions; do 6742 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7537 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6743 7538 ac_cv_prog_ac_ct_OTOOL="otool" 6744 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7539 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6745 7540 break 2 6746 7541 fi 6747 7542 done ··· 6752 7547 fi 6753 7548 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6754 7549 if test -n "$ac_ct_OTOOL"; then 6755 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6756 - $as_echo "$ac_ct_OTOOL" >&6; } 7550 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7551 + printf "%s\n" "$ac_ct_OTOOL" >&6; } 6757 7552 else 6758 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6759 - $as_echo "no" >&6; } 7553 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7554 + printf "%s\n" "no" >&6; } 6760 7555 fi 6761 7556 6762 7557 if test "x$ac_ct_OTOOL" = x; then ··· 6764 7559 else 6765 7560 case $cross_compiling:$ac_tool_warned in 6766 7561 yes:) 6767 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6768 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7563 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6769 7564 ac_tool_warned=yes ;; 6770 7565 esac 6771 7566 OTOOL=$ac_ct_OTOOL ··· 6777 7572 if test -n "$ac_tool_prefix"; then 6778 7573 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6779 7574 set dummy ${ac_tool_prefix}otool64; ac_word=$2 6780 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6781 - $as_echo_n "checking for $ac_word... " >&6; } 6782 - if ${ac_cv_prog_OTOOL64+:} false; then : 6783 - $as_echo_n "(cached) " >&6 6784 - else 7575 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7576 + printf %s "checking for $ac_word... " >&6; } 7577 + if test ${ac_cv_prog_OTOOL64+y} 7578 + then : 7579 + printf %s "(cached) " >&6 7580 + else $as_nop 6785 7581 if test -n "$OTOOL64"; then 6786 7582 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6787 7583 else ··· 6789 7585 for as_dir in $PATH 6790 7586 do 6791 7587 IFS=$as_save_IFS 6792 - test -z "$as_dir" && as_dir=. 7588 + case $as_dir in #((( 7589 + '') as_dir=./ ;; 7590 + */) ;; 7591 + *) as_dir=$as_dir/ ;; 7592 + esac 6793 7593 for ac_exec_ext in '' $ac_executable_extensions; do 6794 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7594 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6795 7595 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6796 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7596 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6797 7597 break 2 6798 7598 fi 6799 7599 done ··· 6804 7604 fi 6805 7605 OTOOL64=$ac_cv_prog_OTOOL64 6806 7606 if test -n "$OTOOL64"; then 6807 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6808 - $as_echo "$OTOOL64" >&6; } 7607 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7608 + printf "%s\n" "$OTOOL64" >&6; } 6809 7609 else 6810 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6811 - $as_echo "no" >&6; } 7610 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7611 + printf "%s\n" "no" >&6; } 6812 7612 fi 6813 7613 6814 7614 ··· 6817 7617 ac_ct_OTOOL64=$OTOOL64 6818 7618 # Extract the first word of "otool64", so it can be a program name with args. 6819 7619 set dummy otool64; ac_word=$2 6820 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6821 - $as_echo_n "checking for $ac_word... " >&6; } 6822 - if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6823 - $as_echo_n "(cached) " >&6 6824 - else 7620 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7621 + printf %s "checking for $ac_word... " >&6; } 7622 + if test ${ac_cv_prog_ac_ct_OTOOL64+y} 7623 + then : 7624 + printf %s "(cached) " >&6 7625 + else $as_nop 6825 7626 if test -n "$ac_ct_OTOOL64"; then 6826 7627 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6827 7628 else ··· 6829 7630 for as_dir in $PATH 6830 7631 do 6831 7632 IFS=$as_save_IFS 6832 - test -z "$as_dir" && as_dir=. 7633 + case $as_dir in #((( 7634 + '') as_dir=./ ;; 7635 + */) ;; 7636 + *) as_dir=$as_dir/ ;; 7637 + esac 6833 7638 for ac_exec_ext in '' $ac_executable_extensions; do 6834 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7639 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6835 7640 ac_cv_prog_ac_ct_OTOOL64="otool64" 6836 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7641 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6837 7642 break 2 6838 7643 fi 6839 7644 done ··· 6844 7649 fi 6845 7650 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6846 7651 if test -n "$ac_ct_OTOOL64"; then 6847 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6848 - $as_echo "$ac_ct_OTOOL64" >&6; } 7652 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7653 + printf "%s\n" "$ac_ct_OTOOL64" >&6; } 6849 7654 else 6850 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6851 - $as_echo "no" >&6; } 7655 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7656 + printf "%s\n" "no" >&6; } 6852 7657 fi 6853 7658 6854 7659 if test "x$ac_ct_OTOOL64" = x; then ··· 6856 7661 else 6857 7662 case $cross_compiling:$ac_tool_warned in 6858 7663 yes:) 6859 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6860 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7664 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7665 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6861 7666 ac_tool_warned=yes ;; 6862 7667 esac 6863 7668 OTOOL64=$ac_ct_OTOOL64 ··· 6892 7697 6893 7698 6894 7699 6895 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6896 - $as_echo_n "checking for -single_module linker flag... " >&6; } 6897 - if ${lt_cv_apple_cc_single_mod+:} false; then : 6898 - $as_echo_n "(cached) " >&6 6899 - else 7700 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7701 + printf %s "checking for -single_module linker flag... " >&6; } 7702 + if test ${lt_cv_apple_cc_single_mod+y} 7703 + then : 7704 + printf %s "(cached) " >&6 7705 + else $as_nop 6900 7706 lt_cv_apple_cc_single_mod=no 6901 7707 if test -z "${LT_MULTI_MODULE}"; then 6902 7708 # By default we will add the -single_module flag. You can override ··· 6925 7731 rm -f conftest.* 6926 7732 fi 6927 7733 fi 6928 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6929 - $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7734 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7735 + printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } 6930 7736 6931 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6932 - $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6933 - if ${lt_cv_ld_exported_symbols_list+:} false; then : 6934 - $as_echo_n "(cached) " >&6 6935 - else 7737 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7738 + printf %s "checking for -exported_symbols_list linker flag... " >&6; } 7739 + if test ${lt_cv_ld_exported_symbols_list+y} 7740 + then : 7741 + printf %s "(cached) " >&6 7742 + else $as_nop 6936 7743 lt_cv_ld_exported_symbols_list=no 6937 7744 save_LDFLAGS=$LDFLAGS 6938 7745 echo "_main" > conftest.sym ··· 6941 7748 /* end confdefs.h. */ 6942 7749 6943 7750 int 6944 - main () 7751 + main (void) 6945 7752 { 6946 7753 6947 7754 ; 6948 7755 return 0; 6949 7756 } 6950 7757 _ACEOF 6951 - if ac_fn_c_try_link "$LINENO"; then : 7758 + if ac_fn_c_try_link "$LINENO" 7759 + then : 6952 7760 lt_cv_ld_exported_symbols_list=yes 6953 - else 7761 + else $as_nop 6954 7762 lt_cv_ld_exported_symbols_list=no 6955 7763 fi 6956 - rm -f core conftest.err conftest.$ac_objext \ 7764 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6957 7765 conftest$ac_exeext conftest.$ac_ext 6958 7766 LDFLAGS="$save_LDFLAGS" 6959 7767 6960 7768 fi 6961 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6962 - $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7769 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7770 + printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } 6963 7771 6964 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6965 - $as_echo_n "checking for -force_load linker flag... " >&6; } 6966 - if ${lt_cv_ld_force_load+:} false; then : 6967 - $as_echo_n "(cached) " >&6 6968 - else 7772 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7773 + printf %s "checking for -force_load linker flag... " >&6; } 7774 + if test ${lt_cv_ld_force_load+y} 7775 + then : 7776 + printf %s "(cached) " >&6 7777 + else $as_nop 6969 7778 lt_cv_ld_force_load=no 6970 7779 cat > conftest.c << _LT_EOF 6971 7780 int forced_loaded() { return 2;} ··· 6993 7802 rm -rf conftest.dSYM 6994 7803 6995 7804 fi 6996 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 6997 - $as_echo "$lt_cv_ld_force_load" >&6; } 7805 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7806 + printf "%s\n" "$lt_cv_ld_force_load" >&6; } 6998 7807 case $host_os in 6999 7808 rhapsody* | darwin1.[012]) 7000 7809 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ··· 7030 7839 ;; 7031 7840 esac 7032 7841 7033 - ac_ext=c 7034 - ac_cpp='$CPP $CPPFLAGS' 7035 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7036 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7037 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 7038 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7039 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 7040 - # On Suns, sometimes $CPP names a directory. 7041 - if test -n "$CPP" && test -d "$CPP"; then 7042 - CPP= 7043 - fi 7044 - if test -z "$CPP"; then 7045 - if ${ac_cv_prog_CPP+:} false; then : 7046 - $as_echo_n "(cached) " >&6 7047 - else 7048 - # Double quotes because CPP needs to be expanded 7049 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7050 - do 7051 - ac_preproc_ok=false 7052 - for ac_c_preproc_warn_flag in '' yes 7842 + ac_header= ac_cache= 7843 + for ac_item in $ac_header_c_list 7053 7844 do 7054 - # Use a header file that comes with gcc, so configuring glibc 7055 - # with a fresh cross-compiler works. 7056 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7057 - # <limits.h> exists even on freestanding compilers. 7058 - # On the NeXT, cc -E runs the code through the compiler's parser, 7059 - # not just through cpp. "Syntax error" is here to catch this case. 7060 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7061 - /* end confdefs.h. */ 7062 - #ifdef __STDC__ 7063 - # include <limits.h> 7064 - #else 7065 - # include <assert.h> 7066 - #endif 7067 - Syntax error 7068 - _ACEOF 7069 - if ac_fn_c_try_cpp "$LINENO"; then : 7070 - 7071 - else 7072 - # Broken: fails on valid input. 7073 - continue 7074 - fi 7075 - rm -f conftest.err conftest.i conftest.$ac_ext 7076 - 7077 - # OK, works on sane cases. Now check whether nonexistent headers 7078 - # can be detected and how. 7079 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7080 - /* end confdefs.h. */ 7081 - #include <ac_nonexistent.h> 7082 - _ACEOF 7083 - if ac_fn_c_try_cpp "$LINENO"; then : 7084 - # Broken: success on invalid input. 7085 - continue 7086 - else 7087 - # Passes both tests. 7088 - ac_preproc_ok=: 7089 - break 7090 - fi 7091 - rm -f conftest.err conftest.i conftest.$ac_ext 7092 - 7845 + if test $ac_cache; then 7846 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 7847 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 7848 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 7849 + fi 7850 + ac_header= ac_cache= 7851 + elif test $ac_header; then 7852 + ac_cache=$ac_item 7853 + else 7854 + ac_header=$ac_item 7855 + fi 7093 7856 done 7094 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7095 - rm -f conftest.i conftest.err conftest.$ac_ext 7096 - if $ac_preproc_ok; then : 7097 - break 7098 - fi 7099 7857 7100 - done 7101 - ac_cv_prog_CPP=$CPP 7102 7858 7103 - fi 7104 - CPP=$ac_cv_prog_CPP 7105 - else 7106 - ac_cv_prog_CPP=$CPP 7107 - fi 7108 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7109 - $as_echo "$CPP" >&6; } 7110 - ac_preproc_ok=false 7111 - for ac_c_preproc_warn_flag in '' yes 7112 - do 7113 - # Use a header file that comes with gcc, so configuring glibc 7114 - # with a fresh cross-compiler works. 7115 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7116 - # <limits.h> exists even on freestanding compilers. 7117 - # On the NeXT, cc -E runs the code through the compiler's parser, 7118 - # not just through cpp. "Syntax error" is here to catch this case. 7119 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7120 - /* end confdefs.h. */ 7121 - #ifdef __STDC__ 7122 - # include <limits.h> 7123 - #else 7124 - # include <assert.h> 7125 - #endif 7126 - Syntax error 7127 - _ACEOF 7128 - if ac_fn_c_try_cpp "$LINENO"; then : 7129 7859 7130 - else 7131 - # Broken: fails on valid input. 7132 - continue 7133 - fi 7134 - rm -f conftest.err conftest.i conftest.$ac_ext 7135 7860 7136 - # OK, works on sane cases. Now check whether nonexistent headers 7137 - # can be detected and how. 7138 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7139 - /* end confdefs.h. */ 7140 - #include <ac_nonexistent.h> 7141 - _ACEOF 7142 - if ac_fn_c_try_cpp "$LINENO"; then : 7143 - # Broken: success on invalid input. 7144 - continue 7145 - else 7146 - # Passes both tests. 7147 - ac_preproc_ok=: 7148 - break 7149 - fi 7150 - rm -f conftest.err conftest.i conftest.$ac_ext 7151 7861 7152 - done 7153 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7154 - rm -f conftest.i conftest.err conftest.$ac_ext 7155 - if $ac_preproc_ok; then : 7156 - 7157 - else 7158 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7159 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7160 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7161 - See \`config.log' for more details" "$LINENO" 5; } 7162 - fi 7163 - 7164 - ac_ext=c 7165 - ac_cpp='$CPP $CPPFLAGS' 7166 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7167 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7168 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 7169 7862 7170 7863 7171 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7172 - $as_echo_n "checking for ANSI C header files... " >&6; } 7173 - if ${ac_cv_header_stdc+:} false; then : 7174 - $as_echo_n "(cached) " >&6 7175 - else 7176 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7177 - /* end confdefs.h. */ 7178 - #include <stdlib.h> 7179 - #include <stdarg.h> 7180 - #include <string.h> 7181 - #include <float.h> 7182 - 7183 - int 7184 - main () 7185 - { 7186 7864 7187 - ; 7188 - return 0; 7189 - } 7190 - _ACEOF 7191 - if ac_fn_c_try_compile "$LINENO"; then : 7192 - ac_cv_header_stdc=yes 7193 - else 7194 - ac_cv_header_stdc=no 7195 - fi 7196 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7197 - 7198 - if test $ac_cv_header_stdc = yes; then 7199 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7200 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7201 - /* end confdefs.h. */ 7202 - #include <string.h> 7203 - 7204 - _ACEOF 7205 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7206 - $EGREP "memchr" >/dev/null 2>&1; then : 7865 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 7866 + then : 7207 7867 7208 - else 7209 - ac_cv_header_stdc=no 7210 - fi 7211 - rm -f conftest* 7868 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 7212 7869 7213 7870 fi 7214 - 7215 - if test $ac_cv_header_stdc = yes; then 7216 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7217 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7218 - /* end confdefs.h. */ 7219 - #include <stdlib.h> 7220 - 7221 - _ACEOF 7222 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7223 - $EGREP "free" >/dev/null 2>&1; then : 7224 - 7225 - else 7226 - ac_cv_header_stdc=no 7227 - fi 7228 - rm -f conftest* 7229 - 7230 - fi 7231 - 7232 - if test $ac_cv_header_stdc = yes; then 7233 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7234 - if test "$cross_compiling" = yes; then : 7235 - : 7236 - else 7237 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7238 - /* end confdefs.h. */ 7239 - #include <ctype.h> 7240 - #include <stdlib.h> 7241 - #if ((' ' & 0x0FF) == 0x020) 7242 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7243 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7244 - #else 7245 - # define ISLOWER(c) \ 7246 - (('a' <= (c) && (c) <= 'i') \ 7247 - || ('j' <= (c) && (c) <= 'r') \ 7248 - || ('s' <= (c) && (c) <= 'z')) 7249 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7250 - #endif 7251 - 7252 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7253 - int 7254 - main () 7255 - { 7256 - int i; 7257 - for (i = 0; i < 256; i++) 7258 - if (XOR (islower (i), ISLOWER (i)) 7259 - || toupper (i) != TOUPPER (i)) 7260 - return 2; 7261 - return 0; 7262 - } 7263 - _ACEOF 7264 - if ac_fn_c_try_run "$LINENO"; then : 7265 - 7266 - else 7267 - ac_cv_header_stdc=no 7268 - fi 7269 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7270 - conftest.$ac_objext conftest.beam conftest.$ac_ext 7271 - fi 7272 - 7273 - fi 7274 - fi 7275 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7276 - $as_echo "$ac_cv_header_stdc" >&6; } 7277 - if test $ac_cv_header_stdc = yes; then 7278 - 7279 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7280 - 7281 - fi 7282 - 7283 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7284 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7285 - inttypes.h stdint.h unistd.h 7286 - do : 7287 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7288 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7871 + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7289 7872 " 7290 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7291 - cat >>confdefs.h <<_ACEOF 7292 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7293 - _ACEOF 7873 + if test "x$ac_cv_header_dlfcn_h" = xyes 7874 + then : 7875 + printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h 7294 7876 7295 7877 fi 7296 7878 7297 - done 7298 - 7299 - 7300 - for ac_header in dlfcn.h 7301 - do : 7302 - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7303 - " 7304 - if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7305 - cat >>confdefs.h <<_ACEOF 7306 - #define HAVE_DLFCN_H 1 7307 - _ACEOF 7308 - 7309 - fi 7310 - 7311 - done 7312 - 7313 7879 7314 7880 7315 7881 ··· 7325 7891 7326 7892 7327 7893 # Check whether --enable-shared was given. 7328 - if test "${enable_shared+set}" = set; then : 7894 + if test ${enable_shared+y} 7895 + then : 7329 7896 enableval=$enable_shared; p=${PACKAGE-default} 7330 7897 case $enableval in 7331 7898 yes) enable_shared=yes ;; ··· 7343 7910 IFS="$lt_save_ifs" 7344 7911 ;; 7345 7912 esac 7346 - else 7913 + else $as_nop 7347 7914 enable_shared=yes 7348 7915 fi 7349 7916 ··· 7356 7923 7357 7924 7358 7925 # Check whether --enable-static was given. 7359 - if test "${enable_static+set}" = set; then : 7926 + if test ${enable_static+y} 7927 + then : 7360 7928 enableval=$enable_static; p=${PACKAGE-default} 7361 7929 case $enableval in 7362 7930 yes) enable_static=yes ;; ··· 7374 7942 IFS="$lt_save_ifs" 7375 7943 ;; 7376 7944 esac 7377 - else 7945 + else $as_nop 7378 7946 enable_static=yes 7379 7947 fi 7380 7948 ··· 7388 7956 7389 7957 7390 7958 # Check whether --with-pic was given. 7391 - if test "${with_pic+set}" = set; then : 7959 + if test ${with_pic+y} 7960 + then : 7392 7961 withval=$with_pic; lt_p=${PACKAGE-default} 7393 7962 case $withval in 7394 7963 yes|no) pic_mode=$withval ;; ··· 7405 7974 IFS="$lt_save_ifs" 7406 7975 ;; 7407 7976 esac 7408 - else 7977 + else $as_nop 7409 7978 pic_mode=default 7410 7979 fi 7411 7980 ··· 7419 7988 7420 7989 7421 7990 # Check whether --enable-fast-install was given. 7422 - if test "${enable_fast_install+set}" = set; then : 7991 + if test ${enable_fast_install+y} 7992 + then : 7423 7993 enableval=$enable_fast_install; p=${PACKAGE-default} 7424 7994 case $enableval in 7425 7995 yes) enable_fast_install=yes ;; ··· 7437 8007 IFS="$lt_save_ifs" 7438 8008 ;; 7439 8009 esac 7440 - else 8010 + else $as_nop 7441 8011 enable_fast_install=yes 7442 8012 fi 7443 8013 ··· 7505 8075 setopt NO_GLOB_SUBST 7506 8076 fi 7507 8077 7508 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7509 - $as_echo_n "checking for objdir... " >&6; } 7510 - if ${lt_cv_objdir+:} false; then : 7511 - $as_echo_n "(cached) " >&6 7512 - else 8078 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8079 + printf %s "checking for objdir... " >&6; } 8080 + if test ${lt_cv_objdir+y} 8081 + then : 8082 + printf %s "(cached) " >&6 8083 + else $as_nop 7513 8084 rm -f .libs 2>/dev/null 7514 8085 mkdir .libs 2>/dev/null 7515 8086 if test -d .libs; then ··· 7520 8091 fi 7521 8092 rmdir .libs 2>/dev/null 7522 8093 fi 7523 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7524 - $as_echo "$lt_cv_objdir" >&6; } 8094 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8095 + printf "%s\n" "$lt_cv_objdir" >&6; } 7525 8096 objdir=$lt_cv_objdir 7526 8097 7527 8098 7528 8099 7529 8100 7530 8101 7531 - cat >>confdefs.h <<_ACEOF 7532 - #define LT_OBJDIR "$lt_cv_objdir/" 7533 - _ACEOF 8102 + printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h 7534 8103 7535 8104 7536 8105 ··· 7583 8152 case $deplibs_check_method in 7584 8153 file_magic*) 7585 8154 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7586 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7587 - $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7588 - if ${lt_cv_path_MAGIC_CMD+:} false; then : 7589 - $as_echo_n "(cached) " >&6 7590 - else 8155 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8156 + printf %s "checking for ${ac_tool_prefix}file... " >&6; } 8157 + if test ${lt_cv_path_MAGIC_CMD+y} 8158 + then : 8159 + printf %s "(cached) " >&6 8160 + else $as_nop 7591 8161 case $MAGIC_CMD in 7592 8162 [\\/*] | ?:[\\/]*) 7593 8163 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ··· 7636 8206 7637 8207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7638 8208 if test -n "$MAGIC_CMD"; then 7639 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7640 - $as_echo "$MAGIC_CMD" >&6; } 8209 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8210 + printf "%s\n" "$MAGIC_CMD" >&6; } 7641 8211 else 7642 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7643 - $as_echo "no" >&6; } 8212 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8213 + printf "%s\n" "no" >&6; } 7644 8214 fi 7645 8215 7646 8216 ··· 7649 8219 7650 8220 if test -z "$lt_cv_path_MAGIC_CMD"; then 7651 8221 if test -n "$ac_tool_prefix"; then 7652 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7653 - $as_echo_n "checking for file... " >&6; } 7654 - if ${lt_cv_path_MAGIC_CMD+:} false; then : 7655 - $as_echo_n "(cached) " >&6 7656 - else 8222 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8223 + printf %s "checking for file... " >&6; } 8224 + if test ${lt_cv_path_MAGIC_CMD+y} 8225 + then : 8226 + printf %s "(cached) " >&6 8227 + else $as_nop 7657 8228 case $MAGIC_CMD in 7658 8229 [\\/*] | ?:[\\/]*) 7659 8230 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ··· 7702 8273 7703 8274 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7704 8275 if test -n "$MAGIC_CMD"; then 7705 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7706 - $as_echo "$MAGIC_CMD" >&6; } 8276 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8277 + printf "%s\n" "$MAGIC_CMD" >&6; } 7707 8278 else 7708 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7709 - $as_echo "no" >&6; } 8279 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8280 + printf "%s\n" "no" >&6; } 7710 8281 fi 7711 8282 7712 8283 ··· 7787 8358 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7788 8359 esac 7789 8360 7790 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7791 - $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7792 - if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7793 - $as_echo_n "(cached) " >&6 7794 - else 8361 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8362 + printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8363 + if test ${lt_cv_prog_compiler_rtti_exceptions+y} 8364 + then : 8365 + printf %s "(cached) " >&6 8366 + else $as_nop 7795 8367 lt_cv_prog_compiler_rtti_exceptions=no 7796 8368 ac_outfile=conftest.$ac_objext 7797 8369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext ··· 7822 8394 $RM conftest* 7823 8395 7824 8396 fi 7825 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7826 - $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8397 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8398 + printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7827 8399 7828 8400 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7829 8401 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" ··· 8149 8721 ;; 8150 8722 esac 8151 8723 8152 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8153 - $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8154 - if ${lt_cv_prog_compiler_pic+:} false; then : 8155 - $as_echo_n "(cached) " >&6 8156 - else 8724 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8725 + printf %s "checking for $compiler option to produce PIC... " >&6; } 8726 + if test ${lt_cv_prog_compiler_pic+y} 8727 + then : 8728 + printf %s "(cached) " >&6 8729 + else $as_nop 8157 8730 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8158 8731 fi 8159 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8160 - $as_echo "$lt_cv_prog_compiler_pic" >&6; } 8732 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8733 + printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } 8161 8734 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8162 8735 8163 8736 # 8164 8737 # Check to make sure the PIC flag actually works. 8165 8738 # 8166 8739 if test -n "$lt_prog_compiler_pic"; then 8167 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8168 - $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8169 - if ${lt_cv_prog_compiler_pic_works+:} false; then : 8170 - $as_echo_n "(cached) " >&6 8171 - else 8740 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8741 + printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8742 + if test ${lt_cv_prog_compiler_pic_works+y} 8743 + then : 8744 + printf %s "(cached) " >&6 8745 + else $as_nop 8172 8746 lt_cv_prog_compiler_pic_works=no 8173 8747 ac_outfile=conftest.$ac_objext 8174 8748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext ··· 8199 8773 $RM conftest* 8200 8774 8201 8775 fi 8202 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8203 - $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8776 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8777 + printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } 8204 8778 8205 8779 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8206 8780 case $lt_prog_compiler_pic in ··· 8228 8802 # Check to make sure the static flag actually works. 8229 8803 # 8230 8804 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8231 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8232 - $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8233 - if ${lt_cv_prog_compiler_static_works+:} false; then : 8234 - $as_echo_n "(cached) " >&6 8235 - else 8805 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8806 + printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8807 + if test ${lt_cv_prog_compiler_static_works+y} 8808 + then : 8809 + printf %s "(cached) " >&6 8810 + else $as_nop 8236 8811 lt_cv_prog_compiler_static_works=no 8237 8812 save_LDFLAGS="$LDFLAGS" 8238 8813 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ··· 8256 8831 LDFLAGS="$save_LDFLAGS" 8257 8832 8258 8833 fi 8259 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8260 - $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8834 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8835 + printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } 8261 8836 8262 8837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8263 8838 : ··· 8271 8846 8272 8847 8273 8848 8274 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8275 - $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8276 - if ${lt_cv_prog_compiler_c_o+:} false; then : 8277 - $as_echo_n "(cached) " >&6 8278 - else 8849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8850 + printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8851 + if test ${lt_cv_prog_compiler_c_o+y} 8852 + then : 8853 + printf %s "(cached) " >&6 8854 + else $as_nop 8279 8855 lt_cv_prog_compiler_c_o=no 8280 8856 $RM -r conftest 2>/dev/null 8281 8857 mkdir conftest ··· 8318 8894 $RM conftest* 8319 8895 8320 8896 fi 8321 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8322 - $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8898 + printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 8323 8899 8324 8900 8325 8901 8326 8902 8327 8903 8328 8904 8329 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8330 - $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8331 - if ${lt_cv_prog_compiler_c_o+:} false; then : 8332 - $as_echo_n "(cached) " >&6 8333 - else 8905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8906 + printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8907 + if test ${lt_cv_prog_compiler_c_o+y} 8908 + then : 8909 + printf %s "(cached) " >&6 8910 + else $as_nop 8334 8911 lt_cv_prog_compiler_c_o=no 8335 8912 $RM -r conftest 2>/dev/null 8336 8913 mkdir conftest ··· 8373 8950 $RM conftest* 8374 8951 8375 8952 fi 8376 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8377 - $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8953 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8954 + printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 8378 8955 8379 8956 8380 8957 ··· 8382 8959 hard_links="nottested" 8383 8960 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8384 8961 # do not overwrite the value of need_locks provided by the user 8385 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8386 - $as_echo_n "checking if we can lock with hard links... " >&6; } 8962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8963 + printf %s "checking if we can lock with hard links... " >&6; } 8387 8964 hard_links=yes 8388 8965 $RM conftest* 8389 8966 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8390 8967 touch conftest.a 8391 8968 ln conftest.a conftest.b 2>&5 || hard_links=no 8392 8969 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8393 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8394 - $as_echo "$hard_links" >&6; } 8970 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8971 + printf "%s\n" "$hard_links" >&6; } 8395 8972 if test "$hard_links" = no; then 8396 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8397 - $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8974 + printf "%s\n" "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8398 8975 need_locks=warn 8399 8976 fi 8400 8977 else ··· 8406 8983 8407 8984 8408 8985 8409 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8410 - $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8986 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8987 + printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8411 8988 8412 8989 runpath_var= 8413 8990 allow_undefined_flag= ··· 8891 9468 if test "${lt_cv_aix_libpath+set}" = set; then 8892 9469 aix_libpath=$lt_cv_aix_libpath 8893 9470 else 8894 - if ${lt_cv_aix_libpath_+:} false; then : 8895 - $as_echo_n "(cached) " >&6 8896 - else 9471 + if test ${lt_cv_aix_libpath_+y} 9472 + then : 9473 + printf %s "(cached) " >&6 9474 + else $as_nop 8897 9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8898 9476 /* end confdefs.h. */ 8899 9477 8900 9478 int 8901 - main () 9479 + main (void) 8902 9480 { 8903 9481 8904 9482 ; 8905 9483 return 0; 8906 9484 } 8907 9485 _ACEOF 8908 - if ac_fn_c_try_link "$LINENO"; then : 9486 + if ac_fn_c_try_link "$LINENO" 9487 + then : 8909 9488 8910 9489 lt_aix_libpath_sed=' 8911 9490 /Import File Strings/,/^$/ { ··· 8920 9499 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8921 9500 fi 8922 9501 fi 8923 - rm -f core conftest.err conftest.$ac_objext \ 9502 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8924 9503 conftest$ac_exeext conftest.$ac_ext 8925 9504 if test -z "$lt_cv_aix_libpath_"; then 8926 9505 lt_cv_aix_libpath_="/usr/lib:/lib" ··· 8944 9523 if test "${lt_cv_aix_libpath+set}" = set; then 8945 9524 aix_libpath=$lt_cv_aix_libpath 8946 9525 else 8947 - if ${lt_cv_aix_libpath_+:} false; then : 8948 - $as_echo_n "(cached) " >&6 8949 - else 9526 + if test ${lt_cv_aix_libpath_+y} 9527 + then : 9528 + printf %s "(cached) " >&6 9529 + else $as_nop 8950 9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8951 9531 /* end confdefs.h. */ 8952 9532 8953 9533 int 8954 - main () 9534 + main (void) 8955 9535 { 8956 9536 8957 9537 ; 8958 9538 return 0; 8959 9539 } 8960 9540 _ACEOF 8961 - if ac_fn_c_try_link "$LINENO"; then : 9541 + if ac_fn_c_try_link "$LINENO" 9542 + then : 8962 9543 8963 9544 lt_aix_libpath_sed=' 8964 9545 /Import File Strings/,/^$/ { ··· 8973 9554 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8974 9555 fi 8975 9556 fi 8976 - rm -f core conftest.err conftest.$ac_objext \ 9557 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8977 9558 conftest$ac_exeext conftest.$ac_ext 8978 9559 if test -z "$lt_cv_aix_libpath_"; then 8979 9560 lt_cv_aix_libpath_="/usr/lib:/lib" ··· 9211 9792 9212 9793 # Older versions of the 11.00 compiler do not understand -b yet 9213 9794 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9214 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9215 - $as_echo_n "checking if $CC understands -b... " >&6; } 9216 - if ${lt_cv_prog_compiler__b+:} false; then : 9217 - $as_echo_n "(cached) " >&6 9218 - else 9795 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9796 + printf %s "checking if $CC understands -b... " >&6; } 9797 + if test ${lt_cv_prog_compiler__b+y} 9798 + then : 9799 + printf %s "(cached) " >&6 9800 + else $as_nop 9219 9801 lt_cv_prog_compiler__b=no 9220 9802 save_LDFLAGS="$LDFLAGS" 9221 9803 LDFLAGS="$LDFLAGS -b" ··· 9239 9821 LDFLAGS="$save_LDFLAGS" 9240 9822 9241 9823 fi 9242 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9243 - $as_echo "$lt_cv_prog_compiler__b" >&6; } 9824 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9825 + printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } 9244 9826 9245 9827 if test x"$lt_cv_prog_compiler__b" = xyes; then 9246 9828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ··· 9280 9862 # work, assume that -exports_file does not work either and 9281 9863 # implicitly export all symbols. 9282 9864 # This should be the same for all languages, so no per-tag cache variable. 9283 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9284 - $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9285 - if ${lt_cv_irix_exported_symbol+:} false; then : 9286 - $as_echo_n "(cached) " >&6 9287 - else 9865 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9866 + printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9867 + if test ${lt_cv_irix_exported_symbol+y} 9868 + then : 9869 + printf %s "(cached) " >&6 9870 + else $as_nop 9288 9871 save_LDFLAGS="$LDFLAGS" 9289 9872 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9290 9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9291 9874 /* end confdefs.h. */ 9292 9875 int foo (void) { return 0; } 9293 9876 _ACEOF 9294 - if ac_fn_c_try_link "$LINENO"; then : 9877 + if ac_fn_c_try_link "$LINENO" 9878 + then : 9295 9879 lt_cv_irix_exported_symbol=yes 9296 - else 9880 + else $as_nop 9297 9881 lt_cv_irix_exported_symbol=no 9298 9882 fi 9299 - rm -f core conftest.err conftest.$ac_objext \ 9883 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9300 9884 conftest$ac_exeext conftest.$ac_ext 9301 9885 LDFLAGS="$save_LDFLAGS" 9302 9886 fi 9303 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9304 - $as_echo "$lt_cv_irix_exported_symbol" >&6; } 9887 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9888 + printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 9305 9889 if test "$lt_cv_irix_exported_symbol" = yes; then 9306 9890 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' 9307 9891 fi ··· 9559 10143 fi 9560 10144 fi 9561 10145 9562 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9563 - $as_echo "$ld_shlibs" >&6; } 10146 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10147 + printf "%s\n" "$ld_shlibs" >&6; } 9564 10148 test "$ld_shlibs" = no && can_build_shared=no 9565 10149 9566 10150 with_gnu_ld=$with_gnu_ld ··· 9596 10180 # Test whether the compiler implicitly links with -lc since on some 9597 10181 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9598 10182 # to ld, don't add -lc before -lgcc. 9599 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9600 - $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9601 - if ${lt_cv_archive_cmds_need_lc+:} false; then : 9602 - $as_echo_n "(cached) " >&6 9603 - else 10183 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10184 + printf %s "checking whether -lc should be explicitly linked in... " >&6; } 10185 + if test ${lt_cv_archive_cmds_need_lc+y} 10186 + then : 10187 + printf %s "(cached) " >&6 10188 + else $as_nop 9604 10189 $RM conftest* 9605 10190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9606 10191 9607 10192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9608 10193 (eval $ac_compile) 2>&5 9609 10194 ac_status=$? 9610 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10195 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9611 10196 test $ac_status = 0; } 2>conftest.err; then 9612 10197 soname=conftest 9613 10198 lib=conftest ··· 9625 10210 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9626 10211 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9627 10212 ac_status=$? 9628 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10213 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9629 10214 test $ac_status = 0; } 9630 10215 then 9631 10216 lt_cv_archive_cmds_need_lc=no ··· 9639 10224 $RM conftest* 9640 10225 9641 10226 fi 9642 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9643 - $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10227 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10228 + printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } 9644 10229 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9645 10230 ;; 9646 10231 esac ··· 9799 10384 9800 10385 9801 10386 9802 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9803 - $as_echo_n "checking dynamic linker characteristics... " >&6; } 10387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10388 + printf %s "checking dynamic linker characteristics... " >&6; } 9804 10389 9805 10390 if test "$GCC" = yes; then 9806 10391 case $host_os in ··· 10291 10876 shlibpath_overrides_runpath=no 10292 10877 10293 10878 # Some binutils ld are patched to set DT_RUNPATH 10294 - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10295 - $as_echo_n "(cached) " >&6 10296 - else 10879 + if test ${lt_cv_shlibpath_overrides_runpath+y} 10880 + then : 10881 + printf %s "(cached) " >&6 10882 + else $as_nop 10297 10883 lt_cv_shlibpath_overrides_runpath=no 10298 10884 save_LDFLAGS=$LDFLAGS 10299 10885 save_libdir=$libdir ··· 10303 10889 /* end confdefs.h. */ 10304 10890 10305 10891 int 10306 - main () 10892 + main (void) 10307 10893 { 10308 10894 10309 10895 ; 10310 10896 return 0; 10311 10897 } 10312 10898 _ACEOF 10313 - if ac_fn_c_try_link "$LINENO"; then : 10314 - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10899 + if ac_fn_c_try_link "$LINENO" 10900 + then : 10901 + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 10902 + then : 10315 10903 lt_cv_shlibpath_overrides_runpath=yes 10316 10904 fi 10317 10905 fi 10318 - rm -f core conftest.err conftest.$ac_objext \ 10906 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10319 10907 conftest$ac_exeext conftest.$ac_ext 10320 10908 LDFLAGS=$save_LDFLAGS 10321 10909 libdir=$save_libdir ··· 10532 11120 dynamic_linker=no 10533 11121 ;; 10534 11122 esac 10535 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10536 - $as_echo "$dynamic_linker" >&6; } 11123 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11124 + printf "%s\n" "$dynamic_linker" >&6; } 10537 11125 test "$dynamic_linker" = no && can_build_shared=no 10538 11126 10539 11127 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ··· 10639 11227 10640 11228 10641 11229 10642 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10643 - $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11230 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11231 + printf %s "checking how to hardcode library paths into programs... " >&6; } 10644 11232 hardcode_action= 10645 11233 if test -n "$hardcode_libdir_flag_spec" || 10646 11234 test -n "$runpath_var" || ··· 10664 11252 # directories. 10665 11253 hardcode_action=unsupported 10666 11254 fi 10667 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10668 - $as_echo "$hardcode_action" >&6; } 11255 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11256 + printf "%s\n" "$hardcode_action" >&6; } 10669 11257 10670 11258 if test "$hardcode_action" = relink || 10671 11259 test "$inherit_rpath" = yes; then ··· 10709 11297 10710 11298 darwin*) 10711 11299 # if libdl is installed we need to link against it 10712 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10713 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 10714 - if ${ac_cv_lib_dl_dlopen+:} false; then : 10715 - $as_echo_n "(cached) " >&6 10716 - else 11300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11301 + printf %s "checking for dlopen in -ldl... " >&6; } 11302 + if test ${ac_cv_lib_dl_dlopen+y} 11303 + then : 11304 + printf %s "(cached) " >&6 11305 + else $as_nop 10717 11306 ac_check_lib_save_LIBS=$LIBS 10718 11307 LIBS="-ldl $LIBS" 10719 11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10722 11311 /* Override any GCC internal prototype to avoid an error. 10723 11312 Use char because int might match the return type of a GCC 10724 11313 builtin and then its argument prototype would still apply. */ 10725 - #ifdef __cplusplus 10726 - extern "C" 10727 - #endif 10728 11314 char dlopen (); 10729 11315 int 10730 - main () 11316 + main (void) 10731 11317 { 10732 11318 return dlopen (); 10733 11319 ; 10734 11320 return 0; 10735 11321 } 10736 11322 _ACEOF 10737 - if ac_fn_c_try_link "$LINENO"; then : 11323 + if ac_fn_c_try_link "$LINENO" 11324 + then : 10738 11325 ac_cv_lib_dl_dlopen=yes 10739 - else 11326 + else $as_nop 10740 11327 ac_cv_lib_dl_dlopen=no 10741 11328 fi 10742 - rm -f core conftest.err conftest.$ac_objext \ 11329 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10743 11330 conftest$ac_exeext conftest.$ac_ext 10744 11331 LIBS=$ac_check_lib_save_LIBS 10745 11332 fi 10746 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10747 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10748 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11333 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11334 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11335 + if test "x$ac_cv_lib_dl_dlopen" = xyes 11336 + then : 10749 11337 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10750 - else 11338 + else $as_nop 10751 11339 10752 11340 lt_cv_dlopen="dyld" 10753 11341 lt_cv_dlopen_libs= ··· 10759 11347 10760 11348 *) 10761 11349 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10762 - if test "x$ac_cv_func_shl_load" = xyes; then : 11350 + if test "x$ac_cv_func_shl_load" = xyes 11351 + then : 10763 11352 lt_cv_dlopen="shl_load" 10764 - else 10765 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10766 - $as_echo_n "checking for shl_load in -ldld... " >&6; } 10767 - if ${ac_cv_lib_dld_shl_load+:} false; then : 10768 - $as_echo_n "(cached) " >&6 10769 - else 11353 + else $as_nop 11354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11355 + printf %s "checking for shl_load in -ldld... " >&6; } 11356 + if test ${ac_cv_lib_dld_shl_load+y} 11357 + then : 11358 + printf %s "(cached) " >&6 11359 + else $as_nop 10770 11360 ac_check_lib_save_LIBS=$LIBS 10771 11361 LIBS="-ldld $LIBS" 10772 11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10775 11365 /* Override any GCC internal prototype to avoid an error. 10776 11366 Use char because int might match the return type of a GCC 10777 11367 builtin and then its argument prototype would still apply. */ 10778 - #ifdef __cplusplus 10779 - extern "C" 10780 - #endif 10781 11368 char shl_load (); 10782 11369 int 10783 - main () 11370 + main (void) 10784 11371 { 10785 11372 return shl_load (); 10786 11373 ; 10787 11374 return 0; 10788 11375 } 10789 11376 _ACEOF 10790 - if ac_fn_c_try_link "$LINENO"; then : 11377 + if ac_fn_c_try_link "$LINENO" 11378 + then : 10791 11379 ac_cv_lib_dld_shl_load=yes 10792 - else 11380 + else $as_nop 10793 11381 ac_cv_lib_dld_shl_load=no 10794 11382 fi 10795 - rm -f core conftest.err conftest.$ac_objext \ 11383 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10796 11384 conftest$ac_exeext conftest.$ac_ext 10797 11385 LIBS=$ac_check_lib_save_LIBS 10798 11386 fi 10799 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10800 - $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10801 - if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11387 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11388 + printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } 11389 + if test "x$ac_cv_lib_dld_shl_load" = xyes 11390 + then : 10802 11391 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10803 - else 11392 + else $as_nop 10804 11393 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10805 - if test "x$ac_cv_func_dlopen" = xyes; then : 11394 + if test "x$ac_cv_func_dlopen" = xyes 11395 + then : 10806 11396 lt_cv_dlopen="dlopen" 10807 - else 10808 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10809 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 10810 - if ${ac_cv_lib_dl_dlopen+:} false; then : 10811 - $as_echo_n "(cached) " >&6 10812 - else 11397 + else $as_nop 11398 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11399 + printf %s "checking for dlopen in -ldl... " >&6; } 11400 + if test ${ac_cv_lib_dl_dlopen+y} 11401 + then : 11402 + printf %s "(cached) " >&6 11403 + else $as_nop 10813 11404 ac_check_lib_save_LIBS=$LIBS 10814 11405 LIBS="-ldl $LIBS" 10815 11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10818 11409 /* Override any GCC internal prototype to avoid an error. 10819 11410 Use char because int might match the return type of a GCC 10820 11411 builtin and then its argument prototype would still apply. */ 10821 - #ifdef __cplusplus 10822 - extern "C" 10823 - #endif 10824 11412 char dlopen (); 10825 11413 int 10826 - main () 11414 + main (void) 10827 11415 { 10828 11416 return dlopen (); 10829 11417 ; 10830 11418 return 0; 10831 11419 } 10832 11420 _ACEOF 10833 - if ac_fn_c_try_link "$LINENO"; then : 11421 + if ac_fn_c_try_link "$LINENO" 11422 + then : 10834 11423 ac_cv_lib_dl_dlopen=yes 10835 - else 11424 + else $as_nop 10836 11425 ac_cv_lib_dl_dlopen=no 10837 11426 fi 10838 - rm -f core conftest.err conftest.$ac_objext \ 11427 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10839 11428 conftest$ac_exeext conftest.$ac_ext 10840 11429 LIBS=$ac_check_lib_save_LIBS 10841 11430 fi 10842 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10843 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10844 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11431 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11432 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11433 + if test "x$ac_cv_lib_dl_dlopen" = xyes 11434 + then : 10845 11435 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10846 - else 10847 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10848 - $as_echo_n "checking for dlopen in -lsvld... " >&6; } 10849 - if ${ac_cv_lib_svld_dlopen+:} false; then : 10850 - $as_echo_n "(cached) " >&6 10851 - else 11436 + else $as_nop 11437 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11438 + printf %s "checking for dlopen in -lsvld... " >&6; } 11439 + if test ${ac_cv_lib_svld_dlopen+y} 11440 + then : 11441 + printf %s "(cached) " >&6 11442 + else $as_nop 10852 11443 ac_check_lib_save_LIBS=$LIBS 10853 11444 LIBS="-lsvld $LIBS" 10854 11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10857 11448 /* Override any GCC internal prototype to avoid an error. 10858 11449 Use char because int might match the return type of a GCC 10859 11450 builtin and then its argument prototype would still apply. */ 10860 - #ifdef __cplusplus 10861 - extern "C" 10862 - #endif 10863 11451 char dlopen (); 10864 11452 int 10865 - main () 11453 + main (void) 10866 11454 { 10867 11455 return dlopen (); 10868 11456 ; 10869 11457 return 0; 10870 11458 } 10871 11459 _ACEOF 10872 - if ac_fn_c_try_link "$LINENO"; then : 11460 + if ac_fn_c_try_link "$LINENO" 11461 + then : 10873 11462 ac_cv_lib_svld_dlopen=yes 10874 - else 11463 + else $as_nop 10875 11464 ac_cv_lib_svld_dlopen=no 10876 11465 fi 10877 - rm -f core conftest.err conftest.$ac_objext \ 11466 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10878 11467 conftest$ac_exeext conftest.$ac_ext 10879 11468 LIBS=$ac_check_lib_save_LIBS 10880 11469 fi 10881 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10882 - $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10883 - if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11470 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11471 + printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } 11472 + if test "x$ac_cv_lib_svld_dlopen" = xyes 11473 + then : 10884 11474 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10885 - else 10886 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10887 - $as_echo_n "checking for dld_link in -ldld... " >&6; } 10888 - if ${ac_cv_lib_dld_dld_link+:} false; then : 10889 - $as_echo_n "(cached) " >&6 10890 - else 11475 + else $as_nop 11476 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11477 + printf %s "checking for dld_link in -ldld... " >&6; } 11478 + if test ${ac_cv_lib_dld_dld_link+y} 11479 + then : 11480 + printf %s "(cached) " >&6 11481 + else $as_nop 10891 11482 ac_check_lib_save_LIBS=$LIBS 10892 11483 LIBS="-ldld $LIBS" 10893 11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10896 11487 /* Override any GCC internal prototype to avoid an error. 10897 11488 Use char because int might match the return type of a GCC 10898 11489 builtin and then its argument prototype would still apply. */ 10899 - #ifdef __cplusplus 10900 - extern "C" 10901 - #endif 10902 11490 char dld_link (); 10903 11491 int 10904 - main () 11492 + main (void) 10905 11493 { 10906 11494 return dld_link (); 10907 11495 ; 10908 11496 return 0; 10909 11497 } 10910 11498 _ACEOF 10911 - if ac_fn_c_try_link "$LINENO"; then : 11499 + if ac_fn_c_try_link "$LINENO" 11500 + then : 10912 11501 ac_cv_lib_dld_dld_link=yes 10913 - else 11502 + else $as_nop 10914 11503 ac_cv_lib_dld_dld_link=no 10915 11504 fi 10916 - rm -f core conftest.err conftest.$ac_objext \ 11505 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10917 11506 conftest$ac_exeext conftest.$ac_ext 10918 11507 LIBS=$ac_check_lib_save_LIBS 10919 11508 fi 10920 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10921 - $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10922 - if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11509 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11510 + printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } 11511 + if test "x$ac_cv_lib_dld_dld_link" = xyes 11512 + then : 10923 11513 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10924 11514 fi 10925 11515 ··· 10958 11548 save_LIBS="$LIBS" 10959 11549 LIBS="$lt_cv_dlopen_libs $LIBS" 10960 11550 10961 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10962 - $as_echo_n "checking whether a program can dlopen itself... " >&6; } 10963 - if ${lt_cv_dlopen_self+:} false; then : 10964 - $as_echo_n "(cached) " >&6 10965 - else 11551 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11552 + printf %s "checking whether a program can dlopen itself... " >&6; } 11553 + if test ${lt_cv_dlopen_self+y} 11554 + then : 11555 + printf %s "(cached) " >&6 11556 + else $as_nop 10966 11557 if test "$cross_compiling" = yes; then : 10967 11558 lt_cv_dlopen_self=cross 10968 11559 else ··· 11041 11632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11042 11633 (eval $ac_link) 2>&5 11043 11634 ac_status=$? 11044 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11635 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11045 11636 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11046 11637 (./conftest; exit; ) >&5 2>/dev/null 11047 11638 lt_status=$? ··· 11059 11650 11060 11651 11061 11652 fi 11062 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11063 - $as_echo "$lt_cv_dlopen_self" >&6; } 11653 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11654 + printf "%s\n" "$lt_cv_dlopen_self" >&6; } 11064 11655 11065 11656 if test "x$lt_cv_dlopen_self" = xyes; then 11066 11657 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11067 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11068 - $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11069 - if ${lt_cv_dlopen_self_static+:} false; then : 11070 - $as_echo_n "(cached) " >&6 11071 - else 11658 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11659 + printf %s "checking whether a statically linked program can dlopen itself... " >&6; } 11660 + if test ${lt_cv_dlopen_self_static+y} 11661 + then : 11662 + printf %s "(cached) " >&6 11663 + else $as_nop 11072 11664 if test "$cross_compiling" = yes; then : 11073 11665 lt_cv_dlopen_self_static=cross 11074 11666 else ··· 11147 11739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11148 11740 (eval $ac_link) 2>&5 11149 11741 ac_status=$? 11150 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11742 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11151 11743 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11152 11744 (./conftest; exit; ) >&5 2>/dev/null 11153 11745 lt_status=$? ··· 11165 11757 11166 11758 11167 11759 fi 11168 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11169 - $as_echo "$lt_cv_dlopen_self_static" >&6; } 11760 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11761 + printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } 11170 11762 fi 11171 11763 11172 11764 CPPFLAGS="$save_CPPFLAGS" ··· 11204 11796 11205 11797 striplib= 11206 11798 old_striplib= 11207 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11208 - $as_echo_n "checking whether stripping libraries is possible... " >&6; } 11799 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11800 + printf %s "checking whether stripping libraries is possible... " >&6; } 11209 11801 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11210 11802 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11211 11803 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11212 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11213 - $as_echo "yes" >&6; } 11804 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11805 + printf "%s\n" "yes" >&6; } 11214 11806 else 11215 11807 # FIXME - insert some real tests, host_os isn't really good enough 11216 11808 case $host_os in ··· 11218 11810 if test -n "$STRIP" ; then 11219 11811 striplib="$STRIP -x" 11220 11812 old_striplib="$STRIP -S" 11221 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11222 - $as_echo "yes" >&6; } 11813 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11814 + printf "%s\n" "yes" >&6; } 11223 11815 else 11224 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11225 - $as_echo "no" >&6; } 11816 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11817 + printf "%s\n" "no" >&6; } 11226 11818 fi 11227 11819 ;; 11228 11820 *) 11229 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11230 - $as_echo "no" >&6; } 11821 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11822 + printf "%s\n" "no" >&6; } 11231 11823 ;; 11232 11824 esac 11233 11825 fi ··· 11244 11836 11245 11837 11246 11838 # Report which library types will actually be built 11247 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11248 - $as_echo_n "checking if libtool supports shared libraries... " >&6; } 11249 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11250 - $as_echo "$can_build_shared" >&6; } 11839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11840 + printf %s "checking if libtool supports shared libraries... " >&6; } 11841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11842 + printf "%s\n" "$can_build_shared" >&6; } 11251 11843 11252 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11253 - $as_echo_n "checking whether to build shared libraries... " >&6; } 11844 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11845 + printf %s "checking whether to build shared libraries... " >&6; } 11254 11846 test "$can_build_shared" = "no" && enable_shared=no 11255 11847 11256 11848 # On AIX, shared libraries and static libraries use the same namespace, and ··· 11270 11862 fi 11271 11863 ;; 11272 11864 esac 11273 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11274 - $as_echo "$enable_shared" >&6; } 11865 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11866 + printf "%s\n" "$enable_shared" >&6; } 11275 11867 11276 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11277 - $as_echo_n "checking whether to build static libraries... " >&6; } 11868 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11869 + printf %s "checking whether to build static libraries... " >&6; } 11278 11870 # Make sure either enable_shared or enable_static is yes. 11279 11871 test "$enable_shared" = yes || enable_static=yes 11280 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11281 - $as_echo "$enable_static" >&6; } 11872 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11873 + printf "%s\n" "$enable_static" >&6; } 11282 11874 11283 11875 11284 11876 ··· 11327 11919 11328 11920 11329 11921 11330 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11331 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11922 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11923 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11332 11924 # Check whether --enable-maintainer-mode was given. 11333 - if test "${enable_maintainer_mode+set}" = set; then : 11925 + if test ${enable_maintainer_mode+y} 11926 + then : 11334 11927 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 11335 - else 11928 + else $as_nop 11336 11929 USE_MAINTAINER_MODE=no 11337 11930 fi 11338 11931 11339 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11340 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 11932 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11933 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 11341 11934 if test $USE_MAINTAINER_MODE = yes; then 11342 11935 MAINTAINER_MODE_TRUE= 11343 11936 MAINTAINER_MODE_FALSE='#' ··· 11350 11943 11351 11944 11352 11945 11353 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 11354 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 11355 - if ${ac_cv_prog_cc_c99+:} false; then : 11356 - $as_echo_n "(cached) " >&6 11357 - else 11358 - ac_cv_prog_cc_c99=no 11359 - ac_save_CC=$CC 11360 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11946 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 11947 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 11948 + if test ${ac_cv_c_undeclared_builtin_options+y} 11949 + then : 11950 + printf %s "(cached) " >&6 11951 + else $as_nop 11952 + ac_save_CFLAGS=$CFLAGS 11953 + ac_cv_c_undeclared_builtin_options='cannot detect' 11954 + for ac_arg in '' -fno-builtin; do 11955 + CFLAGS="$ac_save_CFLAGS $ac_arg" 11956 + # This test program should *not* compile successfully. 11957 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11361 11958 /* end confdefs.h. */ 11362 - #include <stdarg.h> 11363 - #include <stdbool.h> 11364 - #include <stdlib.h> 11365 - #include <wchar.h> 11366 - #include <stdio.h> 11367 11959 11368 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 11369 - #define debug(...) fprintf (stderr, __VA_ARGS__) 11370 - #define showlist(...) puts (#__VA_ARGS__) 11371 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 11372 - static void 11373 - test_varargs_macros (void) 11960 + int 11961 + main (void) 11374 11962 { 11375 - int x = 1234; 11376 - int y = 5678; 11377 - debug ("Flag"); 11378 - debug ("X = %d\n", x); 11379 - showlist (The first, second, and third items.); 11380 - report (x>y, "x is %d but y is %d", x, y); 11381 - } 11382 - 11383 - // Check long long types. 11384 - #define BIG64 18446744073709551615ull 11385 - #define BIG32 4294967295ul 11386 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 11387 - #if !BIG_OK 11388 - your preprocessor is broken; 11389 - #endif 11390 - #if BIG_OK 11391 - #else 11392 - your preprocessor is broken; 11393 - #endif 11394 - static long long int bignum = -9223372036854775807LL; 11395 - static unsigned long long int ubignum = BIG64; 11396 - 11397 - struct incomplete_array 11398 - { 11399 - int datasize; 11400 - double data[]; 11401 - }; 11402 - 11403 - struct named_init { 11404 - int number; 11405 - const wchar_t *name; 11406 - double average; 11407 - }; 11408 - 11409 - typedef const char *ccp; 11410 - 11411 - static inline int 11412 - test_restrict (ccp restrict text) 11413 - { 11414 - // See if C++-style comments work. 11415 - // Iterate through items via the restricted pointer. 11416 - // Also check for declarations in for loops. 11417 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 11418 - continue; 11963 + (void) strchr; 11964 + ; 11419 11965 return 0; 11420 11966 } 11421 - 11422 - // Check varargs and va_copy. 11423 - static void 11424 - test_varargs (const char *format, ...) 11425 - { 11426 - va_list args; 11427 - va_start (args, format); 11428 - va_list args_copy; 11429 - va_copy (args_copy, args); 11430 - 11431 - const char *str; 11432 - int number; 11433 - float fnumber; 11967 + _ACEOF 11968 + if ac_fn_c_try_compile "$LINENO" 11969 + then : 11434 11970 11435 - while (*format) 11436 - { 11437 - switch (*format++) 11438 - { 11439 - case 's': // string 11440 - str = va_arg (args_copy, const char *); 11441 - break; 11442 - case 'd': // int 11443 - number = va_arg (args_copy, int); 11444 - break; 11445 - case 'f': // float 11446 - fnumber = va_arg (args_copy, double); 11447 - break; 11448 - default: 11449 - break; 11450 - } 11451 - } 11452 - va_end (args_copy); 11453 - va_end (args); 11454 - } 11971 + else $as_nop 11972 + # This test program should compile successfully. 11973 + # No library function is consistently available on 11974 + # freestanding implementations, so test against a dummy 11975 + # declaration. Include always-available headers on the 11976 + # off chance that they somehow elicit warnings. 11977 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11978 + /* end confdefs.h. */ 11979 + #include <float.h> 11980 + #include <limits.h> 11981 + #include <stdarg.h> 11982 + #include <stddef.h> 11983 + extern void ac_decl (int, char *); 11455 11984 11456 11985 int 11457 - main () 11986 + main (void) 11458 11987 { 11459 - 11460 - // Check bool. 11461 - _Bool success = false; 11462 - 11463 - // Check restrict. 11464 - if (test_restrict ("String literal") == 0) 11465 - success = true; 11466 - char *restrict newvar = "Another string"; 11467 - 11468 - // Check varargs. 11469 - test_varargs ("s, d' f .", "string", 65, 34.234); 11470 - test_varargs_macros (); 11471 - 11472 - // Check flexible array members. 11473 - struct incomplete_array *ia = 11474 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 11475 - ia->datasize = 10; 11476 - for (int i = 0; i < ia->datasize; ++i) 11477 - ia->data[i] = i * 1.234; 11478 - 11479 - // Check named initializers. 11480 - struct named_init ni = { 11481 - .number = 34, 11482 - .name = L"Test wide string", 11483 - .average = 543.34343, 11484 - }; 11485 - 11486 - ni.number = 58; 11487 - 11488 - int dynamic_array[ni.number]; 11489 - dynamic_array[ni.number - 1] = 543; 11490 - 11491 - // work around unused variable warnings 11492 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 11493 - || dynamic_array[ni.number - 1] != 543); 11988 + (void) ac_decl (0, (char *) 0); 11989 + (void) ac_decl; 11494 11990 11495 11991 ; 11496 11992 return 0; 11497 11993 } 11498 11994 _ACEOF 11499 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 11500 - do 11501 - CC="$ac_save_CC $ac_arg" 11502 - if ac_fn_c_try_compile "$LINENO"; then : 11503 - ac_cv_prog_cc_c99=$ac_arg 11995 + if ac_fn_c_try_compile "$LINENO" 11996 + then : 11997 + if test x"$ac_arg" = x 11998 + then : 11999 + ac_cv_c_undeclared_builtin_options='none needed' 12000 + else $as_nop 12001 + ac_cv_c_undeclared_builtin_options=$ac_arg 11504 12002 fi 11505 - rm -f core conftest.err conftest.$ac_objext 11506 - test "x$ac_cv_prog_cc_c99" != "xno" && break 11507 - done 11508 - rm -f conftest.$ac_ext 11509 - CC=$ac_save_CC 12003 + break 12004 + fi 12005 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12006 + fi 12007 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12008 + done 12009 + CFLAGS=$ac_save_CFLAGS 11510 12010 11511 12011 fi 11512 - # AC_CACHE_VAL 11513 - case "x$ac_cv_prog_cc_c99" in 11514 - x) 11515 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 11516 - $as_echo "none needed" >&6; } ;; 11517 - xno) 11518 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 11519 - $as_echo "unsupported" >&6; } ;; 11520 - *) 11521 - CC="$CC $ac_cv_prog_cc_c99" 11522 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 11523 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 12012 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 12013 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 12014 + case $ac_cv_c_undeclared_builtin_options in #( 12015 + 'cannot detect') : 12016 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12017 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 12018 + as_fn_error $? "cannot make $CC report undeclared builtins 12019 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 12020 + 'none needed') : 12021 + ac_c_undeclared_builtin_options='' ;; #( 12022 + *) : 12023 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 11524 12024 esac 11525 - if test "x$ac_cv_prog_cc_c99" != xno; then : 11526 12025 11527 - fi 11528 12026 11529 12027 11530 12028 11531 12029 11532 - 11533 - 11534 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 11535 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 12030 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 12031 + if test "x$ac_cv_have_decl___clang__" = xyes 12032 + then : 11536 12033 CLANGCC="yes" 11537 - else 12034 + else $as_nop 11538 12035 CLANGCC="no" 11539 12036 fi 11540 - 11541 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 11542 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 12037 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 12038 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 12039 + then : 11543 12040 INTELCC="yes" 11544 - else 12041 + else $as_nop 11545 12042 INTELCC="no" 11546 12043 fi 11547 - 11548 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 11549 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 12044 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 12045 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 12046 + then : 11550 12047 SUNCC="yes" 11551 - else 12048 + else $as_nop 11552 12049 SUNCC="no" 11553 12050 fi 11554 - 11555 12051 11556 12052 11557 12053 ··· 11564 12060 if test -n "$ac_tool_prefix"; then 11565 12061 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11566 12062 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11567 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11568 - $as_echo_n "checking for $ac_word... " >&6; } 11569 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 11570 - $as_echo_n "(cached) " >&6 11571 - else 12063 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12064 + printf %s "checking for $ac_word... " >&6; } 12065 + if test ${ac_cv_path_PKG_CONFIG+y} 12066 + then : 12067 + printf %s "(cached) " >&6 12068 + else $as_nop 11572 12069 case $PKG_CONFIG in 11573 12070 [\\/]* | ?:[\\/]*) 11574 12071 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 11578 12075 for as_dir in $PATH 11579 12076 do 11580 12077 IFS=$as_save_IFS 11581 - test -z "$as_dir" && as_dir=. 12078 + case $as_dir in #((( 12079 + '') as_dir=./ ;; 12080 + */) ;; 12081 + *) as_dir=$as_dir/ ;; 12082 + esac 11582 12083 for ac_exec_ext in '' $ac_executable_extensions; do 11583 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11584 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11585 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12084 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12085 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 12086 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 11586 12087 break 2 11587 12088 fi 11588 12089 done ··· 11594 12095 fi 11595 12096 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11596 12097 if test -n "$PKG_CONFIG"; then 11597 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11598 - $as_echo "$PKG_CONFIG" >&6; } 12098 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12099 + printf "%s\n" "$PKG_CONFIG" >&6; } 11599 12100 else 11600 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11601 - $as_echo "no" >&6; } 12101 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12102 + printf "%s\n" "no" >&6; } 11602 12103 fi 11603 12104 11604 12105 ··· 11607 12108 ac_pt_PKG_CONFIG=$PKG_CONFIG 11608 12109 # Extract the first word of "pkg-config", so it can be a program name with args. 11609 12110 set dummy pkg-config; ac_word=$2 11610 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11611 - $as_echo_n "checking for $ac_word... " >&6; } 11612 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 11613 - $as_echo_n "(cached) " >&6 11614 - else 12111 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12112 + printf %s "checking for $ac_word... " >&6; } 12113 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 12114 + then : 12115 + printf %s "(cached) " >&6 12116 + else $as_nop 11615 12117 case $ac_pt_PKG_CONFIG in 11616 12118 [\\/]* | ?:[\\/]*) 11617 12119 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 11621 12123 for as_dir in $PATH 11622 12124 do 11623 12125 IFS=$as_save_IFS 11624 - test -z "$as_dir" && as_dir=. 12126 + case $as_dir in #((( 12127 + '') as_dir=./ ;; 12128 + */) ;; 12129 + *) as_dir=$as_dir/ ;; 12130 + esac 11625 12131 for ac_exec_ext in '' $ac_executable_extensions; do 11626 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11627 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11628 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12132 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12133 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 12134 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 11629 12135 break 2 11630 12136 fi 11631 12137 done ··· 11637 12143 fi 11638 12144 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11639 12145 if test -n "$ac_pt_PKG_CONFIG"; then 11640 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11641 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 12146 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12147 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 11642 12148 else 11643 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11644 - $as_echo "no" >&6; } 12149 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12150 + printf "%s\n" "no" >&6; } 11645 12151 fi 11646 12152 11647 12153 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 11649 12155 else 11650 12156 case $cross_compiling:$ac_tool_warned in 11651 12157 yes:) 11652 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11653 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12158 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12159 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11654 12160 ac_tool_warned=yes ;; 11655 12161 esac 11656 12162 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 11662 12168 fi 11663 12169 if test -n "$PKG_CONFIG"; then 11664 12170 _pkg_min_version=0.9.0 11665 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11666 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12171 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12172 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11667 12173 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11668 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11669 - $as_echo "yes" >&6; } 12174 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12175 + printf "%s\n" "yes" >&6; } 11670 12176 else 11671 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11672 - $as_echo "no" >&6; } 12177 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12178 + printf "%s\n" "no" >&6; } 11673 12179 PKG_CONFIG="" 11674 12180 fi 11675 12181 fi ··· 11679 12185 11680 12186 11681 12187 # Check whether --enable-selective-werror was given. 11682 - if test "${enable_selective_werror+set}" = set; then : 12188 + if test ${enable_selective_werror+y} 12189 + then : 11683 12190 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 11684 - else 12191 + else $as_nop 11685 12192 SELECTIVE_WERROR=yes 11686 12193 fi 11687 12194 ··· 11714 12221 11715 12222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11716 12223 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11717 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11718 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11719 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11720 - $as_echo_n "(cached) " >&6 11721 - else 12224 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12225 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12226 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12227 + then : 12228 + printf %s "(cached) " >&6 12229 + else $as_nop 11722 12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11723 12231 /* end confdefs.h. */ 11724 12232 int i; 11725 12233 _ACEOF 11726 - if ac_fn_c_try_compile "$LINENO"; then : 12234 + if ac_fn_c_try_compile "$LINENO" 12235 + then : 11727 12236 xorg_cv_cc_flag_unknown_warning_option=yes 11728 - else 12237 + else $as_nop 11729 12238 xorg_cv_cc_flag_unknown_warning_option=no 11730 12239 fi 11731 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12240 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11732 12241 fi 11733 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11734 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12243 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11735 12244 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11736 12245 CFLAGS="$xorg_testset_save_CFLAGS" 11737 12246 fi ··· 11741 12250 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11742 12251 fi 11743 12252 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11744 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11745 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11746 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11747 - $as_echo_n "(cached) " >&6 11748 - else 12253 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12254 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12255 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12256 + then : 12257 + printf %s "(cached) " >&6 12258 + else $as_nop 11749 12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11750 12260 /* end confdefs.h. */ 11751 12261 int i; 11752 12262 _ACEOF 11753 - if ac_fn_c_try_compile "$LINENO"; then : 12263 + if ac_fn_c_try_compile "$LINENO" 12264 + then : 11754 12265 xorg_cv_cc_flag_unused_command_line_argument=yes 11755 - else 12266 + else $as_nop 11756 12267 xorg_cv_cc_flag_unused_command_line_argument=no 11757 12268 fi 11758 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12269 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11759 12270 fi 11760 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11761 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12271 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12272 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11762 12273 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11763 12274 CFLAGS="$xorg_testset_save_CFLAGS" 11764 12275 fi ··· 11776 12287 11777 12288 CFLAGS="$CFLAGS -Wall" 11778 12289 11779 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 11780 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 12290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 12291 + printf %s "checking if $CC supports -Wall... " >&6; } 11781 12292 cacheid=xorg_cv_cc_flag__Wall 11782 - if eval \${$cacheid+:} false; then : 11783 - $as_echo_n "(cached) " >&6 11784 - else 12293 + if eval test \${$cacheid+y} 12294 + then : 12295 + printf %s "(cached) " >&6 12296 + else $as_nop 11785 12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11786 12298 /* end confdefs.h. */ 11787 12299 int i; 11788 12300 int 11789 - main () 12301 + main (void) 11790 12302 { 11791 12303 11792 12304 ; 11793 12305 return 0; 11794 12306 } 11795 12307 _ACEOF 11796 - if ac_fn_c_try_link "$LINENO"; then : 12308 + if ac_fn_c_try_link "$LINENO" 12309 + then : 11797 12310 eval $cacheid=yes 11798 - else 12311 + else $as_nop 11799 12312 eval $cacheid=no 11800 12313 fi 11801 - rm -f core conftest.err conftest.$ac_objext \ 12314 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11802 12315 conftest$ac_exeext conftest.$ac_ext 11803 12316 fi 11804 12317 ··· 11806 12319 CFLAGS="$xorg_testset_save_CFLAGS" 11807 12320 11808 12321 eval supported=\$$cacheid 11809 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 11810 - $as_echo "$supported" >&6; } 12322 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12323 + printf "%s\n" "$supported" >&6; } 11811 12324 if test "$supported" = "yes" ; then 11812 12325 BASE_CFLAGS="$BASE_CFLAGS -Wall" 11813 12326 found="yes" ··· 11832 12345 11833 12346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11834 12347 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11835 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11836 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11837 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11838 - $as_echo_n "(cached) " >&6 11839 - else 12348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12349 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12350 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12351 + then : 12352 + printf %s "(cached) " >&6 12353 + else $as_nop 11840 12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11841 12355 /* end confdefs.h. */ 11842 12356 int i; 11843 12357 _ACEOF 11844 - if ac_fn_c_try_compile "$LINENO"; then : 12358 + if ac_fn_c_try_compile "$LINENO" 12359 + then : 11845 12360 xorg_cv_cc_flag_unknown_warning_option=yes 11846 - else 12361 + else $as_nop 11847 12362 xorg_cv_cc_flag_unknown_warning_option=no 11848 12363 fi 11849 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12364 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11850 12365 fi 11851 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11852 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12367 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11853 12368 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11854 12369 CFLAGS="$xorg_testset_save_CFLAGS" 11855 12370 fi ··· 11859 12374 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11860 12375 fi 11861 12376 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11862 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11863 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11864 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11865 - $as_echo_n "(cached) " >&6 11866 - else 12377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12378 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12379 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12380 + then : 12381 + printf %s "(cached) " >&6 12382 + else $as_nop 11867 12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11868 12384 /* end confdefs.h. */ 11869 12385 int i; 11870 12386 _ACEOF 11871 - if ac_fn_c_try_compile "$LINENO"; then : 12387 + if ac_fn_c_try_compile "$LINENO" 12388 + then : 11872 12389 xorg_cv_cc_flag_unused_command_line_argument=yes 11873 - else 12390 + else $as_nop 11874 12391 xorg_cv_cc_flag_unused_command_line_argument=no 11875 12392 fi 11876 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12393 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11877 12394 fi 11878 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11879 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12396 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11880 12397 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11881 12398 CFLAGS="$xorg_testset_save_CFLAGS" 11882 12399 fi ··· 11894 12411 11895 12412 CFLAGS="$CFLAGS -Wpointer-arith" 11896 12413 11897 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 11898 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 12414 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 12415 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 11899 12416 cacheid=xorg_cv_cc_flag__Wpointer_arith 11900 - if eval \${$cacheid+:} false; then : 11901 - $as_echo_n "(cached) " >&6 11902 - else 12417 + if eval test \${$cacheid+y} 12418 + then : 12419 + printf %s "(cached) " >&6 12420 + else $as_nop 11903 12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11904 12422 /* end confdefs.h. */ 11905 12423 int i; 11906 12424 int 11907 - main () 12425 + main (void) 11908 12426 { 11909 12427 11910 12428 ; 11911 12429 return 0; 11912 12430 } 11913 12431 _ACEOF 11914 - if ac_fn_c_try_link "$LINENO"; then : 12432 + if ac_fn_c_try_link "$LINENO" 12433 + then : 11915 12434 eval $cacheid=yes 11916 - else 12435 + else $as_nop 11917 12436 eval $cacheid=no 11918 12437 fi 11919 - rm -f core conftest.err conftest.$ac_objext \ 12438 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11920 12439 conftest$ac_exeext conftest.$ac_ext 11921 12440 fi 11922 12441 ··· 11924 12443 CFLAGS="$xorg_testset_save_CFLAGS" 11925 12444 11926 12445 eval supported=\$$cacheid 11927 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 11928 - $as_echo "$supported" >&6; } 12446 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12447 + printf "%s\n" "$supported" >&6; } 11929 12448 if test "$supported" = "yes" ; then 11930 12449 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 11931 12450 found="yes" ··· 11950 12469 11951 12470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11952 12471 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11953 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11954 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11955 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11956 - $as_echo_n "(cached) " >&6 11957 - else 12472 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12473 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12474 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12475 + then : 12476 + printf %s "(cached) " >&6 12477 + else $as_nop 11958 12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11959 12479 /* end confdefs.h. */ 11960 12480 int i; 11961 12481 _ACEOF 11962 - if ac_fn_c_try_compile "$LINENO"; then : 12482 + if ac_fn_c_try_compile "$LINENO" 12483 + then : 11963 12484 xorg_cv_cc_flag_unknown_warning_option=yes 11964 - else 12485 + else $as_nop 11965 12486 xorg_cv_cc_flag_unknown_warning_option=no 11966 12487 fi 11967 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12488 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11968 12489 fi 11969 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11970 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12491 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11971 12492 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11972 12493 CFLAGS="$xorg_testset_save_CFLAGS" 11973 12494 fi ··· 11977 12498 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11978 12499 fi 11979 12500 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11980 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11981 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11982 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11983 - $as_echo_n "(cached) " >&6 11984 - else 12501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12502 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12503 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12504 + then : 12505 + printf %s "(cached) " >&6 12506 + else $as_nop 11985 12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11986 12508 /* end confdefs.h. */ 11987 12509 int i; 11988 12510 _ACEOF 11989 - if ac_fn_c_try_compile "$LINENO"; then : 12511 + if ac_fn_c_try_compile "$LINENO" 12512 + then : 11990 12513 xorg_cv_cc_flag_unused_command_line_argument=yes 11991 - else 12514 + else $as_nop 11992 12515 xorg_cv_cc_flag_unused_command_line_argument=no 11993 12516 fi 11994 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12517 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11995 12518 fi 11996 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11997 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12520 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11998 12521 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11999 12522 CFLAGS="$xorg_testset_save_CFLAGS" 12000 12523 fi ··· 12012 12535 12013 12536 CFLAGS="$CFLAGS -Wmissing-declarations" 12014 12537 12015 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 12016 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 12538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 12539 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 12017 12540 cacheid=xorg_cv_cc_flag__Wmissing_declarations 12018 - if eval \${$cacheid+:} false; then : 12019 - $as_echo_n "(cached) " >&6 12020 - else 12541 + if eval test \${$cacheid+y} 12542 + then : 12543 + printf %s "(cached) " >&6 12544 + else $as_nop 12021 12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12022 12546 /* end confdefs.h. */ 12023 12547 int i; 12024 12548 int 12025 - main () 12549 + main (void) 12026 12550 { 12027 12551 12028 12552 ; 12029 12553 return 0; 12030 12554 } 12031 12555 _ACEOF 12032 - if ac_fn_c_try_link "$LINENO"; then : 12556 + if ac_fn_c_try_link "$LINENO" 12557 + then : 12033 12558 eval $cacheid=yes 12034 - else 12559 + else $as_nop 12035 12560 eval $cacheid=no 12036 12561 fi 12037 - rm -f core conftest.err conftest.$ac_objext \ 12562 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12038 12563 conftest$ac_exeext conftest.$ac_ext 12039 12564 fi 12040 12565 ··· 12042 12567 CFLAGS="$xorg_testset_save_CFLAGS" 12043 12568 12044 12569 eval supported=\$$cacheid 12045 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12046 - $as_echo "$supported" >&6; } 12570 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12571 + printf "%s\n" "$supported" >&6; } 12047 12572 if test "$supported" = "yes" ; then 12048 12573 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 12049 12574 found="yes" ··· 12068 12593 12069 12594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12070 12595 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12071 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12072 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12073 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12074 - $as_echo_n "(cached) " >&6 12075 - else 12596 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12597 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12598 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12599 + then : 12600 + printf %s "(cached) " >&6 12601 + else $as_nop 12076 12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12077 12603 /* end confdefs.h. */ 12078 12604 int i; 12079 12605 _ACEOF 12080 - if ac_fn_c_try_compile "$LINENO"; then : 12606 + if ac_fn_c_try_compile "$LINENO" 12607 + then : 12081 12608 xorg_cv_cc_flag_unknown_warning_option=yes 12082 - else 12609 + else $as_nop 12083 12610 xorg_cv_cc_flag_unknown_warning_option=no 12084 12611 fi 12085 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12612 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12086 12613 fi 12087 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12088 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12615 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12089 12616 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12090 12617 CFLAGS="$xorg_testset_save_CFLAGS" 12091 12618 fi ··· 12095 12622 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12096 12623 fi 12097 12624 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12098 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12099 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12100 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12101 - $as_echo_n "(cached) " >&6 12102 - else 12625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12626 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12627 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12628 + then : 12629 + printf %s "(cached) " >&6 12630 + else $as_nop 12103 12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12104 12632 /* end confdefs.h. */ 12105 12633 int i; 12106 12634 _ACEOF 12107 - if ac_fn_c_try_compile "$LINENO"; then : 12635 + if ac_fn_c_try_compile "$LINENO" 12636 + then : 12108 12637 xorg_cv_cc_flag_unused_command_line_argument=yes 12109 - else 12638 + else $as_nop 12110 12639 xorg_cv_cc_flag_unused_command_line_argument=no 12111 12640 fi 12112 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12641 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12113 12642 fi 12114 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12115 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12643 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12644 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12116 12645 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12117 12646 CFLAGS="$xorg_testset_save_CFLAGS" 12118 12647 fi ··· 12130 12659 12131 12660 CFLAGS="$CFLAGS -Wformat=2" 12132 12661 12133 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 12134 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 12662 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 12663 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 12135 12664 cacheid=xorg_cv_cc_flag__Wformat_2 12136 - if eval \${$cacheid+:} false; then : 12137 - $as_echo_n "(cached) " >&6 12138 - else 12665 + if eval test \${$cacheid+y} 12666 + then : 12667 + printf %s "(cached) " >&6 12668 + else $as_nop 12139 12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12140 12670 /* end confdefs.h. */ 12141 12671 int i; 12142 12672 int 12143 - main () 12673 + main (void) 12144 12674 { 12145 12675 12146 12676 ; 12147 12677 return 0; 12148 12678 } 12149 12679 _ACEOF 12150 - if ac_fn_c_try_link "$LINENO"; then : 12680 + if ac_fn_c_try_link "$LINENO" 12681 + then : 12151 12682 eval $cacheid=yes 12152 - else 12683 + else $as_nop 12153 12684 eval $cacheid=no 12154 12685 fi 12155 - rm -f core conftest.err conftest.$ac_objext \ 12686 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12156 12687 conftest$ac_exeext conftest.$ac_ext 12157 12688 fi 12158 12689 ··· 12160 12691 CFLAGS="$xorg_testset_save_CFLAGS" 12161 12692 12162 12693 eval supported=\$$cacheid 12163 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12164 - $as_echo "$supported" >&6; } 12694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12695 + printf "%s\n" "$supported" >&6; } 12165 12696 if test "$supported" = "yes" ; then 12166 12697 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 12167 12698 found="yes" ··· 12179 12710 12180 12711 CFLAGS="$CFLAGS -Wformat" 12181 12712 12182 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 12183 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 12713 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 12714 + printf %s "checking if $CC supports -Wformat... " >&6; } 12184 12715 cacheid=xorg_cv_cc_flag__Wformat 12185 - if eval \${$cacheid+:} false; then : 12186 - $as_echo_n "(cached) " >&6 12187 - else 12716 + if eval test \${$cacheid+y} 12717 + then : 12718 + printf %s "(cached) " >&6 12719 + else $as_nop 12188 12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12189 12721 /* end confdefs.h. */ 12190 12722 int i; 12191 12723 int 12192 - main () 12724 + main (void) 12193 12725 { 12194 12726 12195 12727 ; 12196 12728 return 0; 12197 12729 } 12198 12730 _ACEOF 12199 - if ac_fn_c_try_link "$LINENO"; then : 12731 + if ac_fn_c_try_link "$LINENO" 12732 + then : 12200 12733 eval $cacheid=yes 12201 - else 12734 + else $as_nop 12202 12735 eval $cacheid=no 12203 12736 fi 12204 - rm -f core conftest.err conftest.$ac_objext \ 12737 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12205 12738 conftest$ac_exeext conftest.$ac_ext 12206 12739 fi 12207 12740 ··· 12209 12742 CFLAGS="$xorg_testset_save_CFLAGS" 12210 12743 12211 12744 eval supported=\$$cacheid 12212 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12213 - $as_echo "$supported" >&6; } 12745 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12746 + printf "%s\n" "$supported" >&6; } 12214 12747 if test "$supported" = "yes" ; then 12215 12748 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 12216 12749 found="yes" ··· 12237 12770 12238 12771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12239 12772 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12240 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12241 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12242 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12243 - $as_echo_n "(cached) " >&6 12244 - else 12773 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12774 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12775 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12776 + then : 12777 + printf %s "(cached) " >&6 12778 + else $as_nop 12245 12779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12246 12780 /* end confdefs.h. */ 12247 12781 int i; 12248 12782 _ACEOF 12249 - if ac_fn_c_try_compile "$LINENO"; then : 12783 + if ac_fn_c_try_compile "$LINENO" 12784 + then : 12250 12785 xorg_cv_cc_flag_unknown_warning_option=yes 12251 - else 12786 + else $as_nop 12252 12787 xorg_cv_cc_flag_unknown_warning_option=no 12253 12788 fi 12254 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12789 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12255 12790 fi 12256 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12257 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12792 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12258 12793 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12259 12794 CFLAGS="$xorg_testset_save_CFLAGS" 12260 12795 fi ··· 12264 12799 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12265 12800 fi 12266 12801 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12267 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12268 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12269 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12270 - $as_echo_n "(cached) " >&6 12271 - else 12802 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12803 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12804 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12805 + then : 12806 + printf %s "(cached) " >&6 12807 + else $as_nop 12272 12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12273 12809 /* end confdefs.h. */ 12274 12810 int i; 12275 12811 _ACEOF 12276 - if ac_fn_c_try_compile "$LINENO"; then : 12812 + if ac_fn_c_try_compile "$LINENO" 12813 + then : 12277 12814 xorg_cv_cc_flag_unused_command_line_argument=yes 12278 - else 12815 + else $as_nop 12279 12816 xorg_cv_cc_flag_unused_command_line_argument=no 12280 12817 fi 12281 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12818 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12282 12819 fi 12283 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12284 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12820 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12821 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12285 12822 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12286 12823 CFLAGS="$xorg_testset_save_CFLAGS" 12287 12824 fi ··· 12299 12836 12300 12837 CFLAGS="$CFLAGS -Wstrict-prototypes" 12301 12838 12302 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 12303 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 12839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 12840 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 12304 12841 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 12305 - if eval \${$cacheid+:} false; then : 12306 - $as_echo_n "(cached) " >&6 12307 - else 12842 + if eval test \${$cacheid+y} 12843 + then : 12844 + printf %s "(cached) " >&6 12845 + else $as_nop 12308 12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12309 12847 /* end confdefs.h. */ 12310 12848 int i; 12311 12849 int 12312 - main () 12850 + main (void) 12313 12851 { 12314 12852 12315 12853 ; 12316 12854 return 0; 12317 12855 } 12318 12856 _ACEOF 12319 - if ac_fn_c_try_link "$LINENO"; then : 12857 + if ac_fn_c_try_link "$LINENO" 12858 + then : 12320 12859 eval $cacheid=yes 12321 - else 12860 + else $as_nop 12322 12861 eval $cacheid=no 12323 12862 fi 12324 - rm -f core conftest.err conftest.$ac_objext \ 12863 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12325 12864 conftest$ac_exeext conftest.$ac_ext 12326 12865 fi 12327 12866 ··· 12329 12868 CFLAGS="$xorg_testset_save_CFLAGS" 12330 12869 12331 12870 eval supported=\$$cacheid 12332 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12333 - $as_echo "$supported" >&6; } 12871 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12872 + printf "%s\n" "$supported" >&6; } 12334 12873 if test "$supported" = "yes" ; then 12335 12874 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 12336 12875 found="yes" ··· 12355 12894 12356 12895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12357 12896 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12358 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12359 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12360 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12361 - $as_echo_n "(cached) " >&6 12362 - else 12897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12898 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12899 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12900 + then : 12901 + printf %s "(cached) " >&6 12902 + else $as_nop 12363 12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12364 12904 /* end confdefs.h. */ 12365 12905 int i; 12366 12906 _ACEOF 12367 - if ac_fn_c_try_compile "$LINENO"; then : 12907 + if ac_fn_c_try_compile "$LINENO" 12908 + then : 12368 12909 xorg_cv_cc_flag_unknown_warning_option=yes 12369 - else 12910 + else $as_nop 12370 12911 xorg_cv_cc_flag_unknown_warning_option=no 12371 12912 fi 12372 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12913 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12373 12914 fi 12374 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12375 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12916 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12376 12917 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12377 12918 CFLAGS="$xorg_testset_save_CFLAGS" 12378 12919 fi ··· 12382 12923 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12383 12924 fi 12384 12925 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12385 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12386 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12387 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12388 - $as_echo_n "(cached) " >&6 12389 - else 12926 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12927 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12928 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12929 + then : 12930 + printf %s "(cached) " >&6 12931 + else $as_nop 12390 12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12391 12933 /* end confdefs.h. */ 12392 12934 int i; 12393 12935 _ACEOF 12394 - if ac_fn_c_try_compile "$LINENO"; then : 12936 + if ac_fn_c_try_compile "$LINENO" 12937 + then : 12395 12938 xorg_cv_cc_flag_unused_command_line_argument=yes 12396 - else 12939 + else $as_nop 12397 12940 xorg_cv_cc_flag_unused_command_line_argument=no 12398 12941 fi 12399 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12942 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12400 12943 fi 12401 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12402 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12944 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12945 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12403 12946 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12404 12947 CFLAGS="$xorg_testset_save_CFLAGS" 12405 12948 fi ··· 12417 12960 12418 12961 CFLAGS="$CFLAGS -Wmissing-prototypes" 12419 12962 12420 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 12421 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 12963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 12964 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 12422 12965 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 12423 - if eval \${$cacheid+:} false; then : 12424 - $as_echo_n "(cached) " >&6 12425 - else 12966 + if eval test \${$cacheid+y} 12967 + then : 12968 + printf %s "(cached) " >&6 12969 + else $as_nop 12426 12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12427 12971 /* end confdefs.h. */ 12428 12972 int i; 12429 12973 int 12430 - main () 12974 + main (void) 12431 12975 { 12432 12976 12433 12977 ; 12434 12978 return 0; 12435 12979 } 12436 12980 _ACEOF 12437 - if ac_fn_c_try_link "$LINENO"; then : 12981 + if ac_fn_c_try_link "$LINENO" 12982 + then : 12438 12983 eval $cacheid=yes 12439 - else 12984 + else $as_nop 12440 12985 eval $cacheid=no 12441 12986 fi 12442 - rm -f core conftest.err conftest.$ac_objext \ 12987 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12443 12988 conftest$ac_exeext conftest.$ac_ext 12444 12989 fi 12445 12990 ··· 12447 12992 CFLAGS="$xorg_testset_save_CFLAGS" 12448 12993 12449 12994 eval supported=\$$cacheid 12450 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12451 - $as_echo "$supported" >&6; } 12995 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12996 + printf "%s\n" "$supported" >&6; } 12452 12997 if test "$supported" = "yes" ; then 12453 12998 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 12454 12999 found="yes" ··· 12473 13018 12474 13019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12475 13020 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12476 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12477 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12478 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12479 - $as_echo_n "(cached) " >&6 12480 - else 13021 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13022 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13023 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13024 + then : 13025 + printf %s "(cached) " >&6 13026 + else $as_nop 12481 13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12482 13028 /* end confdefs.h. */ 12483 13029 int i; 12484 13030 _ACEOF 12485 - if ac_fn_c_try_compile "$LINENO"; then : 13031 + if ac_fn_c_try_compile "$LINENO" 13032 + then : 12486 13033 xorg_cv_cc_flag_unknown_warning_option=yes 12487 - else 13034 + else $as_nop 12488 13035 xorg_cv_cc_flag_unknown_warning_option=no 12489 13036 fi 12490 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13037 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12491 13038 fi 12492 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12493 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13040 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12494 13041 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12495 13042 CFLAGS="$xorg_testset_save_CFLAGS" 12496 13043 fi ··· 12500 13047 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12501 13048 fi 12502 13049 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12503 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12504 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12505 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12506 - $as_echo_n "(cached) " >&6 12507 - else 13050 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13051 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13052 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13053 + then : 13054 + printf %s "(cached) " >&6 13055 + else $as_nop 12508 13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12509 13057 /* end confdefs.h. */ 12510 13058 int i; 12511 13059 _ACEOF 12512 - if ac_fn_c_try_compile "$LINENO"; then : 13060 + if ac_fn_c_try_compile "$LINENO" 13061 + then : 12513 13062 xorg_cv_cc_flag_unused_command_line_argument=yes 12514 - else 13063 + else $as_nop 12515 13064 xorg_cv_cc_flag_unused_command_line_argument=no 12516 13065 fi 12517 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13066 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12518 13067 fi 12519 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12520 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13069 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12521 13070 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12522 13071 CFLAGS="$xorg_testset_save_CFLAGS" 12523 13072 fi ··· 12535 13084 12536 13085 CFLAGS="$CFLAGS -Wnested-externs" 12537 13086 12538 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 12539 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 13087 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 13088 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 12540 13089 cacheid=xorg_cv_cc_flag__Wnested_externs 12541 - if eval \${$cacheid+:} false; then : 12542 - $as_echo_n "(cached) " >&6 12543 - else 13090 + if eval test \${$cacheid+y} 13091 + then : 13092 + printf %s "(cached) " >&6 13093 + else $as_nop 12544 13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12545 13095 /* end confdefs.h. */ 12546 13096 int i; 12547 13097 int 12548 - main () 13098 + main (void) 12549 13099 { 12550 13100 12551 13101 ; 12552 13102 return 0; 12553 13103 } 12554 13104 _ACEOF 12555 - if ac_fn_c_try_link "$LINENO"; then : 13105 + if ac_fn_c_try_link "$LINENO" 13106 + then : 12556 13107 eval $cacheid=yes 12557 - else 13108 + else $as_nop 12558 13109 eval $cacheid=no 12559 13110 fi 12560 - rm -f core conftest.err conftest.$ac_objext \ 13111 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12561 13112 conftest$ac_exeext conftest.$ac_ext 12562 13113 fi 12563 13114 ··· 12565 13116 CFLAGS="$xorg_testset_save_CFLAGS" 12566 13117 12567 13118 eval supported=\$$cacheid 12568 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12569 - $as_echo "$supported" >&6; } 13119 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13120 + printf "%s\n" "$supported" >&6; } 12570 13121 if test "$supported" = "yes" ; then 12571 13122 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 12572 13123 found="yes" ··· 12591 13142 12592 13143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12593 13144 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12594 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12595 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12596 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12597 - $as_echo_n "(cached) " >&6 12598 - else 13145 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13146 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13147 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13148 + then : 13149 + printf %s "(cached) " >&6 13150 + else $as_nop 12599 13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12600 13152 /* end confdefs.h. */ 12601 13153 int i; 12602 13154 _ACEOF 12603 - if ac_fn_c_try_compile "$LINENO"; then : 13155 + if ac_fn_c_try_compile "$LINENO" 13156 + then : 12604 13157 xorg_cv_cc_flag_unknown_warning_option=yes 12605 - else 13158 + else $as_nop 12606 13159 xorg_cv_cc_flag_unknown_warning_option=no 12607 13160 fi 12608 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13161 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12609 13162 fi 12610 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12611 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13164 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12612 13165 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12613 13166 CFLAGS="$xorg_testset_save_CFLAGS" 12614 13167 fi ··· 12618 13171 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12619 13172 fi 12620 13173 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12621 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12622 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12623 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12624 - $as_echo_n "(cached) " >&6 12625 - else 13174 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13175 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13176 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13177 + then : 13178 + printf %s "(cached) " >&6 13179 + else $as_nop 12626 13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12627 13181 /* end confdefs.h. */ 12628 13182 int i; 12629 13183 _ACEOF 12630 - if ac_fn_c_try_compile "$LINENO"; then : 13184 + if ac_fn_c_try_compile "$LINENO" 13185 + then : 12631 13186 xorg_cv_cc_flag_unused_command_line_argument=yes 12632 - else 13187 + else $as_nop 12633 13188 xorg_cv_cc_flag_unused_command_line_argument=no 12634 13189 fi 12635 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13190 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12636 13191 fi 12637 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12638 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13192 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13193 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12639 13194 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12640 13195 CFLAGS="$xorg_testset_save_CFLAGS" 12641 13196 fi ··· 12653 13208 12654 13209 CFLAGS="$CFLAGS -Wbad-function-cast" 12655 13210 12656 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 12657 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 13211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 13212 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 12658 13213 cacheid=xorg_cv_cc_flag__Wbad_function_cast 12659 - if eval \${$cacheid+:} false; then : 12660 - $as_echo_n "(cached) " >&6 12661 - else 13214 + if eval test \${$cacheid+y} 13215 + then : 13216 + printf %s "(cached) " >&6 13217 + else $as_nop 12662 13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12663 13219 /* end confdefs.h. */ 12664 13220 int i; 12665 13221 int 12666 - main () 13222 + main (void) 12667 13223 { 12668 13224 12669 13225 ; 12670 13226 return 0; 12671 13227 } 12672 13228 _ACEOF 12673 - if ac_fn_c_try_link "$LINENO"; then : 13229 + if ac_fn_c_try_link "$LINENO" 13230 + then : 12674 13231 eval $cacheid=yes 12675 - else 13232 + else $as_nop 12676 13233 eval $cacheid=no 12677 13234 fi 12678 - rm -f core conftest.err conftest.$ac_objext \ 13235 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12679 13236 conftest$ac_exeext conftest.$ac_ext 12680 13237 fi 12681 13238 ··· 12683 13240 CFLAGS="$xorg_testset_save_CFLAGS" 12684 13241 12685 13242 eval supported=\$$cacheid 12686 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12687 - $as_echo "$supported" >&6; } 13243 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13244 + printf "%s\n" "$supported" >&6; } 12688 13245 if test "$supported" = "yes" ; then 12689 13246 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 12690 13247 found="yes" ··· 12709 13266 12710 13267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12711 13268 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12712 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12713 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12714 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12715 - $as_echo_n "(cached) " >&6 12716 - else 13269 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13270 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13271 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13272 + then : 13273 + printf %s "(cached) " >&6 13274 + else $as_nop 12717 13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12718 13276 /* end confdefs.h. */ 12719 13277 int i; 12720 13278 _ACEOF 12721 - if ac_fn_c_try_compile "$LINENO"; then : 13279 + if ac_fn_c_try_compile "$LINENO" 13280 + then : 12722 13281 xorg_cv_cc_flag_unknown_warning_option=yes 12723 - else 13282 + else $as_nop 12724 13283 xorg_cv_cc_flag_unknown_warning_option=no 12725 13284 fi 12726 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13285 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12727 13286 fi 12728 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12729 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13287 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13288 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12730 13289 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12731 13290 CFLAGS="$xorg_testset_save_CFLAGS" 12732 13291 fi ··· 12736 13295 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12737 13296 fi 12738 13297 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12739 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12740 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12741 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12742 - $as_echo_n "(cached) " >&6 12743 - else 13298 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13299 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13300 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13301 + then : 13302 + printf %s "(cached) " >&6 13303 + else $as_nop 12744 13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12745 13305 /* end confdefs.h. */ 12746 13306 int i; 12747 13307 _ACEOF 12748 - if ac_fn_c_try_compile "$LINENO"; then : 13308 + if ac_fn_c_try_compile "$LINENO" 13309 + then : 12749 13310 xorg_cv_cc_flag_unused_command_line_argument=yes 12750 - else 13311 + else $as_nop 12751 13312 xorg_cv_cc_flag_unused_command_line_argument=no 12752 13313 fi 12753 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13314 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12754 13315 fi 12755 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12756 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13316 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13317 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12757 13318 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12758 13319 CFLAGS="$xorg_testset_save_CFLAGS" 12759 13320 fi ··· 12771 13332 12772 13333 CFLAGS="$CFLAGS -Wold-style-definition" 12773 13334 12774 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 12775 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 13335 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 13336 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 12776 13337 cacheid=xorg_cv_cc_flag__Wold_style_definition 12777 - if eval \${$cacheid+:} false; then : 12778 - $as_echo_n "(cached) " >&6 12779 - else 13338 + if eval test \${$cacheid+y} 13339 + then : 13340 + printf %s "(cached) " >&6 13341 + else $as_nop 12780 13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12781 13343 /* end confdefs.h. */ 12782 13344 int i; 12783 13345 int 12784 - main () 13346 + main (void) 12785 13347 { 12786 13348 12787 13349 ; 12788 13350 return 0; 12789 13351 } 12790 13352 _ACEOF 12791 - if ac_fn_c_try_link "$LINENO"; then : 13353 + if ac_fn_c_try_link "$LINENO" 13354 + then : 12792 13355 eval $cacheid=yes 12793 - else 13356 + else $as_nop 12794 13357 eval $cacheid=no 12795 13358 fi 12796 - rm -f core conftest.err conftest.$ac_objext \ 13359 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12797 13360 conftest$ac_exeext conftest.$ac_ext 12798 13361 fi 12799 13362 ··· 12801 13364 CFLAGS="$xorg_testset_save_CFLAGS" 12802 13365 12803 13366 eval supported=\$$cacheid 12804 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12805 - $as_echo "$supported" >&6; } 13367 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13368 + printf "%s\n" "$supported" >&6; } 12806 13369 if test "$supported" = "yes" ; then 12807 13370 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 12808 13371 found="yes" ··· 12820 13383 12821 13384 CFLAGS="$CFLAGS -fd" 12822 13385 12823 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 12824 - $as_echo_n "checking if $CC supports -fd... " >&6; } 13386 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 13387 + printf %s "checking if $CC supports -fd... " >&6; } 12825 13388 cacheid=xorg_cv_cc_flag__fd 12826 - if eval \${$cacheid+:} false; then : 12827 - $as_echo_n "(cached) " >&6 12828 - else 13389 + if eval test \${$cacheid+y} 13390 + then : 13391 + printf %s "(cached) " >&6 13392 + else $as_nop 12829 13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12830 13394 /* end confdefs.h. */ 12831 13395 int i; 12832 13396 int 12833 - main () 13397 + main (void) 12834 13398 { 12835 13399 12836 13400 ; 12837 13401 return 0; 12838 13402 } 12839 13403 _ACEOF 12840 - if ac_fn_c_try_link "$LINENO"; then : 13404 + if ac_fn_c_try_link "$LINENO" 13405 + then : 12841 13406 eval $cacheid=yes 12842 - else 13407 + else $as_nop 12843 13408 eval $cacheid=no 12844 13409 fi 12845 - rm -f core conftest.err conftest.$ac_objext \ 13410 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12846 13411 conftest$ac_exeext conftest.$ac_ext 12847 13412 fi 12848 13413 ··· 12850 13415 CFLAGS="$xorg_testset_save_CFLAGS" 12851 13416 12852 13417 eval supported=\$$cacheid 12853 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12854 - $as_echo "$supported" >&6; } 13418 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13419 + printf "%s\n" "$supported" >&6; } 12855 13420 if test "$supported" = "yes" ; then 12856 13421 BASE_CFLAGS="$BASE_CFLAGS -fd" 12857 13422 found="yes" ··· 12876 13441 12877 13442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12878 13443 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12879 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12880 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12881 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12882 - $as_echo_n "(cached) " >&6 12883 - else 13444 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13445 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13446 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13447 + then : 13448 + printf %s "(cached) " >&6 13449 + else $as_nop 12884 13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12885 13451 /* end confdefs.h. */ 12886 13452 int i; 12887 13453 _ACEOF 12888 - if ac_fn_c_try_compile "$LINENO"; then : 13454 + if ac_fn_c_try_compile "$LINENO" 13455 + then : 12889 13456 xorg_cv_cc_flag_unknown_warning_option=yes 12890 - else 13457 + else $as_nop 12891 13458 xorg_cv_cc_flag_unknown_warning_option=no 12892 13459 fi 12893 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13460 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12894 13461 fi 12895 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12896 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13462 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13463 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12897 13464 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12898 13465 CFLAGS="$xorg_testset_save_CFLAGS" 12899 13466 fi ··· 12903 13470 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12904 13471 fi 12905 13472 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12906 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12907 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12908 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12909 - $as_echo_n "(cached) " >&6 12910 - else 13473 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13474 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13475 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13476 + then : 13477 + printf %s "(cached) " >&6 13478 + else $as_nop 12911 13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12912 13480 /* end confdefs.h. */ 12913 13481 int i; 12914 13482 _ACEOF 12915 - if ac_fn_c_try_compile "$LINENO"; then : 13483 + if ac_fn_c_try_compile "$LINENO" 13484 + then : 12916 13485 xorg_cv_cc_flag_unused_command_line_argument=yes 12917 - else 13486 + else $as_nop 12918 13487 xorg_cv_cc_flag_unused_command_line_argument=no 12919 13488 fi 12920 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13489 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12921 13490 fi 12922 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12923 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13491 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13492 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12924 13493 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12925 13494 CFLAGS="$xorg_testset_save_CFLAGS" 12926 13495 fi ··· 12938 13507 12939 13508 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 12940 13509 12941 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 12942 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 13510 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 13511 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 12943 13512 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 12944 - if eval \${$cacheid+:} false; then : 12945 - $as_echo_n "(cached) " >&6 12946 - else 13513 + if eval test \${$cacheid+y} 13514 + then : 13515 + printf %s "(cached) " >&6 13516 + else $as_nop 12947 13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12948 13518 /* end confdefs.h. */ 12949 13519 int i; 12950 13520 int 12951 - main () 13521 + main (void) 12952 13522 { 12953 13523 12954 13524 ; 12955 13525 return 0; 12956 13526 } 12957 13527 _ACEOF 12958 - if ac_fn_c_try_link "$LINENO"; then : 13528 + if ac_fn_c_try_link "$LINENO" 13529 + then : 12959 13530 eval $cacheid=yes 12960 - else 13531 + else $as_nop 12961 13532 eval $cacheid=no 12962 13533 fi 12963 - rm -f core conftest.err conftest.$ac_objext \ 13534 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12964 13535 conftest$ac_exeext conftest.$ac_ext 12965 13536 fi 12966 13537 ··· 12968 13539 CFLAGS="$xorg_testset_save_CFLAGS" 12969 13540 12970 13541 eval supported=\$$cacheid 12971 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12972 - $as_echo "$supported" >&6; } 13542 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13543 + printf "%s\n" "$supported" >&6; } 12973 13544 if test "$supported" = "yes" ; then 12974 13545 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 12975 13546 found="yes" ··· 12998 13569 12999 13570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13000 13571 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13001 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13002 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13003 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13004 - $as_echo_n "(cached) " >&6 13005 - else 13572 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13573 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13574 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13575 + then : 13576 + printf %s "(cached) " >&6 13577 + else $as_nop 13006 13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13007 13579 /* end confdefs.h. */ 13008 13580 int i; 13009 13581 _ACEOF 13010 - if ac_fn_c_try_compile "$LINENO"; then : 13582 + if ac_fn_c_try_compile "$LINENO" 13583 + then : 13011 13584 xorg_cv_cc_flag_unknown_warning_option=yes 13012 - else 13585 + else $as_nop 13013 13586 xorg_cv_cc_flag_unknown_warning_option=no 13014 13587 fi 13015 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13588 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13016 13589 fi 13017 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13018 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13590 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13591 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13019 13592 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13020 13593 CFLAGS="$xorg_testset_save_CFLAGS" 13021 13594 fi ··· 13025 13598 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13026 13599 fi 13027 13600 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13028 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13029 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13030 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13031 - $as_echo_n "(cached) " >&6 13032 - else 13601 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13602 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13603 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13604 + then : 13605 + printf %s "(cached) " >&6 13606 + else $as_nop 13033 13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13034 13608 /* end confdefs.h. */ 13035 13609 int i; 13036 13610 _ACEOF 13037 - if ac_fn_c_try_compile "$LINENO"; then : 13611 + if ac_fn_c_try_compile "$LINENO" 13612 + then : 13038 13613 xorg_cv_cc_flag_unused_command_line_argument=yes 13039 - else 13614 + else $as_nop 13040 13615 xorg_cv_cc_flag_unused_command_line_argument=no 13041 13616 fi 13042 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13617 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13043 13618 fi 13044 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13045 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13619 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13620 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13046 13621 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13047 13622 CFLAGS="$xorg_testset_save_CFLAGS" 13048 13623 fi ··· 13060 13635 13061 13636 CFLAGS="$CFLAGS -Wunused" 13062 13637 13063 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 13064 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 13638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 13639 + printf %s "checking if $CC supports -Wunused... " >&6; } 13065 13640 cacheid=xorg_cv_cc_flag__Wunused 13066 - if eval \${$cacheid+:} false; then : 13067 - $as_echo_n "(cached) " >&6 13068 - else 13641 + if eval test \${$cacheid+y} 13642 + then : 13643 + printf %s "(cached) " >&6 13644 + else $as_nop 13069 13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13070 13646 /* end confdefs.h. */ 13071 13647 int i; 13072 13648 int 13073 - main () 13649 + main (void) 13074 13650 { 13075 13651 13076 13652 ; 13077 13653 return 0; 13078 13654 } 13079 13655 _ACEOF 13080 - if ac_fn_c_try_link "$LINENO"; then : 13656 + if ac_fn_c_try_link "$LINENO" 13657 + then : 13081 13658 eval $cacheid=yes 13082 - else 13659 + else $as_nop 13083 13660 eval $cacheid=no 13084 13661 fi 13085 - rm -f core conftest.err conftest.$ac_objext \ 13662 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13086 13663 conftest$ac_exeext conftest.$ac_ext 13087 13664 fi 13088 13665 ··· 13090 13667 CFLAGS="$xorg_testset_save_CFLAGS" 13091 13668 13092 13669 eval supported=\$$cacheid 13093 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13094 - $as_echo "$supported" >&6; } 13670 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13671 + printf "%s\n" "$supported" >&6; } 13095 13672 if test "$supported" = "yes" ; then 13096 13673 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 13097 13674 found="yes" ··· 13116 13693 13117 13694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13118 13695 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13119 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13120 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13121 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13122 - $as_echo_n "(cached) " >&6 13123 - else 13696 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13697 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13698 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13699 + then : 13700 + printf %s "(cached) " >&6 13701 + else $as_nop 13124 13702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13125 13703 /* end confdefs.h. */ 13126 13704 int i; 13127 13705 _ACEOF 13128 - if ac_fn_c_try_compile "$LINENO"; then : 13706 + if ac_fn_c_try_compile "$LINENO" 13707 + then : 13129 13708 xorg_cv_cc_flag_unknown_warning_option=yes 13130 - else 13709 + else $as_nop 13131 13710 xorg_cv_cc_flag_unknown_warning_option=no 13132 13711 fi 13133 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13712 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13134 13713 fi 13135 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13136 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13715 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13137 13716 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13138 13717 CFLAGS="$xorg_testset_save_CFLAGS" 13139 13718 fi ··· 13143 13722 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13144 13723 fi 13145 13724 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13146 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13147 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13148 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13149 - $as_echo_n "(cached) " >&6 13150 - else 13725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13726 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13727 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13728 + then : 13729 + printf %s "(cached) " >&6 13730 + else $as_nop 13151 13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13152 13732 /* end confdefs.h. */ 13153 13733 int i; 13154 13734 _ACEOF 13155 - if ac_fn_c_try_compile "$LINENO"; then : 13735 + if ac_fn_c_try_compile "$LINENO" 13736 + then : 13156 13737 xorg_cv_cc_flag_unused_command_line_argument=yes 13157 - else 13738 + else $as_nop 13158 13739 xorg_cv_cc_flag_unused_command_line_argument=no 13159 13740 fi 13160 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13741 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13161 13742 fi 13162 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13163 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13744 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13164 13745 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13165 13746 CFLAGS="$xorg_testset_save_CFLAGS" 13166 13747 fi ··· 13178 13759 13179 13760 CFLAGS="$CFLAGS -Wuninitialized" 13180 13761 13181 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 13182 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 13762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 13763 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 13183 13764 cacheid=xorg_cv_cc_flag__Wuninitialized 13184 - if eval \${$cacheid+:} false; then : 13185 - $as_echo_n "(cached) " >&6 13186 - else 13765 + if eval test \${$cacheid+y} 13766 + then : 13767 + printf %s "(cached) " >&6 13768 + else $as_nop 13187 13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13188 13770 /* end confdefs.h. */ 13189 13771 int i; 13190 13772 int 13191 - main () 13773 + main (void) 13192 13774 { 13193 13775 13194 13776 ; 13195 13777 return 0; 13196 13778 } 13197 13779 _ACEOF 13198 - if ac_fn_c_try_link "$LINENO"; then : 13780 + if ac_fn_c_try_link "$LINENO" 13781 + then : 13199 13782 eval $cacheid=yes 13200 - else 13783 + else $as_nop 13201 13784 eval $cacheid=no 13202 13785 fi 13203 - rm -f core conftest.err conftest.$ac_objext \ 13786 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13204 13787 conftest$ac_exeext conftest.$ac_ext 13205 13788 fi 13206 13789 ··· 13208 13791 CFLAGS="$xorg_testset_save_CFLAGS" 13209 13792 13210 13793 eval supported=\$$cacheid 13211 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13212 - $as_echo "$supported" >&6; } 13794 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13795 + printf "%s\n" "$supported" >&6; } 13213 13796 if test "$supported" = "yes" ; then 13214 13797 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 13215 13798 found="yes" ··· 13234 13817 13235 13818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13236 13819 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13237 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13238 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13239 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13240 - $as_echo_n "(cached) " >&6 13241 - else 13820 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13821 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13822 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13823 + then : 13824 + printf %s "(cached) " >&6 13825 + else $as_nop 13242 13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13243 13827 /* end confdefs.h. */ 13244 13828 int i; 13245 13829 _ACEOF 13246 - if ac_fn_c_try_compile "$LINENO"; then : 13830 + if ac_fn_c_try_compile "$LINENO" 13831 + then : 13247 13832 xorg_cv_cc_flag_unknown_warning_option=yes 13248 - else 13833 + else $as_nop 13249 13834 xorg_cv_cc_flag_unknown_warning_option=no 13250 13835 fi 13251 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13836 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13252 13837 fi 13253 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13254 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13839 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13255 13840 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13256 13841 CFLAGS="$xorg_testset_save_CFLAGS" 13257 13842 fi ··· 13261 13846 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13262 13847 fi 13263 13848 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13264 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13265 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13266 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13267 - $as_echo_n "(cached) " >&6 13268 - else 13849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13850 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13851 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13852 + then : 13853 + printf %s "(cached) " >&6 13854 + else $as_nop 13269 13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13270 13856 /* end confdefs.h. */ 13271 13857 int i; 13272 13858 _ACEOF 13273 - if ac_fn_c_try_compile "$LINENO"; then : 13859 + if ac_fn_c_try_compile "$LINENO" 13860 + then : 13274 13861 xorg_cv_cc_flag_unused_command_line_argument=yes 13275 - else 13862 + else $as_nop 13276 13863 xorg_cv_cc_flag_unused_command_line_argument=no 13277 13864 fi 13278 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13865 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13279 13866 fi 13280 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13281 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13868 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13282 13869 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13283 13870 CFLAGS="$xorg_testset_save_CFLAGS" 13284 13871 fi ··· 13296 13883 13297 13884 CFLAGS="$CFLAGS -Wshadow" 13298 13885 13299 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 13300 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 13886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 13887 + printf %s "checking if $CC supports -Wshadow... " >&6; } 13301 13888 cacheid=xorg_cv_cc_flag__Wshadow 13302 - if eval \${$cacheid+:} false; then : 13303 - $as_echo_n "(cached) " >&6 13304 - else 13889 + if eval test \${$cacheid+y} 13890 + then : 13891 + printf %s "(cached) " >&6 13892 + else $as_nop 13305 13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13306 13894 /* end confdefs.h. */ 13307 13895 int i; 13308 13896 int 13309 - main () 13897 + main (void) 13310 13898 { 13311 13899 13312 13900 ; 13313 13901 return 0; 13314 13902 } 13315 13903 _ACEOF 13316 - if ac_fn_c_try_link "$LINENO"; then : 13904 + if ac_fn_c_try_link "$LINENO" 13905 + then : 13317 13906 eval $cacheid=yes 13318 - else 13907 + else $as_nop 13319 13908 eval $cacheid=no 13320 13909 fi 13321 - rm -f core conftest.err conftest.$ac_objext \ 13910 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13322 13911 conftest$ac_exeext conftest.$ac_ext 13323 13912 fi 13324 13913 ··· 13326 13915 CFLAGS="$xorg_testset_save_CFLAGS" 13327 13916 13328 13917 eval supported=\$$cacheid 13329 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13330 - $as_echo "$supported" >&6; } 13918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13919 + printf "%s\n" "$supported" >&6; } 13331 13920 if test "$supported" = "yes" ; then 13332 13921 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 13333 13922 found="yes" ··· 13352 13941 13353 13942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13354 13943 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13355 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13356 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13357 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13358 - $as_echo_n "(cached) " >&6 13359 - else 13944 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13945 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13946 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13947 + then : 13948 + printf %s "(cached) " >&6 13949 + else $as_nop 13360 13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13361 13951 /* end confdefs.h. */ 13362 13952 int i; 13363 13953 _ACEOF 13364 - if ac_fn_c_try_compile "$LINENO"; then : 13954 + if ac_fn_c_try_compile "$LINENO" 13955 + then : 13365 13956 xorg_cv_cc_flag_unknown_warning_option=yes 13366 - else 13957 + else $as_nop 13367 13958 xorg_cv_cc_flag_unknown_warning_option=no 13368 13959 fi 13369 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13960 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13370 13961 fi 13371 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13372 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13962 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13963 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13373 13964 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13374 13965 CFLAGS="$xorg_testset_save_CFLAGS" 13375 13966 fi ··· 13379 13970 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13380 13971 fi 13381 13972 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13382 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13383 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13384 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13385 - $as_echo_n "(cached) " >&6 13386 - else 13973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13974 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13975 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13976 + then : 13977 + printf %s "(cached) " >&6 13978 + else $as_nop 13387 13979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13388 13980 /* end confdefs.h. */ 13389 13981 int i; 13390 13982 _ACEOF 13391 - if ac_fn_c_try_compile "$LINENO"; then : 13983 + if ac_fn_c_try_compile "$LINENO" 13984 + then : 13392 13985 xorg_cv_cc_flag_unused_command_line_argument=yes 13393 - else 13986 + else $as_nop 13394 13987 xorg_cv_cc_flag_unused_command_line_argument=no 13395 13988 fi 13396 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13989 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13397 13990 fi 13398 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13399 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13991 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13992 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13400 13993 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13401 13994 CFLAGS="$xorg_testset_save_CFLAGS" 13402 13995 fi ··· 13414 14007 13415 14008 CFLAGS="$CFLAGS -Wmissing-noreturn" 13416 14009 13417 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 13418 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 14010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 14011 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 13419 14012 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 13420 - if eval \${$cacheid+:} false; then : 13421 - $as_echo_n "(cached) " >&6 13422 - else 14013 + if eval test \${$cacheid+y} 14014 + then : 14015 + printf %s "(cached) " >&6 14016 + else $as_nop 13423 14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13424 14018 /* end confdefs.h. */ 13425 14019 int i; 13426 14020 int 13427 - main () 14021 + main (void) 13428 14022 { 13429 14023 13430 14024 ; 13431 14025 return 0; 13432 14026 } 13433 14027 _ACEOF 13434 - if ac_fn_c_try_link "$LINENO"; then : 14028 + if ac_fn_c_try_link "$LINENO" 14029 + then : 13435 14030 eval $cacheid=yes 13436 - else 14031 + else $as_nop 13437 14032 eval $cacheid=no 13438 14033 fi 13439 - rm -f core conftest.err conftest.$ac_objext \ 14034 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13440 14035 conftest$ac_exeext conftest.$ac_ext 13441 14036 fi 13442 14037 ··· 13444 14039 CFLAGS="$xorg_testset_save_CFLAGS" 13445 14040 13446 14041 eval supported=\$$cacheid 13447 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13448 - $as_echo "$supported" >&6; } 14042 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14043 + printf "%s\n" "$supported" >&6; } 13449 14044 if test "$supported" = "yes" ; then 13450 14045 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 13451 14046 found="yes" ··· 13470 14065 13471 14066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13472 14067 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13473 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13474 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13475 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13476 - $as_echo_n "(cached) " >&6 13477 - else 14068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14069 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14070 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14071 + then : 14072 + printf %s "(cached) " >&6 14073 + else $as_nop 13478 14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13479 14075 /* end confdefs.h. */ 13480 14076 int i; 13481 14077 _ACEOF 13482 - if ac_fn_c_try_compile "$LINENO"; then : 14078 + if ac_fn_c_try_compile "$LINENO" 14079 + then : 13483 14080 xorg_cv_cc_flag_unknown_warning_option=yes 13484 - else 14081 + else $as_nop 13485 14082 xorg_cv_cc_flag_unknown_warning_option=no 13486 14083 fi 13487 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14084 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13488 14085 fi 13489 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13490 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14087 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13491 14088 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13492 14089 CFLAGS="$xorg_testset_save_CFLAGS" 13493 14090 fi ··· 13497 14094 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13498 14095 fi 13499 14096 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13500 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13501 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13502 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13503 - $as_echo_n "(cached) " >&6 13504 - else 14097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14098 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14099 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14100 + then : 14101 + printf %s "(cached) " >&6 14102 + else $as_nop 13505 14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13506 14104 /* end confdefs.h. */ 13507 14105 int i; 13508 14106 _ACEOF 13509 - if ac_fn_c_try_compile "$LINENO"; then : 14107 + if ac_fn_c_try_compile "$LINENO" 14108 + then : 13510 14109 xorg_cv_cc_flag_unused_command_line_argument=yes 13511 - else 14110 + else $as_nop 13512 14111 xorg_cv_cc_flag_unused_command_line_argument=no 13513 14112 fi 13514 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14113 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13515 14114 fi 13516 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13517 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14116 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13518 14117 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13519 14118 CFLAGS="$xorg_testset_save_CFLAGS" 13520 14119 fi ··· 13532 14131 13533 14132 CFLAGS="$CFLAGS -Wmissing-format-attribute" 13534 14133 13535 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 13536 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 14134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 14135 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 13537 14136 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 13538 - if eval \${$cacheid+:} false; then : 13539 - $as_echo_n "(cached) " >&6 13540 - else 14137 + if eval test \${$cacheid+y} 14138 + then : 14139 + printf %s "(cached) " >&6 14140 + else $as_nop 13541 14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13542 14142 /* end confdefs.h. */ 13543 14143 int i; 13544 14144 int 13545 - main () 14145 + main (void) 13546 14146 { 13547 14147 13548 14148 ; 13549 14149 return 0; 13550 14150 } 13551 14151 _ACEOF 13552 - if ac_fn_c_try_link "$LINENO"; then : 14152 + if ac_fn_c_try_link "$LINENO" 14153 + then : 13553 14154 eval $cacheid=yes 13554 - else 14155 + else $as_nop 13555 14156 eval $cacheid=no 13556 14157 fi 13557 - rm -f core conftest.err conftest.$ac_objext \ 14158 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13558 14159 conftest$ac_exeext conftest.$ac_ext 13559 14160 fi 13560 14161 ··· 13562 14163 CFLAGS="$xorg_testset_save_CFLAGS" 13563 14164 13564 14165 eval supported=\$$cacheid 13565 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13566 - $as_echo "$supported" >&6; } 14166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14167 + printf "%s\n" "$supported" >&6; } 13567 14168 if test "$supported" = "yes" ; then 13568 14169 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 13569 14170 found="yes" ··· 13589 14190 13590 14191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13591 14192 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13592 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13593 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13594 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13595 - $as_echo_n "(cached) " >&6 13596 - else 14193 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14194 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14195 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14196 + then : 14197 + printf %s "(cached) " >&6 14198 + else $as_nop 13597 14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13598 14200 /* end confdefs.h. */ 13599 14201 int i; 13600 14202 _ACEOF 13601 - if ac_fn_c_try_compile "$LINENO"; then : 14203 + if ac_fn_c_try_compile "$LINENO" 14204 + then : 13602 14205 xorg_cv_cc_flag_unknown_warning_option=yes 13603 - else 14206 + else $as_nop 13604 14207 xorg_cv_cc_flag_unknown_warning_option=no 13605 14208 fi 13606 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14209 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13607 14210 fi 13608 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13609 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14212 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13610 14213 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13611 14214 CFLAGS="$xorg_testset_save_CFLAGS" 13612 14215 fi ··· 13616 14219 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13617 14220 fi 13618 14221 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13619 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13620 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13621 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13622 - $as_echo_n "(cached) " >&6 13623 - else 14222 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14223 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14224 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14225 + then : 14226 + printf %s "(cached) " >&6 14227 + else $as_nop 13624 14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13625 14229 /* end confdefs.h. */ 13626 14230 int i; 13627 14231 _ACEOF 13628 - if ac_fn_c_try_compile "$LINENO"; then : 14232 + if ac_fn_c_try_compile "$LINENO" 14233 + then : 13629 14234 xorg_cv_cc_flag_unused_command_line_argument=yes 13630 - else 14235 + else $as_nop 13631 14236 xorg_cv_cc_flag_unused_command_line_argument=no 13632 14237 fi 13633 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14238 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13634 14239 fi 13635 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13636 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14240 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14241 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13637 14242 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13638 14243 CFLAGS="$xorg_testset_save_CFLAGS" 13639 14244 fi ··· 13651 14256 13652 14257 CFLAGS="$CFLAGS -Wlogical-op" 13653 14258 13654 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 13655 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 14259 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 14260 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 13656 14261 cacheid=xorg_cv_cc_flag__Wlogical_op 13657 - if eval \${$cacheid+:} false; then : 13658 - $as_echo_n "(cached) " >&6 13659 - else 14262 + if eval test \${$cacheid+y} 14263 + then : 14264 + printf %s "(cached) " >&6 14265 + else $as_nop 13660 14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13661 14267 /* end confdefs.h. */ 13662 14268 int i; 13663 14269 int 13664 - main () 14270 + main (void) 13665 14271 { 13666 14272 13667 14273 ; 13668 14274 return 0; 13669 14275 } 13670 14276 _ACEOF 13671 - if ac_fn_c_try_link "$LINENO"; then : 14277 + if ac_fn_c_try_link "$LINENO" 14278 + then : 13672 14279 eval $cacheid=yes 13673 - else 14280 + else $as_nop 13674 14281 eval $cacheid=no 13675 14282 fi 13676 - rm -f core conftest.err conftest.$ac_objext \ 14283 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13677 14284 conftest$ac_exeext conftest.$ac_ext 13678 14285 fi 13679 14286 ··· 13681 14288 CFLAGS="$xorg_testset_save_CFLAGS" 13682 14289 13683 14290 eval supported=\$$cacheid 13684 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13685 - $as_echo "$supported" >&6; } 14291 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14292 + printf "%s\n" "$supported" >&6; } 13686 14293 if test "$supported" = "yes" ; then 13687 14294 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 13688 14295 found="yes" ··· 13698 14305 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 13699 14306 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 13700 14307 13701 - # Turn some warnings into errors, so we don't accidently get successful builds 14308 + # Turn some warnings into errors, so we don't accidentally get successful builds 13702 14309 # when there are problems that should be fixed. 13703 14310 13704 14311 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 13719 14326 13720 14327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13721 14328 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13722 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13723 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13724 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13725 - $as_echo_n "(cached) " >&6 13726 - else 14329 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14330 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14331 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14332 + then : 14333 + printf %s "(cached) " >&6 14334 + else $as_nop 13727 14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13728 14336 /* end confdefs.h. */ 13729 14337 int i; 13730 14338 _ACEOF 13731 - if ac_fn_c_try_compile "$LINENO"; then : 14339 + if ac_fn_c_try_compile "$LINENO" 14340 + then : 13732 14341 xorg_cv_cc_flag_unknown_warning_option=yes 13733 - else 14342 + else $as_nop 13734 14343 xorg_cv_cc_flag_unknown_warning_option=no 13735 14344 fi 13736 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14345 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13737 14346 fi 13738 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13739 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14347 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14348 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13740 14349 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13741 14350 CFLAGS="$xorg_testset_save_CFLAGS" 13742 14351 fi ··· 13746 14355 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13747 14356 fi 13748 14357 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13749 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13750 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13751 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13752 - $as_echo_n "(cached) " >&6 13753 - else 14358 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14359 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14360 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14361 + then : 14362 + printf %s "(cached) " >&6 14363 + else $as_nop 13754 14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13755 14365 /* end confdefs.h. */ 13756 14366 int i; 13757 14367 _ACEOF 13758 - if ac_fn_c_try_compile "$LINENO"; then : 14368 + if ac_fn_c_try_compile "$LINENO" 14369 + then : 13759 14370 xorg_cv_cc_flag_unused_command_line_argument=yes 13760 - else 14371 + else $as_nop 13761 14372 xorg_cv_cc_flag_unused_command_line_argument=no 13762 14373 fi 13763 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14374 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13764 14375 fi 13765 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13766 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14376 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14377 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13767 14378 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13768 14379 CFLAGS="$xorg_testset_save_CFLAGS" 13769 14380 fi ··· 13781 14392 13782 14393 CFLAGS="$CFLAGS -Werror=implicit" 13783 14394 13784 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 13785 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 14395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 14396 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 13786 14397 cacheid=xorg_cv_cc_flag__Werror_implicit 13787 - if eval \${$cacheid+:} false; then : 13788 - $as_echo_n "(cached) " >&6 13789 - else 14398 + if eval test \${$cacheid+y} 14399 + then : 14400 + printf %s "(cached) " >&6 14401 + else $as_nop 13790 14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13791 14403 /* end confdefs.h. */ 13792 14404 int i; 13793 14405 int 13794 - main () 14406 + main (void) 13795 14407 { 13796 14408 13797 14409 ; 13798 14410 return 0; 13799 14411 } 13800 14412 _ACEOF 13801 - if ac_fn_c_try_link "$LINENO"; then : 14413 + if ac_fn_c_try_link "$LINENO" 14414 + then : 13802 14415 eval $cacheid=yes 13803 - else 14416 + else $as_nop 13804 14417 eval $cacheid=no 13805 14418 fi 13806 - rm -f core conftest.err conftest.$ac_objext \ 14419 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13807 14420 conftest$ac_exeext conftest.$ac_ext 13808 14421 fi 13809 14422 ··· 13811 14424 CFLAGS="$xorg_testset_save_CFLAGS" 13812 14425 13813 14426 eval supported=\$$cacheid 13814 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13815 - $as_echo "$supported" >&6; } 14427 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14428 + printf "%s\n" "$supported" >&6; } 13816 14429 if test "$supported" = "yes" ; then 13817 14430 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 13818 14431 found="yes" ··· 13830 14443 13831 14444 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 13832 14445 13833 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 13834 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 14446 + { 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 14447 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 13835 14448 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 13836 - if eval \${$cacheid+:} false; then : 13837 - $as_echo_n "(cached) " >&6 13838 - else 14449 + if eval test \${$cacheid+y} 14450 + then : 14451 + printf %s "(cached) " >&6 14452 + else $as_nop 13839 14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13840 14454 /* end confdefs.h. */ 13841 14455 int i; 13842 14456 int 13843 - main () 14457 + main (void) 13844 14458 { 13845 14459 13846 14460 ; 13847 14461 return 0; 13848 14462 } 13849 14463 _ACEOF 13850 - if ac_fn_c_try_link "$LINENO"; then : 14464 + if ac_fn_c_try_link "$LINENO" 14465 + then : 13851 14466 eval $cacheid=yes 13852 - else 14467 + else $as_nop 13853 14468 eval $cacheid=no 13854 14469 fi 13855 - rm -f core conftest.err conftest.$ac_objext \ 14470 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13856 14471 conftest$ac_exeext conftest.$ac_ext 13857 14472 fi 13858 14473 ··· 13860 14475 CFLAGS="$xorg_testset_save_CFLAGS" 13861 14476 13862 14477 eval supported=\$$cacheid 13863 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13864 - $as_echo "$supported" >&6; } 14478 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14479 + printf "%s\n" "$supported" >&6; } 13865 14480 if test "$supported" = "yes" ; then 13866 14481 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 13867 14482 found="yes" ··· 13886 14501 13887 14502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13888 14503 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13889 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13890 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13891 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13892 - $as_echo_n "(cached) " >&6 13893 - else 14504 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14505 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14506 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14507 + then : 14508 + printf %s "(cached) " >&6 14509 + else $as_nop 13894 14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13895 14511 /* end confdefs.h. */ 13896 14512 int i; 13897 14513 _ACEOF 13898 - if ac_fn_c_try_compile "$LINENO"; then : 14514 + if ac_fn_c_try_compile "$LINENO" 14515 + then : 13899 14516 xorg_cv_cc_flag_unknown_warning_option=yes 13900 - else 14517 + else $as_nop 13901 14518 xorg_cv_cc_flag_unknown_warning_option=no 13902 14519 fi 13903 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14520 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13904 14521 fi 13905 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13906 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14522 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14523 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13907 14524 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13908 14525 CFLAGS="$xorg_testset_save_CFLAGS" 13909 14526 fi ··· 13913 14530 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13914 14531 fi 13915 14532 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13916 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13917 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13918 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13919 - $as_echo_n "(cached) " >&6 13920 - else 14533 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14534 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14535 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14536 + then : 14537 + printf %s "(cached) " >&6 14538 + else $as_nop 13921 14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13922 14540 /* end confdefs.h. */ 13923 14541 int i; 13924 14542 _ACEOF 13925 - if ac_fn_c_try_compile "$LINENO"; then : 14543 + if ac_fn_c_try_compile "$LINENO" 14544 + then : 13926 14545 xorg_cv_cc_flag_unused_command_line_argument=yes 13927 - else 14546 + else $as_nop 13928 14547 xorg_cv_cc_flag_unused_command_line_argument=no 13929 14548 fi 13930 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14549 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13931 14550 fi 13932 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13933 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14551 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14552 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13934 14553 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13935 14554 CFLAGS="$xorg_testset_save_CFLAGS" 13936 14555 fi ··· 13948 14567 13949 14568 CFLAGS="$CFLAGS -Werror=nonnull" 13950 14569 13951 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 13952 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 14570 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 14571 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 13953 14572 cacheid=xorg_cv_cc_flag__Werror_nonnull 13954 - if eval \${$cacheid+:} false; then : 13955 - $as_echo_n "(cached) " >&6 13956 - else 14573 + if eval test \${$cacheid+y} 14574 + then : 14575 + printf %s "(cached) " >&6 14576 + else $as_nop 13957 14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13958 14578 /* end confdefs.h. */ 13959 14579 int i; 13960 14580 int 13961 - main () 14581 + main (void) 13962 14582 { 13963 14583 13964 14584 ; 13965 14585 return 0; 13966 14586 } 13967 14587 _ACEOF 13968 - if ac_fn_c_try_link "$LINENO"; then : 14588 + if ac_fn_c_try_link "$LINENO" 14589 + then : 13969 14590 eval $cacheid=yes 13970 - else 14591 + else $as_nop 13971 14592 eval $cacheid=no 13972 14593 fi 13973 - rm -f core conftest.err conftest.$ac_objext \ 14594 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13974 14595 conftest$ac_exeext conftest.$ac_ext 13975 14596 fi 13976 14597 ··· 13978 14599 CFLAGS="$xorg_testset_save_CFLAGS" 13979 14600 13980 14601 eval supported=\$$cacheid 13981 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13982 - $as_echo "$supported" >&6; } 14602 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14603 + printf "%s\n" "$supported" >&6; } 13983 14604 if test "$supported" = "yes" ; then 13984 14605 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 13985 14606 found="yes" ··· 14004 14625 14005 14626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14006 14627 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14007 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14008 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14009 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14010 - $as_echo_n "(cached) " >&6 14011 - else 14628 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14629 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14630 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14631 + then : 14632 + printf %s "(cached) " >&6 14633 + else $as_nop 14012 14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14013 14635 /* end confdefs.h. */ 14014 14636 int i; 14015 14637 _ACEOF 14016 - if ac_fn_c_try_compile "$LINENO"; then : 14638 + if ac_fn_c_try_compile "$LINENO" 14639 + then : 14017 14640 xorg_cv_cc_flag_unknown_warning_option=yes 14018 - else 14641 + else $as_nop 14019 14642 xorg_cv_cc_flag_unknown_warning_option=no 14020 14643 fi 14021 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14644 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14022 14645 fi 14023 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14024 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14646 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14647 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14025 14648 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14026 14649 CFLAGS="$xorg_testset_save_CFLAGS" 14027 14650 fi ··· 14031 14654 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14032 14655 fi 14033 14656 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14034 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14035 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14036 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14037 - $as_echo_n "(cached) " >&6 14038 - else 14657 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14658 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14659 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14660 + then : 14661 + printf %s "(cached) " >&6 14662 + else $as_nop 14039 14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14040 14664 /* end confdefs.h. */ 14041 14665 int i; 14042 14666 _ACEOF 14043 - if ac_fn_c_try_compile "$LINENO"; then : 14667 + if ac_fn_c_try_compile "$LINENO" 14668 + then : 14044 14669 xorg_cv_cc_flag_unused_command_line_argument=yes 14045 - else 14670 + else $as_nop 14046 14671 xorg_cv_cc_flag_unused_command_line_argument=no 14047 14672 fi 14048 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14673 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14049 14674 fi 14050 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14051 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14675 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14676 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14052 14677 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14053 14678 CFLAGS="$xorg_testset_save_CFLAGS" 14054 14679 fi ··· 14066 14691 14067 14692 CFLAGS="$CFLAGS -Werror=init-self" 14068 14693 14069 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 14070 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 14694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 14695 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 14071 14696 cacheid=xorg_cv_cc_flag__Werror_init_self 14072 - if eval \${$cacheid+:} false; then : 14073 - $as_echo_n "(cached) " >&6 14074 - else 14697 + if eval test \${$cacheid+y} 14698 + then : 14699 + printf %s "(cached) " >&6 14700 + else $as_nop 14075 14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14076 14702 /* end confdefs.h. */ 14077 14703 int i; 14078 14704 int 14079 - main () 14705 + main (void) 14080 14706 { 14081 14707 14082 14708 ; 14083 14709 return 0; 14084 14710 } 14085 14711 _ACEOF 14086 - if ac_fn_c_try_link "$LINENO"; then : 14712 + if ac_fn_c_try_link "$LINENO" 14713 + then : 14087 14714 eval $cacheid=yes 14088 - else 14715 + else $as_nop 14089 14716 eval $cacheid=no 14090 14717 fi 14091 - rm -f core conftest.err conftest.$ac_objext \ 14718 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14092 14719 conftest$ac_exeext conftest.$ac_ext 14093 14720 fi 14094 14721 ··· 14096 14723 CFLAGS="$xorg_testset_save_CFLAGS" 14097 14724 14098 14725 eval supported=\$$cacheid 14099 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14100 - $as_echo "$supported" >&6; } 14726 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14727 + printf "%s\n" "$supported" >&6; } 14101 14728 if test "$supported" = "yes" ; then 14102 14729 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 14103 14730 found="yes" ··· 14122 14749 14123 14750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14124 14751 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14125 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14126 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14127 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14128 - $as_echo_n "(cached) " >&6 14129 - else 14752 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14753 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14754 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14755 + then : 14756 + printf %s "(cached) " >&6 14757 + else $as_nop 14130 14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14131 14759 /* end confdefs.h. */ 14132 14760 int i; 14133 14761 _ACEOF 14134 - if ac_fn_c_try_compile "$LINENO"; then : 14762 + if ac_fn_c_try_compile "$LINENO" 14763 + then : 14135 14764 xorg_cv_cc_flag_unknown_warning_option=yes 14136 - else 14765 + else $as_nop 14137 14766 xorg_cv_cc_flag_unknown_warning_option=no 14138 14767 fi 14139 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14768 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14140 14769 fi 14141 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14142 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14770 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14771 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14143 14772 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14144 14773 CFLAGS="$xorg_testset_save_CFLAGS" 14145 14774 fi ··· 14149 14778 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14150 14779 fi 14151 14780 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14152 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14153 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14154 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14155 - $as_echo_n "(cached) " >&6 14156 - else 14781 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14782 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14783 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14784 + then : 14785 + printf %s "(cached) " >&6 14786 + else $as_nop 14157 14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14158 14788 /* end confdefs.h. */ 14159 14789 int i; 14160 14790 _ACEOF 14161 - if ac_fn_c_try_compile "$LINENO"; then : 14791 + if ac_fn_c_try_compile "$LINENO" 14792 + then : 14162 14793 xorg_cv_cc_flag_unused_command_line_argument=yes 14163 - else 14794 + else $as_nop 14164 14795 xorg_cv_cc_flag_unused_command_line_argument=no 14165 14796 fi 14166 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14797 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14167 14798 fi 14168 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14169 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14799 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14800 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14170 14801 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14171 14802 CFLAGS="$xorg_testset_save_CFLAGS" 14172 14803 fi ··· 14184 14815 14185 14816 CFLAGS="$CFLAGS -Werror=main" 14186 14817 14187 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 14188 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 14818 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 14819 + printf %s "checking if $CC supports -Werror=main... " >&6; } 14189 14820 cacheid=xorg_cv_cc_flag__Werror_main 14190 - if eval \${$cacheid+:} false; then : 14191 - $as_echo_n "(cached) " >&6 14192 - else 14821 + if eval test \${$cacheid+y} 14822 + then : 14823 + printf %s "(cached) " >&6 14824 + else $as_nop 14193 14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14194 14826 /* end confdefs.h. */ 14195 14827 int i; 14196 14828 int 14197 - main () 14829 + main (void) 14198 14830 { 14199 14831 14200 14832 ; 14201 14833 return 0; 14202 14834 } 14203 14835 _ACEOF 14204 - if ac_fn_c_try_link "$LINENO"; then : 14836 + if ac_fn_c_try_link "$LINENO" 14837 + then : 14205 14838 eval $cacheid=yes 14206 - else 14839 + else $as_nop 14207 14840 eval $cacheid=no 14208 14841 fi 14209 - rm -f core conftest.err conftest.$ac_objext \ 14842 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14210 14843 conftest$ac_exeext conftest.$ac_ext 14211 14844 fi 14212 14845 ··· 14214 14847 CFLAGS="$xorg_testset_save_CFLAGS" 14215 14848 14216 14849 eval supported=\$$cacheid 14217 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14218 - $as_echo "$supported" >&6; } 14850 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14851 + printf "%s\n" "$supported" >&6; } 14219 14852 if test "$supported" = "yes" ; then 14220 14853 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 14221 14854 found="yes" ··· 14240 14873 14241 14874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14242 14875 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14243 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14244 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14245 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14246 - $as_echo_n "(cached) " >&6 14247 - else 14876 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14877 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14878 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14879 + then : 14880 + printf %s "(cached) " >&6 14881 + else $as_nop 14248 14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14249 14883 /* end confdefs.h. */ 14250 14884 int i; 14251 14885 _ACEOF 14252 - if ac_fn_c_try_compile "$LINENO"; then : 14886 + if ac_fn_c_try_compile "$LINENO" 14887 + then : 14253 14888 xorg_cv_cc_flag_unknown_warning_option=yes 14254 - else 14889 + else $as_nop 14255 14890 xorg_cv_cc_flag_unknown_warning_option=no 14256 14891 fi 14257 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14892 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14258 14893 fi 14259 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14260 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14894 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14895 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14261 14896 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14262 14897 CFLAGS="$xorg_testset_save_CFLAGS" 14263 14898 fi ··· 14267 14902 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14268 14903 fi 14269 14904 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14270 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14271 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14272 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14273 - $as_echo_n "(cached) " >&6 14274 - else 14905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14906 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14907 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14908 + then : 14909 + printf %s "(cached) " >&6 14910 + else $as_nop 14275 14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14276 14912 /* end confdefs.h. */ 14277 14913 int i; 14278 14914 _ACEOF 14279 - if ac_fn_c_try_compile "$LINENO"; then : 14915 + if ac_fn_c_try_compile "$LINENO" 14916 + then : 14280 14917 xorg_cv_cc_flag_unused_command_line_argument=yes 14281 - else 14918 + else $as_nop 14282 14919 xorg_cv_cc_flag_unused_command_line_argument=no 14283 14920 fi 14284 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14921 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14285 14922 fi 14286 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14287 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14923 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14924 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14288 14925 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14289 14926 CFLAGS="$xorg_testset_save_CFLAGS" 14290 14927 fi ··· 14302 14939 14303 14940 CFLAGS="$CFLAGS -Werror=missing-braces" 14304 14941 14305 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 14306 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 14942 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 14943 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 14307 14944 cacheid=xorg_cv_cc_flag__Werror_missing_braces 14308 - if eval \${$cacheid+:} false; then : 14309 - $as_echo_n "(cached) " >&6 14310 - else 14945 + if eval test \${$cacheid+y} 14946 + then : 14947 + printf %s "(cached) " >&6 14948 + else $as_nop 14311 14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14312 14950 /* end confdefs.h. */ 14313 14951 int i; 14314 14952 int 14315 - main () 14953 + main (void) 14316 14954 { 14317 14955 14318 14956 ; 14319 14957 return 0; 14320 14958 } 14321 14959 _ACEOF 14322 - if ac_fn_c_try_link "$LINENO"; then : 14960 + if ac_fn_c_try_link "$LINENO" 14961 + then : 14323 14962 eval $cacheid=yes 14324 - else 14963 + else $as_nop 14325 14964 eval $cacheid=no 14326 14965 fi 14327 - rm -f core conftest.err conftest.$ac_objext \ 14966 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14328 14967 conftest$ac_exeext conftest.$ac_ext 14329 14968 fi 14330 14969 ··· 14332 14971 CFLAGS="$xorg_testset_save_CFLAGS" 14333 14972 14334 14973 eval supported=\$$cacheid 14335 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14336 - $as_echo "$supported" >&6; } 14974 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14975 + printf "%s\n" "$supported" >&6; } 14337 14976 if test "$supported" = "yes" ; then 14338 14977 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 14339 14978 found="yes" ··· 14358 14997 14359 14998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14360 14999 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14361 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14362 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14363 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14364 - $as_echo_n "(cached) " >&6 14365 - else 15000 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15001 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15002 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15003 + then : 15004 + printf %s "(cached) " >&6 15005 + else $as_nop 14366 15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14367 15007 /* end confdefs.h. */ 14368 15008 int i; 14369 15009 _ACEOF 14370 - if ac_fn_c_try_compile "$LINENO"; then : 15010 + if ac_fn_c_try_compile "$LINENO" 15011 + then : 14371 15012 xorg_cv_cc_flag_unknown_warning_option=yes 14372 - else 15013 + else $as_nop 14373 15014 xorg_cv_cc_flag_unknown_warning_option=no 14374 15015 fi 14375 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15016 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14376 15017 fi 14377 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14378 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15018 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15019 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14379 15020 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14380 15021 CFLAGS="$xorg_testset_save_CFLAGS" 14381 15022 fi ··· 14385 15026 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14386 15027 fi 14387 15028 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14388 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14389 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14390 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14391 - $as_echo_n "(cached) " >&6 14392 - else 15029 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15030 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15031 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15032 + then : 15033 + printf %s "(cached) " >&6 15034 + else $as_nop 14393 15035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14394 15036 /* end confdefs.h. */ 14395 15037 int i; 14396 15038 _ACEOF 14397 - if ac_fn_c_try_compile "$LINENO"; then : 15039 + if ac_fn_c_try_compile "$LINENO" 15040 + then : 14398 15041 xorg_cv_cc_flag_unused_command_line_argument=yes 14399 - else 15042 + else $as_nop 14400 15043 xorg_cv_cc_flag_unused_command_line_argument=no 14401 15044 fi 14402 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15045 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14403 15046 fi 14404 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14405 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15047 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15048 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14406 15049 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14407 15050 CFLAGS="$xorg_testset_save_CFLAGS" 14408 15051 fi ··· 14420 15063 14421 15064 CFLAGS="$CFLAGS -Werror=sequence-point" 14422 15065 14423 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 14424 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 15066 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 15067 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 14425 15068 cacheid=xorg_cv_cc_flag__Werror_sequence_point 14426 - if eval \${$cacheid+:} false; then : 14427 - $as_echo_n "(cached) " >&6 14428 - else 15069 + if eval test \${$cacheid+y} 15070 + then : 15071 + printf %s "(cached) " >&6 15072 + else $as_nop 14429 15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14430 15074 /* end confdefs.h. */ 14431 15075 int i; 14432 15076 int 14433 - main () 15077 + main (void) 14434 15078 { 14435 15079 14436 15080 ; 14437 15081 return 0; 14438 15082 } 14439 15083 _ACEOF 14440 - if ac_fn_c_try_link "$LINENO"; then : 15084 + if ac_fn_c_try_link "$LINENO" 15085 + then : 14441 15086 eval $cacheid=yes 14442 - else 15087 + else $as_nop 14443 15088 eval $cacheid=no 14444 15089 fi 14445 - rm -f core conftest.err conftest.$ac_objext \ 15090 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14446 15091 conftest$ac_exeext conftest.$ac_ext 14447 15092 fi 14448 15093 ··· 14450 15095 CFLAGS="$xorg_testset_save_CFLAGS" 14451 15096 14452 15097 eval supported=\$$cacheid 14453 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14454 - $as_echo "$supported" >&6; } 15098 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15099 + printf "%s\n" "$supported" >&6; } 14455 15100 if test "$supported" = "yes" ; then 14456 15101 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 14457 15102 found="yes" ··· 14476 15121 14477 15122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14478 15123 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14479 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14480 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14481 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14482 - $as_echo_n "(cached) " >&6 14483 - else 15124 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15125 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15126 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15127 + then : 15128 + printf %s "(cached) " >&6 15129 + else $as_nop 14484 15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14485 15131 /* end confdefs.h. */ 14486 15132 int i; 14487 15133 _ACEOF 14488 - if ac_fn_c_try_compile "$LINENO"; then : 15134 + if ac_fn_c_try_compile "$LINENO" 15135 + then : 14489 15136 xorg_cv_cc_flag_unknown_warning_option=yes 14490 - else 15137 + else $as_nop 14491 15138 xorg_cv_cc_flag_unknown_warning_option=no 14492 15139 fi 14493 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15140 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14494 15141 fi 14495 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14496 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15142 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15143 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14497 15144 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14498 15145 CFLAGS="$xorg_testset_save_CFLAGS" 14499 15146 fi ··· 14503 15150 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14504 15151 fi 14505 15152 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14506 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14507 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14508 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14509 - $as_echo_n "(cached) " >&6 14510 - else 15153 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15154 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15155 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15156 + then : 15157 + printf %s "(cached) " >&6 15158 + else $as_nop 14511 15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14512 15160 /* end confdefs.h. */ 14513 15161 int i; 14514 15162 _ACEOF 14515 - if ac_fn_c_try_compile "$LINENO"; then : 15163 + if ac_fn_c_try_compile "$LINENO" 15164 + then : 14516 15165 xorg_cv_cc_flag_unused_command_line_argument=yes 14517 - else 15166 + else $as_nop 14518 15167 xorg_cv_cc_flag_unused_command_line_argument=no 14519 15168 fi 14520 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15169 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14521 15170 fi 14522 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14523 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15171 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15172 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14524 15173 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14525 15174 CFLAGS="$xorg_testset_save_CFLAGS" 14526 15175 fi ··· 14538 15187 14539 15188 CFLAGS="$CFLAGS -Werror=return-type" 14540 15189 14541 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 14542 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 15190 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 15191 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 14543 15192 cacheid=xorg_cv_cc_flag__Werror_return_type 14544 - if eval \${$cacheid+:} false; then : 14545 - $as_echo_n "(cached) " >&6 14546 - else 15193 + if eval test \${$cacheid+y} 15194 + then : 15195 + printf %s "(cached) " >&6 15196 + else $as_nop 14547 15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14548 15198 /* end confdefs.h. */ 14549 15199 int i; 14550 15200 int 14551 - main () 15201 + main (void) 14552 15202 { 14553 15203 14554 15204 ; 14555 15205 return 0; 14556 15206 } 14557 15207 _ACEOF 14558 - if ac_fn_c_try_link "$LINENO"; then : 15208 + if ac_fn_c_try_link "$LINENO" 15209 + then : 14559 15210 eval $cacheid=yes 14560 - else 15211 + else $as_nop 14561 15212 eval $cacheid=no 14562 15213 fi 14563 - rm -f core conftest.err conftest.$ac_objext \ 15214 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14564 15215 conftest$ac_exeext conftest.$ac_ext 14565 15216 fi 14566 15217 ··· 14568 15219 CFLAGS="$xorg_testset_save_CFLAGS" 14569 15220 14570 15221 eval supported=\$$cacheid 14571 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14572 - $as_echo "$supported" >&6; } 15222 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15223 + printf "%s\n" "$supported" >&6; } 14573 15224 if test "$supported" = "yes" ; then 14574 15225 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 14575 15226 found="yes" ··· 14587 15238 14588 15239 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 14589 15240 14590 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 14591 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 15241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 15242 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 14592 15243 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 14593 - if eval \${$cacheid+:} false; then : 14594 - $as_echo_n "(cached) " >&6 14595 - else 15244 + if eval test \${$cacheid+y} 15245 + then : 15246 + printf %s "(cached) " >&6 15247 + else $as_nop 14596 15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14597 15249 /* end confdefs.h. */ 14598 15250 int i; 14599 15251 int 14600 - main () 15252 + main (void) 14601 15253 { 14602 15254 14603 15255 ; 14604 15256 return 0; 14605 15257 } 14606 15258 _ACEOF 14607 - if ac_fn_c_try_link "$LINENO"; then : 15259 + if ac_fn_c_try_link "$LINENO" 15260 + then : 14608 15261 eval $cacheid=yes 14609 - else 15262 + else $as_nop 14610 15263 eval $cacheid=no 14611 15264 fi 14612 - rm -f core conftest.err conftest.$ac_objext \ 15265 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14613 15266 conftest$ac_exeext conftest.$ac_ext 14614 15267 fi 14615 15268 ··· 14617 15270 CFLAGS="$xorg_testset_save_CFLAGS" 14618 15271 14619 15272 eval supported=\$$cacheid 14620 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14621 - $as_echo "$supported" >&6; } 15273 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15274 + printf "%s\n" "$supported" >&6; } 14622 15275 if test "$supported" = "yes" ; then 14623 15276 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 14624 15277 found="yes" ··· 14643 15296 14644 15297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14645 15298 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14646 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14647 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14648 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14649 - $as_echo_n "(cached) " >&6 14650 - else 15299 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15300 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15301 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15302 + then : 15303 + printf %s "(cached) " >&6 15304 + else $as_nop 14651 15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14652 15306 /* end confdefs.h. */ 14653 15307 int i; 14654 15308 _ACEOF 14655 - if ac_fn_c_try_compile "$LINENO"; then : 15309 + if ac_fn_c_try_compile "$LINENO" 15310 + then : 14656 15311 xorg_cv_cc_flag_unknown_warning_option=yes 14657 - else 15312 + else $as_nop 14658 15313 xorg_cv_cc_flag_unknown_warning_option=no 14659 15314 fi 14660 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15315 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14661 15316 fi 14662 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14663 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15317 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15318 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14664 15319 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14665 15320 CFLAGS="$xorg_testset_save_CFLAGS" 14666 15321 fi ··· 14670 15325 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14671 15326 fi 14672 15327 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14673 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14674 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14675 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14676 - $as_echo_n "(cached) " >&6 14677 - else 15328 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15329 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15330 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15331 + then : 15332 + printf %s "(cached) " >&6 15333 + else $as_nop 14678 15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14679 15335 /* end confdefs.h. */ 14680 15336 int i; 14681 15337 _ACEOF 14682 - if ac_fn_c_try_compile "$LINENO"; then : 15338 + if ac_fn_c_try_compile "$LINENO" 15339 + then : 14683 15340 xorg_cv_cc_flag_unused_command_line_argument=yes 14684 - else 15341 + else $as_nop 14685 15342 xorg_cv_cc_flag_unused_command_line_argument=no 14686 15343 fi 14687 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15344 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14688 15345 fi 14689 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14690 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15346 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15347 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14691 15348 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14692 15349 CFLAGS="$xorg_testset_save_CFLAGS" 14693 15350 fi ··· 14705 15362 14706 15363 CFLAGS="$CFLAGS -Werror=trigraphs" 14707 15364 14708 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 14709 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 15365 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 15366 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 14710 15367 cacheid=xorg_cv_cc_flag__Werror_trigraphs 14711 - if eval \${$cacheid+:} false; then : 14712 - $as_echo_n "(cached) " >&6 14713 - else 15368 + if eval test \${$cacheid+y} 15369 + then : 15370 + printf %s "(cached) " >&6 15371 + else $as_nop 14714 15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14715 15373 /* end confdefs.h. */ 14716 15374 int i; 14717 15375 int 14718 - main () 15376 + main (void) 14719 15377 { 14720 15378 14721 15379 ; 14722 15380 return 0; 14723 15381 } 14724 15382 _ACEOF 14725 - if ac_fn_c_try_link "$LINENO"; then : 15383 + if ac_fn_c_try_link "$LINENO" 15384 + then : 14726 15385 eval $cacheid=yes 14727 - else 15386 + else $as_nop 14728 15387 eval $cacheid=no 14729 15388 fi 14730 - rm -f core conftest.err conftest.$ac_objext \ 15389 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14731 15390 conftest$ac_exeext conftest.$ac_ext 14732 15391 fi 14733 15392 ··· 14735 15394 CFLAGS="$xorg_testset_save_CFLAGS" 14736 15395 14737 15396 eval supported=\$$cacheid 14738 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14739 - $as_echo "$supported" >&6; } 15397 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15398 + printf "%s\n" "$supported" >&6; } 14740 15399 if test "$supported" = "yes" ; then 14741 15400 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 14742 15401 found="yes" ··· 14761 15420 14762 15421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14763 15422 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14764 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14765 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14766 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14767 - $as_echo_n "(cached) " >&6 14768 - else 15423 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15424 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15425 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15426 + then : 15427 + printf %s "(cached) " >&6 15428 + else $as_nop 14769 15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14770 15430 /* end confdefs.h. */ 14771 15431 int i; 14772 15432 _ACEOF 14773 - if ac_fn_c_try_compile "$LINENO"; then : 15433 + if ac_fn_c_try_compile "$LINENO" 15434 + then : 14774 15435 xorg_cv_cc_flag_unknown_warning_option=yes 14775 - else 15436 + else $as_nop 14776 15437 xorg_cv_cc_flag_unknown_warning_option=no 14777 15438 fi 14778 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15439 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14779 15440 fi 14780 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14781 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15441 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15442 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14782 15443 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14783 15444 CFLAGS="$xorg_testset_save_CFLAGS" 14784 15445 fi ··· 14788 15449 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14789 15450 fi 14790 15451 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14791 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14792 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14793 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14794 - $as_echo_n "(cached) " >&6 14795 - else 15452 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15453 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15454 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15455 + then : 15456 + printf %s "(cached) " >&6 15457 + else $as_nop 14796 15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14797 15459 /* end confdefs.h. */ 14798 15460 int i; 14799 15461 _ACEOF 14800 - if ac_fn_c_try_compile "$LINENO"; then : 15462 + if ac_fn_c_try_compile "$LINENO" 15463 + then : 14801 15464 xorg_cv_cc_flag_unused_command_line_argument=yes 14802 - else 15465 + else $as_nop 14803 15466 xorg_cv_cc_flag_unused_command_line_argument=no 14804 15467 fi 14805 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15468 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14806 15469 fi 14807 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14808 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15470 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15471 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14809 15472 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14810 15473 CFLAGS="$xorg_testset_save_CFLAGS" 14811 15474 fi ··· 14823 15486 14824 15487 CFLAGS="$CFLAGS -Werror=array-bounds" 14825 15488 14826 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 14827 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 15489 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 15490 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 14828 15491 cacheid=xorg_cv_cc_flag__Werror_array_bounds 14829 - if eval \${$cacheid+:} false; then : 14830 - $as_echo_n "(cached) " >&6 14831 - else 15492 + if eval test \${$cacheid+y} 15493 + then : 15494 + printf %s "(cached) " >&6 15495 + else $as_nop 14832 15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14833 15497 /* end confdefs.h. */ 14834 15498 int i; 14835 15499 int 14836 - main () 15500 + main (void) 14837 15501 { 14838 15502 14839 15503 ; 14840 15504 return 0; 14841 15505 } 14842 15506 _ACEOF 14843 - if ac_fn_c_try_link "$LINENO"; then : 15507 + if ac_fn_c_try_link "$LINENO" 15508 + then : 14844 15509 eval $cacheid=yes 14845 - else 15510 + else $as_nop 14846 15511 eval $cacheid=no 14847 15512 fi 14848 - rm -f core conftest.err conftest.$ac_objext \ 15513 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14849 15514 conftest$ac_exeext conftest.$ac_ext 14850 15515 fi 14851 15516 ··· 14853 15518 CFLAGS="$xorg_testset_save_CFLAGS" 14854 15519 14855 15520 eval supported=\$$cacheid 14856 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14857 - $as_echo "$supported" >&6; } 15521 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15522 + printf "%s\n" "$supported" >&6; } 14858 15523 if test "$supported" = "yes" ; then 14859 15524 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 14860 15525 found="yes" ··· 14879 15544 14880 15545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14881 15546 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14882 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14883 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14884 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14885 - $as_echo_n "(cached) " >&6 14886 - else 15547 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15548 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15549 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15550 + then : 15551 + printf %s "(cached) " >&6 15552 + else $as_nop 14887 15553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14888 15554 /* end confdefs.h. */ 14889 15555 int i; 14890 15556 _ACEOF 14891 - if ac_fn_c_try_compile "$LINENO"; then : 15557 + if ac_fn_c_try_compile "$LINENO" 15558 + then : 14892 15559 xorg_cv_cc_flag_unknown_warning_option=yes 14893 - else 15560 + else $as_nop 14894 15561 xorg_cv_cc_flag_unknown_warning_option=no 14895 15562 fi 14896 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15563 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14897 15564 fi 14898 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14899 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15565 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15566 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14900 15567 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14901 15568 CFLAGS="$xorg_testset_save_CFLAGS" 14902 15569 fi ··· 14906 15573 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14907 15574 fi 14908 15575 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14909 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14910 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14911 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14912 - $as_echo_n "(cached) " >&6 14913 - else 15576 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15577 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15578 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15579 + then : 15580 + printf %s "(cached) " >&6 15581 + else $as_nop 14914 15582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14915 15583 /* end confdefs.h. */ 14916 15584 int i; 14917 15585 _ACEOF 14918 - if ac_fn_c_try_compile "$LINENO"; then : 15586 + if ac_fn_c_try_compile "$LINENO" 15587 + then : 14919 15588 xorg_cv_cc_flag_unused_command_line_argument=yes 14920 - else 15589 + else $as_nop 14921 15590 xorg_cv_cc_flag_unused_command_line_argument=no 14922 15591 fi 14923 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15592 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14924 15593 fi 14925 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14926 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15594 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15595 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14927 15596 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14928 15597 CFLAGS="$xorg_testset_save_CFLAGS" 14929 15598 fi ··· 14941 15610 14942 15611 CFLAGS="$CFLAGS -Werror=write-strings" 14943 15612 14944 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 14945 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 15613 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 15614 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 14946 15615 cacheid=xorg_cv_cc_flag__Werror_write_strings 14947 - if eval \${$cacheid+:} false; then : 14948 - $as_echo_n "(cached) " >&6 14949 - else 15616 + if eval test \${$cacheid+y} 15617 + then : 15618 + printf %s "(cached) " >&6 15619 + else $as_nop 14950 15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14951 15621 /* end confdefs.h. */ 14952 15622 int i; 14953 15623 int 14954 - main () 15624 + main (void) 14955 15625 { 14956 15626 14957 15627 ; 14958 15628 return 0; 14959 15629 } 14960 15630 _ACEOF 14961 - if ac_fn_c_try_link "$LINENO"; then : 15631 + if ac_fn_c_try_link "$LINENO" 15632 + then : 14962 15633 eval $cacheid=yes 14963 - else 15634 + else $as_nop 14964 15635 eval $cacheid=no 14965 15636 fi 14966 - rm -f core conftest.err conftest.$ac_objext \ 15637 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14967 15638 conftest$ac_exeext conftest.$ac_ext 14968 15639 fi 14969 15640 ··· 14971 15642 CFLAGS="$xorg_testset_save_CFLAGS" 14972 15643 14973 15644 eval supported=\$$cacheid 14974 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14975 - $as_echo "$supported" >&6; } 15645 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15646 + printf "%s\n" "$supported" >&6; } 14976 15647 if test "$supported" = "yes" ; then 14977 15648 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 14978 15649 found="yes" ··· 14997 15668 14998 15669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14999 15670 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15000 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15001 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15002 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15003 - $as_echo_n "(cached) " >&6 15004 - else 15671 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15672 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15673 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15674 + then : 15675 + printf %s "(cached) " >&6 15676 + else $as_nop 15005 15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15006 15678 /* end confdefs.h. */ 15007 15679 int i; 15008 15680 _ACEOF 15009 - if ac_fn_c_try_compile "$LINENO"; then : 15681 + if ac_fn_c_try_compile "$LINENO" 15682 + then : 15010 15683 xorg_cv_cc_flag_unknown_warning_option=yes 15011 - else 15684 + else $as_nop 15012 15685 xorg_cv_cc_flag_unknown_warning_option=no 15013 15686 fi 15014 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15687 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15015 15688 fi 15016 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15017 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15689 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15690 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15018 15691 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15019 15692 CFLAGS="$xorg_testset_save_CFLAGS" 15020 15693 fi ··· 15024 15697 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15025 15698 fi 15026 15699 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15027 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15028 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15029 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15030 - $as_echo_n "(cached) " >&6 15031 - else 15700 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15701 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15702 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15703 + then : 15704 + printf %s "(cached) " >&6 15705 + else $as_nop 15032 15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15033 15707 /* end confdefs.h. */ 15034 15708 int i; 15035 15709 _ACEOF 15036 - if ac_fn_c_try_compile "$LINENO"; then : 15710 + if ac_fn_c_try_compile "$LINENO" 15711 + then : 15037 15712 xorg_cv_cc_flag_unused_command_line_argument=yes 15038 - else 15713 + else $as_nop 15039 15714 xorg_cv_cc_flag_unused_command_line_argument=no 15040 15715 fi 15041 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15716 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15042 15717 fi 15043 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15044 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15718 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15719 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15045 15720 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15046 15721 CFLAGS="$xorg_testset_save_CFLAGS" 15047 15722 fi ··· 15059 15734 15060 15735 CFLAGS="$CFLAGS -Werror=address" 15061 15736 15062 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 15063 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 15737 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 15738 + printf %s "checking if $CC supports -Werror=address... " >&6; } 15064 15739 cacheid=xorg_cv_cc_flag__Werror_address 15065 - if eval \${$cacheid+:} false; then : 15066 - $as_echo_n "(cached) " >&6 15067 - else 15740 + if eval test \${$cacheid+y} 15741 + then : 15742 + printf %s "(cached) " >&6 15743 + else $as_nop 15068 15744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15069 15745 /* end confdefs.h. */ 15070 15746 int i; 15071 15747 int 15072 - main () 15748 + main (void) 15073 15749 { 15074 15750 15075 15751 ; 15076 15752 return 0; 15077 15753 } 15078 15754 _ACEOF 15079 - if ac_fn_c_try_link "$LINENO"; then : 15755 + if ac_fn_c_try_link "$LINENO" 15756 + then : 15080 15757 eval $cacheid=yes 15081 - else 15758 + else $as_nop 15082 15759 eval $cacheid=no 15083 15760 fi 15084 - rm -f core conftest.err conftest.$ac_objext \ 15761 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15085 15762 conftest$ac_exeext conftest.$ac_ext 15086 15763 fi 15087 15764 ··· 15089 15766 CFLAGS="$xorg_testset_save_CFLAGS" 15090 15767 15091 15768 eval supported=\$$cacheid 15092 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15093 - $as_echo "$supported" >&6; } 15769 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15770 + printf "%s\n" "$supported" >&6; } 15094 15771 if test "$supported" = "yes" ; then 15095 15772 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 15096 15773 found="yes" ··· 15115 15792 15116 15793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15117 15794 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15118 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15119 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15120 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15121 - $as_echo_n "(cached) " >&6 15122 - else 15795 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15796 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15797 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15798 + then : 15799 + printf %s "(cached) " >&6 15800 + else $as_nop 15123 15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15124 15802 /* end confdefs.h. */ 15125 15803 int i; 15126 15804 _ACEOF 15127 - if ac_fn_c_try_compile "$LINENO"; then : 15805 + if ac_fn_c_try_compile "$LINENO" 15806 + then : 15128 15807 xorg_cv_cc_flag_unknown_warning_option=yes 15129 - else 15808 + else $as_nop 15130 15809 xorg_cv_cc_flag_unknown_warning_option=no 15131 15810 fi 15132 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15811 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15133 15812 fi 15134 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15135 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15813 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15814 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15136 15815 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15137 15816 CFLAGS="$xorg_testset_save_CFLAGS" 15138 15817 fi ··· 15142 15821 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15143 15822 fi 15144 15823 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15145 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15146 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15147 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15148 - $as_echo_n "(cached) " >&6 15149 - else 15824 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15825 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15826 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15827 + then : 15828 + printf %s "(cached) " >&6 15829 + else $as_nop 15150 15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15151 15831 /* end confdefs.h. */ 15152 15832 int i; 15153 15833 _ACEOF 15154 - if ac_fn_c_try_compile "$LINENO"; then : 15834 + if ac_fn_c_try_compile "$LINENO" 15835 + then : 15155 15836 xorg_cv_cc_flag_unused_command_line_argument=yes 15156 - else 15837 + else $as_nop 15157 15838 xorg_cv_cc_flag_unused_command_line_argument=no 15158 15839 fi 15159 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15840 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15160 15841 fi 15161 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15162 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15842 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15843 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15163 15844 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15164 15845 CFLAGS="$xorg_testset_save_CFLAGS" 15165 15846 fi ··· 15177 15858 15178 15859 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 15179 15860 15180 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 15181 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 15861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 15862 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 15182 15863 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 15183 - if eval \${$cacheid+:} false; then : 15184 - $as_echo_n "(cached) " >&6 15185 - else 15864 + if eval test \${$cacheid+y} 15865 + then : 15866 + printf %s "(cached) " >&6 15867 + else $as_nop 15186 15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15187 15869 /* end confdefs.h. */ 15188 15870 int i; 15189 15871 int 15190 - main () 15872 + main (void) 15191 15873 { 15192 15874 15193 15875 ; 15194 15876 return 0; 15195 15877 } 15196 15878 _ACEOF 15197 - if ac_fn_c_try_link "$LINENO"; then : 15879 + if ac_fn_c_try_link "$LINENO" 15880 + then : 15198 15881 eval $cacheid=yes 15199 - else 15882 + else $as_nop 15200 15883 eval $cacheid=no 15201 15884 fi 15202 - rm -f core conftest.err conftest.$ac_objext \ 15885 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15203 15886 conftest$ac_exeext conftest.$ac_ext 15204 15887 fi 15205 15888 ··· 15207 15890 CFLAGS="$xorg_testset_save_CFLAGS" 15208 15891 15209 15892 eval supported=\$$cacheid 15210 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15211 - $as_echo "$supported" >&6; } 15893 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15894 + printf "%s\n" "$supported" >&6; } 15212 15895 if test "$supported" = "yes" ; then 15213 15896 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 15214 15897 found="yes" ··· 15226 15909 15227 15910 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 15228 15911 15229 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 15230 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 15912 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 15913 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 15231 15914 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 15232 - if eval \${$cacheid+:} false; then : 15233 - $as_echo_n "(cached) " >&6 15234 - else 15915 + if eval test \${$cacheid+y} 15916 + then : 15917 + printf %s "(cached) " >&6 15918 + else $as_nop 15235 15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15236 15920 /* end confdefs.h. */ 15237 15921 int i; 15238 15922 int 15239 - main () 15923 + main (void) 15240 15924 { 15241 15925 15242 15926 ; 15243 15927 return 0; 15244 15928 } 15245 15929 _ACEOF 15246 - if ac_fn_c_try_link "$LINENO"; then : 15930 + if ac_fn_c_try_link "$LINENO" 15931 + then : 15247 15932 eval $cacheid=yes 15248 - else 15933 + else $as_nop 15249 15934 eval $cacheid=no 15250 15935 fi 15251 - rm -f core conftest.err conftest.$ac_objext \ 15936 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15252 15937 conftest$ac_exeext conftest.$ac_ext 15253 15938 fi 15254 15939 ··· 15256 15941 CFLAGS="$xorg_testset_save_CFLAGS" 15257 15942 15258 15943 eval supported=\$$cacheid 15259 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15260 - $as_echo "$supported" >&6; } 15944 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15945 + printf "%s\n" "$supported" >&6; } 15261 15946 if test "$supported" = "yes" ; then 15262 15947 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 15263 15948 found="yes" ··· 15282 15967 15283 15968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15284 15969 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15285 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15286 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15287 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15288 - $as_echo_n "(cached) " >&6 15289 - else 15970 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15971 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15972 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15973 + then : 15974 + printf %s "(cached) " >&6 15975 + else $as_nop 15290 15976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15291 15977 /* end confdefs.h. */ 15292 15978 int i; 15293 15979 _ACEOF 15294 - if ac_fn_c_try_compile "$LINENO"; then : 15980 + if ac_fn_c_try_compile "$LINENO" 15981 + then : 15295 15982 xorg_cv_cc_flag_unknown_warning_option=yes 15296 - else 15983 + else $as_nop 15297 15984 xorg_cv_cc_flag_unknown_warning_option=no 15298 15985 fi 15299 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15986 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15300 15987 fi 15301 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15302 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15988 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15989 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15303 15990 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15304 15991 CFLAGS="$xorg_testset_save_CFLAGS" 15305 15992 fi ··· 15309 15996 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15310 15997 fi 15311 15998 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15312 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15313 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15314 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15315 - $as_echo_n "(cached) " >&6 15316 - else 15999 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16000 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16001 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16002 + then : 16003 + printf %s "(cached) " >&6 16004 + else $as_nop 15317 16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15318 16006 /* end confdefs.h. */ 15319 16007 int i; 15320 16008 _ACEOF 15321 - if ac_fn_c_try_compile "$LINENO"; then : 16009 + if ac_fn_c_try_compile "$LINENO" 16010 + then : 15322 16011 xorg_cv_cc_flag_unused_command_line_argument=yes 15323 - else 16012 + else $as_nop 15324 16013 xorg_cv_cc_flag_unused_command_line_argument=no 15325 16014 fi 15326 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16015 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15327 16016 fi 15328 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15329 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16017 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16018 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15330 16019 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15331 16020 CFLAGS="$xorg_testset_save_CFLAGS" 15332 16021 fi ··· 15344 16033 15345 16034 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 15346 16035 15347 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 15348 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 16036 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 16037 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 15349 16038 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 15350 - if eval \${$cacheid+:} false; then : 15351 - $as_echo_n "(cached) " >&6 15352 - else 16039 + if eval test \${$cacheid+y} 16040 + then : 16041 + printf %s "(cached) " >&6 16042 + else $as_nop 15353 16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15354 16044 /* end confdefs.h. */ 15355 16045 int i; 15356 16046 int 15357 - main () 16047 + main (void) 15358 16048 { 15359 16049 15360 16050 ; 15361 16051 return 0; 15362 16052 } 15363 16053 _ACEOF 15364 - if ac_fn_c_try_link "$LINENO"; then : 16054 + if ac_fn_c_try_link "$LINENO" 16055 + then : 15365 16056 eval $cacheid=yes 15366 - else 16057 + else $as_nop 15367 16058 eval $cacheid=no 15368 16059 fi 15369 - rm -f core conftest.err conftest.$ac_objext \ 16060 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15370 16061 conftest$ac_exeext conftest.$ac_ext 15371 16062 fi 15372 16063 ··· 15374 16065 CFLAGS="$xorg_testset_save_CFLAGS" 15375 16066 15376 16067 eval supported=\$$cacheid 15377 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15378 - $as_echo "$supported" >&6; } 16068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16069 + printf "%s\n" "$supported" >&6; } 15379 16070 if test "$supported" = "yes" ; then 15380 16071 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 15381 16072 found="yes" ··· 15384 16075 15385 16076 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 15386 16077 else 15387 - { $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 15388 - $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;} 16078 + { 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 16079 + 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;} 15389 16080 15390 16081 15391 16082 ··· 15403 16094 15404 16095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15405 16096 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15406 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15407 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15408 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15409 - $as_echo_n "(cached) " >&6 15410 - else 16097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16098 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16099 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16100 + then : 16101 + printf %s "(cached) " >&6 16102 + else $as_nop 15411 16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15412 16104 /* end confdefs.h. */ 15413 16105 int i; 15414 16106 _ACEOF 15415 - if ac_fn_c_try_compile "$LINENO"; then : 16107 + if ac_fn_c_try_compile "$LINENO" 16108 + then : 15416 16109 xorg_cv_cc_flag_unknown_warning_option=yes 15417 - else 16110 + else $as_nop 15418 16111 xorg_cv_cc_flag_unknown_warning_option=no 15419 16112 fi 15420 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16113 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15421 16114 fi 15422 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15423 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16116 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15424 16117 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15425 16118 CFLAGS="$xorg_testset_save_CFLAGS" 15426 16119 fi ··· 15430 16123 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15431 16124 fi 15432 16125 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15433 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15434 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15435 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15436 - $as_echo_n "(cached) " >&6 15437 - else 16126 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16127 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16128 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16129 + then : 16130 + printf %s "(cached) " >&6 16131 + else $as_nop 15438 16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15439 16133 /* end confdefs.h. */ 15440 16134 int i; 15441 16135 _ACEOF 15442 - if ac_fn_c_try_compile "$LINENO"; then : 16136 + if ac_fn_c_try_compile "$LINENO" 16137 + then : 15443 16138 xorg_cv_cc_flag_unused_command_line_argument=yes 15444 - else 16139 + else $as_nop 15445 16140 xorg_cv_cc_flag_unused_command_line_argument=no 15446 16141 fi 15447 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16142 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15448 16143 fi 15449 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15450 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16144 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16145 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15451 16146 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15452 16147 CFLAGS="$xorg_testset_save_CFLAGS" 15453 16148 fi ··· 15465 16160 15466 16161 CFLAGS="$CFLAGS -Wimplicit" 15467 16162 15468 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 15469 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 16163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 16164 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 15470 16165 cacheid=xorg_cv_cc_flag__Wimplicit 15471 - if eval \${$cacheid+:} false; then : 15472 - $as_echo_n "(cached) " >&6 15473 - else 16166 + if eval test \${$cacheid+y} 16167 + then : 16168 + printf %s "(cached) " >&6 16169 + else $as_nop 15474 16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15475 16171 /* end confdefs.h. */ 15476 16172 int i; 15477 16173 int 15478 - main () 16174 + main (void) 15479 16175 { 15480 16176 15481 16177 ; 15482 16178 return 0; 15483 16179 } 15484 16180 _ACEOF 15485 - if ac_fn_c_try_link "$LINENO"; then : 16181 + if ac_fn_c_try_link "$LINENO" 16182 + then : 15486 16183 eval $cacheid=yes 15487 - else 16184 + else $as_nop 15488 16185 eval $cacheid=no 15489 16186 fi 15490 - rm -f core conftest.err conftest.$ac_objext \ 16187 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15491 16188 conftest$ac_exeext conftest.$ac_ext 15492 16189 fi 15493 16190 ··· 15495 16192 CFLAGS="$xorg_testset_save_CFLAGS" 15496 16193 15497 16194 eval supported=\$$cacheid 15498 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15499 - $as_echo "$supported" >&6; } 16195 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16196 + printf "%s\n" "$supported" >&6; } 15500 16197 if test "$supported" = "yes" ; then 15501 16198 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 15502 16199 found="yes" ··· 15521 16218 15522 16219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15523 16220 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15524 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15525 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15526 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15527 - $as_echo_n "(cached) " >&6 15528 - else 16221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16222 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16223 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16224 + then : 16225 + printf %s "(cached) " >&6 16226 + else $as_nop 15529 16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15530 16228 /* end confdefs.h. */ 15531 16229 int i; 15532 16230 _ACEOF 15533 - if ac_fn_c_try_compile "$LINENO"; then : 16231 + if ac_fn_c_try_compile "$LINENO" 16232 + then : 15534 16233 xorg_cv_cc_flag_unknown_warning_option=yes 15535 - else 16234 + else $as_nop 15536 16235 xorg_cv_cc_flag_unknown_warning_option=no 15537 16236 fi 15538 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16237 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15539 16238 fi 15540 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15541 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16239 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16240 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15542 16241 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15543 16242 CFLAGS="$xorg_testset_save_CFLAGS" 15544 16243 fi ··· 15548 16247 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15549 16248 fi 15550 16249 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15551 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15552 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15553 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15554 - $as_echo_n "(cached) " >&6 15555 - else 16250 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16251 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16252 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16253 + then : 16254 + printf %s "(cached) " >&6 16255 + else $as_nop 15556 16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15557 16257 /* end confdefs.h. */ 15558 16258 int i; 15559 16259 _ACEOF 15560 - if ac_fn_c_try_compile "$LINENO"; then : 16260 + if ac_fn_c_try_compile "$LINENO" 16261 + then : 15561 16262 xorg_cv_cc_flag_unused_command_line_argument=yes 15562 - else 16263 + else $as_nop 15563 16264 xorg_cv_cc_flag_unused_command_line_argument=no 15564 16265 fi 15565 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16266 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15566 16267 fi 15567 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15568 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16268 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16269 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15569 16270 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15570 16271 CFLAGS="$xorg_testset_save_CFLAGS" 15571 16272 fi ··· 15583 16284 15584 16285 CFLAGS="$CFLAGS -Wnonnull" 15585 16286 15586 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 15587 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 16287 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 16288 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 15588 16289 cacheid=xorg_cv_cc_flag__Wnonnull 15589 - if eval \${$cacheid+:} false; then : 15590 - $as_echo_n "(cached) " >&6 15591 - else 16290 + if eval test \${$cacheid+y} 16291 + then : 16292 + printf %s "(cached) " >&6 16293 + else $as_nop 15592 16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15593 16295 /* end confdefs.h. */ 15594 16296 int i; 15595 16297 int 15596 - main () 16298 + main (void) 15597 16299 { 15598 16300 15599 16301 ; 15600 16302 return 0; 15601 16303 } 15602 16304 _ACEOF 15603 - if ac_fn_c_try_link "$LINENO"; then : 16305 + if ac_fn_c_try_link "$LINENO" 16306 + then : 15604 16307 eval $cacheid=yes 15605 - else 16308 + else $as_nop 15606 16309 eval $cacheid=no 15607 16310 fi 15608 - rm -f core conftest.err conftest.$ac_objext \ 16311 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15609 16312 conftest$ac_exeext conftest.$ac_ext 15610 16313 fi 15611 16314 ··· 15613 16316 CFLAGS="$xorg_testset_save_CFLAGS" 15614 16317 15615 16318 eval supported=\$$cacheid 15616 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15617 - $as_echo "$supported" >&6; } 16319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16320 + printf "%s\n" "$supported" >&6; } 15618 16321 if test "$supported" = "yes" ; then 15619 16322 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 15620 16323 found="yes" ··· 15639 16342 15640 16343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15641 16344 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15642 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15643 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15644 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15645 - $as_echo_n "(cached) " >&6 15646 - else 16345 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16346 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16347 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16348 + then : 16349 + printf %s "(cached) " >&6 16350 + else $as_nop 15647 16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15648 16352 /* end confdefs.h. */ 15649 16353 int i; 15650 16354 _ACEOF 15651 - if ac_fn_c_try_compile "$LINENO"; then : 16355 + if ac_fn_c_try_compile "$LINENO" 16356 + then : 15652 16357 xorg_cv_cc_flag_unknown_warning_option=yes 15653 - else 16358 + else $as_nop 15654 16359 xorg_cv_cc_flag_unknown_warning_option=no 15655 16360 fi 15656 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16361 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15657 16362 fi 15658 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15659 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16363 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16364 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15660 16365 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15661 16366 CFLAGS="$xorg_testset_save_CFLAGS" 15662 16367 fi ··· 15666 16371 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15667 16372 fi 15668 16373 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15669 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15670 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15671 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15672 - $as_echo_n "(cached) " >&6 15673 - else 16374 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16375 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16376 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16377 + then : 16378 + printf %s "(cached) " >&6 16379 + else $as_nop 15674 16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15675 16381 /* end confdefs.h. */ 15676 16382 int i; 15677 16383 _ACEOF 15678 - if ac_fn_c_try_compile "$LINENO"; then : 16384 + if ac_fn_c_try_compile "$LINENO" 16385 + then : 15679 16386 xorg_cv_cc_flag_unused_command_line_argument=yes 15680 - else 16387 + else $as_nop 15681 16388 xorg_cv_cc_flag_unused_command_line_argument=no 15682 16389 fi 15683 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16390 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15684 16391 fi 15685 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15686 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16392 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16393 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15687 16394 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15688 16395 CFLAGS="$xorg_testset_save_CFLAGS" 15689 16396 fi ··· 15701 16408 15702 16409 CFLAGS="$CFLAGS -Winit-self" 15703 16410 15704 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 15705 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 16411 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 16412 + printf %s "checking if $CC supports -Winit-self... " >&6; } 15706 16413 cacheid=xorg_cv_cc_flag__Winit_self 15707 - if eval \${$cacheid+:} false; then : 15708 - $as_echo_n "(cached) " >&6 15709 - else 16414 + if eval test \${$cacheid+y} 16415 + then : 16416 + printf %s "(cached) " >&6 16417 + else $as_nop 15710 16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15711 16419 /* end confdefs.h. */ 15712 16420 int i; 15713 16421 int 15714 - main () 16422 + main (void) 15715 16423 { 15716 16424 15717 16425 ; 15718 16426 return 0; 15719 16427 } 15720 16428 _ACEOF 15721 - if ac_fn_c_try_link "$LINENO"; then : 16429 + if ac_fn_c_try_link "$LINENO" 16430 + then : 15722 16431 eval $cacheid=yes 15723 - else 16432 + else $as_nop 15724 16433 eval $cacheid=no 15725 16434 fi 15726 - rm -f core conftest.err conftest.$ac_objext \ 16435 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15727 16436 conftest$ac_exeext conftest.$ac_ext 15728 16437 fi 15729 16438 ··· 15731 16440 CFLAGS="$xorg_testset_save_CFLAGS" 15732 16441 15733 16442 eval supported=\$$cacheid 15734 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15735 - $as_echo "$supported" >&6; } 16443 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16444 + printf "%s\n" "$supported" >&6; } 15736 16445 if test "$supported" = "yes" ; then 15737 16446 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 15738 16447 found="yes" ··· 15757 16466 15758 16467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15759 16468 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15760 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15761 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15762 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15763 - $as_echo_n "(cached) " >&6 15764 - else 16469 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16470 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16471 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16472 + then : 16473 + printf %s "(cached) " >&6 16474 + else $as_nop 15765 16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15766 16476 /* end confdefs.h. */ 15767 16477 int i; 15768 16478 _ACEOF 15769 - if ac_fn_c_try_compile "$LINENO"; then : 16479 + if ac_fn_c_try_compile "$LINENO" 16480 + then : 15770 16481 xorg_cv_cc_flag_unknown_warning_option=yes 15771 - else 16482 + else $as_nop 15772 16483 xorg_cv_cc_flag_unknown_warning_option=no 15773 16484 fi 15774 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16485 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15775 16486 fi 15776 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15777 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16487 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16488 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15778 16489 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15779 16490 CFLAGS="$xorg_testset_save_CFLAGS" 15780 16491 fi ··· 15784 16495 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15785 16496 fi 15786 16497 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15787 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15788 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15789 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15790 - $as_echo_n "(cached) " >&6 15791 - else 16498 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16499 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16500 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16501 + then : 16502 + printf %s "(cached) " >&6 16503 + else $as_nop 15792 16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15793 16505 /* end confdefs.h. */ 15794 16506 int i; 15795 16507 _ACEOF 15796 - if ac_fn_c_try_compile "$LINENO"; then : 16508 + if ac_fn_c_try_compile "$LINENO" 16509 + then : 15797 16510 xorg_cv_cc_flag_unused_command_line_argument=yes 15798 - else 16511 + else $as_nop 15799 16512 xorg_cv_cc_flag_unused_command_line_argument=no 15800 16513 fi 15801 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16514 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15802 16515 fi 15803 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15804 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16516 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16517 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15805 16518 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15806 16519 CFLAGS="$xorg_testset_save_CFLAGS" 15807 16520 fi ··· 15819 16532 15820 16533 CFLAGS="$CFLAGS -Wmain" 15821 16534 15822 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 15823 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 16535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 16536 + printf %s "checking if $CC supports -Wmain... " >&6; } 15824 16537 cacheid=xorg_cv_cc_flag__Wmain 15825 - if eval \${$cacheid+:} false; then : 15826 - $as_echo_n "(cached) " >&6 15827 - else 16538 + if eval test \${$cacheid+y} 16539 + then : 16540 + printf %s "(cached) " >&6 16541 + else $as_nop 15828 16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15829 16543 /* end confdefs.h. */ 15830 16544 int i; 15831 16545 int 15832 - main () 16546 + main (void) 15833 16547 { 15834 16548 15835 16549 ; 15836 16550 return 0; 15837 16551 } 15838 16552 _ACEOF 15839 - if ac_fn_c_try_link "$LINENO"; then : 16553 + if ac_fn_c_try_link "$LINENO" 16554 + then : 15840 16555 eval $cacheid=yes 15841 - else 16556 + else $as_nop 15842 16557 eval $cacheid=no 15843 16558 fi 15844 - rm -f core conftest.err conftest.$ac_objext \ 16559 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15845 16560 conftest$ac_exeext conftest.$ac_ext 15846 16561 fi 15847 16562 ··· 15849 16564 CFLAGS="$xorg_testset_save_CFLAGS" 15850 16565 15851 16566 eval supported=\$$cacheid 15852 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15853 - $as_echo "$supported" >&6; } 16567 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16568 + printf "%s\n" "$supported" >&6; } 15854 16569 if test "$supported" = "yes" ; then 15855 16570 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 15856 16571 found="yes" ··· 15875 16590 15876 16591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15877 16592 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15878 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15879 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15880 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15881 - $as_echo_n "(cached) " >&6 15882 - else 16593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16594 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16595 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16596 + then : 16597 + printf %s "(cached) " >&6 16598 + else $as_nop 15883 16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15884 16600 /* end confdefs.h. */ 15885 16601 int i; 15886 16602 _ACEOF 15887 - if ac_fn_c_try_compile "$LINENO"; then : 16603 + if ac_fn_c_try_compile "$LINENO" 16604 + then : 15888 16605 xorg_cv_cc_flag_unknown_warning_option=yes 15889 - else 16606 + else $as_nop 15890 16607 xorg_cv_cc_flag_unknown_warning_option=no 15891 16608 fi 15892 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16609 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15893 16610 fi 15894 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15895 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16611 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16612 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15896 16613 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15897 16614 CFLAGS="$xorg_testset_save_CFLAGS" 15898 16615 fi ··· 15902 16619 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15903 16620 fi 15904 16621 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15905 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15906 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15907 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15908 - $as_echo_n "(cached) " >&6 15909 - else 16622 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16623 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16624 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16625 + then : 16626 + printf %s "(cached) " >&6 16627 + else $as_nop 15910 16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15911 16629 /* end confdefs.h. */ 15912 16630 int i; 15913 16631 _ACEOF 15914 - if ac_fn_c_try_compile "$LINENO"; then : 16632 + if ac_fn_c_try_compile "$LINENO" 16633 + then : 15915 16634 xorg_cv_cc_flag_unused_command_line_argument=yes 15916 - else 16635 + else $as_nop 15917 16636 xorg_cv_cc_flag_unused_command_line_argument=no 15918 16637 fi 15919 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16638 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15920 16639 fi 15921 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15922 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16640 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16641 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15923 16642 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15924 16643 CFLAGS="$xorg_testset_save_CFLAGS" 15925 16644 fi ··· 15937 16656 15938 16657 CFLAGS="$CFLAGS -Wmissing-braces" 15939 16658 15940 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 15941 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 16659 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 16660 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 15942 16661 cacheid=xorg_cv_cc_flag__Wmissing_braces 15943 - if eval \${$cacheid+:} false; then : 15944 - $as_echo_n "(cached) " >&6 15945 - else 16662 + if eval test \${$cacheid+y} 16663 + then : 16664 + printf %s "(cached) " >&6 16665 + else $as_nop 15946 16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15947 16667 /* end confdefs.h. */ 15948 16668 int i; 15949 16669 int 15950 - main () 16670 + main (void) 15951 16671 { 15952 16672 15953 16673 ; 15954 16674 return 0; 15955 16675 } 15956 16676 _ACEOF 15957 - if ac_fn_c_try_link "$LINENO"; then : 16677 + if ac_fn_c_try_link "$LINENO" 16678 + then : 15958 16679 eval $cacheid=yes 15959 - else 16680 + else $as_nop 15960 16681 eval $cacheid=no 15961 16682 fi 15962 - rm -f core conftest.err conftest.$ac_objext \ 16683 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15963 16684 conftest$ac_exeext conftest.$ac_ext 15964 16685 fi 15965 16686 ··· 15967 16688 CFLAGS="$xorg_testset_save_CFLAGS" 15968 16689 15969 16690 eval supported=\$$cacheid 15970 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15971 - $as_echo "$supported" >&6; } 16691 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16692 + printf "%s\n" "$supported" >&6; } 15972 16693 if test "$supported" = "yes" ; then 15973 16694 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 15974 16695 found="yes" ··· 15993 16714 15994 16715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15995 16716 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15996 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15997 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15998 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15999 - $as_echo_n "(cached) " >&6 16000 - else 16717 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16718 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16719 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16720 + then : 16721 + printf %s "(cached) " >&6 16722 + else $as_nop 16001 16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16002 16724 /* end confdefs.h. */ 16003 16725 int i; 16004 16726 _ACEOF 16005 - if ac_fn_c_try_compile "$LINENO"; then : 16727 + if ac_fn_c_try_compile "$LINENO" 16728 + then : 16006 16729 xorg_cv_cc_flag_unknown_warning_option=yes 16007 - else 16730 + else $as_nop 16008 16731 xorg_cv_cc_flag_unknown_warning_option=no 16009 16732 fi 16010 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16733 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16011 16734 fi 16012 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16013 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16735 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16736 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16014 16737 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16015 16738 CFLAGS="$xorg_testset_save_CFLAGS" 16016 16739 fi ··· 16020 16743 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16021 16744 fi 16022 16745 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16023 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16024 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16025 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16026 - $as_echo_n "(cached) " >&6 16027 - else 16746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16747 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16748 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16749 + then : 16750 + printf %s "(cached) " >&6 16751 + else $as_nop 16028 16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16029 16753 /* end confdefs.h. */ 16030 16754 int i; 16031 16755 _ACEOF 16032 - if ac_fn_c_try_compile "$LINENO"; then : 16756 + if ac_fn_c_try_compile "$LINENO" 16757 + then : 16033 16758 xorg_cv_cc_flag_unused_command_line_argument=yes 16034 - else 16759 + else $as_nop 16035 16760 xorg_cv_cc_flag_unused_command_line_argument=no 16036 16761 fi 16037 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16762 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16038 16763 fi 16039 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16040 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16764 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16765 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16041 16766 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16042 16767 CFLAGS="$xorg_testset_save_CFLAGS" 16043 16768 fi ··· 16055 16780 16056 16781 CFLAGS="$CFLAGS -Wsequence-point" 16057 16782 16058 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 16059 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 16783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 16784 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 16060 16785 cacheid=xorg_cv_cc_flag__Wsequence_point 16061 - if eval \${$cacheid+:} false; then : 16062 - $as_echo_n "(cached) " >&6 16063 - else 16786 + if eval test \${$cacheid+y} 16787 + then : 16788 + printf %s "(cached) " >&6 16789 + else $as_nop 16064 16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16065 16791 /* end confdefs.h. */ 16066 16792 int i; 16067 16793 int 16068 - main () 16794 + main (void) 16069 16795 { 16070 16796 16071 16797 ; 16072 16798 return 0; 16073 16799 } 16074 16800 _ACEOF 16075 - if ac_fn_c_try_link "$LINENO"; then : 16801 + if ac_fn_c_try_link "$LINENO" 16802 + then : 16076 16803 eval $cacheid=yes 16077 - else 16804 + else $as_nop 16078 16805 eval $cacheid=no 16079 16806 fi 16080 - rm -f core conftest.err conftest.$ac_objext \ 16807 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16081 16808 conftest$ac_exeext conftest.$ac_ext 16082 16809 fi 16083 16810 ··· 16085 16812 CFLAGS="$xorg_testset_save_CFLAGS" 16086 16813 16087 16814 eval supported=\$$cacheid 16088 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16089 - $as_echo "$supported" >&6; } 16815 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16816 + printf "%s\n" "$supported" >&6; } 16090 16817 if test "$supported" = "yes" ; then 16091 16818 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 16092 16819 found="yes" ··· 16111 16838 16112 16839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16113 16840 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16114 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16115 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16116 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16117 - $as_echo_n "(cached) " >&6 16118 - else 16841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16842 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16843 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16844 + then : 16845 + printf %s "(cached) " >&6 16846 + else $as_nop 16119 16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16120 16848 /* end confdefs.h. */ 16121 16849 int i; 16122 16850 _ACEOF 16123 - if ac_fn_c_try_compile "$LINENO"; then : 16851 + if ac_fn_c_try_compile "$LINENO" 16852 + then : 16124 16853 xorg_cv_cc_flag_unknown_warning_option=yes 16125 - else 16854 + else $as_nop 16126 16855 xorg_cv_cc_flag_unknown_warning_option=no 16127 16856 fi 16128 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16857 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16129 16858 fi 16130 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16131 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16859 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16860 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16132 16861 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16133 16862 CFLAGS="$xorg_testset_save_CFLAGS" 16134 16863 fi ··· 16138 16867 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16139 16868 fi 16140 16869 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16141 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16142 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16143 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16144 - $as_echo_n "(cached) " >&6 16145 - else 16870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16871 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16872 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16873 + then : 16874 + printf %s "(cached) " >&6 16875 + else $as_nop 16146 16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16147 16877 /* end confdefs.h. */ 16148 16878 int i; 16149 16879 _ACEOF 16150 - if ac_fn_c_try_compile "$LINENO"; then : 16880 + if ac_fn_c_try_compile "$LINENO" 16881 + then : 16151 16882 xorg_cv_cc_flag_unused_command_line_argument=yes 16152 - else 16883 + else $as_nop 16153 16884 xorg_cv_cc_flag_unused_command_line_argument=no 16154 16885 fi 16155 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16886 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16156 16887 fi 16157 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16158 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16888 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16889 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16159 16890 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16160 16891 CFLAGS="$xorg_testset_save_CFLAGS" 16161 16892 fi ··· 16173 16904 16174 16905 CFLAGS="$CFLAGS -Wreturn-type" 16175 16906 16176 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 16177 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 16907 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 16908 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 16178 16909 cacheid=xorg_cv_cc_flag__Wreturn_type 16179 - if eval \${$cacheid+:} false; then : 16180 - $as_echo_n "(cached) " >&6 16181 - else 16910 + if eval test \${$cacheid+y} 16911 + then : 16912 + printf %s "(cached) " >&6 16913 + else $as_nop 16182 16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16183 16915 /* end confdefs.h. */ 16184 16916 int i; 16185 16917 int 16186 - main () 16918 + main (void) 16187 16919 { 16188 16920 16189 16921 ; 16190 16922 return 0; 16191 16923 } 16192 16924 _ACEOF 16193 - if ac_fn_c_try_link "$LINENO"; then : 16925 + if ac_fn_c_try_link "$LINENO" 16926 + then : 16194 16927 eval $cacheid=yes 16195 - else 16928 + else $as_nop 16196 16929 eval $cacheid=no 16197 16930 fi 16198 - rm -f core conftest.err conftest.$ac_objext \ 16931 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16199 16932 conftest$ac_exeext conftest.$ac_ext 16200 16933 fi 16201 16934 ··· 16203 16936 CFLAGS="$xorg_testset_save_CFLAGS" 16204 16937 16205 16938 eval supported=\$$cacheid 16206 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16207 - $as_echo "$supported" >&6; } 16939 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16940 + printf "%s\n" "$supported" >&6; } 16208 16941 if test "$supported" = "yes" ; then 16209 16942 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 16210 16943 found="yes" ··· 16229 16962 16230 16963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16231 16964 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16232 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16233 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16234 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16235 - $as_echo_n "(cached) " >&6 16236 - else 16965 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16966 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16967 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16968 + then : 16969 + printf %s "(cached) " >&6 16970 + else $as_nop 16237 16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16238 16972 /* end confdefs.h. */ 16239 16973 int i; 16240 16974 _ACEOF 16241 - if ac_fn_c_try_compile "$LINENO"; then : 16975 + if ac_fn_c_try_compile "$LINENO" 16976 + then : 16242 16977 xorg_cv_cc_flag_unknown_warning_option=yes 16243 - else 16978 + else $as_nop 16244 16979 xorg_cv_cc_flag_unknown_warning_option=no 16245 16980 fi 16246 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16981 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16247 16982 fi 16248 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16249 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16983 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16984 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16250 16985 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16251 16986 CFLAGS="$xorg_testset_save_CFLAGS" 16252 16987 fi ··· 16256 16991 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16257 16992 fi 16258 16993 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16259 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16260 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16261 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16262 - $as_echo_n "(cached) " >&6 16263 - else 16994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16995 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16996 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16997 + then : 16998 + printf %s "(cached) " >&6 16999 + else $as_nop 16264 17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16265 17001 /* end confdefs.h. */ 16266 17002 int i; 16267 17003 _ACEOF 16268 - if ac_fn_c_try_compile "$LINENO"; then : 17004 + if ac_fn_c_try_compile "$LINENO" 17005 + then : 16269 17006 xorg_cv_cc_flag_unused_command_line_argument=yes 16270 - else 17007 + else $as_nop 16271 17008 xorg_cv_cc_flag_unused_command_line_argument=no 16272 17009 fi 16273 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17010 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16274 17011 fi 16275 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16276 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17012 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17013 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16277 17014 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16278 17015 CFLAGS="$xorg_testset_save_CFLAGS" 16279 17016 fi ··· 16291 17028 16292 17029 CFLAGS="$CFLAGS -Wtrigraphs" 16293 17030 16294 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 16295 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 17031 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 17032 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 16296 17033 cacheid=xorg_cv_cc_flag__Wtrigraphs 16297 - if eval \${$cacheid+:} false; then : 16298 - $as_echo_n "(cached) " >&6 16299 - else 17034 + if eval test \${$cacheid+y} 17035 + then : 17036 + printf %s "(cached) " >&6 17037 + else $as_nop 16300 17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16301 17039 /* end confdefs.h. */ 16302 17040 int i; 16303 17041 int 16304 - main () 17042 + main (void) 16305 17043 { 16306 17044 16307 17045 ; 16308 17046 return 0; 16309 17047 } 16310 17048 _ACEOF 16311 - if ac_fn_c_try_link "$LINENO"; then : 17049 + if ac_fn_c_try_link "$LINENO" 17050 + then : 16312 17051 eval $cacheid=yes 16313 - else 17052 + else $as_nop 16314 17053 eval $cacheid=no 16315 17054 fi 16316 - rm -f core conftest.err conftest.$ac_objext \ 17055 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16317 17056 conftest$ac_exeext conftest.$ac_ext 16318 17057 fi 16319 17058 ··· 16321 17060 CFLAGS="$xorg_testset_save_CFLAGS" 16322 17061 16323 17062 eval supported=\$$cacheid 16324 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16325 - $as_echo "$supported" >&6; } 17063 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17064 + printf "%s\n" "$supported" >&6; } 16326 17065 if test "$supported" = "yes" ; then 16327 17066 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 16328 17067 found="yes" ··· 16347 17086 16348 17087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16349 17088 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16350 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16351 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16352 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16353 - $as_echo_n "(cached) " >&6 16354 - else 17089 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17090 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17091 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17092 + then : 17093 + printf %s "(cached) " >&6 17094 + else $as_nop 16355 17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16356 17096 /* end confdefs.h. */ 16357 17097 int i; 16358 17098 _ACEOF 16359 - if ac_fn_c_try_compile "$LINENO"; then : 17099 + if ac_fn_c_try_compile "$LINENO" 17100 + then : 16360 17101 xorg_cv_cc_flag_unknown_warning_option=yes 16361 - else 17102 + else $as_nop 16362 17103 xorg_cv_cc_flag_unknown_warning_option=no 16363 17104 fi 16364 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17105 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16365 17106 fi 16366 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16367 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17107 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17108 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16368 17109 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16369 17110 CFLAGS="$xorg_testset_save_CFLAGS" 16370 17111 fi ··· 16374 17115 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16375 17116 fi 16376 17117 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16377 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16378 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16379 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16380 - $as_echo_n "(cached) " >&6 16381 - else 17118 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17119 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17120 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17121 + then : 17122 + printf %s "(cached) " >&6 17123 + else $as_nop 16382 17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16383 17125 /* end confdefs.h. */ 16384 17126 int i; 16385 17127 _ACEOF 16386 - if ac_fn_c_try_compile "$LINENO"; then : 17128 + if ac_fn_c_try_compile "$LINENO" 17129 + then : 16387 17130 xorg_cv_cc_flag_unused_command_line_argument=yes 16388 - else 17131 + else $as_nop 16389 17132 xorg_cv_cc_flag_unused_command_line_argument=no 16390 17133 fi 16391 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17134 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16392 17135 fi 16393 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16394 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17136 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17137 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16395 17138 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16396 17139 CFLAGS="$xorg_testset_save_CFLAGS" 16397 17140 fi ··· 16409 17152 16410 17153 CFLAGS="$CFLAGS -Warray-bounds" 16411 17154 16412 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 16413 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 17155 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 17156 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 16414 17157 cacheid=xorg_cv_cc_flag__Warray_bounds 16415 - if eval \${$cacheid+:} false; then : 16416 - $as_echo_n "(cached) " >&6 16417 - else 17158 + if eval test \${$cacheid+y} 17159 + then : 17160 + printf %s "(cached) " >&6 17161 + else $as_nop 16418 17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16419 17163 /* end confdefs.h. */ 16420 17164 int i; 16421 17165 int 16422 - main () 17166 + main (void) 16423 17167 { 16424 17168 16425 17169 ; 16426 17170 return 0; 16427 17171 } 16428 17172 _ACEOF 16429 - if ac_fn_c_try_link "$LINENO"; then : 17173 + if ac_fn_c_try_link "$LINENO" 17174 + then : 16430 17175 eval $cacheid=yes 16431 - else 17176 + else $as_nop 16432 17177 eval $cacheid=no 16433 17178 fi 16434 - rm -f core conftest.err conftest.$ac_objext \ 17179 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16435 17180 conftest$ac_exeext conftest.$ac_ext 16436 17181 fi 16437 17182 ··· 16439 17184 CFLAGS="$xorg_testset_save_CFLAGS" 16440 17185 16441 17186 eval supported=\$$cacheid 16442 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16443 - $as_echo "$supported" >&6; } 17187 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17188 + printf "%s\n" "$supported" >&6; } 16444 17189 if test "$supported" = "yes" ; then 16445 17190 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 16446 17191 found="yes" ··· 16465 17210 16466 17211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16467 17212 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16468 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16469 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16470 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16471 - $as_echo_n "(cached) " >&6 16472 - else 17213 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17214 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17215 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17216 + then : 17217 + printf %s "(cached) " >&6 17218 + else $as_nop 16473 17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16474 17220 /* end confdefs.h. */ 16475 17221 int i; 16476 17222 _ACEOF 16477 - if ac_fn_c_try_compile "$LINENO"; then : 17223 + if ac_fn_c_try_compile "$LINENO" 17224 + then : 16478 17225 xorg_cv_cc_flag_unknown_warning_option=yes 16479 - else 17226 + else $as_nop 16480 17227 xorg_cv_cc_flag_unknown_warning_option=no 16481 17228 fi 16482 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17229 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16483 17230 fi 16484 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16485 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17231 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17232 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16486 17233 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16487 17234 CFLAGS="$xorg_testset_save_CFLAGS" 16488 17235 fi ··· 16492 17239 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16493 17240 fi 16494 17241 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16495 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16496 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16497 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16498 - $as_echo_n "(cached) " >&6 16499 - else 17242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17243 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17244 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17245 + then : 17246 + printf %s "(cached) " >&6 17247 + else $as_nop 16500 17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16501 17249 /* end confdefs.h. */ 16502 17250 int i; 16503 17251 _ACEOF 16504 - if ac_fn_c_try_compile "$LINENO"; then : 17252 + if ac_fn_c_try_compile "$LINENO" 17253 + then : 16505 17254 xorg_cv_cc_flag_unused_command_line_argument=yes 16506 - else 17255 + else $as_nop 16507 17256 xorg_cv_cc_flag_unused_command_line_argument=no 16508 17257 fi 16509 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17258 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16510 17259 fi 16511 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16512 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17260 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17261 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16513 17262 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16514 17263 CFLAGS="$xorg_testset_save_CFLAGS" 16515 17264 fi ··· 16527 17276 16528 17277 CFLAGS="$CFLAGS -Wwrite-strings" 16529 17278 16530 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 16531 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 17279 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 17280 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 16532 17281 cacheid=xorg_cv_cc_flag__Wwrite_strings 16533 - if eval \${$cacheid+:} false; then : 16534 - $as_echo_n "(cached) " >&6 16535 - else 17282 + if eval test \${$cacheid+y} 17283 + then : 17284 + printf %s "(cached) " >&6 17285 + else $as_nop 16536 17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16537 17287 /* end confdefs.h. */ 16538 17288 int i; 16539 17289 int 16540 - main () 17290 + main (void) 16541 17291 { 16542 17292 16543 17293 ; 16544 17294 return 0; 16545 17295 } 16546 17296 _ACEOF 16547 - if ac_fn_c_try_link "$LINENO"; then : 17297 + if ac_fn_c_try_link "$LINENO" 17298 + then : 16548 17299 eval $cacheid=yes 16549 - else 17300 + else $as_nop 16550 17301 eval $cacheid=no 16551 17302 fi 16552 - rm -f core conftest.err conftest.$ac_objext \ 17303 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16553 17304 conftest$ac_exeext conftest.$ac_ext 16554 17305 fi 16555 17306 ··· 16557 17308 CFLAGS="$xorg_testset_save_CFLAGS" 16558 17309 16559 17310 eval supported=\$$cacheid 16560 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16561 - $as_echo "$supported" >&6; } 17311 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17312 + printf "%s\n" "$supported" >&6; } 16562 17313 if test "$supported" = "yes" ; then 16563 17314 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 16564 17315 found="yes" ··· 16583 17334 16584 17335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16585 17336 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16586 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16587 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16588 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16589 - $as_echo_n "(cached) " >&6 16590 - else 17337 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17338 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17339 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17340 + then : 17341 + printf %s "(cached) " >&6 17342 + else $as_nop 16591 17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16592 17344 /* end confdefs.h. */ 16593 17345 int i; 16594 17346 _ACEOF 16595 - if ac_fn_c_try_compile "$LINENO"; then : 17347 + if ac_fn_c_try_compile "$LINENO" 17348 + then : 16596 17349 xorg_cv_cc_flag_unknown_warning_option=yes 16597 - else 17350 + else $as_nop 16598 17351 xorg_cv_cc_flag_unknown_warning_option=no 16599 17352 fi 16600 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17353 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16601 17354 fi 16602 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16603 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17355 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17356 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16604 17357 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16605 17358 CFLAGS="$xorg_testset_save_CFLAGS" 16606 17359 fi ··· 16610 17363 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16611 17364 fi 16612 17365 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16613 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16614 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16615 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16616 - $as_echo_n "(cached) " >&6 16617 - else 17366 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17367 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17368 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17369 + then : 17370 + printf %s "(cached) " >&6 17371 + else $as_nop 16618 17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16619 17373 /* end confdefs.h. */ 16620 17374 int i; 16621 17375 _ACEOF 16622 - if ac_fn_c_try_compile "$LINENO"; then : 17376 + if ac_fn_c_try_compile "$LINENO" 17377 + then : 16623 17378 xorg_cv_cc_flag_unused_command_line_argument=yes 16624 - else 17379 + else $as_nop 16625 17380 xorg_cv_cc_flag_unused_command_line_argument=no 16626 17381 fi 16627 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17382 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16628 17383 fi 16629 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16630 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17384 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17385 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16631 17386 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16632 17387 CFLAGS="$xorg_testset_save_CFLAGS" 16633 17388 fi ··· 16645 17400 16646 17401 CFLAGS="$CFLAGS -Waddress" 16647 17402 16648 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 16649 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 17403 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 17404 + printf %s "checking if $CC supports -Waddress... " >&6; } 16650 17405 cacheid=xorg_cv_cc_flag__Waddress 16651 - if eval \${$cacheid+:} false; then : 16652 - $as_echo_n "(cached) " >&6 16653 - else 17406 + if eval test \${$cacheid+y} 17407 + then : 17408 + printf %s "(cached) " >&6 17409 + else $as_nop 16654 17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16655 17411 /* end confdefs.h. */ 16656 17412 int i; 16657 17413 int 16658 - main () 17414 + main (void) 16659 17415 { 16660 17416 16661 17417 ; 16662 17418 return 0; 16663 17419 } 16664 17420 _ACEOF 16665 - if ac_fn_c_try_link "$LINENO"; then : 17421 + if ac_fn_c_try_link "$LINENO" 17422 + then : 16666 17423 eval $cacheid=yes 16667 - else 17424 + else $as_nop 16668 17425 eval $cacheid=no 16669 17426 fi 16670 - rm -f core conftest.err conftest.$ac_objext \ 17427 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16671 17428 conftest$ac_exeext conftest.$ac_ext 16672 17429 fi 16673 17430 ··· 16675 17432 CFLAGS="$xorg_testset_save_CFLAGS" 16676 17433 16677 17434 eval supported=\$$cacheid 16678 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16679 - $as_echo "$supported" >&6; } 17435 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17436 + printf "%s\n" "$supported" >&6; } 16680 17437 if test "$supported" = "yes" ; then 16681 17438 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 16682 17439 found="yes" ··· 16701 17458 16702 17459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16703 17460 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16704 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16705 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16706 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16707 - $as_echo_n "(cached) " >&6 16708 - else 17461 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17462 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17463 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17464 + then : 17465 + printf %s "(cached) " >&6 17466 + else $as_nop 16709 17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16710 17468 /* end confdefs.h. */ 16711 17469 int i; 16712 17470 _ACEOF 16713 - if ac_fn_c_try_compile "$LINENO"; then : 17471 + if ac_fn_c_try_compile "$LINENO" 17472 + then : 16714 17473 xorg_cv_cc_flag_unknown_warning_option=yes 16715 - else 17474 + else $as_nop 16716 17475 xorg_cv_cc_flag_unknown_warning_option=no 16717 17476 fi 16718 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17477 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16719 17478 fi 16720 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16721 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17479 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17480 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16722 17481 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16723 17482 CFLAGS="$xorg_testset_save_CFLAGS" 16724 17483 fi ··· 16728 17487 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16729 17488 fi 16730 17489 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16731 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16732 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16733 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16734 - $as_echo_n "(cached) " >&6 16735 - else 17490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17491 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17492 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17493 + then : 17494 + printf %s "(cached) " >&6 17495 + else $as_nop 16736 17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16737 17497 /* end confdefs.h. */ 16738 17498 int i; 16739 17499 _ACEOF 16740 - if ac_fn_c_try_compile "$LINENO"; then : 17500 + if ac_fn_c_try_compile "$LINENO" 17501 + then : 16741 17502 xorg_cv_cc_flag_unused_command_line_argument=yes 16742 - else 17503 + else $as_nop 16743 17504 xorg_cv_cc_flag_unused_command_line_argument=no 16744 17505 fi 16745 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17506 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16746 17507 fi 16747 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16748 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17508 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17509 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16749 17510 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16750 17511 CFLAGS="$xorg_testset_save_CFLAGS" 16751 17512 fi ··· 16763 17524 16764 17525 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 16765 17526 16766 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 16767 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 17527 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 17528 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 16768 17529 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 16769 - if eval \${$cacheid+:} false; then : 16770 - $as_echo_n "(cached) " >&6 16771 - else 17530 + if eval test \${$cacheid+y} 17531 + then : 17532 + printf %s "(cached) " >&6 17533 + else $as_nop 16772 17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16773 17535 /* end confdefs.h. */ 16774 17536 int i; 16775 17537 int 16776 - main () 17538 + main (void) 16777 17539 { 16778 17540 16779 17541 ; 16780 17542 return 0; 16781 17543 } 16782 17544 _ACEOF 16783 - if ac_fn_c_try_link "$LINENO"; then : 17545 + if ac_fn_c_try_link "$LINENO" 17546 + then : 16784 17547 eval $cacheid=yes 16785 - else 17548 + else $as_nop 16786 17549 eval $cacheid=no 16787 17550 fi 16788 - rm -f core conftest.err conftest.$ac_objext \ 17551 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16789 17552 conftest$ac_exeext conftest.$ac_ext 16790 17553 fi 16791 17554 ··· 16793 17556 CFLAGS="$xorg_testset_save_CFLAGS" 16794 17557 16795 17558 eval supported=\$$cacheid 16796 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16797 - $as_echo "$supported" >&6; } 17559 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17560 + printf "%s\n" "$supported" >&6; } 16798 17561 if test "$supported" = "yes" ; then 16799 17562 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 16800 17563 found="yes" ··· 16819 17582 16820 17583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16821 17584 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16822 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16823 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16824 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16825 - $as_echo_n "(cached) " >&6 16826 - else 17585 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17586 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17587 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17588 + then : 17589 + printf %s "(cached) " >&6 17590 + else $as_nop 16827 17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16828 17592 /* end confdefs.h. */ 16829 17593 int i; 16830 17594 _ACEOF 16831 - if ac_fn_c_try_compile "$LINENO"; then : 17595 + if ac_fn_c_try_compile "$LINENO" 17596 + then : 16832 17597 xorg_cv_cc_flag_unknown_warning_option=yes 16833 - else 17598 + else $as_nop 16834 17599 xorg_cv_cc_flag_unknown_warning_option=no 16835 17600 fi 16836 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17601 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16837 17602 fi 16838 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16839 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17603 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17604 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16840 17605 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16841 17606 CFLAGS="$xorg_testset_save_CFLAGS" 16842 17607 fi ··· 16846 17611 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16847 17612 fi 16848 17613 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16849 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16850 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16851 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16852 - $as_echo_n "(cached) " >&6 16853 - else 17614 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17615 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17616 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17617 + then : 17618 + printf %s "(cached) " >&6 17619 + else $as_nop 16854 17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16855 17621 /* end confdefs.h. */ 16856 17622 int i; 16857 17623 _ACEOF 16858 - if ac_fn_c_try_compile "$LINENO"; then : 17624 + if ac_fn_c_try_compile "$LINENO" 17625 + then : 16859 17626 xorg_cv_cc_flag_unused_command_line_argument=yes 16860 - else 17627 + else $as_nop 16861 17628 xorg_cv_cc_flag_unused_command_line_argument=no 16862 17629 fi 16863 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17630 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16864 17631 fi 16865 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16866 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17632 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17633 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16867 17634 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16868 17635 CFLAGS="$xorg_testset_save_CFLAGS" 16869 17636 fi ··· 16881 17648 16882 17649 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 16883 17650 16884 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 16885 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 17651 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 17652 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 16886 17653 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 16887 - if eval \${$cacheid+:} false; then : 16888 - $as_echo_n "(cached) " >&6 16889 - else 17654 + if eval test \${$cacheid+y} 17655 + then : 17656 + printf %s "(cached) " >&6 17657 + else $as_nop 16890 17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16891 17659 /* end confdefs.h. */ 16892 17660 int i; 16893 17661 int 16894 - main () 17662 + main (void) 16895 17663 { 16896 17664 16897 17665 ; 16898 17666 return 0; 16899 17667 } 16900 17668 _ACEOF 16901 - if ac_fn_c_try_link "$LINENO"; then : 17669 + if ac_fn_c_try_link "$LINENO" 17670 + then : 16902 17671 eval $cacheid=yes 16903 - else 17672 + else $as_nop 16904 17673 eval $cacheid=no 16905 17674 fi 16906 - rm -f core conftest.err conftest.$ac_objext \ 17675 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16907 17676 conftest$ac_exeext conftest.$ac_ext 16908 17677 fi 16909 17678 ··· 16911 17680 CFLAGS="$xorg_testset_save_CFLAGS" 16912 17681 16913 17682 eval supported=\$$cacheid 16914 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16915 - $as_echo "$supported" >&6; } 17683 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17684 + printf "%s\n" "$supported" >&6; } 16916 17685 if test "$supported" = "yes" ; then 16917 17686 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 16918 17687 found="yes" ··· 16941 17710 16942 17711 16943 17712 # Check whether --enable-strict-compilation was given. 16944 - if test "${enable_strict_compilation+set}" = set; then : 17713 + if test ${enable_strict_compilation+y} 17714 + then : 16945 17715 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 16946 - else 17716 + else $as_nop 16947 17717 STRICT_COMPILE=no 16948 17718 fi 16949 17719 ··· 16970 17740 16971 17741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16972 17742 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16973 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16974 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16975 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16976 - $as_echo_n "(cached) " >&6 16977 - else 17743 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17744 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17745 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17746 + then : 17747 + printf %s "(cached) " >&6 17748 + else $as_nop 16978 17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16979 17750 /* end confdefs.h. */ 16980 17751 int i; 16981 17752 _ACEOF 16982 - if ac_fn_c_try_compile "$LINENO"; then : 17753 + if ac_fn_c_try_compile "$LINENO" 17754 + then : 16983 17755 xorg_cv_cc_flag_unknown_warning_option=yes 16984 - else 17756 + else $as_nop 16985 17757 xorg_cv_cc_flag_unknown_warning_option=no 16986 17758 fi 16987 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17759 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16988 17760 fi 16989 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16990 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17761 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17762 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16991 17763 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16992 17764 CFLAGS="$xorg_testset_save_CFLAGS" 16993 17765 fi ··· 16997 17769 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16998 17770 fi 16999 17771 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17000 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17001 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17002 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17003 - $as_echo_n "(cached) " >&6 17004 - else 17772 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17773 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17774 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17775 + then : 17776 + printf %s "(cached) " >&6 17777 + else $as_nop 17005 17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17006 17779 /* end confdefs.h. */ 17007 17780 int i; 17008 17781 _ACEOF 17009 - if ac_fn_c_try_compile "$LINENO"; then : 17782 + if ac_fn_c_try_compile "$LINENO" 17783 + then : 17010 17784 xorg_cv_cc_flag_unused_command_line_argument=yes 17011 - else 17785 + else $as_nop 17012 17786 xorg_cv_cc_flag_unused_command_line_argument=no 17013 17787 fi 17014 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17788 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17015 17789 fi 17016 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17017 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17790 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17791 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17018 17792 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17019 17793 CFLAGS="$xorg_testset_save_CFLAGS" 17020 17794 fi ··· 17032 17806 17033 17807 CFLAGS="$CFLAGS -pedantic" 17034 17808 17035 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 17036 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 17809 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 17810 + printf %s "checking if $CC supports -pedantic... " >&6; } 17037 17811 cacheid=xorg_cv_cc_flag__pedantic 17038 - if eval \${$cacheid+:} false; then : 17039 - $as_echo_n "(cached) " >&6 17040 - else 17812 + if eval test \${$cacheid+y} 17813 + then : 17814 + printf %s "(cached) " >&6 17815 + else $as_nop 17041 17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17042 17817 /* end confdefs.h. */ 17043 17818 int i; 17044 17819 int 17045 - main () 17820 + main (void) 17046 17821 { 17047 17822 17048 17823 ; 17049 17824 return 0; 17050 17825 } 17051 17826 _ACEOF 17052 - if ac_fn_c_try_link "$LINENO"; then : 17827 + if ac_fn_c_try_link "$LINENO" 17828 + then : 17053 17829 eval $cacheid=yes 17054 - else 17830 + else $as_nop 17055 17831 eval $cacheid=no 17056 17832 fi 17057 - rm -f core conftest.err conftest.$ac_objext \ 17833 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17058 17834 conftest$ac_exeext conftest.$ac_ext 17059 17835 fi 17060 17836 ··· 17062 17838 CFLAGS="$xorg_testset_save_CFLAGS" 17063 17839 17064 17840 eval supported=\$$cacheid 17065 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17066 - $as_echo "$supported" >&6; } 17841 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17842 + printf "%s\n" "$supported" >&6; } 17067 17843 if test "$supported" = "yes" ; then 17068 17844 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 17069 17845 found="yes" ··· 17088 17864 17089 17865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 17090 17866 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17091 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17092 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17093 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 17094 - $as_echo_n "(cached) " >&6 17095 - else 17867 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17868 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17869 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17870 + then : 17871 + printf %s "(cached) " >&6 17872 + else $as_nop 17096 17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17097 17874 /* end confdefs.h. */ 17098 17875 int i; 17099 17876 _ACEOF 17100 - if ac_fn_c_try_compile "$LINENO"; then : 17877 + if ac_fn_c_try_compile "$LINENO" 17878 + then : 17101 17879 xorg_cv_cc_flag_unknown_warning_option=yes 17102 - else 17880 + else $as_nop 17103 17881 xorg_cv_cc_flag_unknown_warning_option=no 17104 17882 fi 17105 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17883 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17106 17884 fi 17107 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17108 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17885 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17886 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17109 17887 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 17110 17888 CFLAGS="$xorg_testset_save_CFLAGS" 17111 17889 fi ··· 17115 17893 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17116 17894 fi 17117 17895 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17118 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17119 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17120 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17121 - $as_echo_n "(cached) " >&6 17122 - else 17896 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17897 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17898 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17899 + then : 17900 + printf %s "(cached) " >&6 17901 + else $as_nop 17123 17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17124 17903 /* end confdefs.h. */ 17125 17904 int i; 17126 17905 _ACEOF 17127 - if ac_fn_c_try_compile "$LINENO"; then : 17906 + if ac_fn_c_try_compile "$LINENO" 17907 + then : 17128 17908 xorg_cv_cc_flag_unused_command_line_argument=yes 17129 - else 17909 + else $as_nop 17130 17910 xorg_cv_cc_flag_unused_command_line_argument=no 17131 17911 fi 17132 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17912 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17133 17913 fi 17134 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17135 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17914 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17915 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17136 17916 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17137 17917 CFLAGS="$xorg_testset_save_CFLAGS" 17138 17918 fi ··· 17150 17930 17151 17931 CFLAGS="$CFLAGS -Werror" 17152 17932 17153 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 17154 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 17933 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 17934 + printf %s "checking if $CC supports -Werror... " >&6; } 17155 17935 cacheid=xorg_cv_cc_flag__Werror 17156 - if eval \${$cacheid+:} false; then : 17157 - $as_echo_n "(cached) " >&6 17158 - else 17936 + if eval test \${$cacheid+y} 17937 + then : 17938 + printf %s "(cached) " >&6 17939 + else $as_nop 17159 17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17160 17941 /* end confdefs.h. */ 17161 17942 int i; 17162 17943 int 17163 - main () 17944 + main (void) 17164 17945 { 17165 17946 17166 17947 ; 17167 17948 return 0; 17168 17949 } 17169 17950 _ACEOF 17170 - if ac_fn_c_try_link "$LINENO"; then : 17951 + if ac_fn_c_try_link "$LINENO" 17952 + then : 17171 17953 eval $cacheid=yes 17172 - else 17954 + else $as_nop 17173 17955 eval $cacheid=no 17174 17956 fi 17175 - rm -f core conftest.err conftest.$ac_objext \ 17957 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17176 17958 conftest$ac_exeext conftest.$ac_ext 17177 17959 fi 17178 17960 ··· 17180 17962 CFLAGS="$xorg_testset_save_CFLAGS" 17181 17963 17182 17964 eval supported=\$$cacheid 17183 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17184 - $as_echo "$supported" >&6; } 17965 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17966 + printf "%s\n" "$supported" >&6; } 17185 17967 if test "$supported" = "yes" ; then 17186 17968 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 17187 17969 found="yes" ··· 17199 17981 17200 17982 CFLAGS="$CFLAGS -errwarn" 17201 17983 17202 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 17203 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 17984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 17985 + printf %s "checking if $CC supports -errwarn... " >&6; } 17204 17986 cacheid=xorg_cv_cc_flag__errwarn 17205 - if eval \${$cacheid+:} false; then : 17206 - $as_echo_n "(cached) " >&6 17207 - else 17987 + if eval test \${$cacheid+y} 17988 + then : 17989 + printf %s "(cached) " >&6 17990 + else $as_nop 17208 17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17209 17992 /* end confdefs.h. */ 17210 17993 int i; 17211 17994 int 17212 - main () 17995 + main (void) 17213 17996 { 17214 17997 17215 17998 ; 17216 17999 return 0; 17217 18000 } 17218 18001 _ACEOF 17219 - if ac_fn_c_try_link "$LINENO"; then : 18002 + if ac_fn_c_try_link "$LINENO" 18003 + then : 17220 18004 eval $cacheid=yes 17221 - else 18005 + else $as_nop 17222 18006 eval $cacheid=no 17223 18007 fi 17224 - rm -f core conftest.err conftest.$ac_objext \ 18008 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17225 18009 conftest$ac_exeext conftest.$ac_ext 17226 18010 fi 17227 18011 ··· 17229 18013 CFLAGS="$xorg_testset_save_CFLAGS" 17230 18014 17231 18015 eval supported=\$$cacheid 17232 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17233 - $as_echo "$supported" >&6; } 18016 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 18017 + printf "%s\n" "$supported" >&6; } 17234 18018 if test "$supported" = "yes" ; then 17235 18019 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 17236 18020 found="yes" ··· 17258 18042 17259 18043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 17260 18044 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17261 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17262 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17263 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 17264 - $as_echo_n "(cached) " >&6 17265 - else 18045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 18046 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 18047 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 18048 + then : 18049 + printf %s "(cached) " >&6 18050 + else $as_nop 17266 18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17267 18052 /* end confdefs.h. */ 17268 18053 int i; 17269 18054 _ACEOF 17270 - if ac_fn_c_try_compile "$LINENO"; then : 18055 + if ac_fn_c_try_compile "$LINENO" 18056 + then : 17271 18057 xorg_cv_cc_flag_unknown_warning_option=yes 17272 - else 18058 + else $as_nop 17273 18059 xorg_cv_cc_flag_unknown_warning_option=no 17274 18060 fi 17275 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18061 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17276 18062 fi 17277 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17278 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 18063 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 18064 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17279 18065 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 17280 18066 CFLAGS="$xorg_testset_save_CFLAGS" 17281 18067 fi ··· 17285 18071 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17286 18072 fi 17287 18073 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17288 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17289 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17290 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17291 - $as_echo_n "(cached) " >&6 17292 - else 18074 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 18075 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 18076 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 18077 + then : 18078 + printf %s "(cached) " >&6 18079 + else $as_nop 17293 18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17294 18081 /* end confdefs.h. */ 17295 18082 int i; 17296 18083 _ACEOF 17297 - if ac_fn_c_try_compile "$LINENO"; then : 18084 + if ac_fn_c_try_compile "$LINENO" 18085 + then : 17298 18086 xorg_cv_cc_flag_unused_command_line_argument=yes 17299 - else 18087 + else $as_nop 17300 18088 xorg_cv_cc_flag_unused_command_line_argument=no 17301 18089 fi 17302 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18090 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17303 18091 fi 17304 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17305 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 18092 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 18093 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17306 18094 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17307 18095 CFLAGS="$xorg_testset_save_CFLAGS" 17308 18096 fi ··· 17320 18108 17321 18109 CFLAGS="$CFLAGS -Werror=attributes" 17322 18110 17323 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 17324 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 18111 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 18112 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 17325 18113 cacheid=xorg_cv_cc_flag__Werror_attributes 17326 - if eval \${$cacheid+:} false; then : 17327 - $as_echo_n "(cached) " >&6 17328 - else 18114 + if eval test \${$cacheid+y} 18115 + then : 18116 + printf %s "(cached) " >&6 18117 + else $as_nop 17329 18118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17330 18119 /* end confdefs.h. */ 17331 18120 int i; 17332 18121 int 17333 - main () 18122 + main (void) 17334 18123 { 17335 18124 17336 18125 ; 17337 18126 return 0; 17338 18127 } 17339 18128 _ACEOF 17340 - if ac_fn_c_try_link "$LINENO"; then : 18129 + if ac_fn_c_try_link "$LINENO" 18130 + then : 17341 18131 eval $cacheid=yes 17342 - else 18132 + else $as_nop 17343 18133 eval $cacheid=no 17344 18134 fi 17345 - rm -f core conftest.err conftest.$ac_objext \ 18135 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17346 18136 conftest$ac_exeext conftest.$ac_ext 17347 18137 fi 17348 18138 ··· 17350 18140 CFLAGS="$xorg_testset_save_CFLAGS" 17351 18141 17352 18142 eval supported=\$$cacheid 17353 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17354 - $as_echo "$supported" >&6; } 18143 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 18144 + printf "%s\n" "$supported" >&6; } 17355 18145 if test "$supported" = "yes" ; then 17356 18146 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 17357 18147 found="yes" ··· 17364 18154 BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS" 17365 18155 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 17366 18156 fi 18157 + 18158 + 17367 18159 17368 18160 17369 18161 ··· 17379 18171 PVM="0" 17380 18172 fi 17381 18173 17382 - cat >>confdefs.h <<_ACEOF 17383 - #define PACKAGE_VERSION_MINOR $PVM 17384 - _ACEOF 18174 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 17385 18175 17386 18176 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 17387 18177 if test "x$PVP" = "x"; then 17388 18178 PVP="0" 17389 18179 fi 17390 18180 17391 - cat >>confdefs.h <<_ACEOF 17392 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 17393 - _ACEOF 18181 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 17394 18182 17395 18183 17396 18184 ··· 17420 18208 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 17421 18209 # check for a man page file found in later versions that use 17422 18210 # traditional section numbers instead 17423 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 17424 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 17425 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 17426 - $as_echo_n "(cached) " >&6 17427 - else 18211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 18212 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 18213 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 18214 + then : 18215 + printf %s "(cached) " >&6 18216 + else $as_nop 17428 18217 test "$cross_compiling" = yes && 17429 18218 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17430 18219 if test -r "/usr/share/man/man7/attributes.7"; then ··· 17433 18222 ac_cv_file__usr_share_man_man7_attributes_7=no 17434 18223 fi 17435 18224 fi 17436 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 17437 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 17438 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 18225 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 18226 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 18227 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 18228 + then : 17439 18229 SYSV_MAN_SECTIONS=false 17440 - else 18230 + else $as_nop 17441 18231 SYSV_MAN_SECTIONS=true 17442 18232 fi 17443 18233 ··· 17532 18322 17533 18323 17534 18324 # Check whether --enable-silent-rules was given. 17535 - if test "${enable_silent_rules+set}" = set; then : 18325 + if test ${enable_silent_rules+y} 18326 + then : 17536 18327 enableval=$enable_silent_rules; 17537 18328 fi 17538 18329 ··· 17542 18333 *) AM_DEFAULT_VERBOSITY=0;; 17543 18334 esac 17544 18335 am_make=${MAKE-make} 17545 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 17546 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 17547 - if ${am_cv_make_support_nested_variables+:} false; then : 17548 - $as_echo_n "(cached) " >&6 17549 - else 17550 - if $as_echo 'TRUE=$(BAR$(V)) 18336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 18337 + printf %s "checking whether $am_make supports nested variables... " >&6; } 18338 + if test ${am_cv_make_support_nested_variables+y} 18339 + then : 18340 + printf %s "(cached) " >&6 18341 + else $as_nop 18342 + if printf "%s\n" 'TRUE=$(BAR$(V)) 17551 18343 BAR0=false 17552 18344 BAR1=true 17553 18345 V=1 ··· 17559 18351 am_cv_make_support_nested_variables=no 17560 18352 fi 17561 18353 fi 17562 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 17563 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 18354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 18355 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 17564 18356 if test $am_cv_make_support_nested_variables = yes; then 17565 18357 AM_V='$(V)' 17566 18358 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 17572 18364 17573 18365 17574 18366 18367 + 17575 18368 # Check whether --enable-malloc0returnsnull was given. 17576 - if test "${enable_malloc0returnsnull+set}" = set; then : 18369 + if test ${enable_malloc0returnsnull+y} 18370 + then : 17577 18371 enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval 17578 - else 18372 + else $as_nop 17579 18373 MALLOC_ZERO_RETURNS_NULL=auto 17580 18374 fi 17581 18375 17582 18376 17583 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5 17584 - $as_echo_n "checking whether malloc(0) returns NULL... " >&6; } 18377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5 18378 + printf %s "checking whether malloc(0) returns NULL... " >&6; } 17585 18379 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then 17586 - if ${xorg_cv_malloc0_returns_null+:} false; then : 17587 - $as_echo_n "(cached) " >&6 17588 - else 17589 - if test "$cross_compiling" = yes; then : 17590 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17591 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18380 + if test ${xorg_cv_malloc0_returns_null+y} 18381 + then : 18382 + printf %s "(cached) " >&6 18383 + else $as_nop 18384 + if test "$cross_compiling" = yes 18385 + then : 18386 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18387 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17592 18388 as_fn_error $? "cannot run test program while cross compiling 17593 18389 See \`config.log' for more details" "$LINENO" 5; } 17594 - else 18390 + else $as_nop 17595 18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17596 18392 /* end confdefs.h. */ 17597 18393 17598 18394 #include <stdlib.h> 17599 18395 17600 18396 int 17601 - main () 18397 + main (void) 17602 18398 { 17603 18399 17604 18400 char *m0, *r0, *c0, *p; ··· 17612 18408 return 0; 17613 18409 } 17614 18410 _ACEOF 17615 - if ac_fn_c_try_run "$LINENO"; then : 18411 + if ac_fn_c_try_run "$LINENO" 18412 + then : 17616 18413 xorg_cv_malloc0_returns_null=yes 17617 - else 18414 + else $as_nop 17618 18415 xorg_cv_malloc0_returns_null=no 17619 18416 fi 17620 18417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ··· 17625 18422 17626 18423 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null 17627 18424 fi 17628 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5 17629 - $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; } 18425 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5 18426 + printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; } 17630 18427 17631 18428 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then 17632 18429 MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL" ··· 17643 18440 17644 18441 17645 18442 17646 - # Obtain compiler/linker options for depedencies 18443 + # Obtain compiler/linker options for dependencies 17647 18444 17648 18445 pkg_failed=no 17649 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVMC" >&5 17650 - $as_echo_n "checking for XVMC... " >&6; } 18446 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 >= 1.6 xext xv xextproto videoproto" >&5 18447 + printf %s "checking for x11 >= 1.6 xext xv xextproto videoproto... " >&6; } 17651 18448 17652 18449 if test -n "$XVMC_CFLAGS"; then 17653 18450 pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS" 17654 18451 elif test -n "$PKG_CONFIG"; then 17655 18452 if test -n "$PKG_CONFIG" && \ 17656 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5 18453 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5 17657 18454 ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xv xextproto videoproto") 2>&5 17658 18455 ac_status=$? 17659 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18456 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17660 18457 test $ac_status = 0; }; then 17661 18458 pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext xv xextproto videoproto" 2>/dev/null` 17662 18459 test "x$?" != "x0" && pkg_failed=yes ··· 17670 18467 pkg_cv_XVMC_LIBS="$XVMC_LIBS" 17671 18468 elif test -n "$PKG_CONFIG"; then 17672 18469 if test -n "$PKG_CONFIG" && \ 17673 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5 18470 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5 17674 18471 ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xv xextproto videoproto") 2>&5 17675 18472 ac_status=$? 17676 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18473 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17677 18474 test $ac_status = 0; }; then 17678 18475 pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext xv xextproto videoproto" 2>/dev/null` 17679 18476 test "x$?" != "x0" && pkg_failed=yes ··· 17687 18484 17688 18485 17689 18486 if test $pkg_failed = yes; then 17690 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17691 - $as_echo "no" >&6; } 18487 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18488 + printf "%s\n" "no" >&6; } 17692 18489 17693 18490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17694 18491 _pkg_short_errors_supported=yes ··· 17714 18511 and XVMC_LIBS to avoid the need to call pkg-config. 17715 18512 See the pkg-config man page for more details." "$LINENO" 5 17716 18513 elif test $pkg_failed = untried; then 17717 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17718 - $as_echo "no" >&6; } 17719 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17720 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18514 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18515 + printf "%s\n" "no" >&6; } 18516 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18517 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17721 18518 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 17722 18519 is in your PATH or set the PKG_CONFIG environment variable to the full 17723 18520 path to pkg-config. ··· 17731 18528 else 17732 18529 XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS 17733 18530 XVMC_LIBS=$pkg_cv_XVMC_LIBS 17734 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17735 - $as_echo "yes" >&6; } 18531 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18532 + printf "%s\n" "yes" >&6; } 17736 18533 17737 18534 fi 17738 18535 17739 18536 # Checks for library functions. 17740 - for ac_func in shmat 17741 - do : 17742 - ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 17743 - if test "x$ac_cv_func_shmat" = xyes; then : 17744 - cat >>confdefs.h <<_ACEOF 17745 - #define HAVE_SHMAT 1 17746 - _ACEOF 18537 + ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 18538 + if test "x$ac_cv_func_shmat" = xyes 18539 + then : 18540 + printf "%s\n" "#define HAVE_SHMAT 1" >>confdefs.h 17747 18541 17748 18542 fi 17749 - done 17750 18543 17751 18544 17752 18545 # Check to see if dlopen is in default libraries (like Solaris, which 17753 18546 # has it in libc), or if libdl is needed to get it. 17754 18547 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 17755 - if test "x$ac_cv_func_dlopen" = xyes; then : 18548 + if test "x$ac_cv_func_dlopen" = xyes 18549 + then : 17756 18550 17757 - else 17758 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 17759 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 17760 - if ${ac_cv_lib_dl_dlopen+:} false; then : 17761 - $as_echo_n "(cached) " >&6 17762 - else 18551 + else $as_nop 18552 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 18553 + printf %s "checking for dlopen in -ldl... " >&6; } 18554 + if test ${ac_cv_lib_dl_dlopen+y} 18555 + then : 18556 + printf %s "(cached) " >&6 18557 + else $as_nop 17763 18558 ac_check_lib_save_LIBS=$LIBS 17764 18559 LIBS="-ldl $LIBS" 17765 18560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 17768 18563 /* Override any GCC internal prototype to avoid an error. 17769 18564 Use char because int might match the return type of a GCC 17770 18565 builtin and then its argument prototype would still apply. */ 17771 - #ifdef __cplusplus 17772 - extern "C" 17773 - #endif 17774 18566 char dlopen (); 17775 18567 int 17776 - main () 18568 + main (void) 17777 18569 { 17778 18570 return dlopen (); 17779 18571 ; 17780 18572 return 0; 17781 18573 } 17782 18574 _ACEOF 17783 - if ac_fn_c_try_link "$LINENO"; then : 18575 + if ac_fn_c_try_link "$LINENO" 18576 + then : 17784 18577 ac_cv_lib_dl_dlopen=yes 17785 - else 18578 + else $as_nop 17786 18579 ac_cv_lib_dl_dlopen=no 17787 18580 fi 17788 - rm -f core conftest.err conftest.$ac_objext \ 18581 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17789 18582 conftest$ac_exeext conftest.$ac_ext 17790 18583 LIBS=$ac_check_lib_save_LIBS 17791 18584 fi 17792 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 17793 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 17794 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 18585 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 18586 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 18587 + if test "x$ac_cv_lib_dl_dlopen" = xyes 18588 + then : 17795 18589 DLOPEN_LIBS="-ldl" 17796 18590 fi 17797 18591 ··· 17806 18600 17807 18601 17808 18602 # Check whether --with-lint was given. 17809 - if test "${with_lint+set}" = set; then : 18603 + if test ${with_lint+y} 18604 + then : 17810 18605 withval=$with_lint; use_lint=$withval 17811 - else 18606 + else $as_nop 17812 18607 use_lint=no 17813 18608 fi 17814 18609 ··· 17834 18629 if test "x$use_lint" = x"yes" ; then 17835 18630 # Extract the first word of "$lint_name", so it can be a program name with args. 17836 18631 set dummy $lint_name; ac_word=$2 17837 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17838 - $as_echo_n "checking for $ac_word... " >&6; } 17839 - if ${ac_cv_path_LINT+:} false; then : 17840 - $as_echo_n "(cached) " >&6 17841 - else 18632 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18633 + printf %s "checking for $ac_word... " >&6; } 18634 + if test ${ac_cv_path_LINT+y} 18635 + then : 18636 + printf %s "(cached) " >&6 18637 + else $as_nop 17842 18638 case $LINT in 17843 18639 [\\/]* | ?:[\\/]*) 17844 18640 ac_cv_path_LINT="$LINT" # Let the user override the test with a path. ··· 17848 18644 for as_dir in $PATH 17849 18645 do 17850 18646 IFS=$as_save_IFS 17851 - test -z "$as_dir" && as_dir=. 18647 + case $as_dir in #((( 18648 + '') as_dir=./ ;; 18649 + */) ;; 18650 + *) as_dir=$as_dir/ ;; 18651 + esac 17852 18652 for ac_exec_ext in '' $ac_executable_extensions; do 17853 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17854 - ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext" 17855 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18653 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 18654 + ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext" 18655 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 17856 18656 break 2 17857 18657 fi 17858 18658 done ··· 17864 18664 fi 17865 18665 LINT=$ac_cv_path_LINT 17866 18666 if test -n "$LINT"; then 17867 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5 17868 - $as_echo "$LINT" >&6; } 18667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5 18668 + printf "%s\n" "$LINT" >&6; } 17869 18669 else 17870 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17871 - $as_echo "no" >&6; } 18670 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18671 + printf "%s\n" "no" >&6; } 17872 18672 fi 17873 18673 17874 18674 ··· 17877 18677 fi 17878 18678 elif test "x$use_lint" = x"no" ; then 17879 18679 if test "x$LINT" != "x"; then 17880 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5 17881 - $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;} 18680 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5 18681 + printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;} 17882 18682 fi 17883 18683 else 17884 18684 as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5 ··· 17932 18732 case $ac_val in #( 17933 18733 *${as_nl}*) 17934 18734 case $ac_var in #( 17935 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17936 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18735 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18736 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17937 18737 esac 17938 18738 case $ac_var in #( 17939 18739 _ | IFS | as_nl) ;; #( ··· 17963 18763 /^ac_cv_env_/b end 17964 18764 t clear 17965 18765 :clear 17966 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18766 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 17967 18767 t end 17968 18768 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17969 18769 :end' >>confcache 17970 18770 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17971 18771 if test -w "$cache_file"; then 17972 18772 if test "x$cache_file" != "x/dev/null"; then 17973 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17974 - $as_echo "$as_me: updating cache $cache_file" >&6;} 18773 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18774 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 17975 18775 if test ! -f "$cache_file" || test -h "$cache_file"; then 17976 18776 cat confcache >"$cache_file" 17977 18777 else ··· 17985 18785 fi 17986 18786 fi 17987 18787 else 17988 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17989 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18788 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18789 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 17990 18790 fi 17991 18791 fi 17992 18792 rm -f confcache ··· 18003 18803 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18004 18804 # 1. Remove the extension, and $U if already installed. 18005 18805 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18006 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18806 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 18007 18807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18008 18808 # will be set to the directory where LIBOBJS objects are built. 18009 18809 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 18014 18814 LTLIBOBJS=$ac_ltlibobjs 18015 18815 18016 18816 18017 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18018 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 18817 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18818 + printf %s "checking that generated files are newer than configure... " >&6; } 18019 18819 if test -n "$am_sleep_pid"; then 18020 18820 # Hide warnings about reused PIDs. 18021 18821 wait $am_sleep_pid 2>/dev/null 18022 18822 fi 18023 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18024 - $as_echo "done" >&6; } 18823 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 18824 + printf "%s\n" "done" >&6; } 18025 18825 if test -n "$EXEEXT"; then 18026 18826 am__EXEEXT_TRUE= 18027 18827 am__EXEEXT_FALSE='#' ··· 18051 18851 ac_write_fail=0 18052 18852 ac_clean_files_save=$ac_clean_files 18053 18853 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18054 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18055 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18854 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18855 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 18056 18856 as_write_fail=0 18057 18857 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 18058 18858 #! $SHELL ··· 18075 18875 18076 18876 # Be more Bourne compatible 18077 18877 DUALCASE=1; export DUALCASE # for MKS sh 18078 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18878 + as_nop=: 18879 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 18880 + then : 18079 18881 emulate sh 18080 18882 NULLCMD=: 18081 18883 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18082 18884 # is contrary to our usage. Disable this feature. 18083 18885 alias -g '${1+"$@"}'='"$@"' 18084 18886 setopt NO_GLOB_SUBST 18085 - else 18887 + else $as_nop 18086 18888 case `(set -o) 2>/dev/null` in #( 18087 18889 *posix*) : 18088 18890 set -o posix ;; #( ··· 18092 18894 fi 18093 18895 18094 18896 18897 + 18898 + # Reset variables that may have inherited troublesome values from 18899 + # the environment. 18900 + 18901 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 18902 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 18903 + # side effect of setting IFS to empty, thus disabling word splitting.) 18904 + # Quoting is to prevent editors from complaining about space-tab. 18095 18905 as_nl=' 18096 18906 ' 18097 18907 export as_nl 18098 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 18099 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 18100 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 18101 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 18102 - # Prefer a ksh shell builtin over an external printf program on Solaris, 18103 - # but without wasting forks for bash or zsh. 18104 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 18105 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 18106 - as_echo='print -r --' 18107 - as_echo_n='print -rn --' 18108 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 18109 - as_echo='printf %s\n' 18110 - as_echo_n='printf %s' 18111 - else 18112 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 18113 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 18114 - as_echo_n='/usr/ucb/echo -n' 18115 - else 18116 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 18117 - as_echo_n_body='eval 18118 - arg=$1; 18119 - case $arg in #( 18120 - *"$as_nl"*) 18121 - expr "X$arg" : "X\\(.*\\)$as_nl"; 18122 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 18123 - esac; 18124 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 18125 - ' 18126 - export as_echo_n_body 18127 - as_echo_n='sh -c $as_echo_n_body as_echo' 18128 - fi 18129 - export as_echo_body 18130 - as_echo='sh -c $as_echo_body as_echo' 18131 - fi 18908 + IFS=" "" $as_nl" 18909 + 18910 + PS1='$ ' 18911 + PS2='> ' 18912 + PS4='+ ' 18913 + 18914 + # Ensure predictable behavior from utilities with locale-dependent output. 18915 + LC_ALL=C 18916 + export LC_ALL 18917 + LANGUAGE=C 18918 + export LANGUAGE 18919 + 18920 + # We cannot yet rely on "unset" to work, but we need these variables 18921 + # to be unset--not just set to an empty or harmless value--now, to 18922 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 18923 + # also avoids known problems related to "unset" and subshell syntax 18924 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 18925 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 18926 + do eval test \${$as_var+y} \ 18927 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18928 + done 18929 + 18930 + # Ensure that fds 0, 1, and 2 are open. 18931 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 18932 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 18933 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 18132 18934 18133 18935 # The user is always right. 18134 - if test "${PATH_SEPARATOR+set}" != set; then 18936 + if ${PATH_SEPARATOR+false} :; then 18135 18937 PATH_SEPARATOR=: 18136 18938 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 18137 18939 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 18140 18942 fi 18141 18943 18142 18944 18143 - # IFS 18144 - # We need space, tab and new line, in precisely that order. Quoting is 18145 - # there to prevent editors from complaining about space-tab. 18146 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 18147 - # splitting by setting IFS to empty value.) 18148 - IFS=" "" $as_nl" 18149 - 18150 18945 # Find who we are. Look in the path if we contain no directory separator. 18151 18946 as_myself= 18152 18947 case $0 in #(( ··· 18155 18950 for as_dir in $PATH 18156 18951 do 18157 18952 IFS=$as_save_IFS 18158 - test -z "$as_dir" && as_dir=. 18159 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18953 + case $as_dir in #((( 18954 + '') as_dir=./ ;; 18955 + */) ;; 18956 + *) as_dir=$as_dir/ ;; 18957 + esac 18958 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 18160 18959 done 18161 18960 IFS=$as_save_IFS 18162 18961 ··· 18168 18967 as_myself=$0 18169 18968 fi 18170 18969 if test ! -f "$as_myself"; then 18171 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18970 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18172 18971 exit 1 18173 18972 fi 18174 18973 18175 - # Unset variables that we do not need and which cause bugs (e.g. in 18176 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18177 - # suppresses any "Segmentation fault" message there. '((' could 18178 - # trigger a bug in pdksh 5.2.14. 18179 - for as_var in BASH_ENV ENV MAIL MAILPATH 18180 - do eval test x\${$as_var+set} = xset \ 18181 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18182 - done 18183 - PS1='$ ' 18184 - PS2='> ' 18185 - PS4='+ ' 18186 - 18187 - # NLS nuisances. 18188 - LC_ALL=C 18189 - export LC_ALL 18190 - LANGUAGE=C 18191 - export LANGUAGE 18192 - 18193 - # CDPATH. 18194 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18195 18974 18196 18975 18197 18976 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 18204 18983 as_status=$1; test $as_status -eq 0 && as_status=1 18205 18984 if test "$4"; then 18206 18985 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18207 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18986 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18208 18987 fi 18209 - $as_echo "$as_me: error: $2" >&2 18988 + printf "%s\n" "$as_me: error: $2" >&2 18210 18989 as_fn_exit $as_status 18211 18990 } # as_fn_error 18991 + 18212 18992 18213 18993 18214 18994 # as_fn_set_status STATUS ··· 18237 19017 { eval $1=; unset $1;} 18238 19018 } 18239 19019 as_unset=as_fn_unset 19020 + 18240 19021 # as_fn_append VAR VALUE 18241 19022 # ---------------------- 18242 19023 # Append the text in VALUE to the end of the definition contained in VAR. Take 18243 19024 # advantage of any shell optimizations that allow amortized linear growth over 18244 19025 # repeated appends, instead of the typical quadratic growth present in naive 18245 19026 # implementations. 18246 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 19027 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 19028 + then : 18247 19029 eval 'as_fn_append () 18248 19030 { 18249 19031 eval $1+=\$2 18250 19032 }' 18251 - else 19033 + else $as_nop 18252 19034 as_fn_append () 18253 19035 { 18254 19036 eval $1=\$$1\$2 ··· 18260 19042 # Perform arithmetic evaluation on the ARGs, and store the result in the 18261 19043 # global $as_val. Take advantage of shells that can avoid forks. The arguments 18262 19044 # must be portable across $(()) and expr. 18263 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 19045 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 19046 + then : 18264 19047 eval 'as_fn_arith () 18265 19048 { 18266 19049 as_val=$(( $* )) 18267 19050 }' 18268 - else 19051 + else $as_nop 18269 19052 as_fn_arith () 18270 19053 { 18271 19054 as_val=`expr "$@" || test $? -eq 1` ··· 18296 19079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18297 19080 X"$0" : 'X\(//\)$' \| \ 18298 19081 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18299 - $as_echo X/"$0" | 19082 + printf "%s\n" X/"$0" | 18300 19083 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18301 19084 s//\1/ 18302 19085 q ··· 18318 19101 as_cr_digits='0123456789' 18319 19102 as_cr_alnum=$as_cr_Letters$as_cr_digits 18320 19103 19104 + 19105 + # Determine whether it's possible to make 'echo' print without a newline. 19106 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 19107 + # for compatibility with existing Makefiles. 18321 19108 ECHO_C= ECHO_N= ECHO_T= 18322 19109 case `echo -n x` in #((((( 18323 19110 -n*) ··· 18330 19117 *) 18331 19118 ECHO_N='-n';; 18332 19119 esac 19120 + 19121 + # For backward compatibility with old third-party macros, we provide 19122 + # the shell variables $as_echo and $as_echo_n. New code should use 19123 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 19124 + as_echo='printf %s\n' 19125 + as_echo_n='printf %s' 18333 19126 18334 19127 rm -f conf$$ conf$$.exe conf$$.file 18335 19128 if test -d conf$$.dir; then ··· 18372 19165 as_dirs= 18373 19166 while :; do 18374 19167 case $as_dir in #( 18375 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 19168 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18376 19169 *) as_qdir=$as_dir;; 18377 19170 esac 18378 19171 as_dirs="'$as_qdir' $as_dirs" ··· 18381 19174 X"$as_dir" : 'X\(//\)[^/]' \| \ 18382 19175 X"$as_dir" : 'X\(//\)$' \| \ 18383 19176 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18384 - $as_echo X"$as_dir" | 19177 + printf "%s\n" X"$as_dir" | 18385 19178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18386 19179 s//\1/ 18387 19180 q ··· 18443 19236 # report actual input values of CONFIG_FILES etc. instead of their 18444 19237 # values after options handling. 18445 19238 ac_log=" 18446 - This file was extended by libXvMC $as_me 1.0.12, which was 18447 - generated by GNU Autoconf 2.69. Invocation command line was 19239 + This file was extended by libXvMC $as_me 1.0.13, which was 19240 + generated by GNU Autoconf 2.71. Invocation command line was 18448 19241 18449 19242 CONFIG_FILES = $CONFIG_FILES 18450 19243 CONFIG_HEADERS = $CONFIG_HEADERS ··· 18506 19299 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXvMC/issues>." 18507 19300 18508 19301 _ACEOF 19302 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 19303 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 18509 19304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18510 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19305 + ac_cs_config='$ac_cs_config_escaped' 18511 19306 ac_cs_version="\\ 18512 - libXvMC config.status 1.0.12 18513 - configured by $0, generated by GNU Autoconf 2.69, 19307 + libXvMC config.status 1.0.13 19308 + configured by $0, generated by GNU Autoconf 2.71, 18514 19309 with options \\"\$ac_cs_config\\" 18515 19310 18516 - Copyright (C) 2012 Free Software Foundation, Inc. 19311 + Copyright (C) 2021 Free Software Foundation, Inc. 18517 19312 This config.status script is free software; the Free Software Foundation 18518 19313 gives unlimited permission to copy, distribute and modify it." 18519 19314 ··· 18553 19348 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18554 19349 ac_cs_recheck=: ;; 18555 19350 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18556 - $as_echo "$ac_cs_version"; exit ;; 19351 + printf "%s\n" "$ac_cs_version"; exit ;; 18557 19352 --config | --confi | --conf | --con | --co | --c ) 18558 - $as_echo "$ac_cs_config"; exit ;; 19353 + printf "%s\n" "$ac_cs_config"; exit ;; 18559 19354 --debug | --debu | --deb | --de | --d | -d ) 18560 19355 debug=: ;; 18561 19356 --file | --fil | --fi | --f ) 18562 19357 $ac_shift 18563 19358 case $ac_optarg in 18564 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19359 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18565 19360 '') as_fn_error $? "missing file argument" ;; 18566 19361 esac 18567 19362 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 18569 19364 --header | --heade | --head | --hea ) 18570 19365 $ac_shift 18571 19366 case $ac_optarg in 18572 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19367 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18573 19368 esac 18574 19369 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18575 19370 ac_need_defaults=false;; ··· 18578 19373 as_fn_error $? "ambiguous option: \`$1' 18579 19374 Try \`$0 --help' for more information.";; 18580 19375 --help | --hel | -h ) 18581 - $as_echo "$ac_cs_usage"; exit ;; 19376 + printf "%s\n" "$ac_cs_usage"; exit ;; 18582 19377 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18583 19378 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18584 19379 ac_cs_silent=: ;; ··· 18606 19401 if \$ac_cs_recheck; then 18607 19402 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18608 19403 shift 18609 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 19404 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 18610 19405 CONFIG_SHELL='$SHELL' 18611 19406 export CONFIG_SHELL 18612 19407 exec "\$@" ··· 18620 19415 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18621 19416 ## Running $as_me. ## 18622 19417 _ASBOX 18623 - $as_echo "$ac_log" 19418 + printf "%s\n" "$ac_log" 18624 19419 } >&5 18625 19420 18626 19421 _ACEOF ··· 18937 19732 # We use the long form for the default assignment because of an extremely 18938 19733 # bizarre bug on SunOS 4.1.3. 18939 19734 if $ac_need_defaults; then 18940 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18941 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18942 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19735 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 19736 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 19737 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 18943 19738 fi 18944 19739 18945 19740 # Have a temporary directory for convenience. Make it in the build tree ··· 19275 20070 esac || 19276 20071 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19277 20072 esac 19278 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20073 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19279 20074 as_fn_append ac_file_inputs " '$ac_f'" 19280 20075 done 19281 20076 ··· 19283 20078 # use $as_me), people would be surprised to read: 19284 20079 # /* config.h. Generated by config.status. */ 19285 20080 configure_input='Generated from '` 19286 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 20081 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19287 20082 `' by configure.' 19288 20083 if test x"$ac_file" != x-; then 19289 20084 configure_input="$ac_file. $configure_input" 19290 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19291 - $as_echo "$as_me: creating $ac_file" >&6;} 20085 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 20086 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 19292 20087 fi 19293 20088 # Neutralize special characters interpreted by sed in replacement strings. 19294 20089 case $configure_input in #( 19295 20090 *\&* | *\|* | *\\* ) 19296 - ac_sed_conf_input=`$as_echo "$configure_input" | 20091 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 19297 20092 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19298 20093 *) ac_sed_conf_input=$configure_input;; 19299 20094 esac ··· 19310 20105 X"$ac_file" : 'X\(//\)[^/]' \| \ 19311 20106 X"$ac_file" : 'X\(//\)$' \| \ 19312 20107 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19313 - $as_echo X"$ac_file" | 20108 + printf "%s\n" X"$ac_file" | 19314 20109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19315 20110 s//\1/ 19316 20111 q ··· 19334 20129 case "$ac_dir" in 19335 20130 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19336 20131 *) 19337 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20132 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 19338 20133 # A ".." for each directory in $ac_dir_suffix. 19339 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20134 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19340 20135 case $ac_top_builddir_sub in 19341 20136 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19342 20137 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 19398 20193 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19399 20194 *datarootdir*) ac_datarootdir_seen=yes;; 19400 20195 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19401 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19402 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20196 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20197 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19403 20198 _ACEOF 19404 20199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19405 20200 ac_datarootdir_hack=' ··· 19443 20238 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19444 20239 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19445 20240 "$ac_tmp/out"`; test -z "$ac_out"; } && 19446 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19447 20242 which seems to be undefined. Please make sure it is defined" >&5 19448 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20243 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19449 20244 which seems to be undefined. Please make sure it is defined" >&2;} 19450 20245 19451 20246 rm -f "$ac_tmp/stdin" ··· 19461 20256 # 19462 20257 if test x"$ac_file" != x-; then 19463 20258 { 19464 - $as_echo "/* $configure_input */" \ 20259 + printf "%s\n" "/* $configure_input */" >&1 \ 19465 20260 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19466 20261 } >"$ac_tmp/config.h" \ 19467 20262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19468 20263 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19469 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19470 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 20264 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 20265 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 19471 20266 else 19472 20267 rm -f "$ac_file" 19473 20268 mv "$ac_tmp/config.h" "$ac_file" \ 19474 20269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19475 20270 fi 19476 20271 else 19477 - $as_echo "/* $configure_input */" \ 20272 + printf "%s\n" "/* $configure_input */" >&1 \ 19478 20273 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19479 20274 || as_fn_error $? "could not create -" "$LINENO" 5 19480 20275 fi ··· 19494 20289 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19495 20290 X"$_am_arg" : 'X\(//\)$' \| \ 19496 20291 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19497 - $as_echo X"$_am_arg" | 20292 + printf "%s\n" X"$_am_arg" | 19498 20293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19499 20294 s//\1/ 19500 20295 q ··· 19514 20309 s/.*/./; q'`/stamp-h$_am_stamp_count 19515 20310 ;; 19516 20311 19517 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19518 - $as_echo "$as_me: executing $ac_file commands" >&6;} 20312 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 20313 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 19519 20314 ;; 19520 20315 esac 19521 20316 ··· 19547 20342 X"$mf" : 'X\(//\)[^/]' \| \ 19548 20343 X"$mf" : 'X\(//\)$' \| \ 19549 20344 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19550 - $as_echo X"$mf" | 20345 + printf "%s\n" X"$mf" | 19551 20346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19552 20347 s//\1/ 19553 20348 q ··· 19589 20384 X"$file" : 'X\(//\)[^/]' \| \ 19590 20385 X"$file" : 'X\(//\)$' \| \ 19591 20386 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19592 - $as_echo X"$file" | 20387 + printf "%s\n" X"$file" | 19593 20388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19594 20389 s//\1/ 19595 20390 q ··· 20070 20865 esac 20071 20866 20072 20867 20868 + 20073 20869 ltmain="$ac_aux_dir/ltmain.sh" 20074 20870 20075 20871 ··· 20234 21030 fi 20235 21031 20236 21032 if test x"$_lt_function_replace_fail" = x":"; then 20237 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 20238 - $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 21033 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 21034 + printf "%s\n" "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 20239 21035 fi 20240 21036 20241 21037 ··· 20278 21074 $ac_cs_success || as_fn_exit 1 20279 21075 fi 20280 21076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20281 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20282 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21077 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21078 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20283 21079 fi 20284 21080
+3 -3
lib/libXvMC/configure.ac
··· 21 21 22 22 # Initialize Autoconf 23 23 AC_PREREQ([2.60]) 24 - AC_INIT([libXvMC], [1.0.12], 24 + AC_INIT([libXvMC], [1.0.13], 25 25 [https://gitlab.freedesktop.org/xorg/lib/libXvMC/issues], [libXvMC]) 26 26 AC_CONFIG_SRCDIR([Makefile.am]) 27 27 AC_CONFIG_HEADERS([config.h]) 28 28 29 29 # Initialize Automake 30 - AM_INIT_AUTOMAKE([foreign dist-bzip2]) 30 + AM_INIT_AUTOMAKE([foreign dist-xz]) 31 31 32 32 # Initialize libtool 33 33 AC_PROG_LIBTOOL ··· 39 39 XORG_DEFAULT_OPTIONS 40 40 XORG_CHECK_MALLOC_ZERO 41 41 42 - # Obtain compiler/linker options for depedencies 42 + # Obtain compiler/linker options for dependencies 43 43 PKG_CHECK_MODULES(XVMC, [x11 >= 1.6] xext xv xextproto videoproto) 44 44 45 45 # Checks for library functions.
+1 -1
lib/libXvMC/include/Makefile.in
··· 136 136 CCDEPMODE = @CCDEPMODE@ 137 137 CFLAGS = @CFLAGS@ 138 138 CHANGELOG_CMD = @CHANGELOG_CMD@ 139 - CPP = @CPP@ 140 139 CPPFLAGS = @CPPFLAGS@ 141 140 CWARNFLAGS = @CWARNFLAGS@ 142 141 CYGPATH_W = @CYGPATH_W@ ··· 256 255 prefix = @prefix@ 257 256 program_transform_name = @program_transform_name@ 258 257 psdir = @psdir@ 258 + runstatedir = @runstatedir@ 259 259 sbindir = @sbindir@ 260 260 sharedstatedir = @sharedstatedir@ 261 261 srcdir = @srcdir@
+1 -1
lib/libXvMC/include/X11/Makefile.in
··· 136 136 CCDEPMODE = @CCDEPMODE@ 137 137 CFLAGS = @CFLAGS@ 138 138 CHANGELOG_CMD = @CHANGELOG_CMD@ 139 - CPP = @CPP@ 140 139 CPPFLAGS = @CPPFLAGS@ 141 140 CWARNFLAGS = @CWARNFLAGS@ 142 141 CYGPATH_W = @CYGPATH_W@ ··· 256 255 prefix = @prefix@ 257 256 program_transform_name = @program_transform_name@ 258 257 psdir = @psdir@ 258 + runstatedir = @runstatedir@ 259 259 sbindir = @sbindir@ 260 260 sharedstatedir = @sharedstatedir@ 261 261 srcdir = @srcdir@
+1 -1
lib/libXvMC/include/X11/extensions/Makefile.in
··· 129 129 CCDEPMODE = @CCDEPMODE@ 130 130 CFLAGS = @CFLAGS@ 131 131 CHANGELOG_CMD = @CHANGELOG_CMD@ 132 - CPP = @CPP@ 133 132 CPPFLAGS = @CPPFLAGS@ 134 133 CWARNFLAGS = @CWARNFLAGS@ 135 134 CYGPATH_W = @CYGPATH_W@ ··· 249 248 prefix = @prefix@ 250 249 program_transform_name = @program_transform_name@ 251 250 psdir = @psdir@ 251 + runstatedir = @runstatedir@ 252 252 sbindir = @sbindir@ 253 253 sharedstatedir = @sharedstatedir@ 254 254 srcdir = @srcdir@
+214 -200
lib/libXvMC/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:
+106
lib/libXvMC/meson.build
··· 1 + # SPDX-License-Identifier: MIT 2 + # Copyright © 2022 Intel Corporation 3 + 4 + project( 5 + 'libXvMC', 6 + 'c', 7 + version : '1.0.13', 8 + meson_version : '>= 0.58', 9 + default_options : ['default_library=both'], 10 + ) 11 + 12 + cc = meson.get_compiler('c') 13 + 14 + dep_dl = dependency('dl', required : false) 15 + if not dep_dl.found() 16 + dep_dl = cc.find_library('dl', required : false) 17 + endif 18 + 19 + deps = [ 20 + dependency('x11', version : '>= 1.6'), 21 + dependency('xext'), 22 + dependency('xv'), 23 + dependency('xextproto'), 24 + dependency('videoproto'), 25 + dep_dl, 26 + ] 27 + 28 + conf = configuration_data() 29 + 30 + if cc.has_function('shmat') 31 + conf.set('HAVE_SHMAT', true) 32 + endif 33 + 34 + configure_file( 35 + configuration : conf, 36 + output : 'config.h', 37 + ) 38 + 39 + install_headers( 40 + 'include/X11/extensions/vldXvMC.h', 41 + 'include/X11/extensions/XvMClib.h', 42 + subdir : 'X11/extensions', 43 + ) 44 + 45 + install_data( 46 + 'XvMC_API.txt', 47 + install_dir : get_option('datadir') / 'doc', 48 + ) 49 + 50 + pkg = import('pkgconfig') 51 + 52 + inc = include_directories('include') 53 + 54 + libXvMC = library( 55 + 'XvMC', 56 + 'src/XvMC.c', 57 + c_args : ['-DHAVE_CONFIG_H'], 58 + include_directories : inc, 59 + dependencies : deps, 60 + version : '1.0.0', 61 + install : true, 62 + ) 63 + 64 + pkg.generate( 65 + libXvMC, 66 + filebase : 'xvmc', 67 + description : 'The XvMC Library', 68 + version : meson.project_version(), 69 + ) 70 + 71 + ext_libXvMC = declare_dependency( 72 + link_with : libXvMC, 73 + include_directories : inc, 74 + ) 75 + 76 + meson.override_dependency('xvmc', ext_libXvMC) 77 + 78 + libXvMCW = library( 79 + 'XvMCW', 80 + 'wrapper/XvMCWrapper.c', 81 + include_directories : inc, 82 + c_args : [ 83 + '-DXVMC_CONFIGDIR=@0@/X11'.format(get_option('sysconfdir')), 84 + '-DXVMC_SOVERSION=".1.0"', 85 + '-DXV_SOVERSION=".1.0"', 86 + ], 87 + dependencies : deps, 88 + version : '1.0.0', 89 + install : true, 90 + ) 91 + 92 + ext_libXvMCW = declare_dependency( 93 + link_with : libXvMCW, 94 + include_directories : inc, 95 + ) 96 + 97 + pkg.generate( 98 + libXvMCW, 99 + name : 'XvMCWrapper', 100 + filebase : 'xvmc-wrapper', 101 + description : 'XvMC wrapper library', 102 + version : meson.project_version(), 103 + ) 104 + 105 + meson.override_dependency('xvmc-wrapper', ext_libXvMCW) 106 +
+1 -1
lib/libXvMC/src/Makefile.in
··· 162 162 CCDEPMODE = @CCDEPMODE@ 163 163 CFLAGS = @CFLAGS@ 164 164 CHANGELOG_CMD = @CHANGELOG_CMD@ 165 - CPP = @CPP@ 166 165 CPPFLAGS = @CPPFLAGS@ 167 166 CWARNFLAGS = @CWARNFLAGS@ 168 167 CYGPATH_W = @CYGPATH_W@ ··· 282 281 prefix = @prefix@ 283 282 program_transform_name = @program_transform_name@ 284 283 psdir = @psdir@ 284 + runstatedir = @runstatedir@ 285 285 sbindir = @sbindir@ 286 286 sharedstatedir = @sharedstatedir@ 287 287 srcdir = @srcdir@
+1 -1
lib/libXvMC/src/XvMC.c
··· 519 519 * X server can read this pattern, we probably have a local connection. 520 520 * Note that we can trigger the remote X server to read any shared 521 521 * page on the remote machine, so we shouldn't be able to guess and verify 522 - * any complicated data on those pages. Thats the explanation of this 522 + * any complicated data on those pages. That's the explanation of this 523 523 * otherwise stupid-looking pattern algorithm. 524 524 */ 525 525
+1 -1
lib/libXvMC/wrapper/Makefile.in
··· 162 162 CCDEPMODE = @CCDEPMODE@ 163 163 CFLAGS = @CFLAGS@ 164 164 CHANGELOG_CMD = @CHANGELOG_CMD@ 165 - CPP = @CPP@ 166 165 CPPFLAGS = @CPPFLAGS@ 167 166 CWARNFLAGS = @CWARNFLAGS@ 168 167 CYGPATH_W = @CYGPATH_W@ ··· 282 281 prefix = @prefix@ 283 282 program_transform_name = @program_transform_name@ 284 283 psdir = @psdir@ 284 + runstatedir = @runstatedir@ 285 285 sbindir = @sbindir@ 286 286 sharedstatedir = @sharedstatedir@ 287 287 srcdir = @srcdir@
+1 -1
lib/libXvMC/wrapper/XvMCWrapper.c
··· 27 27 28 28 /* 29 29 * BUGS: The wrapper really should maintain one symbol table per port. This 30 - * could possibly be impemented, To do that, the port-independent symbols need to be lifted out, 30 + * could possibly be implemented. To do that, the port-independent symbols need to be lifted out, 31 31 * and one would have to create a number of mapping tables: 32 32 * 33 33 * port -> symbol table
+2 -2
lib/libXvMC/xvmc-wrapper.pc.in
··· 6 6 Name: XvMCWrapper 7 7 Description: XvMC wrapper library 8 8 Version: @PACKAGE_VERSION@ 9 - Requires: xproto videoproto 10 - Requires.private: x11 xext 9 + Requires: videoproto xextproto 10 + Requires.private: x11 >= 1.6 xext xv 11 11 Cflags: -I${includedir} 12 12 Libs: -L${libdir} -lXvMCW
+2 -2
lib/libXvMC/xvmc.pc.in
··· 6 6 Name: XvMC 7 7 Description: The XvMC Library 8 8 Version: @PACKAGE_VERSION@ 9 - Requires: xproto videoproto 10 - Requires.private: x11 xext 9 + Requires: videoproto xextproto 10 + Requires.private: x11 >= 1.6 xext xv 11 11 Cflags: -I${includedir} 12 12 Libs: -L${libdir} -lXvMC