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 libXdamage 1.1.6

matthieu 2314a82c 56e38a96

+4919 -3977
+160 -2
lib/libXdamage/ChangeLog
··· 1 + commit 1f20df4fd7c132f55e924dc5ec3f270cd54704d0 2 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 + Date: Sun Dec 4 15:09:13 2022 -0800 4 + 5 + libXdamage 1.1.6 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 + 9 + commit 4adcd841e3e09982272b2f79ef3aadfb257814e3 10 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11 + Date: Thu Nov 17 11:14:53 2022 -0800 12 + 13 + Handle -Wshorten-64-to-32 warnings from clang 14 + 15 + Xdamage.c:265:28: warning: implicit conversion loses integer precision: 'Drawable' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 16 + awire->drawable = aevent->drawable; 17 + ~ ~~~~~~~~^~~~~~~~ 18 + Xdamage.c:266:26: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 19 + awire->damage = aevent->damage; 20 + ~ ~~~~~~~~^~~~~~ 21 + Xdamage.c:268:29: warning: implicit conversion loses integer precision: 'Time' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 22 + awire->timestamp = aevent->timestamp; 23 + ~ ~~~~~~~~^~~~~~~~~ 24 + Xdamage.c:326:26: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 25 + req->damage = damage = XAllocID (dpy); 26 + ~ ~~~~~~~^~~~~~~~~~~~~~~~ 27 + Xdamage.c:327:21: warning: implicit conversion loses integer precision: 'Drawable' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 28 + req->drawable = drawable; 29 + ~ ^~~~~~~~ 30 + Xdamage.c:345:19: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 31 + req->damage = damage; 32 + ~ ^~~~~~ 33 + Xdamage.c:362:19: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 34 + req->damage = damage; 35 + ~ ^~~~~~ 36 + Xdamage.c:363:19: warning: implicit conversion loses integer precision: 'XserverRegion' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 37 + req->repair = repair; 38 + ~ ^~~~~~ 39 + Xdamage.c:364:18: warning: implicit conversion loses integer precision: 'XserverRegion' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 40 + req->parts = parts; 41 + ~ ^~~~~ 42 + Xdamage.c:380:21: warning: implicit conversion loses integer precision: 'Drawable' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 43 + req->drawable = drawable; 44 + ~ ^~~~~~~~ 45 + Xdamage.c:381:19: warning: implicit conversion loses integer precision: 'XserverRegion' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32] 46 + req->region = region; 47 + ~ ^~~~~~ 48 + 49 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 50 + 51 + commit ba46dd91f2b2248e459911b38acd49a776c748f2 52 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 53 + Date: Thu Nov 17 11:07:10 2022 -0800 54 + 55 + Handle -Wconversion warnings from clang 56 + 57 + Xdamage.c:81:30: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 58 + req->reqType = info->codes->major_opcode; 59 + ~ ~~~~~~~~~~~~~^~~~~~~~~~~~ 60 + Xdamage.c:264:29: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 61 + awire->type = aevent->type | (aevent->send_event ? 0x80 : 0); 62 + ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 63 + Xdamage.c:267:31: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 64 + awire->level = aevent->level | (aevent->more ? DamageNotifyMore : 0); 65 + ~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 + Xdamage.c:324:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 67 + req->reqType = info->codes->major_opcode; 68 + ~ ~~~~~~~~~~~~~^~~~~~~~~~~~ 69 + Xdamage.c:328:18: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 70 + req->level = level; 71 + ~ ^~~~~ 72 + Xdamage.c:343:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 73 + req->reqType = info->codes->major_opcode; 74 + ~ ~~~~~~~~~~~~~^~~~~~~~~~~~ 75 + Xdamage.c:360:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 76 + req->reqType = info->codes->major_opcode; 77 + ~ ~~~~~~~~~~~~~^~~~~~~~~~~~ 78 + Xdamage.c:378:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion] 79 + req->reqType = info->codes->major_opcode; 80 + ~ ~~~~~~~~~~~~~^~~~~~~~~~~~ 81 + 82 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 83 + 84 + commit 90bb47685ed92df1eb5bbb9b6875a40f3e98bb43 85 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 86 + Date: Thu Nov 17 10:55:07 2022 -0800 87 + 88 + Remove unnecessary casts from malloc() and free() calls 89 + 90 + Not needed in C89 and later 91 + 92 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 93 + 94 + commit 6e16a274610317abc3956291aa498b1ecdccc900 95 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 96 + Date: Wed Nov 16 19:18:18 2022 -0800 97 + 98 + XDamageCloseDisplay: Mark codes as unused 99 + 100 + Quiets clang warning: 101 + 102 + Xdamage.c:207:47: warning: unused parameter 'codes' [-Wunused-parameter] 103 + XDamageCloseDisplay (Display *dpy, XExtCodes *codes) 104 + ^ 105 + 106 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 107 + 108 + commit 14ecba28e2d2846d0690ee86d3d01a1389558fd6 109 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 110 + Date: Wed Nov 16 19:14:34 2022 -0800 111 + 112 + Mark two dpy parameters const as suggested by cppcheck 113 + 114 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 115 + 116 + commit 98c179ea912e9e420451adeb9bab4b462cab836c 117 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 118 + Date: Wed Nov 16 19:13:03 2022 -0800 119 + 120 + Variable scope reduction as recommended by cppcheck 121 + 122 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 123 + 124 + commit 51cbd370a2fc0d671398d7572c29f00cae34a86f 125 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 126 + Date: Sun Jul 17 12:01:38 2022 -0700 127 + 128 + gitlab CI: add a basic build test 129 + 130 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 131 + 132 + commit 2f1ee1fd079391d239a7c0e4dbb34d80e227ab0f 133 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 134 + Date: Sun Jul 17 11:59:53 2022 -0700 135 + 136 + Fix spelling/wording issues 137 + 138 + Found by using: 139 + codespell --builtin clear,rare,usage,informal,code,names 140 + 141 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 142 + 143 + commit 691f0a8d1f6c4eebe0191c29b31598f63dba2f77 144 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 145 + Date: Sun Jul 17 11:59:20 2022 -0700 146 + 147 + Build xz tarballs instead of bzip2 148 + 149 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 150 + 151 + commit fea0f32d268753bb0f322a26d73b31ec9aca80f4 152 + Author: Alan Coopersmith <alan.coopersmith@oracle.com> 153 + Date: Sat Mar 16 12:37:57 2019 -0700 154 + 155 + Update configure.ac bug URL for gitlab migration 156 + 157 + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 158 + 1 159 commit 977b04cd69738806e0b48fcf5c725763d065f06d 2 160 Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3 161 Date: Sun Mar 10 18:08:06 2019 -0700 ··· 528 686 Require automake 1.7 in AM_INIT_AUTOMAKE 529 687 530 688 commit 4b9f6d209d2833afb58c2f2e648907f460d1be95 531 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 689 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 532 690 Date: Tue May 17 17:02:24 2005 +0000 533 691 534 692 Conditionally include config.h in xc/lib/Xdamage and xc/lib/Xfixes 535 693 536 694 commit daa2ab8a2deff5730713c38322be53ed8facae74 537 - Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 695 + Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 538 696 Date: Tue May 17 16:47:59 2005 +0000 539 697 540 698 Add Xdamage build system
+4 -4
lib/libXdamage/Makefile.in
··· 186 186 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 187 187 done; \ 188 188 reldir="$$dir2" 189 - DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 189 + DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz 190 190 GZIP_ENV = --best 191 - DIST_TARGETS = dist-bzip2 dist-gzip 191 + DIST_TARGETS = dist-xz dist-gzip 192 192 distuninstallcheck_listfiles = find . -type f -print 193 193 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 194 194 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' ··· 210 210 CCDEPMODE = @CCDEPMODE@ 211 211 CFLAGS = @CFLAGS@ 212 212 CHANGELOG_CMD = @CHANGELOG_CMD@ 213 - CPP = @CPP@ 214 213 CPPFLAGS = @CPPFLAGS@ 215 214 CWARNFLAGS = @CWARNFLAGS@ 216 215 CYGPATH_W = @CYGPATH_W@ ··· 325 324 prefix = @prefix@ 326 325 program_transform_name = @program_transform_name@ 327 326 psdir = @psdir@ 327 + runstatedir = @runstatedir@ 328 328 sbindir = @sbindir@ 329 329 sharedstatedir = @sharedstatedir@ 330 330 srcdir = @srcdir@ ··· 630 630 dist-gzip: distdir 631 631 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 632 632 $(am__post_remove_distdir) 633 + 633 634 dist-bzip2: distdir 634 635 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 635 636 $(am__post_remove_distdir) ··· 637 638 dist-lzip: distdir 638 639 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 639 640 $(am__post_remove_distdir) 640 - 641 641 dist-xz: distdir 642 642 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 643 643 $(am__post_remove_distdir)
+1 -1
lib/libXdamage/README.md
··· 11 11 12 12 https://lists.x.org/mailman/listinfo/xorg 13 13 14 - The master development code repository can be found at: 14 + The primary development code repository can be found at: 15 15 16 16 https://gitlab.freedesktop.org/xorg/lib/libXdamage 17 17
+54 -34
lib/libXdamage/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'.])]) ··· 5383 5383 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 5384 5384 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes 5385 5385 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5386 - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-soname ${wl}$soname $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 5386 + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 5387 5387 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 5388 5388 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 5389 5389 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ··· 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()
+6 -4
lib/libXdamage/config.h.in
··· 6 6 /* Define to 1 if you have the <inttypes.h> header file. */ 7 7 #undef HAVE_INTTYPES_H 8 8 9 - /* Define to 1 if you have the <memory.h> header file. */ 10 - #undef HAVE_MEMORY_H 11 - 12 9 /* Define to 1 if you have the <stdint.h> header file. */ 13 10 #undef HAVE_STDINT_H 11 + 12 + /* Define to 1 if you have the <stdio.h> header file. */ 13 + #undef HAVE_STDIO_H 14 14 15 15 /* Define to 1 if you have the <stdlib.h> header file. */ 16 16 #undef HAVE_STDLIB_H ··· 64 64 /* Patch version of this package */ 65 65 #undef PACKAGE_VERSION_PATCHLEVEL 66 66 67 - /* Define to 1 if you have the ANSI C header files. */ 67 + /* Define to 1 if all of the C90 standard headers exist (not just the ones 68 + required in a freestanding environment). This macro is provided for 69 + backward compatibility; new code need not use it. */ 68 70 #undef STDC_HEADERS 69 71 70 72 /* Version number of package */
+4446 -3700
lib/libXdamage/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.69 for libXdamage 1.1.5. 3 + # Generated by GNU Autoconf 2.71 for libXdamage 1.1.6. 4 4 # 5 - # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 5 + # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues>. 6 6 # 7 7 # 8 - # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 + # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 9 + # Inc. 9 10 # 10 11 # 11 12 # This configure script is free software; the Free Software Foundation ··· 16 17 17 18 # Be more Bourne compatible 18 19 DUALCASE=1; export DUALCASE # for MKS sh 19 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 + as_nop=: 21 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 22 + then : 20 23 emulate sh 21 24 NULLCMD=: 22 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 26 # is contrary to our usage. Disable this feature. 24 27 alias -g '${1+"$@"}'='"$@"' 25 28 setopt NO_GLOB_SUBST 26 - else 29 + else $as_nop 27 30 case `(set -o) 2>/dev/null` in #( 28 31 *posix*) : 29 32 set -o posix ;; #( ··· 33 36 fi 34 37 35 38 39 + 40 + # Reset variables that may have inherited troublesome values from 41 + # the environment. 42 + 43 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 44 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 45 + # side effect of setting IFS to empty, thus disabling word splitting.) 46 + # Quoting is to prevent editors from complaining about space-tab. 36 47 as_nl=' 37 48 ' 38 49 export as_nl 39 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 - # Prefer a ksh shell builtin over an external printf program on Solaris, 44 - # but without wasting forks for bash or zsh. 45 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 - as_echo='print -r --' 48 - as_echo_n='print -rn --' 49 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 - as_echo='printf %s\n' 51 - as_echo_n='printf %s' 52 - else 53 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 - as_echo_n='/usr/ucb/echo -n' 56 - else 57 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 - as_echo_n_body='eval 59 - arg=$1; 60 - case $arg in #( 61 - *"$as_nl"*) 62 - expr "X$arg" : "X\\(.*\\)$as_nl"; 63 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 - esac; 65 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 - ' 67 - export as_echo_n_body 68 - as_echo_n='sh -c $as_echo_n_body as_echo' 69 - fi 70 - export as_echo_body 71 - as_echo='sh -c $as_echo_body as_echo' 72 - fi 50 + IFS=" "" $as_nl" 51 + 52 + PS1='$ ' 53 + PS2='> ' 54 + PS4='+ ' 55 + 56 + # Ensure predictable behavior from utilities with locale-dependent output. 57 + LC_ALL=C 58 + export LC_ALL 59 + LANGUAGE=C 60 + export LANGUAGE 61 + 62 + # We cannot yet rely on "unset" to work, but we need these variables 63 + # to be unset--not just set to an empty or harmless value--now, to 64 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 65 + # also avoids known problems related to "unset" and subshell syntax 66 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 67 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 68 + do eval test \${$as_var+y} \ 69 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 70 + done 71 + 72 + # Ensure that fds 0, 1, and 2 are open. 73 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 74 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 75 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 73 76 74 77 # The user is always right. 75 - if test "${PATH_SEPARATOR+set}" != set; then 78 + if ${PATH_SEPARATOR+false} :; then 76 79 PATH_SEPARATOR=: 77 80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 81 84 fi 82 85 83 86 84 - # IFS 85 - # We need space, tab and new line, in precisely that order. Quoting is 86 - # there to prevent editors from complaining about space-tab. 87 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 - # splitting by setting IFS to empty value.) 89 - IFS=" "" $as_nl" 90 - 91 87 # Find who we are. Look in the path if we contain no directory separator. 92 88 as_myself= 93 89 case $0 in #(( ··· 96 92 for as_dir in $PATH 97 93 do 98 94 IFS=$as_save_IFS 99 - test -z "$as_dir" && as_dir=. 100 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 95 + case $as_dir in #((( 96 + '') as_dir=./ ;; 97 + */) ;; 98 + *) as_dir=$as_dir/ ;; 99 + esac 100 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 101 101 done 102 102 IFS=$as_save_IFS 103 103 ··· 109 109 as_myself=$0 110 110 fi 111 111 if test ! -f "$as_myself"; then 112 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 113 exit 1 114 114 fi 115 115 116 - # Unset variables that we do not need and which cause bugs (e.g. in 117 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 - # suppresses any "Segmentation fault" message there. '((' could 119 - # trigger a bug in pdksh 5.2.14. 120 - for as_var in BASH_ENV ENV MAIL MAILPATH 121 - do eval test x\${$as_var+set} = xset \ 122 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 - done 124 - PS1='$ ' 125 - PS2='> ' 126 - PS4='+ ' 127 - 128 - # NLS nuisances. 129 - LC_ALL=C 130 - export LC_ALL 131 - LANGUAGE=C 132 - export LANGUAGE 133 - 134 - # CDPATH. 135 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 116 137 117 # Use a proper internal environment variable to ensure we don't fall 138 118 # into an infinite loop, continuously re-executing ourselves. ··· 154 134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 135 # Admittedly, this is quite paranoid, since all the known shells bail 156 136 # out after a failed `exec'. 157 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 - as_fn_exit 255 137 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 138 + exit 255 159 139 fi 160 140 # We don't want this to propagate to other subprocesses. 161 141 { _as_can_reexec=; unset _as_can_reexec;} 162 142 if test "x$CONFIG_SHELL" = x; then 163 - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 143 + as_bourne_compatible="as_nop=: 144 + if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 145 + then : 164 146 emulate sh 165 147 NULLCMD=: 166 148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 149 # is contrary to our usage. Disable this feature. 168 150 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 151 setopt NO_GLOB_SUBST 170 - else 152 + else \$as_nop 171 153 case \`(set -o) 2>/dev/null\` in #( 172 154 *posix*) : 173 155 set -o posix ;; #( ··· 187 169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 - if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 172 + if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 173 + then : 191 174 192 - else 175 + else \$as_nop 193 176 exitcode=1; echo positional parameters were not saved. 194 177 fi 195 178 test x\$exitcode = x0 || exit 1 179 + blah=\$(echo \$(echo blah)) 180 + test x\"\$blah\" = xblah || exit 1 196 181 test -x / || exit 1" 197 182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ··· 207 192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209 194 test \$(( 1 + 1 )) = 2 || exit 1" 210 - if (eval "$as_required") 2>/dev/null; then : 195 + if (eval "$as_required") 2>/dev/null 196 + then : 211 197 as_have_required=yes 212 - else 198 + else $as_nop 213 199 as_have_required=no 214 200 fi 215 - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 201 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 202 + then : 216 203 217 - else 204 + else $as_nop 218 205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219 206 as_found=false 220 207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221 208 do 222 209 IFS=$as_save_IFS 223 - test -z "$as_dir" && as_dir=. 210 + case $as_dir in #((( 211 + '') as_dir=./ ;; 212 + */) ;; 213 + *) as_dir=$as_dir/ ;; 214 + esac 224 215 as_found=: 225 216 case $as_dir in #( 226 217 /*) 227 218 for as_base in sh bash ksh sh5; do 228 219 # Try only shells that exist, to save several forks. 229 - as_shell=$as_dir/$as_base 220 + as_shell=$as_dir$as_base 230 221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 223 + then : 232 224 CONFIG_SHELL=$as_shell as_have_required=yes 233 - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 225 + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 226 + then : 234 227 break 2 235 228 fi 236 229 fi ··· 238 231 esac 239 232 as_found=false 240 233 done 241 - $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 - CONFIG_SHELL=$SHELL as_have_required=yes 244 - fi; } 245 234 IFS=$as_save_IFS 235 + if $as_found 236 + then : 246 237 238 + else $as_nop 239 + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 241 + then : 242 + CONFIG_SHELL=$SHELL as_have_required=yes 243 + fi 244 + fi 247 245 248 - if test "x$CONFIG_SHELL" != x; then : 246 + 247 + if test "x$CONFIG_SHELL" != x 248 + then : 249 249 export CONFIG_SHELL 250 250 # We cannot yet assume a decent shell, so we have to provide a 251 251 # neutralization value for shells without unset; and this also ··· 263 263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264 264 # Admittedly, this is quite paranoid, since all the known shells bail 265 265 # out after a failed `exec'. 266 - $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 266 + printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 267 267 exit 255 268 268 fi 269 269 270 - if test x$as_have_required = xno; then : 271 - $as_echo "$0: This script requires a shell more modern than all" 272 - $as_echo "$0: the shells that I found on your system." 273 - if test x${ZSH_VERSION+set} = xset ; then 274 - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 - $as_echo "$0: be upgraded to zsh 4.3.4 or later." 270 + if test x$as_have_required = xno 271 + then : 272 + printf "%s\n" "$0: This script requires a shell more modern than all" 273 + printf "%s\n" "$0: the shells that I found on your system." 274 + if test ${ZSH_VERSION+y} ; then 275 + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 276 + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 276 277 else 277 - $as_echo "$0: Please tell bug-autoconf@gnu.org and 278 - $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 278 + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and 279 + $0: https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues 279 280 $0: about your system, including any error possibly output 280 281 $0: before this message. Then install a modern shell, or 281 282 $0: manually run the script under such a shell if you do ··· 303 304 } 304 305 as_unset=as_fn_unset 305 306 307 + 306 308 # as_fn_set_status STATUS 307 309 # ----------------------- 308 310 # Set $? to STATUS, without forking. ··· 320 322 as_fn_set_status $1 321 323 exit $1 322 324 } # as_fn_exit 325 + # as_fn_nop 326 + # --------- 327 + # Do nothing but, unlike ":", preserve the value of $?. 328 + as_fn_nop () 329 + { 330 + return $? 331 + } 332 + as_nop=as_fn_nop 323 333 324 334 # as_fn_mkdir_p 325 335 # ------------- ··· 334 344 as_dirs= 335 345 while :; do 336 346 case $as_dir in #( 337 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 347 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 348 *) as_qdir=$as_dir;; 339 349 esac 340 350 as_dirs="'$as_qdir' $as_dirs" ··· 343 353 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 354 X"$as_dir" : 'X\(//\)$' \| \ 345 355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346 - $as_echo X"$as_dir" | 356 + printf "%s\n" X"$as_dir" | 347 357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 358 s//\1/ 349 359 q ··· 382 392 # advantage of any shell optimizations that allow amortized linear growth over 383 393 # repeated appends, instead of the typical quadratic growth present in naive 384 394 # implementations. 385 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 395 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 396 + then : 386 397 eval 'as_fn_append () 387 398 { 388 399 eval $1+=\$2 389 400 }' 390 - else 401 + else $as_nop 391 402 as_fn_append () 392 403 { 393 404 eval $1=\$$1\$2 ··· 399 410 # Perform arithmetic evaluation on the ARGs, and store the result in the 400 411 # global $as_val. Take advantage of shells that can avoid forks. The arguments 401 412 # must be portable across $(()) and expr. 402 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 413 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 414 + then : 403 415 eval 'as_fn_arith () 404 416 { 405 417 as_val=$(( $* )) 406 418 }' 407 - else 419 + else $as_nop 408 420 as_fn_arith () 409 421 { 410 422 as_val=`expr "$@" || test $? -eq 1` 411 423 } 412 424 fi # as_fn_arith 413 425 426 + # as_fn_nop 427 + # --------- 428 + # Do nothing but, unlike ":", preserve the value of $?. 429 + as_fn_nop () 430 + { 431 + return $? 432 + } 433 + as_nop=as_fn_nop 414 434 415 435 # as_fn_error STATUS ERROR [LINENO LOG_FD] 416 436 # ---------------------------------------- ··· 422 442 as_status=$1; test $as_status -eq 0 && as_status=1 423 443 if test "$4"; then 424 444 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 445 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 446 fi 427 - $as_echo "$as_me: error: $2" >&2 447 + printf "%s\n" "$as_me: error: $2" >&2 428 448 as_fn_exit $as_status 429 449 } # as_fn_error 430 450 ··· 451 471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 472 X"$0" : 'X\(//\)$' \| \ 453 473 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454 - $as_echo X/"$0" | 474 + printf "%s\n" X/"$0" | 455 475 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 476 s//\1/ 457 477 q ··· 495 515 s/-\n.*// 496 516 ' >$as_me.lineno && 497 517 chmod +x "$as_me.lineno" || 498 - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 518 + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 519 500 520 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 521 # already done that, so ensure we don't try to do so again and fall ··· 509 529 exit 510 530 } 511 531 532 + 533 + # Determine whether it's possible to make 'echo' print without a newline. 534 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 535 + # for compatibility with existing Makefiles. 512 536 ECHO_C= ECHO_N= ECHO_T= 513 537 case `echo -n x` in #((((( 514 538 -n*) ··· 522 546 ECHO_N='-n';; 523 547 esac 524 548 549 + # For backward compatibility with old third-party macros, we provide 550 + # the shell variables $as_echo and $as_echo_n. New code should use 551 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 552 + as_echo='printf %s\n' 553 + as_echo_n='printf %s' 554 + 555 + 525 556 rm -f conf$$ conf$$.exe conf$$.file 526 557 if test -d conf$$.dir; then 527 558 rm -f conf$$.dir/conf$$.file ··· 591 622 # Identity of this package. 592 623 PACKAGE_NAME='libXdamage' 593 624 PACKAGE_TARNAME='libXdamage' 594 - PACKAGE_VERSION='1.1.5' 595 - PACKAGE_STRING='libXdamage 1.1.5' 596 - PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 625 + PACKAGE_VERSION='1.1.6' 626 + PACKAGE_STRING='libXdamage 1.1.6' 627 + PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/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 - #endif 623 - #ifdef HAVE_STRINGS_H 624 - # include <strings.h> 625 642 #endif 626 643 #ifdef HAVE_INTTYPES_H 627 644 # include <inttypes.h> ··· 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 ··· 669 696 MAINT 670 697 MAINTAINER_MODE_FALSE 671 698 MAINTAINER_MODE_TRUE 672 - CPP 673 699 OTOOL64 674 700 OTOOL 675 701 LIPO ··· 758 784 docdir 759 785 oldincludedir 760 786 includedir 787 + runstatedir 761 788 localstatedir 762 789 sharedstatedir 763 790 sysconfdir ··· 801 828 LDFLAGS 802 829 LIBS 803 830 CPPFLAGS 804 - CPP 805 831 PKG_CONFIG 806 832 PKG_CONFIG_PATH 807 833 PKG_CONFIG_LIBDIR ··· 845 871 sysconfdir='${prefix}/etc' 846 872 sharedstatedir='${prefix}/com' 847 873 localstatedir='${prefix}/var' 874 + runstatedir='${localstatedir}/run' 848 875 includedir='${prefix}/include' 849 876 oldincludedir='/usr/include' 850 877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ··· 874 901 *) ac_optarg=yes ;; 875 902 esac 876 903 877 - # Accept the important Cygnus configure options, so we can diagnose typos. 878 - 879 904 case $ac_dashdash$ac_option in 880 905 --) 881 906 ac_dashdash=yes ;; ··· 916 941 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 917 942 # Reject names that are not valid shell variable names. 918 943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 919 - as_fn_error $? "invalid feature name: $ac_useropt" 944 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 920 945 ac_useropt_orig=$ac_useropt 921 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 946 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 922 947 case $ac_user_opts in 923 948 *" 924 949 "enable_$ac_useropt" ··· 942 967 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 943 968 # Reject names that are not valid shell variable names. 944 969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 945 - as_fn_error $? "invalid feature name: $ac_useropt" 970 + as_fn_error $? "invalid feature name: \`$ac_useropt'" 946 971 ac_useropt_orig=$ac_useropt 947 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 972 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 948 973 case $ac_user_opts in 949 974 *" 950 975 "enable_$ac_useropt" ··· 1097 1122 | -silent | --silent | --silen | --sile | --sil) 1098 1123 silent=yes ;; 1099 1124 1125 + -runstatedir | --runstatedir | --runstatedi | --runstated \ 1126 + | --runstate | --runstat | --runsta | --runst | --runs \ 1127 + | --run | --ru | --r) 1128 + ac_prev=runstatedir ;; 1129 + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1130 + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1131 + | --run=* | --ru=* | --r=*) 1132 + runstatedir=$ac_optarg ;; 1133 + 1100 1134 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1101 1135 ac_prev=sbindir ;; 1102 1136 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ··· 1146 1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1147 1181 # Reject names that are not valid shell variable names. 1148 1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1149 - as_fn_error $? "invalid package name: $ac_useropt" 1183 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1150 1184 ac_useropt_orig=$ac_useropt 1151 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1185 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1152 1186 case $ac_user_opts in 1153 1187 *" 1154 1188 "with_$ac_useropt" ··· 1162 1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1163 1197 # Reject names that are not valid shell variable names. 1164 1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1165 - as_fn_error $? "invalid package name: $ac_useropt" 1199 + as_fn_error $? "invalid package name: \`$ac_useropt'" 1166 1200 ac_useropt_orig=$ac_useropt 1167 - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1201 + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1168 1202 case $ac_user_opts in 1169 1203 *" 1170 1204 "with_$ac_useropt" ··· 1208 1242 1209 1243 *) 1210 1244 # FIXME: should be removed in autoconf 3.0. 1211 - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1245 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1212 1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1213 - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1247 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1214 1248 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1215 1249 ;; 1216 1250 ··· 1226 1260 case $enable_option_checking in 1227 1261 no) ;; 1228 1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1229 - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1263 + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1230 1264 esac 1231 1265 fi 1232 1266 ··· 1234 1268 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1235 1269 datadir sysconfdir sharedstatedir localstatedir includedir \ 1236 1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1237 - libdir localedir mandir 1271 + libdir localedir mandir runstatedir 1238 1272 do 1239 1273 eval ac_val=\$$ac_var 1240 1274 # Remove trailing slashes. ··· 1290 1324 X"$as_myself" : 'X\(//\)[^/]' \| \ 1291 1325 X"$as_myself" : 'X\(//\)$' \| \ 1292 1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1293 - $as_echo X"$as_myself" | 1327 + printf "%s\n" X"$as_myself" | 1294 1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1295 1329 s//\1/ 1296 1330 q ··· 1347 1381 # Omit some internal or obsolete options to make the list less imposing. 1348 1382 # This message is too long to be a string in the A/UX 3.1 sh. 1349 1383 cat <<_ACEOF 1350 - \`configure' configures libXdamage 1.1.5 to adapt to many kinds of systems. 1384 + \`configure' configures libXdamage 1.1.6 to adapt to many kinds of systems. 1351 1385 1352 1386 Usage: $0 [OPTION]... [VAR=VALUE]... 1353 1387 ··· 1387 1421 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1388 1422 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1389 1423 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1424 + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1390 1425 --libdir=DIR object code libraries [EPREFIX/lib] 1391 1426 --includedir=DIR C header files [PREFIX/include] 1392 1427 --oldincludedir=DIR C header files for non-gcc [/usr/include] ··· 1417 1452 1418 1453 if test -n "$ac_init_help"; then 1419 1454 case $ac_init_help in 1420 - short | recursive ) echo "Configuration of libXdamage 1.1.5:";; 1455 + short | recursive ) echo "Configuration of libXdamage 1.1.6:";; 1421 1456 esac 1422 1457 cat <<\_ACEOF 1423 1458 ··· 1463 1498 LIBS libraries to pass to the linker, e.g. -l<library> 1464 1499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1465 1500 you have headers in a nonstandard directory <include dir> 1466 - CPP C preprocessor 1467 1501 PKG_CONFIG path to pkg-config utility 1468 1502 PKG_CONFIG_PATH 1469 1503 directories to add to pkg-config's search path ··· 1477 1511 Use these variables to override the choices made by `configure' or to help 1478 1512 it to find libraries and programs with nonstandard names/locations. 1479 1513 1480 - Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1514 + Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues>. 1481 1515 _ACEOF 1482 1516 ac_status=$? 1483 1517 fi ··· 1493 1527 case "$ac_dir" in 1494 1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1495 1529 *) 1496 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1530 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1497 1531 # A ".." for each directory in $ac_dir_suffix. 1498 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1532 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1499 1533 case $ac_top_builddir_sub in 1500 1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1501 1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 1523 1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1524 1558 1525 1559 cd "$ac_dir" || { ac_status=$?; continue; } 1526 - # Check for guested configure. 1560 + # Check for configure.gnu first; this name is used for a wrapper for 1561 + # Metaconfig's "Configure" on case-insensitive file systems. 1527 1562 if test -f "$ac_srcdir/configure.gnu"; then 1528 1563 echo && 1529 1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive ··· 1531 1566 echo && 1532 1567 $SHELL "$ac_srcdir/configure" --help=recursive 1533 1568 else 1534 - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1569 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1535 1570 fi || ac_status=$? 1536 1571 cd "$ac_pwd" || { ac_status=$?; break; } 1537 1572 done ··· 1540 1575 test -n "$ac_init_help" && exit $ac_status 1541 1576 if $ac_init_version; then 1542 1577 cat <<\_ACEOF 1543 - libXdamage configure 1.1.5 1544 - generated by GNU Autoconf 2.69 1578 + libXdamage configure 1.1.6 1579 + generated by GNU Autoconf 2.71 1545 1580 1546 - Copyright (C) 2012 Free Software Foundation, Inc. 1581 + Copyright (C) 2021 Free Software Foundation, Inc. 1547 1582 This configure script is free software; the Free Software Foundation 1548 1583 gives unlimited permission to copy, distribute and modify it. 1549 1584 _ACEOF ··· 1560 1595 ac_fn_c_try_compile () 1561 1596 { 1562 1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1563 - rm -f conftest.$ac_objext 1598 + rm -f conftest.$ac_objext conftest.beam 1564 1599 if { { ac_try="$ac_compile" 1565 1600 case "(($ac_try" in 1566 1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1567 1602 *) ac_try_echo=$ac_try;; 1568 1603 esac 1569 1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1570 - $as_echo "$ac_try_echo"; } >&5 1605 + printf "%s\n" "$ac_try_echo"; } >&5 1571 1606 (eval "$ac_compile") 2>conftest.err 1572 1607 ac_status=$? 1573 1608 if test -s conftest.err; then ··· 1575 1610 cat conftest.er1 >&5 1576 1611 mv -f conftest.er1 conftest.err 1577 1612 fi 1578 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1613 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1579 1614 test $ac_status = 0; } && { 1580 1615 test -z "$ac_c_werror_flag" || 1581 1616 test ! -s conftest.err 1582 - } && test -s conftest.$ac_objext; then : 1617 + } && test -s conftest.$ac_objext 1618 + then : 1583 1619 ac_retval=0 1584 - else 1585 - $as_echo "$as_me: failed program was:" >&5 1620 + else $as_nop 1621 + printf "%s\n" "$as_me: failed program was:" >&5 1586 1622 sed 's/^/| /' conftest.$ac_ext >&5 1587 1623 1588 1624 ac_retval=1 ··· 1598 1634 ac_fn_c_try_link () 1599 1635 { 1600 1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1601 - rm -f conftest.$ac_objext conftest$ac_exeext 1637 + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1602 1638 if { { ac_try="$ac_link" 1603 1639 case "(($ac_try" in 1604 1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1605 1641 *) ac_try_echo=$ac_try;; 1606 1642 esac 1607 1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1608 - $as_echo "$ac_try_echo"; } >&5 1644 + printf "%s\n" "$ac_try_echo"; } >&5 1609 1645 (eval "$ac_link") 2>conftest.err 1610 1646 ac_status=$? 1611 1647 if test -s conftest.err; then ··· 1613 1649 cat conftest.er1 >&5 1614 1650 mv -f conftest.er1 conftest.err 1615 1651 fi 1616 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1652 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1617 1653 test $ac_status = 0; } && { 1618 1654 test -z "$ac_c_werror_flag" || 1619 1655 test ! -s conftest.err 1620 1656 } && test -s conftest$ac_exeext && { 1621 1657 test "$cross_compiling" = yes || 1622 1658 test -x conftest$ac_exeext 1623 - }; then : 1659 + } 1660 + then : 1624 1661 ac_retval=0 1625 - else 1626 - $as_echo "$as_me: failed program was:" >&5 1662 + else $as_nop 1663 + printf "%s\n" "$as_me: failed program was:" >&5 1627 1664 sed 's/^/| /' conftest.$ac_ext >&5 1628 1665 1629 1666 ac_retval=1 ··· 1645 1682 ac_fn_c_check_header_compile () 1646 1683 { 1647 1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1648 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1649 - $as_echo_n "checking for $2... " >&6; } 1650 - if eval \${$3+:} false; then : 1651 - $as_echo_n "(cached) " >&6 1652 - else 1685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1686 + printf %s "checking for $2... " >&6; } 1687 + if eval test \${$3+y} 1688 + then : 1689 + printf %s "(cached) " >&6 1690 + else $as_nop 1653 1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1654 1692 /* end confdefs.h. */ 1655 1693 $4 1656 1694 #include <$2> 1657 1695 _ACEOF 1658 - if ac_fn_c_try_compile "$LINENO"; then : 1696 + if ac_fn_c_try_compile "$LINENO" 1697 + then : 1659 1698 eval "$3=yes" 1660 - else 1699 + else $as_nop 1661 1700 eval "$3=no" 1662 1701 fi 1663 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1702 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1664 1703 fi 1665 1704 eval ac_res=\$$3 1666 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1667 - $as_echo "$ac_res" >&6; } 1705 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1706 + printf "%s\n" "$ac_res" >&6; } 1668 1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1669 1708 1670 1709 } # ac_fn_c_check_header_compile 1671 1710 1672 - # ac_fn_c_try_cpp LINENO 1673 - # ---------------------- 1674 - # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1675 - ac_fn_c_try_cpp () 1676 - { 1677 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1678 - if { { ac_try="$ac_cpp conftest.$ac_ext" 1679 - case "(($ac_try" in 1680 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1681 - *) ac_try_echo=$ac_try;; 1682 - esac 1683 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1684 - $as_echo "$ac_try_echo"; } >&5 1685 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1686 - ac_status=$? 1687 - if test -s conftest.err; then 1688 - grep -v '^ *+' conftest.err >conftest.er1 1689 - cat conftest.er1 >&5 1690 - mv -f conftest.er1 conftest.err 1691 - fi 1692 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1693 - test $ac_status = 0; } > conftest.i && { 1694 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1695 - test ! -s conftest.err 1696 - }; then : 1697 - ac_retval=0 1698 - else 1699 - $as_echo "$as_me: failed program was:" >&5 1700 - sed 's/^/| /' conftest.$ac_ext >&5 1701 - 1702 - ac_retval=1 1703 - fi 1704 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1705 - as_fn_set_status $ac_retval 1706 - 1707 - } # ac_fn_c_try_cpp 1708 - 1709 - # ac_fn_c_try_run LINENO 1710 - # ---------------------- 1711 - # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1712 - # that executables *can* be run. 1713 - ac_fn_c_try_run () 1714 - { 1715 - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1716 - if { { ac_try="$ac_link" 1717 - case "(($ac_try" in 1718 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1719 - *) ac_try_echo=$ac_try;; 1720 - esac 1721 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1722 - $as_echo "$ac_try_echo"; } >&5 1723 - (eval "$ac_link") 2>&5 1724 - ac_status=$? 1725 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1726 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1727 - { { case "(($ac_try" in 1728 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1729 - *) ac_try_echo=$ac_try;; 1730 - esac 1731 - eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1732 - $as_echo "$ac_try_echo"; } >&5 1733 - (eval "$ac_try") 2>&5 1734 - ac_status=$? 1735 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1736 - test $ac_status = 0; }; }; then : 1737 - ac_retval=0 1738 - else 1739 - $as_echo "$as_me: program exited with status $ac_status" >&5 1740 - $as_echo "$as_me: failed program was:" >&5 1741 - sed 's/^/| /' conftest.$ac_ext >&5 1742 - 1743 - ac_retval=$ac_status 1744 - fi 1745 - rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1746 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1747 - as_fn_set_status $ac_retval 1748 - 1749 - } # ac_fn_c_try_run 1750 - 1751 1711 # ac_fn_c_check_func LINENO FUNC VAR 1752 1712 # ---------------------------------- 1753 1713 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1754 1714 ac_fn_c_check_func () 1755 1715 { 1756 1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1757 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1758 - $as_echo_n "checking for $2... " >&6; } 1759 - if eval \${$3+:} false; then : 1760 - $as_echo_n "(cached) " >&6 1761 - else 1717 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1718 + printf %s "checking for $2... " >&6; } 1719 + if eval test \${$3+y} 1720 + then : 1721 + printf %s "(cached) " >&6 1722 + else $as_nop 1762 1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1763 1724 /* end confdefs.h. */ 1764 1725 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. ··· 1766 1727 #define $2 innocuous_$2 1767 1728 1768 1729 /* System header to define __stub macros and hopefully few prototypes, 1769 - which can conflict with char $2 (); below. 1770 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1771 - <limits.h> exists even on freestanding compilers. */ 1730 + which can conflict with char $2 (); below. */ 1772 1731 1773 - #ifdef __STDC__ 1774 - # include <limits.h> 1775 - #else 1776 - # include <assert.h> 1777 - #endif 1778 - 1732 + #include <limits.h> 1779 1733 #undef $2 1780 1734 1781 1735 /* Override any GCC internal prototype to avoid an error. ··· 1793 1747 #endif 1794 1748 1795 1749 int 1796 - main () 1750 + main (void) 1797 1751 { 1798 1752 return $2 (); 1799 1753 ; 1800 1754 return 0; 1801 1755 } 1802 1756 _ACEOF 1803 - if ac_fn_c_try_link "$LINENO"; then : 1757 + if ac_fn_c_try_link "$LINENO" 1758 + then : 1804 1759 eval "$3=yes" 1805 - else 1760 + else $as_nop 1806 1761 eval "$3=no" 1807 1762 fi 1808 - rm -f core conftest.err conftest.$ac_objext \ 1763 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1809 1764 conftest$ac_exeext conftest.$ac_ext 1810 1765 fi 1811 1766 eval ac_res=\$$3 1812 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1813 - $as_echo "$ac_res" >&6; } 1767 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1768 + printf "%s\n" "$ac_res" >&6; } 1814 1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1815 1770 1816 1771 } # ac_fn_c_check_func 1817 1772 1818 - # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1819 - # --------------------------------------------- 1773 + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR 1774 + # ------------------------------------------------------------------ 1820 1775 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1821 - # accordingly. 1822 - ac_fn_c_check_decl () 1776 + # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. 1777 + ac_fn_check_decl () 1823 1778 { 1824 1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1825 1780 as_decl_name=`echo $2|sed 's/ *(.*//'` 1781 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1782 + printf %s "checking whether $as_decl_name is declared... " >&6; } 1783 + if eval test \${$3+y} 1784 + then : 1785 + printf %s "(cached) " >&6 1786 + else $as_nop 1826 1787 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1827 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1828 - $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1829 - if eval \${$3+:} false; then : 1830 - $as_echo_n "(cached) " >&6 1831 - else 1788 + eval ac_save_FLAGS=\$$6 1789 + as_fn_append $6 " $5" 1832 1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1833 1791 /* end confdefs.h. */ 1834 1792 $4 1835 1793 int 1836 - main () 1794 + main (void) 1837 1795 { 1838 1796 #ifndef $as_decl_name 1839 1797 #ifdef __cplusplus ··· 1847 1805 return 0; 1848 1806 } 1849 1807 _ACEOF 1850 - if ac_fn_c_try_compile "$LINENO"; then : 1808 + if ac_fn_c_try_compile "$LINENO" 1809 + then : 1851 1810 eval "$3=yes" 1852 - else 1811 + else $as_nop 1853 1812 eval "$3=no" 1854 1813 fi 1855 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1814 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1815 + eval $6=\$ac_save_FLAGS 1816 + 1856 1817 fi 1857 1818 eval ac_res=\$$3 1858 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1859 - $as_echo "$ac_res" >&6; } 1819 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1820 + printf "%s\n" "$ac_res" >&6; } 1860 1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1861 1822 1862 - } # ac_fn_c_check_decl 1823 + } # ac_fn_check_decl 1824 + ac_configure_args_raw= 1825 + for ac_arg 1826 + do 1827 + case $ac_arg in 1828 + *\'*) 1829 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1830 + esac 1831 + as_fn_append ac_configure_args_raw " '$ac_arg'" 1832 + done 1833 + 1834 + case $ac_configure_args_raw in 1835 + *$as_nl*) 1836 + ac_safe_unquote= ;; 1837 + *) 1838 + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1839 + ac_unsafe_a="$ac_unsafe_z#~" 1840 + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1841 + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1842 + esac 1843 + 1863 1844 cat >config.log <<_ACEOF 1864 1845 This file contains any messages produced by compilers while 1865 1846 running configure, to aid debugging if configure makes a mistake. 1866 1847 1867 - It was created by libXdamage $as_me 1.1.5, which was 1868 - generated by GNU Autoconf 2.69. Invocation command line was 1848 + It was created by libXdamage $as_me 1.1.6, which was 1849 + generated by GNU Autoconf 2.71. Invocation command line was 1869 1850 1870 - $ $0 $@ 1851 + $ $0$ac_configure_args_raw 1871 1852 1872 1853 _ACEOF 1873 1854 exec 5>>config.log ··· 1900 1881 for as_dir in $PATH 1901 1882 do 1902 1883 IFS=$as_save_IFS 1903 - test -z "$as_dir" && as_dir=. 1904 - $as_echo "PATH: $as_dir" 1884 + case $as_dir in #((( 1885 + '') as_dir=./ ;; 1886 + */) ;; 1887 + *) as_dir=$as_dir/ ;; 1888 + esac 1889 + printf "%s\n" "PATH: $as_dir" 1905 1890 done 1906 1891 IFS=$as_save_IFS 1907 1892 ··· 1936 1921 | -silent | --silent | --silen | --sile | --sil) 1937 1922 continue ;; 1938 1923 *\'*) 1939 - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1924 + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1940 1925 esac 1941 1926 case $ac_pass in 1942 1927 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ··· 1971 1956 # WARNING: Use '\'' to represent an apostrophe within the trap. 1972 1957 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1973 1958 trap 'exit_status=$? 1959 + # Sanitize IFS. 1960 + IFS=" "" $as_nl" 1974 1961 # Save into config.log some information that might help in debugging. 1975 1962 { 1976 1963 echo 1977 1964 1978 - $as_echo "## ---------------- ## 1965 + printf "%s\n" "## ---------------- ## 1979 1966 ## Cache variables. ## 1980 1967 ## ---------------- ##" 1981 1968 echo ··· 1986 1973 case $ac_val in #( 1987 1974 *${as_nl}*) 1988 1975 case $ac_var in #( 1989 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1990 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1976 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1977 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1991 1978 esac 1992 1979 case $ac_var in #( 1993 1980 _ | IFS | as_nl) ;; #( ··· 2011 1998 ) 2012 1999 echo 2013 2000 2014 - $as_echo "## ----------------- ## 2001 + printf "%s\n" "## ----------------- ## 2015 2002 ## Output variables. ## 2016 2003 ## ----------------- ##" 2017 2004 echo ··· 2019 2006 do 2020 2007 eval ac_val=\$$ac_var 2021 2008 case $ac_val in 2022 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2009 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2023 2010 esac 2024 - $as_echo "$ac_var='\''$ac_val'\''" 2011 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2025 2012 done | sort 2026 2013 echo 2027 2014 2028 2015 if test -n "$ac_subst_files"; then 2029 - $as_echo "## ------------------- ## 2016 + printf "%s\n" "## ------------------- ## 2030 2017 ## File substitutions. ## 2031 2018 ## ------------------- ##" 2032 2019 echo ··· 2034 2021 do 2035 2022 eval ac_val=\$$ac_var 2036 2023 case $ac_val in 2037 - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2024 + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2038 2025 esac 2039 - $as_echo "$ac_var='\''$ac_val'\''" 2026 + printf "%s\n" "$ac_var='\''$ac_val'\''" 2040 2027 done | sort 2041 2028 echo 2042 2029 fi 2043 2030 2044 2031 if test -s confdefs.h; then 2045 - $as_echo "## ----------- ## 2032 + printf "%s\n" "## ----------- ## 2046 2033 ## confdefs.h. ## 2047 2034 ## ----------- ##" 2048 2035 echo ··· 2050 2037 echo 2051 2038 fi 2052 2039 test "$ac_signal" != 0 && 2053 - $as_echo "$as_me: caught signal $ac_signal" 2054 - $as_echo "$as_me: exit $exit_status" 2040 + printf "%s\n" "$as_me: caught signal $ac_signal" 2041 + printf "%s\n" "$as_me: exit $exit_status" 2055 2042 } >&5 2056 2043 rm -f core *.core core.conftest.* && 2057 2044 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ··· 2065 2052 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2066 2053 rm -f -r conftest* confdefs.h 2067 2054 2068 - $as_echo "/* confdefs.h */" > confdefs.h 2055 + printf "%s\n" "/* confdefs.h */" > confdefs.h 2069 2056 2070 2057 # Predefined preprocessor variables. 2071 2058 2072 - cat >>confdefs.h <<_ACEOF 2073 - #define PACKAGE_NAME "$PACKAGE_NAME" 2074 - _ACEOF 2059 + printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2075 2060 2076 - cat >>confdefs.h <<_ACEOF 2077 - #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2078 - _ACEOF 2061 + printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2079 2062 2080 - cat >>confdefs.h <<_ACEOF 2081 - #define PACKAGE_VERSION "$PACKAGE_VERSION" 2082 - _ACEOF 2063 + printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2083 2064 2084 - cat >>confdefs.h <<_ACEOF 2085 - #define PACKAGE_STRING "$PACKAGE_STRING" 2086 - _ACEOF 2065 + printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2087 2066 2088 - cat >>confdefs.h <<_ACEOF 2089 - #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2090 - _ACEOF 2067 + printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2091 2068 2092 - cat >>confdefs.h <<_ACEOF 2093 - #define PACKAGE_URL "$PACKAGE_URL" 2094 - _ACEOF 2069 + printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2095 2070 2096 2071 2097 2072 # Let the site file select an alternate cache file if it wants to. 2098 2073 # Prefer an explicitly selected file to automatically selected ones. 2099 - ac_site_file1=NONE 2100 - ac_site_file2=NONE 2101 2074 if test -n "$CONFIG_SITE"; then 2102 - # We do not want a PATH search for config.site. 2103 - case $CONFIG_SITE in #(( 2104 - -*) ac_site_file1=./$CONFIG_SITE;; 2105 - */*) ac_site_file1=$CONFIG_SITE;; 2106 - *) ac_site_file1=./$CONFIG_SITE;; 2107 - esac 2075 + ac_site_files="$CONFIG_SITE" 2108 2076 elif test "x$prefix" != xNONE; then 2109 - ac_site_file1=$prefix/share/config.site 2110 - ac_site_file2=$prefix/etc/config.site 2077 + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2111 2078 else 2112 - ac_site_file1=$ac_default_prefix/share/config.site 2113 - ac_site_file2=$ac_default_prefix/etc/config.site 2079 + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2114 2080 fi 2115 - for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2081 + 2082 + for ac_site_file in $ac_site_files 2116 2083 do 2117 - test "x$ac_site_file" = xNONE && continue 2118 - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2119 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2120 - $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2084 + case $ac_site_file in #( 2085 + */*) : 2086 + ;; #( 2087 + *) : 2088 + ac_site_file=./$ac_site_file ;; 2089 + esac 2090 + if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2092 + printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2121 2093 sed 's/^/| /' "$ac_site_file" >&5 2122 2094 . "$ac_site_file" \ 2123 - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2124 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2095 + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2096 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2125 2097 as_fn_error $? "failed to load site script $ac_site_file 2126 2098 See \`config.log' for more details" "$LINENO" 5; } 2127 2099 fi ··· 2131 2103 # Some versions of bash will fail to source /dev/null (special files 2132 2104 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2133 2105 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2134 - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2135 - $as_echo "$as_me: loading cache $cache_file" >&6;} 2106 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2107 + printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2136 2108 case $cache_file in 2137 2109 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2138 2110 *) . "./$cache_file";; 2139 2111 esac 2140 2112 fi 2141 2113 else 2142 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2143 - $as_echo "$as_me: creating cache $cache_file" >&6;} 2114 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2115 + printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2144 2116 >$cache_file 2145 2117 fi 2146 2118 2119 + # Test code for whether the C compiler supports C89 (global declarations) 2120 + ac_c_conftest_c89_globals=' 2121 + /* Does the compiler advertise C89 conformance? 2122 + Do not test the value of __STDC__, because some compilers set it to 0 2123 + while being otherwise adequately conformant. */ 2124 + #if !defined __STDC__ 2125 + # error "Compiler does not advertise C89 conformance" 2126 + #endif 2127 + 2128 + #include <stddef.h> 2129 + #include <stdarg.h> 2130 + struct stat; 2131 + /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2132 + struct buf { int x; }; 2133 + struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2134 + static char *e (p, i) 2135 + char **p; 2136 + int i; 2137 + { 2138 + return p[i]; 2139 + } 2140 + static char *f (char * (*g) (char **, int), char **p, ...) 2141 + { 2142 + char *s; 2143 + va_list v; 2144 + va_start (v,p); 2145 + s = g (p, va_arg (v,int)); 2146 + va_end (v); 2147 + return s; 2148 + } 2149 + 2150 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2151 + function prototypes and stuff, but not \xHH hex character constants. 2152 + These do not provoke an error unfortunately, instead are silently treated 2153 + as an "x". The following induces an error, until -std is added to get 2154 + proper ANSI mode. Curiously \x00 != x always comes out true, for an 2155 + array size at least. It is necessary to write \x00 == 0 to get something 2156 + that is true only with -std. */ 2157 + int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2158 + 2159 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2160 + inside strings and character constants. */ 2161 + #define FOO(x) '\''x'\'' 2162 + int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2163 + 2164 + int test (int i, double x); 2165 + struct s1 {int (*f) (int a);}; 2166 + struct s2 {int (*f) (double a);}; 2167 + int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2168 + int, int);' 2169 + 2170 + # Test code for whether the C compiler supports C89 (body of main). 2171 + ac_c_conftest_c89_main=' 2172 + ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2173 + ' 2174 + 2175 + # Test code for whether the C compiler supports C99 (global declarations) 2176 + ac_c_conftest_c99_globals=' 2177 + // Does the compiler advertise C99 conformance? 2178 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2179 + # error "Compiler does not advertise C99 conformance" 2180 + #endif 2181 + 2182 + #include <stdbool.h> 2183 + extern int puts (const char *); 2184 + extern int printf (const char *, ...); 2185 + extern int dprintf (int, const char *, ...); 2186 + extern void *malloc (size_t); 2187 + 2188 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 2189 + // dprintf is used instead of fprintf to avoid needing to declare 2190 + // FILE and stderr. 2191 + #define debug(...) dprintf (2, __VA_ARGS__) 2192 + #define showlist(...) puts (#__VA_ARGS__) 2193 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2194 + static void 2195 + test_varargs_macros (void) 2196 + { 2197 + int x = 1234; 2198 + int y = 5678; 2199 + debug ("Flag"); 2200 + debug ("X = %d\n", x); 2201 + showlist (The first, second, and third items.); 2202 + report (x>y, "x is %d but y is %d", x, y); 2203 + } 2204 + 2205 + // Check long long types. 2206 + #define BIG64 18446744073709551615ull 2207 + #define BIG32 4294967295ul 2208 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2209 + #if !BIG_OK 2210 + #error "your preprocessor is broken" 2211 + #endif 2212 + #if BIG_OK 2213 + #else 2214 + #error "your preprocessor is broken" 2215 + #endif 2216 + static long long int bignum = -9223372036854775807LL; 2217 + static unsigned long long int ubignum = BIG64; 2218 + 2219 + struct incomplete_array 2220 + { 2221 + int datasize; 2222 + double data[]; 2223 + }; 2224 + 2225 + struct named_init { 2226 + int number; 2227 + const wchar_t *name; 2228 + double average; 2229 + }; 2230 + 2231 + typedef const char *ccp; 2232 + 2233 + static inline int 2234 + test_restrict (ccp restrict text) 2235 + { 2236 + // See if C++-style comments work. 2237 + // Iterate through items via the restricted pointer. 2238 + // Also check for declarations in for loops. 2239 + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2240 + continue; 2241 + return 0; 2242 + } 2243 + 2244 + // Check varargs and va_copy. 2245 + static bool 2246 + test_varargs (const char *format, ...) 2247 + { 2248 + va_list args; 2249 + va_start (args, format); 2250 + va_list args_copy; 2251 + va_copy (args_copy, args); 2252 + 2253 + const char *str = ""; 2254 + int number = 0; 2255 + float fnumber = 0; 2256 + 2257 + while (*format) 2258 + { 2259 + switch (*format++) 2260 + { 2261 + case '\''s'\'': // string 2262 + str = va_arg (args_copy, const char *); 2263 + break; 2264 + case '\''d'\'': // int 2265 + number = va_arg (args_copy, int); 2266 + break; 2267 + case '\''f'\'': // float 2268 + fnumber = va_arg (args_copy, double); 2269 + break; 2270 + default: 2271 + break; 2272 + } 2273 + } 2274 + va_end (args_copy); 2275 + va_end (args); 2276 + 2277 + return *str && number && fnumber; 2278 + } 2279 + ' 2280 + 2281 + # Test code for whether the C compiler supports C99 (body of main). 2282 + ac_c_conftest_c99_main=' 2283 + // Check bool. 2284 + _Bool success = false; 2285 + success |= (argc != 0); 2286 + 2287 + // Check restrict. 2288 + if (test_restrict ("String literal") == 0) 2289 + success = true; 2290 + char *restrict newvar = "Another string"; 2291 + 2292 + // Check varargs. 2293 + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2294 + test_varargs_macros (); 2295 + 2296 + // Check flexible array members. 2297 + struct incomplete_array *ia = 2298 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2299 + ia->datasize = 10; 2300 + for (int i = 0; i < ia->datasize; ++i) 2301 + ia->data[i] = i * 1.234; 2302 + 2303 + // Check named initializers. 2304 + struct named_init ni = { 2305 + .number = 34, 2306 + .name = L"Test wide string", 2307 + .average = 543.34343, 2308 + }; 2309 + 2310 + ni.number = 58; 2311 + 2312 + int dynamic_array[ni.number]; 2313 + dynamic_array[0] = argv[0][0]; 2314 + dynamic_array[ni.number - 1] = 543; 2315 + 2316 + // work around unused variable warnings 2317 + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2318 + || dynamic_array[ni.number - 1] != 543); 2319 + ' 2320 + 2321 + # Test code for whether the C compiler supports C11 (global declarations) 2322 + ac_c_conftest_c11_globals=' 2323 + // Does the compiler advertise C11 conformance? 2324 + #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2325 + # error "Compiler does not advertise C11 conformance" 2326 + #endif 2327 + 2328 + // Check _Alignas. 2329 + char _Alignas (double) aligned_as_double; 2330 + char _Alignas (0) no_special_alignment; 2331 + extern char aligned_as_int; 2332 + char _Alignas (0) _Alignas (int) aligned_as_int; 2333 + 2334 + // Check _Alignof. 2335 + enum 2336 + { 2337 + int_alignment = _Alignof (int), 2338 + int_array_alignment = _Alignof (int[100]), 2339 + char_alignment = _Alignof (char) 2340 + }; 2341 + _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2342 + 2343 + // Check _Noreturn. 2344 + int _Noreturn does_not_return (void) { for (;;) continue; } 2345 + 2346 + // Check _Static_assert. 2347 + struct test_static_assert 2348 + { 2349 + int x; 2350 + _Static_assert (sizeof (int) <= sizeof (long int), 2351 + "_Static_assert does not work in struct"); 2352 + long int y; 2353 + }; 2354 + 2355 + // Check UTF-8 literals. 2356 + #define u8 syntax error! 2357 + char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2358 + 2359 + // Check duplicate typedefs. 2360 + typedef long *long_ptr; 2361 + typedef long int *long_ptr; 2362 + typedef long_ptr long_ptr; 2363 + 2364 + // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2365 + struct anonymous 2366 + { 2367 + union { 2368 + struct { int i; int j; }; 2369 + struct { int k; long int l; } w; 2370 + }; 2371 + int m; 2372 + } v1; 2373 + ' 2374 + 2375 + # Test code for whether the C compiler supports C11 (body of main). 2376 + ac_c_conftest_c11_main=' 2377 + _Static_assert ((offsetof (struct anonymous, i) 2378 + == offsetof (struct anonymous, w.k)), 2379 + "Anonymous union alignment botch"); 2380 + v1.i = 2; 2381 + v1.w.k = 5; 2382 + ok |= v1.i != 5; 2383 + ' 2384 + 2385 + # Test code for whether the C compiler supports C11 (complete). 2386 + ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2387 + ${ac_c_conftest_c99_globals} 2388 + ${ac_c_conftest_c11_globals} 2389 + 2390 + int 2391 + main (int argc, char **argv) 2392 + { 2393 + int ok = 0; 2394 + ${ac_c_conftest_c89_main} 2395 + ${ac_c_conftest_c99_main} 2396 + ${ac_c_conftest_c11_main} 2397 + return ok; 2398 + } 2399 + " 2400 + 2401 + # Test code for whether the C compiler supports C99 (complete). 2402 + ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2403 + ${ac_c_conftest_c99_globals} 2404 + 2405 + int 2406 + main (int argc, char **argv) 2407 + { 2408 + int ok = 0; 2409 + ${ac_c_conftest_c89_main} 2410 + ${ac_c_conftest_c99_main} 2411 + return ok; 2412 + } 2413 + " 2414 + 2415 + # Test code for whether the C compiler supports C89 (complete). 2416 + ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2417 + 2418 + int 2419 + main (int argc, char **argv) 2420 + { 2421 + int ok = 0; 2422 + ${ac_c_conftest_c89_main} 2423 + return ok; 2424 + } 2425 + " 2426 + 2427 + as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2428 + as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2429 + as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2430 + as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2431 + as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2432 + as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2433 + as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2434 + as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2435 + as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2436 + 2437 + # Auxiliary files required by this configure script. 2438 + ac_aux_files="config.guess config.sub ltmain.sh missing install-sh" 2439 + 2440 + # Locations in which to look for auxiliary files. 2441 + ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2442 + 2443 + # Search for a directory containing all of the required auxiliary files, 2444 + # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2445 + # If we don't find one directory that contains all the files we need, 2446 + # we report the set of missing files from the *first* directory in 2447 + # $ac_aux_dir_candidates and give up. 2448 + ac_missing_aux_files="" 2449 + ac_first_candidate=: 2450 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2451 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2452 + as_found=false 2453 + for as_dir in $ac_aux_dir_candidates 2454 + do 2455 + IFS=$as_save_IFS 2456 + case $as_dir in #((( 2457 + '') as_dir=./ ;; 2458 + */) ;; 2459 + *) as_dir=$as_dir/ ;; 2460 + esac 2461 + as_found=: 2462 + 2463 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2464 + ac_aux_dir_found=yes 2465 + ac_install_sh= 2466 + for ac_aux in $ac_aux_files 2467 + do 2468 + # As a special case, if "install-sh" is required, that requirement 2469 + # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2470 + # and $ac_install_sh is set appropriately for whichever one is found. 2471 + if test x"$ac_aux" = x"install-sh" 2472 + then 2473 + if test -f "${as_dir}install-sh"; then 2474 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2475 + ac_install_sh="${as_dir}install-sh -c" 2476 + elif test -f "${as_dir}install.sh"; then 2477 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2478 + ac_install_sh="${as_dir}install.sh -c" 2479 + elif test -f "${as_dir}shtool"; then 2480 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2481 + ac_install_sh="${as_dir}shtool install -c" 2482 + else 2483 + ac_aux_dir_found=no 2484 + if $ac_first_candidate; then 2485 + ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2486 + else 2487 + break 2488 + fi 2489 + fi 2490 + else 2491 + if test -f "${as_dir}${ac_aux}"; then 2492 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2493 + else 2494 + ac_aux_dir_found=no 2495 + if $ac_first_candidate; then 2496 + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2497 + else 2498 + break 2499 + fi 2500 + fi 2501 + fi 2502 + done 2503 + if test "$ac_aux_dir_found" = yes; then 2504 + ac_aux_dir="$as_dir" 2505 + break 2506 + fi 2507 + ac_first_candidate=false 2508 + 2509 + as_found=false 2510 + done 2511 + IFS=$as_save_IFS 2512 + if $as_found 2513 + then : 2514 + 2515 + else $as_nop 2516 + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2517 + fi 2518 + 2519 + 2520 + # These three variables are undocumented and unsupported, 2521 + # and are intended to be withdrawn in a future Autoconf release. 2522 + # They can cause serious problems if a builder's source tree is in a directory 2523 + # whose full name contains unusual characters. 2524 + if test -f "${ac_aux_dir}config.guess"; then 2525 + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2526 + fi 2527 + if test -f "${ac_aux_dir}config.sub"; then 2528 + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2529 + fi 2530 + if test -f "$ac_aux_dir/configure"; then 2531 + ac_configure="$SHELL ${ac_aux_dir}configure" 2532 + fi 2533 + 2147 2534 # Check that the precious variables saved in the cache have kept the same 2148 2535 # value. 2149 2536 ac_cache_corrupted=false ··· 2154 2541 eval ac_new_val=\$ac_env_${ac_var}_value 2155 2542 case $ac_old_set,$ac_new_set in 2156 2543 set,) 2157 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2158 - $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2544 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2545 + printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2159 2546 ac_cache_corrupted=: ;; 2160 2547 ,set) 2161 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2162 - $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2548 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2549 + printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2163 2550 ac_cache_corrupted=: ;; 2164 2551 ,);; 2165 2552 *) ··· 2168 2555 ac_old_val_w=`echo x $ac_old_val` 2169 2556 ac_new_val_w=`echo x $ac_new_val` 2170 2557 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2171 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2172 - $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2558 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2559 + printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2173 2560 ac_cache_corrupted=: 2174 2561 else 2175 - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2176 - $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2563 + printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2177 2564 eval $ac_var=\$ac_old_val 2178 2565 fi 2179 - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2180 - $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2181 - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2182 - $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2566 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2567 + printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2568 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2569 + printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2183 2570 fi;; 2184 2571 esac 2185 2572 # Pass precious variables to config.status. 2186 2573 if test "$ac_new_set" = set; then 2187 2574 case $ac_new_val in 2188 - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2575 + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2189 2576 *) ac_arg=$ac_var=$ac_new_val ;; 2190 2577 esac 2191 2578 case " $ac_configure_args " in ··· 2195 2582 fi 2196 2583 done 2197 2584 if $ac_cache_corrupted; then 2198 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2199 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2200 - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2201 - $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2202 - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2585 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2586 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2588 + printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2589 + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2590 + and start over" "$LINENO" 5 2203 2591 fi 2204 2592 ## -------------------- ## 2205 2593 ## Main body of script. ## ··· 2219 2607 # Initialize Automake 2220 2608 am__api_version='1.12' 2221 2609 2222 - ac_aux_dir= 2223 - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2224 - if test -f "$ac_dir/install-sh"; then 2225 - ac_aux_dir=$ac_dir 2226 - ac_install_sh="$ac_aux_dir/install-sh -c" 2227 - break 2228 - elif test -f "$ac_dir/install.sh"; then 2229 - ac_aux_dir=$ac_dir 2230 - ac_install_sh="$ac_aux_dir/install.sh -c" 2231 - break 2232 - elif test -f "$ac_dir/shtool"; then 2233 - ac_aux_dir=$ac_dir 2234 - ac_install_sh="$ac_aux_dir/shtool install -c" 2235 - break 2236 - fi 2237 - done 2238 - if test -z "$ac_aux_dir"; then 2239 - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2240 - fi 2241 2610 2242 - # These three variables are undocumented and unsupported, 2243 - # and are intended to be withdrawn in a future Autoconf release. 2244 - # They can cause serious problems if a builder's source tree is in a directory 2245 - # whose full name contains unusual characters. 2246 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2247 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2248 - ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2249 2611 2250 - 2251 - # Find a good install program. We prefer a C program (faster), 2612 + # Find a good install program. We prefer a C program (faster), 2252 2613 # so one script is as good as another. But avoid the broken or 2253 2614 # incompatible versions: 2254 2615 # SysV /etc/install, /usr/sbin/install ··· 2262 2623 # OS/2's system install, which has a completely different semantic 2263 2624 # ./install, which can be erroneously created by make from ./install.sh. 2264 2625 # Reject install programs that cannot install multiple files. 2265 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2266 - $as_echo_n "checking for a BSD-compatible install... " >&6; } 2626 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2627 + printf %s "checking for a BSD-compatible install... " >&6; } 2267 2628 if test -z "$INSTALL"; then 2268 - if ${ac_cv_path_install+:} false; then : 2269 - $as_echo_n "(cached) " >&6 2270 - else 2629 + if test ${ac_cv_path_install+y} 2630 + then : 2631 + printf %s "(cached) " >&6 2632 + else $as_nop 2271 2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2272 2634 for as_dir in $PATH 2273 2635 do 2274 2636 IFS=$as_save_IFS 2275 - test -z "$as_dir" && as_dir=. 2276 - # Account for people who put trailing slashes in PATH elements. 2277 - case $as_dir/ in #(( 2278 - ./ | .// | /[cC]/* | \ 2637 + case $as_dir in #((( 2638 + '') as_dir=./ ;; 2639 + */) ;; 2640 + *) as_dir=$as_dir/ ;; 2641 + esac 2642 + # Account for fact that we put trailing slashes in our PATH walk. 2643 + case $as_dir in #(( 2644 + ./ | /[cC]/* | \ 2279 2645 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2280 2646 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2281 2647 /usr/ucb/* ) ;; ··· 2285 2651 # by default. 2286 2652 for ac_prog in ginstall scoinst install; do 2287 2653 for ac_exec_ext in '' $ac_executable_extensions; do 2288 - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2654 + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2289 2655 if test $ac_prog = install && 2290 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2656 + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2291 2657 # AIX install. It has an incompatible calling convention. 2292 2658 : 2293 2659 elif test $ac_prog = install && 2294 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2660 + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2295 2661 # program-specific install script used by HP pwplus--don't use. 2296 2662 : 2297 2663 else ··· 2299 2665 echo one > conftest.one 2300 2666 echo two > conftest.two 2301 2667 mkdir conftest.dir 2302 - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2668 + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2303 2669 test -s conftest.one && test -s conftest.two && 2304 2670 test -s conftest.dir/conftest.one && 2305 2671 test -s conftest.dir/conftest.two 2306 2672 then 2307 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2673 + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2308 2674 break 3 2309 2675 fi 2310 2676 fi ··· 2320 2686 rm -rf conftest.one conftest.two conftest.dir 2321 2687 2322 2688 fi 2323 - if test "${ac_cv_path_install+set}" = set; then 2689 + if test ${ac_cv_path_install+y}; then 2324 2690 INSTALL=$ac_cv_path_install 2325 2691 else 2326 2692 # As a last resort, use the slow shell script. Don't cache a ··· 2330 2696 INSTALL=$ac_install_sh 2331 2697 fi 2332 2698 fi 2333 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2334 - $as_echo "$INSTALL" >&6; } 2699 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2700 + printf "%s\n" "$INSTALL" >&6; } 2335 2701 2336 2702 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2337 2703 # It thinks the first close brace ends the variable substitution. ··· 2341 2707 2342 2708 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2343 2709 2344 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2345 - $as_echo_n "checking whether build environment is sane... " >&6; } 2710 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2711 + printf %s "checking whether build environment is sane... " >&6; } 2346 2712 # Reject unsafe characters in $srcdir or the absolute working directory 2347 2713 # name. Accept space and tab only in the latter. 2348 2714 am_lf=' ··· 2396 2762 as_fn_error $? "newly created file is older than distributed files! 2397 2763 Check your system clock" "$LINENO" 5 2398 2764 fi 2399 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2400 - $as_echo "yes" >&6; } 2765 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2766 + printf "%s\n" "yes" >&6; } 2401 2767 # If we didn't sleep, we still need to ensure time stamps of config.status and 2402 2768 # generated files are strictly newer. 2403 2769 am_sleep_pid= ··· 2416 2782 # Double any \ or $. 2417 2783 # By default was `s,x,x', remove it if useless. 2418 2784 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2419 - program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2785 + program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2420 2786 2421 2787 # expand $ac_aux_dir to an absolute path 2422 2788 am_aux_dir=`cd $ac_aux_dir && pwd` 2423 2789 2424 - if test x"${MISSING+set}" != xset; then 2790 + 2791 + if test x"${MISSING+set}" != xset; then 2425 2792 case $am_aux_dir in 2426 2793 *\ * | *\ *) 2427 2794 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; ··· 2434 2801 am_missing_run="$MISSING --run " 2435 2802 else 2436 2803 am_missing_run= 2437 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2438 - $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2804 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2805 + printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2439 2806 fi 2440 2807 2441 2808 if test x"${install_sh}" != xset; then ··· 2455 2822 if test -n "$ac_tool_prefix"; then 2456 2823 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2457 2824 set dummy ${ac_tool_prefix}strip; ac_word=$2 2458 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2459 - $as_echo_n "checking for $ac_word... " >&6; } 2460 - if ${ac_cv_prog_STRIP+:} false; then : 2461 - $as_echo_n "(cached) " >&6 2462 - else 2825 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2826 + printf %s "checking for $ac_word... " >&6; } 2827 + if test ${ac_cv_prog_STRIP+y} 2828 + then : 2829 + printf %s "(cached) " >&6 2830 + else $as_nop 2463 2831 if test -n "$STRIP"; then 2464 2832 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2465 2833 else ··· 2467 2835 for as_dir in $PATH 2468 2836 do 2469 2837 IFS=$as_save_IFS 2470 - test -z "$as_dir" && as_dir=. 2838 + case $as_dir in #((( 2839 + '') as_dir=./ ;; 2840 + */) ;; 2841 + *) as_dir=$as_dir/ ;; 2842 + esac 2471 2843 for ac_exec_ext in '' $ac_executable_extensions; do 2472 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2844 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2473 2845 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2474 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2846 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2475 2847 break 2 2476 2848 fi 2477 2849 done ··· 2482 2854 fi 2483 2855 STRIP=$ac_cv_prog_STRIP 2484 2856 if test -n "$STRIP"; then 2485 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2486 - $as_echo "$STRIP" >&6; } 2857 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2858 + printf "%s\n" "$STRIP" >&6; } 2487 2859 else 2488 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2489 - $as_echo "no" >&6; } 2860 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2861 + printf "%s\n" "no" >&6; } 2490 2862 fi 2491 2863 2492 2864 ··· 2495 2867 ac_ct_STRIP=$STRIP 2496 2868 # Extract the first word of "strip", so it can be a program name with args. 2497 2869 set dummy strip; ac_word=$2 2498 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2499 - $as_echo_n "checking for $ac_word... " >&6; } 2500 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2501 - $as_echo_n "(cached) " >&6 2502 - else 2870 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2871 + printf %s "checking for $ac_word... " >&6; } 2872 + if test ${ac_cv_prog_ac_ct_STRIP+y} 2873 + then : 2874 + printf %s "(cached) " >&6 2875 + else $as_nop 2503 2876 if test -n "$ac_ct_STRIP"; then 2504 2877 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2505 2878 else ··· 2507 2880 for as_dir in $PATH 2508 2881 do 2509 2882 IFS=$as_save_IFS 2510 - test -z "$as_dir" && as_dir=. 2883 + case $as_dir in #((( 2884 + '') as_dir=./ ;; 2885 + */) ;; 2886 + *) as_dir=$as_dir/ ;; 2887 + esac 2511 2888 for ac_exec_ext in '' $ac_executable_extensions; do 2512 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2889 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2513 2890 ac_cv_prog_ac_ct_STRIP="strip" 2514 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2891 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2515 2892 break 2 2516 2893 fi 2517 2894 done ··· 2522 2899 fi 2523 2900 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2524 2901 if test -n "$ac_ct_STRIP"; then 2525 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2526 - $as_echo "$ac_ct_STRIP" >&6; } 2902 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2903 + printf "%s\n" "$ac_ct_STRIP" >&6; } 2527 2904 else 2528 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2529 - $as_echo "no" >&6; } 2905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2906 + printf "%s\n" "no" >&6; } 2530 2907 fi 2531 2908 2532 2909 if test "x$ac_ct_STRIP" = x; then ··· 2534 2911 else 2535 2912 case $cross_compiling:$ac_tool_warned in 2536 2913 yes:) 2537 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2538 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2914 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2915 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2539 2916 ac_tool_warned=yes ;; 2540 2917 esac 2541 2918 STRIP=$ac_ct_STRIP ··· 2547 2924 fi 2548 2925 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2549 2926 2550 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2551 - $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2927 + 2928 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2929 + printf %s "checking for a race-free mkdir -p... " >&6; } 2552 2930 if test -z "$MKDIR_P"; then 2553 - if ${ac_cv_path_mkdir+:} false; then : 2554 - $as_echo_n "(cached) " >&6 2555 - else 2931 + if test ${ac_cv_path_mkdir+y} 2932 + then : 2933 + printf %s "(cached) " >&6 2934 + else $as_nop 2556 2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2557 2936 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2558 2937 do 2559 2938 IFS=$as_save_IFS 2560 - test -z "$as_dir" && as_dir=. 2939 + case $as_dir in #((( 2940 + '') as_dir=./ ;; 2941 + */) ;; 2942 + *) as_dir=$as_dir/ ;; 2943 + esac 2561 2944 for ac_prog in mkdir gmkdir; do 2562 2945 for ac_exec_ext in '' $ac_executable_extensions; do 2563 - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2564 - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2565 - 'mkdir (GNU coreutils) '* | \ 2566 - 'mkdir (coreutils) '* | \ 2946 + as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2947 + case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2948 + 'mkdir ('*'coreutils) '* | \ 2949 + 'BusyBox '* | \ 2567 2950 'mkdir (fileutils) '4.1*) 2568 - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2951 + ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2569 2952 break 3;; 2570 2953 esac 2571 2954 done ··· 2576 2959 fi 2577 2960 2578 2961 test -d ./--version && rmdir ./--version 2579 - if test "${ac_cv_path_mkdir+set}" = set; then 2962 + if test ${ac_cv_path_mkdir+y}; then 2580 2963 MKDIR_P="$ac_cv_path_mkdir -p" 2581 2964 else 2582 2965 # As a last resort, use the slow shell script. Don't cache a ··· 2586 2969 MKDIR_P="$ac_install_sh -d" 2587 2970 fi 2588 2971 fi 2589 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2590 - $as_echo "$MKDIR_P" >&6; } 2972 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2973 + printf "%s\n" "$MKDIR_P" >&6; } 2591 2974 2592 2975 for ac_prog in gawk mawk nawk awk 2593 2976 do 2594 2977 # Extract the first word of "$ac_prog", so it can be a program name with args. 2595 2978 set dummy $ac_prog; ac_word=$2 2596 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2597 - $as_echo_n "checking for $ac_word... " >&6; } 2598 - if ${ac_cv_prog_AWK+:} false; then : 2599 - $as_echo_n "(cached) " >&6 2600 - else 2979 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2980 + printf %s "checking for $ac_word... " >&6; } 2981 + if test ${ac_cv_prog_AWK+y} 2982 + then : 2983 + printf %s "(cached) " >&6 2984 + else $as_nop 2601 2985 if test -n "$AWK"; then 2602 2986 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2603 2987 else ··· 2605 2989 for as_dir in $PATH 2606 2990 do 2607 2991 IFS=$as_save_IFS 2608 - test -z "$as_dir" && as_dir=. 2992 + case $as_dir in #((( 2993 + '') as_dir=./ ;; 2994 + */) ;; 2995 + *) as_dir=$as_dir/ ;; 2996 + esac 2609 2997 for ac_exec_ext in '' $ac_executable_extensions; do 2610 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2998 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2611 2999 ac_cv_prog_AWK="$ac_prog" 2612 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3000 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2613 3001 break 2 2614 3002 fi 2615 3003 done ··· 2620 3008 fi 2621 3009 AWK=$ac_cv_prog_AWK 2622 3010 if test -n "$AWK"; then 2623 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2624 - $as_echo "$AWK" >&6; } 3011 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3012 + printf "%s\n" "$AWK" >&6; } 2625 3013 else 2626 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2627 - $as_echo "no" >&6; } 3014 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3015 + printf "%s\n" "no" >&6; } 2628 3016 fi 2629 3017 2630 3018 2631 3019 test -n "$AWK" && break 2632 3020 done 2633 3021 2634 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2635 - $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3022 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3023 + printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2636 3024 set x ${MAKE-make} 2637 - ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2638 - if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2639 - $as_echo_n "(cached) " >&6 2640 - else 3025 + ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3026 + if eval test \${ac_cv_prog_make_${ac_make}_set+y} 3027 + then : 3028 + printf %s "(cached) " >&6 3029 + else $as_nop 2641 3030 cat >conftest.make <<\_ACEOF 2642 3031 SHELL = /bin/sh 2643 3032 all: ··· 2653 3042 rm -f conftest.make 2654 3043 fi 2655 3044 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2656 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2657 - $as_echo "yes" >&6; } 3045 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3046 + printf "%s\n" "yes" >&6; } 2658 3047 SET_MAKE= 2659 3048 else 2660 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2661 - $as_echo "no" >&6; } 3049 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3050 + printf "%s\n" "no" >&6; } 2662 3051 SET_MAKE="MAKE=${MAKE-make}" 2663 3052 fi 2664 3053 ··· 2693 3082 2694 3083 # Define the identity of the package. 2695 3084 PACKAGE='libXdamage' 2696 - VERSION='1.1.5' 3085 + VERSION='1.1.6' 2697 3086 2698 3087 2699 - cat >>confdefs.h <<_ACEOF 2700 - #define PACKAGE "$PACKAGE" 2701 - _ACEOF 3088 + printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 2702 3089 2703 3090 2704 - cat >>confdefs.h <<_ACEOF 2705 - #define VERSION "$VERSION" 2706 - _ACEOF 3091 + printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 2707 3092 2708 3093 # Some tools Automake needs. 2709 3094 ··· 2741 3126 2742 3127 2743 3128 # Initialize libtool 3129 + 2744 3130 case `pwd` in 2745 3131 *\ * | *\ *) 2746 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2747 - $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3132 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3133 + printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2748 3134 esac 2749 3135 2750 3136 ··· 2764 3150 2765 3151 2766 3152 3153 + 2767 3154 ltmain="$ac_aux_dir/ltmain.sh" 2768 3155 2769 - # Make sure we can run config.sub. 2770 - $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2771 - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3156 + 3157 + 3158 + # Make sure we can run config.sub. 3159 + $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 3160 + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 2772 3161 2773 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2774 - $as_echo_n "checking build system type... " >&6; } 2775 - if ${ac_cv_build+:} false; then : 2776 - $as_echo_n "(cached) " >&6 2777 - else 3162 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3163 + printf %s "checking build system type... " >&6; } 3164 + if test ${ac_cv_build+y} 3165 + then : 3166 + printf %s "(cached) " >&6 3167 + else $as_nop 2778 3168 ac_build_alias=$build_alias 2779 3169 test "x$ac_build_alias" = x && 2780 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3170 + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 2781 3171 test "x$ac_build_alias" = x && 2782 3172 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2783 - ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2784 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3173 + ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 3174 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 2785 3175 2786 3176 fi 2787 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2788 - $as_echo "$ac_cv_build" >&6; } 3177 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3178 + printf "%s\n" "$ac_cv_build" >&6; } 2789 3179 case $ac_cv_build in 2790 3180 *-*-*) ;; 2791 3181 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ··· 2804 3194 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2805 3195 2806 3196 2807 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2808 - $as_echo_n "checking host system type... " >&6; } 2809 - if ${ac_cv_host+:} false; then : 2810 - $as_echo_n "(cached) " >&6 2811 - else 3197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3198 + printf %s "checking host system type... " >&6; } 3199 + if test ${ac_cv_host+y} 3200 + then : 3201 + printf %s "(cached) " >&6 3202 + else $as_nop 2812 3203 if test "x$host_alias" = x; then 2813 3204 ac_cv_host=$ac_cv_build 2814 3205 else 2815 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2816 - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3206 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 3207 + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 2817 3208 fi 2818 3209 2819 3210 fi 2820 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2821 - $as_echo "$ac_cv_host" >&6; } 3211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3212 + printf "%s\n" "$ac_cv_host" >&6; } 2822 3213 case $ac_cv_host in 2823 3214 *-*-*) ;; 2824 3215 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ··· 2858 3249 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2859 3250 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2860 3251 2861 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2862 - $as_echo_n "checking how to print strings... " >&6; } 3252 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3253 + printf %s "checking how to print strings... " >&6; } 2863 3254 # Test print first, because it will be a builtin if present. 2864 3255 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2865 3256 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ··· 2885 3276 } 2886 3277 2887 3278 case "$ECHO" in 2888 - printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2889 - $as_echo "printf" >&6; } ;; 2890 - print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2891 - $as_echo "print -r" >&6; } ;; 2892 - *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2893 - $as_echo "cat" >&6; } ;; 3279 + printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3280 + printf "%s\n" "printf" >&6; } ;; 3281 + print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3282 + printf "%s\n" "print -r" >&6; } ;; 3283 + *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3284 + printf "%s\n" "cat" >&6; } ;; 2894 3285 esac 3286 + 3287 + 3288 + 3289 + 3290 + 3291 + 2895 3292 2896 3293 2897 3294 ··· 2906 3303 2907 3304 2908 3305 3306 + 3307 + 3308 + 2909 3309 DEPDIR="${am__leading_dot}deps" 2910 3310 2911 3311 ac_config_commands="$ac_config_commands depfiles" ··· 2918 3318 .PHONY: am__doit 2919 3319 END 2920 3320 # If we don't find an include directive, just comment out the code. 2921 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2922 - $as_echo_n "checking for style of include used by $am_make... " >&6; } 3321 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3322 + printf %s "checking for style of include used by $am_make... " >&6; } 2923 3323 am__include="#" 2924 3324 am__quote= 2925 3325 _am_result=none ··· 2946 3346 fi 2947 3347 2948 3348 2949 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2950 - $as_echo "$_am_result" >&6; } 3349 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3350 + printf "%s\n" "$_am_result" >&6; } 2951 3351 rm -f confinc confmf 2952 3352 2953 3353 # Check whether --enable-dependency-tracking was given. 2954 - if test "${enable_dependency_tracking+set}" = set; then : 3354 + if test ${enable_dependency_tracking+y} 3355 + then : 2955 3356 enableval=$enable_dependency_tracking; 2956 3357 fi 2957 3358 ··· 2977 3378 if test -n "$ac_tool_prefix"; then 2978 3379 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2979 3380 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2980 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2981 - $as_echo_n "checking for $ac_word... " >&6; } 2982 - if ${ac_cv_prog_CC+:} false; then : 2983 - $as_echo_n "(cached) " >&6 2984 - else 3381 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3382 + printf %s "checking for $ac_word... " >&6; } 3383 + if test ${ac_cv_prog_CC+y} 3384 + then : 3385 + printf %s "(cached) " >&6 3386 + else $as_nop 2985 3387 if test -n "$CC"; then 2986 3388 ac_cv_prog_CC="$CC" # Let the user override the test. 2987 3389 else ··· 2989 3391 for as_dir in $PATH 2990 3392 do 2991 3393 IFS=$as_save_IFS 2992 - test -z "$as_dir" && as_dir=. 3394 + case $as_dir in #((( 3395 + '') as_dir=./ ;; 3396 + */) ;; 3397 + *) as_dir=$as_dir/ ;; 3398 + esac 2993 3399 for ac_exec_ext in '' $ac_executable_extensions; do 2994 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3400 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2995 3401 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2996 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3402 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2997 3403 break 2 2998 3404 fi 2999 3405 done ··· 3004 3410 fi 3005 3411 CC=$ac_cv_prog_CC 3006 3412 if test -n "$CC"; then 3007 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3008 - $as_echo "$CC" >&6; } 3413 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3414 + printf "%s\n" "$CC" >&6; } 3009 3415 else 3010 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3011 - $as_echo "no" >&6; } 3416 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3417 + printf "%s\n" "no" >&6; } 3012 3418 fi 3013 3419 3014 3420 ··· 3017 3423 ac_ct_CC=$CC 3018 3424 # Extract the first word of "gcc", so it can be a program name with args. 3019 3425 set dummy gcc; ac_word=$2 3020 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3021 - $as_echo_n "checking for $ac_word... " >&6; } 3022 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3023 - $as_echo_n "(cached) " >&6 3024 - else 3426 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3427 + printf %s "checking for $ac_word... " >&6; } 3428 + if test ${ac_cv_prog_ac_ct_CC+y} 3429 + then : 3430 + printf %s "(cached) " >&6 3431 + else $as_nop 3025 3432 if test -n "$ac_ct_CC"; then 3026 3433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3027 3434 else ··· 3029 3436 for as_dir in $PATH 3030 3437 do 3031 3438 IFS=$as_save_IFS 3032 - test -z "$as_dir" && as_dir=. 3439 + case $as_dir in #((( 3440 + '') as_dir=./ ;; 3441 + */) ;; 3442 + *) as_dir=$as_dir/ ;; 3443 + esac 3033 3444 for ac_exec_ext in '' $ac_executable_extensions; do 3034 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3445 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3035 3446 ac_cv_prog_ac_ct_CC="gcc" 3036 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3447 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3037 3448 break 2 3038 3449 fi 3039 3450 done ··· 3044 3455 fi 3045 3456 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3046 3457 if test -n "$ac_ct_CC"; then 3047 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3048 - $as_echo "$ac_ct_CC" >&6; } 3458 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3459 + printf "%s\n" "$ac_ct_CC" >&6; } 3049 3460 else 3050 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3051 - $as_echo "no" >&6; } 3461 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3462 + printf "%s\n" "no" >&6; } 3052 3463 fi 3053 3464 3054 3465 if test "x$ac_ct_CC" = x; then ··· 3056 3467 else 3057 3468 case $cross_compiling:$ac_tool_warned in 3058 3469 yes:) 3059 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3060 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3470 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3471 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3061 3472 ac_tool_warned=yes ;; 3062 3473 esac 3063 3474 CC=$ac_ct_CC ··· 3070 3481 if test -n "$ac_tool_prefix"; then 3071 3482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3072 3483 set dummy ${ac_tool_prefix}cc; ac_word=$2 3073 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3074 - $as_echo_n "checking for $ac_word... " >&6; } 3075 - if ${ac_cv_prog_CC+:} false; then : 3076 - $as_echo_n "(cached) " >&6 3077 - 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_CC+y} 3487 + then : 3488 + printf %s "(cached) " >&6 3489 + else $as_nop 3078 3490 if test -n "$CC"; then 3079 3491 ac_cv_prog_CC="$CC" # Let the user override the test. 3080 3492 else ··· 3082 3494 for as_dir in $PATH 3083 3495 do 3084 3496 IFS=$as_save_IFS 3085 - test -z "$as_dir" && as_dir=. 3497 + case $as_dir in #((( 3498 + '') as_dir=./ ;; 3499 + */) ;; 3500 + *) as_dir=$as_dir/ ;; 3501 + esac 3086 3502 for ac_exec_ext in '' $ac_executable_extensions; do 3087 - 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 3088 3504 ac_cv_prog_CC="${ac_tool_prefix}cc" 3089 - $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 3090 3506 break 2 3091 3507 fi 3092 3508 done ··· 3097 3513 fi 3098 3514 CC=$ac_cv_prog_CC 3099 3515 if test -n "$CC"; then 3100 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3101 - $as_echo "$CC" >&6; } 3516 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3517 + printf "%s\n" "$CC" >&6; } 3102 3518 else 3103 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3104 - $as_echo "no" >&6; } 3519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3520 + printf "%s\n" "no" >&6; } 3105 3521 fi 3106 3522 3107 3523 ··· 3110 3526 if test -z "$CC"; then 3111 3527 # Extract the first word of "cc", so it can be a program name with args. 3112 3528 set dummy cc; ac_word=$2 3113 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3114 - $as_echo_n "checking for $ac_word... " >&6; } 3115 - if ${ac_cv_prog_CC+:} false; then : 3116 - $as_echo_n "(cached) " >&6 3117 - else 3529 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3530 + printf %s "checking for $ac_word... " >&6; } 3531 + if test ${ac_cv_prog_CC+y} 3532 + then : 3533 + printf %s "(cached) " >&6 3534 + else $as_nop 3118 3535 if test -n "$CC"; then 3119 3536 ac_cv_prog_CC="$CC" # Let the user override the test. 3120 3537 else ··· 3123 3540 for as_dir in $PATH 3124 3541 do 3125 3542 IFS=$as_save_IFS 3126 - test -z "$as_dir" && as_dir=. 3543 + case $as_dir in #((( 3544 + '') as_dir=./ ;; 3545 + */) ;; 3546 + *) as_dir=$as_dir/ ;; 3547 + esac 3127 3548 for ac_exec_ext in '' $ac_executable_extensions; do 3128 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3129 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3549 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3550 + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3130 3551 ac_prog_rejected=yes 3131 3552 continue 3132 3553 fi 3133 3554 ac_cv_prog_CC="cc" 3134 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3555 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3135 3556 break 2 3136 3557 fi 3137 3558 done ··· 3147 3568 # However, it has the same basename, so the bogon will be chosen 3148 3569 # first if we set CC to just the basename; use the full file name. 3149 3570 shift 3150 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3571 + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3151 3572 fi 3152 3573 fi 3153 3574 fi 3154 3575 fi 3155 3576 CC=$ac_cv_prog_CC 3156 3577 if test -n "$CC"; then 3157 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3158 - $as_echo "$CC" >&6; } 3578 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3579 + printf "%s\n" "$CC" >&6; } 3159 3580 else 3160 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3161 - $as_echo "no" >&6; } 3581 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3582 + printf "%s\n" "no" >&6; } 3162 3583 fi 3163 3584 3164 3585 ··· 3169 3590 do 3170 3591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3171 3592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3172 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3173 - $as_echo_n "checking for $ac_word... " >&6; } 3174 - if ${ac_cv_prog_CC+:} false; then : 3175 - $as_echo_n "(cached) " >&6 3176 - else 3593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3594 + printf %s "checking for $ac_word... " >&6; } 3595 + if test ${ac_cv_prog_CC+y} 3596 + then : 3597 + printf %s "(cached) " >&6 3598 + else $as_nop 3177 3599 if test -n "$CC"; then 3178 3600 ac_cv_prog_CC="$CC" # Let the user override the test. 3179 3601 else ··· 3181 3603 for as_dir in $PATH 3182 3604 do 3183 3605 IFS=$as_save_IFS 3184 - test -z "$as_dir" && as_dir=. 3606 + case $as_dir in #((( 3607 + '') as_dir=./ ;; 3608 + */) ;; 3609 + *) as_dir=$as_dir/ ;; 3610 + esac 3185 3611 for ac_exec_ext in '' $ac_executable_extensions; do 3186 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3612 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3187 3613 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3188 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3614 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3189 3615 break 2 3190 3616 fi 3191 3617 done ··· 3196 3622 fi 3197 3623 CC=$ac_cv_prog_CC 3198 3624 if test -n "$CC"; then 3199 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3200 - $as_echo "$CC" >&6; } 3625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3626 + printf "%s\n" "$CC" >&6; } 3201 3627 else 3202 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3203 - $as_echo "no" >&6; } 3628 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3629 + printf "%s\n" "no" >&6; } 3204 3630 fi 3205 3631 3206 3632 ··· 3213 3639 do 3214 3640 # Extract the first word of "$ac_prog", so it can be a program name with args. 3215 3641 set dummy $ac_prog; ac_word=$2 3216 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3217 - $as_echo_n "checking for $ac_word... " >&6; } 3218 - if ${ac_cv_prog_ac_ct_CC+:} false; then : 3219 - $as_echo_n "(cached) " >&6 3220 - else 3642 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3643 + printf %s "checking for $ac_word... " >&6; } 3644 + if test ${ac_cv_prog_ac_ct_CC+y} 3645 + then : 3646 + printf %s "(cached) " >&6 3647 + else $as_nop 3221 3648 if test -n "$ac_ct_CC"; then 3222 3649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3223 3650 else ··· 3225 3652 for as_dir in $PATH 3226 3653 do 3227 3654 IFS=$as_save_IFS 3228 - test -z "$as_dir" && as_dir=. 3655 + case $as_dir in #((( 3656 + '') as_dir=./ ;; 3657 + */) ;; 3658 + *) as_dir=$as_dir/ ;; 3659 + esac 3229 3660 for ac_exec_ext in '' $ac_executable_extensions; do 3230 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3661 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3231 3662 ac_cv_prog_ac_ct_CC="$ac_prog" 3232 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3663 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3233 3664 break 2 3234 3665 fi 3235 3666 done ··· 3240 3671 fi 3241 3672 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3242 3673 if test -n "$ac_ct_CC"; then 3243 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3244 - $as_echo "$ac_ct_CC" >&6; } 3674 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3675 + printf "%s\n" "$ac_ct_CC" >&6; } 3245 3676 else 3246 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3247 - $as_echo "no" >&6; } 3677 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3678 + printf "%s\n" "no" >&6; } 3248 3679 fi 3249 3680 3250 3681 ··· 3256 3687 else 3257 3688 case $cross_compiling:$ac_tool_warned in 3258 3689 yes:) 3259 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3260 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3690 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3691 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3692 + ac_tool_warned=yes ;; 3693 + esac 3694 + CC=$ac_ct_CC 3695 + fi 3696 + fi 3697 + 3698 + fi 3699 + if test -z "$CC"; then 3700 + if test -n "$ac_tool_prefix"; then 3701 + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3702 + set dummy ${ac_tool_prefix}clang; ac_word=$2 3703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3704 + printf %s "checking for $ac_word... " >&6; } 3705 + if test ${ac_cv_prog_CC+y} 3706 + then : 3707 + printf %s "(cached) " >&6 3708 + else $as_nop 3709 + if test -n "$CC"; then 3710 + ac_cv_prog_CC="$CC" # Let the user override the test. 3711 + else 3712 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3713 + for as_dir in $PATH 3714 + do 3715 + IFS=$as_save_IFS 3716 + case $as_dir in #((( 3717 + '') as_dir=./ ;; 3718 + */) ;; 3719 + *) as_dir=$as_dir/ ;; 3720 + esac 3721 + for ac_exec_ext in '' $ac_executable_extensions; do 3722 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3723 + ac_cv_prog_CC="${ac_tool_prefix}clang" 3724 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3725 + break 2 3726 + fi 3727 + done 3728 + done 3729 + IFS=$as_save_IFS 3730 + 3731 + fi 3732 + fi 3733 + CC=$ac_cv_prog_CC 3734 + if test -n "$CC"; then 3735 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3736 + printf "%s\n" "$CC" >&6; } 3737 + else 3738 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3739 + printf "%s\n" "no" >&6; } 3740 + fi 3741 + 3742 + 3743 + fi 3744 + if test -z "$ac_cv_prog_CC"; then 3745 + ac_ct_CC=$CC 3746 + # Extract the first word of "clang", so it can be a program name with args. 3747 + set dummy clang; ac_word=$2 3748 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3749 + printf %s "checking for $ac_word... " >&6; } 3750 + if test ${ac_cv_prog_ac_ct_CC+y} 3751 + then : 3752 + printf %s "(cached) " >&6 3753 + else $as_nop 3754 + if test -n "$ac_ct_CC"; then 3755 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3756 + else 3757 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3758 + for as_dir in $PATH 3759 + do 3760 + IFS=$as_save_IFS 3761 + case $as_dir in #((( 3762 + '') as_dir=./ ;; 3763 + */) ;; 3764 + *) as_dir=$as_dir/ ;; 3765 + esac 3766 + for ac_exec_ext in '' $ac_executable_extensions; do 3767 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3768 + ac_cv_prog_ac_ct_CC="clang" 3769 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3770 + break 2 3771 + fi 3772 + done 3773 + done 3774 + IFS=$as_save_IFS 3775 + 3776 + fi 3777 + fi 3778 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 3779 + if test -n "$ac_ct_CC"; then 3780 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3781 + printf "%s\n" "$ac_ct_CC" >&6; } 3782 + else 3783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3784 + printf "%s\n" "no" >&6; } 3785 + fi 3786 + 3787 + if test "x$ac_ct_CC" = x; then 3788 + CC="" 3789 + else 3790 + case $cross_compiling:$ac_tool_warned in 3791 + yes:) 3792 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3793 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3261 3794 ac_tool_warned=yes ;; 3262 3795 esac 3263 3796 CC=$ac_ct_CC 3264 3797 fi 3798 + else 3799 + CC="$ac_cv_prog_CC" 3265 3800 fi 3266 3801 3267 3802 fi 3268 3803 3269 3804 3270 - test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3271 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3805 + test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3806 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3272 3807 as_fn_error $? "no acceptable C compiler found in \$PATH 3273 3808 See \`config.log' for more details" "$LINENO" 5; } 3274 3809 3275 3810 # Provide some information about the compiler. 3276 - $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3811 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3277 3812 set X $ac_compile 3278 3813 ac_compiler=$2 3279 - for ac_option in --version -v -V -qversion; do 3814 + for ac_option in --version -v -V -qversion -version; do 3280 3815 { { ac_try="$ac_compiler $ac_option >&5" 3281 3816 case "(($ac_try" in 3282 3817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 3818 *) ac_try_echo=$ac_try;; 3284 3819 esac 3285 3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3286 - $as_echo "$ac_try_echo"; } >&5 3821 + printf "%s\n" "$ac_try_echo"; } >&5 3287 3822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3288 3823 ac_status=$? 3289 3824 if test -s conftest.err; then ··· 3293 3828 cat conftest.er1 >&5 3294 3829 fi 3295 3830 rm -f conftest.er1 conftest.err 3296 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3831 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3297 3832 test $ac_status = 0; } 3298 3833 done 3299 3834 ··· 3301 3836 /* end confdefs.h. */ 3302 3837 3303 3838 int 3304 - main () 3839 + main (void) 3305 3840 { 3306 3841 3307 3842 ; ··· 3313 3848 # Try to create an executable without -o first, disregard a.out. 3314 3849 # It will help us diagnose broken compilers, and finding out an intuition 3315 3850 # of exeext. 3316 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3317 - $as_echo_n "checking whether the C compiler works... " >&6; } 3318 - ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3851 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3852 + printf %s "checking whether the C compiler works... " >&6; } 3853 + ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3319 3854 3320 3855 # The possible output files: 3321 3856 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ··· 3336 3871 *) ac_try_echo=$ac_try;; 3337 3872 esac 3338 3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3339 - $as_echo "$ac_try_echo"; } >&5 3874 + printf "%s\n" "$ac_try_echo"; } >&5 3340 3875 (eval "$ac_link_default") 2>&5 3341 3876 ac_status=$? 3342 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3343 - test $ac_status = 0; }; then : 3877 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3878 + test $ac_status = 0; } 3879 + then : 3344 3880 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3345 3881 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3346 3882 # in a Makefile. We should not override ac_cv_exeext if it was cached, ··· 3357 3893 # certainly right. 3358 3894 break;; 3359 3895 *.* ) 3360 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3896 + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 3361 3897 then :; else 3362 3898 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3363 3899 fi ··· 3373 3909 done 3374 3910 test "$ac_cv_exeext" = no && ac_cv_exeext= 3375 3911 3376 - else 3912 + else $as_nop 3377 3913 ac_file='' 3378 3914 fi 3379 - if test -z "$ac_file"; then : 3380 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381 - $as_echo "no" >&6; } 3382 - $as_echo "$as_me: failed program was:" >&5 3915 + if test -z "$ac_file" 3916 + then : 3917 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3918 + printf "%s\n" "no" >&6; } 3919 + printf "%s\n" "$as_me: failed program was:" >&5 3383 3920 sed 's/^/| /' conftest.$ac_ext >&5 3384 3921 3385 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3386 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3922 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3923 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3387 3924 as_fn_error 77 "C compiler cannot create executables 3388 3925 See \`config.log' for more details" "$LINENO" 5; } 3389 - else 3390 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3391 - $as_echo "yes" >&6; } 3926 + else $as_nop 3927 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3928 + printf "%s\n" "yes" >&6; } 3392 3929 fi 3393 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3394 - $as_echo_n "checking for C compiler default output file name... " >&6; } 3395 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3396 - $as_echo "$ac_file" >&6; } 3930 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3931 + printf %s "checking for C compiler default output file name... " >&6; } 3932 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3933 + printf "%s\n" "$ac_file" >&6; } 3397 3934 ac_exeext=$ac_cv_exeext 3398 3935 3399 3936 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3400 3937 ac_clean_files=$ac_clean_files_save 3401 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3402 - $as_echo_n "checking for suffix of executables... " >&6; } 3938 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3939 + printf %s "checking for suffix of executables... " >&6; } 3403 3940 if { { ac_try="$ac_link" 3404 3941 case "(($ac_try" in 3405 3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 3943 *) ac_try_echo=$ac_try;; 3407 3944 esac 3408 3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3409 - $as_echo "$ac_try_echo"; } >&5 3946 + printf "%s\n" "$ac_try_echo"; } >&5 3410 3947 (eval "$ac_link") 2>&5 3411 3948 ac_status=$? 3412 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3413 - test $ac_status = 0; }; then : 3949 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3950 + test $ac_status = 0; } 3951 + then : 3414 3952 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3415 3953 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3416 3954 # work properly (i.e., refer to `conftest.exe'), while it won't with ··· 3424 3962 * ) break;; 3425 3963 esac 3426 3964 done 3427 - else 3428 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3429 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3965 + else $as_nop 3966 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3967 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3430 3968 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3431 3969 See \`config.log' for more details" "$LINENO" 5; } 3432 3970 fi 3433 3971 rm -f conftest conftest$ac_cv_exeext 3434 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3435 - $as_echo "$ac_cv_exeext" >&6; } 3972 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3973 + printf "%s\n" "$ac_cv_exeext" >&6; } 3436 3974 3437 3975 rm -f conftest.$ac_ext 3438 3976 EXEEXT=$ac_cv_exeext ··· 3441 3979 /* end confdefs.h. */ 3442 3980 #include <stdio.h> 3443 3981 int 3444 - main () 3982 + main (void) 3445 3983 { 3446 3984 FILE *f = fopen ("conftest.out", "w"); 3447 3985 return ferror (f) || fclose (f) != 0; ··· 3453 3991 ac_clean_files="$ac_clean_files conftest.out" 3454 3992 # Check that the compiler produces executables we can run. If not, either 3455 3993 # the compiler is broken, or we cross compile. 3456 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3457 - $as_echo_n "checking whether we are cross compiling... " >&6; } 3994 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3995 + printf %s "checking whether we are cross compiling... " >&6; } 3458 3996 if test "$cross_compiling" != yes; then 3459 3997 { { ac_try="$ac_link" 3460 3998 case "(($ac_try" in ··· 3462 4000 *) ac_try_echo=$ac_try;; 3463 4001 esac 3464 4002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3465 - $as_echo "$ac_try_echo"; } >&5 4003 + printf "%s\n" "$ac_try_echo"; } >&5 3466 4004 (eval "$ac_link") 2>&5 3467 4005 ac_status=$? 3468 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4006 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3469 4007 test $ac_status = 0; } 3470 4008 if { ac_try='./conftest$ac_cv_exeext' 3471 4009 { { case "(($ac_try" in ··· 3473 4011 *) ac_try_echo=$ac_try;; 3474 4012 esac 3475 4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3476 - $as_echo "$ac_try_echo"; } >&5 4014 + printf "%s\n" "$ac_try_echo"; } >&5 3477 4015 (eval "$ac_try") 2>&5 3478 4016 ac_status=$? 3479 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4017 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3480 4018 test $ac_status = 0; }; }; then 3481 4019 cross_compiling=no 3482 4020 else 3483 4021 if test "$cross_compiling" = maybe; then 3484 4022 cross_compiling=yes 3485 4023 else 3486 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3487 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3488 - as_fn_error $? "cannot run C compiled programs. 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;} 4026 + as_fn_error 77 "cannot run C compiled programs. 3489 4027 If you meant to cross compile, use \`--host'. 3490 4028 See \`config.log' for more details" "$LINENO" 5; } 3491 4029 fi 3492 4030 fi 3493 4031 fi 3494 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3495 - $as_echo "$cross_compiling" >&6; } 4032 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4033 + printf "%s\n" "$cross_compiling" >&6; } 3496 4034 3497 4035 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3498 4036 ac_clean_files=$ac_clean_files_save 3499 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3500 - $as_echo_n "checking for suffix of object files... " >&6; } 3501 - if ${ac_cv_objext+:} false; then : 3502 - $as_echo_n "(cached) " >&6 3503 - else 4037 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4038 + printf %s "checking for suffix of object files... " >&6; } 4039 + if test ${ac_cv_objext+y} 4040 + then : 4041 + printf %s "(cached) " >&6 4042 + else $as_nop 3504 4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3505 4044 /* end confdefs.h. */ 3506 4045 3507 4046 int 3508 - main () 4047 + main (void) 3509 4048 { 3510 4049 3511 4050 ; ··· 3519 4058 *) ac_try_echo=$ac_try;; 3520 4059 esac 3521 4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3522 - $as_echo "$ac_try_echo"; } >&5 4061 + printf "%s\n" "$ac_try_echo"; } >&5 3523 4062 (eval "$ac_compile") 2>&5 3524 4063 ac_status=$? 3525 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3526 - test $ac_status = 0; }; then : 4064 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4065 + test $ac_status = 0; } 4066 + then : 3527 4067 for ac_file in conftest.o conftest.obj conftest.*; do 3528 4068 test -f "$ac_file" || continue; 3529 4069 case $ac_file in ··· 3532 4072 break;; 3533 4073 esac 3534 4074 done 3535 - else 3536 - $as_echo "$as_me: failed program was:" >&5 4075 + else $as_nop 4076 + printf "%s\n" "$as_me: failed program was:" >&5 3537 4077 sed 's/^/| /' conftest.$ac_ext >&5 3538 4078 3539 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3540 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4079 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4080 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3541 4081 as_fn_error $? "cannot compute suffix of object files: cannot compile 3542 4082 See \`config.log' for more details" "$LINENO" 5; } 3543 4083 fi 3544 4084 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3545 4085 fi 3546 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3547 - $as_echo "$ac_cv_objext" >&6; } 4086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4087 + printf "%s\n" "$ac_cv_objext" >&6; } 3548 4088 OBJEXT=$ac_cv_objext 3549 4089 ac_objext=$OBJEXT 3550 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3551 - $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3552 - if ${ac_cv_c_compiler_gnu+:} false; then : 3553 - $as_echo_n "(cached) " >&6 3554 - else 4090 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4091 + printf %s "checking whether the compiler supports GNU C... " >&6; } 4092 + if test ${ac_cv_c_compiler_gnu+y} 4093 + then : 4094 + printf %s "(cached) " >&6 4095 + else $as_nop 3555 4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3556 4097 /* end confdefs.h. */ 3557 4098 3558 4099 int 3559 - main () 4100 + main (void) 3560 4101 { 3561 4102 #ifndef __GNUC__ 3562 4103 choke me ··· 3566 4107 return 0; 3567 4108 } 3568 4109 _ACEOF 3569 - if ac_fn_c_try_compile "$LINENO"; then : 4110 + if ac_fn_c_try_compile "$LINENO" 4111 + then : 3570 4112 ac_compiler_gnu=yes 3571 - else 4113 + else $as_nop 3572 4114 ac_compiler_gnu=no 3573 4115 fi 3574 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4116 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3575 4117 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3576 4118 3577 4119 fi 3578 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3579 - $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4120 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4121 + printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4122 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 4123 + 3580 4124 if test $ac_compiler_gnu = yes; then 3581 4125 GCC=yes 3582 4126 else 3583 4127 GCC= 3584 4128 fi 3585 - ac_test_CFLAGS=${CFLAGS+set} 4129 + ac_test_CFLAGS=${CFLAGS+y} 3586 4130 ac_save_CFLAGS=$CFLAGS 3587 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3588 - $as_echo_n "checking whether $CC accepts -g... " >&6; } 3589 - if ${ac_cv_prog_cc_g+:} false; then : 3590 - $as_echo_n "(cached) " >&6 3591 - else 4131 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4132 + printf %s "checking whether $CC accepts -g... " >&6; } 4133 + if test ${ac_cv_prog_cc_g+y} 4134 + then : 4135 + printf %s "(cached) " >&6 4136 + else $as_nop 3592 4137 ac_save_c_werror_flag=$ac_c_werror_flag 3593 4138 ac_c_werror_flag=yes 3594 4139 ac_cv_prog_cc_g=no ··· 3597 4142 /* end confdefs.h. */ 3598 4143 3599 4144 int 3600 - main () 4145 + main (void) 3601 4146 { 3602 4147 3603 4148 ; 3604 4149 return 0; 3605 4150 } 3606 4151 _ACEOF 3607 - if ac_fn_c_try_compile "$LINENO"; then : 4152 + if ac_fn_c_try_compile "$LINENO" 4153 + then : 3608 4154 ac_cv_prog_cc_g=yes 3609 - else 4155 + else $as_nop 3610 4156 CFLAGS="" 3611 4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3612 4158 /* end confdefs.h. */ 3613 4159 3614 4160 int 3615 - main () 4161 + main (void) 3616 4162 { 3617 4163 3618 4164 ; 3619 4165 return 0; 3620 4166 } 3621 4167 _ACEOF 3622 - if ac_fn_c_try_compile "$LINENO"; then : 4168 + if ac_fn_c_try_compile "$LINENO" 4169 + then : 3623 4170 3624 - else 4171 + else $as_nop 3625 4172 ac_c_werror_flag=$ac_save_c_werror_flag 3626 4173 CFLAGS="-g" 3627 4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3628 4175 /* end confdefs.h. */ 3629 4176 3630 4177 int 3631 - main () 4178 + main (void) 3632 4179 { 3633 4180 3634 4181 ; 3635 4182 return 0; 3636 4183 } 3637 4184 _ACEOF 3638 - if ac_fn_c_try_compile "$LINENO"; then : 4185 + if ac_fn_c_try_compile "$LINENO" 4186 + then : 3639 4187 ac_cv_prog_cc_g=yes 3640 4188 fi 3641 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4189 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3642 4190 fi 3643 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4191 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3644 4192 fi 3645 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4193 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 3646 4194 ac_c_werror_flag=$ac_save_c_werror_flag 3647 4195 fi 3648 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3649 - $as_echo "$ac_cv_prog_cc_g" >&6; } 3650 - if test "$ac_test_CFLAGS" = set; then 4196 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4197 + printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4198 + if test $ac_test_CFLAGS; then 3651 4199 CFLAGS=$ac_save_CFLAGS 3652 4200 elif test $ac_cv_prog_cc_g = yes; then 3653 4201 if test "$GCC" = yes; then ··· 3662 4210 CFLAGS= 3663 4211 fi 3664 4212 fi 3665 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3666 - $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3667 - if ${ac_cv_prog_cc_c89+:} false; then : 3668 - $as_echo_n "(cached) " >&6 3669 - else 3670 - ac_cv_prog_cc_c89=no 4213 + ac_prog_cc_stdc=no 4214 + if test x$ac_prog_cc_stdc = xno 4215 + then : 4216 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4217 + printf %s "checking for $CC option to enable C11 features... " >&6; } 4218 + if test ${ac_cv_prog_cc_c11+y} 4219 + then : 4220 + printf %s "(cached) " >&6 4221 + else $as_nop 4222 + ac_cv_prog_cc_c11=no 3671 4223 ac_save_CC=$CC 3672 4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673 4225 /* end confdefs.h. */ 3674 - #include <stdarg.h> 3675 - #include <stdio.h> 3676 - struct stat; 3677 - /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3678 - struct buf { int x; }; 3679 - FILE * (*rcsopen) (struct buf *, struct stat *, int); 3680 - static char *e (p, i) 3681 - char **p; 3682 - int i; 3683 - { 3684 - return p[i]; 3685 - } 3686 - static char *f (char * (*g) (char **, int), char **p, ...) 3687 - { 3688 - char *s; 3689 - va_list v; 3690 - va_start (v,p); 3691 - s = g (p, va_arg (v,int)); 3692 - va_end (v); 3693 - return s; 3694 - } 4226 + $ac_c_conftest_c11_program 4227 + _ACEOF 4228 + for ac_arg in '' -std=gnu11 4229 + do 4230 + CC="$ac_save_CC $ac_arg" 4231 + if ac_fn_c_try_compile "$LINENO" 4232 + then : 4233 + ac_cv_prog_cc_c11=$ac_arg 4234 + fi 4235 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4236 + test "x$ac_cv_prog_cc_c11" != "xno" && break 4237 + done 4238 + rm -f conftest.$ac_ext 4239 + CC=$ac_save_CC 4240 + fi 3695 4241 3696 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3697 - function prototypes and stuff, but not '\xHH' hex character constants. 3698 - These don't provoke an error unfortunately, instead are silently treated 3699 - as 'x'. The following induces an error, until -std is added to get 3700 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3701 - array size at least. It's necessary to write '\x00'==0 to get something 3702 - that's true only with -std. */ 3703 - int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4242 + if test "x$ac_cv_prog_cc_c11" = xno 4243 + then : 4244 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4245 + printf "%s\n" "unsupported" >&6; } 4246 + else $as_nop 4247 + if test "x$ac_cv_prog_cc_c11" = x 4248 + then : 4249 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4250 + printf "%s\n" "none needed" >&6; } 4251 + else $as_nop 4252 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4253 + printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4254 + CC="$CC $ac_cv_prog_cc_c11" 4255 + fi 4256 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4257 + ac_prog_cc_stdc=c11 4258 + fi 4259 + fi 4260 + if test x$ac_prog_cc_stdc = xno 4261 + then : 4262 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4263 + printf %s "checking for $CC option to enable C99 features... " >&6; } 4264 + if test ${ac_cv_prog_cc_c99+y} 4265 + then : 4266 + printf %s "(cached) " >&6 4267 + else $as_nop 4268 + ac_cv_prog_cc_c99=no 4269 + ac_save_CC=$CC 4270 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4271 + /* end confdefs.h. */ 4272 + $ac_c_conftest_c99_program 4273 + _ACEOF 4274 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4275 + do 4276 + CC="$ac_save_CC $ac_arg" 4277 + if ac_fn_c_try_compile "$LINENO" 4278 + then : 4279 + ac_cv_prog_cc_c99=$ac_arg 4280 + fi 4281 + rm -f core conftest.err conftest.$ac_objext conftest.beam 4282 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4283 + done 4284 + rm -f conftest.$ac_ext 4285 + CC=$ac_save_CC 4286 + fi 3704 4287 3705 - /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3706 - inside strings and character constants. */ 3707 - #define FOO(x) 'x' 3708 - int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3709 - 3710 - int test (int i, double x); 3711 - struct s1 {int (*f) (int a);}; 3712 - struct s2 {int (*f) (double a);}; 3713 - int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3714 - int argc; 3715 - char **argv; 3716 - int 3717 - main () 3718 - { 3719 - return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3720 - ; 3721 - return 0; 3722 - } 4288 + if test "x$ac_cv_prog_cc_c99" = xno 4289 + then : 4290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4291 + printf "%s\n" "unsupported" >&6; } 4292 + else $as_nop 4293 + if test "x$ac_cv_prog_cc_c99" = x 4294 + then : 4295 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4296 + printf "%s\n" "none needed" >&6; } 4297 + else $as_nop 4298 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4299 + printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4300 + CC="$CC $ac_cv_prog_cc_c99" 4301 + fi 4302 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4303 + ac_prog_cc_stdc=c99 4304 + fi 4305 + fi 4306 + if test x$ac_prog_cc_stdc = xno 4307 + then : 4308 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4309 + printf %s "checking for $CC option to enable C89 features... " >&6; } 4310 + if test ${ac_cv_prog_cc_c89+y} 4311 + then : 4312 + printf %s "(cached) " >&6 4313 + else $as_nop 4314 + ac_cv_prog_cc_c89=no 4315 + ac_save_CC=$CC 4316 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4317 + /* end confdefs.h. */ 4318 + $ac_c_conftest_c89_program 3723 4319 _ACEOF 3724 - for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3725 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4320 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3726 4321 do 3727 4322 CC="$ac_save_CC $ac_arg" 3728 - if ac_fn_c_try_compile "$LINENO"; then : 4323 + if ac_fn_c_try_compile "$LINENO" 4324 + then : 3729 4325 ac_cv_prog_cc_c89=$ac_arg 3730 4326 fi 3731 - rm -f core conftest.err conftest.$ac_objext 4327 + rm -f core conftest.err conftest.$ac_objext conftest.beam 3732 4328 test "x$ac_cv_prog_cc_c89" != "xno" && break 3733 4329 done 3734 4330 rm -f conftest.$ac_ext 3735 4331 CC=$ac_save_CC 4332 + fi 3736 4333 4334 + if test "x$ac_cv_prog_cc_c89" = xno 4335 + then : 4336 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4337 + printf "%s\n" "unsupported" >&6; } 4338 + else $as_nop 4339 + if test "x$ac_cv_prog_cc_c89" = x 4340 + then : 4341 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4342 + printf "%s\n" "none needed" >&6; } 4343 + else $as_nop 4344 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4345 + printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4346 + CC="$CC $ac_cv_prog_cc_c89" 3737 4347 fi 3738 - # AC_CACHE_VAL 3739 - case "x$ac_cv_prog_cc_c89" in 3740 - x) 3741 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3742 - $as_echo "none needed" >&6; } ;; 3743 - xno) 3744 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3745 - $as_echo "unsupported" >&6; } ;; 3746 - *) 3747 - CC="$CC $ac_cv_prog_cc_c89" 3748 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3749 - $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3750 - esac 3751 - if test "x$ac_cv_prog_cc_c89" != xno; then : 3752 - 4348 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4349 + ac_prog_cc_stdc=c89 4350 + fi 3753 4351 fi 3754 4352 3755 4353 ac_ext=c ··· 3760 4358 3761 4359 depcc="$CC" am_compiler_list= 3762 4360 3763 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3764 - $as_echo_n "checking dependency style of $depcc... " >&6; } 3765 - if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3766 - $as_echo_n "(cached) " >&6 3767 - else 4361 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4362 + printf %s "checking dependency style of $depcc... " >&6; } 4363 + if test ${am_cv_CC_dependencies_compiler_type+y} 4364 + then : 4365 + printf %s "(cached) " >&6 4366 + else $as_nop 3768 4367 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3769 4368 # We make a subdir and do the tests there. Otherwise we can end up 3770 4369 # making bogus files that we don't know about and never remove. For ··· 3871 4470 fi 3872 4471 3873 4472 fi 3874 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3875 - $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4473 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4474 + printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 3876 4475 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3877 4476 3878 4477 if ··· 3886 4485 fi 3887 4486 3888 4487 3889 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3890 - $as_echo_n "checking for a sed that does not truncate output... " >&6; } 3891 - if ${ac_cv_path_SED+:} false; then : 3892 - $as_echo_n "(cached) " >&6 3893 - else 4488 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4489 + printf %s "checking for a sed that does not truncate output... " >&6; } 4490 + if test ${ac_cv_path_SED+y} 4491 + then : 4492 + printf %s "(cached) " >&6 4493 + else $as_nop 3894 4494 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3895 4495 for ac_i in 1 2 3 4 5 6 7; do 3896 4496 ac_script="$ac_script$as_nl$ac_script" ··· 3904 4504 for as_dir in $PATH 3905 4505 do 3906 4506 IFS=$as_save_IFS 3907 - test -z "$as_dir" && as_dir=. 3908 - for ac_prog in sed gsed; do 4507 + case $as_dir in #((( 4508 + '') as_dir=./ ;; 4509 + */) ;; 4510 + *) as_dir=$as_dir/ ;; 4511 + esac 4512 + for ac_prog in sed gsed 4513 + do 3909 4514 for ac_exec_ext in '' $ac_executable_extensions; do 3910 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4515 + ac_path_SED="$as_dir$ac_prog$ac_exec_ext" 3911 4516 as_fn_executable_p "$ac_path_SED" || continue 3912 4517 # Check for GNU ac_path_SED and select it if it is found. 3913 4518 # Check for GNU $ac_path_SED ··· 3916 4521 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3917 4522 *) 3918 4523 ac_count=0 3919 - $as_echo_n 0123456789 >"conftest.in" 4524 + printf %s 0123456789 >"conftest.in" 3920 4525 while : 3921 4526 do 3922 4527 cat "conftest.in" "conftest.in" >"conftest.tmp" 3923 4528 mv "conftest.tmp" "conftest.in" 3924 4529 cp "conftest.in" "conftest.nl" 3925 - $as_echo '' >> "conftest.nl" 4530 + printf "%s\n" '' >> "conftest.nl" 3926 4531 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3927 4532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3928 4533 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 3950 4555 fi 3951 4556 3952 4557 fi 3953 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 3954 - $as_echo "$ac_cv_path_SED" >&6; } 4558 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4559 + printf "%s\n" "$ac_cv_path_SED" >&6; } 3955 4560 SED="$ac_cv_path_SED" 3956 4561 rm -f conftest.sed 3957 4562 ··· 3968 4573 3969 4574 3970 4575 3971 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3972 - $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3973 - if ${ac_cv_path_GREP+:} false; then : 3974 - $as_echo_n "(cached) " >&6 3975 - else 4576 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4577 + printf %s "checking for grep that handles long lines and -e... " >&6; } 4578 + if test ${ac_cv_path_GREP+y} 4579 + then : 4580 + printf %s "(cached) " >&6 4581 + else $as_nop 3976 4582 if test -z "$GREP"; then 3977 4583 ac_path_GREP_found=false 3978 4584 # Loop through the user's path and test for each of PROGNAME-LIST ··· 3980 4586 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3981 4587 do 3982 4588 IFS=$as_save_IFS 3983 - test -z "$as_dir" && as_dir=. 3984 - for ac_prog in grep ggrep; do 4589 + case $as_dir in #((( 4590 + '') as_dir=./ ;; 4591 + */) ;; 4592 + *) as_dir=$as_dir/ ;; 4593 + esac 4594 + for ac_prog in grep ggrep 4595 + do 3985 4596 for ac_exec_ext in '' $ac_executable_extensions; do 3986 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4597 + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 3987 4598 as_fn_executable_p "$ac_path_GREP" || continue 3988 4599 # Check for GNU ac_path_GREP and select it if it is found. 3989 4600 # Check for GNU $ac_path_GREP ··· 3992 4603 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3993 4604 *) 3994 4605 ac_count=0 3995 - $as_echo_n 0123456789 >"conftest.in" 4606 + printf %s 0123456789 >"conftest.in" 3996 4607 while : 3997 4608 do 3998 4609 cat "conftest.in" "conftest.in" >"conftest.tmp" 3999 4610 mv "conftest.tmp" "conftest.in" 4000 4611 cp "conftest.in" "conftest.nl" 4001 - $as_echo 'GREP' >> "conftest.nl" 4612 + printf "%s\n" 'GREP' >> "conftest.nl" 4002 4613 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4003 4614 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4004 4615 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4026 4637 fi 4027 4638 4028 4639 fi 4029 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4030 - $as_echo "$ac_cv_path_GREP" >&6; } 4640 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4641 + printf "%s\n" "$ac_cv_path_GREP" >&6; } 4031 4642 GREP="$ac_cv_path_GREP" 4032 4643 4033 4644 4034 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4035 - $as_echo_n "checking for egrep... " >&6; } 4036 - if ${ac_cv_path_EGREP+:} false; then : 4037 - $as_echo_n "(cached) " >&6 4038 - else 4645 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4646 + printf %s "checking for egrep... " >&6; } 4647 + if test ${ac_cv_path_EGREP+y} 4648 + then : 4649 + printf %s "(cached) " >&6 4650 + else $as_nop 4039 4651 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4040 4652 then ac_cv_path_EGREP="$GREP -E" 4041 4653 else ··· 4046 4658 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4047 4659 do 4048 4660 IFS=$as_save_IFS 4049 - test -z "$as_dir" && as_dir=. 4050 - for ac_prog in egrep; do 4661 + case $as_dir in #((( 4662 + '') as_dir=./ ;; 4663 + */) ;; 4664 + *) as_dir=$as_dir/ ;; 4665 + esac 4666 + for ac_prog in egrep 4667 + do 4051 4668 for ac_exec_ext in '' $ac_executable_extensions; do 4052 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4669 + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 4053 4670 as_fn_executable_p "$ac_path_EGREP" || continue 4054 4671 # Check for GNU ac_path_EGREP and select it if it is found. 4055 4672 # Check for GNU $ac_path_EGREP ··· 4058 4675 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4059 4676 *) 4060 4677 ac_count=0 4061 - $as_echo_n 0123456789 >"conftest.in" 4678 + printf %s 0123456789 >"conftest.in" 4062 4679 while : 4063 4680 do 4064 4681 cat "conftest.in" "conftest.in" >"conftest.tmp" 4065 4682 mv "conftest.tmp" "conftest.in" 4066 4683 cp "conftest.in" "conftest.nl" 4067 - $as_echo 'EGREP' >> "conftest.nl" 4684 + printf "%s\n" 'EGREP' >> "conftest.nl" 4068 4685 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4069 4686 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4070 4687 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4093 4710 4094 4711 fi 4095 4712 fi 4096 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4097 - $as_echo "$ac_cv_path_EGREP" >&6; } 4713 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4714 + printf "%s\n" "$ac_cv_path_EGREP" >&6; } 4098 4715 EGREP="$ac_cv_path_EGREP" 4099 4716 4100 4717 4101 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4102 - $as_echo_n "checking for fgrep... " >&6; } 4103 - if ${ac_cv_path_FGREP+:} false; then : 4104 - $as_echo_n "(cached) " >&6 4105 - else 4718 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4719 + printf %s "checking for fgrep... " >&6; } 4720 + if test ${ac_cv_path_FGREP+y} 4721 + then : 4722 + printf %s "(cached) " >&6 4723 + else $as_nop 4106 4724 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4107 4725 then ac_cv_path_FGREP="$GREP -F" 4108 4726 else ··· 4113 4731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4114 4732 do 4115 4733 IFS=$as_save_IFS 4116 - test -z "$as_dir" && as_dir=. 4117 - for ac_prog in fgrep; do 4734 + case $as_dir in #((( 4735 + '') as_dir=./ ;; 4736 + */) ;; 4737 + *) as_dir=$as_dir/ ;; 4738 + esac 4739 + for ac_prog in fgrep 4740 + do 4118 4741 for ac_exec_ext in '' $ac_executable_extensions; do 4119 - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4742 + ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" 4120 4743 as_fn_executable_p "$ac_path_FGREP" || continue 4121 4744 # Check for GNU ac_path_FGREP and select it if it is found. 4122 4745 # Check for GNU $ac_path_FGREP ··· 4125 4748 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4126 4749 *) 4127 4750 ac_count=0 4128 - $as_echo_n 0123456789 >"conftest.in" 4751 + printf %s 0123456789 >"conftest.in" 4129 4752 while : 4130 4753 do 4131 4754 cat "conftest.in" "conftest.in" >"conftest.tmp" 4132 4755 mv "conftest.tmp" "conftest.in" 4133 4756 cp "conftest.in" "conftest.nl" 4134 - $as_echo 'FGREP' >> "conftest.nl" 4757 + printf "%s\n" 'FGREP' >> "conftest.nl" 4135 4758 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4136 4759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4137 4760 as_fn_arith $ac_count + 1 && ac_count=$as_val ··· 4160 4783 4161 4784 fi 4162 4785 fi 4163 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4164 - $as_echo "$ac_cv_path_FGREP" >&6; } 4786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4787 + printf "%s\n" "$ac_cv_path_FGREP" >&6; } 4165 4788 FGREP="$ac_cv_path_FGREP" 4166 4789 4167 4790 ··· 4186 4809 4187 4810 4188 4811 # Check whether --with-gnu-ld was given. 4189 - if test "${with_gnu_ld+set}" = set; then : 4812 + if test ${with_gnu_ld+y} 4813 + then : 4190 4814 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4191 - else 4815 + else $as_nop 4192 4816 with_gnu_ld=no 4193 4817 fi 4194 4818 4195 4819 ac_prog=ld 4196 4820 if test "$GCC" = yes; then 4197 4821 # Check if gcc -print-prog-name=ld gives a path. 4198 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4199 - $as_echo_n "checking for ld used by $CC... " >&6; } 4822 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4823 + printf %s "checking for ld used by $CC... " >&6; } 4200 4824 case $host in 4201 4825 *-*-mingw*) 4202 4826 # gcc leaves a trailing carriage return which upsets mingw ··· 4225 4849 ;; 4226 4850 esac 4227 4851 elif test "$with_gnu_ld" = yes; then 4228 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4229 - $as_echo_n "checking for GNU ld... " >&6; } 4852 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4853 + printf %s "checking for GNU ld... " >&6; } 4230 4854 else 4231 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4232 - $as_echo_n "checking for non-GNU ld... " >&6; } 4855 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4856 + printf %s "checking for non-GNU ld... " >&6; } 4233 4857 fi 4234 - if ${lt_cv_path_LD+:} false; then : 4235 - $as_echo_n "(cached) " >&6 4236 - else 4858 + if test ${lt_cv_path_LD+y} 4859 + then : 4860 + printf %s "(cached) " >&6 4861 + else $as_nop 4237 4862 if test -z "$LD"; then 4238 4863 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4239 4864 for ac_dir in $PATH; do ··· 4262 4887 4263 4888 LD="$lt_cv_path_LD" 4264 4889 if test -n "$LD"; then 4265 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4266 - $as_echo "$LD" >&6; } 4890 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4891 + printf "%s\n" "$LD" >&6; } 4267 4892 else 4268 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4269 - $as_echo "no" >&6; } 4893 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4894 + printf "%s\n" "no" >&6; } 4270 4895 fi 4271 4896 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4272 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4273 - $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4274 - if ${lt_cv_prog_gnu_ld+:} false; then : 4275 - $as_echo_n "(cached) " >&6 4276 - else 4897 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4898 + printf %s "checking if the linker ($LD) is GNU ld... " >&6; } 4899 + if test ${lt_cv_prog_gnu_ld+y} 4900 + then : 4901 + printf %s "(cached) " >&6 4902 + else $as_nop 4277 4903 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4278 4904 case `$LD -v 2>&1 </dev/null` in 4279 4905 *GNU* | *'with BFD'*) ··· 4284 4910 ;; 4285 4911 esac 4286 4912 fi 4287 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4288 - $as_echo "$lt_cv_prog_gnu_ld" >&6; } 4913 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4914 + printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } 4289 4915 with_gnu_ld=$lt_cv_prog_gnu_ld 4290 4916 4291 4917 ··· 4296 4922 4297 4923 4298 4924 4299 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4300 - $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4301 - if ${lt_cv_path_NM+:} false; then : 4302 - $as_echo_n "(cached) " >&6 4303 - else 4925 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4926 + printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4927 + if test ${lt_cv_path_NM+y} 4928 + then : 4929 + printf %s "(cached) " >&6 4930 + else $as_nop 4304 4931 if test -n "$NM"; then 4305 4932 # Let the user override the test. 4306 4933 lt_cv_path_NM="$NM" ··· 4345 4972 : ${lt_cv_path_NM=no} 4346 4973 fi 4347 4974 fi 4348 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4349 - $as_echo "$lt_cv_path_NM" >&6; } 4975 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4976 + printf "%s\n" "$lt_cv_path_NM" >&6; } 4350 4977 if test "$lt_cv_path_NM" != "no"; then 4351 4978 NM="$lt_cv_path_NM" 4352 4979 else ··· 4359 4986 do 4360 4987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4361 4988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4362 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4363 - $as_echo_n "checking for $ac_word... " >&6; } 4364 - if ${ac_cv_prog_DUMPBIN+:} false; then : 4365 - $as_echo_n "(cached) " >&6 4366 - else 4989 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4990 + printf %s "checking for $ac_word... " >&6; } 4991 + if test ${ac_cv_prog_DUMPBIN+y} 4992 + then : 4993 + printf %s "(cached) " >&6 4994 + else $as_nop 4367 4995 if test -n "$DUMPBIN"; then 4368 4996 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4369 4997 else ··· 4371 4999 for as_dir in $PATH 4372 5000 do 4373 5001 IFS=$as_save_IFS 4374 - test -z "$as_dir" && as_dir=. 5002 + case $as_dir in #((( 5003 + '') as_dir=./ ;; 5004 + */) ;; 5005 + *) as_dir=$as_dir/ ;; 5006 + esac 4375 5007 for ac_exec_ext in '' $ac_executable_extensions; do 4376 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5008 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4377 5009 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4378 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5010 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4379 5011 break 2 4380 5012 fi 4381 5013 done ··· 4386 5018 fi 4387 5019 DUMPBIN=$ac_cv_prog_DUMPBIN 4388 5020 if test -n "$DUMPBIN"; then 4389 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4390 - $as_echo "$DUMPBIN" >&6; } 5021 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5022 + printf "%s\n" "$DUMPBIN" >&6; } 4391 5023 else 4392 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4393 - $as_echo "no" >&6; } 5024 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5025 + printf "%s\n" "no" >&6; } 4394 5026 fi 4395 5027 4396 5028 ··· 4403 5035 do 4404 5036 # Extract the first word of "$ac_prog", so it can be a program name with args. 4405 5037 set dummy $ac_prog; ac_word=$2 4406 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4407 - $as_echo_n "checking for $ac_word... " >&6; } 4408 - if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4409 - $as_echo_n "(cached) " >&6 4410 - else 5038 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5039 + printf %s "checking for $ac_word... " >&6; } 5040 + if test ${ac_cv_prog_ac_ct_DUMPBIN+y} 5041 + then : 5042 + printf %s "(cached) " >&6 5043 + else $as_nop 4411 5044 if test -n "$ac_ct_DUMPBIN"; then 4412 5045 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4413 5046 else ··· 4415 5048 for as_dir in $PATH 4416 5049 do 4417 5050 IFS=$as_save_IFS 4418 - test -z "$as_dir" && as_dir=. 5051 + case $as_dir in #((( 5052 + '') as_dir=./ ;; 5053 + */) ;; 5054 + *) as_dir=$as_dir/ ;; 5055 + esac 4419 5056 for ac_exec_ext in '' $ac_executable_extensions; do 4420 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5057 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4421 5058 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4422 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5059 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4423 5060 break 2 4424 5061 fi 4425 5062 done ··· 4430 5067 fi 4431 5068 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4432 5069 if test -n "$ac_ct_DUMPBIN"; then 4433 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4434 - $as_echo "$ac_ct_DUMPBIN" >&6; } 5070 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5071 + printf "%s\n" "$ac_ct_DUMPBIN" >&6; } 4435 5072 else 4436 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4437 - $as_echo "no" >&6; } 5073 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5074 + printf "%s\n" "no" >&6; } 4438 5075 fi 4439 5076 4440 5077 ··· 4446 5083 else 4447 5084 case $cross_compiling:$ac_tool_warned in 4448 5085 yes:) 4449 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4450 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5087 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4451 5088 ac_tool_warned=yes ;; 4452 5089 esac 4453 5090 DUMPBIN=$ac_ct_DUMPBIN ··· 4475 5112 4476 5113 4477 5114 4478 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4479 - $as_echo_n "checking the name lister ($NM) interface... " >&6; } 4480 - if ${lt_cv_nm_interface+:} false; then : 4481 - $as_echo_n "(cached) " >&6 4482 - else 5115 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5116 + printf %s "checking the name lister ($NM) interface... " >&6; } 5117 + if test ${lt_cv_nm_interface+y} 5118 + then : 5119 + printf %s "(cached) " >&6 5120 + else $as_nop 4483 5121 lt_cv_nm_interface="BSD nm" 4484 5122 echo "int some_variable = 0;" > conftest.$ac_ext 4485 5123 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) ··· 4495 5133 fi 4496 5134 rm -f conftest* 4497 5135 fi 4498 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4499 - $as_echo "$lt_cv_nm_interface" >&6; } 5136 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5137 + printf "%s\n" "$lt_cv_nm_interface" >&6; } 4500 5138 4501 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4502 - $as_echo_n "checking whether ln -s works... " >&6; } 5139 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5140 + printf %s "checking whether ln -s works... " >&6; } 4503 5141 LN_S=$as_ln_s 4504 5142 if test "$LN_S" = "ln -s"; then 4505 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4506 - $as_echo "yes" >&6; } 5143 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5144 + printf "%s\n" "yes" >&6; } 4507 5145 else 4508 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4509 - $as_echo "no, using $LN_S" >&6; } 5146 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5147 + printf "%s\n" "no, using $LN_S" >&6; } 4510 5148 fi 4511 5149 4512 5150 # find the maximum length of command line arguments 4513 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4514 - $as_echo_n "checking the maximum length of command line arguments... " >&6; } 4515 - if ${lt_cv_sys_max_cmd_len+:} false; then : 4516 - $as_echo_n "(cached) " >&6 4517 - else 5151 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5152 + printf %s "checking the maximum length of command line arguments... " >&6; } 5153 + if test ${lt_cv_sys_max_cmd_len+y} 5154 + then : 5155 + printf %s "(cached) " >&6 5156 + else $as_nop 4518 5157 i=0 4519 5158 teststring="ABCD" 4520 5159 ··· 4640 5279 fi 4641 5280 4642 5281 if test -n $lt_cv_sys_max_cmd_len ; then 4643 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4644 - $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5282 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5283 + printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } 4645 5284 else 4646 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4647 - $as_echo "none" >&6; } 5285 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 5286 + printf "%s\n" "none" >&6; } 4648 5287 fi 4649 5288 max_cmd_len=$lt_cv_sys_max_cmd_len 4650 5289 ··· 4657 5296 : ${MV="mv -f"} 4658 5297 : ${RM="rm -f"} 4659 5298 4660 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4661 - $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5299 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5300 + printf %s "checking whether the shell understands some XSI constructs... " >&6; } 4662 5301 # Try some XSI features 4663 5302 xsi_shell=no 4664 5303 ( _lt_dummy="a/b/c" ··· 4667 5306 && eval 'test $(( 1 + 1 )) -eq 2 \ 4668 5307 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4669 5308 && xsi_shell=yes 4670 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4671 - $as_echo "$xsi_shell" >&6; } 5309 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5310 + printf "%s\n" "$xsi_shell" >&6; } 4672 5311 4673 5312 4674 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4675 - $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5314 + printf %s "checking whether the shell understands \"+=\"... " >&6; } 4676 5315 lt_shell_append=no 4677 5316 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4678 5317 >/dev/null 2>&1 \ 4679 5318 && lt_shell_append=yes 4680 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4681 - $as_echo "$lt_shell_append" >&6; } 5319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5320 + printf "%s\n" "$lt_shell_append" >&6; } 4682 5321 4683 5322 4684 5323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ··· 4712 5351 4713 5352 4714 5353 4715 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 4716 - $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 4717 - if ${lt_cv_to_host_file_cmd+:} false; then : 4718 - $as_echo_n "(cached) " >&6 4719 - else 5354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5355 + printf %s "checking how to convert $build file names to $host format... " >&6; } 5356 + if test ${lt_cv_to_host_file_cmd+y} 5357 + then : 5358 + printf %s "(cached) " >&6 5359 + else $as_nop 4720 5360 case $host in 4721 5361 *-*-mingw* ) 4722 5362 case $build in ··· 4752 5392 fi 4753 5393 4754 5394 to_host_file_cmd=$lt_cv_to_host_file_cmd 4755 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 4756 - $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5395 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5396 + printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } 4757 5397 4758 5398 4759 5399 4760 5400 4761 5401 4762 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 4763 - $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 4764 - if ${lt_cv_to_tool_file_cmd+:} false; then : 4765 - $as_echo_n "(cached) " >&6 4766 - else 5402 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5403 + printf %s "checking how to convert $build file names to toolchain format... " >&6; } 5404 + if test ${lt_cv_to_tool_file_cmd+y} 5405 + then : 5406 + printf %s "(cached) " >&6 5407 + else $as_nop 4767 5408 #assume ordinary cross tools, or native build. 4768 5409 lt_cv_to_tool_file_cmd=func_convert_file_noop 4769 5410 case $host in ··· 4779 5420 fi 4780 5421 4781 5422 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 4782 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 4783 - $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5423 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5424 + printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } 4784 5425 4785 5426 4786 5427 4787 5428 4788 5429 4789 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4790 - $as_echo_n "checking for $LD option to reload object files... " >&6; } 4791 - if ${lt_cv_ld_reload_flag+:} false; then : 4792 - $as_echo_n "(cached) " >&6 4793 - else 5430 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5431 + printf %s "checking for $LD option to reload object files... " >&6; } 5432 + if test ${lt_cv_ld_reload_flag+y} 5433 + then : 5434 + printf %s "(cached) " >&6 5435 + else $as_nop 4794 5436 lt_cv_ld_reload_flag='-r' 4795 5437 fi 4796 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4797 - $as_echo "$lt_cv_ld_reload_flag" >&6; } 5438 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5439 + printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } 4798 5440 reload_flag=$lt_cv_ld_reload_flag 4799 5441 case $reload_flag in 4800 5442 "" | " "*) ;; ··· 4827 5469 if test -n "$ac_tool_prefix"; then 4828 5470 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4829 5471 set dummy ${ac_tool_prefix}objdump; ac_word=$2 4830 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4831 - $as_echo_n "checking for $ac_word... " >&6; } 4832 - if ${ac_cv_prog_OBJDUMP+:} false; then : 4833 - $as_echo_n "(cached) " >&6 4834 - else 5472 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5473 + printf %s "checking for $ac_word... " >&6; } 5474 + if test ${ac_cv_prog_OBJDUMP+y} 5475 + then : 5476 + printf %s "(cached) " >&6 5477 + else $as_nop 4835 5478 if test -n "$OBJDUMP"; then 4836 5479 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4837 5480 else ··· 4839 5482 for as_dir in $PATH 4840 5483 do 4841 5484 IFS=$as_save_IFS 4842 - test -z "$as_dir" && as_dir=. 5485 + case $as_dir in #((( 5486 + '') as_dir=./ ;; 5487 + */) ;; 5488 + *) as_dir=$as_dir/ ;; 5489 + esac 4843 5490 for ac_exec_ext in '' $ac_executable_extensions; do 4844 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5491 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4845 5492 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4846 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5493 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4847 5494 break 2 4848 5495 fi 4849 5496 done ··· 4854 5501 fi 4855 5502 OBJDUMP=$ac_cv_prog_OBJDUMP 4856 5503 if test -n "$OBJDUMP"; then 4857 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4858 - $as_echo "$OBJDUMP" >&6; } 5504 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5505 + printf "%s\n" "$OBJDUMP" >&6; } 4859 5506 else 4860 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4861 - $as_echo "no" >&6; } 5507 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5508 + printf "%s\n" "no" >&6; } 4862 5509 fi 4863 5510 4864 5511 ··· 4867 5514 ac_ct_OBJDUMP=$OBJDUMP 4868 5515 # Extract the first word of "objdump", so it can be a program name with args. 4869 5516 set dummy objdump; ac_word=$2 4870 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4871 - $as_echo_n "checking for $ac_word... " >&6; } 4872 - if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4873 - $as_echo_n "(cached) " >&6 4874 - else 5517 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5518 + printf %s "checking for $ac_word... " >&6; } 5519 + if test ${ac_cv_prog_ac_ct_OBJDUMP+y} 5520 + then : 5521 + printf %s "(cached) " >&6 5522 + else $as_nop 4875 5523 if test -n "$ac_ct_OBJDUMP"; then 4876 5524 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4877 5525 else ··· 4879 5527 for as_dir in $PATH 4880 5528 do 4881 5529 IFS=$as_save_IFS 4882 - test -z "$as_dir" && as_dir=. 5530 + case $as_dir in #((( 5531 + '') as_dir=./ ;; 5532 + */) ;; 5533 + *) as_dir=$as_dir/ ;; 5534 + esac 4883 5535 for ac_exec_ext in '' $ac_executable_extensions; do 4884 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5536 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4885 5537 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4886 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5538 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4887 5539 break 2 4888 5540 fi 4889 5541 done ··· 4894 5546 fi 4895 5547 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4896 5548 if test -n "$ac_ct_OBJDUMP"; then 4897 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4898 - $as_echo "$ac_ct_OBJDUMP" >&6; } 5549 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5550 + printf "%s\n" "$ac_ct_OBJDUMP" >&6; } 4899 5551 else 4900 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4901 - $as_echo "no" >&6; } 5552 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5553 + printf "%s\n" "no" >&6; } 4902 5554 fi 4903 5555 4904 5556 if test "x$ac_ct_OBJDUMP" = x; then ··· 4906 5558 else 4907 5559 case $cross_compiling:$ac_tool_warned in 4908 5560 yes:) 4909 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4910 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5561 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5562 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4911 5563 ac_tool_warned=yes ;; 4912 5564 esac 4913 5565 OBJDUMP=$ac_ct_OBJDUMP ··· 4926 5578 4927 5579 4928 5580 4929 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4930 - $as_echo_n "checking how to recognize dependent libraries... " >&6; } 4931 - if ${lt_cv_deplibs_check_method+:} false; then : 4932 - $as_echo_n "(cached) " >&6 4933 - else 5581 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5582 + printf %s "checking how to recognize dependent libraries... " >&6; } 5583 + if test ${lt_cv_deplibs_check_method+y} 5584 + then : 5585 + printf %s "(cached) " >&6 5586 + else $as_nop 4934 5587 lt_cv_file_magic_cmd='$MAGIC_CMD' 4935 5588 lt_cv_file_magic_test_file= 4936 5589 lt_cv_deplibs_check_method='unknown' ··· 5128 5781 esac 5129 5782 5130 5783 fi 5131 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5132 - $as_echo "$lt_cv_deplibs_check_method" >&6; } 5784 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5785 + printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } 5133 5786 5134 5787 file_magic_glob= 5135 5788 want_nocaseglob=no ··· 5173 5826 if test -n "$ac_tool_prefix"; then 5174 5827 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5175 5828 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5176 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5177 - $as_echo_n "checking for $ac_word... " >&6; } 5178 - if ${ac_cv_prog_DLLTOOL+:} false; then : 5179 - $as_echo_n "(cached) " >&6 5180 - else 5829 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5830 + printf %s "checking for $ac_word... " >&6; } 5831 + if test ${ac_cv_prog_DLLTOOL+y} 5832 + then : 5833 + printf %s "(cached) " >&6 5834 + else $as_nop 5181 5835 if test -n "$DLLTOOL"; then 5182 5836 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5183 5837 else ··· 5185 5839 for as_dir in $PATH 5186 5840 do 5187 5841 IFS=$as_save_IFS 5188 - test -z "$as_dir" && as_dir=. 5842 + case $as_dir in #((( 5843 + '') as_dir=./ ;; 5844 + */) ;; 5845 + *) as_dir=$as_dir/ ;; 5846 + esac 5189 5847 for ac_exec_ext in '' $ac_executable_extensions; do 5190 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5848 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5191 5849 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5192 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5850 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5193 5851 break 2 5194 5852 fi 5195 5853 done ··· 5200 5858 fi 5201 5859 DLLTOOL=$ac_cv_prog_DLLTOOL 5202 5860 if test -n "$DLLTOOL"; then 5203 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5204 - $as_echo "$DLLTOOL" >&6; } 5861 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5862 + printf "%s\n" "$DLLTOOL" >&6; } 5205 5863 else 5206 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5207 - $as_echo "no" >&6; } 5864 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5865 + printf "%s\n" "no" >&6; } 5208 5866 fi 5209 5867 5210 5868 ··· 5213 5871 ac_ct_DLLTOOL=$DLLTOOL 5214 5872 # Extract the first word of "dlltool", so it can be a program name with args. 5215 5873 set dummy dlltool; ac_word=$2 5216 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5217 - $as_echo_n "checking for $ac_word... " >&6; } 5218 - if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5219 - $as_echo_n "(cached) " >&6 5220 - else 5874 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5875 + printf %s "checking for $ac_word... " >&6; } 5876 + if test ${ac_cv_prog_ac_ct_DLLTOOL+y} 5877 + then : 5878 + printf %s "(cached) " >&6 5879 + else $as_nop 5221 5880 if test -n "$ac_ct_DLLTOOL"; then 5222 5881 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5223 5882 else ··· 5225 5884 for as_dir in $PATH 5226 5885 do 5227 5886 IFS=$as_save_IFS 5228 - test -z "$as_dir" && as_dir=. 5887 + case $as_dir in #((( 5888 + '') as_dir=./ ;; 5889 + */) ;; 5890 + *) as_dir=$as_dir/ ;; 5891 + esac 5229 5892 for ac_exec_ext in '' $ac_executable_extensions; do 5230 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5893 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5231 5894 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5232 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5895 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5233 5896 break 2 5234 5897 fi 5235 5898 done ··· 5240 5903 fi 5241 5904 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5242 5905 if test -n "$ac_ct_DLLTOOL"; then 5243 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5244 - $as_echo "$ac_ct_DLLTOOL" >&6; } 5906 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5907 + printf "%s\n" "$ac_ct_DLLTOOL" >&6; } 5245 5908 else 5246 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5247 - $as_echo "no" >&6; } 5909 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5910 + printf "%s\n" "no" >&6; } 5248 5911 fi 5249 5912 5250 5913 if test "x$ac_ct_DLLTOOL" = x; then ··· 5252 5915 else 5253 5916 case $cross_compiling:$ac_tool_warned in 5254 5917 yes:) 5255 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5256 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5918 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5919 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5257 5920 ac_tool_warned=yes ;; 5258 5921 esac 5259 5922 DLLTOOL=$ac_ct_DLLTOOL ··· 5273 5936 5274 5937 5275 5938 5276 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5277 - $as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5278 - if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5279 - $as_echo_n "(cached) " >&6 5280 - else 5939 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5940 + printf %s "checking how to associate runtime and link libraries... " >&6; } 5941 + if test ${lt_cv_sharedlib_from_linklib_cmd+y} 5942 + then : 5943 + printf %s "(cached) " >&6 5944 + else $as_nop 5281 5945 lt_cv_sharedlib_from_linklib_cmd='unknown' 5282 5946 5283 5947 case $host_os in ··· 5300 5964 esac 5301 5965 5302 5966 fi 5303 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5304 - $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5967 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5968 + printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5305 5969 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5306 5970 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5307 5971 ··· 5317 5981 do 5318 5982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5319 5983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5320 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5321 - $as_echo_n "checking for $ac_word... " >&6; } 5322 - if ${ac_cv_prog_AR+:} false; then : 5323 - $as_echo_n "(cached) " >&6 5324 - else 5984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5985 + printf %s "checking for $ac_word... " >&6; } 5986 + if test ${ac_cv_prog_AR+y} 5987 + then : 5988 + printf %s "(cached) " >&6 5989 + else $as_nop 5325 5990 if test -n "$AR"; then 5326 5991 ac_cv_prog_AR="$AR" # Let the user override the test. 5327 5992 else ··· 5329 5994 for as_dir in $PATH 5330 5995 do 5331 5996 IFS=$as_save_IFS 5332 - test -z "$as_dir" && as_dir=. 5997 + case $as_dir in #((( 5998 + '') as_dir=./ ;; 5999 + */) ;; 6000 + *) as_dir=$as_dir/ ;; 6001 + esac 5333 6002 for ac_exec_ext in '' $ac_executable_extensions; do 5334 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6003 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5335 6004 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5336 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6005 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5337 6006 break 2 5338 6007 fi 5339 6008 done ··· 5344 6013 fi 5345 6014 AR=$ac_cv_prog_AR 5346 6015 if test -n "$AR"; then 5347 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5348 - $as_echo "$AR" >&6; } 6016 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6017 + printf "%s\n" "$AR" >&6; } 5349 6018 else 5350 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5351 - $as_echo "no" >&6; } 6019 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6020 + printf "%s\n" "no" >&6; } 5352 6021 fi 5353 6022 5354 6023 ··· 5361 6030 do 5362 6031 # Extract the first word of "$ac_prog", so it can be a program name with args. 5363 6032 set dummy $ac_prog; ac_word=$2 5364 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5365 - $as_echo_n "checking for $ac_word... " >&6; } 5366 - if ${ac_cv_prog_ac_ct_AR+:} false; then : 5367 - $as_echo_n "(cached) " >&6 5368 - else 6033 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6034 + printf %s "checking for $ac_word... " >&6; } 6035 + if test ${ac_cv_prog_ac_ct_AR+y} 6036 + then : 6037 + printf %s "(cached) " >&6 6038 + else $as_nop 5369 6039 if test -n "$ac_ct_AR"; then 5370 6040 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5371 6041 else ··· 5373 6043 for as_dir in $PATH 5374 6044 do 5375 6045 IFS=$as_save_IFS 5376 - test -z "$as_dir" && as_dir=. 6046 + case $as_dir in #((( 6047 + '') as_dir=./ ;; 6048 + */) ;; 6049 + *) as_dir=$as_dir/ ;; 6050 + esac 5377 6051 for ac_exec_ext in '' $ac_executable_extensions; do 5378 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6052 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5379 6053 ac_cv_prog_ac_ct_AR="$ac_prog" 5380 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6054 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5381 6055 break 2 5382 6056 fi 5383 6057 done ··· 5388 6062 fi 5389 6063 ac_ct_AR=$ac_cv_prog_ac_ct_AR 5390 6064 if test -n "$ac_ct_AR"; then 5391 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5392 - $as_echo "$ac_ct_AR" >&6; } 6065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6066 + printf "%s\n" "$ac_ct_AR" >&6; } 5393 6067 else 5394 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5395 - $as_echo "no" >&6; } 6068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6069 + printf "%s\n" "no" >&6; } 5396 6070 fi 5397 6071 5398 6072 ··· 5404 6078 else 5405 6079 case $cross_compiling:$ac_tool_warned in 5406 6080 yes:) 5407 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5408 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6081 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6082 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5409 6083 ac_tool_warned=yes ;; 5410 6084 esac 5411 6085 AR=$ac_ct_AR ··· 5425 6099 5426 6100 5427 6101 5428 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5429 - $as_echo_n "checking for archiver @FILE support... " >&6; } 5430 - if ${lt_cv_ar_at_file+:} false; then : 5431 - $as_echo_n "(cached) " >&6 5432 - else 6102 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6103 + printf %s "checking for archiver @FILE support... " >&6; } 6104 + if test ${lt_cv_ar_at_file+y} 6105 + then : 6106 + printf %s "(cached) " >&6 6107 + else $as_nop 5433 6108 lt_cv_ar_at_file=no 5434 6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5435 6110 /* end confdefs.h. */ 5436 6111 5437 6112 int 5438 - main () 6113 + main (void) 5439 6114 { 5440 6115 5441 6116 ; 5442 6117 return 0; 5443 6118 } 5444 6119 _ACEOF 5445 - if ac_fn_c_try_compile "$LINENO"; then : 6120 + if ac_fn_c_try_compile "$LINENO" 6121 + then : 5446 6122 echo conftest.$ac_objext > conftest.lst 5447 6123 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5448 6124 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5449 6125 (eval $lt_ar_try) 2>&5 5450 6126 ac_status=$? 5451 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6127 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5452 6128 test $ac_status = 0; } 5453 6129 if test "$ac_status" -eq 0; then 5454 6130 # Ensure the archiver fails upon bogus file names. ··· 5456 6132 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5457 6133 (eval $lt_ar_try) 2>&5 5458 6134 ac_status=$? 5459 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6135 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5460 6136 test $ac_status = 0; } 5461 6137 if test "$ac_status" -ne 0; then 5462 6138 lt_cv_ar_at_file=@ ··· 5465 6141 rm -f conftest.* libconftest.a 5466 6142 5467 6143 fi 5468 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6144 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5469 6145 5470 6146 fi 5471 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5472 - $as_echo "$lt_cv_ar_at_file" >&6; } 6147 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6148 + printf "%s\n" "$lt_cv_ar_at_file" >&6; } 5473 6149 5474 6150 if test "x$lt_cv_ar_at_file" = xno; then 5475 6151 archiver_list_spec= ··· 5486 6162 if test -n "$ac_tool_prefix"; then 5487 6163 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5488 6164 set dummy ${ac_tool_prefix}strip; ac_word=$2 5489 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5490 - $as_echo_n "checking for $ac_word... " >&6; } 5491 - if ${ac_cv_prog_STRIP+:} false; then : 5492 - $as_echo_n "(cached) " >&6 5493 - else 6165 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6166 + printf %s "checking for $ac_word... " >&6; } 6167 + if test ${ac_cv_prog_STRIP+y} 6168 + then : 6169 + printf %s "(cached) " >&6 6170 + else $as_nop 5494 6171 if test -n "$STRIP"; then 5495 6172 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5496 6173 else ··· 5498 6175 for as_dir in $PATH 5499 6176 do 5500 6177 IFS=$as_save_IFS 5501 - test -z "$as_dir" && as_dir=. 6178 + case $as_dir in #((( 6179 + '') as_dir=./ ;; 6180 + */) ;; 6181 + *) as_dir=$as_dir/ ;; 6182 + esac 5502 6183 for ac_exec_ext in '' $ac_executable_extensions; do 5503 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6184 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5504 6185 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5505 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6186 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5506 6187 break 2 5507 6188 fi 5508 6189 done ··· 5513 6194 fi 5514 6195 STRIP=$ac_cv_prog_STRIP 5515 6196 if test -n "$STRIP"; then 5516 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5517 - $as_echo "$STRIP" >&6; } 6197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6198 + printf "%s\n" "$STRIP" >&6; } 5518 6199 else 5519 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5520 - $as_echo "no" >&6; } 6200 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6201 + printf "%s\n" "no" >&6; } 5521 6202 fi 5522 6203 5523 6204 ··· 5526 6207 ac_ct_STRIP=$STRIP 5527 6208 # Extract the first word of "strip", so it can be a program name with args. 5528 6209 set dummy strip; ac_word=$2 5529 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5530 - $as_echo_n "checking for $ac_word... " >&6; } 5531 - if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5532 - $as_echo_n "(cached) " >&6 5533 - else 6210 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6211 + printf %s "checking for $ac_word... " >&6; } 6212 + if test ${ac_cv_prog_ac_ct_STRIP+y} 6213 + then : 6214 + printf %s "(cached) " >&6 6215 + else $as_nop 5534 6216 if test -n "$ac_ct_STRIP"; then 5535 6217 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5536 6218 else ··· 5538 6220 for as_dir in $PATH 5539 6221 do 5540 6222 IFS=$as_save_IFS 5541 - test -z "$as_dir" && as_dir=. 6223 + case $as_dir in #((( 6224 + '') as_dir=./ ;; 6225 + */) ;; 6226 + *) as_dir=$as_dir/ ;; 6227 + esac 5542 6228 for ac_exec_ext in '' $ac_executable_extensions; do 5543 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6229 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5544 6230 ac_cv_prog_ac_ct_STRIP="strip" 5545 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6231 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5546 6232 break 2 5547 6233 fi 5548 6234 done ··· 5553 6239 fi 5554 6240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5555 6241 if test -n "$ac_ct_STRIP"; then 5556 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5557 - $as_echo "$ac_ct_STRIP" >&6; } 6242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6243 + printf "%s\n" "$ac_ct_STRIP" >&6; } 5558 6244 else 5559 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5560 - $as_echo "no" >&6; } 6245 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6246 + printf "%s\n" "no" >&6; } 5561 6247 fi 5562 6248 5563 6249 if test "x$ac_ct_STRIP" = x; then ··· 5565 6251 else 5566 6252 case $cross_compiling:$ac_tool_warned in 5567 6253 yes:) 5568 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5569 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6254 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6255 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5570 6256 ac_tool_warned=yes ;; 5571 6257 esac 5572 6258 STRIP=$ac_ct_STRIP ··· 5585 6271 if test -n "$ac_tool_prefix"; then 5586 6272 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5587 6273 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5588 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5589 - $as_echo_n "checking for $ac_word... " >&6; } 5590 - if ${ac_cv_prog_RANLIB+:} false; then : 5591 - $as_echo_n "(cached) " >&6 5592 - else 6274 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6275 + printf %s "checking for $ac_word... " >&6; } 6276 + if test ${ac_cv_prog_RANLIB+y} 6277 + then : 6278 + printf %s "(cached) " >&6 6279 + else $as_nop 5593 6280 if test -n "$RANLIB"; then 5594 6281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5595 6282 else ··· 5597 6284 for as_dir in $PATH 5598 6285 do 5599 6286 IFS=$as_save_IFS 5600 - test -z "$as_dir" && as_dir=. 6287 + case $as_dir in #((( 6288 + '') as_dir=./ ;; 6289 + */) ;; 6290 + *) as_dir=$as_dir/ ;; 6291 + esac 5601 6292 for ac_exec_ext in '' $ac_executable_extensions; do 5602 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6293 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5603 6294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5604 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6295 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5605 6296 break 2 5606 6297 fi 5607 6298 done ··· 5612 6303 fi 5613 6304 RANLIB=$ac_cv_prog_RANLIB 5614 6305 if test -n "$RANLIB"; then 5615 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5616 - $as_echo "$RANLIB" >&6; } 6306 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6307 + printf "%s\n" "$RANLIB" >&6; } 5617 6308 else 5618 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5619 - $as_echo "no" >&6; } 6309 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6310 + printf "%s\n" "no" >&6; } 5620 6311 fi 5621 6312 5622 6313 ··· 5625 6316 ac_ct_RANLIB=$RANLIB 5626 6317 # Extract the first word of "ranlib", so it can be a program name with args. 5627 6318 set dummy ranlib; ac_word=$2 5628 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5629 - $as_echo_n "checking for $ac_word... " >&6; } 5630 - if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5631 - $as_echo_n "(cached) " >&6 5632 - else 6319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6320 + printf %s "checking for $ac_word... " >&6; } 6321 + if test ${ac_cv_prog_ac_ct_RANLIB+y} 6322 + then : 6323 + printf %s "(cached) " >&6 6324 + else $as_nop 5633 6325 if test -n "$ac_ct_RANLIB"; then 5634 6326 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5635 6327 else ··· 5637 6329 for as_dir in $PATH 5638 6330 do 5639 6331 IFS=$as_save_IFS 5640 - test -z "$as_dir" && as_dir=. 6332 + case $as_dir in #((( 6333 + '') as_dir=./ ;; 6334 + */) ;; 6335 + *) as_dir=$as_dir/ ;; 6336 + esac 5641 6337 for ac_exec_ext in '' $ac_executable_extensions; do 5642 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6338 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5643 6339 ac_cv_prog_ac_ct_RANLIB="ranlib" 5644 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6340 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5645 6341 break 2 5646 6342 fi 5647 6343 done ··· 5652 6348 fi 5653 6349 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5654 6350 if test -n "$ac_ct_RANLIB"; then 5655 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5656 - $as_echo "$ac_ct_RANLIB" >&6; } 6351 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6352 + printf "%s\n" "$ac_ct_RANLIB" >&6; } 5657 6353 else 5658 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5659 - $as_echo "no" >&6; } 6354 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6355 + printf "%s\n" "no" >&6; } 5660 6356 fi 5661 6357 5662 6358 if test "x$ac_ct_RANLIB" = x; then ··· 5664 6360 else 5665 6361 case $cross_compiling:$ac_tool_warned in 5666 6362 yes:) 5667 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5668 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6363 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6364 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5669 6365 ac_tool_warned=yes ;; 5670 6366 esac 5671 6367 RANLIB=$ac_ct_RANLIB ··· 5754 6450 5755 6451 5756 6452 # Check for command to grab the raw symbol name followed by C symbol from nm. 5757 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5758 - $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5759 - if ${lt_cv_sys_global_symbol_pipe+:} false; then : 5760 - $as_echo_n "(cached) " >&6 5761 - else 6453 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6454 + printf %s "checking command to parse $NM output from $compiler object... " >&6; } 6455 + if test ${lt_cv_sys_global_symbol_pipe+y} 6456 + then : 6457 + printf %s "(cached) " >&6 6458 + else $as_nop 5762 6459 5763 6460 # These are sane defaults that work on at least a few old systems. 5764 6461 # [They come from Ultrix. What could be older than Ultrix?!! ;)] ··· 5877 6574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5878 6575 (eval $ac_compile) 2>&5 5879 6576 ac_status=$? 5880 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6577 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5881 6578 test $ac_status = 0; }; then 5882 6579 # Now try to grab the symbols. 5883 6580 nlist=conftest.nm 5884 6581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 5885 6582 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 5886 6583 ac_status=$? 5887 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6584 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5888 6585 test $ac_status = 0; } && test -s "$nlist"; then 5889 6586 # Try sorting and uniquifying the output. 5890 6587 if sort "$nlist" | uniq > "$nlist"T; then ··· 5953 6650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5954 6651 (eval $ac_link) 2>&5 5955 6652 ac_status=$? 5956 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6653 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5957 6654 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5958 6655 pipe_works=yes 5959 6656 fi ··· 5988 6685 lt_cv_sys_global_symbol_to_cdecl= 5989 6686 fi 5990 6687 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5991 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5992 - $as_echo "failed" >&6; } 6688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6689 + printf "%s\n" "failed" >&6; } 5993 6690 else 5994 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5995 - $as_echo "ok" >&6; } 6691 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6692 + printf "%s\n" "ok" >&6; } 5996 6693 fi 5997 6694 5998 6695 # Response file support. ··· 6028 6725 6029 6726 6030 6727 6031 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6032 - $as_echo_n "checking for sysroot... " >&6; } 6728 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6729 + printf %s "checking for sysroot... " >&6; } 6033 6730 6034 6731 # Check whether --with-sysroot was given. 6035 - if test "${with_sysroot+set}" = set; then : 6732 + if test ${with_sysroot+y} 6733 + then : 6036 6734 withval=$with_sysroot; 6037 - else 6735 + else $as_nop 6038 6736 with_sysroot=no 6039 6737 fi 6040 6738 ··· 6052 6750 no|'') 6053 6751 ;; #( 6054 6752 *) 6055 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6056 - $as_echo "${with_sysroot}" >&6; } 6753 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6754 + printf "%s\n" "${with_sysroot}" >&6; } 6057 6755 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6058 6756 ;; 6059 6757 esac 6060 6758 6061 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6062 - $as_echo "${lt_sysroot:-no}" >&6; } 6759 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6760 + printf "%s\n" "${lt_sysroot:-no}" >&6; } 6063 6761 6064 6762 6065 6763 6066 6764 6067 6765 6068 6766 # Check whether --enable-libtool-lock was given. 6069 - if test "${enable_libtool_lock+set}" = set; then : 6767 + if test ${enable_libtool_lock+y} 6768 + then : 6070 6769 enableval=$enable_libtool_lock; 6071 6770 fi 6072 6771 ··· 6081 6780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6082 6781 (eval $ac_compile) 2>&5 6083 6782 ac_status=$? 6084 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6783 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6085 6784 test $ac_status = 0; }; then 6086 6785 case `/usr/bin/file conftest.$ac_objext` in 6087 6786 *ELF-32*) ··· 6100 6799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6101 6800 (eval $ac_compile) 2>&5 6102 6801 ac_status=$? 6103 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6802 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6104 6803 test $ac_status = 0; }; then 6105 6804 if test "$lt_cv_prog_gnu_ld" = yes; then 6106 6805 case `/usr/bin/file conftest.$ac_objext` in ··· 6138 6837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6139 6838 (eval $ac_compile) 2>&5 6140 6839 ac_status=$? 6141 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6840 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6142 6841 test $ac_status = 0; }; then 6143 6842 case `/usr/bin/file conftest.o` in 6144 6843 *32-bit*) ··· 6188 6887 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6189 6888 SAVE_CFLAGS="$CFLAGS" 6190 6889 CFLAGS="$CFLAGS -belf" 6191 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6192 - $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6193 - if ${lt_cv_cc_needs_belf+:} false; then : 6194 - $as_echo_n "(cached) " >&6 6195 - else 6890 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6891 + printf %s "checking whether the C compiler needs -belf... " >&6; } 6892 + if test ${lt_cv_cc_needs_belf+y} 6893 + then : 6894 + printf %s "(cached) " >&6 6895 + else $as_nop 6196 6896 ac_ext=c 6197 6897 ac_cpp='$CPP $CPPFLAGS' 6198 6898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ··· 6203 6903 /* end confdefs.h. */ 6204 6904 6205 6905 int 6206 - main () 6906 + main (void) 6207 6907 { 6208 6908 6209 6909 ; 6210 6910 return 0; 6211 6911 } 6212 6912 _ACEOF 6213 - if ac_fn_c_try_link "$LINENO"; then : 6913 + if ac_fn_c_try_link "$LINENO" 6914 + then : 6214 6915 lt_cv_cc_needs_belf=yes 6215 - else 6916 + else $as_nop 6216 6917 lt_cv_cc_needs_belf=no 6217 6918 fi 6218 - rm -f core conftest.err conftest.$ac_objext \ 6919 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6219 6920 conftest$ac_exeext conftest.$ac_ext 6220 6921 ac_ext=c 6221 6922 ac_cpp='$CPP $CPPFLAGS' ··· 6224 6925 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6225 6926 6226 6927 fi 6227 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6228 - $as_echo "$lt_cv_cc_needs_belf" >&6; } 6928 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6929 + printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } 6229 6930 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6230 6931 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6231 6932 CFLAGS="$SAVE_CFLAGS" ··· 6237 6938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6238 6939 (eval $ac_compile) 2>&5 6239 6940 ac_status=$? 6240 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6941 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6241 6942 test $ac_status = 0; }; then 6242 6943 case `/usr/bin/file conftest.o` in 6243 6944 *64-bit*) ··· 6274 6975 if test -n "$ac_tool_prefix"; then 6275 6976 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6276 6977 set dummy ${ac_tool_prefix}mt; ac_word=$2 6277 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6278 - $as_echo_n "checking for $ac_word... " >&6; } 6279 - if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6280 - $as_echo_n "(cached) " >&6 6281 - else 6978 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6979 + printf %s "checking for $ac_word... " >&6; } 6980 + if test ${ac_cv_prog_MANIFEST_TOOL+y} 6981 + then : 6982 + printf %s "(cached) " >&6 6983 + else $as_nop 6282 6984 if test -n "$MANIFEST_TOOL"; then 6283 6985 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6284 6986 else ··· 6286 6988 for as_dir in $PATH 6287 6989 do 6288 6990 IFS=$as_save_IFS 6289 - test -z "$as_dir" && as_dir=. 6991 + case $as_dir in #((( 6992 + '') as_dir=./ ;; 6993 + */) ;; 6994 + *) as_dir=$as_dir/ ;; 6995 + esac 6290 6996 for ac_exec_ext in '' $ac_executable_extensions; do 6291 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6997 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6292 6998 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6293 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6999 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6294 7000 break 2 6295 7001 fi 6296 7002 done ··· 6301 7007 fi 6302 7008 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6303 7009 if test -n "$MANIFEST_TOOL"; then 6304 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6305 - $as_echo "$MANIFEST_TOOL" >&6; } 7010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7011 + printf "%s\n" "$MANIFEST_TOOL" >&6; } 6306 7012 else 6307 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6308 - $as_echo "no" >&6; } 7013 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7014 + printf "%s\n" "no" >&6; } 6309 7015 fi 6310 7016 6311 7017 ··· 6314 7020 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6315 7021 # Extract the first word of "mt", so it can be a program name with args. 6316 7022 set dummy mt; ac_word=$2 6317 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6318 - $as_echo_n "checking for $ac_word... " >&6; } 6319 - if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6320 - $as_echo_n "(cached) " >&6 6321 - else 7023 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7024 + printf %s "checking for $ac_word... " >&6; } 7025 + if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} 7026 + then : 7027 + printf %s "(cached) " >&6 7028 + else $as_nop 6322 7029 if test -n "$ac_ct_MANIFEST_TOOL"; then 6323 7030 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6324 7031 else ··· 6326 7033 for as_dir in $PATH 6327 7034 do 6328 7035 IFS=$as_save_IFS 6329 - test -z "$as_dir" && as_dir=. 7036 + case $as_dir in #((( 7037 + '') as_dir=./ ;; 7038 + */) ;; 7039 + *) as_dir=$as_dir/ ;; 7040 + esac 6330 7041 for ac_exec_ext in '' $ac_executable_extensions; do 6331 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7042 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6332 7043 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6333 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7044 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6334 7045 break 2 6335 7046 fi 6336 7047 done ··· 6341 7052 fi 6342 7053 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6343 7054 if test -n "$ac_ct_MANIFEST_TOOL"; then 6344 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6345 - $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7055 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7056 + printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } 6346 7057 else 6347 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6348 - $as_echo "no" >&6; } 7058 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7059 + printf "%s\n" "no" >&6; } 6349 7060 fi 6350 7061 6351 7062 if test "x$ac_ct_MANIFEST_TOOL" = x; then ··· 6353 7064 else 6354 7065 case $cross_compiling:$ac_tool_warned in 6355 7066 yes:) 6356 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6357 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7067 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7068 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6358 7069 ac_tool_warned=yes ;; 6359 7070 esac 6360 7071 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL ··· 6364 7075 fi 6365 7076 6366 7077 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6367 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6368 - $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6369 - if ${lt_cv_path_mainfest_tool+:} false; then : 6370 - $as_echo_n "(cached) " >&6 6371 - else 7078 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7079 + printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7080 + if test ${lt_cv_path_mainfest_tool+y} 7081 + then : 7082 + printf %s "(cached) " >&6 7083 + else $as_nop 6372 7084 lt_cv_path_mainfest_tool=no 6373 7085 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6374 7086 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out ··· 6378 7090 fi 6379 7091 rm -f conftest* 6380 7092 fi 6381 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6382 - $as_echo "$lt_cv_path_mainfest_tool" >&6; } 7093 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7094 + printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } 6383 7095 if test "x$lt_cv_path_mainfest_tool" != xyes; then 6384 7096 MANIFEST_TOOL=: 6385 7097 fi ··· 6394 7106 if test -n "$ac_tool_prefix"; then 6395 7107 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6396 7108 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6397 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6398 - $as_echo_n "checking for $ac_word... " >&6; } 6399 - if ${ac_cv_prog_DSYMUTIL+:} false; then : 6400 - $as_echo_n "(cached) " >&6 6401 - else 7109 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7110 + printf %s "checking for $ac_word... " >&6; } 7111 + if test ${ac_cv_prog_DSYMUTIL+y} 7112 + then : 7113 + printf %s "(cached) " >&6 7114 + else $as_nop 6402 7115 if test -n "$DSYMUTIL"; then 6403 7116 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6404 7117 else ··· 6406 7119 for as_dir in $PATH 6407 7120 do 6408 7121 IFS=$as_save_IFS 6409 - test -z "$as_dir" && as_dir=. 7122 + case $as_dir in #((( 7123 + '') as_dir=./ ;; 7124 + */) ;; 7125 + *) as_dir=$as_dir/ ;; 7126 + esac 6410 7127 for ac_exec_ext in '' $ac_executable_extensions; do 6411 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7128 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6412 7129 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6413 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7130 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6414 7131 break 2 6415 7132 fi 6416 7133 done ··· 6421 7138 fi 6422 7139 DSYMUTIL=$ac_cv_prog_DSYMUTIL 6423 7140 if test -n "$DSYMUTIL"; then 6424 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6425 - $as_echo "$DSYMUTIL" >&6; } 7141 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7142 + printf "%s\n" "$DSYMUTIL" >&6; } 6426 7143 else 6427 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6428 - $as_echo "no" >&6; } 7144 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7145 + printf "%s\n" "no" >&6; } 6429 7146 fi 6430 7147 6431 7148 ··· 6434 7151 ac_ct_DSYMUTIL=$DSYMUTIL 6435 7152 # Extract the first word of "dsymutil", so it can be a program name with args. 6436 7153 set dummy dsymutil; ac_word=$2 6437 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6438 - $as_echo_n "checking for $ac_word... " >&6; } 6439 - if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6440 - $as_echo_n "(cached) " >&6 6441 - else 7154 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7155 + printf %s "checking for $ac_word... " >&6; } 7156 + if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} 7157 + then : 7158 + printf %s "(cached) " >&6 7159 + else $as_nop 6442 7160 if test -n "$ac_ct_DSYMUTIL"; then 6443 7161 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6444 7162 else ··· 6446 7164 for as_dir in $PATH 6447 7165 do 6448 7166 IFS=$as_save_IFS 6449 - test -z "$as_dir" && as_dir=. 7167 + case $as_dir in #((( 7168 + '') as_dir=./ ;; 7169 + */) ;; 7170 + *) as_dir=$as_dir/ ;; 7171 + esac 6450 7172 for ac_exec_ext in '' $ac_executable_extensions; do 6451 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7173 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6452 7174 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6453 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7175 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6454 7176 break 2 6455 7177 fi 6456 7178 done ··· 6461 7183 fi 6462 7184 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6463 7185 if test -n "$ac_ct_DSYMUTIL"; then 6464 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6465 - $as_echo "$ac_ct_DSYMUTIL" >&6; } 7186 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7187 + printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } 6466 7188 else 6467 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6468 - $as_echo "no" >&6; } 7189 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7190 + printf "%s\n" "no" >&6; } 6469 7191 fi 6470 7192 6471 7193 if test "x$ac_ct_DSYMUTIL" = x; then ··· 6473 7195 else 6474 7196 case $cross_compiling:$ac_tool_warned in 6475 7197 yes:) 6476 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6477 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7198 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7199 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6478 7200 ac_tool_warned=yes ;; 6479 7201 esac 6480 7202 DSYMUTIL=$ac_ct_DSYMUTIL ··· 6486 7208 if test -n "$ac_tool_prefix"; then 6487 7209 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6488 7210 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6489 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6490 - $as_echo_n "checking for $ac_word... " >&6; } 6491 - if ${ac_cv_prog_NMEDIT+:} false; then : 6492 - $as_echo_n "(cached) " >&6 6493 - else 7211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7212 + printf %s "checking for $ac_word... " >&6; } 7213 + if test ${ac_cv_prog_NMEDIT+y} 7214 + then : 7215 + printf %s "(cached) " >&6 7216 + else $as_nop 6494 7217 if test -n "$NMEDIT"; then 6495 7218 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6496 7219 else ··· 6498 7221 for as_dir in $PATH 6499 7222 do 6500 7223 IFS=$as_save_IFS 6501 - test -z "$as_dir" && as_dir=. 7224 + case $as_dir in #((( 7225 + '') as_dir=./ ;; 7226 + */) ;; 7227 + *) as_dir=$as_dir/ ;; 7228 + esac 6502 7229 for ac_exec_ext in '' $ac_executable_extensions; do 6503 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7230 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6504 7231 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6505 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7232 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6506 7233 break 2 6507 7234 fi 6508 7235 done ··· 6513 7240 fi 6514 7241 NMEDIT=$ac_cv_prog_NMEDIT 6515 7242 if test -n "$NMEDIT"; then 6516 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6517 - $as_echo "$NMEDIT" >&6; } 7243 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7244 + printf "%s\n" "$NMEDIT" >&6; } 6518 7245 else 6519 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6520 - $as_echo "no" >&6; } 7246 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7247 + printf "%s\n" "no" >&6; } 6521 7248 fi 6522 7249 6523 7250 ··· 6526 7253 ac_ct_NMEDIT=$NMEDIT 6527 7254 # Extract the first word of "nmedit", so it can be a program name with args. 6528 7255 set dummy nmedit; ac_word=$2 6529 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6530 - $as_echo_n "checking for $ac_word... " >&6; } 6531 - if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6532 - $as_echo_n "(cached) " >&6 6533 - else 7256 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7257 + printf %s "checking for $ac_word... " >&6; } 7258 + if test ${ac_cv_prog_ac_ct_NMEDIT+y} 7259 + then : 7260 + printf %s "(cached) " >&6 7261 + else $as_nop 6534 7262 if test -n "$ac_ct_NMEDIT"; then 6535 7263 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6536 7264 else ··· 6538 7266 for as_dir in $PATH 6539 7267 do 6540 7268 IFS=$as_save_IFS 6541 - test -z "$as_dir" && as_dir=. 7269 + case $as_dir in #((( 7270 + '') as_dir=./ ;; 7271 + */) ;; 7272 + *) as_dir=$as_dir/ ;; 7273 + esac 6542 7274 for ac_exec_ext in '' $ac_executable_extensions; do 6543 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7275 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6544 7276 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6545 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7277 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6546 7278 break 2 6547 7279 fi 6548 7280 done ··· 6553 7285 fi 6554 7286 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6555 7287 if test -n "$ac_ct_NMEDIT"; then 6556 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6557 - $as_echo "$ac_ct_NMEDIT" >&6; } 7288 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7289 + printf "%s\n" "$ac_ct_NMEDIT" >&6; } 6558 7290 else 6559 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6560 - $as_echo "no" >&6; } 7291 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7292 + printf "%s\n" "no" >&6; } 6561 7293 fi 6562 7294 6563 7295 if test "x$ac_ct_NMEDIT" = x; then ··· 6565 7297 else 6566 7298 case $cross_compiling:$ac_tool_warned in 6567 7299 yes:) 6568 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6569 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7301 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6570 7302 ac_tool_warned=yes ;; 6571 7303 esac 6572 7304 NMEDIT=$ac_ct_NMEDIT ··· 6578 7310 if test -n "$ac_tool_prefix"; then 6579 7311 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6580 7312 set dummy ${ac_tool_prefix}lipo; ac_word=$2 6581 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6582 - $as_echo_n "checking for $ac_word... " >&6; } 6583 - if ${ac_cv_prog_LIPO+:} false; then : 6584 - $as_echo_n "(cached) " >&6 6585 - else 7313 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7314 + printf %s "checking for $ac_word... " >&6; } 7315 + if test ${ac_cv_prog_LIPO+y} 7316 + then : 7317 + printf %s "(cached) " >&6 7318 + else $as_nop 6586 7319 if test -n "$LIPO"; then 6587 7320 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6588 7321 else ··· 6590 7323 for as_dir in $PATH 6591 7324 do 6592 7325 IFS=$as_save_IFS 6593 - test -z "$as_dir" && as_dir=. 7326 + case $as_dir in #((( 7327 + '') as_dir=./ ;; 7328 + */) ;; 7329 + *) as_dir=$as_dir/ ;; 7330 + esac 6594 7331 for ac_exec_ext in '' $ac_executable_extensions; do 6595 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7332 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6596 7333 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6597 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7334 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6598 7335 break 2 6599 7336 fi 6600 7337 done ··· 6605 7342 fi 6606 7343 LIPO=$ac_cv_prog_LIPO 6607 7344 if test -n "$LIPO"; then 6608 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6609 - $as_echo "$LIPO" >&6; } 7345 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7346 + printf "%s\n" "$LIPO" >&6; } 6610 7347 else 6611 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6612 - $as_echo "no" >&6; } 7348 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7349 + printf "%s\n" "no" >&6; } 6613 7350 fi 6614 7351 6615 7352 ··· 6618 7355 ac_ct_LIPO=$LIPO 6619 7356 # Extract the first word of "lipo", so it can be a program name with args. 6620 7357 set dummy lipo; ac_word=$2 6621 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6622 - $as_echo_n "checking for $ac_word... " >&6; } 6623 - if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 6624 - $as_echo_n "(cached) " >&6 6625 - else 7358 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7359 + printf %s "checking for $ac_word... " >&6; } 7360 + if test ${ac_cv_prog_ac_ct_LIPO+y} 7361 + then : 7362 + printf %s "(cached) " >&6 7363 + else $as_nop 6626 7364 if test -n "$ac_ct_LIPO"; then 6627 7365 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6628 7366 else ··· 6630 7368 for as_dir in $PATH 6631 7369 do 6632 7370 IFS=$as_save_IFS 6633 - test -z "$as_dir" && as_dir=. 7371 + case $as_dir in #((( 7372 + '') as_dir=./ ;; 7373 + */) ;; 7374 + *) as_dir=$as_dir/ ;; 7375 + esac 6634 7376 for ac_exec_ext in '' $ac_executable_extensions; do 6635 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7377 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6636 7378 ac_cv_prog_ac_ct_LIPO="lipo" 6637 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7379 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6638 7380 break 2 6639 7381 fi 6640 7382 done ··· 6645 7387 fi 6646 7388 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6647 7389 if test -n "$ac_ct_LIPO"; then 6648 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6649 - $as_echo "$ac_ct_LIPO" >&6; } 7390 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7391 + printf "%s\n" "$ac_ct_LIPO" >&6; } 6650 7392 else 6651 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6652 - $as_echo "no" >&6; } 7393 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7394 + printf "%s\n" "no" >&6; } 6653 7395 fi 6654 7396 6655 7397 if test "x$ac_ct_LIPO" = x; then ··· 6657 7399 else 6658 7400 case $cross_compiling:$ac_tool_warned in 6659 7401 yes:) 6660 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6661 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7402 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7403 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6662 7404 ac_tool_warned=yes ;; 6663 7405 esac 6664 7406 LIPO=$ac_ct_LIPO ··· 6670 7412 if test -n "$ac_tool_prefix"; then 6671 7413 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6672 7414 set dummy ${ac_tool_prefix}otool; ac_word=$2 6673 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6674 - $as_echo_n "checking for $ac_word... " >&6; } 6675 - if ${ac_cv_prog_OTOOL+:} false; then : 6676 - $as_echo_n "(cached) " >&6 6677 - else 7415 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7416 + printf %s "checking for $ac_word... " >&6; } 7417 + if test ${ac_cv_prog_OTOOL+y} 7418 + then : 7419 + printf %s "(cached) " >&6 7420 + else $as_nop 6678 7421 if test -n "$OTOOL"; then 6679 7422 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6680 7423 else ··· 6682 7425 for as_dir in $PATH 6683 7426 do 6684 7427 IFS=$as_save_IFS 6685 - test -z "$as_dir" && as_dir=. 7428 + case $as_dir in #((( 7429 + '') as_dir=./ ;; 7430 + */) ;; 7431 + *) as_dir=$as_dir/ ;; 7432 + esac 6686 7433 for ac_exec_ext in '' $ac_executable_extensions; do 6687 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7434 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6688 7435 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6689 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7436 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6690 7437 break 2 6691 7438 fi 6692 7439 done ··· 6697 7444 fi 6698 7445 OTOOL=$ac_cv_prog_OTOOL 6699 7446 if test -n "$OTOOL"; then 6700 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6701 - $as_echo "$OTOOL" >&6; } 7447 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7448 + printf "%s\n" "$OTOOL" >&6; } 6702 7449 else 6703 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6704 - $as_echo "no" >&6; } 7450 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7451 + printf "%s\n" "no" >&6; } 6705 7452 fi 6706 7453 6707 7454 ··· 6710 7457 ac_ct_OTOOL=$OTOOL 6711 7458 # Extract the first word of "otool", so it can be a program name with args. 6712 7459 set dummy otool; ac_word=$2 6713 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6714 - $as_echo_n "checking for $ac_word... " >&6; } 6715 - if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 6716 - $as_echo_n "(cached) " >&6 6717 - else 7460 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7461 + printf %s "checking for $ac_word... " >&6; } 7462 + if test ${ac_cv_prog_ac_ct_OTOOL+y} 7463 + then : 7464 + printf %s "(cached) " >&6 7465 + else $as_nop 6718 7466 if test -n "$ac_ct_OTOOL"; then 6719 7467 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6720 7468 else ··· 6722 7470 for as_dir in $PATH 6723 7471 do 6724 7472 IFS=$as_save_IFS 6725 - test -z "$as_dir" && as_dir=. 7473 + case $as_dir in #((( 7474 + '') as_dir=./ ;; 7475 + */) ;; 7476 + *) as_dir=$as_dir/ ;; 7477 + esac 6726 7478 for ac_exec_ext in '' $ac_executable_extensions; do 6727 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7479 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6728 7480 ac_cv_prog_ac_ct_OTOOL="otool" 6729 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7481 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6730 7482 break 2 6731 7483 fi 6732 7484 done ··· 6737 7489 fi 6738 7490 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6739 7491 if test -n "$ac_ct_OTOOL"; then 6740 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6741 - $as_echo "$ac_ct_OTOOL" >&6; } 7492 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7493 + printf "%s\n" "$ac_ct_OTOOL" >&6; } 6742 7494 else 6743 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6744 - $as_echo "no" >&6; } 7495 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7496 + printf "%s\n" "no" >&6; } 6745 7497 fi 6746 7498 6747 7499 if test "x$ac_ct_OTOOL" = x; then ··· 6749 7501 else 6750 7502 case $cross_compiling:$ac_tool_warned in 6751 7503 yes:) 6752 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6753 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7504 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7505 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6754 7506 ac_tool_warned=yes ;; 6755 7507 esac 6756 7508 OTOOL=$ac_ct_OTOOL ··· 6762 7514 if test -n "$ac_tool_prefix"; then 6763 7515 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6764 7516 set dummy ${ac_tool_prefix}otool64; ac_word=$2 6765 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6766 - $as_echo_n "checking for $ac_word... " >&6; } 6767 - if ${ac_cv_prog_OTOOL64+:} false; then : 6768 - $as_echo_n "(cached) " >&6 6769 - else 7517 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7518 + printf %s "checking for $ac_word... " >&6; } 7519 + if test ${ac_cv_prog_OTOOL64+y} 7520 + then : 7521 + printf %s "(cached) " >&6 7522 + else $as_nop 6770 7523 if test -n "$OTOOL64"; then 6771 7524 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6772 7525 else ··· 6774 7527 for as_dir in $PATH 6775 7528 do 6776 7529 IFS=$as_save_IFS 6777 - test -z "$as_dir" && as_dir=. 7530 + case $as_dir in #((( 7531 + '') as_dir=./ ;; 7532 + */) ;; 7533 + *) as_dir=$as_dir/ ;; 7534 + esac 6778 7535 for ac_exec_ext in '' $ac_executable_extensions; do 6779 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7536 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6780 7537 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6781 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7538 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6782 7539 break 2 6783 7540 fi 6784 7541 done ··· 6789 7546 fi 6790 7547 OTOOL64=$ac_cv_prog_OTOOL64 6791 7548 if test -n "$OTOOL64"; then 6792 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6793 - $as_echo "$OTOOL64" >&6; } 7549 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7550 + printf "%s\n" "$OTOOL64" >&6; } 6794 7551 else 6795 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6796 - $as_echo "no" >&6; } 7552 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7553 + printf "%s\n" "no" >&6; } 6797 7554 fi 6798 7555 6799 7556 ··· 6802 7559 ac_ct_OTOOL64=$OTOOL64 6803 7560 # Extract the first word of "otool64", so it can be a program name with args. 6804 7561 set dummy otool64; ac_word=$2 6805 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6806 - $as_echo_n "checking for $ac_word... " >&6; } 6807 - if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 6808 - $as_echo_n "(cached) " >&6 6809 - else 7562 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7563 + printf %s "checking for $ac_word... " >&6; } 7564 + if test ${ac_cv_prog_ac_ct_OTOOL64+y} 7565 + then : 7566 + printf %s "(cached) " >&6 7567 + else $as_nop 6810 7568 if test -n "$ac_ct_OTOOL64"; then 6811 7569 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6812 7570 else ··· 6814 7572 for as_dir in $PATH 6815 7573 do 6816 7574 IFS=$as_save_IFS 6817 - test -z "$as_dir" && as_dir=. 7575 + case $as_dir in #((( 7576 + '') as_dir=./ ;; 7577 + */) ;; 7578 + *) as_dir=$as_dir/ ;; 7579 + esac 6818 7580 for ac_exec_ext in '' $ac_executable_extensions; do 6819 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7581 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6820 7582 ac_cv_prog_ac_ct_OTOOL64="otool64" 6821 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7583 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6822 7584 break 2 6823 7585 fi 6824 7586 done ··· 6829 7591 fi 6830 7592 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6831 7593 if test -n "$ac_ct_OTOOL64"; then 6832 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6833 - $as_echo "$ac_ct_OTOOL64" >&6; } 7594 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7595 + printf "%s\n" "$ac_ct_OTOOL64" >&6; } 6834 7596 else 6835 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6836 - $as_echo "no" >&6; } 7597 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7598 + printf "%s\n" "no" >&6; } 6837 7599 fi 6838 7600 6839 7601 if test "x$ac_ct_OTOOL64" = x; then ··· 6841 7603 else 6842 7604 case $cross_compiling:$ac_tool_warned in 6843 7605 yes:) 6844 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6845 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7606 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7607 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6846 7608 ac_tool_warned=yes ;; 6847 7609 esac 6848 7610 OTOOL64=$ac_ct_OTOOL64 ··· 6877 7639 6878 7640 6879 7641 6880 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6881 - $as_echo_n "checking for -single_module linker flag... " >&6; } 6882 - if ${lt_cv_apple_cc_single_mod+:} false; then : 6883 - $as_echo_n "(cached) " >&6 6884 - else 7642 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7643 + printf %s "checking for -single_module linker flag... " >&6; } 7644 + if test ${lt_cv_apple_cc_single_mod+y} 7645 + then : 7646 + printf %s "(cached) " >&6 7647 + else $as_nop 6885 7648 lt_cv_apple_cc_single_mod=no 6886 7649 if test -z "${LT_MULTI_MODULE}"; then 6887 7650 # By default we will add the -single_module flag. You can override ··· 6910 7673 rm -f conftest.* 6911 7674 fi 6912 7675 fi 6913 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6914 - $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7676 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7677 + printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } 6915 7678 6916 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6917 - $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6918 - if ${lt_cv_ld_exported_symbols_list+:} false; then : 6919 - $as_echo_n "(cached) " >&6 6920 - else 7679 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7680 + printf %s "checking for -exported_symbols_list linker flag... " >&6; } 7681 + if test ${lt_cv_ld_exported_symbols_list+y} 7682 + then : 7683 + printf %s "(cached) " >&6 7684 + else $as_nop 6921 7685 lt_cv_ld_exported_symbols_list=no 6922 7686 save_LDFLAGS=$LDFLAGS 6923 7687 echo "_main" > conftest.sym ··· 6926 7690 /* end confdefs.h. */ 6927 7691 6928 7692 int 6929 - main () 7693 + main (void) 6930 7694 { 6931 7695 6932 7696 ; 6933 7697 return 0; 6934 7698 } 6935 7699 _ACEOF 6936 - if ac_fn_c_try_link "$LINENO"; then : 7700 + if ac_fn_c_try_link "$LINENO" 7701 + then : 6937 7702 lt_cv_ld_exported_symbols_list=yes 6938 - else 7703 + else $as_nop 6939 7704 lt_cv_ld_exported_symbols_list=no 6940 7705 fi 6941 - rm -f core conftest.err conftest.$ac_objext \ 7706 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 6942 7707 conftest$ac_exeext conftest.$ac_ext 6943 7708 LDFLAGS="$save_LDFLAGS" 6944 7709 6945 7710 fi 6946 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6947 - $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7712 + printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } 6948 7713 6949 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 6950 - $as_echo_n "checking for -force_load linker flag... " >&6; } 6951 - if ${lt_cv_ld_force_load+:} false; then : 6952 - $as_echo_n "(cached) " >&6 6953 - else 7714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7715 + printf %s "checking for -force_load linker flag... " >&6; } 7716 + if test ${lt_cv_ld_force_load+y} 7717 + then : 7718 + printf %s "(cached) " >&6 7719 + else $as_nop 6954 7720 lt_cv_ld_force_load=no 6955 7721 cat > conftest.c << _LT_EOF 6956 7722 int forced_loaded() { return 2;} ··· 6978 7744 rm -rf conftest.dSYM 6979 7745 6980 7746 fi 6981 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 6982 - $as_echo "$lt_cv_ld_force_load" >&6; } 7747 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7748 + printf "%s\n" "$lt_cv_ld_force_load" >&6; } 6983 7749 case $host_os in 6984 7750 rhapsody* | darwin1.[012]) 6985 7751 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ··· 7015 7781 ;; 7016 7782 esac 7017 7783 7018 - ac_ext=c 7019 - ac_cpp='$CPP $CPPFLAGS' 7020 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7021 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7022 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 7023 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7024 - $as_echo_n "checking how to run the C preprocessor... " >&6; } 7025 - # On Suns, sometimes $CPP names a directory. 7026 - if test -n "$CPP" && test -d "$CPP"; then 7027 - CPP= 7028 - fi 7029 - if test -z "$CPP"; then 7030 - if ${ac_cv_prog_CPP+:} false; then : 7031 - $as_echo_n "(cached) " >&6 7032 - else 7033 - # Double quotes because CPP needs to be expanded 7034 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7035 - do 7036 - ac_preproc_ok=false 7037 - for ac_c_preproc_warn_flag in '' yes 7784 + ac_header= ac_cache= 7785 + for ac_item in $ac_header_c_list 7038 7786 do 7039 - # Use a header file that comes with gcc, so configuring glibc 7040 - # with a fresh cross-compiler works. 7041 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7042 - # <limits.h> exists even on freestanding compilers. 7043 - # On the NeXT, cc -E runs the code through the compiler's parser, 7044 - # not just through cpp. "Syntax error" is here to catch this case. 7045 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7046 - /* end confdefs.h. */ 7047 - #ifdef __STDC__ 7048 - # include <limits.h> 7049 - #else 7050 - # include <assert.h> 7051 - #endif 7052 - Syntax error 7053 - _ACEOF 7054 - if ac_fn_c_try_cpp "$LINENO"; then : 7055 - 7056 - else 7057 - # Broken: fails on valid input. 7058 - continue 7059 - fi 7060 - rm -f conftest.err conftest.i conftest.$ac_ext 7061 - 7062 - # OK, works on sane cases. Now check whether nonexistent headers 7063 - # can be detected and how. 7064 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7065 - /* end confdefs.h. */ 7066 - #include <ac_nonexistent.h> 7067 - _ACEOF 7068 - if ac_fn_c_try_cpp "$LINENO"; then : 7069 - # Broken: success on invalid input. 7070 - continue 7071 - else 7072 - # Passes both tests. 7073 - ac_preproc_ok=: 7074 - break 7075 - fi 7076 - rm -f conftest.err conftest.i conftest.$ac_ext 7077 - 7787 + if test $ac_cache; then 7788 + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 7789 + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 7790 + printf "%s\n" "#define $ac_item 1" >> confdefs.h 7791 + fi 7792 + ac_header= ac_cache= 7793 + elif test $ac_header; then 7794 + ac_cache=$ac_item 7795 + else 7796 + ac_header=$ac_item 7797 + fi 7078 7798 done 7079 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7080 - rm -f conftest.i conftest.err conftest.$ac_ext 7081 - if $ac_preproc_ok; then : 7082 - break 7083 - fi 7084 7799 7085 - done 7086 - ac_cv_prog_CPP=$CPP 7087 7800 7088 - fi 7089 - CPP=$ac_cv_prog_CPP 7090 - else 7091 - ac_cv_prog_CPP=$CPP 7092 - fi 7093 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7094 - $as_echo "$CPP" >&6; } 7095 - ac_preproc_ok=false 7096 - for ac_c_preproc_warn_flag in '' yes 7097 - do 7098 - # Use a header file that comes with gcc, so configuring glibc 7099 - # with a fresh cross-compiler works. 7100 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7101 - # <limits.h> exists even on freestanding compilers. 7102 - # On the NeXT, cc -E runs the code through the compiler's parser, 7103 - # not just through cpp. "Syntax error" is here to catch this case. 7104 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7105 - /* end confdefs.h. */ 7106 - #ifdef __STDC__ 7107 - # include <limits.h> 7108 - #else 7109 - # include <assert.h> 7110 - #endif 7111 - Syntax error 7112 - _ACEOF 7113 - if ac_fn_c_try_cpp "$LINENO"; then : 7114 7801 7115 - else 7116 - # Broken: fails on valid input. 7117 - continue 7118 - fi 7119 - rm -f conftest.err conftest.i conftest.$ac_ext 7120 7802 7121 - # OK, works on sane cases. Now check whether nonexistent headers 7122 - # can be detected and how. 7123 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7124 - /* end confdefs.h. */ 7125 - #include <ac_nonexistent.h> 7126 - _ACEOF 7127 - if ac_fn_c_try_cpp "$LINENO"; then : 7128 - # Broken: success on invalid input. 7129 - continue 7130 - else 7131 - # Passes both tests. 7132 - ac_preproc_ok=: 7133 - break 7134 - fi 7135 - rm -f conftest.err conftest.i conftest.$ac_ext 7136 7803 7137 - done 7138 - # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7139 - rm -f conftest.i conftest.err conftest.$ac_ext 7140 - if $ac_preproc_ok; then : 7141 7804 7142 - else 7143 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7144 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7145 - as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7146 - See \`config.log' for more details" "$LINENO" 5; } 7147 - fi 7148 - 7149 - ac_ext=c 7150 - ac_cpp='$CPP $CPPFLAGS' 7151 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7152 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7153 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 7154 7805 7155 7806 7156 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7157 - $as_echo_n "checking for ANSI C header files... " >&6; } 7158 - if ${ac_cv_header_stdc+:} false; then : 7159 - $as_echo_n "(cached) " >&6 7160 - else 7161 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7162 - /* end confdefs.h. */ 7163 - #include <stdlib.h> 7164 - #include <stdarg.h> 7165 - #include <string.h> 7166 - #include <float.h> 7167 - 7168 - int 7169 - main () 7170 - { 7171 - 7172 - ; 7173 - return 0; 7174 - } 7175 - _ACEOF 7176 - if ac_fn_c_try_compile "$LINENO"; then : 7177 - ac_cv_header_stdc=yes 7178 - else 7179 - ac_cv_header_stdc=no 7180 - fi 7181 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7182 - 7183 - if test $ac_cv_header_stdc = yes; then 7184 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7185 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7186 - /* end confdefs.h. */ 7187 - #include <string.h> 7188 - 7189 - _ACEOF 7190 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7191 - $EGREP "memchr" >/dev/null 2>&1; then : 7192 - 7193 - else 7194 - ac_cv_header_stdc=no 7195 - fi 7196 - rm -f conftest* 7197 - 7198 - fi 7199 - 7200 - if test $ac_cv_header_stdc = yes; then 7201 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7202 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7203 - /* end confdefs.h. */ 7204 - #include <stdlib.h> 7205 - 7206 - _ACEOF 7207 - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7208 - $EGREP "free" >/dev/null 2>&1; then : 7209 - 7210 - else 7211 - ac_cv_header_stdc=no 7212 - fi 7213 - rm -f conftest* 7214 - 7215 - fi 7216 - 7217 - if test $ac_cv_header_stdc = yes; then 7218 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7219 - if test "$cross_compiling" = yes; then : 7220 - : 7221 - else 7222 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7223 - /* end confdefs.h. */ 7224 - #include <ctype.h> 7225 - #include <stdlib.h> 7226 - #if ((' ' & 0x0FF) == 0x020) 7227 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7228 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7229 - #else 7230 - # define ISLOWER(c) \ 7231 - (('a' <= (c) && (c) <= 'i') \ 7232 - || ('j' <= (c) && (c) <= 'r') \ 7233 - || ('s' <= (c) && (c) <= 'z')) 7234 - # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7235 - #endif 7236 - 7237 - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7238 - int 7239 - main () 7240 - { 7241 - int i; 7242 - for (i = 0; i < 256; i++) 7243 - if (XOR (islower (i), ISLOWER (i)) 7244 - || toupper (i) != TOUPPER (i)) 7245 - return 2; 7246 - return 0; 7247 - } 7248 - _ACEOF 7249 - if ac_fn_c_try_run "$LINENO"; then : 7250 - 7251 - else 7252 - ac_cv_header_stdc=no 7253 - fi 7254 - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7255 - conftest.$ac_objext conftest.beam conftest.$ac_ext 7256 - fi 7257 - 7258 - fi 7259 - fi 7260 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7261 - $as_echo "$ac_cv_header_stdc" >&6; } 7262 - if test $ac_cv_header_stdc = yes; then 7263 - 7264 - $as_echo "#define STDC_HEADERS 1" >>confdefs.h 7265 - 7266 - fi 7807 + if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 7808 + then : 7267 7809 7268 - # On IRIX 5.3, sys/types and inttypes.h are conflicting. 7269 - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7270 - inttypes.h stdint.h unistd.h 7271 - do : 7272 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7273 - ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7274 - " 7275 - if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7276 - cat >>confdefs.h <<_ACEOF 7277 - #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7278 - _ACEOF 7810 + printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 7279 7811 7280 7812 fi 7281 - 7282 - done 7283 - 7284 - 7285 - for ac_header in dlfcn.h 7286 - do : 7287 - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7813 + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7288 7814 " 7289 - if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7290 - cat >>confdefs.h <<_ACEOF 7291 - #define HAVE_DLFCN_H 1 7292 - _ACEOF 7815 + if test "x$ac_cv_header_dlfcn_h" = xyes 7816 + then : 7817 + printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h 7293 7818 7294 7819 fi 7295 7820 7296 - done 7297 7821 7298 7822 7299 7823 7300 7824 7301 - 7302 7825 # Set options 7303 7826 7304 7827 ··· 7310 7833 7311 7834 7312 7835 # Check whether --enable-shared was given. 7313 - if test "${enable_shared+set}" = set; then : 7836 + if test ${enable_shared+y} 7837 + then : 7314 7838 enableval=$enable_shared; p=${PACKAGE-default} 7315 7839 case $enableval in 7316 7840 yes) enable_shared=yes ;; ··· 7328 7852 IFS="$lt_save_ifs" 7329 7853 ;; 7330 7854 esac 7331 - else 7855 + else $as_nop 7332 7856 enable_shared=yes 7333 7857 fi 7334 7858 ··· 7341 7865 7342 7866 7343 7867 # Check whether --enable-static was given. 7344 - if test "${enable_static+set}" = set; then : 7868 + if test ${enable_static+y} 7869 + then : 7345 7870 enableval=$enable_static; p=${PACKAGE-default} 7346 7871 case $enableval in 7347 7872 yes) enable_static=yes ;; ··· 7359 7884 IFS="$lt_save_ifs" 7360 7885 ;; 7361 7886 esac 7362 - else 7887 + else $as_nop 7363 7888 enable_static=yes 7364 7889 fi 7365 7890 ··· 7373 7898 7374 7899 7375 7900 # Check whether --with-pic was given. 7376 - if test "${with_pic+set}" = set; then : 7901 + if test ${with_pic+y} 7902 + then : 7377 7903 withval=$with_pic; lt_p=${PACKAGE-default} 7378 7904 case $withval in 7379 7905 yes|no) pic_mode=$withval ;; ··· 7390 7916 IFS="$lt_save_ifs" 7391 7917 ;; 7392 7918 esac 7393 - else 7919 + else $as_nop 7394 7920 pic_mode=default 7395 7921 fi 7396 7922 ··· 7404 7930 7405 7931 7406 7932 # Check whether --enable-fast-install was given. 7407 - if test "${enable_fast_install+set}" = set; then : 7933 + if test ${enable_fast_install+y} 7934 + then : 7408 7935 enableval=$enable_fast_install; p=${PACKAGE-default} 7409 7936 case $enableval in 7410 7937 yes) enable_fast_install=yes ;; ··· 7422 7949 IFS="$lt_save_ifs" 7423 7950 ;; 7424 7951 esac 7425 - else 7952 + else $as_nop 7426 7953 enable_fast_install=yes 7427 7954 fi 7428 7955 ··· 7490 8017 setopt NO_GLOB_SUBST 7491 8018 fi 7492 8019 7493 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7494 - $as_echo_n "checking for objdir... " >&6; } 7495 - if ${lt_cv_objdir+:} false; then : 7496 - $as_echo_n "(cached) " >&6 7497 - else 8020 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8021 + printf %s "checking for objdir... " >&6; } 8022 + if test ${lt_cv_objdir+y} 8023 + then : 8024 + printf %s "(cached) " >&6 8025 + else $as_nop 7498 8026 rm -f .libs 2>/dev/null 7499 8027 mkdir .libs 2>/dev/null 7500 8028 if test -d .libs; then ··· 7505 8033 fi 7506 8034 rmdir .libs 2>/dev/null 7507 8035 fi 7508 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7509 - $as_echo "$lt_cv_objdir" >&6; } 8036 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8037 + printf "%s\n" "$lt_cv_objdir" >&6; } 7510 8038 objdir=$lt_cv_objdir 7511 8039 7512 8040 7513 8041 7514 8042 7515 8043 7516 - cat >>confdefs.h <<_ACEOF 7517 - #define LT_OBJDIR "$lt_cv_objdir/" 7518 - _ACEOF 8044 + printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h 7519 8045 7520 8046 7521 8047 ··· 7568 8094 case $deplibs_check_method in 7569 8095 file_magic*) 7570 8096 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7571 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7572 - $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7573 - if ${lt_cv_path_MAGIC_CMD+:} false; then : 7574 - $as_echo_n "(cached) " >&6 7575 - else 8097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8098 + printf %s "checking for ${ac_tool_prefix}file... " >&6; } 8099 + if test ${lt_cv_path_MAGIC_CMD+y} 8100 + then : 8101 + printf %s "(cached) " >&6 8102 + else $as_nop 7576 8103 case $MAGIC_CMD in 7577 8104 [\\/*] | ?:[\\/]*) 7578 8105 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ··· 7621 8148 7622 8149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7623 8150 if test -n "$MAGIC_CMD"; then 7624 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7625 - $as_echo "$MAGIC_CMD" >&6; } 8151 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8152 + printf "%s\n" "$MAGIC_CMD" >&6; } 7626 8153 else 7627 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7628 - $as_echo "no" >&6; } 8154 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8155 + printf "%s\n" "no" >&6; } 7629 8156 fi 7630 8157 7631 8158 ··· 7634 8161 7635 8162 if test -z "$lt_cv_path_MAGIC_CMD"; then 7636 8163 if test -n "$ac_tool_prefix"; then 7637 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7638 - $as_echo_n "checking for file... " >&6; } 7639 - if ${lt_cv_path_MAGIC_CMD+:} false; then : 7640 - $as_echo_n "(cached) " >&6 7641 - else 8164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8165 + printf %s "checking for file... " >&6; } 8166 + if test ${lt_cv_path_MAGIC_CMD+y} 8167 + then : 8168 + printf %s "(cached) " >&6 8169 + else $as_nop 7642 8170 case $MAGIC_CMD in 7643 8171 [\\/*] | ?:[\\/]*) 7644 8172 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ··· 7687 8215 7688 8216 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7689 8217 if test -n "$MAGIC_CMD"; then 7690 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7691 - $as_echo "$MAGIC_CMD" >&6; } 8218 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8219 + printf "%s\n" "$MAGIC_CMD" >&6; } 7692 8220 else 7693 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7694 - $as_echo "no" >&6; } 8221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8222 + printf "%s\n" "no" >&6; } 7695 8223 fi 7696 8224 7697 8225 ··· 7772 8300 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7773 8301 esac 7774 8302 7775 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7776 - $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7777 - if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 7778 - $as_echo_n "(cached) " >&6 7779 - else 8303 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8304 + printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8305 + if test ${lt_cv_prog_compiler_rtti_exceptions+y} 8306 + then : 8307 + printf %s "(cached) " >&6 8308 + else $as_nop 7780 8309 lt_cv_prog_compiler_rtti_exceptions=no 7781 8310 ac_outfile=conftest.$ac_objext 7782 8311 echo "$lt_simple_compile_test_code" > conftest.$ac_ext ··· 7807 8336 $RM conftest* 7808 8337 7809 8338 fi 7810 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7811 - $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8340 + printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7812 8341 7813 8342 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7814 8343 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" ··· 8134 8663 ;; 8135 8664 esac 8136 8665 8137 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8138 - $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8139 - if ${lt_cv_prog_compiler_pic+:} false; then : 8140 - $as_echo_n "(cached) " >&6 8141 - else 8666 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8667 + printf %s "checking for $compiler option to produce PIC... " >&6; } 8668 + if test ${lt_cv_prog_compiler_pic+y} 8669 + then : 8670 + printf %s "(cached) " >&6 8671 + else $as_nop 8142 8672 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8143 8673 fi 8144 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8145 - $as_echo "$lt_cv_prog_compiler_pic" >&6; } 8674 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8675 + printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } 8146 8676 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8147 8677 8148 8678 # 8149 8679 # Check to make sure the PIC flag actually works. 8150 8680 # 8151 8681 if test -n "$lt_prog_compiler_pic"; then 8152 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8153 - $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8154 - if ${lt_cv_prog_compiler_pic_works+:} false; then : 8155 - $as_echo_n "(cached) " >&6 8156 - else 8682 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8683 + printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8684 + if test ${lt_cv_prog_compiler_pic_works+y} 8685 + then : 8686 + printf %s "(cached) " >&6 8687 + else $as_nop 8157 8688 lt_cv_prog_compiler_pic_works=no 8158 8689 ac_outfile=conftest.$ac_objext 8159 8690 echo "$lt_simple_compile_test_code" > conftest.$ac_ext ··· 8184 8715 $RM conftest* 8185 8716 8186 8717 fi 8187 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8188 - $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8718 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8719 + printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } 8189 8720 8190 8721 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8191 8722 case $lt_prog_compiler_pic in ··· 8213 8744 # Check to make sure the static flag actually works. 8214 8745 # 8215 8746 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8216 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8217 - $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8218 - if ${lt_cv_prog_compiler_static_works+:} false; then : 8219 - $as_echo_n "(cached) " >&6 8220 - else 8747 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8748 + printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8749 + if test ${lt_cv_prog_compiler_static_works+y} 8750 + then : 8751 + printf %s "(cached) " >&6 8752 + else $as_nop 8221 8753 lt_cv_prog_compiler_static_works=no 8222 8754 save_LDFLAGS="$LDFLAGS" 8223 8755 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" ··· 8241 8773 LDFLAGS="$save_LDFLAGS" 8242 8774 8243 8775 fi 8244 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8245 - $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8776 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8777 + printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } 8246 8778 8247 8779 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8248 8780 : ··· 8256 8788 8257 8789 8258 8790 8259 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8260 - $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8261 - if ${lt_cv_prog_compiler_c_o+:} false; then : 8262 - $as_echo_n "(cached) " >&6 8263 - else 8791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8792 + printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8793 + if test ${lt_cv_prog_compiler_c_o+y} 8794 + then : 8795 + printf %s "(cached) " >&6 8796 + else $as_nop 8264 8797 lt_cv_prog_compiler_c_o=no 8265 8798 $RM -r conftest 2>/dev/null 8266 8799 mkdir conftest ··· 8303 8836 $RM conftest* 8304 8837 8305 8838 fi 8306 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8307 - $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8840 + printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 8308 8841 8309 8842 8310 8843 8311 8844 8312 8845 8313 8846 8314 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8315 - $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8316 - if ${lt_cv_prog_compiler_c_o+:} false; then : 8317 - $as_echo_n "(cached) " >&6 8318 - else 8847 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8848 + printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8849 + if test ${lt_cv_prog_compiler_c_o+y} 8850 + then : 8851 + printf %s "(cached) " >&6 8852 + else $as_nop 8319 8853 lt_cv_prog_compiler_c_o=no 8320 8854 $RM -r conftest 2>/dev/null 8321 8855 mkdir conftest ··· 8358 8892 $RM conftest* 8359 8893 8360 8894 fi 8361 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8362 - $as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8895 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8896 + printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } 8363 8897 8364 8898 8365 8899 ··· 8367 8901 hard_links="nottested" 8368 8902 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8369 8903 # do not overwrite the value of need_locks provided by the user 8370 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8371 - $as_echo_n "checking if we can lock with hard links... " >&6; } 8904 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8905 + printf %s "checking if we can lock with hard links... " >&6; } 8372 8906 hard_links=yes 8373 8907 $RM conftest* 8374 8908 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8375 8909 touch conftest.a 8376 8910 ln conftest.a conftest.b 2>&5 || hard_links=no 8377 8911 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8378 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8379 - $as_echo "$hard_links" >&6; } 8912 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8913 + printf "%s\n" "$hard_links" >&6; } 8380 8914 if test "$hard_links" = no; then 8381 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8382 - $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8916 + printf "%s\n" "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8383 8917 need_locks=warn 8384 8918 fi 8385 8919 else ··· 8391 8925 8392 8926 8393 8927 8394 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8395 - $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8928 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8929 + printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8396 8930 8397 8931 runpath_var= 8398 8932 allow_undefined_flag= ··· 8876 9410 if test "${lt_cv_aix_libpath+set}" = set; then 8877 9411 aix_libpath=$lt_cv_aix_libpath 8878 9412 else 8879 - if ${lt_cv_aix_libpath_+:} false; then : 8880 - $as_echo_n "(cached) " >&6 8881 - else 9413 + if test ${lt_cv_aix_libpath_+y} 9414 + then : 9415 + printf %s "(cached) " >&6 9416 + else $as_nop 8882 9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8883 9418 /* end confdefs.h. */ 8884 9419 8885 9420 int 8886 - main () 9421 + main (void) 8887 9422 { 8888 9423 8889 9424 ; 8890 9425 return 0; 8891 9426 } 8892 9427 _ACEOF 8893 - if ac_fn_c_try_link "$LINENO"; then : 9428 + if ac_fn_c_try_link "$LINENO" 9429 + then : 8894 9430 8895 9431 lt_aix_libpath_sed=' 8896 9432 /Import File Strings/,/^$/ { ··· 8905 9441 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8906 9442 fi 8907 9443 fi 8908 - rm -f core conftest.err conftest.$ac_objext \ 9444 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8909 9445 conftest$ac_exeext conftest.$ac_ext 8910 9446 if test -z "$lt_cv_aix_libpath_"; then 8911 9447 lt_cv_aix_libpath_="/usr/lib:/lib" ··· 8929 9465 if test "${lt_cv_aix_libpath+set}" = set; then 8930 9466 aix_libpath=$lt_cv_aix_libpath 8931 9467 else 8932 - if ${lt_cv_aix_libpath_+:} false; then : 8933 - $as_echo_n "(cached) " >&6 8934 - else 9468 + if test ${lt_cv_aix_libpath_+y} 9469 + then : 9470 + printf %s "(cached) " >&6 9471 + else $as_nop 8935 9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8936 9473 /* end confdefs.h. */ 8937 9474 8938 9475 int 8939 - main () 9476 + main (void) 8940 9477 { 8941 9478 8942 9479 ; 8943 9480 return 0; 8944 9481 } 8945 9482 _ACEOF 8946 - if ac_fn_c_try_link "$LINENO"; then : 9483 + if ac_fn_c_try_link "$LINENO" 9484 + then : 8947 9485 8948 9486 lt_aix_libpath_sed=' 8949 9487 /Import File Strings/,/^$/ { ··· 8958 9496 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8959 9497 fi 8960 9498 fi 8961 - rm -f core conftest.err conftest.$ac_objext \ 9499 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8962 9500 conftest$ac_exeext conftest.$ac_ext 8963 9501 if test -z "$lt_cv_aix_libpath_"; then 8964 9502 lt_cv_aix_libpath_="/usr/lib:/lib" ··· 9196 9734 9197 9735 # Older versions of the 11.00 compiler do not understand -b yet 9198 9736 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9199 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9200 - $as_echo_n "checking if $CC understands -b... " >&6; } 9201 - if ${lt_cv_prog_compiler__b+:} false; then : 9202 - $as_echo_n "(cached) " >&6 9203 - else 9737 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9738 + printf %s "checking if $CC understands -b... " >&6; } 9739 + if test ${lt_cv_prog_compiler__b+y} 9740 + then : 9741 + printf %s "(cached) " >&6 9742 + else $as_nop 9204 9743 lt_cv_prog_compiler__b=no 9205 9744 save_LDFLAGS="$LDFLAGS" 9206 9745 LDFLAGS="$LDFLAGS -b" ··· 9224 9763 LDFLAGS="$save_LDFLAGS" 9225 9764 9226 9765 fi 9227 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9228 - $as_echo "$lt_cv_prog_compiler__b" >&6; } 9766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9767 + printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } 9229 9768 9230 9769 if test x"$lt_cv_prog_compiler__b" = xyes; then 9231 9770 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ··· 9265 9804 # work, assume that -exports_file does not work either and 9266 9805 # implicitly export all symbols. 9267 9806 # This should be the same for all languages, so no per-tag cache variable. 9268 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9269 - $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9270 - if ${lt_cv_irix_exported_symbol+:} false; then : 9271 - $as_echo_n "(cached) " >&6 9272 - else 9807 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9808 + printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9809 + if test ${lt_cv_irix_exported_symbol+y} 9810 + then : 9811 + printf %s "(cached) " >&6 9812 + else $as_nop 9273 9813 save_LDFLAGS="$LDFLAGS" 9274 9814 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9275 9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9276 9816 /* end confdefs.h. */ 9277 9817 int foo (void) { return 0; } 9278 9818 _ACEOF 9279 - if ac_fn_c_try_link "$LINENO"; then : 9819 + if ac_fn_c_try_link "$LINENO" 9820 + then : 9280 9821 lt_cv_irix_exported_symbol=yes 9281 - else 9822 + else $as_nop 9282 9823 lt_cv_irix_exported_symbol=no 9283 9824 fi 9284 - rm -f core conftest.err conftest.$ac_objext \ 9825 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9285 9826 conftest$ac_exeext conftest.$ac_ext 9286 9827 LDFLAGS="$save_LDFLAGS" 9287 9828 fi 9288 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9289 - $as_echo "$lt_cv_irix_exported_symbol" >&6; } 9829 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9830 + printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } 9290 9831 if test "$lt_cv_irix_exported_symbol" = yes; then 9291 9832 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' 9292 9833 fi ··· 9329 9870 hardcode_shlibpath_var=no 9330 9871 hardcode_direct_absolute=yes 9331 9872 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9332 - archive_cmds='$CC -shared ${wl}-soname ${wl}$soname $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9873 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9333 9874 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9334 9875 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9335 9876 export_dynamic_flag_spec='${wl}-E' ··· 9544 10085 fi 9545 10086 fi 9546 10087 9547 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9548 - $as_echo "$ld_shlibs" >&6; } 10088 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10089 + printf "%s\n" "$ld_shlibs" >&6; } 9549 10090 test "$ld_shlibs" = no && can_build_shared=no 9550 10091 9551 10092 with_gnu_ld=$with_gnu_ld ··· 9581 10122 # Test whether the compiler implicitly links with -lc since on some 9582 10123 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9583 10124 # to ld, don't add -lc before -lgcc. 9584 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9585 - $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9586 - if ${lt_cv_archive_cmds_need_lc+:} false; then : 9587 - $as_echo_n "(cached) " >&6 9588 - else 10125 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10126 + printf %s "checking whether -lc should be explicitly linked in... " >&6; } 10127 + if test ${lt_cv_archive_cmds_need_lc+y} 10128 + then : 10129 + printf %s "(cached) " >&6 10130 + else $as_nop 9589 10131 $RM conftest* 9590 10132 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9591 10133 9592 10134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9593 10135 (eval $ac_compile) 2>&5 9594 10136 ac_status=$? 9595 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10137 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9596 10138 test $ac_status = 0; } 2>conftest.err; then 9597 10139 soname=conftest 9598 10140 lib=conftest ··· 9610 10152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 9611 10153 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9612 10154 ac_status=$? 9613 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10155 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9614 10156 test $ac_status = 0; } 9615 10157 then 9616 10158 lt_cv_archive_cmds_need_lc=no ··· 9624 10166 $RM conftest* 9625 10167 9626 10168 fi 9627 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 9628 - $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10169 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10170 + printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } 9629 10171 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 9630 10172 ;; 9631 10173 esac ··· 9784 10326 9785 10327 9786 10328 9787 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9788 - $as_echo_n "checking dynamic linker characteristics... " >&6; } 10329 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10330 + printf %s "checking dynamic linker characteristics... " >&6; } 9789 10331 9790 10332 if test "$GCC" = yes; then 9791 10333 case $host_os in ··· 10276 10818 shlibpath_overrides_runpath=no 10277 10819 10278 10820 # Some binutils ld are patched to set DT_RUNPATH 10279 - if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10280 - $as_echo_n "(cached) " >&6 10281 - else 10821 + if test ${lt_cv_shlibpath_overrides_runpath+y} 10822 + then : 10823 + printf %s "(cached) " >&6 10824 + else $as_nop 10282 10825 lt_cv_shlibpath_overrides_runpath=no 10283 10826 save_LDFLAGS=$LDFLAGS 10284 10827 save_libdir=$libdir ··· 10288 10831 /* end confdefs.h. */ 10289 10832 10290 10833 int 10291 - main () 10834 + main (void) 10292 10835 { 10293 10836 10294 10837 ; 10295 10838 return 0; 10296 10839 } 10297 10840 _ACEOF 10298 - if ac_fn_c_try_link "$LINENO"; then : 10299 - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10841 + if ac_fn_c_try_link "$LINENO" 10842 + then : 10843 + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null 10844 + then : 10300 10845 lt_cv_shlibpath_overrides_runpath=yes 10301 10846 fi 10302 10847 fi 10303 - rm -f core conftest.err conftest.$ac_objext \ 10848 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10304 10849 conftest$ac_exeext conftest.$ac_ext 10305 10850 LDFLAGS=$save_LDFLAGS 10306 10851 libdir=$save_libdir ··· 10517 11062 dynamic_linker=no 10518 11063 ;; 10519 11064 esac 10520 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10521 - $as_echo "$dynamic_linker" >&6; } 11065 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11066 + printf "%s\n" "$dynamic_linker" >&6; } 10522 11067 test "$dynamic_linker" = no && can_build_shared=no 10523 11068 10524 11069 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ··· 10624 11169 10625 11170 10626 11171 10627 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 10628 - $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11172 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11173 + printf %s "checking how to hardcode library paths into programs... " >&6; } 10629 11174 hardcode_action= 10630 11175 if test -n "$hardcode_libdir_flag_spec" || 10631 11176 test -n "$runpath_var" || ··· 10649 11194 # directories. 10650 11195 hardcode_action=unsupported 10651 11196 fi 10652 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 10653 - $as_echo "$hardcode_action" >&6; } 11197 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11198 + printf "%s\n" "$hardcode_action" >&6; } 10654 11199 10655 11200 if test "$hardcode_action" = relink || 10656 11201 test "$inherit_rpath" = yes; then ··· 10694 11239 10695 11240 darwin*) 10696 11241 # if libdl is installed we need to link against it 10697 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10698 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 10699 - if ${ac_cv_lib_dl_dlopen+:} false; then : 10700 - $as_echo_n "(cached) " >&6 10701 - else 11242 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11243 + printf %s "checking for dlopen in -ldl... " >&6; } 11244 + if test ${ac_cv_lib_dl_dlopen+y} 11245 + then : 11246 + printf %s "(cached) " >&6 11247 + else $as_nop 10702 11248 ac_check_lib_save_LIBS=$LIBS 10703 11249 LIBS="-ldl $LIBS" 10704 11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10707 11253 /* Override any GCC internal prototype to avoid an error. 10708 11254 Use char because int might match the return type of a GCC 10709 11255 builtin and then its argument prototype would still apply. */ 10710 - #ifdef __cplusplus 10711 - extern "C" 10712 - #endif 10713 11256 char dlopen (); 10714 11257 int 10715 - main () 11258 + main (void) 10716 11259 { 10717 11260 return dlopen (); 10718 11261 ; 10719 11262 return 0; 10720 11263 } 10721 11264 _ACEOF 10722 - if ac_fn_c_try_link "$LINENO"; then : 11265 + if ac_fn_c_try_link "$LINENO" 11266 + then : 10723 11267 ac_cv_lib_dl_dlopen=yes 10724 - else 11268 + else $as_nop 10725 11269 ac_cv_lib_dl_dlopen=no 10726 11270 fi 10727 - rm -f core conftest.err conftest.$ac_objext \ 11271 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10728 11272 conftest$ac_exeext conftest.$ac_ext 10729 11273 LIBS=$ac_check_lib_save_LIBS 10730 11274 fi 10731 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10732 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10733 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11275 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11276 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11277 + if test "x$ac_cv_lib_dl_dlopen" = xyes 11278 + then : 10734 11279 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10735 - else 11280 + else $as_nop 10736 11281 10737 11282 lt_cv_dlopen="dyld" 10738 11283 lt_cv_dlopen_libs= ··· 10744 11289 10745 11290 *) 10746 11291 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 10747 - if test "x$ac_cv_func_shl_load" = xyes; then : 11292 + if test "x$ac_cv_func_shl_load" = xyes 11293 + then : 10748 11294 lt_cv_dlopen="shl_load" 10749 - else 10750 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 10751 - $as_echo_n "checking for shl_load in -ldld... " >&6; } 10752 - if ${ac_cv_lib_dld_shl_load+:} false; then : 10753 - $as_echo_n "(cached) " >&6 10754 - else 11295 + else $as_nop 11296 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11297 + printf %s "checking for shl_load in -ldld... " >&6; } 11298 + if test ${ac_cv_lib_dld_shl_load+y} 11299 + then : 11300 + printf %s "(cached) " >&6 11301 + else $as_nop 10755 11302 ac_check_lib_save_LIBS=$LIBS 10756 11303 LIBS="-ldld $LIBS" 10757 11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10760 11307 /* Override any GCC internal prototype to avoid an error. 10761 11308 Use char because int might match the return type of a GCC 10762 11309 builtin and then its argument prototype would still apply. */ 10763 - #ifdef __cplusplus 10764 - extern "C" 10765 - #endif 10766 11310 char shl_load (); 10767 11311 int 10768 - main () 11312 + main (void) 10769 11313 { 10770 11314 return shl_load (); 10771 11315 ; 10772 11316 return 0; 10773 11317 } 10774 11318 _ACEOF 10775 - if ac_fn_c_try_link "$LINENO"; then : 11319 + if ac_fn_c_try_link "$LINENO" 11320 + then : 10776 11321 ac_cv_lib_dld_shl_load=yes 10777 - else 11322 + else $as_nop 10778 11323 ac_cv_lib_dld_shl_load=no 10779 11324 fi 10780 - rm -f core conftest.err conftest.$ac_objext \ 11325 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10781 11326 conftest$ac_exeext conftest.$ac_ext 10782 11327 LIBS=$ac_check_lib_save_LIBS 10783 11328 fi 10784 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 10785 - $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10786 - if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11329 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11330 + printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } 11331 + if test "x$ac_cv_lib_dld_shl_load" = xyes 11332 + then : 10787 11333 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10788 - else 11334 + else $as_nop 10789 11335 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10790 - if test "x$ac_cv_func_dlopen" = xyes; then : 11336 + if test "x$ac_cv_func_dlopen" = xyes 11337 + then : 10791 11338 lt_cv_dlopen="dlopen" 10792 - else 10793 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10794 - $as_echo_n "checking for dlopen in -ldl... " >&6; } 10795 - if ${ac_cv_lib_dl_dlopen+:} false; then : 10796 - $as_echo_n "(cached) " >&6 10797 - else 11339 + else $as_nop 11340 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11341 + printf %s "checking for dlopen in -ldl... " >&6; } 11342 + if test ${ac_cv_lib_dl_dlopen+y} 11343 + then : 11344 + printf %s "(cached) " >&6 11345 + else $as_nop 10798 11346 ac_check_lib_save_LIBS=$LIBS 10799 11347 LIBS="-ldl $LIBS" 10800 11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10803 11351 /* Override any GCC internal prototype to avoid an error. 10804 11352 Use char because int might match the return type of a GCC 10805 11353 builtin and then its argument prototype would still apply. */ 10806 - #ifdef __cplusplus 10807 - extern "C" 10808 - #endif 10809 11354 char dlopen (); 10810 11355 int 10811 - main () 11356 + main (void) 10812 11357 { 10813 11358 return dlopen (); 10814 11359 ; 10815 11360 return 0; 10816 11361 } 10817 11362 _ACEOF 10818 - if ac_fn_c_try_link "$LINENO"; then : 11363 + if ac_fn_c_try_link "$LINENO" 11364 + then : 10819 11365 ac_cv_lib_dl_dlopen=yes 10820 - else 11366 + else $as_nop 10821 11367 ac_cv_lib_dl_dlopen=no 10822 11368 fi 10823 - rm -f core conftest.err conftest.$ac_objext \ 11369 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10824 11370 conftest$ac_exeext conftest.$ac_ext 10825 11371 LIBS=$ac_check_lib_save_LIBS 10826 11372 fi 10827 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10828 - $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10829 - if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11373 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11374 + printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } 11375 + if test "x$ac_cv_lib_dl_dlopen" = xyes 11376 + then : 10830 11377 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10831 - else 10832 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10833 - $as_echo_n "checking for dlopen in -lsvld... " >&6; } 10834 - if ${ac_cv_lib_svld_dlopen+:} false; then : 10835 - $as_echo_n "(cached) " >&6 10836 - else 11378 + else $as_nop 11379 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11380 + printf %s "checking for dlopen in -lsvld... " >&6; } 11381 + if test ${ac_cv_lib_svld_dlopen+y} 11382 + then : 11383 + printf %s "(cached) " >&6 11384 + else $as_nop 10837 11385 ac_check_lib_save_LIBS=$LIBS 10838 11386 LIBS="-lsvld $LIBS" 10839 11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10842 11390 /* Override any GCC internal prototype to avoid an error. 10843 11391 Use char because int might match the return type of a GCC 10844 11392 builtin and then its argument prototype would still apply. */ 10845 - #ifdef __cplusplus 10846 - extern "C" 10847 - #endif 10848 11393 char dlopen (); 10849 11394 int 10850 - main () 11395 + main (void) 10851 11396 { 10852 11397 return dlopen (); 10853 11398 ; 10854 11399 return 0; 10855 11400 } 10856 11401 _ACEOF 10857 - if ac_fn_c_try_link "$LINENO"; then : 11402 + if ac_fn_c_try_link "$LINENO" 11403 + then : 10858 11404 ac_cv_lib_svld_dlopen=yes 10859 - else 11405 + else $as_nop 10860 11406 ac_cv_lib_svld_dlopen=no 10861 11407 fi 10862 - rm -f core conftest.err conftest.$ac_objext \ 11408 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10863 11409 conftest$ac_exeext conftest.$ac_ext 10864 11410 LIBS=$ac_check_lib_save_LIBS 10865 11411 fi 10866 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10867 - $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10868 - if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11412 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11413 + printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } 11414 + if test "x$ac_cv_lib_svld_dlopen" = xyes 11415 + then : 10869 11416 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10870 - else 10871 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10872 - $as_echo_n "checking for dld_link in -ldld... " >&6; } 10873 - if ${ac_cv_lib_dld_dld_link+:} false; then : 10874 - $as_echo_n "(cached) " >&6 10875 - else 11417 + else $as_nop 11418 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11419 + printf %s "checking for dld_link in -ldld... " >&6; } 11420 + if test ${ac_cv_lib_dld_dld_link+y} 11421 + then : 11422 + printf %s "(cached) " >&6 11423 + else $as_nop 10876 11424 ac_check_lib_save_LIBS=$LIBS 10877 11425 LIBS="-ldld $LIBS" 10878 11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext ··· 10881 11429 /* Override any GCC internal prototype to avoid an error. 10882 11430 Use char because int might match the return type of a GCC 10883 11431 builtin and then its argument prototype would still apply. */ 10884 - #ifdef __cplusplus 10885 - extern "C" 10886 - #endif 10887 11432 char dld_link (); 10888 11433 int 10889 - main () 11434 + main (void) 10890 11435 { 10891 11436 return dld_link (); 10892 11437 ; 10893 11438 return 0; 10894 11439 } 10895 11440 _ACEOF 10896 - if ac_fn_c_try_link "$LINENO"; then : 11441 + if ac_fn_c_try_link "$LINENO" 11442 + then : 10897 11443 ac_cv_lib_dld_dld_link=yes 10898 - else 11444 + else $as_nop 10899 11445 ac_cv_lib_dld_dld_link=no 10900 11446 fi 10901 - rm -f core conftest.err conftest.$ac_objext \ 11447 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 10902 11448 conftest$ac_exeext conftest.$ac_ext 10903 11449 LIBS=$ac_check_lib_save_LIBS 10904 11450 fi 10905 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10906 - $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10907 - if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11451 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11452 + printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } 11453 + if test "x$ac_cv_lib_dld_dld_link" = xyes 11454 + then : 10908 11455 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10909 11456 fi 10910 11457 ··· 10943 11490 save_LIBS="$LIBS" 10944 11491 LIBS="$lt_cv_dlopen_libs $LIBS" 10945 11492 10946 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10947 - $as_echo_n "checking whether a program can dlopen itself... " >&6; } 10948 - if ${lt_cv_dlopen_self+:} false; then : 10949 - $as_echo_n "(cached) " >&6 10950 - else 11493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11494 + printf %s "checking whether a program can dlopen itself... " >&6; } 11495 + if test ${lt_cv_dlopen_self+y} 11496 + then : 11497 + printf %s "(cached) " >&6 11498 + else $as_nop 10951 11499 if test "$cross_compiling" = yes; then : 10952 11500 lt_cv_dlopen_self=cross 10953 11501 else ··· 11026 11574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11027 11575 (eval $ac_link) 2>&5 11028 11576 ac_status=$? 11029 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11577 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11030 11578 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11031 11579 (./conftest; exit; ) >&5 2>/dev/null 11032 11580 lt_status=$? ··· 11044 11592 11045 11593 11046 11594 fi 11047 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11048 - $as_echo "$lt_cv_dlopen_self" >&6; } 11595 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11596 + printf "%s\n" "$lt_cv_dlopen_self" >&6; } 11049 11597 11050 11598 if test "x$lt_cv_dlopen_self" = xyes; then 11051 11599 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11052 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11053 - $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11054 - if ${lt_cv_dlopen_self_static+:} false; then : 11055 - $as_echo_n "(cached) " >&6 11056 - else 11600 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11601 + printf %s "checking whether a statically linked program can dlopen itself... " >&6; } 11602 + if test ${lt_cv_dlopen_self_static+y} 11603 + then : 11604 + printf %s "(cached) " >&6 11605 + else $as_nop 11057 11606 if test "$cross_compiling" = yes; then : 11058 11607 lt_cv_dlopen_self_static=cross 11059 11608 else ··· 11132 11681 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11133 11682 (eval $ac_link) 2>&5 11134 11683 ac_status=$? 11135 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11684 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11136 11685 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11137 11686 (./conftest; exit; ) >&5 2>/dev/null 11138 11687 lt_status=$? ··· 11150 11699 11151 11700 11152 11701 fi 11153 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11154 - $as_echo "$lt_cv_dlopen_self_static" >&6; } 11702 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11703 + printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } 11155 11704 fi 11156 11705 11157 11706 CPPFLAGS="$save_CPPFLAGS" ··· 11189 11738 11190 11739 striplib= 11191 11740 old_striplib= 11192 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11193 - $as_echo_n "checking whether stripping libraries is possible... " >&6; } 11741 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11742 + printf %s "checking whether stripping libraries is possible... " >&6; } 11194 11743 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11195 11744 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11196 11745 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11197 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11198 - $as_echo "yes" >&6; } 11746 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11747 + printf "%s\n" "yes" >&6; } 11199 11748 else 11200 11749 # FIXME - insert some real tests, host_os isn't really good enough 11201 11750 case $host_os in ··· 11203 11752 if test -n "$STRIP" ; then 11204 11753 striplib="$STRIP -x" 11205 11754 old_striplib="$STRIP -S" 11206 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11207 - $as_echo "yes" >&6; } 11755 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11756 + printf "%s\n" "yes" >&6; } 11208 11757 else 11209 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11210 - $as_echo "no" >&6; } 11758 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11759 + printf "%s\n" "no" >&6; } 11211 11760 fi 11212 11761 ;; 11213 11762 *) 11214 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11215 - $as_echo "no" >&6; } 11763 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 11764 + printf "%s\n" "no" >&6; } 11216 11765 ;; 11217 11766 esac 11218 11767 fi ··· 11229 11778 11230 11779 11231 11780 # Report which library types will actually be built 11232 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11233 - $as_echo_n "checking if libtool supports shared libraries... " >&6; } 11234 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11235 - $as_echo "$can_build_shared" >&6; } 11781 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11782 + printf %s "checking if libtool supports shared libraries... " >&6; } 11783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11784 + printf "%s\n" "$can_build_shared" >&6; } 11236 11785 11237 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11238 - $as_echo_n "checking whether to build shared libraries... " >&6; } 11786 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11787 + printf %s "checking whether to build shared libraries... " >&6; } 11239 11788 test "$can_build_shared" = "no" && enable_shared=no 11240 11789 11241 11790 # On AIX, shared libraries and static libraries use the same namespace, and ··· 11255 11804 fi 11256 11805 ;; 11257 11806 esac 11258 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11259 - $as_echo "$enable_shared" >&6; } 11807 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11808 + printf "%s\n" "$enable_shared" >&6; } 11260 11809 11261 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11262 - $as_echo_n "checking whether to build static libraries... " >&6; } 11810 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11811 + printf %s "checking whether to build static libraries... " >&6; } 11263 11812 # Make sure either enable_shared or enable_static is yes. 11264 11813 test "$enable_shared" = yes || enable_static=yes 11265 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11266 - $as_echo "$enable_static" >&6; } 11814 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11815 + printf "%s\n" "$enable_static" >&6; } 11267 11816 11268 11817 11269 11818 ··· 11312 11861 11313 11862 11314 11863 11315 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11316 - $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11864 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 11865 + printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 11317 11866 # Check whether --enable-maintainer-mode was given. 11318 - if test "${enable_maintainer_mode+set}" = set; then : 11867 + if test ${enable_maintainer_mode+y} 11868 + then : 11319 11869 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 11320 - else 11870 + else $as_nop 11321 11871 USE_MAINTAINER_MODE=no 11322 11872 fi 11323 11873 11324 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11325 - $as_echo "$USE_MAINTAINER_MODE" >&6; } 11874 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 11875 + printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 11326 11876 if test $USE_MAINTAINER_MODE = yes; then 11327 11877 MAINTAINER_MODE_TRUE= 11328 11878 MAINTAINER_MODE_FALSE='#' ··· 11335 11885 11336 11886 11337 11887 11338 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 11339 - $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 11340 - if ${ac_cv_prog_cc_c99+:} false; then : 11341 - $as_echo_n "(cached) " >&6 11342 - else 11343 - ac_cv_prog_cc_c99=no 11344 - ac_save_CC=$CC 11345 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11888 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 11889 + printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } 11890 + if test ${ac_cv_c_undeclared_builtin_options+y} 11891 + then : 11892 + printf %s "(cached) " >&6 11893 + else $as_nop 11894 + ac_save_CFLAGS=$CFLAGS 11895 + ac_cv_c_undeclared_builtin_options='cannot detect' 11896 + for ac_arg in '' -fno-builtin; do 11897 + CFLAGS="$ac_save_CFLAGS $ac_arg" 11898 + # This test program should *not* compile successfully. 11899 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11346 11900 /* end confdefs.h. */ 11347 - #include <stdarg.h> 11348 - #include <stdbool.h> 11349 - #include <stdlib.h> 11350 - #include <wchar.h> 11351 - #include <stdio.h> 11352 11901 11353 - // Check varargs macros. These examples are taken from C99 6.10.3.5. 11354 - #define debug(...) fprintf (stderr, __VA_ARGS__) 11355 - #define showlist(...) puts (#__VA_ARGS__) 11356 - #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 11357 - static void 11358 - test_varargs_macros (void) 11902 + int 11903 + main (void) 11359 11904 { 11360 - int x = 1234; 11361 - int y = 5678; 11362 - debug ("Flag"); 11363 - debug ("X = %d\n", x); 11364 - showlist (The first, second, and third items.); 11365 - report (x>y, "x is %d but y is %d", x, y); 11366 - } 11367 - 11368 - // Check long long types. 11369 - #define BIG64 18446744073709551615ull 11370 - #define BIG32 4294967295ul 11371 - #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 11372 - #if !BIG_OK 11373 - your preprocessor is broken; 11374 - #endif 11375 - #if BIG_OK 11376 - #else 11377 - your preprocessor is broken; 11378 - #endif 11379 - static long long int bignum = -9223372036854775807LL; 11380 - static unsigned long long int ubignum = BIG64; 11381 - 11382 - struct incomplete_array 11383 - { 11384 - int datasize; 11385 - double data[]; 11386 - }; 11387 - 11388 - struct named_init { 11389 - int number; 11390 - const wchar_t *name; 11391 - double average; 11392 - }; 11393 - 11394 - typedef const char *ccp; 11395 - 11396 - static inline int 11397 - test_restrict (ccp restrict text) 11398 - { 11399 - // See if C++-style comments work. 11400 - // Iterate through items via the restricted pointer. 11401 - // Also check for declarations in for loops. 11402 - for (unsigned int i = 0; *(text+i) != '\0'; ++i) 11403 - continue; 11905 + (void) strchr; 11906 + ; 11404 11907 return 0; 11405 11908 } 11406 - 11407 - // Check varargs and va_copy. 11408 - static void 11409 - test_varargs (const char *format, ...) 11410 - { 11411 - va_list args; 11412 - va_start (args, format); 11413 - va_list args_copy; 11414 - va_copy (args_copy, args); 11415 - 11416 - const char *str; 11417 - int number; 11418 - float fnumber; 11909 + _ACEOF 11910 + if ac_fn_c_try_compile "$LINENO" 11911 + then : 11419 11912 11420 - while (*format) 11421 - { 11422 - switch (*format++) 11423 - { 11424 - case 's': // string 11425 - str = va_arg (args_copy, const char *); 11426 - break; 11427 - case 'd': // int 11428 - number = va_arg (args_copy, int); 11429 - break; 11430 - case 'f': // float 11431 - fnumber = va_arg (args_copy, double); 11432 - break; 11433 - default: 11434 - break; 11435 - } 11436 - } 11437 - va_end (args_copy); 11438 - va_end (args); 11439 - } 11913 + else $as_nop 11914 + # This test program should compile successfully. 11915 + # No library function is consistently available on 11916 + # freestanding implementations, so test against a dummy 11917 + # declaration. Include always-available headers on the 11918 + # off chance that they somehow elicit warnings. 11919 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11920 + /* end confdefs.h. */ 11921 + #include <float.h> 11922 + #include <limits.h> 11923 + #include <stdarg.h> 11924 + #include <stddef.h> 11925 + extern void ac_decl (int, char *); 11440 11926 11441 11927 int 11442 - main () 11928 + main (void) 11443 11929 { 11444 - 11445 - // Check bool. 11446 - _Bool success = false; 11447 - 11448 - // Check restrict. 11449 - if (test_restrict ("String literal") == 0) 11450 - success = true; 11451 - char *restrict newvar = "Another string"; 11452 - 11453 - // Check varargs. 11454 - test_varargs ("s, d' f .", "string", 65, 34.234); 11455 - test_varargs_macros (); 11456 - 11457 - // Check flexible array members. 11458 - struct incomplete_array *ia = 11459 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 11460 - ia->datasize = 10; 11461 - for (int i = 0; i < ia->datasize; ++i) 11462 - ia->data[i] = i * 1.234; 11463 - 11464 - // Check named initializers. 11465 - struct named_init ni = { 11466 - .number = 34, 11467 - .name = L"Test wide string", 11468 - .average = 543.34343, 11469 - }; 11470 - 11471 - ni.number = 58; 11472 - 11473 - int dynamic_array[ni.number]; 11474 - dynamic_array[ni.number - 1] = 543; 11475 - 11476 - // work around unused variable warnings 11477 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 11478 - || dynamic_array[ni.number - 1] != 543); 11930 + (void) ac_decl (0, (char *) 0); 11931 + (void) ac_decl; 11479 11932 11480 11933 ; 11481 11934 return 0; 11482 11935 } 11483 11936 _ACEOF 11484 - for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 11485 - do 11486 - CC="$ac_save_CC $ac_arg" 11487 - if ac_fn_c_try_compile "$LINENO"; then : 11488 - ac_cv_prog_cc_c99=$ac_arg 11937 + if ac_fn_c_try_compile "$LINENO" 11938 + then : 11939 + if test x"$ac_arg" = x 11940 + then : 11941 + ac_cv_c_undeclared_builtin_options='none needed' 11942 + else $as_nop 11943 + ac_cv_c_undeclared_builtin_options=$ac_arg 11489 11944 fi 11490 - rm -f core conftest.err conftest.$ac_objext 11491 - test "x$ac_cv_prog_cc_c99" != "xno" && break 11492 - done 11493 - rm -f conftest.$ac_ext 11494 - CC=$ac_save_CC 11945 + break 11946 + fi 11947 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11948 + fi 11949 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11950 + done 11951 + CFLAGS=$ac_save_CFLAGS 11495 11952 11496 11953 fi 11497 - # AC_CACHE_VAL 11498 - case "x$ac_cv_prog_cc_c99" in 11499 - x) 11500 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 11501 - $as_echo "none needed" >&6; } ;; 11502 - xno) 11503 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 11504 - $as_echo "unsupported" >&6; } ;; 11505 - *) 11506 - CC="$CC $ac_cv_prog_cc_c99" 11507 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 11508 - $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 11954 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 11955 + printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } 11956 + case $ac_cv_c_undeclared_builtin_options in #( 11957 + 'cannot detect') : 11958 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11959 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 11960 + as_fn_error $? "cannot make $CC report undeclared builtins 11961 + See \`config.log' for more details" "$LINENO" 5; } ;; #( 11962 + 'none needed') : 11963 + ac_c_undeclared_builtin_options='' ;; #( 11964 + *) : 11965 + ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; 11509 11966 esac 11510 - if test "x$ac_cv_prog_cc_c99" != xno; then : 11511 - 11512 - fi 11513 11967 11514 11968 11515 11969 11516 11970 11517 11971 11518 - 11519 - ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" 11520 - if test "x$ac_cv_have_decl___clang__" = xyes; then : 11972 + ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 11973 + if test "x$ac_cv_have_decl___clang__" = xyes 11974 + then : 11521 11975 CLANGCC="yes" 11522 - else 11976 + else $as_nop 11523 11977 CLANGCC="no" 11524 11978 fi 11525 - 11526 - ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 11527 - if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 11979 + ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 11980 + if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes 11981 + then : 11528 11982 INTELCC="yes" 11529 - else 11983 + else $as_nop 11530 11984 INTELCC="no" 11531 11985 fi 11532 - 11533 - ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 11534 - if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 11986 + ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" 11987 + if test "x$ac_cv_have_decl___SUNPRO_C" = xyes 11988 + then : 11535 11989 SUNCC="yes" 11536 - else 11990 + else $as_nop 11537 11991 SUNCC="no" 11538 11992 fi 11539 - 11540 11993 11541 11994 11542 11995 ··· 11549 12002 if test -n "$ac_tool_prefix"; then 11550 12003 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11551 12004 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11552 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11553 - $as_echo_n "checking for $ac_word... " >&6; } 11554 - if ${ac_cv_path_PKG_CONFIG+:} false; then : 11555 - $as_echo_n "(cached) " >&6 11556 - else 12005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12006 + printf %s "checking for $ac_word... " >&6; } 12007 + if test ${ac_cv_path_PKG_CONFIG+y} 12008 + then : 12009 + printf %s "(cached) " >&6 12010 + else $as_nop 11557 12011 case $PKG_CONFIG in 11558 12012 [\\/]* | ?:[\\/]*) 11559 12013 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ··· 11563 12017 for as_dir in $PATH 11564 12018 do 11565 12019 IFS=$as_save_IFS 11566 - test -z "$as_dir" && as_dir=. 12020 + case $as_dir in #((( 12021 + '') as_dir=./ ;; 12022 + */) ;; 12023 + *) as_dir=$as_dir/ ;; 12024 + esac 11567 12025 for ac_exec_ext in '' $ac_executable_extensions; do 11568 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11569 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11570 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12026 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12027 + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 12028 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 11571 12029 break 2 11572 12030 fi 11573 12031 done ··· 11579 12037 fi 11580 12038 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11581 12039 if test -n "$PKG_CONFIG"; then 11582 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11583 - $as_echo "$PKG_CONFIG" >&6; } 12040 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12041 + printf "%s\n" "$PKG_CONFIG" >&6; } 11584 12042 else 11585 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11586 - $as_echo "no" >&6; } 12043 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12044 + printf "%s\n" "no" >&6; } 11587 12045 fi 11588 12046 11589 12047 ··· 11592 12050 ac_pt_PKG_CONFIG=$PKG_CONFIG 11593 12051 # Extract the first word of "pkg-config", so it can be a program name with args. 11594 12052 set dummy pkg-config; ac_word=$2 11595 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11596 - $as_echo_n "checking for $ac_word... " >&6; } 11597 - if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 11598 - $as_echo_n "(cached) " >&6 11599 - else 12053 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12054 + printf %s "checking for $ac_word... " >&6; } 12055 + if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 12056 + then : 12057 + printf %s "(cached) " >&6 12058 + else $as_nop 11600 12059 case $ac_pt_PKG_CONFIG in 11601 12060 [\\/]* | ?:[\\/]*) 11602 12061 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ··· 11606 12065 for as_dir in $PATH 11607 12066 do 11608 12067 IFS=$as_save_IFS 11609 - test -z "$as_dir" && as_dir=. 12068 + case $as_dir in #((( 12069 + '') as_dir=./ ;; 12070 + */) ;; 12071 + *) as_dir=$as_dir/ ;; 12072 + esac 11610 12073 for ac_exec_ext in '' $ac_executable_extensions; do 11611 - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 11612 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11613 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12074 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 12075 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 12076 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 11614 12077 break 2 11615 12078 fi 11616 12079 done ··· 11622 12085 fi 11623 12086 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11624 12087 if test -n "$ac_pt_PKG_CONFIG"; then 11625 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 11626 - $as_echo "$ac_pt_PKG_CONFIG" >&6; } 12088 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 12089 + printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 11627 12090 else 11628 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11629 - $as_echo "no" >&6; } 12091 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12092 + printf "%s\n" "no" >&6; } 11630 12093 fi 11631 12094 11632 12095 if test "x$ac_pt_PKG_CONFIG" = x; then ··· 11634 12097 else 11635 12098 case $cross_compiling:$ac_tool_warned in 11636 12099 yes:) 11637 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 11638 - $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12100 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12101 + printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11639 12102 ac_tool_warned=yes ;; 11640 12103 esac 11641 12104 PKG_CONFIG=$ac_pt_PKG_CONFIG ··· 11647 12110 fi 11648 12111 if test -n "$PKG_CONFIG"; then 11649 12112 _pkg_min_version=0.9.0 11650 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 11651 - $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12113 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 12114 + printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11652 12115 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11653 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11654 - $as_echo "yes" >&6; } 12116 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12117 + printf "%s\n" "yes" >&6; } 11655 12118 else 11656 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11657 - $as_echo "no" >&6; } 12119 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 12120 + printf "%s\n" "no" >&6; } 11658 12121 PKG_CONFIG="" 11659 12122 fi 11660 12123 fi ··· 11664 12127 11665 12128 11666 12129 # Check whether --enable-selective-werror was given. 11667 - if test "${enable_selective_werror+set}" = set; then : 12130 + if test ${enable_selective_werror+y} 12131 + then : 11668 12132 enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval 11669 - else 12133 + else $as_nop 11670 12134 SELECTIVE_WERROR=yes 11671 12135 fi 11672 12136 ··· 11699 12163 11700 12164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11701 12165 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11702 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11703 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11704 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11705 - $as_echo_n "(cached) " >&6 11706 - else 12166 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12167 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12168 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12169 + then : 12170 + printf %s "(cached) " >&6 12171 + else $as_nop 11707 12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11708 12173 /* end confdefs.h. */ 11709 12174 int i; 11710 12175 _ACEOF 11711 - if ac_fn_c_try_compile "$LINENO"; then : 12176 + if ac_fn_c_try_compile "$LINENO" 12177 + then : 11712 12178 xorg_cv_cc_flag_unknown_warning_option=yes 11713 - else 12179 + else $as_nop 11714 12180 xorg_cv_cc_flag_unknown_warning_option=no 11715 12181 fi 11716 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12182 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11717 12183 fi 11718 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11719 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12184 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12185 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11720 12186 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11721 12187 CFLAGS="$xorg_testset_save_CFLAGS" 11722 12188 fi ··· 11726 12192 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11727 12193 fi 11728 12194 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11729 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11730 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11731 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11732 - $as_echo_n "(cached) " >&6 11733 - else 12195 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12196 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12197 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12198 + then : 12199 + printf %s "(cached) " >&6 12200 + else $as_nop 11734 12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11735 12202 /* end confdefs.h. */ 11736 12203 int i; 11737 12204 _ACEOF 11738 - if ac_fn_c_try_compile "$LINENO"; then : 12205 + if ac_fn_c_try_compile "$LINENO" 12206 + then : 11739 12207 xorg_cv_cc_flag_unused_command_line_argument=yes 11740 - else 12208 + else $as_nop 11741 12209 xorg_cv_cc_flag_unused_command_line_argument=no 11742 12210 fi 11743 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12211 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11744 12212 fi 11745 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11746 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12213 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12214 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11747 12215 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11748 12216 CFLAGS="$xorg_testset_save_CFLAGS" 11749 12217 fi ··· 11761 12229 11762 12230 CFLAGS="$CFLAGS -Wall" 11763 12231 11764 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 11765 - $as_echo_n "checking if $CC supports -Wall... " >&6; } 12232 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 12233 + printf %s "checking if $CC supports -Wall... " >&6; } 11766 12234 cacheid=xorg_cv_cc_flag__Wall 11767 - if eval \${$cacheid+:} false; then : 11768 - $as_echo_n "(cached) " >&6 11769 - else 12235 + if eval test \${$cacheid+y} 12236 + then : 12237 + printf %s "(cached) " >&6 12238 + else $as_nop 11770 12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11771 12240 /* end confdefs.h. */ 11772 12241 int i; 11773 12242 int 11774 - main () 12243 + main (void) 11775 12244 { 11776 12245 11777 12246 ; 11778 12247 return 0; 11779 12248 } 11780 12249 _ACEOF 11781 - if ac_fn_c_try_link "$LINENO"; then : 12250 + if ac_fn_c_try_link "$LINENO" 12251 + then : 11782 12252 eval $cacheid=yes 11783 - else 12253 + else $as_nop 11784 12254 eval $cacheid=no 11785 12255 fi 11786 - rm -f core conftest.err conftest.$ac_objext \ 12256 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11787 12257 conftest$ac_exeext conftest.$ac_ext 11788 12258 fi 11789 12259 ··· 11791 12261 CFLAGS="$xorg_testset_save_CFLAGS" 11792 12262 11793 12263 eval supported=\$$cacheid 11794 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 11795 - $as_echo "$supported" >&6; } 12264 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12265 + printf "%s\n" "$supported" >&6; } 11796 12266 if test "$supported" = "yes" ; then 11797 12267 BASE_CFLAGS="$BASE_CFLAGS -Wall" 11798 12268 found="yes" ··· 11817 12287 11818 12288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11819 12289 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11820 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11821 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11822 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11823 - $as_echo_n "(cached) " >&6 11824 - else 12290 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12291 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12292 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12293 + then : 12294 + printf %s "(cached) " >&6 12295 + else $as_nop 11825 12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11826 12297 /* end confdefs.h. */ 11827 12298 int i; 11828 12299 _ACEOF 11829 - if ac_fn_c_try_compile "$LINENO"; then : 12300 + if ac_fn_c_try_compile "$LINENO" 12301 + then : 11830 12302 xorg_cv_cc_flag_unknown_warning_option=yes 11831 - else 12303 + else $as_nop 11832 12304 xorg_cv_cc_flag_unknown_warning_option=no 11833 12305 fi 11834 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12306 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11835 12307 fi 11836 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11837 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12308 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12309 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11838 12310 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11839 12311 CFLAGS="$xorg_testset_save_CFLAGS" 11840 12312 fi ··· 11844 12316 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11845 12317 fi 11846 12318 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11847 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11848 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11849 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11850 - $as_echo_n "(cached) " >&6 11851 - else 12319 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12320 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12321 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12322 + then : 12323 + printf %s "(cached) " >&6 12324 + else $as_nop 11852 12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11853 12326 /* end confdefs.h. */ 11854 12327 int i; 11855 12328 _ACEOF 11856 - if ac_fn_c_try_compile "$LINENO"; then : 12329 + if ac_fn_c_try_compile "$LINENO" 12330 + then : 11857 12331 xorg_cv_cc_flag_unused_command_line_argument=yes 11858 - else 12332 + else $as_nop 11859 12333 xorg_cv_cc_flag_unused_command_line_argument=no 11860 12334 fi 11861 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12335 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11862 12336 fi 11863 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11864 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12337 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12338 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11865 12339 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11866 12340 CFLAGS="$xorg_testset_save_CFLAGS" 11867 12341 fi ··· 11879 12353 11880 12354 CFLAGS="$CFLAGS -Wpointer-arith" 11881 12355 11882 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 11883 - $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } 12356 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5 12357 + printf %s "checking if $CC supports -Wpointer-arith... " >&6; } 11884 12358 cacheid=xorg_cv_cc_flag__Wpointer_arith 11885 - if eval \${$cacheid+:} false; then : 11886 - $as_echo_n "(cached) " >&6 11887 - else 12359 + if eval test \${$cacheid+y} 12360 + then : 12361 + printf %s "(cached) " >&6 12362 + else $as_nop 11888 12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11889 12364 /* end confdefs.h. */ 11890 12365 int i; 11891 12366 int 11892 - main () 12367 + main (void) 11893 12368 { 11894 12369 11895 12370 ; 11896 12371 return 0; 11897 12372 } 11898 12373 _ACEOF 11899 - if ac_fn_c_try_link "$LINENO"; then : 12374 + if ac_fn_c_try_link "$LINENO" 12375 + then : 11900 12376 eval $cacheid=yes 11901 - else 12377 + else $as_nop 11902 12378 eval $cacheid=no 11903 12379 fi 11904 - rm -f core conftest.err conftest.$ac_objext \ 12380 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 11905 12381 conftest$ac_exeext conftest.$ac_ext 11906 12382 fi 11907 12383 ··· 11909 12385 CFLAGS="$xorg_testset_save_CFLAGS" 11910 12386 11911 12387 eval supported=\$$cacheid 11912 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 11913 - $as_echo "$supported" >&6; } 12388 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12389 + printf "%s\n" "$supported" >&6; } 11914 12390 if test "$supported" = "yes" ; then 11915 12391 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith" 11916 12392 found="yes" ··· 11935 12411 11936 12412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 11937 12413 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11938 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 11939 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 11940 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 11941 - $as_echo_n "(cached) " >&6 11942 - else 12414 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12415 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12416 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12417 + then : 12418 + printf %s "(cached) " >&6 12419 + else $as_nop 11943 12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11944 12421 /* end confdefs.h. */ 11945 12422 int i; 11946 12423 _ACEOF 11947 - if ac_fn_c_try_compile "$LINENO"; then : 12424 + if ac_fn_c_try_compile "$LINENO" 12425 + then : 11948 12426 xorg_cv_cc_flag_unknown_warning_option=yes 11949 - else 12427 + else $as_nop 11950 12428 xorg_cv_cc_flag_unknown_warning_option=no 11951 12429 fi 11952 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12430 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11953 12431 fi 11954 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 11955 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12432 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12433 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 11956 12434 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 11957 12435 CFLAGS="$xorg_testset_save_CFLAGS" 11958 12436 fi ··· 11962 12440 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 11963 12441 fi 11964 12442 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 11965 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 11966 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 11967 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 11968 - $as_echo_n "(cached) " >&6 11969 - else 12443 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12444 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12445 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12446 + then : 12447 + printf %s "(cached) " >&6 12448 + else $as_nop 11970 12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11971 12450 /* end confdefs.h. */ 11972 12451 int i; 11973 12452 _ACEOF 11974 - if ac_fn_c_try_compile "$LINENO"; then : 12453 + if ac_fn_c_try_compile "$LINENO" 12454 + then : 11975 12455 xorg_cv_cc_flag_unused_command_line_argument=yes 11976 - else 12456 + else $as_nop 11977 12457 xorg_cv_cc_flag_unused_command_line_argument=no 11978 12458 fi 11979 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12459 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 11980 12460 fi 11981 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 11982 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12461 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12462 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 11983 12463 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 11984 12464 CFLAGS="$xorg_testset_save_CFLAGS" 11985 12465 fi ··· 11997 12477 11998 12478 CFLAGS="$CFLAGS -Wmissing-declarations" 11999 12479 12000 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 12001 - $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; } 12480 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5 12481 + printf %s "checking if $CC supports -Wmissing-declarations... " >&6; } 12002 12482 cacheid=xorg_cv_cc_flag__Wmissing_declarations 12003 - if eval \${$cacheid+:} false; then : 12004 - $as_echo_n "(cached) " >&6 12005 - else 12483 + if eval test \${$cacheid+y} 12484 + then : 12485 + printf %s "(cached) " >&6 12486 + else $as_nop 12006 12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12007 12488 /* end confdefs.h. */ 12008 12489 int i; 12009 12490 int 12010 - main () 12491 + main (void) 12011 12492 { 12012 12493 12013 12494 ; 12014 12495 return 0; 12015 12496 } 12016 12497 _ACEOF 12017 - if ac_fn_c_try_link "$LINENO"; then : 12498 + if ac_fn_c_try_link "$LINENO" 12499 + then : 12018 12500 eval $cacheid=yes 12019 - else 12501 + else $as_nop 12020 12502 eval $cacheid=no 12021 12503 fi 12022 - rm -f core conftest.err conftest.$ac_objext \ 12504 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12023 12505 conftest$ac_exeext conftest.$ac_ext 12024 12506 fi 12025 12507 ··· 12027 12509 CFLAGS="$xorg_testset_save_CFLAGS" 12028 12510 12029 12511 eval supported=\$$cacheid 12030 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12031 - $as_echo "$supported" >&6; } 12512 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12513 + printf "%s\n" "$supported" >&6; } 12032 12514 if test "$supported" = "yes" ; then 12033 12515 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations" 12034 12516 found="yes" ··· 12053 12535 12054 12536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12055 12537 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12056 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12057 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12058 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12059 - $as_echo_n "(cached) " >&6 12060 - else 12538 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12539 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12540 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12541 + then : 12542 + printf %s "(cached) " >&6 12543 + else $as_nop 12061 12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12062 12545 /* end confdefs.h. */ 12063 12546 int i; 12064 12547 _ACEOF 12065 - if ac_fn_c_try_compile "$LINENO"; then : 12548 + if ac_fn_c_try_compile "$LINENO" 12549 + then : 12066 12550 xorg_cv_cc_flag_unknown_warning_option=yes 12067 - else 12551 + else $as_nop 12068 12552 xorg_cv_cc_flag_unknown_warning_option=no 12069 12553 fi 12070 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12554 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12071 12555 fi 12072 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12073 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12556 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12557 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12074 12558 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12075 12559 CFLAGS="$xorg_testset_save_CFLAGS" 12076 12560 fi ··· 12080 12564 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12081 12565 fi 12082 12566 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12083 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12084 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12085 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12086 - $as_echo_n "(cached) " >&6 12087 - else 12567 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12568 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12569 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12570 + then : 12571 + printf %s "(cached) " >&6 12572 + else $as_nop 12088 12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12089 12574 /* end confdefs.h. */ 12090 12575 int i; 12091 12576 _ACEOF 12092 - if ac_fn_c_try_compile "$LINENO"; then : 12577 + if ac_fn_c_try_compile "$LINENO" 12578 + then : 12093 12579 xorg_cv_cc_flag_unused_command_line_argument=yes 12094 - else 12580 + else $as_nop 12095 12581 xorg_cv_cc_flag_unused_command_line_argument=no 12096 12582 fi 12097 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12583 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12098 12584 fi 12099 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12100 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12585 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12586 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12101 12587 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12102 12588 CFLAGS="$xorg_testset_save_CFLAGS" 12103 12589 fi ··· 12115 12601 12116 12602 CFLAGS="$CFLAGS -Wformat=2" 12117 12603 12118 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 12119 - $as_echo_n "checking if $CC supports -Wformat=2... " >&6; } 12604 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5 12605 + printf %s "checking if $CC supports -Wformat=2... " >&6; } 12120 12606 cacheid=xorg_cv_cc_flag__Wformat_2 12121 - if eval \${$cacheid+:} false; then : 12122 - $as_echo_n "(cached) " >&6 12123 - else 12607 + if eval test \${$cacheid+y} 12608 + then : 12609 + printf %s "(cached) " >&6 12610 + else $as_nop 12124 12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12125 12612 /* end confdefs.h. */ 12126 12613 int i; 12127 12614 int 12128 - main () 12615 + main (void) 12129 12616 { 12130 12617 12131 12618 ; 12132 12619 return 0; 12133 12620 } 12134 12621 _ACEOF 12135 - if ac_fn_c_try_link "$LINENO"; then : 12622 + if ac_fn_c_try_link "$LINENO" 12623 + then : 12136 12624 eval $cacheid=yes 12137 - else 12625 + else $as_nop 12138 12626 eval $cacheid=no 12139 12627 fi 12140 - rm -f core conftest.err conftest.$ac_objext \ 12628 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12141 12629 conftest$ac_exeext conftest.$ac_ext 12142 12630 fi 12143 12631 ··· 12145 12633 CFLAGS="$xorg_testset_save_CFLAGS" 12146 12634 12147 12635 eval supported=\$$cacheid 12148 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12149 - $as_echo "$supported" >&6; } 12636 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12637 + printf "%s\n" "$supported" >&6; } 12150 12638 if test "$supported" = "yes" ; then 12151 12639 BASE_CFLAGS="$BASE_CFLAGS -Wformat=2" 12152 12640 found="yes" ··· 12164 12652 12165 12653 CFLAGS="$CFLAGS -Wformat" 12166 12654 12167 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 12168 - $as_echo_n "checking if $CC supports -Wformat... " >&6; } 12655 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5 12656 + printf %s "checking if $CC supports -Wformat... " >&6; } 12169 12657 cacheid=xorg_cv_cc_flag__Wformat 12170 - if eval \${$cacheid+:} false; then : 12171 - $as_echo_n "(cached) " >&6 12172 - else 12658 + if eval test \${$cacheid+y} 12659 + then : 12660 + printf %s "(cached) " >&6 12661 + else $as_nop 12173 12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12174 12663 /* end confdefs.h. */ 12175 12664 int i; 12176 12665 int 12177 - main () 12666 + main (void) 12178 12667 { 12179 12668 12180 12669 ; 12181 12670 return 0; 12182 12671 } 12183 12672 _ACEOF 12184 - if ac_fn_c_try_link "$LINENO"; then : 12673 + if ac_fn_c_try_link "$LINENO" 12674 + then : 12185 12675 eval $cacheid=yes 12186 - else 12676 + else $as_nop 12187 12677 eval $cacheid=no 12188 12678 fi 12189 - rm -f core conftest.err conftest.$ac_objext \ 12679 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12190 12680 conftest$ac_exeext conftest.$ac_ext 12191 12681 fi 12192 12682 ··· 12194 12684 CFLAGS="$xorg_testset_save_CFLAGS" 12195 12685 12196 12686 eval supported=\$$cacheid 12197 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12198 - $as_echo "$supported" >&6; } 12687 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12688 + printf "%s\n" "$supported" >&6; } 12199 12689 if test "$supported" = "yes" ; then 12200 12690 BASE_CFLAGS="$BASE_CFLAGS -Wformat" 12201 12691 found="yes" ··· 12222 12712 12223 12713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12224 12714 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12225 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12226 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12227 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12228 - $as_echo_n "(cached) " >&6 12229 - else 12715 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12716 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12717 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12718 + then : 12719 + printf %s "(cached) " >&6 12720 + else $as_nop 12230 12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12231 12722 /* end confdefs.h. */ 12232 12723 int i; 12233 12724 _ACEOF 12234 - if ac_fn_c_try_compile "$LINENO"; then : 12725 + if ac_fn_c_try_compile "$LINENO" 12726 + then : 12235 12727 xorg_cv_cc_flag_unknown_warning_option=yes 12236 - else 12728 + else $as_nop 12237 12729 xorg_cv_cc_flag_unknown_warning_option=no 12238 12730 fi 12239 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12731 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12240 12732 fi 12241 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12242 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12733 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12734 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12243 12735 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12244 12736 CFLAGS="$xorg_testset_save_CFLAGS" 12245 12737 fi ··· 12249 12741 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12250 12742 fi 12251 12743 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12252 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12253 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12254 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12255 - $as_echo_n "(cached) " >&6 12256 - else 12744 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12745 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12746 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12747 + then : 12748 + printf %s "(cached) " >&6 12749 + else $as_nop 12257 12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12258 12751 /* end confdefs.h. */ 12259 12752 int i; 12260 12753 _ACEOF 12261 - if ac_fn_c_try_compile "$LINENO"; then : 12754 + if ac_fn_c_try_compile "$LINENO" 12755 + then : 12262 12756 xorg_cv_cc_flag_unused_command_line_argument=yes 12263 - else 12757 + else $as_nop 12264 12758 xorg_cv_cc_flag_unused_command_line_argument=no 12265 12759 fi 12266 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12760 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12267 12761 fi 12268 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12269 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12763 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12270 12764 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12271 12765 CFLAGS="$xorg_testset_save_CFLAGS" 12272 12766 fi ··· 12284 12778 12285 12779 CFLAGS="$CFLAGS -Wstrict-prototypes" 12286 12780 12287 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 12288 - $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; } 12781 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5 12782 + printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; } 12289 12783 cacheid=xorg_cv_cc_flag__Wstrict_prototypes 12290 - if eval \${$cacheid+:} false; then : 12291 - $as_echo_n "(cached) " >&6 12292 - else 12784 + if eval test \${$cacheid+y} 12785 + then : 12786 + printf %s "(cached) " >&6 12787 + else $as_nop 12293 12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12294 12789 /* end confdefs.h. */ 12295 12790 int i; 12296 12791 int 12297 - main () 12792 + main (void) 12298 12793 { 12299 12794 12300 12795 ; 12301 12796 return 0; 12302 12797 } 12303 12798 _ACEOF 12304 - if ac_fn_c_try_link "$LINENO"; then : 12799 + if ac_fn_c_try_link "$LINENO" 12800 + then : 12305 12801 eval $cacheid=yes 12306 - else 12802 + else $as_nop 12307 12803 eval $cacheid=no 12308 12804 fi 12309 - rm -f core conftest.err conftest.$ac_objext \ 12805 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12310 12806 conftest$ac_exeext conftest.$ac_ext 12311 12807 fi 12312 12808 ··· 12314 12810 CFLAGS="$xorg_testset_save_CFLAGS" 12315 12811 12316 12812 eval supported=\$$cacheid 12317 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12318 - $as_echo "$supported" >&6; } 12813 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12814 + printf "%s\n" "$supported" >&6; } 12319 12815 if test "$supported" = "yes" ; then 12320 12816 BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes" 12321 12817 found="yes" ··· 12340 12836 12341 12837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12342 12838 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12343 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12344 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12345 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12346 - $as_echo_n "(cached) " >&6 12347 - else 12839 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12840 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12841 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12842 + then : 12843 + printf %s "(cached) " >&6 12844 + else $as_nop 12348 12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12349 12846 /* end confdefs.h. */ 12350 12847 int i; 12351 12848 _ACEOF 12352 - if ac_fn_c_try_compile "$LINENO"; then : 12849 + if ac_fn_c_try_compile "$LINENO" 12850 + then : 12353 12851 xorg_cv_cc_flag_unknown_warning_option=yes 12354 - else 12852 + else $as_nop 12355 12853 xorg_cv_cc_flag_unknown_warning_option=no 12356 12854 fi 12357 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12855 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12358 12856 fi 12359 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12360 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12857 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12858 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12361 12859 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12362 12860 CFLAGS="$xorg_testset_save_CFLAGS" 12363 12861 fi ··· 12367 12865 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12368 12866 fi 12369 12867 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12370 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12371 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12372 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12373 - $as_echo_n "(cached) " >&6 12374 - else 12868 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12869 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12870 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12871 + then : 12872 + printf %s "(cached) " >&6 12873 + else $as_nop 12375 12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12376 12875 /* end confdefs.h. */ 12377 12876 int i; 12378 12877 _ACEOF 12379 - if ac_fn_c_try_compile "$LINENO"; then : 12878 + if ac_fn_c_try_compile "$LINENO" 12879 + then : 12380 12880 xorg_cv_cc_flag_unused_command_line_argument=yes 12381 - else 12881 + else $as_nop 12382 12882 xorg_cv_cc_flag_unused_command_line_argument=no 12383 12883 fi 12384 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12884 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12385 12885 fi 12386 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12387 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12887 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12388 12888 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12389 12889 CFLAGS="$xorg_testset_save_CFLAGS" 12390 12890 fi ··· 12402 12902 12403 12903 CFLAGS="$CFLAGS -Wmissing-prototypes" 12404 12904 12405 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 12406 - $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; } 12905 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5 12906 + printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; } 12407 12907 cacheid=xorg_cv_cc_flag__Wmissing_prototypes 12408 - if eval \${$cacheid+:} false; then : 12409 - $as_echo_n "(cached) " >&6 12410 - else 12908 + if eval test \${$cacheid+y} 12909 + then : 12910 + printf %s "(cached) " >&6 12911 + else $as_nop 12411 12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12412 12913 /* end confdefs.h. */ 12413 12914 int i; 12414 12915 int 12415 - main () 12916 + main (void) 12416 12917 { 12417 12918 12418 12919 ; 12419 12920 return 0; 12420 12921 } 12421 12922 _ACEOF 12422 - if ac_fn_c_try_link "$LINENO"; then : 12923 + if ac_fn_c_try_link "$LINENO" 12924 + then : 12423 12925 eval $cacheid=yes 12424 - else 12926 + else $as_nop 12425 12927 eval $cacheid=no 12426 12928 fi 12427 - rm -f core conftest.err conftest.$ac_objext \ 12929 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12428 12930 conftest$ac_exeext conftest.$ac_ext 12429 12931 fi 12430 12932 ··· 12432 12934 CFLAGS="$xorg_testset_save_CFLAGS" 12433 12935 12434 12936 eval supported=\$$cacheid 12435 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12436 - $as_echo "$supported" >&6; } 12937 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12938 + printf "%s\n" "$supported" >&6; } 12437 12939 if test "$supported" = "yes" ; then 12438 12940 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes" 12439 12941 found="yes" ··· 12458 12960 12459 12961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12460 12962 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12461 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12462 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12463 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12464 - $as_echo_n "(cached) " >&6 12465 - else 12963 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12964 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12965 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 12966 + then : 12967 + printf %s "(cached) " >&6 12968 + else $as_nop 12466 12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12467 12970 /* end confdefs.h. */ 12468 12971 int i; 12469 12972 _ACEOF 12470 - if ac_fn_c_try_compile "$LINENO"; then : 12973 + if ac_fn_c_try_compile "$LINENO" 12974 + then : 12471 12975 xorg_cv_cc_flag_unknown_warning_option=yes 12472 - else 12976 + else $as_nop 12473 12977 xorg_cv_cc_flag_unknown_warning_option=no 12474 12978 fi 12475 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12979 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12476 12980 fi 12477 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12478 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12981 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12982 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12479 12983 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12480 12984 CFLAGS="$xorg_testset_save_CFLAGS" 12481 12985 fi ··· 12485 12989 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12486 12990 fi 12487 12991 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12488 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12489 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12490 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12491 - $as_echo_n "(cached) " >&6 12492 - else 12992 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12993 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12994 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 12995 + then : 12996 + printf %s "(cached) " >&6 12997 + else $as_nop 12493 12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12494 12999 /* end confdefs.h. */ 12495 13000 int i; 12496 13001 _ACEOF 12497 - if ac_fn_c_try_compile "$LINENO"; then : 13002 + if ac_fn_c_try_compile "$LINENO" 13003 + then : 12498 13004 xorg_cv_cc_flag_unused_command_line_argument=yes 12499 - else 13005 + else $as_nop 12500 13006 xorg_cv_cc_flag_unused_command_line_argument=no 12501 13007 fi 12502 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13008 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12503 13009 fi 12504 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12505 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13011 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12506 13012 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12507 13013 CFLAGS="$xorg_testset_save_CFLAGS" 12508 13014 fi ··· 12520 13026 12521 13027 CFLAGS="$CFLAGS -Wnested-externs" 12522 13028 12523 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 12524 - $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; } 13029 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5 13030 + printf %s "checking if $CC supports -Wnested-externs... " >&6; } 12525 13031 cacheid=xorg_cv_cc_flag__Wnested_externs 12526 - if eval \${$cacheid+:} false; then : 12527 - $as_echo_n "(cached) " >&6 12528 - else 13032 + if eval test \${$cacheid+y} 13033 + then : 13034 + printf %s "(cached) " >&6 13035 + else $as_nop 12529 13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12530 13037 /* end confdefs.h. */ 12531 13038 int i; 12532 13039 int 12533 - main () 13040 + main (void) 12534 13041 { 12535 13042 12536 13043 ; 12537 13044 return 0; 12538 13045 } 12539 13046 _ACEOF 12540 - if ac_fn_c_try_link "$LINENO"; then : 13047 + if ac_fn_c_try_link "$LINENO" 13048 + then : 12541 13049 eval $cacheid=yes 12542 - else 13050 + else $as_nop 12543 13051 eval $cacheid=no 12544 13052 fi 12545 - rm -f core conftest.err conftest.$ac_objext \ 13053 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12546 13054 conftest$ac_exeext conftest.$ac_ext 12547 13055 fi 12548 13056 ··· 12550 13058 CFLAGS="$xorg_testset_save_CFLAGS" 12551 13059 12552 13060 eval supported=\$$cacheid 12553 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12554 - $as_echo "$supported" >&6; } 13061 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13062 + printf "%s\n" "$supported" >&6; } 12555 13063 if test "$supported" = "yes" ; then 12556 13064 BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs" 12557 13065 found="yes" ··· 12576 13084 12577 13085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12578 13086 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12579 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12580 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12581 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12582 - $as_echo_n "(cached) " >&6 12583 - else 13087 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13088 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13089 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13090 + then : 13091 + printf %s "(cached) " >&6 13092 + else $as_nop 12584 13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12585 13094 /* end confdefs.h. */ 12586 13095 int i; 12587 13096 _ACEOF 12588 - if ac_fn_c_try_compile "$LINENO"; then : 13097 + if ac_fn_c_try_compile "$LINENO" 13098 + then : 12589 13099 xorg_cv_cc_flag_unknown_warning_option=yes 12590 - else 13100 + else $as_nop 12591 13101 xorg_cv_cc_flag_unknown_warning_option=no 12592 13102 fi 12593 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13103 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12594 13104 fi 12595 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12596 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13105 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13106 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12597 13107 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12598 13108 CFLAGS="$xorg_testset_save_CFLAGS" 12599 13109 fi ··· 12603 13113 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12604 13114 fi 12605 13115 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12606 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12607 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12608 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12609 - $as_echo_n "(cached) " >&6 12610 - else 13116 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13117 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13118 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13119 + then : 13120 + printf %s "(cached) " >&6 13121 + else $as_nop 12611 13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12612 13123 /* end confdefs.h. */ 12613 13124 int i; 12614 13125 _ACEOF 12615 - if ac_fn_c_try_compile "$LINENO"; then : 13126 + if ac_fn_c_try_compile "$LINENO" 13127 + then : 12616 13128 xorg_cv_cc_flag_unused_command_line_argument=yes 12617 - else 13129 + else $as_nop 12618 13130 xorg_cv_cc_flag_unused_command_line_argument=no 12619 13131 fi 12620 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13132 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12621 13133 fi 12622 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12623 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13134 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13135 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12624 13136 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12625 13137 CFLAGS="$xorg_testset_save_CFLAGS" 12626 13138 fi ··· 12638 13150 12639 13151 CFLAGS="$CFLAGS -Wbad-function-cast" 12640 13152 12641 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 12642 - $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; } 13153 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5 13154 + printf %s "checking if $CC supports -Wbad-function-cast... " >&6; } 12643 13155 cacheid=xorg_cv_cc_flag__Wbad_function_cast 12644 - if eval \${$cacheid+:} false; then : 12645 - $as_echo_n "(cached) " >&6 12646 - else 13156 + if eval test \${$cacheid+y} 13157 + then : 13158 + printf %s "(cached) " >&6 13159 + else $as_nop 12647 13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12648 13161 /* end confdefs.h. */ 12649 13162 int i; 12650 13163 int 12651 - main () 13164 + main (void) 12652 13165 { 12653 13166 12654 13167 ; 12655 13168 return 0; 12656 13169 } 12657 13170 _ACEOF 12658 - if ac_fn_c_try_link "$LINENO"; then : 13171 + if ac_fn_c_try_link "$LINENO" 13172 + then : 12659 13173 eval $cacheid=yes 12660 - else 13174 + else $as_nop 12661 13175 eval $cacheid=no 12662 13176 fi 12663 - rm -f core conftest.err conftest.$ac_objext \ 13177 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12664 13178 conftest$ac_exeext conftest.$ac_ext 12665 13179 fi 12666 13180 ··· 12668 13182 CFLAGS="$xorg_testset_save_CFLAGS" 12669 13183 12670 13184 eval supported=\$$cacheid 12671 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12672 - $as_echo "$supported" >&6; } 13185 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13186 + printf "%s\n" "$supported" >&6; } 12673 13187 if test "$supported" = "yes" ; then 12674 13188 BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast" 12675 13189 found="yes" ··· 12694 13208 12695 13209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12696 13210 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12697 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12698 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12699 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12700 - $as_echo_n "(cached) " >&6 12701 - else 13211 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13212 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13213 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13214 + then : 13215 + printf %s "(cached) " >&6 13216 + else $as_nop 12702 13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12703 13218 /* end confdefs.h. */ 12704 13219 int i; 12705 13220 _ACEOF 12706 - if ac_fn_c_try_compile "$LINENO"; then : 13221 + if ac_fn_c_try_compile "$LINENO" 13222 + then : 12707 13223 xorg_cv_cc_flag_unknown_warning_option=yes 12708 - else 13224 + else $as_nop 12709 13225 xorg_cv_cc_flag_unknown_warning_option=no 12710 13226 fi 12711 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13227 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12712 13228 fi 12713 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12714 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13229 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13230 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12715 13231 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12716 13232 CFLAGS="$xorg_testset_save_CFLAGS" 12717 13233 fi ··· 12721 13237 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12722 13238 fi 12723 13239 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12724 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12725 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12726 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12727 - $as_echo_n "(cached) " >&6 12728 - else 13240 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13241 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13242 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13243 + then : 13244 + printf %s "(cached) " >&6 13245 + else $as_nop 12729 13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12730 13247 /* end confdefs.h. */ 12731 13248 int i; 12732 13249 _ACEOF 12733 - if ac_fn_c_try_compile "$LINENO"; then : 13250 + if ac_fn_c_try_compile "$LINENO" 13251 + then : 12734 13252 xorg_cv_cc_flag_unused_command_line_argument=yes 12735 - else 13253 + else $as_nop 12736 13254 xorg_cv_cc_flag_unused_command_line_argument=no 12737 13255 fi 12738 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13256 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12739 13257 fi 12740 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12741 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13258 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13259 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12742 13260 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12743 13261 CFLAGS="$xorg_testset_save_CFLAGS" 12744 13262 fi ··· 12756 13274 12757 13275 CFLAGS="$CFLAGS -Wold-style-definition" 12758 13276 12759 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 12760 - $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; } 13277 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5 13278 + printf %s "checking if $CC supports -Wold-style-definition... " >&6; } 12761 13279 cacheid=xorg_cv_cc_flag__Wold_style_definition 12762 - if eval \${$cacheid+:} false; then : 12763 - $as_echo_n "(cached) " >&6 12764 - else 13280 + if eval test \${$cacheid+y} 13281 + then : 13282 + printf %s "(cached) " >&6 13283 + else $as_nop 12765 13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12766 13285 /* end confdefs.h. */ 12767 13286 int i; 12768 13287 int 12769 - main () 13288 + main (void) 12770 13289 { 12771 13290 12772 13291 ; 12773 13292 return 0; 12774 13293 } 12775 13294 _ACEOF 12776 - if ac_fn_c_try_link "$LINENO"; then : 13295 + if ac_fn_c_try_link "$LINENO" 13296 + then : 12777 13297 eval $cacheid=yes 12778 - else 13298 + else $as_nop 12779 13299 eval $cacheid=no 12780 13300 fi 12781 - rm -f core conftest.err conftest.$ac_objext \ 13301 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12782 13302 conftest$ac_exeext conftest.$ac_ext 12783 13303 fi 12784 13304 ··· 12786 13306 CFLAGS="$xorg_testset_save_CFLAGS" 12787 13307 12788 13308 eval supported=\$$cacheid 12789 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12790 - $as_echo "$supported" >&6; } 13309 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13310 + printf "%s\n" "$supported" >&6; } 12791 13311 if test "$supported" = "yes" ; then 12792 13312 BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition" 12793 13313 found="yes" ··· 12805 13325 12806 13326 CFLAGS="$CFLAGS -fd" 12807 13327 12808 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 12809 - $as_echo_n "checking if $CC supports -fd... " >&6; } 13328 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5 13329 + printf %s "checking if $CC supports -fd... " >&6; } 12810 13330 cacheid=xorg_cv_cc_flag__fd 12811 - if eval \${$cacheid+:} false; then : 12812 - $as_echo_n "(cached) " >&6 12813 - else 13331 + if eval test \${$cacheid+y} 13332 + then : 13333 + printf %s "(cached) " >&6 13334 + else $as_nop 12814 13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12815 13336 /* end confdefs.h. */ 12816 13337 int i; 12817 13338 int 12818 - main () 13339 + main (void) 12819 13340 { 12820 13341 12821 13342 ; 12822 13343 return 0; 12823 13344 } 12824 13345 _ACEOF 12825 - if ac_fn_c_try_link "$LINENO"; then : 13346 + if ac_fn_c_try_link "$LINENO" 13347 + then : 12826 13348 eval $cacheid=yes 12827 - else 13349 + else $as_nop 12828 13350 eval $cacheid=no 12829 13351 fi 12830 - rm -f core conftest.err conftest.$ac_objext \ 13352 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12831 13353 conftest$ac_exeext conftest.$ac_ext 12832 13354 fi 12833 13355 ··· 12835 13357 CFLAGS="$xorg_testset_save_CFLAGS" 12836 13358 12837 13359 eval supported=\$$cacheid 12838 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12839 - $as_echo "$supported" >&6; } 13360 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13361 + printf "%s\n" "$supported" >&6; } 12840 13362 if test "$supported" = "yes" ; then 12841 13363 BASE_CFLAGS="$BASE_CFLAGS -fd" 12842 13364 found="yes" ··· 12861 13383 12862 13384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12863 13385 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12864 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12865 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12866 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12867 - $as_echo_n "(cached) " >&6 12868 - else 13386 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13387 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13388 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13389 + then : 13390 + printf %s "(cached) " >&6 13391 + else $as_nop 12869 13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12870 13393 /* end confdefs.h. */ 12871 13394 int i; 12872 13395 _ACEOF 12873 - if ac_fn_c_try_compile "$LINENO"; then : 13396 + if ac_fn_c_try_compile "$LINENO" 13397 + then : 12874 13398 xorg_cv_cc_flag_unknown_warning_option=yes 12875 - else 13399 + else $as_nop 12876 13400 xorg_cv_cc_flag_unknown_warning_option=no 12877 13401 fi 12878 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13402 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12879 13403 fi 12880 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 12881 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13404 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13405 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 12882 13406 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 12883 13407 CFLAGS="$xorg_testset_save_CFLAGS" 12884 13408 fi ··· 12888 13412 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12889 13413 fi 12890 13414 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 12891 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 12892 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 12893 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 12894 - $as_echo_n "(cached) " >&6 12895 - else 13415 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13416 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13417 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13418 + then : 13419 + printf %s "(cached) " >&6 13420 + else $as_nop 12896 13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12897 13422 /* end confdefs.h. */ 12898 13423 int i; 12899 13424 _ACEOF 12900 - if ac_fn_c_try_compile "$LINENO"; then : 13425 + if ac_fn_c_try_compile "$LINENO" 13426 + then : 12901 13427 xorg_cv_cc_flag_unused_command_line_argument=yes 12902 - else 13428 + else $as_nop 12903 13429 xorg_cv_cc_flag_unused_command_line_argument=no 12904 13430 fi 12905 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13431 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 12906 13432 fi 12907 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 12908 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13433 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13434 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 12909 13435 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 12910 13436 CFLAGS="$xorg_testset_save_CFLAGS" 12911 13437 fi ··· 12923 13449 12924 13450 CFLAGS="$CFLAGS -Wdeclaration-after-statement" 12925 13451 12926 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 12927 - $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 13452 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5 13453 + printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; } 12928 13454 cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement 12929 - if eval \${$cacheid+:} false; then : 12930 - $as_echo_n "(cached) " >&6 12931 - else 13455 + if eval test \${$cacheid+y} 13456 + then : 13457 + printf %s "(cached) " >&6 13458 + else $as_nop 12932 13459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12933 13460 /* end confdefs.h. */ 12934 13461 int i; 12935 13462 int 12936 - main () 13463 + main (void) 12937 13464 { 12938 13465 12939 13466 ; 12940 13467 return 0; 12941 13468 } 12942 13469 _ACEOF 12943 - if ac_fn_c_try_link "$LINENO"; then : 13470 + if ac_fn_c_try_link "$LINENO" 13471 + then : 12944 13472 eval $cacheid=yes 12945 - else 13473 + else $as_nop 12946 13474 eval $cacheid=no 12947 13475 fi 12948 - rm -f core conftest.err conftest.$ac_objext \ 13476 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 12949 13477 conftest$ac_exeext conftest.$ac_ext 12950 13478 fi 12951 13479 ··· 12953 13481 CFLAGS="$xorg_testset_save_CFLAGS" 12954 13482 12955 13483 eval supported=\$$cacheid 12956 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 12957 - $as_echo "$supported" >&6; } 13484 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13485 + printf "%s\n" "$supported" >&6; } 12958 13486 if test "$supported" = "yes" ; then 12959 13487 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement" 12960 13488 found="yes" ··· 12983 13511 12984 13512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 12985 13513 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 12986 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 12987 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 12988 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 12989 - $as_echo_n "(cached) " >&6 12990 - else 13514 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13515 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13516 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13517 + then : 13518 + printf %s "(cached) " >&6 13519 + else $as_nop 12991 13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12992 13521 /* end confdefs.h. */ 12993 13522 int i; 12994 13523 _ACEOF 12995 - if ac_fn_c_try_compile "$LINENO"; then : 13524 + if ac_fn_c_try_compile "$LINENO" 13525 + then : 12996 13526 xorg_cv_cc_flag_unknown_warning_option=yes 12997 - else 13527 + else $as_nop 12998 13528 xorg_cv_cc_flag_unknown_warning_option=no 12999 13529 fi 13000 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13530 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13001 13531 fi 13002 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13003 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13532 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13533 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13004 13534 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13005 13535 CFLAGS="$xorg_testset_save_CFLAGS" 13006 13536 fi ··· 13010 13540 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13011 13541 fi 13012 13542 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13013 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13014 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13015 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13016 - $as_echo_n "(cached) " >&6 13017 - else 13543 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13544 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13545 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13546 + then : 13547 + printf %s "(cached) " >&6 13548 + else $as_nop 13018 13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13019 13550 /* end confdefs.h. */ 13020 13551 int i; 13021 13552 _ACEOF 13022 - if ac_fn_c_try_compile "$LINENO"; then : 13553 + if ac_fn_c_try_compile "$LINENO" 13554 + then : 13023 13555 xorg_cv_cc_flag_unused_command_line_argument=yes 13024 - else 13556 + else $as_nop 13025 13557 xorg_cv_cc_flag_unused_command_line_argument=no 13026 13558 fi 13027 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13559 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13028 13560 fi 13029 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13030 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13561 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13562 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13031 13563 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13032 13564 CFLAGS="$xorg_testset_save_CFLAGS" 13033 13565 fi ··· 13045 13577 13046 13578 CFLAGS="$CFLAGS -Wunused" 13047 13579 13048 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 13049 - $as_echo_n "checking if $CC supports -Wunused... " >&6; } 13580 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5 13581 + printf %s "checking if $CC supports -Wunused... " >&6; } 13050 13582 cacheid=xorg_cv_cc_flag__Wunused 13051 - if eval \${$cacheid+:} false; then : 13052 - $as_echo_n "(cached) " >&6 13053 - else 13583 + if eval test \${$cacheid+y} 13584 + then : 13585 + printf %s "(cached) " >&6 13586 + else $as_nop 13054 13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13055 13588 /* end confdefs.h. */ 13056 13589 int i; 13057 13590 int 13058 - main () 13591 + main (void) 13059 13592 { 13060 13593 13061 13594 ; 13062 13595 return 0; 13063 13596 } 13064 13597 _ACEOF 13065 - if ac_fn_c_try_link "$LINENO"; then : 13598 + if ac_fn_c_try_link "$LINENO" 13599 + then : 13066 13600 eval $cacheid=yes 13067 - else 13601 + else $as_nop 13068 13602 eval $cacheid=no 13069 13603 fi 13070 - rm -f core conftest.err conftest.$ac_objext \ 13604 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13071 13605 conftest$ac_exeext conftest.$ac_ext 13072 13606 fi 13073 13607 ··· 13075 13609 CFLAGS="$xorg_testset_save_CFLAGS" 13076 13610 13077 13611 eval supported=\$$cacheid 13078 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13079 - $as_echo "$supported" >&6; } 13612 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13613 + printf "%s\n" "$supported" >&6; } 13080 13614 if test "$supported" = "yes" ; then 13081 13615 BASE_CFLAGS="$BASE_CFLAGS -Wunused" 13082 13616 found="yes" ··· 13101 13635 13102 13636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13103 13637 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13104 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13105 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13106 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13107 - $as_echo_n "(cached) " >&6 13108 - else 13638 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13639 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13640 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13641 + then : 13642 + printf %s "(cached) " >&6 13643 + else $as_nop 13109 13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13110 13645 /* end confdefs.h. */ 13111 13646 int i; 13112 13647 _ACEOF 13113 - if ac_fn_c_try_compile "$LINENO"; then : 13648 + if ac_fn_c_try_compile "$LINENO" 13649 + then : 13114 13650 xorg_cv_cc_flag_unknown_warning_option=yes 13115 - else 13651 + else $as_nop 13116 13652 xorg_cv_cc_flag_unknown_warning_option=no 13117 13653 fi 13118 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13654 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13119 13655 fi 13120 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13121 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13656 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13657 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13122 13658 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13123 13659 CFLAGS="$xorg_testset_save_CFLAGS" 13124 13660 fi ··· 13128 13664 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13129 13665 fi 13130 13666 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13131 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13132 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13133 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13134 - $as_echo_n "(cached) " >&6 13135 - else 13667 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13668 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13669 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13670 + then : 13671 + printf %s "(cached) " >&6 13672 + else $as_nop 13136 13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13137 13674 /* end confdefs.h. */ 13138 13675 int i; 13139 13676 _ACEOF 13140 - if ac_fn_c_try_compile "$LINENO"; then : 13677 + if ac_fn_c_try_compile "$LINENO" 13678 + then : 13141 13679 xorg_cv_cc_flag_unused_command_line_argument=yes 13142 - else 13680 + else $as_nop 13143 13681 xorg_cv_cc_flag_unused_command_line_argument=no 13144 13682 fi 13145 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13683 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13146 13684 fi 13147 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13148 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13686 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13149 13687 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13150 13688 CFLAGS="$xorg_testset_save_CFLAGS" 13151 13689 fi ··· 13163 13701 13164 13702 CFLAGS="$CFLAGS -Wuninitialized" 13165 13703 13166 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 13167 - $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } 13704 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5 13705 + printf %s "checking if $CC supports -Wuninitialized... " >&6; } 13168 13706 cacheid=xorg_cv_cc_flag__Wuninitialized 13169 - if eval \${$cacheid+:} false; then : 13170 - $as_echo_n "(cached) " >&6 13171 - else 13707 + if eval test \${$cacheid+y} 13708 + then : 13709 + printf %s "(cached) " >&6 13710 + else $as_nop 13172 13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13173 13712 /* end confdefs.h. */ 13174 13713 int i; 13175 13714 int 13176 - main () 13715 + main (void) 13177 13716 { 13178 13717 13179 13718 ; 13180 13719 return 0; 13181 13720 } 13182 13721 _ACEOF 13183 - if ac_fn_c_try_link "$LINENO"; then : 13722 + if ac_fn_c_try_link "$LINENO" 13723 + then : 13184 13724 eval $cacheid=yes 13185 - else 13725 + else $as_nop 13186 13726 eval $cacheid=no 13187 13727 fi 13188 - rm -f core conftest.err conftest.$ac_objext \ 13728 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13189 13729 conftest$ac_exeext conftest.$ac_ext 13190 13730 fi 13191 13731 ··· 13193 13733 CFLAGS="$xorg_testset_save_CFLAGS" 13194 13734 13195 13735 eval supported=\$$cacheid 13196 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13197 - $as_echo "$supported" >&6; } 13736 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13737 + printf "%s\n" "$supported" >&6; } 13198 13738 if test "$supported" = "yes" ; then 13199 13739 BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized" 13200 13740 found="yes" ··· 13219 13759 13220 13760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13221 13761 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13222 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13223 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13224 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13225 - $as_echo_n "(cached) " >&6 13226 - else 13762 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13763 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13764 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13765 + then : 13766 + printf %s "(cached) " >&6 13767 + else $as_nop 13227 13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13228 13769 /* end confdefs.h. */ 13229 13770 int i; 13230 13771 _ACEOF 13231 - if ac_fn_c_try_compile "$LINENO"; then : 13772 + if ac_fn_c_try_compile "$LINENO" 13773 + then : 13232 13774 xorg_cv_cc_flag_unknown_warning_option=yes 13233 - else 13775 + else $as_nop 13234 13776 xorg_cv_cc_flag_unknown_warning_option=no 13235 13777 fi 13236 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13778 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13237 13779 fi 13238 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13239 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13780 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13781 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13240 13782 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13241 13783 CFLAGS="$xorg_testset_save_CFLAGS" 13242 13784 fi ··· 13246 13788 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13247 13789 fi 13248 13790 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13249 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13250 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13251 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13252 - $as_echo_n "(cached) " >&6 13253 - else 13791 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13792 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13793 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13794 + then : 13795 + printf %s "(cached) " >&6 13796 + else $as_nop 13254 13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13255 13798 /* end confdefs.h. */ 13256 13799 int i; 13257 13800 _ACEOF 13258 - if ac_fn_c_try_compile "$LINENO"; then : 13801 + if ac_fn_c_try_compile "$LINENO" 13802 + then : 13259 13803 xorg_cv_cc_flag_unused_command_line_argument=yes 13260 - else 13804 + else $as_nop 13261 13805 xorg_cv_cc_flag_unused_command_line_argument=no 13262 13806 fi 13263 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13807 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13264 13808 fi 13265 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13266 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13809 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13810 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13267 13811 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13268 13812 CFLAGS="$xorg_testset_save_CFLAGS" 13269 13813 fi ··· 13281 13825 13282 13826 CFLAGS="$CFLAGS -Wshadow" 13283 13827 13284 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 13285 - $as_echo_n "checking if $CC supports -Wshadow... " >&6; } 13828 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5 13829 + printf %s "checking if $CC supports -Wshadow... " >&6; } 13286 13830 cacheid=xorg_cv_cc_flag__Wshadow 13287 - if eval \${$cacheid+:} false; then : 13288 - $as_echo_n "(cached) " >&6 13289 - else 13831 + if eval test \${$cacheid+y} 13832 + then : 13833 + printf %s "(cached) " >&6 13834 + else $as_nop 13290 13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13291 13836 /* end confdefs.h. */ 13292 13837 int i; 13293 13838 int 13294 - main () 13839 + main (void) 13295 13840 { 13296 13841 13297 13842 ; 13298 13843 return 0; 13299 13844 } 13300 13845 _ACEOF 13301 - if ac_fn_c_try_link "$LINENO"; then : 13846 + if ac_fn_c_try_link "$LINENO" 13847 + then : 13302 13848 eval $cacheid=yes 13303 - else 13849 + else $as_nop 13304 13850 eval $cacheid=no 13305 13851 fi 13306 - rm -f core conftest.err conftest.$ac_objext \ 13852 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13307 13853 conftest$ac_exeext conftest.$ac_ext 13308 13854 fi 13309 13855 ··· 13311 13857 CFLAGS="$xorg_testset_save_CFLAGS" 13312 13858 13313 13859 eval supported=\$$cacheid 13314 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13315 - $as_echo "$supported" >&6; } 13860 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13861 + printf "%s\n" "$supported" >&6; } 13316 13862 if test "$supported" = "yes" ; then 13317 13863 BASE_CFLAGS="$BASE_CFLAGS -Wshadow" 13318 13864 found="yes" ··· 13337 13883 13338 13884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13339 13885 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13340 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13341 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13342 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13343 - $as_echo_n "(cached) " >&6 13344 - else 13886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13887 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13888 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 13889 + then : 13890 + printf %s "(cached) " >&6 13891 + else $as_nop 13345 13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13346 13893 /* end confdefs.h. */ 13347 13894 int i; 13348 13895 _ACEOF 13349 - if ac_fn_c_try_compile "$LINENO"; then : 13896 + if ac_fn_c_try_compile "$LINENO" 13897 + then : 13350 13898 xorg_cv_cc_flag_unknown_warning_option=yes 13351 - else 13899 + else $as_nop 13352 13900 xorg_cv_cc_flag_unknown_warning_option=no 13353 13901 fi 13354 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13902 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13355 13903 fi 13356 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13357 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13904 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13905 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13358 13906 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13359 13907 CFLAGS="$xorg_testset_save_CFLAGS" 13360 13908 fi ··· 13364 13912 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13365 13913 fi 13366 13914 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13367 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13368 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13369 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13370 - $as_echo_n "(cached) " >&6 13371 - else 13915 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13916 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13917 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 13918 + then : 13919 + printf %s "(cached) " >&6 13920 + else $as_nop 13372 13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13373 13922 /* end confdefs.h. */ 13374 13923 int i; 13375 13924 _ACEOF 13376 - if ac_fn_c_try_compile "$LINENO"; then : 13925 + if ac_fn_c_try_compile "$LINENO" 13926 + then : 13377 13927 xorg_cv_cc_flag_unused_command_line_argument=yes 13378 - else 13928 + else $as_nop 13379 13929 xorg_cv_cc_flag_unused_command_line_argument=no 13380 13930 fi 13381 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13931 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13382 13932 fi 13383 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13384 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13933 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13934 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13385 13935 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13386 13936 CFLAGS="$xorg_testset_save_CFLAGS" 13387 13937 fi ··· 13399 13949 13400 13950 CFLAGS="$CFLAGS -Wmissing-noreturn" 13401 13951 13402 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 13403 - $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; } 13952 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5 13953 + printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; } 13404 13954 cacheid=xorg_cv_cc_flag__Wmissing_noreturn 13405 - if eval \${$cacheid+:} false; then : 13406 - $as_echo_n "(cached) " >&6 13407 - else 13955 + if eval test \${$cacheid+y} 13956 + then : 13957 + printf %s "(cached) " >&6 13958 + else $as_nop 13408 13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13409 13960 /* end confdefs.h. */ 13410 13961 int i; 13411 13962 int 13412 - main () 13963 + main (void) 13413 13964 { 13414 13965 13415 13966 ; 13416 13967 return 0; 13417 13968 } 13418 13969 _ACEOF 13419 - if ac_fn_c_try_link "$LINENO"; then : 13970 + if ac_fn_c_try_link "$LINENO" 13971 + then : 13420 13972 eval $cacheid=yes 13421 - else 13973 + else $as_nop 13422 13974 eval $cacheid=no 13423 13975 fi 13424 - rm -f core conftest.err conftest.$ac_objext \ 13976 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13425 13977 conftest$ac_exeext conftest.$ac_ext 13426 13978 fi 13427 13979 ··· 13429 13981 CFLAGS="$xorg_testset_save_CFLAGS" 13430 13982 13431 13983 eval supported=\$$cacheid 13432 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13433 - $as_echo "$supported" >&6; } 13984 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13985 + printf "%s\n" "$supported" >&6; } 13434 13986 if test "$supported" = "yes" ; then 13435 13987 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn" 13436 13988 found="yes" ··· 13455 14007 13456 14008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13457 14009 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13458 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13459 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13460 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13461 - $as_echo_n "(cached) " >&6 13462 - else 14010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14011 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14012 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14013 + then : 14014 + printf %s "(cached) " >&6 14015 + else $as_nop 13463 14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13464 14017 /* end confdefs.h. */ 13465 14018 int i; 13466 14019 _ACEOF 13467 - if ac_fn_c_try_compile "$LINENO"; then : 14020 + if ac_fn_c_try_compile "$LINENO" 14021 + then : 13468 14022 xorg_cv_cc_flag_unknown_warning_option=yes 13469 - else 14023 + else $as_nop 13470 14024 xorg_cv_cc_flag_unknown_warning_option=no 13471 14025 fi 13472 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14026 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13473 14027 fi 13474 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13475 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14028 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14029 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13476 14030 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13477 14031 CFLAGS="$xorg_testset_save_CFLAGS" 13478 14032 fi ··· 13482 14036 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13483 14037 fi 13484 14038 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13485 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13486 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13487 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13488 - $as_echo_n "(cached) " >&6 13489 - else 14039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14040 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14041 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14042 + then : 14043 + printf %s "(cached) " >&6 14044 + else $as_nop 13490 14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13491 14046 /* end confdefs.h. */ 13492 14047 int i; 13493 14048 _ACEOF 13494 - if ac_fn_c_try_compile "$LINENO"; then : 14049 + if ac_fn_c_try_compile "$LINENO" 14050 + then : 13495 14051 xorg_cv_cc_flag_unused_command_line_argument=yes 13496 - else 14052 + else $as_nop 13497 14053 xorg_cv_cc_flag_unused_command_line_argument=no 13498 14054 fi 13499 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14055 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13500 14056 fi 13501 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13502 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14057 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14058 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13503 14059 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13504 14060 CFLAGS="$xorg_testset_save_CFLAGS" 13505 14061 fi ··· 13517 14073 13518 14074 CFLAGS="$CFLAGS -Wmissing-format-attribute" 13519 14075 13520 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 13521 - $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; } 14076 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5 14077 + printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; } 13522 14078 cacheid=xorg_cv_cc_flag__Wmissing_format_attribute 13523 - if eval \${$cacheid+:} false; then : 13524 - $as_echo_n "(cached) " >&6 13525 - else 14079 + if eval test \${$cacheid+y} 14080 + then : 14081 + printf %s "(cached) " >&6 14082 + else $as_nop 13526 14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13527 14084 /* end confdefs.h. */ 13528 14085 int i; 13529 14086 int 13530 - main () 14087 + main (void) 13531 14088 { 13532 14089 13533 14090 ; 13534 14091 return 0; 13535 14092 } 13536 14093 _ACEOF 13537 - if ac_fn_c_try_link "$LINENO"; then : 14094 + if ac_fn_c_try_link "$LINENO" 14095 + then : 13538 14096 eval $cacheid=yes 13539 - else 14097 + else $as_nop 13540 14098 eval $cacheid=no 13541 14099 fi 13542 - rm -f core conftest.err conftest.$ac_objext \ 14100 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13543 14101 conftest$ac_exeext conftest.$ac_ext 13544 14102 fi 13545 14103 ··· 13547 14105 CFLAGS="$xorg_testset_save_CFLAGS" 13548 14106 13549 14107 eval supported=\$$cacheid 13550 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13551 - $as_echo "$supported" >&6; } 14108 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14109 + printf "%s\n" "$supported" >&6; } 13552 14110 if test "$supported" = "yes" ; then 13553 14111 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute" 13554 14112 found="yes" ··· 13574 14132 13575 14133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13576 14134 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13577 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13578 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13579 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13580 - $as_echo_n "(cached) " >&6 13581 - else 14135 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14136 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14137 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14138 + then : 14139 + printf %s "(cached) " >&6 14140 + else $as_nop 13582 14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13583 14142 /* end confdefs.h. */ 13584 14143 int i; 13585 14144 _ACEOF 13586 - if ac_fn_c_try_compile "$LINENO"; then : 14145 + if ac_fn_c_try_compile "$LINENO" 14146 + then : 13587 14147 xorg_cv_cc_flag_unknown_warning_option=yes 13588 - else 14148 + else $as_nop 13589 14149 xorg_cv_cc_flag_unknown_warning_option=no 13590 14150 fi 13591 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14151 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13592 14152 fi 13593 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13594 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14153 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14154 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13595 14155 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13596 14156 CFLAGS="$xorg_testset_save_CFLAGS" 13597 14157 fi ··· 13601 14161 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13602 14162 fi 13603 14163 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13604 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13605 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13606 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13607 - $as_echo_n "(cached) " >&6 13608 - else 14164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14165 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14166 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14167 + then : 14168 + printf %s "(cached) " >&6 14169 + else $as_nop 13609 14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13610 14171 /* end confdefs.h. */ 13611 14172 int i; 13612 14173 _ACEOF 13613 - if ac_fn_c_try_compile "$LINENO"; then : 14174 + if ac_fn_c_try_compile "$LINENO" 14175 + then : 13614 14176 xorg_cv_cc_flag_unused_command_line_argument=yes 13615 - else 14177 + else $as_nop 13616 14178 xorg_cv_cc_flag_unused_command_line_argument=no 13617 14179 fi 13618 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14180 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13619 14181 fi 13620 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13621 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14182 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14183 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13622 14184 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13623 14185 CFLAGS="$xorg_testset_save_CFLAGS" 13624 14186 fi ··· 13636 14198 13637 14199 CFLAGS="$CFLAGS -Wlogical-op" 13638 14200 13639 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 13640 - $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; } 14201 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5 14202 + printf %s "checking if $CC supports -Wlogical-op... " >&6; } 13641 14203 cacheid=xorg_cv_cc_flag__Wlogical_op 13642 - if eval \${$cacheid+:} false; then : 13643 - $as_echo_n "(cached) " >&6 13644 - else 14204 + if eval test \${$cacheid+y} 14205 + then : 14206 + printf %s "(cached) " >&6 14207 + else $as_nop 13645 14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13646 14209 /* end confdefs.h. */ 13647 14210 int i; 13648 14211 int 13649 - main () 14212 + main (void) 13650 14213 { 13651 14214 13652 14215 ; 13653 14216 return 0; 13654 14217 } 13655 14218 _ACEOF 13656 - if ac_fn_c_try_link "$LINENO"; then : 14219 + if ac_fn_c_try_link "$LINENO" 14220 + then : 13657 14221 eval $cacheid=yes 13658 - else 14222 + else $as_nop 13659 14223 eval $cacheid=no 13660 14224 fi 13661 - rm -f core conftest.err conftest.$ac_objext \ 14225 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13662 14226 conftest$ac_exeext conftest.$ac_ext 13663 14227 fi 13664 14228 ··· 13666 14230 CFLAGS="$xorg_testset_save_CFLAGS" 13667 14231 13668 14232 eval supported=\$$cacheid 13669 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13670 - $as_echo "$supported" >&6; } 14233 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14234 + printf "%s\n" "$supported" >&6; } 13671 14235 if test "$supported" = "yes" ; then 13672 14236 BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op" 13673 14237 found="yes" ··· 13683 14247 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 13684 14248 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 13685 14249 13686 - # Turn some warnings into errors, so we don't accidently get successful builds 14250 + # Turn some warnings into errors, so we don't accidentally get successful builds 13687 14251 # when there are problems that should be fixed. 13688 14252 13689 14253 if test "x$SELECTIVE_WERROR" = "xyes" ; then ··· 13704 14268 13705 14269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13706 14270 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13707 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13708 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13709 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13710 - $as_echo_n "(cached) " >&6 13711 - else 14271 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14272 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14273 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14274 + then : 14275 + printf %s "(cached) " >&6 14276 + else $as_nop 13712 14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13713 14278 /* end confdefs.h. */ 13714 14279 int i; 13715 14280 _ACEOF 13716 - if ac_fn_c_try_compile "$LINENO"; then : 14281 + if ac_fn_c_try_compile "$LINENO" 14282 + then : 13717 14283 xorg_cv_cc_flag_unknown_warning_option=yes 13718 - else 14284 + else $as_nop 13719 14285 xorg_cv_cc_flag_unknown_warning_option=no 13720 14286 fi 13721 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14287 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13722 14288 fi 13723 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13724 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14289 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14290 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13725 14291 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13726 14292 CFLAGS="$xorg_testset_save_CFLAGS" 13727 14293 fi ··· 13731 14297 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13732 14298 fi 13733 14299 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13734 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13735 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13736 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13737 - $as_echo_n "(cached) " >&6 13738 - else 14300 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14301 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14302 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14303 + then : 14304 + printf %s "(cached) " >&6 14305 + else $as_nop 13739 14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13740 14307 /* end confdefs.h. */ 13741 14308 int i; 13742 14309 _ACEOF 13743 - if ac_fn_c_try_compile "$LINENO"; then : 14310 + if ac_fn_c_try_compile "$LINENO" 14311 + then : 13744 14312 xorg_cv_cc_flag_unused_command_line_argument=yes 13745 - else 14313 + else $as_nop 13746 14314 xorg_cv_cc_flag_unused_command_line_argument=no 13747 14315 fi 13748 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14316 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13749 14317 fi 13750 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13751 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14318 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14319 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13752 14320 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13753 14321 CFLAGS="$xorg_testset_save_CFLAGS" 13754 14322 fi ··· 13766 14334 13767 14335 CFLAGS="$CFLAGS -Werror=implicit" 13768 14336 13769 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 13770 - $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; } 14337 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5 14338 + printf %s "checking if $CC supports -Werror=implicit... " >&6; } 13771 14339 cacheid=xorg_cv_cc_flag__Werror_implicit 13772 - if eval \${$cacheid+:} false; then : 13773 - $as_echo_n "(cached) " >&6 13774 - else 14340 + if eval test \${$cacheid+y} 14341 + then : 14342 + printf %s "(cached) " >&6 14343 + else $as_nop 13775 14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13776 14345 /* end confdefs.h. */ 13777 14346 int i; 13778 14347 int 13779 - main () 14348 + main (void) 13780 14349 { 13781 14350 13782 14351 ; 13783 14352 return 0; 13784 14353 } 13785 14354 _ACEOF 13786 - if ac_fn_c_try_link "$LINENO"; then : 14355 + if ac_fn_c_try_link "$LINENO" 14356 + then : 13787 14357 eval $cacheid=yes 13788 - else 14358 + else $as_nop 13789 14359 eval $cacheid=no 13790 14360 fi 13791 - rm -f core conftest.err conftest.$ac_objext \ 14361 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13792 14362 conftest$ac_exeext conftest.$ac_ext 13793 14363 fi 13794 14364 ··· 13796 14366 CFLAGS="$xorg_testset_save_CFLAGS" 13797 14367 13798 14368 eval supported=\$$cacheid 13799 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13800 - $as_echo "$supported" >&6; } 14369 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14370 + printf "%s\n" "$supported" >&6; } 13801 14371 if test "$supported" = "yes" ; then 13802 14372 BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit" 13803 14373 found="yes" ··· 13815 14385 13816 14386 CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 13817 14387 13818 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5 13819 - $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 14388 + { 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 14389 + printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; } 13820 14390 cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED 13821 - if eval \${$cacheid+:} false; then : 13822 - $as_echo_n "(cached) " >&6 13823 - else 14391 + if eval test \${$cacheid+y} 14392 + then : 14393 + printf %s "(cached) " >&6 14394 + else $as_nop 13824 14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13825 14396 /* end confdefs.h. */ 13826 14397 int i; 13827 14398 int 13828 - main () 14399 + main (void) 13829 14400 { 13830 14401 13831 14402 ; 13832 14403 return 0; 13833 14404 } 13834 14405 _ACEOF 13835 - if ac_fn_c_try_link "$LINENO"; then : 14406 + if ac_fn_c_try_link "$LINENO" 14407 + then : 13836 14408 eval $cacheid=yes 13837 - else 14409 + else $as_nop 13838 14410 eval $cacheid=no 13839 14411 fi 13840 - rm -f core conftest.err conftest.$ac_objext \ 14412 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13841 14413 conftest$ac_exeext conftest.$ac_ext 13842 14414 fi 13843 14415 ··· 13845 14417 CFLAGS="$xorg_testset_save_CFLAGS" 13846 14418 13847 14419 eval supported=\$$cacheid 13848 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13849 - $as_echo "$supported" >&6; } 14420 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14421 + printf "%s\n" "$supported" >&6; } 13850 14422 if test "$supported" = "yes" ; then 13851 14423 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" 13852 14424 found="yes" ··· 13871 14443 13872 14444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13873 14445 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13874 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13875 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13876 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13877 - $as_echo_n "(cached) " >&6 13878 - else 14446 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14447 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14448 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14449 + then : 14450 + printf %s "(cached) " >&6 14451 + else $as_nop 13879 14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13880 14453 /* end confdefs.h. */ 13881 14454 int i; 13882 14455 _ACEOF 13883 - if ac_fn_c_try_compile "$LINENO"; then : 14456 + if ac_fn_c_try_compile "$LINENO" 14457 + then : 13884 14458 xorg_cv_cc_flag_unknown_warning_option=yes 13885 - else 14459 + else $as_nop 13886 14460 xorg_cv_cc_flag_unknown_warning_option=no 13887 14461 fi 13888 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14462 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13889 14463 fi 13890 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 13891 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14464 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14465 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 13892 14466 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 13893 14467 CFLAGS="$xorg_testset_save_CFLAGS" 13894 14468 fi ··· 13898 14472 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13899 14473 fi 13900 14474 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 13901 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 13902 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 13903 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 13904 - $as_echo_n "(cached) " >&6 13905 - else 14475 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14476 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14477 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14478 + then : 14479 + printf %s "(cached) " >&6 14480 + else $as_nop 13906 14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13907 14482 /* end confdefs.h. */ 13908 14483 int i; 13909 14484 _ACEOF 13910 - if ac_fn_c_try_compile "$LINENO"; then : 14485 + if ac_fn_c_try_compile "$LINENO" 14486 + then : 13911 14487 xorg_cv_cc_flag_unused_command_line_argument=yes 13912 - else 14488 + else $as_nop 13913 14489 xorg_cv_cc_flag_unused_command_line_argument=no 13914 14490 fi 13915 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14491 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 13916 14492 fi 13917 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 13918 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14493 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14494 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 13919 14495 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 13920 14496 CFLAGS="$xorg_testset_save_CFLAGS" 13921 14497 fi ··· 13933 14509 13934 14510 CFLAGS="$CFLAGS -Werror=nonnull" 13935 14511 13936 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 13937 - $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; } 14512 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5 14513 + printf %s "checking if $CC supports -Werror=nonnull... " >&6; } 13938 14514 cacheid=xorg_cv_cc_flag__Werror_nonnull 13939 - if eval \${$cacheid+:} false; then : 13940 - $as_echo_n "(cached) " >&6 13941 - else 14515 + if eval test \${$cacheid+y} 14516 + then : 14517 + printf %s "(cached) " >&6 14518 + else $as_nop 13942 14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13943 14520 /* end confdefs.h. */ 13944 14521 int i; 13945 14522 int 13946 - main () 14523 + main (void) 13947 14524 { 13948 14525 13949 14526 ; 13950 14527 return 0; 13951 14528 } 13952 14529 _ACEOF 13953 - if ac_fn_c_try_link "$LINENO"; then : 14530 + if ac_fn_c_try_link "$LINENO" 14531 + then : 13954 14532 eval $cacheid=yes 13955 - else 14533 + else $as_nop 13956 14534 eval $cacheid=no 13957 14535 fi 13958 - rm -f core conftest.err conftest.$ac_objext \ 14536 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 13959 14537 conftest$ac_exeext conftest.$ac_ext 13960 14538 fi 13961 14539 ··· 13963 14541 CFLAGS="$xorg_testset_save_CFLAGS" 13964 14542 13965 14543 eval supported=\$$cacheid 13966 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 13967 - $as_echo "$supported" >&6; } 14544 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14545 + printf "%s\n" "$supported" >&6; } 13968 14546 if test "$supported" = "yes" ; then 13969 14547 BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull" 13970 14548 found="yes" ··· 13989 14567 13990 14568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 13991 14569 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 13992 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 13993 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 13994 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 13995 - $as_echo_n "(cached) " >&6 13996 - else 14570 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14571 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14572 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14573 + then : 14574 + printf %s "(cached) " >&6 14575 + else $as_nop 13997 14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13998 14577 /* end confdefs.h. */ 13999 14578 int i; 14000 14579 _ACEOF 14001 - if ac_fn_c_try_compile "$LINENO"; then : 14580 + if ac_fn_c_try_compile "$LINENO" 14581 + then : 14002 14582 xorg_cv_cc_flag_unknown_warning_option=yes 14003 - else 14583 + else $as_nop 14004 14584 xorg_cv_cc_flag_unknown_warning_option=no 14005 14585 fi 14006 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14586 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14007 14587 fi 14008 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14009 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14588 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14589 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14010 14590 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14011 14591 CFLAGS="$xorg_testset_save_CFLAGS" 14012 14592 fi ··· 14016 14596 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14017 14597 fi 14018 14598 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14019 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14020 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14021 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14022 - $as_echo_n "(cached) " >&6 14023 - else 14599 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14600 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14601 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14602 + then : 14603 + printf %s "(cached) " >&6 14604 + else $as_nop 14024 14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14025 14606 /* end confdefs.h. */ 14026 14607 int i; 14027 14608 _ACEOF 14028 - if ac_fn_c_try_compile "$LINENO"; then : 14609 + if ac_fn_c_try_compile "$LINENO" 14610 + then : 14029 14611 xorg_cv_cc_flag_unused_command_line_argument=yes 14030 - else 14612 + else $as_nop 14031 14613 xorg_cv_cc_flag_unused_command_line_argument=no 14032 14614 fi 14033 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14615 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14034 14616 fi 14035 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14036 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14617 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14618 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14037 14619 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14038 14620 CFLAGS="$xorg_testset_save_CFLAGS" 14039 14621 fi ··· 14051 14633 14052 14634 CFLAGS="$CFLAGS -Werror=init-self" 14053 14635 14054 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 14055 - $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; } 14636 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5 14637 + printf %s "checking if $CC supports -Werror=init-self... " >&6; } 14056 14638 cacheid=xorg_cv_cc_flag__Werror_init_self 14057 - if eval \${$cacheid+:} false; then : 14058 - $as_echo_n "(cached) " >&6 14059 - else 14639 + if eval test \${$cacheid+y} 14640 + then : 14641 + printf %s "(cached) " >&6 14642 + else $as_nop 14060 14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14061 14644 /* end confdefs.h. */ 14062 14645 int i; 14063 14646 int 14064 - main () 14647 + main (void) 14065 14648 { 14066 14649 14067 14650 ; 14068 14651 return 0; 14069 14652 } 14070 14653 _ACEOF 14071 - if ac_fn_c_try_link "$LINENO"; then : 14654 + if ac_fn_c_try_link "$LINENO" 14655 + then : 14072 14656 eval $cacheid=yes 14073 - else 14657 + else $as_nop 14074 14658 eval $cacheid=no 14075 14659 fi 14076 - rm -f core conftest.err conftest.$ac_objext \ 14660 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14077 14661 conftest$ac_exeext conftest.$ac_ext 14078 14662 fi 14079 14663 ··· 14081 14665 CFLAGS="$xorg_testset_save_CFLAGS" 14082 14666 14083 14667 eval supported=\$$cacheid 14084 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14085 - $as_echo "$supported" >&6; } 14668 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14669 + printf "%s\n" "$supported" >&6; } 14086 14670 if test "$supported" = "yes" ; then 14087 14671 BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self" 14088 14672 found="yes" ··· 14107 14691 14108 14692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14109 14693 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14110 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14111 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14112 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14113 - $as_echo_n "(cached) " >&6 14114 - else 14694 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14695 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14696 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14697 + then : 14698 + printf %s "(cached) " >&6 14699 + else $as_nop 14115 14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14116 14701 /* end confdefs.h. */ 14117 14702 int i; 14118 14703 _ACEOF 14119 - if ac_fn_c_try_compile "$LINENO"; then : 14704 + if ac_fn_c_try_compile "$LINENO" 14705 + then : 14120 14706 xorg_cv_cc_flag_unknown_warning_option=yes 14121 - else 14707 + else $as_nop 14122 14708 xorg_cv_cc_flag_unknown_warning_option=no 14123 14709 fi 14124 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14710 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14125 14711 fi 14126 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14127 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14712 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14713 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14128 14714 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14129 14715 CFLAGS="$xorg_testset_save_CFLAGS" 14130 14716 fi ··· 14134 14720 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14135 14721 fi 14136 14722 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14137 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14138 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14139 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14140 - $as_echo_n "(cached) " >&6 14141 - else 14723 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14724 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14725 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14726 + then : 14727 + printf %s "(cached) " >&6 14728 + else $as_nop 14142 14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14143 14730 /* end confdefs.h. */ 14144 14731 int i; 14145 14732 _ACEOF 14146 - if ac_fn_c_try_compile "$LINENO"; then : 14733 + if ac_fn_c_try_compile "$LINENO" 14734 + then : 14147 14735 xorg_cv_cc_flag_unused_command_line_argument=yes 14148 - else 14736 + else $as_nop 14149 14737 xorg_cv_cc_flag_unused_command_line_argument=no 14150 14738 fi 14151 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14739 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14152 14740 fi 14153 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14154 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14741 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14742 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14155 14743 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14156 14744 CFLAGS="$xorg_testset_save_CFLAGS" 14157 14745 fi ··· 14169 14757 14170 14758 CFLAGS="$CFLAGS -Werror=main" 14171 14759 14172 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 14173 - $as_echo_n "checking if $CC supports -Werror=main... " >&6; } 14760 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5 14761 + printf %s "checking if $CC supports -Werror=main... " >&6; } 14174 14762 cacheid=xorg_cv_cc_flag__Werror_main 14175 - if eval \${$cacheid+:} false; then : 14176 - $as_echo_n "(cached) " >&6 14177 - else 14763 + if eval test \${$cacheid+y} 14764 + then : 14765 + printf %s "(cached) " >&6 14766 + else $as_nop 14178 14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14179 14768 /* end confdefs.h. */ 14180 14769 int i; 14181 14770 int 14182 - main () 14771 + main (void) 14183 14772 { 14184 14773 14185 14774 ; 14186 14775 return 0; 14187 14776 } 14188 14777 _ACEOF 14189 - if ac_fn_c_try_link "$LINENO"; then : 14778 + if ac_fn_c_try_link "$LINENO" 14779 + then : 14190 14780 eval $cacheid=yes 14191 - else 14781 + else $as_nop 14192 14782 eval $cacheid=no 14193 14783 fi 14194 - rm -f core conftest.err conftest.$ac_objext \ 14784 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14195 14785 conftest$ac_exeext conftest.$ac_ext 14196 14786 fi 14197 14787 ··· 14199 14789 CFLAGS="$xorg_testset_save_CFLAGS" 14200 14790 14201 14791 eval supported=\$$cacheid 14202 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14203 - $as_echo "$supported" >&6; } 14792 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14793 + printf "%s\n" "$supported" >&6; } 14204 14794 if test "$supported" = "yes" ; then 14205 14795 BASE_CFLAGS="$BASE_CFLAGS -Werror=main" 14206 14796 found="yes" ··· 14225 14815 14226 14816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14227 14817 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14228 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14229 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14230 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14231 - $as_echo_n "(cached) " >&6 14232 - else 14818 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14819 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14820 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14821 + then : 14822 + printf %s "(cached) " >&6 14823 + else $as_nop 14233 14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14234 14825 /* end confdefs.h. */ 14235 14826 int i; 14236 14827 _ACEOF 14237 - if ac_fn_c_try_compile "$LINENO"; then : 14828 + if ac_fn_c_try_compile "$LINENO" 14829 + then : 14238 14830 xorg_cv_cc_flag_unknown_warning_option=yes 14239 - else 14831 + else $as_nop 14240 14832 xorg_cv_cc_flag_unknown_warning_option=no 14241 14833 fi 14242 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14834 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14243 14835 fi 14244 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14245 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14836 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14837 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14246 14838 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14247 14839 CFLAGS="$xorg_testset_save_CFLAGS" 14248 14840 fi ··· 14252 14844 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14253 14845 fi 14254 14846 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14255 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14256 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14257 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14258 - $as_echo_n "(cached) " >&6 14259 - else 14847 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14848 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14849 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14850 + then : 14851 + printf %s "(cached) " >&6 14852 + else $as_nop 14260 14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14261 14854 /* end confdefs.h. */ 14262 14855 int i; 14263 14856 _ACEOF 14264 - if ac_fn_c_try_compile "$LINENO"; then : 14857 + if ac_fn_c_try_compile "$LINENO" 14858 + then : 14265 14859 xorg_cv_cc_flag_unused_command_line_argument=yes 14266 - else 14860 + else $as_nop 14267 14861 xorg_cv_cc_flag_unused_command_line_argument=no 14268 14862 fi 14269 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14863 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14270 14864 fi 14271 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14272 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14865 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14866 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14273 14867 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14274 14868 CFLAGS="$xorg_testset_save_CFLAGS" 14275 14869 fi ··· 14287 14881 14288 14882 CFLAGS="$CFLAGS -Werror=missing-braces" 14289 14883 14290 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 14291 - $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; } 14884 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5 14885 + printf %s "checking if $CC supports -Werror=missing-braces... " >&6; } 14292 14886 cacheid=xorg_cv_cc_flag__Werror_missing_braces 14293 - if eval \${$cacheid+:} false; then : 14294 - $as_echo_n "(cached) " >&6 14295 - else 14887 + if eval test \${$cacheid+y} 14888 + then : 14889 + printf %s "(cached) " >&6 14890 + else $as_nop 14296 14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14297 14892 /* end confdefs.h. */ 14298 14893 int i; 14299 14894 int 14300 - main () 14895 + main (void) 14301 14896 { 14302 14897 14303 14898 ; 14304 14899 return 0; 14305 14900 } 14306 14901 _ACEOF 14307 - if ac_fn_c_try_link "$LINENO"; then : 14902 + if ac_fn_c_try_link "$LINENO" 14903 + then : 14308 14904 eval $cacheid=yes 14309 - else 14905 + else $as_nop 14310 14906 eval $cacheid=no 14311 14907 fi 14312 - rm -f core conftest.err conftest.$ac_objext \ 14908 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14313 14909 conftest$ac_exeext conftest.$ac_ext 14314 14910 fi 14315 14911 ··· 14317 14913 CFLAGS="$xorg_testset_save_CFLAGS" 14318 14914 14319 14915 eval supported=\$$cacheid 14320 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14321 - $as_echo "$supported" >&6; } 14916 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14917 + printf "%s\n" "$supported" >&6; } 14322 14918 if test "$supported" = "yes" ; then 14323 14919 BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces" 14324 14920 found="yes" ··· 14343 14939 14344 14940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14345 14941 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14346 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14347 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14348 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14349 - $as_echo_n "(cached) " >&6 14350 - else 14942 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14943 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14944 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 14945 + then : 14946 + printf %s "(cached) " >&6 14947 + else $as_nop 14351 14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14352 14949 /* end confdefs.h. */ 14353 14950 int i; 14354 14951 _ACEOF 14355 - if ac_fn_c_try_compile "$LINENO"; then : 14952 + if ac_fn_c_try_compile "$LINENO" 14953 + then : 14356 14954 xorg_cv_cc_flag_unknown_warning_option=yes 14357 - else 14955 + else $as_nop 14358 14956 xorg_cv_cc_flag_unknown_warning_option=no 14359 14957 fi 14360 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14958 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14361 14959 fi 14362 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14363 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14960 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14961 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14364 14962 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14365 14963 CFLAGS="$xorg_testset_save_CFLAGS" 14366 14964 fi ··· 14370 14968 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14371 14969 fi 14372 14970 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14373 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14374 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14375 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14376 - $as_echo_n "(cached) " >&6 14377 - else 14971 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14972 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14973 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 14974 + then : 14975 + printf %s "(cached) " >&6 14976 + else $as_nop 14378 14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14379 14978 /* end confdefs.h. */ 14380 14979 int i; 14381 14980 _ACEOF 14382 - if ac_fn_c_try_compile "$LINENO"; then : 14981 + if ac_fn_c_try_compile "$LINENO" 14982 + then : 14383 14983 xorg_cv_cc_flag_unused_command_line_argument=yes 14384 - else 14984 + else $as_nop 14385 14985 xorg_cv_cc_flag_unused_command_line_argument=no 14386 14986 fi 14387 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14987 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14388 14988 fi 14389 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14390 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14989 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14990 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14391 14991 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14392 14992 CFLAGS="$xorg_testset_save_CFLAGS" 14393 14993 fi ··· 14405 15005 14406 15006 CFLAGS="$CFLAGS -Werror=sequence-point" 14407 15007 14408 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 14409 - $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; } 15008 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5 15009 + printf %s "checking if $CC supports -Werror=sequence-point... " >&6; } 14410 15010 cacheid=xorg_cv_cc_flag__Werror_sequence_point 14411 - if eval \${$cacheid+:} false; then : 14412 - $as_echo_n "(cached) " >&6 14413 - else 15011 + if eval test \${$cacheid+y} 15012 + then : 15013 + printf %s "(cached) " >&6 15014 + else $as_nop 14414 15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14415 15016 /* end confdefs.h. */ 14416 15017 int i; 14417 15018 int 14418 - main () 15019 + main (void) 14419 15020 { 14420 15021 14421 15022 ; 14422 15023 return 0; 14423 15024 } 14424 15025 _ACEOF 14425 - if ac_fn_c_try_link "$LINENO"; then : 15026 + if ac_fn_c_try_link "$LINENO" 15027 + then : 14426 15028 eval $cacheid=yes 14427 - else 15029 + else $as_nop 14428 15030 eval $cacheid=no 14429 15031 fi 14430 - rm -f core conftest.err conftest.$ac_objext \ 15032 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14431 15033 conftest$ac_exeext conftest.$ac_ext 14432 15034 fi 14433 15035 ··· 14435 15037 CFLAGS="$xorg_testset_save_CFLAGS" 14436 15038 14437 15039 eval supported=\$$cacheid 14438 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14439 - $as_echo "$supported" >&6; } 15040 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15041 + printf "%s\n" "$supported" >&6; } 14440 15042 if test "$supported" = "yes" ; then 14441 15043 BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point" 14442 15044 found="yes" ··· 14461 15063 14462 15064 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14463 15065 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14464 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14465 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14466 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14467 - $as_echo_n "(cached) " >&6 14468 - else 15066 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15067 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15068 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15069 + then : 15070 + printf %s "(cached) " >&6 15071 + else $as_nop 14469 15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14470 15073 /* end confdefs.h. */ 14471 15074 int i; 14472 15075 _ACEOF 14473 - if ac_fn_c_try_compile "$LINENO"; then : 15076 + if ac_fn_c_try_compile "$LINENO" 15077 + then : 14474 15078 xorg_cv_cc_flag_unknown_warning_option=yes 14475 - else 15079 + else $as_nop 14476 15080 xorg_cv_cc_flag_unknown_warning_option=no 14477 15081 fi 14478 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15082 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14479 15083 fi 14480 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14481 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15084 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15085 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14482 15086 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14483 15087 CFLAGS="$xorg_testset_save_CFLAGS" 14484 15088 fi ··· 14488 15092 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14489 15093 fi 14490 15094 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14491 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14492 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14493 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14494 - $as_echo_n "(cached) " >&6 14495 - else 15095 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15096 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15097 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15098 + then : 15099 + printf %s "(cached) " >&6 15100 + else $as_nop 14496 15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14497 15102 /* end confdefs.h. */ 14498 15103 int i; 14499 15104 _ACEOF 14500 - if ac_fn_c_try_compile "$LINENO"; then : 15105 + if ac_fn_c_try_compile "$LINENO" 15106 + then : 14501 15107 xorg_cv_cc_flag_unused_command_line_argument=yes 14502 - else 15108 + else $as_nop 14503 15109 xorg_cv_cc_flag_unused_command_line_argument=no 14504 15110 fi 14505 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15111 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14506 15112 fi 14507 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14508 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15113 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15114 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14509 15115 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14510 15116 CFLAGS="$xorg_testset_save_CFLAGS" 14511 15117 fi ··· 14523 15129 14524 15130 CFLAGS="$CFLAGS -Werror=return-type" 14525 15131 14526 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 14527 - $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; } 15132 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5 15133 + printf %s "checking if $CC supports -Werror=return-type... " >&6; } 14528 15134 cacheid=xorg_cv_cc_flag__Werror_return_type 14529 - if eval \${$cacheid+:} false; then : 14530 - $as_echo_n "(cached) " >&6 14531 - else 15135 + if eval test \${$cacheid+y} 15136 + then : 15137 + printf %s "(cached) " >&6 15138 + else $as_nop 14532 15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14533 15140 /* end confdefs.h. */ 14534 15141 int i; 14535 15142 int 14536 - main () 15143 + main (void) 14537 15144 { 14538 15145 14539 15146 ; 14540 15147 return 0; 14541 15148 } 14542 15149 _ACEOF 14543 - if ac_fn_c_try_link "$LINENO"; then : 15150 + if ac_fn_c_try_link "$LINENO" 15151 + then : 14544 15152 eval $cacheid=yes 14545 - else 15153 + else $as_nop 14546 15154 eval $cacheid=no 14547 15155 fi 14548 - rm -f core conftest.err conftest.$ac_objext \ 15156 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14549 15157 conftest$ac_exeext conftest.$ac_ext 14550 15158 fi 14551 15159 ··· 14553 15161 CFLAGS="$xorg_testset_save_CFLAGS" 14554 15162 14555 15163 eval supported=\$$cacheid 14556 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14557 - $as_echo "$supported" >&6; } 15164 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15165 + printf "%s\n" "$supported" >&6; } 14558 15166 if test "$supported" = "yes" ; then 14559 15167 BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type" 14560 15168 found="yes" ··· 14572 15180 14573 15181 CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 14574 15182 14575 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 14576 - $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 15183 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5 15184 + printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; } 14577 15185 cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT 14578 - if eval \${$cacheid+:} false; then : 14579 - $as_echo_n "(cached) " >&6 14580 - else 15186 + if eval test \${$cacheid+y} 15187 + then : 15188 + printf %s "(cached) " >&6 15189 + else $as_nop 14581 15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14582 15191 /* end confdefs.h. */ 14583 15192 int i; 14584 15193 int 14585 - main () 15194 + main (void) 14586 15195 { 14587 15196 14588 15197 ; 14589 15198 return 0; 14590 15199 } 14591 15200 _ACEOF 14592 - if ac_fn_c_try_link "$LINENO"; then : 15201 + if ac_fn_c_try_link "$LINENO" 15202 + then : 14593 15203 eval $cacheid=yes 14594 - else 15204 + else $as_nop 14595 15205 eval $cacheid=no 14596 15206 fi 14597 - rm -f core conftest.err conftest.$ac_objext \ 15207 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14598 15208 conftest$ac_exeext conftest.$ac_ext 14599 15209 fi 14600 15210 ··· 14602 15212 CFLAGS="$xorg_testset_save_CFLAGS" 14603 15213 14604 15214 eval supported=\$$cacheid 14605 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14606 - $as_echo "$supported" >&6; } 15215 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15216 + printf "%s\n" "$supported" >&6; } 14607 15217 if test "$supported" = "yes" ; then 14608 15218 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT" 14609 15219 found="yes" ··· 14628 15238 14629 15239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14630 15240 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14631 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14632 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14633 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14634 - $as_echo_n "(cached) " >&6 14635 - else 15241 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15242 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15243 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15244 + then : 15245 + printf %s "(cached) " >&6 15246 + else $as_nop 14636 15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14637 15248 /* end confdefs.h. */ 14638 15249 int i; 14639 15250 _ACEOF 14640 - if ac_fn_c_try_compile "$LINENO"; then : 15251 + if ac_fn_c_try_compile "$LINENO" 15252 + then : 14641 15253 xorg_cv_cc_flag_unknown_warning_option=yes 14642 - else 15254 + else $as_nop 14643 15255 xorg_cv_cc_flag_unknown_warning_option=no 14644 15256 fi 14645 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15257 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14646 15258 fi 14647 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14648 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15259 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15260 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14649 15261 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14650 15262 CFLAGS="$xorg_testset_save_CFLAGS" 14651 15263 fi ··· 14655 15267 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14656 15268 fi 14657 15269 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14658 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14659 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14660 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14661 - $as_echo_n "(cached) " >&6 14662 - else 15270 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15271 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15272 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15273 + then : 15274 + printf %s "(cached) " >&6 15275 + else $as_nop 14663 15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14664 15277 /* end confdefs.h. */ 14665 15278 int i; 14666 15279 _ACEOF 14667 - if ac_fn_c_try_compile "$LINENO"; then : 15280 + if ac_fn_c_try_compile "$LINENO" 15281 + then : 14668 15282 xorg_cv_cc_flag_unused_command_line_argument=yes 14669 - else 15283 + else $as_nop 14670 15284 xorg_cv_cc_flag_unused_command_line_argument=no 14671 15285 fi 14672 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15286 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14673 15287 fi 14674 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14675 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15288 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15289 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14676 15290 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14677 15291 CFLAGS="$xorg_testset_save_CFLAGS" 14678 15292 fi ··· 14690 15304 14691 15305 CFLAGS="$CFLAGS -Werror=trigraphs" 14692 15306 14693 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 14694 - $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; } 15307 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5 15308 + printf %s "checking if $CC supports -Werror=trigraphs... " >&6; } 14695 15309 cacheid=xorg_cv_cc_flag__Werror_trigraphs 14696 - if eval \${$cacheid+:} false; then : 14697 - $as_echo_n "(cached) " >&6 14698 - else 15310 + if eval test \${$cacheid+y} 15311 + then : 15312 + printf %s "(cached) " >&6 15313 + else $as_nop 14699 15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14700 15315 /* end confdefs.h. */ 14701 15316 int i; 14702 15317 int 14703 - main () 15318 + main (void) 14704 15319 { 14705 15320 14706 15321 ; 14707 15322 return 0; 14708 15323 } 14709 15324 _ACEOF 14710 - if ac_fn_c_try_link "$LINENO"; then : 15325 + if ac_fn_c_try_link "$LINENO" 15326 + then : 14711 15327 eval $cacheid=yes 14712 - else 15328 + else $as_nop 14713 15329 eval $cacheid=no 14714 15330 fi 14715 - rm -f core conftest.err conftest.$ac_objext \ 15331 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14716 15332 conftest$ac_exeext conftest.$ac_ext 14717 15333 fi 14718 15334 ··· 14720 15336 CFLAGS="$xorg_testset_save_CFLAGS" 14721 15337 14722 15338 eval supported=\$$cacheid 14723 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14724 - $as_echo "$supported" >&6; } 15339 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15340 + printf "%s\n" "$supported" >&6; } 14725 15341 if test "$supported" = "yes" ; then 14726 15342 BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs" 14727 15343 found="yes" ··· 14746 15362 14747 15363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14748 15364 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14749 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14750 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14751 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14752 - $as_echo_n "(cached) " >&6 14753 - else 15365 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15366 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15367 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15368 + then : 15369 + printf %s "(cached) " >&6 15370 + else $as_nop 14754 15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14755 15372 /* end confdefs.h. */ 14756 15373 int i; 14757 15374 _ACEOF 14758 - if ac_fn_c_try_compile "$LINENO"; then : 15375 + if ac_fn_c_try_compile "$LINENO" 15376 + then : 14759 15377 xorg_cv_cc_flag_unknown_warning_option=yes 14760 - else 15378 + else $as_nop 14761 15379 xorg_cv_cc_flag_unknown_warning_option=no 14762 15380 fi 14763 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15381 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14764 15382 fi 14765 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14766 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15383 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15384 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14767 15385 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14768 15386 CFLAGS="$xorg_testset_save_CFLAGS" 14769 15387 fi ··· 14773 15391 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14774 15392 fi 14775 15393 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14776 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14777 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14778 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14779 - $as_echo_n "(cached) " >&6 14780 - else 15394 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15395 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15396 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15397 + then : 15398 + printf %s "(cached) " >&6 15399 + else $as_nop 14781 15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14782 15401 /* end confdefs.h. */ 14783 15402 int i; 14784 15403 _ACEOF 14785 - if ac_fn_c_try_compile "$LINENO"; then : 15404 + if ac_fn_c_try_compile "$LINENO" 15405 + then : 14786 15406 xorg_cv_cc_flag_unused_command_line_argument=yes 14787 - else 15407 + else $as_nop 14788 15408 xorg_cv_cc_flag_unused_command_line_argument=no 14789 15409 fi 14790 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15410 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14791 15411 fi 14792 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14793 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15412 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15413 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14794 15414 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14795 15415 CFLAGS="$xorg_testset_save_CFLAGS" 14796 15416 fi ··· 14808 15428 14809 15429 CFLAGS="$CFLAGS -Werror=array-bounds" 14810 15430 14811 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 14812 - $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; } 15431 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5 15432 + printf %s "checking if $CC supports -Werror=array-bounds... " >&6; } 14813 15433 cacheid=xorg_cv_cc_flag__Werror_array_bounds 14814 - if eval \${$cacheid+:} false; then : 14815 - $as_echo_n "(cached) " >&6 14816 - else 15434 + if eval test \${$cacheid+y} 15435 + then : 15436 + printf %s "(cached) " >&6 15437 + else $as_nop 14817 15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14818 15439 /* end confdefs.h. */ 14819 15440 int i; 14820 15441 int 14821 - main () 15442 + main (void) 14822 15443 { 14823 15444 14824 15445 ; 14825 15446 return 0; 14826 15447 } 14827 15448 _ACEOF 14828 - if ac_fn_c_try_link "$LINENO"; then : 15449 + if ac_fn_c_try_link "$LINENO" 15450 + then : 14829 15451 eval $cacheid=yes 14830 - else 15452 + else $as_nop 14831 15453 eval $cacheid=no 14832 15454 fi 14833 - rm -f core conftest.err conftest.$ac_objext \ 15455 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14834 15456 conftest$ac_exeext conftest.$ac_ext 14835 15457 fi 14836 15458 ··· 14838 15460 CFLAGS="$xorg_testset_save_CFLAGS" 14839 15461 14840 15462 eval supported=\$$cacheid 14841 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14842 - $as_echo "$supported" >&6; } 15463 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15464 + printf "%s\n" "$supported" >&6; } 14843 15465 if test "$supported" = "yes" ; then 14844 15466 BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds" 14845 15467 found="yes" ··· 14864 15486 14865 15487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14866 15488 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14867 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14868 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14869 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14870 - $as_echo_n "(cached) " >&6 14871 - else 15489 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15490 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15491 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15492 + then : 15493 + printf %s "(cached) " >&6 15494 + else $as_nop 14872 15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14873 15496 /* end confdefs.h. */ 14874 15497 int i; 14875 15498 _ACEOF 14876 - if ac_fn_c_try_compile "$LINENO"; then : 15499 + if ac_fn_c_try_compile "$LINENO" 15500 + then : 14877 15501 xorg_cv_cc_flag_unknown_warning_option=yes 14878 - else 15502 + else $as_nop 14879 15503 xorg_cv_cc_flag_unknown_warning_option=no 14880 15504 fi 14881 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15505 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14882 15506 fi 14883 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 14884 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15507 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15508 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 14885 15509 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 14886 15510 CFLAGS="$xorg_testset_save_CFLAGS" 14887 15511 fi ··· 14891 15515 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14892 15516 fi 14893 15517 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 14894 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 14895 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 14896 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 14897 - $as_echo_n "(cached) " >&6 14898 - else 15518 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15519 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15520 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15521 + then : 15522 + printf %s "(cached) " >&6 15523 + else $as_nop 14899 15524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14900 15525 /* end confdefs.h. */ 14901 15526 int i; 14902 15527 _ACEOF 14903 - if ac_fn_c_try_compile "$LINENO"; then : 15528 + if ac_fn_c_try_compile "$LINENO" 15529 + then : 14904 15530 xorg_cv_cc_flag_unused_command_line_argument=yes 14905 - else 15531 + else $as_nop 14906 15532 xorg_cv_cc_flag_unused_command_line_argument=no 14907 15533 fi 14908 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15534 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 14909 15535 fi 14910 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 14911 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15536 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15537 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 14912 15538 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 14913 15539 CFLAGS="$xorg_testset_save_CFLAGS" 14914 15540 fi ··· 14926 15552 14927 15553 CFLAGS="$CFLAGS -Werror=write-strings" 14928 15554 14929 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 14930 - $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; } 15555 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5 15556 + printf %s "checking if $CC supports -Werror=write-strings... " >&6; } 14931 15557 cacheid=xorg_cv_cc_flag__Werror_write_strings 14932 - if eval \${$cacheid+:} false; then : 14933 - $as_echo_n "(cached) " >&6 14934 - else 15558 + if eval test \${$cacheid+y} 15559 + then : 15560 + printf %s "(cached) " >&6 15561 + else $as_nop 14935 15562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14936 15563 /* end confdefs.h. */ 14937 15564 int i; 14938 15565 int 14939 - main () 15566 + main (void) 14940 15567 { 14941 15568 14942 15569 ; 14943 15570 return 0; 14944 15571 } 14945 15572 _ACEOF 14946 - if ac_fn_c_try_link "$LINENO"; then : 15573 + if ac_fn_c_try_link "$LINENO" 15574 + then : 14947 15575 eval $cacheid=yes 14948 - else 15576 + else $as_nop 14949 15577 eval $cacheid=no 14950 15578 fi 14951 - rm -f core conftest.err conftest.$ac_objext \ 15579 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 14952 15580 conftest$ac_exeext conftest.$ac_ext 14953 15581 fi 14954 15582 ··· 14956 15584 CFLAGS="$xorg_testset_save_CFLAGS" 14957 15585 14958 15586 eval supported=\$$cacheid 14959 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 14960 - $as_echo "$supported" >&6; } 15587 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15588 + printf "%s\n" "$supported" >&6; } 14961 15589 if test "$supported" = "yes" ; then 14962 15590 BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings" 14963 15591 found="yes" ··· 14982 15610 14983 15611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 14984 15612 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 14985 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 14986 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 14987 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 14988 - $as_echo_n "(cached) " >&6 14989 - else 15613 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15614 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15615 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15616 + then : 15617 + printf %s "(cached) " >&6 15618 + else $as_nop 14990 15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14991 15620 /* end confdefs.h. */ 14992 15621 int i; 14993 15622 _ACEOF 14994 - if ac_fn_c_try_compile "$LINENO"; then : 15623 + if ac_fn_c_try_compile "$LINENO" 15624 + then : 14995 15625 xorg_cv_cc_flag_unknown_warning_option=yes 14996 - else 15626 + else $as_nop 14997 15627 xorg_cv_cc_flag_unknown_warning_option=no 14998 15628 fi 14999 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15629 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15000 15630 fi 15001 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15002 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15631 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15632 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15003 15633 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15004 15634 CFLAGS="$xorg_testset_save_CFLAGS" 15005 15635 fi ··· 15009 15639 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15010 15640 fi 15011 15641 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15012 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15013 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15014 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15015 - $as_echo_n "(cached) " >&6 15016 - else 15642 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15643 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15644 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15645 + then : 15646 + printf %s "(cached) " >&6 15647 + else $as_nop 15017 15648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15018 15649 /* end confdefs.h. */ 15019 15650 int i; 15020 15651 _ACEOF 15021 - if ac_fn_c_try_compile "$LINENO"; then : 15652 + if ac_fn_c_try_compile "$LINENO" 15653 + then : 15022 15654 xorg_cv_cc_flag_unused_command_line_argument=yes 15023 - else 15655 + else $as_nop 15024 15656 xorg_cv_cc_flag_unused_command_line_argument=no 15025 15657 fi 15026 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15658 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15027 15659 fi 15028 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15029 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15660 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15661 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15030 15662 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15031 15663 CFLAGS="$xorg_testset_save_CFLAGS" 15032 15664 fi ··· 15044 15676 15045 15677 CFLAGS="$CFLAGS -Werror=address" 15046 15678 15047 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 15048 - $as_echo_n "checking if $CC supports -Werror=address... " >&6; } 15679 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5 15680 + printf %s "checking if $CC supports -Werror=address... " >&6; } 15049 15681 cacheid=xorg_cv_cc_flag__Werror_address 15050 - if eval \${$cacheid+:} false; then : 15051 - $as_echo_n "(cached) " >&6 15052 - else 15682 + if eval test \${$cacheid+y} 15683 + then : 15684 + printf %s "(cached) " >&6 15685 + else $as_nop 15053 15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15054 15687 /* end confdefs.h. */ 15055 15688 int i; 15056 15689 int 15057 - main () 15690 + main (void) 15058 15691 { 15059 15692 15060 15693 ; 15061 15694 return 0; 15062 15695 } 15063 15696 _ACEOF 15064 - if ac_fn_c_try_link "$LINENO"; then : 15697 + if ac_fn_c_try_link "$LINENO" 15698 + then : 15065 15699 eval $cacheid=yes 15066 - else 15700 + else $as_nop 15067 15701 eval $cacheid=no 15068 15702 fi 15069 - rm -f core conftest.err conftest.$ac_objext \ 15703 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15070 15704 conftest$ac_exeext conftest.$ac_ext 15071 15705 fi 15072 15706 ··· 15074 15708 CFLAGS="$xorg_testset_save_CFLAGS" 15075 15709 15076 15710 eval supported=\$$cacheid 15077 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15078 - $as_echo "$supported" >&6; } 15711 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15712 + printf "%s\n" "$supported" >&6; } 15079 15713 if test "$supported" = "yes" ; then 15080 15714 BASE_CFLAGS="$BASE_CFLAGS -Werror=address" 15081 15715 found="yes" ··· 15100 15734 15101 15735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15102 15736 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15103 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15104 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15105 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15106 - $as_echo_n "(cached) " >&6 15107 - else 15737 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15738 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15739 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15740 + then : 15741 + printf %s "(cached) " >&6 15742 + else $as_nop 15108 15743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15109 15744 /* end confdefs.h. */ 15110 15745 int i; 15111 15746 _ACEOF 15112 - if ac_fn_c_try_compile "$LINENO"; then : 15747 + if ac_fn_c_try_compile "$LINENO" 15748 + then : 15113 15749 xorg_cv_cc_flag_unknown_warning_option=yes 15114 - else 15750 + else $as_nop 15115 15751 xorg_cv_cc_flag_unknown_warning_option=no 15116 15752 fi 15117 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15753 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15118 15754 fi 15119 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15120 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15755 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15756 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15121 15757 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15122 15758 CFLAGS="$xorg_testset_save_CFLAGS" 15123 15759 fi ··· 15127 15763 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15128 15764 fi 15129 15765 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15130 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15131 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15132 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15133 - $as_echo_n "(cached) " >&6 15134 - else 15766 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15767 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15768 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15769 + then : 15770 + printf %s "(cached) " >&6 15771 + else $as_nop 15135 15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15136 15773 /* end confdefs.h. */ 15137 15774 int i; 15138 15775 _ACEOF 15139 - if ac_fn_c_try_compile "$LINENO"; then : 15776 + if ac_fn_c_try_compile "$LINENO" 15777 + then : 15140 15778 xorg_cv_cc_flag_unused_command_line_argument=yes 15141 - else 15779 + else $as_nop 15142 15780 xorg_cv_cc_flag_unused_command_line_argument=no 15143 15781 fi 15144 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15782 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15145 15783 fi 15146 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15147 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15784 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15785 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15148 15786 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15149 15787 CFLAGS="$xorg_testset_save_CFLAGS" 15150 15788 fi ··· 15162 15800 15163 15801 CFLAGS="$CFLAGS -Werror=int-to-pointer-cast" 15164 15802 15165 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 15166 - $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 15803 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5 15804 + printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; } 15167 15805 cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast 15168 - if eval \${$cacheid+:} false; then : 15169 - $as_echo_n "(cached) " >&6 15170 - else 15806 + if eval test \${$cacheid+y} 15807 + then : 15808 + printf %s "(cached) " >&6 15809 + else $as_nop 15171 15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15172 15811 /* end confdefs.h. */ 15173 15812 int i; 15174 15813 int 15175 - main () 15814 + main (void) 15176 15815 { 15177 15816 15178 15817 ; 15179 15818 return 0; 15180 15819 } 15181 15820 _ACEOF 15182 - if ac_fn_c_try_link "$LINENO"; then : 15821 + if ac_fn_c_try_link "$LINENO" 15822 + then : 15183 15823 eval $cacheid=yes 15184 - else 15824 + else $as_nop 15185 15825 eval $cacheid=no 15186 15826 fi 15187 - rm -f core conftest.err conftest.$ac_objext \ 15827 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15188 15828 conftest$ac_exeext conftest.$ac_ext 15189 15829 fi 15190 15830 ··· 15192 15832 CFLAGS="$xorg_testset_save_CFLAGS" 15193 15833 15194 15834 eval supported=\$$cacheid 15195 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15196 - $as_echo "$supported" >&6; } 15835 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15836 + printf "%s\n" "$supported" >&6; } 15197 15837 if test "$supported" = "yes" ; then 15198 15838 BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast" 15199 15839 found="yes" ··· 15211 15851 15212 15852 CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 15213 15853 15214 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 15215 - $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 15854 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5 15855 + printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; } 15216 15856 cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION 15217 - if eval \${$cacheid+:} false; then : 15218 - $as_echo_n "(cached) " >&6 15219 - else 15857 + if eval test \${$cacheid+y} 15858 + then : 15859 + printf %s "(cached) " >&6 15860 + else $as_nop 15220 15861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15221 15862 /* end confdefs.h. */ 15222 15863 int i; 15223 15864 int 15224 - main () 15865 + main (void) 15225 15866 { 15226 15867 15227 15868 ; 15228 15869 return 0; 15229 15870 } 15230 15871 _ACEOF 15231 - if ac_fn_c_try_link "$LINENO"; then : 15872 + if ac_fn_c_try_link "$LINENO" 15873 + then : 15232 15874 eval $cacheid=yes 15233 - else 15875 + else $as_nop 15234 15876 eval $cacheid=no 15235 15877 fi 15236 - rm -f core conftest.err conftest.$ac_objext \ 15878 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15237 15879 conftest$ac_exeext conftest.$ac_ext 15238 15880 fi 15239 15881 ··· 15241 15883 CFLAGS="$xorg_testset_save_CFLAGS" 15242 15884 15243 15885 eval supported=\$$cacheid 15244 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15245 - $as_echo "$supported" >&6; } 15886 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15887 + printf "%s\n" "$supported" >&6; } 15246 15888 if test "$supported" = "yes" ; then 15247 15889 BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION" 15248 15890 found="yes" ··· 15267 15909 15268 15910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15269 15911 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15270 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15271 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15272 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15273 - $as_echo_n "(cached) " >&6 15274 - else 15912 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15913 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15914 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 15915 + then : 15916 + printf %s "(cached) " >&6 15917 + else $as_nop 15275 15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15276 15919 /* end confdefs.h. */ 15277 15920 int i; 15278 15921 _ACEOF 15279 - if ac_fn_c_try_compile "$LINENO"; then : 15922 + if ac_fn_c_try_compile "$LINENO" 15923 + then : 15280 15924 xorg_cv_cc_flag_unknown_warning_option=yes 15281 - else 15925 + else $as_nop 15282 15926 xorg_cv_cc_flag_unknown_warning_option=no 15283 15927 fi 15284 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15928 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15285 15929 fi 15286 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15287 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15930 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15931 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15288 15932 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15289 15933 CFLAGS="$xorg_testset_save_CFLAGS" 15290 15934 fi ··· 15294 15938 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15295 15939 fi 15296 15940 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15297 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15298 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15299 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15300 - $as_echo_n "(cached) " >&6 15301 - else 15941 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15942 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15943 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 15944 + then : 15945 + printf %s "(cached) " >&6 15946 + else $as_nop 15302 15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15303 15948 /* end confdefs.h. */ 15304 15949 int i; 15305 15950 _ACEOF 15306 - if ac_fn_c_try_compile "$LINENO"; then : 15951 + if ac_fn_c_try_compile "$LINENO" 15952 + then : 15307 15953 xorg_cv_cc_flag_unused_command_line_argument=yes 15308 - else 15954 + else $as_nop 15309 15955 xorg_cv_cc_flag_unused_command_line_argument=no 15310 15956 fi 15311 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15957 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15312 15958 fi 15313 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15314 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15959 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15960 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15315 15961 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15316 15962 CFLAGS="$xorg_testset_save_CFLAGS" 15317 15963 fi ··· 15329 15975 15330 15976 CFLAGS="$CFLAGS -Werror=pointer-to-int-cast" 15331 15977 15332 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 15333 - $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 15978 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5 15979 + printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; } 15334 15980 cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast 15335 - if eval \${$cacheid+:} false; then : 15336 - $as_echo_n "(cached) " >&6 15337 - else 15981 + if eval test \${$cacheid+y} 15982 + then : 15983 + printf %s "(cached) " >&6 15984 + else $as_nop 15338 15985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15339 15986 /* end confdefs.h. */ 15340 15987 int i; 15341 15988 int 15342 - main () 15989 + main (void) 15343 15990 { 15344 15991 15345 15992 ; 15346 15993 return 0; 15347 15994 } 15348 15995 _ACEOF 15349 - if ac_fn_c_try_link "$LINENO"; then : 15996 + if ac_fn_c_try_link "$LINENO" 15997 + then : 15350 15998 eval $cacheid=yes 15351 - else 15999 + else $as_nop 15352 16000 eval $cacheid=no 15353 16001 fi 15354 - rm -f core conftest.err conftest.$ac_objext \ 16002 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15355 16003 conftest$ac_exeext conftest.$ac_ext 15356 16004 fi 15357 16005 ··· 15359 16007 CFLAGS="$xorg_testset_save_CFLAGS" 15360 16008 15361 16009 eval supported=\$$cacheid 15362 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15363 - $as_echo "$supported" >&6; } 16010 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16011 + printf "%s\n" "$supported" >&6; } 15364 16012 if test "$supported" = "yes" ; then 15365 16013 BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast" 15366 16014 found="yes" ··· 15369 16017 15370 16018 # Also -errwarn=E_BAD_PTR_INT_COMBINATION 15371 16019 else 15372 - { $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 15373 - $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;} 16020 + { 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 16021 + 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;} 15374 16022 15375 16023 15376 16024 ··· 15388 16036 15389 16037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15390 16038 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15391 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15392 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15393 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15394 - $as_echo_n "(cached) " >&6 15395 - else 16039 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16040 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16041 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16042 + then : 16043 + printf %s "(cached) " >&6 16044 + else $as_nop 15396 16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15397 16046 /* end confdefs.h. */ 15398 16047 int i; 15399 16048 _ACEOF 15400 - if ac_fn_c_try_compile "$LINENO"; then : 16049 + if ac_fn_c_try_compile "$LINENO" 16050 + then : 15401 16051 xorg_cv_cc_flag_unknown_warning_option=yes 15402 - else 16052 + else $as_nop 15403 16053 xorg_cv_cc_flag_unknown_warning_option=no 15404 16054 fi 15405 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16055 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15406 16056 fi 15407 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15408 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16057 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16058 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15409 16059 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15410 16060 CFLAGS="$xorg_testset_save_CFLAGS" 15411 16061 fi ··· 15415 16065 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15416 16066 fi 15417 16067 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15418 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15419 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15420 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15421 - $as_echo_n "(cached) " >&6 15422 - else 16068 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16069 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16070 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16071 + then : 16072 + printf %s "(cached) " >&6 16073 + else $as_nop 15423 16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15424 16075 /* end confdefs.h. */ 15425 16076 int i; 15426 16077 _ACEOF 15427 - if ac_fn_c_try_compile "$LINENO"; then : 16078 + if ac_fn_c_try_compile "$LINENO" 16079 + then : 15428 16080 xorg_cv_cc_flag_unused_command_line_argument=yes 15429 - else 16081 + else $as_nop 15430 16082 xorg_cv_cc_flag_unused_command_line_argument=no 15431 16083 fi 15432 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16084 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15433 16085 fi 15434 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15435 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16086 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16087 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15436 16088 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15437 16089 CFLAGS="$xorg_testset_save_CFLAGS" 15438 16090 fi ··· 15450 16102 15451 16103 CFLAGS="$CFLAGS -Wimplicit" 15452 16104 15453 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 15454 - $as_echo_n "checking if $CC supports -Wimplicit... " >&6; } 16105 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5 16106 + printf %s "checking if $CC supports -Wimplicit... " >&6; } 15455 16107 cacheid=xorg_cv_cc_flag__Wimplicit 15456 - if eval \${$cacheid+:} false; then : 15457 - $as_echo_n "(cached) " >&6 15458 - else 16108 + if eval test \${$cacheid+y} 16109 + then : 16110 + printf %s "(cached) " >&6 16111 + else $as_nop 15459 16112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15460 16113 /* end confdefs.h. */ 15461 16114 int i; 15462 16115 int 15463 - main () 16116 + main (void) 15464 16117 { 15465 16118 15466 16119 ; 15467 16120 return 0; 15468 16121 } 15469 16122 _ACEOF 15470 - if ac_fn_c_try_link "$LINENO"; then : 16123 + if ac_fn_c_try_link "$LINENO" 16124 + then : 15471 16125 eval $cacheid=yes 15472 - else 16126 + else $as_nop 15473 16127 eval $cacheid=no 15474 16128 fi 15475 - rm -f core conftest.err conftest.$ac_objext \ 16129 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15476 16130 conftest$ac_exeext conftest.$ac_ext 15477 16131 fi 15478 16132 ··· 15480 16134 CFLAGS="$xorg_testset_save_CFLAGS" 15481 16135 15482 16136 eval supported=\$$cacheid 15483 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15484 - $as_echo "$supported" >&6; } 16137 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16138 + printf "%s\n" "$supported" >&6; } 15485 16139 if test "$supported" = "yes" ; then 15486 16140 BASE_CFLAGS="$BASE_CFLAGS -Wimplicit" 15487 16141 found="yes" ··· 15506 16160 15507 16161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15508 16162 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15509 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15510 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15511 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15512 - $as_echo_n "(cached) " >&6 15513 - else 16163 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16164 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16165 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16166 + then : 16167 + printf %s "(cached) " >&6 16168 + else $as_nop 15514 16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15515 16170 /* end confdefs.h. */ 15516 16171 int i; 15517 16172 _ACEOF 15518 - if ac_fn_c_try_compile "$LINENO"; then : 16173 + if ac_fn_c_try_compile "$LINENO" 16174 + then : 15519 16175 xorg_cv_cc_flag_unknown_warning_option=yes 15520 - else 16176 + else $as_nop 15521 16177 xorg_cv_cc_flag_unknown_warning_option=no 15522 16178 fi 15523 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16179 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15524 16180 fi 15525 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15526 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16181 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16182 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15527 16183 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15528 16184 CFLAGS="$xorg_testset_save_CFLAGS" 15529 16185 fi ··· 15533 16189 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15534 16190 fi 15535 16191 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15536 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15537 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15538 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15539 - $as_echo_n "(cached) " >&6 15540 - else 16192 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16193 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16194 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16195 + then : 16196 + printf %s "(cached) " >&6 16197 + else $as_nop 15541 16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15542 16199 /* end confdefs.h. */ 15543 16200 int i; 15544 16201 _ACEOF 15545 - if ac_fn_c_try_compile "$LINENO"; then : 16202 + if ac_fn_c_try_compile "$LINENO" 16203 + then : 15546 16204 xorg_cv_cc_flag_unused_command_line_argument=yes 15547 - else 16205 + else $as_nop 15548 16206 xorg_cv_cc_flag_unused_command_line_argument=no 15549 16207 fi 15550 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16208 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15551 16209 fi 15552 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15553 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16210 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16211 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15554 16212 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15555 16213 CFLAGS="$xorg_testset_save_CFLAGS" 15556 16214 fi ··· 15568 16226 15569 16227 CFLAGS="$CFLAGS -Wnonnull" 15570 16228 15571 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 15572 - $as_echo_n "checking if $CC supports -Wnonnull... " >&6; } 16229 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5 16230 + printf %s "checking if $CC supports -Wnonnull... " >&6; } 15573 16231 cacheid=xorg_cv_cc_flag__Wnonnull 15574 - if eval \${$cacheid+:} false; then : 15575 - $as_echo_n "(cached) " >&6 15576 - else 16232 + if eval test \${$cacheid+y} 16233 + then : 16234 + printf %s "(cached) " >&6 16235 + else $as_nop 15577 16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15578 16237 /* end confdefs.h. */ 15579 16238 int i; 15580 16239 int 15581 - main () 16240 + main (void) 15582 16241 { 15583 16242 15584 16243 ; 15585 16244 return 0; 15586 16245 } 15587 16246 _ACEOF 15588 - if ac_fn_c_try_link "$LINENO"; then : 16247 + if ac_fn_c_try_link "$LINENO" 16248 + then : 15589 16249 eval $cacheid=yes 15590 - else 16250 + else $as_nop 15591 16251 eval $cacheid=no 15592 16252 fi 15593 - rm -f core conftest.err conftest.$ac_objext \ 16253 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15594 16254 conftest$ac_exeext conftest.$ac_ext 15595 16255 fi 15596 16256 ··· 15598 16258 CFLAGS="$xorg_testset_save_CFLAGS" 15599 16259 15600 16260 eval supported=\$$cacheid 15601 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15602 - $as_echo "$supported" >&6; } 16261 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16262 + printf "%s\n" "$supported" >&6; } 15603 16263 if test "$supported" = "yes" ; then 15604 16264 BASE_CFLAGS="$BASE_CFLAGS -Wnonnull" 15605 16265 found="yes" ··· 15624 16284 15625 16285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15626 16286 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15627 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15628 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15629 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15630 - $as_echo_n "(cached) " >&6 15631 - else 16287 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16288 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16289 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16290 + then : 16291 + printf %s "(cached) " >&6 16292 + else $as_nop 15632 16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15633 16294 /* end confdefs.h. */ 15634 16295 int i; 15635 16296 _ACEOF 15636 - if ac_fn_c_try_compile "$LINENO"; then : 16297 + if ac_fn_c_try_compile "$LINENO" 16298 + then : 15637 16299 xorg_cv_cc_flag_unknown_warning_option=yes 15638 - else 16300 + else $as_nop 15639 16301 xorg_cv_cc_flag_unknown_warning_option=no 15640 16302 fi 15641 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16303 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15642 16304 fi 15643 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15644 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16305 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16306 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15645 16307 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15646 16308 CFLAGS="$xorg_testset_save_CFLAGS" 15647 16309 fi ··· 15651 16313 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15652 16314 fi 15653 16315 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15654 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15655 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15656 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15657 - $as_echo_n "(cached) " >&6 15658 - else 16316 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16317 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16318 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16319 + then : 16320 + printf %s "(cached) " >&6 16321 + else $as_nop 15659 16322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15660 16323 /* end confdefs.h. */ 15661 16324 int i; 15662 16325 _ACEOF 15663 - if ac_fn_c_try_compile "$LINENO"; then : 16326 + if ac_fn_c_try_compile "$LINENO" 16327 + then : 15664 16328 xorg_cv_cc_flag_unused_command_line_argument=yes 15665 - else 16329 + else $as_nop 15666 16330 xorg_cv_cc_flag_unused_command_line_argument=no 15667 16331 fi 15668 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16332 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15669 16333 fi 15670 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15671 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16334 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16335 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15672 16336 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15673 16337 CFLAGS="$xorg_testset_save_CFLAGS" 15674 16338 fi ··· 15686 16350 15687 16351 CFLAGS="$CFLAGS -Winit-self" 15688 16352 15689 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 15690 - $as_echo_n "checking if $CC supports -Winit-self... " >&6; } 16353 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5 16354 + printf %s "checking if $CC supports -Winit-self... " >&6; } 15691 16355 cacheid=xorg_cv_cc_flag__Winit_self 15692 - if eval \${$cacheid+:} false; then : 15693 - $as_echo_n "(cached) " >&6 15694 - else 16356 + if eval test \${$cacheid+y} 16357 + then : 16358 + printf %s "(cached) " >&6 16359 + else $as_nop 15695 16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15696 16361 /* end confdefs.h. */ 15697 16362 int i; 15698 16363 int 15699 - main () 16364 + main (void) 15700 16365 { 15701 16366 15702 16367 ; 15703 16368 return 0; 15704 16369 } 15705 16370 _ACEOF 15706 - if ac_fn_c_try_link "$LINENO"; then : 16371 + if ac_fn_c_try_link "$LINENO" 16372 + then : 15707 16373 eval $cacheid=yes 15708 - else 16374 + else $as_nop 15709 16375 eval $cacheid=no 15710 16376 fi 15711 - rm -f core conftest.err conftest.$ac_objext \ 16377 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15712 16378 conftest$ac_exeext conftest.$ac_ext 15713 16379 fi 15714 16380 ··· 15716 16382 CFLAGS="$xorg_testset_save_CFLAGS" 15717 16383 15718 16384 eval supported=\$$cacheid 15719 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15720 - $as_echo "$supported" >&6; } 16385 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16386 + printf "%s\n" "$supported" >&6; } 15721 16387 if test "$supported" = "yes" ; then 15722 16388 BASE_CFLAGS="$BASE_CFLAGS -Winit-self" 15723 16389 found="yes" ··· 15742 16408 15743 16409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15744 16410 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15745 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15746 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15747 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15748 - $as_echo_n "(cached) " >&6 15749 - else 16411 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16412 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16413 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16414 + then : 16415 + printf %s "(cached) " >&6 16416 + else $as_nop 15750 16417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15751 16418 /* end confdefs.h. */ 15752 16419 int i; 15753 16420 _ACEOF 15754 - if ac_fn_c_try_compile "$LINENO"; then : 16421 + if ac_fn_c_try_compile "$LINENO" 16422 + then : 15755 16423 xorg_cv_cc_flag_unknown_warning_option=yes 15756 - else 16424 + else $as_nop 15757 16425 xorg_cv_cc_flag_unknown_warning_option=no 15758 16426 fi 15759 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16427 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15760 16428 fi 15761 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15762 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16429 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16430 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15763 16431 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15764 16432 CFLAGS="$xorg_testset_save_CFLAGS" 15765 16433 fi ··· 15769 16437 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15770 16438 fi 15771 16439 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15772 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15773 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15774 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15775 - $as_echo_n "(cached) " >&6 15776 - else 16440 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16441 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16442 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16443 + then : 16444 + printf %s "(cached) " >&6 16445 + else $as_nop 15777 16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15778 16447 /* end confdefs.h. */ 15779 16448 int i; 15780 16449 _ACEOF 15781 - if ac_fn_c_try_compile "$LINENO"; then : 16450 + if ac_fn_c_try_compile "$LINENO" 16451 + then : 15782 16452 xorg_cv_cc_flag_unused_command_line_argument=yes 15783 - else 16453 + else $as_nop 15784 16454 xorg_cv_cc_flag_unused_command_line_argument=no 15785 16455 fi 15786 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16456 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15787 16457 fi 15788 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15789 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16458 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16459 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15790 16460 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15791 16461 CFLAGS="$xorg_testset_save_CFLAGS" 15792 16462 fi ··· 15804 16474 15805 16475 CFLAGS="$CFLAGS -Wmain" 15806 16476 15807 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 15808 - $as_echo_n "checking if $CC supports -Wmain... " >&6; } 16477 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5 16478 + printf %s "checking if $CC supports -Wmain... " >&6; } 15809 16479 cacheid=xorg_cv_cc_flag__Wmain 15810 - if eval \${$cacheid+:} false; then : 15811 - $as_echo_n "(cached) " >&6 15812 - else 16480 + if eval test \${$cacheid+y} 16481 + then : 16482 + printf %s "(cached) " >&6 16483 + else $as_nop 15813 16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15814 16485 /* end confdefs.h. */ 15815 16486 int i; 15816 16487 int 15817 - main () 16488 + main (void) 15818 16489 { 15819 16490 15820 16491 ; 15821 16492 return 0; 15822 16493 } 15823 16494 _ACEOF 15824 - if ac_fn_c_try_link "$LINENO"; then : 16495 + if ac_fn_c_try_link "$LINENO" 16496 + then : 15825 16497 eval $cacheid=yes 15826 - else 16498 + else $as_nop 15827 16499 eval $cacheid=no 15828 16500 fi 15829 - rm -f core conftest.err conftest.$ac_objext \ 16501 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15830 16502 conftest$ac_exeext conftest.$ac_ext 15831 16503 fi 15832 16504 ··· 15834 16506 CFLAGS="$xorg_testset_save_CFLAGS" 15835 16507 15836 16508 eval supported=\$$cacheid 15837 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15838 - $as_echo "$supported" >&6; } 16509 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16510 + printf "%s\n" "$supported" >&6; } 15839 16511 if test "$supported" = "yes" ; then 15840 16512 BASE_CFLAGS="$BASE_CFLAGS -Wmain" 15841 16513 found="yes" ··· 15860 16532 15861 16533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15862 16534 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15863 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15864 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15865 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15866 - $as_echo_n "(cached) " >&6 15867 - else 16535 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16536 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16537 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16538 + then : 16539 + printf %s "(cached) " >&6 16540 + else $as_nop 15868 16541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15869 16542 /* end confdefs.h. */ 15870 16543 int i; 15871 16544 _ACEOF 15872 - if ac_fn_c_try_compile "$LINENO"; then : 16545 + if ac_fn_c_try_compile "$LINENO" 16546 + then : 15873 16547 xorg_cv_cc_flag_unknown_warning_option=yes 15874 - else 16548 + else $as_nop 15875 16549 xorg_cv_cc_flag_unknown_warning_option=no 15876 16550 fi 15877 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16551 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15878 16552 fi 15879 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15880 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16553 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16554 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15881 16555 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 15882 16556 CFLAGS="$xorg_testset_save_CFLAGS" 15883 16557 fi ··· 15887 16561 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15888 16562 fi 15889 16563 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 15890 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 15891 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 15892 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 15893 - $as_echo_n "(cached) " >&6 15894 - else 16564 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16565 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16566 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16567 + then : 16568 + printf %s "(cached) " >&6 16569 + else $as_nop 15895 16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15896 16571 /* end confdefs.h. */ 15897 16572 int i; 15898 16573 _ACEOF 15899 - if ac_fn_c_try_compile "$LINENO"; then : 16574 + if ac_fn_c_try_compile "$LINENO" 16575 + then : 15900 16576 xorg_cv_cc_flag_unused_command_line_argument=yes 15901 - else 16577 + else $as_nop 15902 16578 xorg_cv_cc_flag_unused_command_line_argument=no 15903 16579 fi 15904 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16580 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15905 16581 fi 15906 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 15907 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16582 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16583 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 15908 16584 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 15909 16585 CFLAGS="$xorg_testset_save_CFLAGS" 15910 16586 fi ··· 15922 16598 15923 16599 CFLAGS="$CFLAGS -Wmissing-braces" 15924 16600 15925 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 15926 - $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; } 16601 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5 16602 + printf %s "checking if $CC supports -Wmissing-braces... " >&6; } 15927 16603 cacheid=xorg_cv_cc_flag__Wmissing_braces 15928 - if eval \${$cacheid+:} false; then : 15929 - $as_echo_n "(cached) " >&6 15930 - else 16604 + if eval test \${$cacheid+y} 16605 + then : 16606 + printf %s "(cached) " >&6 16607 + else $as_nop 15931 16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15932 16609 /* end confdefs.h. */ 15933 16610 int i; 15934 16611 int 15935 - main () 16612 + main (void) 15936 16613 { 15937 16614 15938 16615 ; 15939 16616 return 0; 15940 16617 } 15941 16618 _ACEOF 15942 - if ac_fn_c_try_link "$LINENO"; then : 16619 + if ac_fn_c_try_link "$LINENO" 16620 + then : 15943 16621 eval $cacheid=yes 15944 - else 16622 + else $as_nop 15945 16623 eval $cacheid=no 15946 16624 fi 15947 - rm -f core conftest.err conftest.$ac_objext \ 16625 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 15948 16626 conftest$ac_exeext conftest.$ac_ext 15949 16627 fi 15950 16628 ··· 15952 16630 CFLAGS="$xorg_testset_save_CFLAGS" 15953 16631 15954 16632 eval supported=\$$cacheid 15955 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 15956 - $as_echo "$supported" >&6; } 16633 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16634 + printf "%s\n" "$supported" >&6; } 15957 16635 if test "$supported" = "yes" ; then 15958 16636 BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces" 15959 16637 found="yes" ··· 15978 16656 15979 16657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 15980 16658 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 15981 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 15982 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 15983 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 15984 - $as_echo_n "(cached) " >&6 15985 - else 16659 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16660 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16661 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16662 + then : 16663 + printf %s "(cached) " >&6 16664 + else $as_nop 15986 16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15987 16666 /* end confdefs.h. */ 15988 16667 int i; 15989 16668 _ACEOF 15990 - if ac_fn_c_try_compile "$LINENO"; then : 16669 + if ac_fn_c_try_compile "$LINENO" 16670 + then : 15991 16671 xorg_cv_cc_flag_unknown_warning_option=yes 15992 - else 16672 + else $as_nop 15993 16673 xorg_cv_cc_flag_unknown_warning_option=no 15994 16674 fi 15995 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16675 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 15996 16676 fi 15997 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 15998 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16677 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16678 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 15999 16679 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16000 16680 CFLAGS="$xorg_testset_save_CFLAGS" 16001 16681 fi ··· 16005 16685 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16006 16686 fi 16007 16687 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16008 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16009 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16010 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16011 - $as_echo_n "(cached) " >&6 16012 - else 16688 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16689 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16690 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16691 + then : 16692 + printf %s "(cached) " >&6 16693 + else $as_nop 16013 16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16014 16695 /* end confdefs.h. */ 16015 16696 int i; 16016 16697 _ACEOF 16017 - if ac_fn_c_try_compile "$LINENO"; then : 16698 + if ac_fn_c_try_compile "$LINENO" 16699 + then : 16018 16700 xorg_cv_cc_flag_unused_command_line_argument=yes 16019 - else 16701 + else $as_nop 16020 16702 xorg_cv_cc_flag_unused_command_line_argument=no 16021 16703 fi 16022 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16704 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16023 16705 fi 16024 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16025 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16706 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16707 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16026 16708 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16027 16709 CFLAGS="$xorg_testset_save_CFLAGS" 16028 16710 fi ··· 16040 16722 16041 16723 CFLAGS="$CFLAGS -Wsequence-point" 16042 16724 16043 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 16044 - $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; } 16725 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5 16726 + printf %s "checking if $CC supports -Wsequence-point... " >&6; } 16045 16727 cacheid=xorg_cv_cc_flag__Wsequence_point 16046 - if eval \${$cacheid+:} false; then : 16047 - $as_echo_n "(cached) " >&6 16048 - else 16728 + if eval test \${$cacheid+y} 16729 + then : 16730 + printf %s "(cached) " >&6 16731 + else $as_nop 16049 16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16050 16733 /* end confdefs.h. */ 16051 16734 int i; 16052 16735 int 16053 - main () 16736 + main (void) 16054 16737 { 16055 16738 16056 16739 ; 16057 16740 return 0; 16058 16741 } 16059 16742 _ACEOF 16060 - if ac_fn_c_try_link "$LINENO"; then : 16743 + if ac_fn_c_try_link "$LINENO" 16744 + then : 16061 16745 eval $cacheid=yes 16062 - else 16746 + else $as_nop 16063 16747 eval $cacheid=no 16064 16748 fi 16065 - rm -f core conftest.err conftest.$ac_objext \ 16749 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16066 16750 conftest$ac_exeext conftest.$ac_ext 16067 16751 fi 16068 16752 ··· 16070 16754 CFLAGS="$xorg_testset_save_CFLAGS" 16071 16755 16072 16756 eval supported=\$$cacheid 16073 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16074 - $as_echo "$supported" >&6; } 16757 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16758 + printf "%s\n" "$supported" >&6; } 16075 16759 if test "$supported" = "yes" ; then 16076 16760 BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point" 16077 16761 found="yes" ··· 16096 16780 16097 16781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16098 16782 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16099 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16100 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16101 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16102 - $as_echo_n "(cached) " >&6 16103 - else 16783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16784 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16785 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16786 + then : 16787 + printf %s "(cached) " >&6 16788 + else $as_nop 16104 16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16105 16790 /* end confdefs.h. */ 16106 16791 int i; 16107 16792 _ACEOF 16108 - if ac_fn_c_try_compile "$LINENO"; then : 16793 + if ac_fn_c_try_compile "$LINENO" 16794 + then : 16109 16795 xorg_cv_cc_flag_unknown_warning_option=yes 16110 - else 16796 + else $as_nop 16111 16797 xorg_cv_cc_flag_unknown_warning_option=no 16112 16798 fi 16113 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16799 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16114 16800 fi 16115 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16116 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16801 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16802 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16117 16803 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16118 16804 CFLAGS="$xorg_testset_save_CFLAGS" 16119 16805 fi ··· 16123 16809 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16124 16810 fi 16125 16811 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16126 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16127 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16128 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16129 - $as_echo_n "(cached) " >&6 16130 - else 16812 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16813 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16814 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16815 + then : 16816 + printf %s "(cached) " >&6 16817 + else $as_nop 16131 16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16132 16819 /* end confdefs.h. */ 16133 16820 int i; 16134 16821 _ACEOF 16135 - if ac_fn_c_try_compile "$LINENO"; then : 16822 + if ac_fn_c_try_compile "$LINENO" 16823 + then : 16136 16824 xorg_cv_cc_flag_unused_command_line_argument=yes 16137 - else 16825 + else $as_nop 16138 16826 xorg_cv_cc_flag_unused_command_line_argument=no 16139 16827 fi 16140 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16828 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16141 16829 fi 16142 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16143 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16830 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16831 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16144 16832 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16145 16833 CFLAGS="$xorg_testset_save_CFLAGS" 16146 16834 fi ··· 16158 16846 16159 16847 CFLAGS="$CFLAGS -Wreturn-type" 16160 16848 16161 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 16162 - $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; } 16849 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5 16850 + printf %s "checking if $CC supports -Wreturn-type... " >&6; } 16163 16851 cacheid=xorg_cv_cc_flag__Wreturn_type 16164 - if eval \${$cacheid+:} false; then : 16165 - $as_echo_n "(cached) " >&6 16166 - else 16852 + if eval test \${$cacheid+y} 16853 + then : 16854 + printf %s "(cached) " >&6 16855 + else $as_nop 16167 16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16168 16857 /* end confdefs.h. */ 16169 16858 int i; 16170 16859 int 16171 - main () 16860 + main (void) 16172 16861 { 16173 16862 16174 16863 ; 16175 16864 return 0; 16176 16865 } 16177 16866 _ACEOF 16178 - if ac_fn_c_try_link "$LINENO"; then : 16867 + if ac_fn_c_try_link "$LINENO" 16868 + then : 16179 16869 eval $cacheid=yes 16180 - else 16870 + else $as_nop 16181 16871 eval $cacheid=no 16182 16872 fi 16183 - rm -f core conftest.err conftest.$ac_objext \ 16873 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16184 16874 conftest$ac_exeext conftest.$ac_ext 16185 16875 fi 16186 16876 ··· 16188 16878 CFLAGS="$xorg_testset_save_CFLAGS" 16189 16879 16190 16880 eval supported=\$$cacheid 16191 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16192 - $as_echo "$supported" >&6; } 16881 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16882 + printf "%s\n" "$supported" >&6; } 16193 16883 if test "$supported" = "yes" ; then 16194 16884 BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type" 16195 16885 found="yes" ··· 16214 16904 16215 16905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16216 16906 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16217 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16218 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16219 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16220 - $as_echo_n "(cached) " >&6 16221 - else 16907 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16908 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16909 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 16910 + then : 16911 + printf %s "(cached) " >&6 16912 + else $as_nop 16222 16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16223 16914 /* end confdefs.h. */ 16224 16915 int i; 16225 16916 _ACEOF 16226 - if ac_fn_c_try_compile "$LINENO"; then : 16917 + if ac_fn_c_try_compile "$LINENO" 16918 + then : 16227 16919 xorg_cv_cc_flag_unknown_warning_option=yes 16228 - else 16920 + else $as_nop 16229 16921 xorg_cv_cc_flag_unknown_warning_option=no 16230 16922 fi 16231 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16923 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16232 16924 fi 16233 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16234 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16925 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16926 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16235 16927 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16236 16928 CFLAGS="$xorg_testset_save_CFLAGS" 16237 16929 fi ··· 16241 16933 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16242 16934 fi 16243 16935 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16244 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16245 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16246 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16247 - $as_echo_n "(cached) " >&6 16248 - else 16936 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16937 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16938 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 16939 + then : 16940 + printf %s "(cached) " >&6 16941 + else $as_nop 16249 16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16250 16943 /* end confdefs.h. */ 16251 16944 int i; 16252 16945 _ACEOF 16253 - if ac_fn_c_try_compile "$LINENO"; then : 16946 + if ac_fn_c_try_compile "$LINENO" 16947 + then : 16254 16948 xorg_cv_cc_flag_unused_command_line_argument=yes 16255 - else 16949 + else $as_nop 16256 16950 xorg_cv_cc_flag_unused_command_line_argument=no 16257 16951 fi 16258 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16952 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16259 16953 fi 16260 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16261 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16954 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16955 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16262 16956 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16263 16957 CFLAGS="$xorg_testset_save_CFLAGS" 16264 16958 fi ··· 16276 16970 16277 16971 CFLAGS="$CFLAGS -Wtrigraphs" 16278 16972 16279 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 16280 - $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; } 16973 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5 16974 + printf %s "checking if $CC supports -Wtrigraphs... " >&6; } 16281 16975 cacheid=xorg_cv_cc_flag__Wtrigraphs 16282 - if eval \${$cacheid+:} false; then : 16283 - $as_echo_n "(cached) " >&6 16284 - else 16976 + if eval test \${$cacheid+y} 16977 + then : 16978 + printf %s "(cached) " >&6 16979 + else $as_nop 16285 16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16286 16981 /* end confdefs.h. */ 16287 16982 int i; 16288 16983 int 16289 - main () 16984 + main (void) 16290 16985 { 16291 16986 16292 16987 ; 16293 16988 return 0; 16294 16989 } 16295 16990 _ACEOF 16296 - if ac_fn_c_try_link "$LINENO"; then : 16991 + if ac_fn_c_try_link "$LINENO" 16992 + then : 16297 16993 eval $cacheid=yes 16298 - else 16994 + else $as_nop 16299 16995 eval $cacheid=no 16300 16996 fi 16301 - rm -f core conftest.err conftest.$ac_objext \ 16997 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16302 16998 conftest$ac_exeext conftest.$ac_ext 16303 16999 fi 16304 17000 ··· 16306 17002 CFLAGS="$xorg_testset_save_CFLAGS" 16307 17003 16308 17004 eval supported=\$$cacheid 16309 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16310 - $as_echo "$supported" >&6; } 17005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17006 + printf "%s\n" "$supported" >&6; } 16311 17007 if test "$supported" = "yes" ; then 16312 17008 BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs" 16313 17009 found="yes" ··· 16332 17028 16333 17029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16334 17030 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16335 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16336 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16337 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16338 - $as_echo_n "(cached) " >&6 16339 - else 17031 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17032 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17033 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17034 + then : 17035 + printf %s "(cached) " >&6 17036 + else $as_nop 16340 17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16341 17038 /* end confdefs.h. */ 16342 17039 int i; 16343 17040 _ACEOF 16344 - if ac_fn_c_try_compile "$LINENO"; then : 17041 + if ac_fn_c_try_compile "$LINENO" 17042 + then : 16345 17043 xorg_cv_cc_flag_unknown_warning_option=yes 16346 - else 17044 + else $as_nop 16347 17045 xorg_cv_cc_flag_unknown_warning_option=no 16348 17046 fi 16349 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17047 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16350 17048 fi 16351 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16352 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17049 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17050 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16353 17051 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16354 17052 CFLAGS="$xorg_testset_save_CFLAGS" 16355 17053 fi ··· 16359 17057 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16360 17058 fi 16361 17059 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16362 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16363 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16364 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16365 - $as_echo_n "(cached) " >&6 16366 - else 17060 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17061 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17062 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17063 + then : 17064 + printf %s "(cached) " >&6 17065 + else $as_nop 16367 17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16368 17067 /* end confdefs.h. */ 16369 17068 int i; 16370 17069 _ACEOF 16371 - if ac_fn_c_try_compile "$LINENO"; then : 17070 + if ac_fn_c_try_compile "$LINENO" 17071 + then : 16372 17072 xorg_cv_cc_flag_unused_command_line_argument=yes 16373 - else 17073 + else $as_nop 16374 17074 xorg_cv_cc_flag_unused_command_line_argument=no 16375 17075 fi 16376 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17076 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16377 17077 fi 16378 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16379 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17078 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17079 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16380 17080 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16381 17081 CFLAGS="$xorg_testset_save_CFLAGS" 16382 17082 fi ··· 16394 17094 16395 17095 CFLAGS="$CFLAGS -Warray-bounds" 16396 17096 16397 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 16398 - $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; } 17097 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5 17098 + printf %s "checking if $CC supports -Warray-bounds... " >&6; } 16399 17099 cacheid=xorg_cv_cc_flag__Warray_bounds 16400 - if eval \${$cacheid+:} false; then : 16401 - $as_echo_n "(cached) " >&6 16402 - else 17100 + if eval test \${$cacheid+y} 17101 + then : 17102 + printf %s "(cached) " >&6 17103 + else $as_nop 16403 17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16404 17105 /* end confdefs.h. */ 16405 17106 int i; 16406 17107 int 16407 - main () 17108 + main (void) 16408 17109 { 16409 17110 16410 17111 ; 16411 17112 return 0; 16412 17113 } 16413 17114 _ACEOF 16414 - if ac_fn_c_try_link "$LINENO"; then : 17115 + if ac_fn_c_try_link "$LINENO" 17116 + then : 16415 17117 eval $cacheid=yes 16416 - else 17118 + else $as_nop 16417 17119 eval $cacheid=no 16418 17120 fi 16419 - rm -f core conftest.err conftest.$ac_objext \ 17121 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16420 17122 conftest$ac_exeext conftest.$ac_ext 16421 17123 fi 16422 17124 ··· 16424 17126 CFLAGS="$xorg_testset_save_CFLAGS" 16425 17127 16426 17128 eval supported=\$$cacheid 16427 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16428 - $as_echo "$supported" >&6; } 17129 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17130 + printf "%s\n" "$supported" >&6; } 16429 17131 if test "$supported" = "yes" ; then 16430 17132 BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds" 16431 17133 found="yes" ··· 16450 17152 16451 17153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16452 17154 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16453 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16454 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16455 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16456 - $as_echo_n "(cached) " >&6 16457 - else 17155 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17156 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17157 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17158 + then : 17159 + printf %s "(cached) " >&6 17160 + else $as_nop 16458 17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16459 17162 /* end confdefs.h. */ 16460 17163 int i; 16461 17164 _ACEOF 16462 - if ac_fn_c_try_compile "$LINENO"; then : 17165 + if ac_fn_c_try_compile "$LINENO" 17166 + then : 16463 17167 xorg_cv_cc_flag_unknown_warning_option=yes 16464 - else 17168 + else $as_nop 16465 17169 xorg_cv_cc_flag_unknown_warning_option=no 16466 17170 fi 16467 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17171 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16468 17172 fi 16469 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16470 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17173 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17174 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16471 17175 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16472 17176 CFLAGS="$xorg_testset_save_CFLAGS" 16473 17177 fi ··· 16477 17181 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16478 17182 fi 16479 17183 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16480 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16481 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16482 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16483 - $as_echo_n "(cached) " >&6 16484 - else 17184 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17185 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17186 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17187 + then : 17188 + printf %s "(cached) " >&6 17189 + else $as_nop 16485 17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16486 17191 /* end confdefs.h. */ 16487 17192 int i; 16488 17193 _ACEOF 16489 - if ac_fn_c_try_compile "$LINENO"; then : 17194 + if ac_fn_c_try_compile "$LINENO" 17195 + then : 16490 17196 xorg_cv_cc_flag_unused_command_line_argument=yes 16491 - else 17197 + else $as_nop 16492 17198 xorg_cv_cc_flag_unused_command_line_argument=no 16493 17199 fi 16494 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17200 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16495 17201 fi 16496 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16497 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17202 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17203 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16498 17204 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16499 17205 CFLAGS="$xorg_testset_save_CFLAGS" 16500 17206 fi ··· 16512 17218 16513 17219 CFLAGS="$CFLAGS -Wwrite-strings" 16514 17220 16515 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 16516 - $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; } 17221 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5 17222 + printf %s "checking if $CC supports -Wwrite-strings... " >&6; } 16517 17223 cacheid=xorg_cv_cc_flag__Wwrite_strings 16518 - if eval \${$cacheid+:} false; then : 16519 - $as_echo_n "(cached) " >&6 16520 - else 17224 + if eval test \${$cacheid+y} 17225 + then : 17226 + printf %s "(cached) " >&6 17227 + else $as_nop 16521 17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16522 17229 /* end confdefs.h. */ 16523 17230 int i; 16524 17231 int 16525 - main () 17232 + main (void) 16526 17233 { 16527 17234 16528 17235 ; 16529 17236 return 0; 16530 17237 } 16531 17238 _ACEOF 16532 - if ac_fn_c_try_link "$LINENO"; then : 17239 + if ac_fn_c_try_link "$LINENO" 17240 + then : 16533 17241 eval $cacheid=yes 16534 - else 17242 + else $as_nop 16535 17243 eval $cacheid=no 16536 17244 fi 16537 - rm -f core conftest.err conftest.$ac_objext \ 17245 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16538 17246 conftest$ac_exeext conftest.$ac_ext 16539 17247 fi 16540 17248 ··· 16542 17250 CFLAGS="$xorg_testset_save_CFLAGS" 16543 17251 16544 17252 eval supported=\$$cacheid 16545 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16546 - $as_echo "$supported" >&6; } 17253 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17254 + printf "%s\n" "$supported" >&6; } 16547 17255 if test "$supported" = "yes" ; then 16548 17256 BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings" 16549 17257 found="yes" ··· 16568 17276 16569 17277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16570 17278 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16571 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16572 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16573 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16574 - $as_echo_n "(cached) " >&6 16575 - else 17279 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17280 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17281 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17282 + then : 17283 + printf %s "(cached) " >&6 17284 + else $as_nop 16576 17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16577 17286 /* end confdefs.h. */ 16578 17287 int i; 16579 17288 _ACEOF 16580 - if ac_fn_c_try_compile "$LINENO"; then : 17289 + if ac_fn_c_try_compile "$LINENO" 17290 + then : 16581 17291 xorg_cv_cc_flag_unknown_warning_option=yes 16582 - else 17292 + else $as_nop 16583 17293 xorg_cv_cc_flag_unknown_warning_option=no 16584 17294 fi 16585 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17295 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16586 17296 fi 16587 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16588 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17297 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17298 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16589 17299 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16590 17300 CFLAGS="$xorg_testset_save_CFLAGS" 16591 17301 fi ··· 16595 17305 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16596 17306 fi 16597 17307 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16598 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16599 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16600 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16601 - $as_echo_n "(cached) " >&6 16602 - else 17308 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17309 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17310 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17311 + then : 17312 + printf %s "(cached) " >&6 17313 + else $as_nop 16603 17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16604 17315 /* end confdefs.h. */ 16605 17316 int i; 16606 17317 _ACEOF 16607 - if ac_fn_c_try_compile "$LINENO"; then : 17318 + if ac_fn_c_try_compile "$LINENO" 17319 + then : 16608 17320 xorg_cv_cc_flag_unused_command_line_argument=yes 16609 - else 17321 + else $as_nop 16610 17322 xorg_cv_cc_flag_unused_command_line_argument=no 16611 17323 fi 16612 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17324 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16613 17325 fi 16614 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16615 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17326 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17327 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16616 17328 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16617 17329 CFLAGS="$xorg_testset_save_CFLAGS" 16618 17330 fi ··· 16630 17342 16631 17343 CFLAGS="$CFLAGS -Waddress" 16632 17344 16633 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 16634 - $as_echo_n "checking if $CC supports -Waddress... " >&6; } 17345 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5 17346 + printf %s "checking if $CC supports -Waddress... " >&6; } 16635 17347 cacheid=xorg_cv_cc_flag__Waddress 16636 - if eval \${$cacheid+:} false; then : 16637 - $as_echo_n "(cached) " >&6 16638 - else 17348 + if eval test \${$cacheid+y} 17349 + then : 17350 + printf %s "(cached) " >&6 17351 + else $as_nop 16639 17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16640 17353 /* end confdefs.h. */ 16641 17354 int i; 16642 17355 int 16643 - main () 17356 + main (void) 16644 17357 { 16645 17358 16646 17359 ; 16647 17360 return 0; 16648 17361 } 16649 17362 _ACEOF 16650 - if ac_fn_c_try_link "$LINENO"; then : 17363 + if ac_fn_c_try_link "$LINENO" 17364 + then : 16651 17365 eval $cacheid=yes 16652 - else 17366 + else $as_nop 16653 17367 eval $cacheid=no 16654 17368 fi 16655 - rm -f core conftest.err conftest.$ac_objext \ 17369 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16656 17370 conftest$ac_exeext conftest.$ac_ext 16657 17371 fi 16658 17372 ··· 16660 17374 CFLAGS="$xorg_testset_save_CFLAGS" 16661 17375 16662 17376 eval supported=\$$cacheid 16663 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16664 - $as_echo "$supported" >&6; } 17377 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17378 + printf "%s\n" "$supported" >&6; } 16665 17379 if test "$supported" = "yes" ; then 16666 17380 BASE_CFLAGS="$BASE_CFLAGS -Waddress" 16667 17381 found="yes" ··· 16686 17400 16687 17401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16688 17402 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16689 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16690 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16691 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16692 - $as_echo_n "(cached) " >&6 16693 - else 17403 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17404 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17405 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17406 + then : 17407 + printf %s "(cached) " >&6 17408 + else $as_nop 16694 17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16695 17410 /* end confdefs.h. */ 16696 17411 int i; 16697 17412 _ACEOF 16698 - if ac_fn_c_try_compile "$LINENO"; then : 17413 + if ac_fn_c_try_compile "$LINENO" 17414 + then : 16699 17415 xorg_cv_cc_flag_unknown_warning_option=yes 16700 - else 17416 + else $as_nop 16701 17417 xorg_cv_cc_flag_unknown_warning_option=no 16702 17418 fi 16703 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17419 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16704 17420 fi 16705 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16706 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17421 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17422 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16707 17423 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16708 17424 CFLAGS="$xorg_testset_save_CFLAGS" 16709 17425 fi ··· 16713 17429 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16714 17430 fi 16715 17431 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16716 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16717 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16718 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16719 - $as_echo_n "(cached) " >&6 16720 - else 17432 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17433 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17434 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17435 + then : 17436 + printf %s "(cached) " >&6 17437 + else $as_nop 16721 17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16722 17439 /* end confdefs.h. */ 16723 17440 int i; 16724 17441 _ACEOF 16725 - if ac_fn_c_try_compile "$LINENO"; then : 17442 + if ac_fn_c_try_compile "$LINENO" 17443 + then : 16726 17444 xorg_cv_cc_flag_unused_command_line_argument=yes 16727 - else 17445 + else $as_nop 16728 17446 xorg_cv_cc_flag_unused_command_line_argument=no 16729 17447 fi 16730 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17448 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16731 17449 fi 16732 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16733 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17450 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17451 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16734 17452 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16735 17453 CFLAGS="$xorg_testset_save_CFLAGS" 16736 17454 fi ··· 16748 17466 16749 17467 CFLAGS="$CFLAGS -Wint-to-pointer-cast" 16750 17468 16751 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 16752 - $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 17469 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5 17470 + printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; } 16753 17471 cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast 16754 - if eval \${$cacheid+:} false; then : 16755 - $as_echo_n "(cached) " >&6 16756 - else 17472 + if eval test \${$cacheid+y} 17473 + then : 17474 + printf %s "(cached) " >&6 17475 + else $as_nop 16757 17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16758 17477 /* end confdefs.h. */ 16759 17478 int i; 16760 17479 int 16761 - main () 17480 + main (void) 16762 17481 { 16763 17482 16764 17483 ; 16765 17484 return 0; 16766 17485 } 16767 17486 _ACEOF 16768 - if ac_fn_c_try_link "$LINENO"; then : 17487 + if ac_fn_c_try_link "$LINENO" 17488 + then : 16769 17489 eval $cacheid=yes 16770 - else 17490 + else $as_nop 16771 17491 eval $cacheid=no 16772 17492 fi 16773 - rm -f core conftest.err conftest.$ac_objext \ 17493 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16774 17494 conftest$ac_exeext conftest.$ac_ext 16775 17495 fi 16776 17496 ··· 16778 17498 CFLAGS="$xorg_testset_save_CFLAGS" 16779 17499 16780 17500 eval supported=\$$cacheid 16781 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16782 - $as_echo "$supported" >&6; } 17501 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17502 + printf "%s\n" "$supported" >&6; } 16783 17503 if test "$supported" = "yes" ; then 16784 17504 BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast" 16785 17505 found="yes" ··· 16804 17524 16805 17525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16806 17526 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16807 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16808 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16809 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16810 - $as_echo_n "(cached) " >&6 16811 - else 17527 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17528 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17529 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17530 + then : 17531 + printf %s "(cached) " >&6 17532 + else $as_nop 16812 17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16813 17534 /* end confdefs.h. */ 16814 17535 int i; 16815 17536 _ACEOF 16816 - if ac_fn_c_try_compile "$LINENO"; then : 17537 + if ac_fn_c_try_compile "$LINENO" 17538 + then : 16817 17539 xorg_cv_cc_flag_unknown_warning_option=yes 16818 - else 17540 + else $as_nop 16819 17541 xorg_cv_cc_flag_unknown_warning_option=no 16820 17542 fi 16821 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17543 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16822 17544 fi 16823 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16824 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17545 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17546 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16825 17547 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16826 17548 CFLAGS="$xorg_testset_save_CFLAGS" 16827 17549 fi ··· 16831 17553 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16832 17554 fi 16833 17555 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16834 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16835 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16836 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16837 - $as_echo_n "(cached) " >&6 16838 - else 17556 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17557 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17558 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17559 + then : 17560 + printf %s "(cached) " >&6 17561 + else $as_nop 16839 17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16840 17563 /* end confdefs.h. */ 16841 17564 int i; 16842 17565 _ACEOF 16843 - if ac_fn_c_try_compile "$LINENO"; then : 17566 + if ac_fn_c_try_compile "$LINENO" 17567 + then : 16844 17568 xorg_cv_cc_flag_unused_command_line_argument=yes 16845 - else 17569 + else $as_nop 16846 17570 xorg_cv_cc_flag_unused_command_line_argument=no 16847 17571 fi 16848 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17572 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16849 17573 fi 16850 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 16851 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17574 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17575 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 16852 17576 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 16853 17577 CFLAGS="$xorg_testset_save_CFLAGS" 16854 17578 fi ··· 16866 17590 16867 17591 CFLAGS="$CFLAGS -Wpointer-to-int-cast" 16868 17592 16869 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 16870 - $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 17593 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5 17594 + printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; } 16871 17595 cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast 16872 - if eval \${$cacheid+:} false; then : 16873 - $as_echo_n "(cached) " >&6 16874 - else 17596 + if eval test \${$cacheid+y} 17597 + then : 17598 + printf %s "(cached) " >&6 17599 + else $as_nop 16875 17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16876 17601 /* end confdefs.h. */ 16877 17602 int i; 16878 17603 int 16879 - main () 17604 + main (void) 16880 17605 { 16881 17606 16882 17607 ; 16883 17608 return 0; 16884 17609 } 16885 17610 _ACEOF 16886 - if ac_fn_c_try_link "$LINENO"; then : 17611 + if ac_fn_c_try_link "$LINENO" 17612 + then : 16887 17613 eval $cacheid=yes 16888 - else 17614 + else $as_nop 16889 17615 eval $cacheid=no 16890 17616 fi 16891 - rm -f core conftest.err conftest.$ac_objext \ 17617 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 16892 17618 conftest$ac_exeext conftest.$ac_ext 16893 17619 fi 16894 17620 ··· 16896 17622 CFLAGS="$xorg_testset_save_CFLAGS" 16897 17623 16898 17624 eval supported=\$$cacheid 16899 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 16900 - $as_echo "$supported" >&6; } 17625 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17626 + printf "%s\n" "$supported" >&6; } 16901 17627 if test "$supported" = "yes" ; then 16902 17628 BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast" 16903 17629 found="yes" ··· 16926 17652 16927 17653 16928 17654 # Check whether --enable-strict-compilation was given. 16929 - if test "${enable_strict_compilation+set}" = set; then : 17655 + if test ${enable_strict_compilation+y} 17656 + then : 16930 17657 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 16931 - else 17658 + else $as_nop 16932 17659 STRICT_COMPILE=no 16933 17660 fi 16934 17661 ··· 16955 17682 16956 17683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 16957 17684 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16958 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 16959 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 16960 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 16961 - $as_echo_n "(cached) " >&6 16962 - else 17685 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17686 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17687 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17688 + then : 17689 + printf %s "(cached) " >&6 17690 + else $as_nop 16963 17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16964 17692 /* end confdefs.h. */ 16965 17693 int i; 16966 17694 _ACEOF 16967 - if ac_fn_c_try_compile "$LINENO"; then : 17695 + if ac_fn_c_try_compile "$LINENO" 17696 + then : 16968 17697 xorg_cv_cc_flag_unknown_warning_option=yes 16969 - else 17698 + else $as_nop 16970 17699 xorg_cv_cc_flag_unknown_warning_option=no 16971 17700 fi 16972 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17701 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 16973 17702 fi 16974 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 16975 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17703 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17704 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 16976 17705 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 16977 17706 CFLAGS="$xorg_testset_save_CFLAGS" 16978 17707 fi ··· 16982 17711 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 16983 17712 fi 16984 17713 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 16985 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 16986 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 16987 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 16988 - $as_echo_n "(cached) " >&6 16989 - else 17714 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17715 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17716 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17717 + then : 17718 + printf %s "(cached) " >&6 17719 + else $as_nop 16990 17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16991 17721 /* end confdefs.h. */ 16992 17722 int i; 16993 17723 _ACEOF 16994 - if ac_fn_c_try_compile "$LINENO"; then : 17724 + if ac_fn_c_try_compile "$LINENO" 17725 + then : 16995 17726 xorg_cv_cc_flag_unused_command_line_argument=yes 16996 - else 17727 + else $as_nop 16997 17728 xorg_cv_cc_flag_unused_command_line_argument=no 16998 17729 fi 16999 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17730 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17000 17731 fi 17001 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17002 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17732 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17733 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17003 17734 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17004 17735 CFLAGS="$xorg_testset_save_CFLAGS" 17005 17736 fi ··· 17017 17748 17018 17749 CFLAGS="$CFLAGS -pedantic" 17019 17750 17020 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 17021 - $as_echo_n "checking if $CC supports -pedantic... " >&6; } 17751 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5 17752 + printf %s "checking if $CC supports -pedantic... " >&6; } 17022 17753 cacheid=xorg_cv_cc_flag__pedantic 17023 - if eval \${$cacheid+:} false; then : 17024 - $as_echo_n "(cached) " >&6 17025 - else 17754 + if eval test \${$cacheid+y} 17755 + then : 17756 + printf %s "(cached) " >&6 17757 + else $as_nop 17026 17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17027 17759 /* end confdefs.h. */ 17028 17760 int i; 17029 17761 int 17030 - main () 17762 + main (void) 17031 17763 { 17032 17764 17033 17765 ; 17034 17766 return 0; 17035 17767 } 17036 17768 _ACEOF 17037 - if ac_fn_c_try_link "$LINENO"; then : 17769 + if ac_fn_c_try_link "$LINENO" 17770 + then : 17038 17771 eval $cacheid=yes 17039 - else 17772 + else $as_nop 17040 17773 eval $cacheid=no 17041 17774 fi 17042 - rm -f core conftest.err conftest.$ac_objext \ 17775 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17043 17776 conftest$ac_exeext conftest.$ac_ext 17044 17777 fi 17045 17778 ··· 17047 17780 CFLAGS="$xorg_testset_save_CFLAGS" 17048 17781 17049 17782 eval supported=\$$cacheid 17050 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17051 - $as_echo "$supported" >&6; } 17783 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17784 + printf "%s\n" "$supported" >&6; } 17052 17785 if test "$supported" = "yes" ; then 17053 17786 STRICT_CFLAGS="$STRICT_CFLAGS -pedantic" 17054 17787 found="yes" ··· 17073 17806 17074 17807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 17075 17808 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17076 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17077 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17078 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 17079 - $as_echo_n "(cached) " >&6 17080 - else 17809 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17810 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17811 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17812 + then : 17813 + printf %s "(cached) " >&6 17814 + else $as_nop 17081 17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17082 17816 /* end confdefs.h. */ 17083 17817 int i; 17084 17818 _ACEOF 17085 - if ac_fn_c_try_compile "$LINENO"; then : 17819 + if ac_fn_c_try_compile "$LINENO" 17820 + then : 17086 17821 xorg_cv_cc_flag_unknown_warning_option=yes 17087 - else 17822 + else $as_nop 17088 17823 xorg_cv_cc_flag_unknown_warning_option=no 17089 17824 fi 17090 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17825 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17091 17826 fi 17092 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17093 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17827 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17828 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17094 17829 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 17095 17830 CFLAGS="$xorg_testset_save_CFLAGS" 17096 17831 fi ··· 17100 17835 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17101 17836 fi 17102 17837 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17103 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17104 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17105 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17106 - $as_echo_n "(cached) " >&6 17107 - else 17838 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17839 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17840 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 17841 + then : 17842 + printf %s "(cached) " >&6 17843 + else $as_nop 17108 17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17109 17845 /* end confdefs.h. */ 17110 17846 int i; 17111 17847 _ACEOF 17112 - if ac_fn_c_try_compile "$LINENO"; then : 17848 + if ac_fn_c_try_compile "$LINENO" 17849 + then : 17113 17850 xorg_cv_cc_flag_unused_command_line_argument=yes 17114 - else 17851 + else $as_nop 17115 17852 xorg_cv_cc_flag_unused_command_line_argument=no 17116 17853 fi 17117 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17854 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17118 17855 fi 17119 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17120 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17856 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17857 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17121 17858 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17122 17859 CFLAGS="$xorg_testset_save_CFLAGS" 17123 17860 fi ··· 17135 17872 17136 17873 CFLAGS="$CFLAGS -Werror" 17137 17874 17138 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 17139 - $as_echo_n "checking if $CC supports -Werror... " >&6; } 17875 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 17876 + printf %s "checking if $CC supports -Werror... " >&6; } 17140 17877 cacheid=xorg_cv_cc_flag__Werror 17141 - if eval \${$cacheid+:} false; then : 17142 - $as_echo_n "(cached) " >&6 17143 - else 17878 + if eval test \${$cacheid+y} 17879 + then : 17880 + printf %s "(cached) " >&6 17881 + else $as_nop 17144 17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17145 17883 /* end confdefs.h. */ 17146 17884 int i; 17147 17885 int 17148 - main () 17886 + main (void) 17149 17887 { 17150 17888 17151 17889 ; 17152 17890 return 0; 17153 17891 } 17154 17892 _ACEOF 17155 - if ac_fn_c_try_link "$LINENO"; then : 17893 + if ac_fn_c_try_link "$LINENO" 17894 + then : 17156 17895 eval $cacheid=yes 17157 - else 17896 + else $as_nop 17158 17897 eval $cacheid=no 17159 17898 fi 17160 - rm -f core conftest.err conftest.$ac_objext \ 17899 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17161 17900 conftest$ac_exeext conftest.$ac_ext 17162 17901 fi 17163 17902 ··· 17165 17904 CFLAGS="$xorg_testset_save_CFLAGS" 17166 17905 17167 17906 eval supported=\$$cacheid 17168 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17169 - $as_echo "$supported" >&6; } 17907 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17908 + printf "%s\n" "$supported" >&6; } 17170 17909 if test "$supported" = "yes" ; then 17171 17910 STRICT_CFLAGS="$STRICT_CFLAGS -Werror" 17172 17911 found="yes" ··· 17184 17923 17185 17924 CFLAGS="$CFLAGS -errwarn" 17186 17925 17187 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 17188 - $as_echo_n "checking if $CC supports -errwarn... " >&6; } 17926 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5 17927 + printf %s "checking if $CC supports -errwarn... " >&6; } 17189 17928 cacheid=xorg_cv_cc_flag__errwarn 17190 - if eval \${$cacheid+:} false; then : 17191 - $as_echo_n "(cached) " >&6 17192 - else 17929 + if eval test \${$cacheid+y} 17930 + then : 17931 + printf %s "(cached) " >&6 17932 + else $as_nop 17193 17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17194 17934 /* end confdefs.h. */ 17195 17935 int i; 17196 17936 int 17197 - main () 17937 + main (void) 17198 17938 { 17199 17939 17200 17940 ; 17201 17941 return 0; 17202 17942 } 17203 17943 _ACEOF 17204 - if ac_fn_c_try_link "$LINENO"; then : 17944 + if ac_fn_c_try_link "$LINENO" 17945 + then : 17205 17946 eval $cacheid=yes 17206 - else 17947 + else $as_nop 17207 17948 eval $cacheid=no 17208 17949 fi 17209 - rm -f core conftest.err conftest.$ac_objext \ 17950 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17210 17951 conftest$ac_exeext conftest.$ac_ext 17211 17952 fi 17212 17953 ··· 17214 17955 CFLAGS="$xorg_testset_save_CFLAGS" 17215 17956 17216 17957 eval supported=\$$cacheid 17217 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17218 - $as_echo "$supported" >&6; } 17958 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17959 + printf "%s\n" "$supported" >&6; } 17219 17960 if test "$supported" = "yes" ; then 17220 17961 STRICT_CFLAGS="$STRICT_CFLAGS -errwarn" 17221 17962 found="yes" ··· 17243 17984 17244 17985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then 17245 17986 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17246 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17247 - $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17248 - if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then : 17249 - $as_echo_n "(cached) " >&6 17250 - else 17987 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5 17988 + printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; } 17989 + if test ${xorg_cv_cc_flag_unknown_warning_option+y} 17990 + then : 17991 + printf %s "(cached) " >&6 17992 + else $as_nop 17251 17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17252 17994 /* end confdefs.h. */ 17253 17995 int i; 17254 17996 _ACEOF 17255 - if ac_fn_c_try_compile "$LINENO"; then : 17997 + if ac_fn_c_try_compile "$LINENO" 17998 + then : 17256 17999 xorg_cv_cc_flag_unknown_warning_option=yes 17257 - else 18000 + else $as_nop 17258 18001 xorg_cv_cc_flag_unknown_warning_option=no 17259 18002 fi 17260 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18003 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17261 18004 fi 17262 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 17263 - $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 18005 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5 18006 + printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; } 17264 18007 xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option 17265 18008 CFLAGS="$xorg_testset_save_CFLAGS" 17266 18009 fi ··· 17270 18013 CFLAGS="$CFLAGS -Werror=unknown-warning-option" 17271 18014 fi 17272 18015 CFLAGS="$CFLAGS -Werror=unused-command-line-argument" 17273 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 17274 - $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 17275 - if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then : 17276 - $as_echo_n "(cached) " >&6 17277 - else 18016 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5 18017 + printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; } 18018 + if test ${xorg_cv_cc_flag_unused_command_line_argument+y} 18019 + then : 18020 + printf %s "(cached) " >&6 18021 + else $as_nop 17278 18022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17279 18023 /* end confdefs.h. */ 17280 18024 int i; 17281 18025 _ACEOF 17282 - if ac_fn_c_try_compile "$LINENO"; then : 18026 + if ac_fn_c_try_compile "$LINENO" 18027 + then : 17283 18028 xorg_cv_cc_flag_unused_command_line_argument=yes 17284 - else 18029 + else $as_nop 17285 18030 xorg_cv_cc_flag_unused_command_line_argument=no 17286 18031 fi 17287 - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18032 + rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 17288 18033 fi 17289 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 17290 - $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 18034 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5 18035 + printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; } 17291 18036 xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument 17292 18037 CFLAGS="$xorg_testset_save_CFLAGS" 17293 18038 fi ··· 17305 18050 17306 18051 CFLAGS="$CFLAGS -Werror=attributes" 17307 18052 17308 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 17309 - $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; } 18053 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5 18054 + printf %s "checking if $CC supports -Werror=attributes... " >&6; } 17310 18055 cacheid=xorg_cv_cc_flag__Werror_attributes 17311 - if eval \${$cacheid+:} false; then : 17312 - $as_echo_n "(cached) " >&6 17313 - else 18056 + if eval test \${$cacheid+y} 18057 + then : 18058 + printf %s "(cached) " >&6 18059 + else $as_nop 17314 18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17315 18061 /* end confdefs.h. */ 17316 18062 int i; 17317 18063 int 17318 - main () 18064 + main (void) 17319 18065 { 17320 18066 17321 18067 ; 17322 18068 return 0; 17323 18069 } 17324 18070 _ACEOF 17325 - if ac_fn_c_try_link "$LINENO"; then : 18071 + if ac_fn_c_try_link "$LINENO" 18072 + then : 17326 18073 eval $cacheid=yes 17327 - else 18074 + else $as_nop 17328 18075 eval $cacheid=no 17329 18076 fi 17330 - rm -f core conftest.err conftest.$ac_objext \ 18077 + rm -f core conftest.err conftest.$ac_objext conftest.beam \ 17331 18078 conftest$ac_exeext conftest.$ac_ext 17332 18079 fi 17333 18080 ··· 17335 18082 CFLAGS="$xorg_testset_save_CFLAGS" 17336 18083 17337 18084 eval supported=\$$cacheid 17338 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 17339 - $as_echo "$supported" >&6; } 18085 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5 18086 + printf "%s\n" "$supported" >&6; } 17340 18087 if test "$supported" = "yes" ; then 17341 18088 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes" 17342 18089 found="yes" ··· 17355 18102 17356 18103 17357 18104 18105 + 18106 + 17358 18107 cat >>confdefs.h <<_ACEOF 17359 18108 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 17360 18109 _ACEOF ··· 17364 18113 PVM="0" 17365 18114 fi 17366 18115 17367 - cat >>confdefs.h <<_ACEOF 17368 - #define PACKAGE_VERSION_MINOR $PVM 17369 - _ACEOF 18116 + printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h 17370 18117 17371 18118 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 17372 18119 if test "x$PVP" = "x"; then 17373 18120 PVP="0" 17374 18121 fi 17375 18122 17376 - cat >>confdefs.h <<_ACEOF 17377 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 17378 - _ACEOF 18123 + printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h 17379 18124 17380 18125 17381 18126 ··· 17405 18150 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we 17406 18151 # check for a man page file found in later versions that use 17407 18152 # traditional section numbers instead 17408 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 17409 - $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; } 17410 - if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then : 17411 - $as_echo_n "(cached) " >&6 17412 - else 18153 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5 18154 + printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; } 18155 + if test ${ac_cv_file__usr_share_man_man7_attributes_7+y} 18156 + then : 18157 + printf %s "(cached) " >&6 18158 + else $as_nop 17413 18159 test "$cross_compiling" = yes && 17414 18160 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 17415 18161 if test -r "/usr/share/man/man7/attributes.7"; then ··· 17418 18164 ac_cv_file__usr_share_man_man7_attributes_7=no 17419 18165 fi 17420 18166 fi 17421 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 17422 - $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 17423 - if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then : 18167 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5 18168 + printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; } 18169 + if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes 18170 + then : 17424 18171 SYSV_MAN_SECTIONS=false 17425 - else 18172 + else $as_nop 17426 18173 SYSV_MAN_SECTIONS=true 17427 18174 fi 17428 18175 ··· 17517 18264 17518 18265 17519 18266 # Check whether --enable-silent-rules was given. 17520 - if test "${enable_silent_rules+set}" = set; then : 18267 + if test ${enable_silent_rules+y} 18268 + then : 17521 18269 enableval=$enable_silent_rules; 17522 18270 fi 17523 18271 ··· 17527 18275 *) AM_DEFAULT_VERBOSITY=0;; 17528 18276 esac 17529 18277 am_make=${MAKE-make} 17530 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 17531 - $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 17532 - if ${am_cv_make_support_nested_variables+:} false; then : 17533 - $as_echo_n "(cached) " >&6 17534 - else 17535 - if $as_echo 'TRUE=$(BAR$(V)) 18278 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 18279 + printf %s "checking whether $am_make supports nested variables... " >&6; } 18280 + if test ${am_cv_make_support_nested_variables+y} 18281 + then : 18282 + printf %s "(cached) " >&6 18283 + else $as_nop 18284 + if printf "%s\n" 'TRUE=$(BAR$(V)) 17536 18285 BAR0=false 17537 18286 BAR1=true 17538 18287 V=1 ··· 17544 18293 am_cv_make_support_nested_variables=no 17545 18294 fi 17546 18295 fi 17547 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 17548 - $as_echo "$am_cv_make_support_nested_variables" >&6; } 18296 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 18297 + printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 17549 18298 if test $am_cv_make_support_nested_variables = yes; then 17550 18299 AM_V='$(V)' 17551 18300 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' ··· 17557 18306 17558 18307 17559 18308 18309 + 17560 18310 # Check damageext configuration, strip extra digits from package version to 17561 18311 # find the required protocol version 17562 18312 DAMAGEEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'` 17563 18313 17564 18314 17565 - # Obtain compiler/linker options for depedencies 18315 + # Obtain compiler/linker options for dependencies 17566 18316 17567 18317 pkg_failed=no 17568 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE" >&5 17569 - $as_echo_n "checking for XDAMAGE... " >&6; } 18318 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" >&5 18319 + printf %s "checking for damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22... " >&6; } 17570 18320 17571 18321 if test -n "$XDAMAGE_CFLAGS"; then 17572 18322 pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS" 17573 18323 elif test -n "$PKG_CONFIG"; then 17574 18324 if test -n "$PKG_CONFIG" && \ 17575 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11\""; } >&5 17576 - ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11") 2>&5 18325 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22\""; } >&5 18326 + ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22") 2>&5 17577 18327 ac_status=$? 17578 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18328 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17579 18329 test $ac_status = 0; }; then 17580 - pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>/dev/null` 18330 + pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>/dev/null` 17581 18331 test "x$?" != "x0" && pkg_failed=yes 17582 18332 else 17583 18333 pkg_failed=yes ··· 17589 18339 pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS" 17590 18340 elif test -n "$PKG_CONFIG"; then 17591 18341 if test -n "$PKG_CONFIG" && \ 17592 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11\""; } >&5 17593 - ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11") 2>&5 18342 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22\""; } >&5 18343 + ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22") 2>&5 17594 18344 ac_status=$? 17595 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 18345 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17596 18346 test $ac_status = 0; }; then 17597 - pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>/dev/null` 18347 + pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>/dev/null` 17598 18348 test "x$?" != "x0" && pkg_failed=yes 17599 18349 else 17600 18350 pkg_failed=yes ··· 17606 18356 17607 18357 17608 18358 if test $pkg_failed = yes; then 17609 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17610 - $as_echo "no" >&6; } 18359 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18360 + printf "%s\n" "no" >&6; } 17611 18361 17612 18362 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17613 18363 _pkg_short_errors_supported=yes ··· 17615 18365 _pkg_short_errors_supported=no 17616 18366 fi 17617 18367 if test $_pkg_short_errors_supported = yes; then 17618 - XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>&1` 18368 + XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>&1` 17619 18369 else 17620 - XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>&1` 18370 + XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>&1` 17621 18371 fi 17622 18372 # Put the nasty error message in config.log where it belongs 17623 18373 echo "$XDAMAGE_PKG_ERRORS" >&5 17624 18374 17625 - as_fn_error $? "Package requirements (damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11) were not met: 18375 + as_fn_error $? "Package requirements (damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22) were not met: 17626 18376 17627 18377 $XDAMAGE_PKG_ERRORS 17628 18378 ··· 17633 18383 and XDAMAGE_LIBS to avoid the need to call pkg-config. 17634 18384 See the pkg-config man page for more details." "$LINENO" 5 17635 18385 elif test $pkg_failed = untried; then 17636 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17637 - $as_echo "no" >&6; } 17638 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17639 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18386 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 18387 + printf "%s\n" "no" >&6; } 18388 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18389 + printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 17640 18390 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 17641 18391 is in your PATH or set the PKG_CONFIG environment variable to the full 17642 18392 path to pkg-config. ··· 17650 18400 else 17651 18401 XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS 17652 18402 XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS 17653 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17654 - $as_echo "yes" >&6; } 18403 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18404 + printf "%s\n" "yes" >&6; } 17655 18405 17656 18406 fi 17657 18407 ··· 17684 18434 case $ac_val in #( 17685 18435 *${as_nl}*) 17686 18436 case $ac_var in #( 17687 - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17688 - $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18437 + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18438 + printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17689 18439 esac 17690 18440 case $ac_var in #( 17691 18441 _ | IFS | as_nl) ;; #( ··· 17715 18465 /^ac_cv_env_/b end 17716 18466 t clear 17717 18467 :clear 17718 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18468 + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 17719 18469 t end 17720 18470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17721 18471 :end' >>confcache 17722 18472 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17723 18473 if test -w "$cache_file"; then 17724 18474 if test "x$cache_file" != "x/dev/null"; then 17725 - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17726 - $as_echo "$as_me: updating cache $cache_file" >&6;} 18475 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18476 + printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 17727 18477 if test ! -f "$cache_file" || test -h "$cache_file"; then 17728 18478 cat confcache >"$cache_file" 17729 18479 else ··· 17737 18487 fi 17738 18488 fi 17739 18489 else 17740 - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17741 - $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18490 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18491 + printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 17742 18492 fi 17743 18493 fi 17744 18494 rm -f confcache ··· 17755 18505 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17756 18506 # 1. Remove the extension, and $U if already installed. 17757 18507 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17758 - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18508 + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 17759 18509 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17760 18510 # will be set to the directory where LIBOBJS objects are built. 17761 18511 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ··· 17766 18516 LTLIBOBJS=$ac_ltlibobjs 17767 18517 17768 18518 17769 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17770 - $as_echo_n "checking that generated files are newer than configure... " >&6; } 18519 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18520 + printf %s "checking that generated files are newer than configure... " >&6; } 17771 18521 if test -n "$am_sleep_pid"; then 17772 18522 # Hide warnings about reused PIDs. 17773 18523 wait $am_sleep_pid 2>/dev/null 17774 18524 fi 17775 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17776 - $as_echo "done" >&6; } 18525 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 18526 + printf "%s\n" "done" >&6; } 17777 18527 if test -n "$EXEEXT"; then 17778 18528 am__EXEEXT_TRUE= 17779 18529 am__EXEEXT_FALSE='#' ··· 17799 18549 ac_write_fail=0 17800 18550 ac_clean_files_save=$ac_clean_files 17801 18551 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17802 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17803 - $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18552 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18553 + printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 17804 18554 as_write_fail=0 17805 18555 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17806 18556 #! $SHELL ··· 17823 18573 17824 18574 # Be more Bourne compatible 17825 18575 DUALCASE=1; export DUALCASE # for MKS sh 17826 - if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18576 + as_nop=: 18577 + if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 18578 + then : 17827 18579 emulate sh 17828 18580 NULLCMD=: 17829 18581 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17830 18582 # is contrary to our usage. Disable this feature. 17831 18583 alias -g '${1+"$@"}'='"$@"' 17832 18584 setopt NO_GLOB_SUBST 17833 - else 18585 + else $as_nop 17834 18586 case `(set -o) 2>/dev/null` in #( 17835 18587 *posix*) : 17836 18588 set -o posix ;; #( ··· 17840 18592 fi 17841 18593 17842 18594 18595 + 18596 + # Reset variables that may have inherited troublesome values from 18597 + # the environment. 18598 + 18599 + # IFS needs to be set, to space, tab, and newline, in precisely that order. 18600 + # (If _AS_PATH_WALK were called with IFS unset, it would have the 18601 + # side effect of setting IFS to empty, thus disabling word splitting.) 18602 + # Quoting is to prevent editors from complaining about space-tab. 17843 18603 as_nl=' 17844 18604 ' 17845 18605 export as_nl 17846 - # Printing a long string crashes Solaris 7 /usr/bin/printf. 17847 - as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17848 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17849 - as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17850 - # Prefer a ksh shell builtin over an external printf program on Solaris, 17851 - # but without wasting forks for bash or zsh. 17852 - if test -z "$BASH_VERSION$ZSH_VERSION" \ 17853 - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17854 - as_echo='print -r --' 17855 - as_echo_n='print -rn --' 17856 - elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17857 - as_echo='printf %s\n' 17858 - as_echo_n='printf %s' 17859 - else 17860 - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17861 - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17862 - as_echo_n='/usr/ucb/echo -n' 17863 - else 17864 - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17865 - as_echo_n_body='eval 17866 - arg=$1; 17867 - case $arg in #( 17868 - *"$as_nl"*) 17869 - expr "X$arg" : "X\\(.*\\)$as_nl"; 17870 - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17871 - esac; 17872 - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17873 - ' 17874 - export as_echo_n_body 17875 - as_echo_n='sh -c $as_echo_n_body as_echo' 17876 - fi 17877 - export as_echo_body 17878 - as_echo='sh -c $as_echo_body as_echo' 17879 - fi 18606 + IFS=" "" $as_nl" 18607 + 18608 + PS1='$ ' 18609 + PS2='> ' 18610 + PS4='+ ' 18611 + 18612 + # Ensure predictable behavior from utilities with locale-dependent output. 18613 + LC_ALL=C 18614 + export LC_ALL 18615 + LANGUAGE=C 18616 + export LANGUAGE 18617 + 18618 + # We cannot yet rely on "unset" to work, but we need these variables 18619 + # to be unset--not just set to an empty or harmless value--now, to 18620 + # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 18621 + # also avoids known problems related to "unset" and subshell syntax 18622 + # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 18623 + for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 18624 + do eval test \${$as_var+y} \ 18625 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18626 + done 18627 + 18628 + # Ensure that fds 0, 1, and 2 are open. 18629 + if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 18630 + if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 18631 + if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 17880 18632 17881 18633 # The user is always right. 17882 - if test "${PATH_SEPARATOR+set}" != set; then 18634 + if ${PATH_SEPARATOR+false} :; then 17883 18635 PATH_SEPARATOR=: 17884 18636 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17885 18637 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ··· 17888 18640 fi 17889 18641 17890 18642 17891 - # IFS 17892 - # We need space, tab and new line, in precisely that order. Quoting is 17893 - # there to prevent editors from complaining about space-tab. 17894 - # (If _AS_PATH_WALK were called with IFS unset, it would disable word 17895 - # splitting by setting IFS to empty value.) 17896 - IFS=" "" $as_nl" 17897 - 17898 18643 # Find who we are. Look in the path if we contain no directory separator. 17899 18644 as_myself= 17900 18645 case $0 in #(( ··· 17903 18648 for as_dir in $PATH 17904 18649 do 17905 18650 IFS=$as_save_IFS 17906 - test -z "$as_dir" && as_dir=. 17907 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18651 + case $as_dir in #((( 18652 + '') as_dir=./ ;; 18653 + */) ;; 18654 + *) as_dir=$as_dir/ ;; 18655 + esac 18656 + test -r "$as_dir$0" && as_myself=$as_dir$0 && break 17908 18657 done 17909 18658 IFS=$as_save_IFS 17910 18659 ··· 17916 18665 as_myself=$0 17917 18666 fi 17918 18667 if test ! -f "$as_myself"; then 17919 - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18668 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17920 18669 exit 1 17921 18670 fi 17922 18671 17923 - # Unset variables that we do not need and which cause bugs (e.g. in 17924 - # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17925 - # suppresses any "Segmentation fault" message there. '((' could 17926 - # trigger a bug in pdksh 5.2.14. 17927 - for as_var in BASH_ENV ENV MAIL MAILPATH 17928 - do eval test x\${$as_var+set} = xset \ 17929 - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17930 - done 17931 - PS1='$ ' 17932 - PS2='> ' 17933 - PS4='+ ' 17934 - 17935 - # NLS nuisances. 17936 - LC_ALL=C 17937 - export LC_ALL 17938 - LANGUAGE=C 17939 - export LANGUAGE 17940 - 17941 - # CDPATH. 17942 - (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17943 18672 17944 18673 17945 18674 # as_fn_error STATUS ERROR [LINENO LOG_FD] ··· 17952 18681 as_status=$1; test $as_status -eq 0 && as_status=1 17953 18682 if test "$4"; then 17954 18683 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17955 - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18684 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17956 18685 fi 17957 - $as_echo "$as_me: error: $2" >&2 18686 + printf "%s\n" "$as_me: error: $2" >&2 17958 18687 as_fn_exit $as_status 17959 18688 } # as_fn_error 18689 + 17960 18690 17961 18691 17962 18692 # as_fn_set_status STATUS ··· 17985 18715 { eval $1=; unset $1;} 17986 18716 } 17987 18717 as_unset=as_fn_unset 18718 + 17988 18719 # as_fn_append VAR VALUE 17989 18720 # ---------------------- 17990 18721 # Append the text in VALUE to the end of the definition contained in VAR. Take 17991 18722 # advantage of any shell optimizations that allow amortized linear growth over 17992 18723 # repeated appends, instead of the typical quadratic growth present in naive 17993 18724 # implementations. 17994 - if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18725 + if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 18726 + then : 17995 18727 eval 'as_fn_append () 17996 18728 { 17997 18729 eval $1+=\$2 17998 18730 }' 17999 - else 18731 + else $as_nop 18000 18732 as_fn_append () 18001 18733 { 18002 18734 eval $1=\$$1\$2 ··· 18008 18740 # Perform arithmetic evaluation on the ARGs, and store the result in the 18009 18741 # global $as_val. Take advantage of shells that can avoid forks. The arguments 18010 18742 # must be portable across $(()) and expr. 18011 - if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18743 + if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 18744 + then : 18012 18745 eval 'as_fn_arith () 18013 18746 { 18014 18747 as_val=$(( $* )) 18015 18748 }' 18016 - else 18749 + else $as_nop 18017 18750 as_fn_arith () 18018 18751 { 18019 18752 as_val=`expr "$@" || test $? -eq 1` ··· 18044 18777 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18045 18778 X"$0" : 'X\(//\)$' \| \ 18046 18779 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18047 - $as_echo X/"$0" | 18780 + printf "%s\n" X/"$0" | 18048 18781 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18049 18782 s//\1/ 18050 18783 q ··· 18066 18799 as_cr_digits='0123456789' 18067 18800 as_cr_alnum=$as_cr_Letters$as_cr_digits 18068 18801 18802 + 18803 + # Determine whether it's possible to make 'echo' print without a newline. 18804 + # These variables are no longer used directly by Autoconf, but are AC_SUBSTed 18805 + # for compatibility with existing Makefiles. 18069 18806 ECHO_C= ECHO_N= ECHO_T= 18070 18807 case `echo -n x` in #((((( 18071 18808 -n*) ··· 18079 18816 ECHO_N='-n';; 18080 18817 esac 18081 18818 18819 + # For backward compatibility with old third-party macros, we provide 18820 + # the shell variables $as_echo and $as_echo_n. New code should use 18821 + # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 18822 + as_echo='printf %s\n' 18823 + as_echo_n='printf %s' 18824 + 18082 18825 rm -f conf$$ conf$$.exe conf$$.file 18083 18826 if test -d conf$$.dir; then 18084 18827 rm -f conf$$.dir/conf$$.file ··· 18120 18863 as_dirs= 18121 18864 while :; do 18122 18865 case $as_dir in #( 18123 - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18866 + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18124 18867 *) as_qdir=$as_dir;; 18125 18868 esac 18126 18869 as_dirs="'$as_qdir' $as_dirs" ··· 18129 18872 X"$as_dir" : 'X\(//\)[^/]' \| \ 18130 18873 X"$as_dir" : 'X\(//\)$' \| \ 18131 18874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18132 - $as_echo X"$as_dir" | 18875 + printf "%s\n" X"$as_dir" | 18133 18876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18134 18877 s//\1/ 18135 18878 q ··· 18191 18934 # report actual input values of CONFIG_FILES etc. instead of their 18192 18935 # values after options handling. 18193 18936 ac_log=" 18194 - This file was extended by libXdamage $as_me 1.1.5, which was 18195 - generated by GNU Autoconf 2.69. Invocation command line was 18937 + This file was extended by libXdamage $as_me 1.1.6, which was 18938 + generated by GNU Autoconf 2.71. Invocation command line was 18196 18939 18197 18940 CONFIG_FILES = $CONFIG_FILES 18198 18941 CONFIG_HEADERS = $CONFIG_HEADERS ··· 18251 18994 Configuration commands: 18252 18995 $config_commands 18253 18996 18254 - Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 18997 + Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues>." 18255 18998 18256 18999 _ACEOF 19000 + ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 19001 + ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 18257 19002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18258 - ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19003 + ac_cs_config='$ac_cs_config_escaped' 18259 19004 ac_cs_version="\\ 18260 - libXdamage config.status 1.1.5 18261 - configured by $0, generated by GNU Autoconf 2.69, 19005 + libXdamage config.status 1.1.6 19006 + configured by $0, generated by GNU Autoconf 2.71, 18262 19007 with options \\"\$ac_cs_config\\" 18263 19008 18264 - Copyright (C) 2012 Free Software Foundation, Inc. 19009 + Copyright (C) 2021 Free Software Foundation, Inc. 18265 19010 This config.status script is free software; the Free Software Foundation 18266 19011 gives unlimited permission to copy, distribute and modify it." 18267 19012 ··· 18301 19046 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18302 19047 ac_cs_recheck=: ;; 18303 19048 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18304 - $as_echo "$ac_cs_version"; exit ;; 19049 + printf "%s\n" "$ac_cs_version"; exit ;; 18305 19050 --config | --confi | --conf | --con | --co | --c ) 18306 - $as_echo "$ac_cs_config"; exit ;; 19051 + printf "%s\n" "$ac_cs_config"; exit ;; 18307 19052 --debug | --debu | --deb | --de | --d | -d ) 18308 19053 debug=: ;; 18309 19054 --file | --fil | --fi | --f ) 18310 19055 $ac_shift 18311 19056 case $ac_optarg in 18312 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19057 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18313 19058 '') as_fn_error $? "missing file argument" ;; 18314 19059 esac 18315 19060 as_fn_append CONFIG_FILES " '$ac_optarg'" ··· 18317 19062 --header | --heade | --head | --hea ) 18318 19063 $ac_shift 18319 19064 case $ac_optarg in 18320 - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19065 + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18321 19066 esac 18322 19067 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18323 19068 ac_need_defaults=false;; ··· 18326 19071 as_fn_error $? "ambiguous option: \`$1' 18327 19072 Try \`$0 --help' for more information.";; 18328 19073 --help | --hel | -h ) 18329 - $as_echo "$ac_cs_usage"; exit ;; 19074 + printf "%s\n" "$ac_cs_usage"; exit ;; 18330 19075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18331 19076 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18332 19077 ac_cs_silent=: ;; ··· 18354 19099 if \$ac_cs_recheck; then 18355 19100 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18356 19101 shift 18357 - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 19102 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 18358 19103 CONFIG_SHELL='$SHELL' 18359 19104 export CONFIG_SHELL 18360 19105 exec "\$@" ··· 18368 19113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18369 19114 ## Running $as_me. ## 18370 19115 _ASBOX 18371 - $as_echo "$ac_log" 19116 + printf "%s\n" "$ac_log" 18372 19117 } >&5 18373 19118 18374 19119 _ACEOF ··· 18680 19425 # We use the long form for the default assignment because of an extremely 18681 19426 # bizarre bug on SunOS 4.1.3. 18682 19427 if $ac_need_defaults; then 18683 - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18684 - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18685 - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19428 + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 19429 + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 19430 + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 18686 19431 fi 18687 19432 18688 19433 # Have a temporary directory for convenience. Make it in the build tree ··· 19018 19763 esac || 19019 19764 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19020 19765 esac 19021 - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19766 + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19022 19767 as_fn_append ac_file_inputs " '$ac_f'" 19023 19768 done 19024 19769 ··· 19026 19771 # use $as_me), people would be surprised to read: 19027 19772 # /* config.h. Generated by config.status. */ 19028 19773 configure_input='Generated from '` 19029 - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19774 + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19030 19775 `' by configure.' 19031 19776 if test x"$ac_file" != x-; then 19032 19777 configure_input="$ac_file. $configure_input" 19033 - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19034 - $as_echo "$as_me: creating $ac_file" >&6;} 19778 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19779 + printf "%s\n" "$as_me: creating $ac_file" >&6;} 19035 19780 fi 19036 19781 # Neutralize special characters interpreted by sed in replacement strings. 19037 19782 case $configure_input in #( 19038 19783 *\&* | *\|* | *\\* ) 19039 - ac_sed_conf_input=`$as_echo "$configure_input" | 19784 + ac_sed_conf_input=`printf "%s\n" "$configure_input" | 19040 19785 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19041 19786 *) ac_sed_conf_input=$configure_input;; 19042 19787 esac ··· 19053 19798 X"$ac_file" : 'X\(//\)[^/]' \| \ 19054 19799 X"$ac_file" : 'X\(//\)$' \| \ 19055 19800 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19056 - $as_echo X"$ac_file" | 19801 + printf "%s\n" X"$ac_file" | 19057 19802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19058 19803 s//\1/ 19059 19804 q ··· 19077 19822 case "$ac_dir" in 19078 19823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19079 19824 *) 19080 - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19825 + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 19081 19826 # A ".." for each directory in $ac_dir_suffix. 19082 - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19827 + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19083 19828 case $ac_top_builddir_sub in 19084 19829 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19085 19830 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ··· 19141 19886 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19142 19887 *datarootdir*) ac_datarootdir_seen=yes;; 19143 19888 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19144 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19145 - $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19889 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19890 + printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19146 19891 _ACEOF 19147 19892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19148 19893 ac_datarootdir_hack=' ··· 19186 19931 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19187 19932 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19188 19933 "$ac_tmp/out"`; test -z "$ac_out"; } && 19189 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19934 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19190 19935 which seems to be undefined. Please make sure it is defined" >&5 19191 - $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19936 + printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19192 19937 which seems to be undefined. Please make sure it is defined" >&2;} 19193 19938 19194 19939 rm -f "$ac_tmp/stdin" ··· 19204 19949 # 19205 19950 if test x"$ac_file" != x-; then 19206 19951 { 19207 - $as_echo "/* $configure_input */" \ 19952 + printf "%s\n" "/* $configure_input */" >&1 \ 19208 19953 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19209 19954 } >"$ac_tmp/config.h" \ 19210 19955 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19211 19956 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19212 - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19213 - $as_echo "$as_me: $ac_file is unchanged" >&6;} 19957 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19958 + printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 19214 19959 else 19215 19960 rm -f "$ac_file" 19216 19961 mv "$ac_tmp/config.h" "$ac_file" \ 19217 19962 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19218 19963 fi 19219 19964 else 19220 - $as_echo "/* $configure_input */" \ 19965 + printf "%s\n" "/* $configure_input */" >&1 \ 19221 19966 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19222 19967 || as_fn_error $? "could not create -" "$LINENO" 5 19223 19968 fi ··· 19237 19982 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19238 19983 X"$_am_arg" : 'X\(//\)$' \| \ 19239 19984 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19240 - $as_echo X"$_am_arg" | 19985 + printf "%s\n" X"$_am_arg" | 19241 19986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19242 19987 s//\1/ 19243 19988 q ··· 19257 20002 s/.*/./; q'`/stamp-h$_am_stamp_count 19258 20003 ;; 19259 20004 19260 - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19261 - $as_echo "$as_me: executing $ac_file commands" >&6;} 20005 + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 20006 + printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 19262 20007 ;; 19263 20008 esac 19264 20009 ··· 19290 20035 X"$mf" : 'X\(//\)[^/]' \| \ 19291 20036 X"$mf" : 'X\(//\)$' \| \ 19292 20037 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19293 - $as_echo X"$mf" | 20038 + printf "%s\n" X"$mf" | 19294 20039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19295 20040 s//\1/ 19296 20041 q ··· 19332 20077 X"$file" : 'X\(//\)[^/]' \| \ 19333 20078 X"$file" : 'X\(//\)$' \| \ 19334 20079 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19335 - $as_echo X"$file" | 20080 + printf "%s\n" X"$file" | 19336 20081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19337 20082 s//\1/ 19338 20083 q ··· 19813 20558 esac 19814 20559 19815 20560 20561 + 19816 20562 ltmain="$ac_aux_dir/ltmain.sh" 19817 20563 19818 20564 ··· 19977 20723 fi 19978 20724 19979 20725 if test x"$_lt_function_replace_fail" = x":"; then 19980 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 19981 - $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 20726 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 20727 + printf "%s\n" "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 19982 20728 fi 19983 20729 19984 20730 ··· 20021 20767 $ac_cs_success || as_fn_exit 1 20022 20768 fi 20023 20769 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20024 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20025 - $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20770 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20771 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20026 20772 fi 20027 20773
+6 -5
lib/libXdamage/configure.ac
··· 29 29 # digit in the version number to track changes which don't affect the 30 30 # protocol, so Xdamage version l.n.m corresponds to protocol version l.n 31 31 # 32 - AC_INIT(libXdamage, [1.1.5], 33 - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXdamage]) 32 + AC_INIT(libXdamage, [1.1.6], 33 + [https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues], 34 + [libXdamage]) 34 35 AC_CONFIG_SRCDIR([Makefile.am]) 35 36 AC_CONFIG_HEADERS([config.h]) 36 37 37 38 # Initialize Automake 38 - AM_INIT_AUTOMAKE([foreign dist-bzip2]) 39 + AM_INIT_AUTOMAKE([foreign dist-xz]) 39 40 40 41 # Initialize libtool 41 42 AC_PROG_LIBTOOL ··· 51 52 DAMAGEEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`] 52 53 AC_SUBST(DAMAGEEXT_VERSION) 53 54 54 - # Obtain compiler/linker options for depedencies 55 - PKG_CHECK_MODULES(XDAMAGE, [damageproto >= $DAMAGEEXT_VERSION] xfixes fixesproto xextproto x11) 55 + # Obtain compiler/linker options for dependencies 56 + PKG_CHECK_MODULES(XDAMAGE, [damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22]) 56 57 57 58 AC_CONFIG_FILES([Makefile 58 59 src/Makefile
+214 -200
lib/libXdamage/install-sh
··· 1 1 #!/bin/sh 2 2 # install - install a program, script, or datafile 3 3 4 - scriptversion=2011-11-20.07; # UTC 4 + scriptversion=2020-11-14.01; # UTC 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 7 # later released in X11R6 (xc/config/util/install.sh) with the ··· 41 41 # This script is compatible with the BSD install script, but was written 42 42 # from scratch. 43 43 44 + tab=' ' 44 45 nl=' 45 46 ' 46 - IFS=" "" $nl" 47 + IFS=" $tab$nl" 47 48 48 - # set DOITPROG to echo to test this script 49 + # Set DOITPROG to "echo" to test this script. 49 50 50 - # Don't use :- since 4.3BSD and earlier shells don't like it. 51 51 doit=${DOITPROG-} 52 - if test -z "$doit"; then 53 - doit_exec=exec 54 - else 55 - doit_exec=$doit 56 - fi 52 + doit_exec=${doit:-exec} 57 53 58 54 # Put in absolute file names if you don't have them in your path; 59 55 # or use environment vars. ··· 68 64 rmprog=${RMPROG-rm} 69 65 stripprog=${STRIPPROG-strip} 70 66 71 - posix_glob='?' 72 - initialize_posix_glob=' 73 - test "$posix_glob" != "?" || { 74 - if (set -f) 2>/dev/null; then 75 - posix_glob= 76 - else 77 - posix_glob=: 78 - fi 79 - } 80 - ' 81 - 82 67 posix_mkdir= 83 68 84 69 # Desired mode of installed file. 85 70 mode=0755 86 71 72 + # Create dirs (including intermediate dirs) using mode 755. 73 + # This is like GNU 'install' as of coreutils 8.32 (2020). 74 + mkdir_umask=22 75 + 76 + backupsuffix= 87 77 chgrpcmd= 88 78 chmodcmd=$chmodprog 89 79 chowncmd= ··· 97 87 dst_arg= 98 88 99 89 copy_on_change=false 100 - no_target_directory= 90 + is_target_a_directory=possibly 101 91 102 92 usage="\ 103 93 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE ··· 114 104 --version display version info and exit. 115 105 116 106 -c (ignored) 117 - -C install only if different (preserve the last data modification time) 107 + -C install only if different (preserve data modification time) 118 108 -d create directories instead of installing files. 119 109 -g GROUP $chgrpprog installed files to GROUP. 120 110 -m MODE $chmodprog installed files to MODE. 121 111 -o USER $chownprog installed files to USER. 112 + -p pass -p to $cpprog. 122 113 -s $stripprog installed files. 114 + -S SUFFIX attempt to back up existing files, with suffix SUFFIX. 123 115 -t DIRECTORY install into DIRECTORY. 124 116 -T report an error if DSTFILE is a directory. 125 117 126 118 Environment variables override the default commands: 127 119 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG 128 120 RMPROG STRIPPROG 121 + 122 + By default, rm is invoked with -f; when overridden with RMPROG, 123 + it's up to you to specify -f if you want it. 124 + 125 + If -S is not specified, no backups are attempted. 126 + 127 + Email bug reports to bug-automake@gnu.org. 128 + Automake home page: https://www.gnu.org/software/automake/ 129 129 " 130 130 131 131 while test $# -ne 0; do ··· 137 137 -d) dir_arg=true;; 138 138 139 139 -g) chgrpcmd="$chgrpprog $2" 140 - shift;; 140 + shift;; 141 141 142 142 --help) echo "$usage"; exit $?;; 143 143 144 144 -m) mode=$2 145 - case $mode in 146 - *' '* | *' '* | *' 147 - '* | *'*'* | *'?'* | *'['*) 148 - echo "$0: invalid mode: $mode" >&2 149 - exit 1;; 150 - esac 151 - shift;; 145 + case $mode in 146 + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) 147 + echo "$0: invalid mode: $mode" >&2 148 + exit 1;; 149 + esac 150 + shift;; 152 151 153 152 -o) chowncmd="$chownprog $2" 154 - shift;; 153 + shift;; 154 + 155 + -p) cpprog="$cpprog -p";; 155 156 156 157 -s) stripcmd=$stripprog;; 157 158 158 - -t) dst_arg=$2 159 - # Protect names problematic for 'test' and other utilities. 160 - case $dst_arg in 161 - -* | [=\(\)!]) dst_arg=./$dst_arg;; 162 - esac 163 - shift;; 159 + -S) backupsuffix="$2" 160 + shift;; 164 161 165 - -T) no_target_directory=true;; 162 + -t) 163 + is_target_a_directory=always 164 + dst_arg=$2 165 + # Protect names problematic for 'test' and other utilities. 166 + case $dst_arg in 167 + -* | [=\(\)!]) dst_arg=./$dst_arg;; 168 + esac 169 + shift;; 170 + 171 + -T) is_target_a_directory=never;; 166 172 167 173 --version) echo "$0 $scriptversion"; exit $?;; 168 174 169 - --) shift 170 - break;; 175 + --) shift 176 + break;; 171 177 172 - -*) echo "$0: invalid option: $1" >&2 173 - exit 1;; 178 + -*) echo "$0: invalid option: $1" >&2 179 + exit 1;; 174 180 175 181 *) break;; 176 182 esac 177 183 shift 178 184 done 185 + 186 + # We allow the use of options -d and -T together, by making -d 187 + # take the precedence; this is for compatibility with GNU install. 188 + 189 + if test -n "$dir_arg"; then 190 + if test -n "$dst_arg"; then 191 + echo "$0: target directory not allowed when installing a directory." >&2 192 + exit 1 193 + fi 194 + fi 179 195 180 196 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then 181 197 # When -d is used, all remaining arguments are directories to create. ··· 208 224 fi 209 225 210 226 if test -z "$dir_arg"; then 227 + if test $# -gt 1 || test "$is_target_a_directory" = always; then 228 + if test ! -d "$dst_arg"; then 229 + echo "$0: $dst_arg: Is not a directory." >&2 230 + exit 1 231 + fi 232 + fi 233 + fi 234 + 235 + if test -z "$dir_arg"; then 211 236 do_exit='(exit $ret); exit $ret' 212 237 trap "ret=129; $do_exit" 1 213 238 trap "ret=130; $do_exit" 2 ··· 223 248 224 249 *[0-7]) 225 250 if test -z "$stripcmd"; then 226 - u_plus_rw= 251 + u_plus_rw= 227 252 else 228 - u_plus_rw='% 200' 253 + u_plus_rw='% 200' 229 254 fi 230 255 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; 231 256 *) 232 257 if test -z "$stripcmd"; then 233 - u_plus_rw= 258 + u_plus_rw= 234 259 else 235 - u_plus_rw=,u+rw 260 + u_plus_rw=,u+rw 236 261 fi 237 262 cp_umask=$mode$u_plus_rw;; 238 263 esac ··· 250 275 dstdir=$dst 251 276 test -d "$dstdir" 252 277 dstdir_status=$? 278 + # Don't chown directories that already exist. 279 + if test $dstdir_status = 0; then 280 + chowncmd="" 281 + fi 253 282 else 254 283 255 284 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command ··· 266 295 fi 267 296 dst=$dst_arg 268 297 269 - # If destination is a directory, append the input filename; won't work 270 - # if double slashes aren't ignored. 298 + # If destination is a directory, append the input filename. 271 299 if test -d "$dst"; then 272 - if test -n "$no_target_directory"; then 273 - echo "$0: $dst_arg: Is a directory" >&2 274 - exit 1 300 + if test "$is_target_a_directory" = never; then 301 + echo "$0: $dst_arg: Is a directory" >&2 302 + exit 1 275 303 fi 276 304 dstdir=$dst 277 - dst=$dstdir/`basename "$src"` 305 + dstbase=`basename "$src"` 306 + case $dst in 307 + */) dst=$dst$dstbase;; 308 + *) dst=$dst/$dstbase;; 309 + esac 278 310 dstdir_status=0 279 311 else 280 - # Prefer dirname, but fall back on a substitute if dirname fails. 281 - dstdir=` 282 - (dirname "$dst") 2>/dev/null || 283 - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 - X"$dst" : 'X\(//\)[^/]' \| \ 285 - X"$dst" : 'X\(//\)$' \| \ 286 - X"$dst" : 'X\(/\)' \| . 2>/dev/null || 287 - echo X"$dst" | 288 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 289 - s//\1/ 290 - q 291 - } 292 - /^X\(\/\/\)[^/].*/{ 293 - s//\1/ 294 - q 295 - } 296 - /^X\(\/\/\)$/{ 297 - s//\1/ 298 - q 299 - } 300 - /^X\(\/\).*/{ 301 - s//\1/ 302 - q 303 - } 304 - s/.*/./; q' 305 - ` 306 - 312 + dstdir=`dirname "$dst"` 307 313 test -d "$dstdir" 308 314 dstdir_status=$? 309 315 fi 310 316 fi 317 + 318 + case $dstdir in 319 + */) dstdirslash=$dstdir;; 320 + *) dstdirslash=$dstdir/;; 321 + esac 311 322 312 323 obsolete_mkdir_used=false 313 324 314 325 if test $dstdir_status != 0; then 315 326 case $posix_mkdir in 316 327 '') 317 - # Create intermediate dirs using mode 755 as modified by the umask. 318 - # This is like FreeBSD 'install' as of 1997-10-28. 319 - umask=`umask` 320 - case $stripcmd.$umask in 321 - # Optimize common cases. 322 - *[2367][2367]) mkdir_umask=$umask;; 323 - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; 328 + # With -d, create the new directory with the user-specified mode. 329 + # Otherwise, rely on $mkdir_umask. 330 + if test -n "$dir_arg"; then 331 + mkdir_mode=-m$mode 332 + else 333 + mkdir_mode= 334 + fi 335 + 336 + posix_mkdir=false 337 + # The $RANDOM variable is not portable (e.g., dash). Use it 338 + # here however when possible just to lower collision chance. 339 + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 324 340 325 - *[0-7]) 326 - mkdir_umask=`expr $umask + 22 \ 327 - - $umask % 100 % 40 + $umask % 20 \ 328 - - $umask % 10 % 4 + $umask % 2 329 - `;; 330 - *) mkdir_umask=$umask,go-w;; 331 - esac 341 + trap ' 342 + ret=$? 343 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null 344 + exit $ret 345 + ' 0 332 346 333 - # With -d, create the new directory with the user-specified mode. 334 - # Otherwise, rely on $mkdir_umask. 335 - if test -n "$dir_arg"; then 336 - mkdir_mode=-m$mode 347 + # Because "mkdir -p" follows existing symlinks and we likely work 348 + # directly in world-writeable /tmp, make sure that the '$tmpdir' 349 + # directory is successfully created first before we actually test 350 + # 'mkdir -p'. 351 + if (umask $mkdir_umask && 352 + $mkdirprog $mkdir_mode "$tmpdir" && 353 + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 354 + then 355 + if test -z "$dir_arg" || { 356 + # Check for POSIX incompatibilities with -m. 357 + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 358 + # other-writable bit of parent directory when it shouldn't. 359 + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 360 + test_tmpdir="$tmpdir/a" 361 + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` 362 + case $ls_ld_tmpdir in 363 + d????-?r-*) different_mode=700;; 364 + d????-?--*) different_mode=755;; 365 + *) false;; 366 + esac && 367 + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { 368 + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` 369 + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 370 + } 371 + } 372 + then posix_mkdir=: 373 + fi 374 + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 337 375 else 338 - mkdir_mode= 376 + # Remove any dirs left behind by ancient mkdir implementations. 377 + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null 339 378 fi 340 - 341 - posix_mkdir=false 342 - case $umask in 343 - *[123567][0-7][0-7]) 344 - # POSIX mkdir -p sets u+wx bits regardless of umask, which 345 - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. 346 - ;; 347 - *) 348 - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 349 - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 350 - 351 - if (umask $mkdir_umask && 352 - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 353 - then 354 - if test -z "$dir_arg" || { 355 - # Check for POSIX incompatibilities with -m. 356 - # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 357 - # other-writable bit of parent directory when it shouldn't. 358 - # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 359 - ls_ld_tmpdir=`ls -ld "$tmpdir"` 360 - case $ls_ld_tmpdir in 361 - d????-?r-*) different_mode=700;; 362 - d????-?--*) different_mode=755;; 363 - *) false;; 364 - esac && 365 - $mkdirprog -m$different_mode -p -- "$tmpdir" && { 366 - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` 367 - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 368 - } 369 - } 370 - then posix_mkdir=: 371 - fi 372 - rmdir "$tmpdir/d" "$tmpdir" 373 - else 374 - # Remove any dirs left behind by ancient mkdir implementations. 375 - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null 376 - fi 377 - trap '' 0;; 378 - esac;; 379 + trap '' 0;; 379 380 esac 380 381 381 382 if 382 383 $posix_mkdir && ( 383 - umask $mkdir_umask && 384 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 384 + umask $mkdir_umask && 385 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" 385 386 ) 386 387 then : 387 388 else 388 389 389 - # The umask is ridiculous, or mkdir does not conform to POSIX, 390 + # mkdir does not conform to POSIX, 390 391 # or it failed possibly due to a race condition. Create the 391 392 # directory the slow way, step by step, checking for races as we go. 392 393 393 394 case $dstdir in 394 - /*) prefix='/';; 395 - [-=\(\)!]*) prefix='./';; 396 - *) prefix='';; 395 + /*) prefix='/';; 396 + [-=\(\)!]*) prefix='./';; 397 + *) prefix='';; 397 398 esac 398 - 399 - eval "$initialize_posix_glob" 400 399 401 400 oIFS=$IFS 402 401 IFS=/ 403 - $posix_glob set -f 402 + set -f 404 403 set fnord $dstdir 405 404 shift 406 - $posix_glob set +f 405 + set +f 407 406 IFS=$oIFS 408 407 409 408 prefixes= 410 409 411 410 for d 412 411 do 413 - test X"$d" = X && continue 412 + test X"$d" = X && continue 414 413 415 - prefix=$prefix$d 416 - if test -d "$prefix"; then 417 - prefixes= 418 - else 419 - if $posix_mkdir; then 420 - (umask=$mkdir_umask && 421 - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 422 - # Don't fail if two instances are running concurrently. 423 - test -d "$prefix" || exit 1 424 - else 425 - case $prefix in 426 - *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 427 - *) qprefix=$prefix;; 428 - esac 429 - prefixes="$prefixes '$qprefix'" 430 - fi 431 - fi 432 - prefix=$prefix/ 414 + prefix=$prefix$d 415 + if test -d "$prefix"; then 416 + prefixes= 417 + else 418 + if $posix_mkdir; then 419 + (umask $mkdir_umask && 420 + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break 421 + # Don't fail if two instances are running concurrently. 422 + test -d "$prefix" || exit 1 423 + else 424 + case $prefix in 425 + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; 426 + *) qprefix=$prefix;; 427 + esac 428 + prefixes="$prefixes '$qprefix'" 429 + fi 430 + fi 431 + prefix=$prefix/ 433 432 done 434 433 435 434 if test -n "$prefixes"; then 436 - # Don't fail if two instances are running concurrently. 437 - (umask $mkdir_umask && 438 - eval "\$doit_exec \$mkdirprog $prefixes") || 439 - test -d "$dstdir" || exit 1 440 - obsolete_mkdir_used=true 435 + # Don't fail if two instances are running concurrently. 436 + (umask $mkdir_umask && 437 + eval "\$doit_exec \$mkdirprog $prefixes") || 438 + test -d "$dstdir" || exit 1 439 + obsolete_mkdir_used=true 441 440 fi 442 441 fi 443 442 fi ··· 450 449 else 451 450 452 451 # Make a couple of temp file names in the proper directory. 453 - dsttmp=$dstdir/_inst.$$_ 454 - rmtmp=$dstdir/_rm.$$_ 452 + dsttmp=${dstdirslash}_inst.$$_ 453 + rmtmp=${dstdirslash}_rm.$$_ 455 454 456 455 # Trap to clean up those temp files at exit. 457 456 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 458 457 459 458 # Copy the file name to the temp name. 460 - (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && 459 + (umask $cp_umask && 460 + { test -z "$stripcmd" || { 461 + # Create $dsttmp read-write so that cp doesn't create it read-only, 462 + # which would cause strip to fail. 463 + if test -z "$doit"; then 464 + : >"$dsttmp" # No need to fork-exec 'touch'. 465 + else 466 + $doit touch "$dsttmp" 467 + fi 468 + } 469 + } && 470 + $doit_exec $cpprog "$src" "$dsttmp") && 461 471 462 472 # and set any options; do chmod last to preserve setuid bits. 463 473 # ··· 472 482 473 483 # If -C, don't bother to copy if it wouldn't change the file. 474 484 if $copy_on_change && 475 - old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 476 - new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 477 - 478 - eval "$initialize_posix_glob" && 479 - $posix_glob set -f && 485 + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && 486 + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && 487 + set -f && 480 488 set X $old && old=:$2:$4:$5:$6 && 481 489 set X $new && new=:$2:$4:$5:$6 && 482 - $posix_glob set +f && 483 - 490 + set +f && 484 491 test "$old" = "$new" && 485 492 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 486 493 then 487 494 rm -f "$dsttmp" 488 495 else 496 + # If $backupsuffix is set, and the file being installed 497 + # already exists, attempt a backup. Don't worry if it fails, 498 + # e.g., if mv doesn't support -f. 499 + if test -n "$backupsuffix" && test -f "$dst"; then 500 + $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null 501 + fi 502 + 489 503 # Rename the file to the real destination. 490 504 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || 491 505 ··· 493 507 # to itself, or perhaps because mv is so ancient that it does not 494 508 # support -f. 495 509 { 496 - # Now remove or move aside any old file at destination location. 497 - # We try this two ways since rm can't unlink itself on some 498 - # systems and the destination file might be busy for other 499 - # reasons. In this case, the final cleanup might fail but the new 500 - # file should still install successfully. 501 - { 502 - test ! -f "$dst" || 503 - $doit $rmcmd -f "$dst" 2>/dev/null || 504 - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 505 - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } 506 - } || 507 - { echo "$0: cannot unlink or rename $dst" >&2 508 - (exit 1); exit 1 509 - } 510 - } && 510 + # Now remove or move aside any old file at destination location. 511 + # We try this two ways since rm can't unlink itself on some 512 + # systems and the destination file might be busy for other 513 + # reasons. In this case, the final cleanup might fail but the new 514 + # file should still install successfully. 515 + { 516 + test ! -f "$dst" || 517 + $doit $rmcmd "$dst" 2>/dev/null || 518 + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && 519 + { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } 520 + } || 521 + { echo "$0: cannot unlink or rename $dst" >&2 522 + (exit 1); exit 1 523 + } 524 + } && 511 525 512 - # Now rename the file to the real destination. 513 - $doit $mvcmd "$dsttmp" "$dst" 526 + # Now rename the file to the real destination. 527 + $doit $mvcmd "$dsttmp" "$dst" 514 528 } 515 529 fi || exit 1 516 530 ··· 519 533 done 520 534 521 535 # Local variables: 522 - # eval: (add-hook 'write-file-hooks 'time-stamp) 536 + # eval: (add-hook 'before-save-hook 'time-stamp) 523 537 # time-stamp-start: "scriptversion=" 524 538 # time-stamp-format: "%:y-%02m-%02d.%02H" 525 - # time-stamp-time-zone: "UTC" 539 + # time-stamp-time-zone: "UTC0" 526 540 # time-stamp-end: "; # UTC" 527 541 # End:
+1 -1
lib/libXdamage/src/Makefile.in
··· 165 165 CCDEPMODE = @CCDEPMODE@ 166 166 CFLAGS = @CFLAGS@ 167 167 CHANGELOG_CMD = @CHANGELOG_CMD@ 168 - CPP = @CPP@ 169 168 CPPFLAGS = @CPPFLAGS@ 170 169 CWARNFLAGS = @CWARNFLAGS@ 171 170 CYGPATH_W = @CYGPATH_W@ ··· 280 279 prefix = @prefix@ 281 280 program_transform_name = @program_transform_name@ 282 281 psdir = @psdir@ 282 + runstatedir = @runstatedir@ 283 283 sbindir = @sbindir@ 284 284 sharedstatedir = @sharedstatedir@ 285 285 srcdir = @srcdir@
+27 -26
lib/libXdamage/src/Xdamage.c
··· 25 25 #include <config.h> 26 26 #endif 27 27 #include "xdamageint.h" 28 + #include <X11/Xfuncproto.h> 28 29 29 30 XDamageExtInfo XDamageExtensionInfo; 30 31 ··· 49 50 const char *ext_name) 50 51 { 51 52 XDamageExtDisplayInfo *info; 52 - int ev; 53 53 54 - info = (XDamageExtDisplayInfo *) Xmalloc (sizeof (XDamageExtDisplayInfo)); 54 + info = Xmalloc (sizeof (XDamageExtDisplayInfo)); 55 55 if (!info) return NULL; 56 56 info->display = dpy; 57 57 ··· 66 66 xDamageQueryVersionReq *req; 67 67 XESetCloseDisplay (dpy, info->codes->extension, 68 68 XDamageCloseDisplay); 69 - for (ev = info->codes->first_event; 69 + for (int ev = info->codes->first_event; 70 70 ev < info->codes->first_event + XDamageNumberEvents; 71 71 ev++) 72 72 { ··· 78 78 */ 79 79 LockDisplay (dpy); 80 80 GetReq (DamageQueryVersion, req); 81 - req->reqType = info->codes->major_opcode; 81 + req->reqType = (CARD8) info->codes->major_opcode; 82 82 req->damageReqType = X_DamageQueryVersion; 83 83 req->majorVersion = DAMAGE_MAJOR; 84 84 req->minorVersion = DAMAGE_MINOR; ··· 125 125 * extension object. (Replaces XextRemoveDisplay.) 126 126 */ 127 127 static int 128 - XDamageExtRemoveDisplay (XDamageExtInfo *extinfo, Display *dpy) 128 + XDamageExtRemoveDisplay (XDamageExtInfo *extinfo, const Display *dpy) 129 129 { 130 130 XDamageExtDisplayInfo *info, *prev; 131 131 ··· 155 155 if (info == extinfo->cur) extinfo->cur = NULL; /* flush cache */ 156 156 _XUnlockMutex(_Xglobal_lock); 157 157 158 - Xfree ((char *) info); 158 + Xfree (info); 159 159 return 1; 160 160 } 161 161 ··· 166 166 */ 167 167 static XDamageExtDisplayInfo * 168 168 XDamageExtFindDisplay (XDamageExtInfo *extinfo, 169 - Display *dpy) 169 + const Display *dpy) 170 170 { 171 171 XDamageExtDisplayInfo *info; 172 172 ··· 205 205 } 206 206 207 207 static int 208 - XDamageCloseDisplay (Display *dpy, XExtCodes *codes) 208 + XDamageCloseDisplay (Display *dpy, _X_UNUSED XExtCodes *codes) 209 209 { 210 210 return XDamageExtRemoveDisplay (&XDamageExtensionInfo, dpy); 211 211 } ··· 261 261 xDamageNotifyEvent *awire; 262 262 awire = (xDamageNotifyEvent *) wire; 263 263 aevent = (XDamageNotifyEvent *) event; 264 - awire->type = aevent->type | (aevent->send_event ? 0x80 : 0); 265 - awire->drawable = aevent->drawable; 266 - awire->damage = aevent->damage; 267 - awire->level = aevent->level | (aevent->more ? DamageNotifyMore : 0); 268 - awire->timestamp = aevent->timestamp; 264 + awire->type = (CARD8) aevent->type | (aevent->send_event ? 0x80 : 0); 265 + awire->drawable = (CARD32) aevent->drawable; 266 + awire->damage = (CARD32) aevent->damage; 267 + awire->level = (CARD8) aevent->level | (aevent->more ? DamageNotifyMore : 0); 268 + awire->timestamp = (CARD32) aevent->timestamp; 269 269 awire->area.x = aevent->area.x; 270 270 awire->area.y = aevent->area.y; 271 271 awire->area.width = aevent->area.width; ··· 321 321 XDamageCheckExtension (dpy, info, 0); 322 322 LockDisplay (dpy); 323 323 GetReq (DamageCreate, req); 324 - req->reqType = info->codes->major_opcode; 324 + req->reqType = (CARD8) info->codes->major_opcode; 325 325 req->damageReqType = X_DamageCreate; 326 - req->damage = damage = XAllocID (dpy); 327 - req->drawable = drawable; 328 - req->level = level; 326 + damage = XAllocID (dpy); 327 + req->damage = (CARD32) damage; 328 + req->drawable = (CARD32) drawable; 329 + req->level = (CARD8) level; 329 330 UnlockDisplay (dpy); 330 331 SyncHandle (); 331 332 return damage; ··· 340 341 XDamageSimpleCheckExtension (dpy, info); 341 342 LockDisplay (dpy); 342 343 GetReq (DamageDestroy, req); 343 - req->reqType = info->codes->major_opcode; 344 + req->reqType = (CARD8) info->codes->major_opcode; 344 345 req->damageReqType = X_DamageDestroy; 345 - req->damage = damage; 346 + req->damage = (CARD32) damage; 346 347 UnlockDisplay (dpy); 347 348 SyncHandle (); 348 349 } ··· 357 358 XDamageSimpleCheckExtension (dpy, info); 358 359 LockDisplay (dpy); 359 360 GetReq (DamageSubtract, req); 360 - req->reqType = info->codes->major_opcode; 361 + req->reqType = (CARD8) info->codes->major_opcode; 361 362 req->damageReqType = X_DamageSubtract; 362 - req->damage = damage; 363 - req->repair = repair; 364 - req->parts = parts; 363 + req->damage = (CARD32) damage; 364 + req->repair = (CARD32) repair; 365 + req->parts = (CARD32) parts; 365 366 UnlockDisplay (dpy); 366 367 SyncHandle (); 367 368 } ··· 375 376 XDamageSimpleCheckExtension (dpy, info); 376 377 LockDisplay (dpy); 377 378 GetReq (DamageAdd, req); 378 - req->reqType = info->codes->major_opcode; 379 + req->reqType = (CARD8) info->codes->major_opcode; 379 380 req->damageReqType = X_DamageAdd; 380 - req->drawable = drawable; 381 - req->region = region; 381 + req->drawable = (CARD32) drawable; 382 + req->region = (CARD32) region; 382 383 383 384 UnlockDisplay (dpy); 384 385 SyncHandle ();