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 xmessage 1.0.3.

matthieu e7283f31 dca93d7b

+5946 -2865
+49 -8
app/xmessage/COPYING
··· 1 - This is a stub file. This package has not yet had its complete licensing 2 - information compiled. Please see the individual source files for details on 3 - your rights to use and modify this software. 1 + Copyright (c) 1988, 1991, 1994 X Consortium 2 + 3 + Permission is hereby granted, free of charge, to any person obtaining 4 + a copy of this software and associated documentation files (the 5 + "Software"), to deal in the Software without restriction, including 6 + without limitation the rights to use, copy, modify, merge, publish, 7 + distribute, sublicense, and/or sell copies of the Software, and to 8 + permit persons to whom the Software is furnished to do so, subject to 9 + the following conditions: 10 + 11 + The above copyright notice and this permission notice shall be included 12 + in all copies or substantial portions of the Software. 13 + 14 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15 + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17 + IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 + OTHER DEALINGS IN THE SOFTWARE. 21 + 22 + Except as contained in this notice, the name of the X Consortium shall 23 + not be used in advertising or otherwise to promote the sale, use or 24 + other dealings in this Software without prior written authorization 25 + from the X Consortium. 26 + 27 + ---------------------------------------------------- 28 + 29 + Copyright (C) 2003 The XFree86 Project, Inc. All Rights Reserved. 4 30 5 - Please submit updated COPYING files to the Xorg bugzilla: 31 + Permission is hereby granted, free of charge, to any person 32 + obtaining a copy of this software and associated documentation 33 + files (the "Software"), to deal in the Software without 34 + restriction, including without limitation the rights to use, copy, 35 + modify, merge, publish, distribute, sublicense, and/or sell copies 36 + of the Software, and to permit persons to whom the Software is 37 + furnished to do so, subject to the following conditions: 6 38 7 - https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 39 + The above copyright notice and this permission notice shall be 40 + included in all copies or substantial portions of the Software. 8 41 9 - All licensing questions regarding this software should be directed at the 10 - Xorg mailing list: 42 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 43 + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 44 + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 45 + NONINFRINGEMENT. IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE 46 + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 47 + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 48 + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 11 49 12 - http://lists.freedesktop.org/mailman/listinfo/xorg 50 + Except as contained in this notice, the name of the XFree86 Project 51 + shall not be used in advertising or otherwise to promote the sale, 52 + use or other dealings in this Software without prior written 53 + authorization from the XFree86 Project.
+152
app/xmessage/ChangeLog
··· 1 + commit ad5f249bf731ee06958e0948f0898ac3f3e26352 2 + Author: Alan Coopersmith <alan.coopersmith@sun.com> 3 + Date: Fri Jan 29 23:14:56 2010 -0800 4 + 5 + xmessage 1.0.3 6 + 7 + Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 8 + 9 + commit ac722e899333482e96de163eadfed1a540209dce 10 + Author: Alan Coopersmith <alan.coopersmith@sun.com> 11 + Date: Fri Jan 29 23:14:24 2010 -0800 12 + 13 + Rely on PKG_CHECK_MODULES to AC_SUBST XMESSAGE_CFLAGS & _LIBS 14 + 15 + Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 16 + 17 + commit 529f0f2125a1f5e7d6382f918af955616a35d657 18 + Author: Alan Coopersmith <alan.coopersmith@sun.com> 19 + Date: Fri Jan 29 23:10:13 2010 -0800 20 + 21 + Fill in COPYING file with notices from source code 22 + 23 + Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 24 + 25 + commit 72014bab094682621a206958bb7c62f83d789cde 26 + Author: Alan Coopersmith <alan.coopersmith@sun.com> 27 + Date: Fri Jan 29 23:06:47 2010 -0800 28 + 29 + Use AM_V_GEN to silence manpage generation too 30 + 31 + Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 32 + 33 + commit d351d89dd97e8b90e2b6a0421d8e976d22c8fb14 34 + Author: Alan Coopersmith <alan.coopersmith@sun.com> 35 + Date: Fri Jan 29 23:03:51 2010 -0800 36 + 37 + Bump xorg-macros requirement to 1.4 for XORG_INSTALL changes 38 + 39 + Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 40 + 41 + commit 093a45093e98b08763c398fc36955ea4c9350edc 42 + Author: Gaetan Nadon <memsize@videotron.ca> 43 + Date: Sat Dec 19 20:48:48 2009 -0500 44 + 45 + configure.ac: use backticks rather than $() for cmd subs 46 + 47 + Use "$PKG_CONFIG" rather than hard coded "pkg-config" 48 + 49 + Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 50 + 51 + commit 7fd49423ac4497443f0e5b53588bc064f9096e7e 52 + Author: Gaetan Nadon <memsize@videotron.ca> 53 + Date: Thu Nov 26 09:19:54 2009 -0500 54 + 55 + Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 56 + 57 + Now that the INSTALL file is generated. 58 + Allows running make maintainer-clean. 59 + 60 + commit 3ff203878ca5361fb7d11a9589739a2cc1e2e312 61 + Author: Gaetan Nadon <memsize@videotron.ca> 62 + Date: Wed Oct 28 14:09:08 2009 -0400 63 + 64 + INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 65 + 66 + Add missing INSTALL file. Use standard GNU file on building tarball 67 + README may have been updated 68 + Remove AUTHORS file as it is empty and no content available yet. 69 + Remove NEWS file as it is empty and no content available yet. 70 + 71 + commit bf0f065f4d92c9c8e9a04863fad1fff7885d60bb 72 + Author: Gaetan Nadon <memsize@videotron.ca> 73 + Date: Tue Oct 27 15:07:25 2009 -0400 74 + 75 + Deploy the new XORG_DEFAULT_OPTIONS #24242 76 + 77 + This macro aggregate a number of existing macros that sets commmon 78 + X.Org components configuration options. It shields the configuration file from 79 + future changes. 80 + 81 + commit 726f220cbd1a9a795c57c6b8e9d2bcc7ba25de65 82 + Author: Gaetan Nadon <memsize@videotron.ca> 83 + Date: Mon Oct 26 22:08:39 2009 -0400 84 + 85 + Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 86 + 87 + ChangeLog filename is known to Automake and requires no further 88 + coding in the makefile. 89 + 90 + commit bdd48bb136f3c7aa27845f5478c81579c39011eb 91 + Author: Gaetan Nadon <memsize@videotron.ca> 92 + Date: Thu Oct 22 12:34:15 2009 -0400 93 + 94 + .gitignore: use common defaults with custom section # 24239 95 + 96 + Using common defaults will reduce errors and maintenance. 97 + Only the very small or inexistent custom section need periodic maintenance 98 + when the structure of the component changes. Do not edit defaults. 99 + 100 + commit f4f59348603fffd2fd3249f272eeeaa72f819b9a 101 + Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 102 + Date: Thu Jan 22 16:05:29 2009 -0200 103 + 104 + Correct make distcheck and sparse warnings. 105 + 106 + commit 17bb13a8280da865ecc1be940a8313e65c178a35 107 + Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 108 + Date: Sun Mar 16 18:15:54 2008 -0300 109 + 110 + Compile warning fixes. 111 + 112 + Declare xmessage.c:detab as static to avoid warning about missing prototype. 113 + Also remove CVS id variable, and the printing of it in "xmessage -help". 114 + 115 + commit 1c6e1c795774e80c8fac489671906be2a3d8641d 116 + Author: James Cloos <cloos@jhcloos.com> 117 + Date: Wed Aug 20 10:32:52 2008 -0400 118 + 119 + xaw8 is gone, use xaw7 120 + 121 + commit 985f825a94723f9f4b876af790ce92634d1129af 122 + Author: Julien Cristau <jcristau@debian.org> 123 + Date: Sat Aug 2 17:40:05 2008 +0200 124 + 125 + Create the app-defaults dir when using a build dir (build fix) 126 + 127 + Also use AM_CFLAGS instead of xmessage_CFLAGS, making AM_PROG_CC_C_O 128 + unnecessary. 129 + 130 + commit c87a9f9e90158ce3afe4986c6d3e85a7b24a7230 131 + Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 132 + Date: Thu Mar 27 20:34:54 2008 -0700 133 + 134 + Added missing AM_PROG_CC_C_O 135 + 136 + commit 0b12bb902e42ad3922f6ea6448f183dfd450d982 137 + Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 138 + Date: Thu Mar 27 20:08:08 2008 -0700 139 + 140 + Build fix for file systems that are not case sensitive 141 + 142 + commit d904b9e532da45d1b31621f51e5d45553ae83d89 143 + Author: Brice Goglin <bgoglin@debian.org> 144 + Date: Tue Sep 4 00:45:50 2007 +0200 145 + 146 + unquote_pairs() really unquotes all pairs 147 + 148 + Fix unquote_pairs() to unquote every pair in br instead only 149 + the first one n times. 150 + 151 + Reported by Viktor Horvath in Debian bug #440734. 152 + 1 153 commit 24f1760790a9d2f73cac94bc00d8137fefac9f38 2 154 Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 3 155 Date: Fri Aug 10 11:18:12 2007 +0200
+99 -44
app/xmessage/INSTALL
··· 1 1 Installation Instructions 2 2 ************************* 3 3 4 - Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free 5 - Software Foundation, Inc. 4 + Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 5 + 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 7 - This file is free documentation; the Free Software Foundation gives 7 + This file is free documentation; the Free Software Foundation gives 8 8 unlimited permission to copy, distribute and modify it. 9 9 10 10 Basic Installation 11 11 ================== 12 12 13 - These are generic installation instructions. 13 + Briefly, the shell commands `./configure; make; make install' should 14 + configure, build, and install this package. The following 15 + more-detailed instructions are generic; see the `README' file for 16 + instructions specific to this package. 14 17 15 18 The `configure' shell script attempts to guess correct values for 16 19 various system-dependent variables used during compilation. It uses ··· 23 26 24 27 It can also use an optional file (typically called `config.cache' 25 28 and enabled with `--cache-file=config.cache' or simply `-C') that saves 26 - the results of its tests to speed up reconfiguring. (Caching is 29 + the results of its tests to speed up reconfiguring. Caching is 27 30 disabled by default to prevent problems with accidental use of stale 28 - cache files.) 31 + cache files. 29 32 30 33 If you need to do unusual things to compile the package, please try 31 34 to figure out how `configure' could check whether to do them, and mail ··· 35 38 may remove or edit it. 36 39 37 40 The file `configure.ac' (or `configure.in') is used to create 38 - `configure' by a program called `autoconf'. You only need 39 - `configure.ac' if you want to change it or regenerate `configure' using 40 - a newer version of `autoconf'. 41 + `configure' by a program called `autoconf'. You need `configure.ac' if 42 + you want to change it or regenerate `configure' using a newer version 43 + of `autoconf'. 41 44 42 45 The simplest way to compile this package is: 43 46 44 47 1. `cd' to the directory containing the package's source code and type 45 - `./configure' to configure the package for your system. If you're 46 - using `csh' on an old version of System V, you might need to type 47 - `sh ./configure' instead to prevent `csh' from trying to execute 48 - `configure' itself. 48 + `./configure' to configure the package for your system. 49 49 50 - Running `configure' takes awhile. While running, it prints some 51 - messages telling which features it is checking for. 50 + Running `configure' might take a while. While running, it prints 51 + some messages telling which features it is checking for. 52 52 53 53 2. Type `make' to compile the package. 54 54 ··· 67 67 all sorts of other programs in order to regenerate files that came 68 68 with the distribution. 69 69 70 + 6. Often, you can also type `make uninstall' to remove the installed 71 + files again. 72 + 70 73 Compilers and Options 71 74 ===================== 72 75 73 - Some systems require unusual options for compilation or linking that the 74 - `configure' script does not know about. Run `./configure --help' for 75 - details on some of the pertinent environment variables. 76 + Some systems require unusual options for compilation or linking that 77 + the `configure' script does not know about. Run `./configure --help' 78 + for details on some of the pertinent environment variables. 76 79 77 80 You can give `configure' initial values for configuration parameters 78 81 by setting variables in the command line or in the environment. Here 79 82 is an example: 80 83 81 - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix 84 + ./configure CC=c99 CFLAGS=-g LIBS=-lposix 82 85 83 86 *Note Defining Variables::, for more details. 84 87 85 88 Compiling For Multiple Architectures 86 89 ==================================== 87 90 88 - You can compile the package for more than one kind of computer at the 91 + You can compile the package for more than one kind of computer at the 89 92 same time, by placing the object files for each architecture in their 90 - own directory. To do this, you must use a version of `make' that 91 - supports the `VPATH' variable, such as GNU `make'. `cd' to the 93 + own directory. To do this, you can use GNU `make'. `cd' to the 92 94 directory where you want the object files and executables to go and run 93 95 the `configure' script. `configure' automatically checks for the 94 96 source code in the directory that `configure' is in and in `..'. 95 97 96 - If you have to use a `make' that does not support the `VPATH' 97 - variable, you have to compile the package for one architecture at a 98 - time in the source code directory. After you have installed the 99 - package for one architecture, use `make distclean' before reconfiguring 100 - for another architecture. 98 + With a non-GNU `make', it is safer to compile the package for one 99 + architecture at a time in the source code directory. After you have 100 + installed the package for one architecture, use `make distclean' before 101 + reconfiguring for another architecture. 102 + 103 + On MacOS X 10.5 and later systems, you can create libraries and 104 + executables that work on multiple system types--known as "fat" or 105 + "universal" binaries--by specifying multiple `-arch' options to the 106 + compiler but only a single `-arch' option to the preprocessor. Like 107 + this: 108 + 109 + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ 110 + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ 111 + CPP="gcc -E" CXXCPP="g++ -E" 112 + 113 + This is not guaranteed to produce working output in all cases, you 114 + may have to build one architecture at a time and combine the results 115 + using the `lipo' tool if you have problems. 101 116 102 117 Installation Names 103 118 ================== 104 119 105 - By default, `make install' installs the package's commands under 120 + By default, `make install' installs the package's commands under 106 121 `/usr/local/bin', include files under `/usr/local/include', etc. You 107 122 can specify an installation prefix other than `/usr/local' by giving 108 123 `configure' the option `--prefix=PREFIX'. ··· 125 140 Optional Features 126 141 ================= 127 142 128 - Some packages pay attention to `--enable-FEATURE' options to 143 + Some packages pay attention to `--enable-FEATURE' options to 129 144 `configure', where FEATURE indicates an optional part of the package. 130 145 They may also pay attention to `--with-PACKAGE' options, where PACKAGE 131 146 is something like `gnu-as' or `x' (for the X Window System). The ··· 137 152 you can use the `configure' options `--x-includes=DIR' and 138 153 `--x-libraries=DIR' to specify their locations. 139 154 155 + Particular systems 156 + ================== 157 + 158 + On HP-UX, the default C compiler is not ANSI C compatible. If GNU 159 + CC is not installed, it is recommended to use the following options in 160 + order to use an ANSI C compiler: 161 + 162 + ./configure CC="cc -Ae" 163 + 164 + and if that doesn't work, install pre-built binaries of GCC for HP-UX. 165 + 166 + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot 167 + parse its `<wchar.h>' header file. The option `-nodtk' can be used as 168 + a workaround. If GNU CC is not installed, it is therefore recommended 169 + to try 170 + 171 + ./configure CC="cc" 172 + 173 + and if that doesn't work, try 174 + 175 + ./configure CC="cc -nodtk" 176 + 140 177 Specifying the System Type 141 178 ========================== 142 179 143 - There may be some features `configure' cannot figure out automatically, 144 - but needs to determine by the type of machine the package will run on. 145 - Usually, assuming the package is built to be run on the _same_ 146 - architectures, `configure' can figure that out, but if it prints a 147 - message saying it cannot guess the machine type, give it the 180 + There may be some features `configure' cannot figure out 181 + automatically, but needs to determine by the type of machine the package 182 + will run on. Usually, assuming the package is built to be run on the 183 + _same_ architectures, `configure' can figure that out, but if it prints 184 + a message saying it cannot guess the machine type, give it the 148 185 `--build=TYPE' option. TYPE can either be a short name for the system 149 186 type, such as `sun4', or a canonical name which has the form: 150 187 ··· 170 207 Sharing Defaults 171 208 ================ 172 209 173 - If you want to set default values for `configure' scripts to share, you 174 - can create a site shell script called `config.site' that gives default 175 - values for variables like `CC', `cache_file', and `prefix'. 210 + If you want to set default values for `configure' scripts to share, 211 + you can create a site shell script called `config.site' that gives 212 + default values for variables like `CC', `cache_file', and `prefix'. 176 213 `configure' looks for `PREFIX/share/config.site' if it exists, then 177 214 `PREFIX/etc/config.site' if it exists. Or, you can set the 178 215 `CONFIG_SITE' environment variable to the location of the site script. ··· 181 218 Defining Variables 182 219 ================== 183 220 184 - Variables not defined in a site shell script can be set in the 221 + Variables not defined in a site shell script can be set in the 185 222 environment passed to `configure'. However, some packages may run 186 223 configure again during the build, and the customized values of these 187 224 variables may be lost. In order to avoid this problem, you should set ··· 190 227 ./configure CC=/usr/local2/bin/gcc 191 228 192 229 causes the specified `gcc' to be used as the C compiler (unless it is 193 - overridden in the site shell script). Here is a another example: 230 + overridden in the site shell script). 194 231 195 - /bin/bash ./configure CONFIG_SHELL=/bin/bash 232 + Unfortunately, this technique does not work for `CONFIG_SHELL' due to 233 + an Autoconf bug. Until the bug is fixed you can use this workaround: 196 234 197 - Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent 198 - configuration-related scripts to be executed by `/bin/bash'. 235 + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash 199 236 200 237 `configure' Invocation 201 238 ====================== 202 239 203 - `configure' recognizes the following options to control how it operates. 240 + `configure' recognizes the following options to control how it 241 + operates. 204 242 205 243 `--help' 206 244 `-h' 207 - Print a summary of the options to `configure', and exit. 245 + Print a summary of all of the options to `configure', and exit. 246 + 247 + `--help=short' 248 + `--help=recursive' 249 + Print a summary of the options unique to this package's 250 + `configure', and exit. The `short' variant lists options used 251 + only in the top level, while the `recursive' variant lists options 252 + also present in any nested packages. 208 253 209 254 `--version' 210 255 `-V' ··· 230 275 `--srcdir=DIR' 231 276 Look for the package's source code in directory DIR. Usually 232 277 `configure' can determine that directory automatically. 278 + 279 + `--prefix=DIR' 280 + Use DIR as the installation prefix. *Note Installation Names:: 281 + for more details, including other options available for fine-tuning 282 + the installation locations. 283 + 284 + `--no-create' 285 + `-n' 286 + Run the configure checks, but stop before creating any output 287 + files. 233 288 234 289 `configure' also accepts some other, not widely useful, options. Run 235 290 `configure --help' for more details.
+17 -26
app/xmessage/Makefile.am
··· 21 21 22 22 bin_PROGRAMS = xmessage 23 23 24 - xmessage_CFLAGS = $(XMESSAGE_CFLAGS) 24 + AM_CFLAGS = $(CWARNFLAGS) $(XMESSAGE_CFLAGS) 25 25 xmessage_LDADD = $(XMESSAGE_LIBS) 26 26 27 27 xmessage_SOURCES = \ ··· 34 34 appman_PRE = \ 35 35 xmessage.man 36 36 37 - # App default files (*.ad) 37 + # App default files 38 + DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults 38 39 39 40 appdefaultdir = @appdefaultdir@ 40 41 41 - 42 - APPDEFAULTFILES = \ 43 - Xmessage \ 44 - Xmessage-color 45 - 46 - SUFFIXES = .ad 47 - 48 - .ad: 49 - cp $< $@ 50 - 51 - appdefault_DATA = $(APPDEFAULTFILES) 52 - 53 - EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) Tests 54 - 55 - CLEANFILES = $(APPDEFAULTFILES) 56 - 42 + dist_appdefault_DATA = \ 43 + app-defaults/Xmessage \ 44 + app-defaults/Xmessage-color 57 45 58 46 appmandir = $(APP_MAN_DIR) 59 47 60 48 appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 61 49 62 - EXTRA_DIST += $(appman_PRE) 63 - CLEANFILES += $(appman_DATA) ChangeLog 64 - MAINTAINERCLEANFILES = ChangeLog 50 + EXTRA_DIST = $(appman_PRE) 51 + MAINTAINERCLEANFILES = ChangeLog INSTALL 52 + CLEANFILES = $(appman_DATA) 65 53 66 54 SED = sed 67 55 ··· 82 70 -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 83 71 -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 84 72 85 - SUFFIXES += .$(APP_MAN_SUFFIX) .man 73 + SUFFIXES = .$(APP_MAN_SUFFIX) .man 86 74 87 75 .man.$(APP_MAN_SUFFIX): 88 - sed $(MAN_SUBSTS) < $< > $@ 76 + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 89 77 90 - .PHONY: ChangeLog 78 + .PHONY: ChangeLog INSTALL 79 + 80 + INSTALL: 81 + $(INSTALL_CMD) 91 82 92 83 ChangeLog: 93 - (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) 84 + $(CHANGELOG_CMD) 94 85 95 - dist-hook: ChangeLog 86 + dist-hook: ChangeLog INSTALL
+82 -113
app/xmessage/Makefile.in
··· 59 59 build_triplet = @build@ 60 60 host_triplet = @host@ 61 61 bin_PROGRAMS = xmessage$(EXEEXT) 62 - DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 63 - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 64 - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ 65 - compile config.guess config.sub depcomp install-sh missing 62 + DIST_COMMON = README $(am__configure_deps) $(dist_appdefault_DATA) \ 63 + $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 64 + $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \ 65 + ChangeLog INSTALL NEWS config.guess config.sub depcomp \ 66 + install-sh missing 66 67 subdir = . 67 68 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 68 69 am__aclocal_m4_deps = $(top_srcdir)/configure.ac ··· 73 74 mkinstalldirs = $(SHELL) $(install_sh) -d 74 75 CONFIG_HEADER = config.h 75 76 CONFIG_CLEAN_FILES = 76 - am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appdefaultdir)" \ 77 - "$(DESTDIR)$(appmandir)" 77 + am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)" \ 78 + "$(DESTDIR)$(appdefaultdir)" 78 79 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 79 80 PROGRAMS = $(bin_PROGRAMS) 80 - am_xmessage_OBJECTS = xmessage-makeform.$(OBJEXT) \ 81 - xmessage-readfile.$(OBJEXT) xmessage-xmessage.$(OBJEXT) 81 + am_xmessage_OBJECTS = makeform.$(OBJEXT) readfile.$(OBJEXT) \ 82 + xmessage.$(OBJEXT) 82 83 xmessage_OBJECTS = $(am_xmessage_OBJECTS) 83 84 am__DEPENDENCIES_1 = 84 85 xmessage_DEPENDENCIES = $(am__DEPENDENCIES_1) ··· 97 98 *) f=$$p;; \ 98 99 esac; 99 100 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 100 - appdefaultDATA_INSTALL = $(INSTALL_DATA) 101 101 appmanDATA_INSTALL = $(INSTALL_DATA) 102 - DATA = $(appdefault_DATA) $(appman_DATA) 102 + dist_appdefaultDATA_INSTALL = $(INSTALL_DATA) 103 + DATA = $(appman_DATA) $(dist_appdefault_DATA) 103 104 ETAGS = etags 104 105 CTAGS = ctags 105 106 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ··· 119 120 AMDEP_FALSE = @AMDEP_FALSE@ 120 121 AMDEP_TRUE = @AMDEP_TRUE@ 121 122 AMTAR = @AMTAR@ 123 + AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 122 124 APPDEFS_CFLAGS = @APPDEFS_CFLAGS@ 123 125 APPDEFS_LIBS = @APPDEFS_LIBS@ 124 126 APP_MAN_DIR = @APP_MAN_DIR@ ··· 130 132 CC = @CC@ 131 133 CCDEPMODE = @CCDEPMODE@ 132 134 CFLAGS = @CFLAGS@ 135 + CHANGELOG_CMD = @CHANGELOG_CMD@ 136 + CPP = @CPP@ 133 137 CPPFLAGS = @CPPFLAGS@ 138 + CWARNFLAGS = @CWARNFLAGS@ 134 139 CYGPATH_W = @CYGPATH_W@ 135 140 DEFS = @DEFS@ 136 141 DEPDIR = @DEPDIR@ ··· 139 144 ECHO_C = @ECHO_C@ 140 145 ECHO_N = @ECHO_N@ 141 146 ECHO_T = @ECHO_T@ 147 + EGREP = @EGREP@ 142 148 EXEEXT = @EXEEXT@ 143 149 FILE_MAN_DIR = @FILE_MAN_DIR@ 144 150 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 151 + GREP = @GREP@ 152 + INSTALL_CMD = @INSTALL_CMD@ 145 153 INSTALL_DATA = @INSTALL_DATA@ 146 154 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 147 155 INSTALL_SCRIPT = @INSTALL_SCRIPT@ ··· 170 178 SET_MAKE = @SET_MAKE@ 171 179 SHELL = @SHELL@ 172 180 STRIP = @STRIP@ 173 - TMP_XAW_CFLAGS = @TMP_XAW_CFLAGS@ 174 - TMP_XAW_LIBS = @TMP_XAW_LIBS@ 175 181 VERSION = @VERSION@ 176 - XAW_USE_XPRINT_FALSE = @XAW_USE_XPRINT_FALSE@ 177 - XAW_USE_XPRINT_TRUE = @XAW_USE_XPRINT_TRUE@ 178 182 XMESSAGE_CFLAGS = @XMESSAGE_CFLAGS@ 179 183 XMESSAGE_LIBS = @XMESSAGE_LIBS@ 180 184 ac_ct_CC = @ac_ct_CC@ 181 - ac_ct_STRIP = @ac_ct_STRIP@ 182 - ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ 183 185 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 184 186 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 185 187 am__include = @am__include@ ··· 187 189 am__quote = @am__quote@ 188 190 am__tar = @am__tar@ 189 191 am__untar = @am__untar@ 190 - 191 - # App default files (*.ad) 192 192 appdefaultdir = @appdefaultdir@ 193 193 bindir = @bindir@ 194 194 build = @build@ ··· 197 197 build_os = @build_os@ 198 198 build_vendor = @build_vendor@ 199 199 datadir = @datadir@ 200 + datarootdir = @datarootdir@ 201 + docdir = @docdir@ 202 + dvidir = @dvidir@ 200 203 exec_prefix = @exec_prefix@ 201 204 host = @host@ 202 205 host_alias = @host_alias@ 203 206 host_cpu = @host_cpu@ 204 207 host_os = @host_os@ 205 208 host_vendor = @host_vendor@ 209 + htmldir = @htmldir@ 206 210 includedir = @includedir@ 207 211 infodir = @infodir@ 208 212 install_sh = @install_sh@ 209 213 libdir = @libdir@ 210 214 libexecdir = @libexecdir@ 215 + localedir = @localedir@ 211 216 localstatedir = @localstatedir@ 212 217 mandir = @mandir@ 213 218 mkdir_p = @mkdir_p@ 214 219 oldincludedir = @oldincludedir@ 220 + pdfdir = @pdfdir@ 215 221 prefix = @prefix@ 216 222 program_transform_name = @program_transform_name@ 223 + psdir = @psdir@ 217 224 sbindir = @sbindir@ 218 225 sharedstatedir = @sharedstatedir@ 219 226 sysconfdir = @sysconfdir@ 220 227 target_alias = @target_alias@ 221 - xmessage_CFLAGS = $(XMESSAGE_CFLAGS) 228 + AM_CFLAGS = $(CWARNFLAGS) $(XMESSAGE_CFLAGS) 222 229 xmessage_LDADD = $(XMESSAGE_LIBS) 223 230 xmessage_SOURCES = \ 224 231 makeform.c \ ··· 230 237 appman_PRE = \ 231 238 xmessage.man 232 239 233 - APPDEFAULTFILES = \ 234 - Xmessage \ 235 - Xmessage-color 236 240 237 - SUFFIXES = .ad .$(APP_MAN_SUFFIX) .man 238 - appdefault_DATA = $(APPDEFAULTFILES) 239 - EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) Tests $(appman_PRE) 240 - CLEANFILES = $(APPDEFAULTFILES) $(appman_DATA) ChangeLog 241 + # App default files 242 + DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults 243 + dist_appdefault_DATA = \ 244 + app-defaults/Xmessage \ 245 + app-defaults/Xmessage-color 246 + 241 247 appmandir = $(APP_MAN_DIR) 242 248 appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 243 - MAINTAINERCLEANFILES = ChangeLog 249 + EXTRA_DIST = $(appman_PRE) 250 + MAINTAINERCLEANFILES = ChangeLog INSTALL 251 + CLEANFILES = $(appman_DATA) 244 252 SED = sed 245 253 246 254 # Strings to replace in man pages ··· 259 267 -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \ 260 268 -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' 261 269 270 + SUFFIXES = .$(APP_MAN_SUFFIX) .man 262 271 all: config.h 263 272 $(MAKE) $(AM_MAKEFLAGS) all-am 264 273 265 274 .SUFFIXES: 266 - .SUFFIXES: .ad .$(APP_MAN_SUFFIX) .man .c .o .obj 275 + .SUFFIXES: .$(APP_MAN_SUFFIX) .man .c .o .obj 267 276 am--refresh: 268 277 @: 269 278 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) 270 279 @for dep in $?; do \ 271 280 case '$(am__configure_deps)' in \ 272 281 *$$dep*) \ 273 - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ 274 - cd $(srcdir) && $(AUTOMAKE) --gnu \ 282 + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 283 + cd $(srcdir) && $(AUTOMAKE) --foreign \ 275 284 && exit 0; \ 276 285 exit 1;; \ 277 286 esac; \ 278 287 done; \ 279 - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ 288 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 280 289 cd $(top_srcdir) && \ 281 - $(AUTOMAKE) --gnu Makefile 290 + $(AUTOMAKE) --foreign Makefile 282 291 .PRECIOUS: Makefile 283 292 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 284 293 @case '$?' in \ ··· 347 356 distclean-compile: 348 357 -rm -f *.tab.c 349 358 350 - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmessage-makeform.Po@am__quote@ 351 - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmessage-readfile.Po@am__quote@ 352 - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmessage-xmessage.Po@am__quote@ 359 + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/makeform.Po@am__quote@ 360 + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readfile.Po@am__quote@ 361 + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmessage.Po@am__quote@ 353 362 354 363 .c.o: 355 364 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ ··· 364 373 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 365 374 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 366 375 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 367 - 368 - xmessage-makeform.o: makeform.c 369 - @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -MT xmessage-makeform.o -MD -MP -MF "$(DEPDIR)/xmessage-makeform.Tpo" -c -o xmessage-makeform.o `test -f 'makeform.c' || echo '$(srcdir)/'`makeform.c; \ 370 - @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xmessage-makeform.Tpo" "$(DEPDIR)/xmessage-makeform.Po"; else rm -f "$(DEPDIR)/xmessage-makeform.Tpo"; exit 1; fi 371 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='makeform.c' object='xmessage-makeform.o' libtool=no @AMDEPBACKSLASH@ 372 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 373 - @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -c -o xmessage-makeform.o `test -f 'makeform.c' || echo '$(srcdir)/'`makeform.c 374 - 375 - xmessage-makeform.obj: makeform.c 376 - @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -MT xmessage-makeform.obj -MD -MP -MF "$(DEPDIR)/xmessage-makeform.Tpo" -c -o xmessage-makeform.obj `if test -f 'makeform.c'; then $(CYGPATH_W) 'makeform.c'; else $(CYGPATH_W) '$(srcdir)/makeform.c'; fi`; \ 377 - @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xmessage-makeform.Tpo" "$(DEPDIR)/xmessage-makeform.Po"; else rm -f "$(DEPDIR)/xmessage-makeform.Tpo"; exit 1; fi 378 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='makeform.c' object='xmessage-makeform.obj' libtool=no @AMDEPBACKSLASH@ 379 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 380 - @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -c -o xmessage-makeform.obj `if test -f 'makeform.c'; then $(CYGPATH_W) 'makeform.c'; else $(CYGPATH_W) '$(srcdir)/makeform.c'; fi` 381 - 382 - xmessage-readfile.o: readfile.c 383 - @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -MT xmessage-readfile.o -MD -MP -MF "$(DEPDIR)/xmessage-readfile.Tpo" -c -o xmessage-readfile.o `test -f 'readfile.c' || echo '$(srcdir)/'`readfile.c; \ 384 - @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xmessage-readfile.Tpo" "$(DEPDIR)/xmessage-readfile.Po"; else rm -f "$(DEPDIR)/xmessage-readfile.Tpo"; exit 1; fi 385 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='readfile.c' object='xmessage-readfile.o' libtool=no @AMDEPBACKSLASH@ 386 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 387 - @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -c -o xmessage-readfile.o `test -f 'readfile.c' || echo '$(srcdir)/'`readfile.c 388 - 389 - xmessage-readfile.obj: readfile.c 390 - @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -MT xmessage-readfile.obj -MD -MP -MF "$(DEPDIR)/xmessage-readfile.Tpo" -c -o xmessage-readfile.obj `if test -f 'readfile.c'; then $(CYGPATH_W) 'readfile.c'; else $(CYGPATH_W) '$(srcdir)/readfile.c'; fi`; \ 391 - @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xmessage-readfile.Tpo" "$(DEPDIR)/xmessage-readfile.Po"; else rm -f "$(DEPDIR)/xmessage-readfile.Tpo"; exit 1; fi 392 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='readfile.c' object='xmessage-readfile.obj' libtool=no @AMDEPBACKSLASH@ 393 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 394 - @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -c -o xmessage-readfile.obj `if test -f 'readfile.c'; then $(CYGPATH_W) 'readfile.c'; else $(CYGPATH_W) '$(srcdir)/readfile.c'; fi` 395 - 396 - xmessage-xmessage.o: xmessage.c 397 - @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -MT xmessage-xmessage.o -MD -MP -MF "$(DEPDIR)/xmessage-xmessage.Tpo" -c -o xmessage-xmessage.o `test -f 'xmessage.c' || echo '$(srcdir)/'`xmessage.c; \ 398 - @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xmessage-xmessage.Tpo" "$(DEPDIR)/xmessage-xmessage.Po"; else rm -f "$(DEPDIR)/xmessage-xmessage.Tpo"; exit 1; fi 399 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xmessage.c' object='xmessage-xmessage.o' libtool=no @AMDEPBACKSLASH@ 400 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 401 - @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -c -o xmessage-xmessage.o `test -f 'xmessage.c' || echo '$(srcdir)/'`xmessage.c 402 - 403 - xmessage-xmessage.obj: xmessage.c 404 - @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -MT xmessage-xmessage.obj -MD -MP -MF "$(DEPDIR)/xmessage-xmessage.Tpo" -c -o xmessage-xmessage.obj `if test -f 'xmessage.c'; then $(CYGPATH_W) 'xmessage.c'; else $(CYGPATH_W) '$(srcdir)/xmessage.c'; fi`; \ 405 - @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xmessage-xmessage.Tpo" "$(DEPDIR)/xmessage-xmessage.Po"; else rm -f "$(DEPDIR)/xmessage-xmessage.Tpo"; exit 1; fi 406 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xmessage.c' object='xmessage-xmessage.obj' libtool=no @AMDEPBACKSLASH@ 407 - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 408 - @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xmessage_CFLAGS) $(CFLAGS) -c -o xmessage-xmessage.obj `if test -f 'xmessage.c'; then $(CYGPATH_W) 'xmessage.c'; else $(CYGPATH_W) '$(srcdir)/xmessage.c'; fi` 409 376 uninstall-info-am: 410 - install-appdefaultDATA: $(appdefault_DATA) 411 - @$(NORMAL_INSTALL) 412 - test -z "$(appdefaultdir)" || $(mkdir_p) "$(DESTDIR)$(appdefaultdir)" 413 - @list='$(appdefault_DATA)'; for p in $$list; do \ 414 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 415 - f=$(am__strip_dir) \ 416 - echo " $(appdefaultDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(appdefaultdir)/$$f'"; \ 417 - $(appdefaultDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(appdefaultdir)/$$f"; \ 418 - done 419 - 420 - uninstall-appdefaultDATA: 421 - @$(NORMAL_UNINSTALL) 422 - @list='$(appdefault_DATA)'; for p in $$list; do \ 423 - f=$(am__strip_dir) \ 424 - echo " rm -f '$(DESTDIR)$(appdefaultdir)/$$f'"; \ 425 - rm -f "$(DESTDIR)$(appdefaultdir)/$$f"; \ 426 - done 427 377 install-appmanDATA: $(appman_DATA) 428 378 @$(NORMAL_INSTALL) 429 379 test -z "$(appmandir)" || $(mkdir_p) "$(DESTDIR)$(appmandir)" ··· 440 390 f=$(am__strip_dir) \ 441 391 echo " rm -f '$(DESTDIR)$(appmandir)/$$f'"; \ 442 392 rm -f "$(DESTDIR)$(appmandir)/$$f"; \ 393 + done 394 + install-dist_appdefaultDATA: $(dist_appdefault_DATA) 395 + @$(NORMAL_INSTALL) 396 + test -z "$(appdefaultdir)" || $(mkdir_p) "$(DESTDIR)$(appdefaultdir)" 397 + @list='$(dist_appdefault_DATA)'; for p in $$list; do \ 398 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 399 + f=$(am__strip_dir) \ 400 + echo " $(dist_appdefaultDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(appdefaultdir)/$$f'"; \ 401 + $(dist_appdefaultDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(appdefaultdir)/$$f"; \ 402 + done 403 + 404 + uninstall-dist_appdefaultDATA: 405 + @$(NORMAL_UNINSTALL) 406 + @list='$(dist_appdefault_DATA)'; for p in $$list; do \ 407 + f=$(am__strip_dir) \ 408 + echo " rm -f '$(DESTDIR)$(appdefaultdir)/$$f'"; \ 409 + rm -f "$(DESTDIR)$(appdefaultdir)/$$f"; \ 443 410 done 444 411 445 412 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) ··· 493 460 distdir: $(DISTFILES) 494 461 $(am__remove_distdir) 495 462 mkdir $(distdir) 463 + $(mkdir_p) $(distdir)/app-defaults 496 464 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 497 465 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 498 466 list='$(DISTFILES)'; for file in $$list; do \ ··· 623 591 check: check-am 624 592 all-am: Makefile $(PROGRAMS) $(DATA) config.h 625 593 installdirs: 626 - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appdefaultdir)" "$(DESTDIR)$(appmandir)"; do \ 594 + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)" "$(DESTDIR)$(appdefaultdir)"; do \ 627 595 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 628 596 done 629 597 install: install-am ··· 673 641 674 642 info-am: 675 643 676 - install-data-am: install-appdefaultDATA install-appmanDATA 644 + install-data-am: install-appmanDATA install-dist_appdefaultDATA 677 645 678 646 install-exec-am: install-binPROGRAMS 679 647 ··· 702 670 703 671 ps-am: 704 672 705 - uninstall-am: uninstall-appdefaultDATA uninstall-appmanDATA \ 706 - uninstall-binPROGRAMS uninstall-info-am 673 + uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \ 674 + uninstall-dist_appdefaultDATA uninstall-info-am 707 675 708 676 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ 709 677 clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ ··· 711 679 distclean distclean-compile distclean-generic distclean-hdr \ 712 680 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 713 681 dvi-am html html-am info info-am install install-am \ 714 - install-appdefaultDATA install-appmanDATA install-binPROGRAMS \ 715 - install-data install-data-am install-exec install-exec-am \ 716 - install-info install-info-am install-man install-strip \ 717 - installcheck installcheck-am installdirs maintainer-clean \ 718 - maintainer-clean-generic mostlyclean mostlyclean-compile \ 719 - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 720 - uninstall-am uninstall-appdefaultDATA uninstall-appmanDATA \ 721 - uninstall-binPROGRAMS uninstall-info-am 682 + install-appmanDATA install-binPROGRAMS install-data \ 683 + install-data-am install-dist_appdefaultDATA install-exec \ 684 + install-exec-am install-info install-info-am install-man \ 685 + install-strip installcheck installcheck-am installdirs \ 686 + maintainer-clean maintainer-clean-generic mostlyclean \ 687 + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 688 + tags uninstall uninstall-am uninstall-appmanDATA \ 689 + uninstall-binPROGRAMS uninstall-dist_appdefaultDATA \ 690 + uninstall-info-am 722 691 723 692 724 - .ad: 725 - cp $< $@ 726 - 727 693 .man.$(APP_MAN_SUFFIX): 728 - sed $(MAN_SUBSTS) < $< > $@ 694 + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 729 695 730 - .PHONY: ChangeLog 696 + .PHONY: ChangeLog INSTALL 697 + 698 + INSTALL: 699 + $(INSTALL_CMD) 731 700 732 701 ChangeLog: 733 - (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) 702 + $(CHANGELOG_CMD) 734 703 735 - dist-hook: ChangeLog 704 + dist-hook: ChangeLog INSTALL 736 705 # Tell versions [3.59,3.63) of GNU make to not export all variables. 737 706 # Otherwise a system limit (for SysV at least) may be exceeded. 738 707 .NOEXPORT:
-15
app/xmessage/Tests
··· 1 - #! /bin/sh -v 2 - # $XConsortium: Tests,v 1.3 94/06/03 15:58:32 gildea Exp $ 3 - xmessage this is standard usage, message on the command line 4 - echo this is a message from standard input | xmessage -file - 5 - xmessage -file Imakefile -buttons print,me -print 6 - # a file so long it requires a scrollbar 7 - xmessage -file xmessage.c 8 - xmessage -buttons "" no buttons, use delete window from window manager 9 - xmessage -buttons default,other -default default Type Return for the default 10 - xmessage -buttons many,buttons,determining,the,size,of,the,window short msg 11 - xmessage -buttons 14:14,102,3:3,27:27,105 pick a number; echo you picked $? 12 - # fun with resources... 13 - xmessage -buttons "" -xrm '*message.borderWidth: 0' \ 14 - -xrm '*Translations: #override <BtnDown>: exit(0)' \ 15 - click here to dismiss
app/xmessage/Xmessage-color.ad app/xmessage/app-defaults/Xmessage-color
app/xmessage/Xmessage.ad app/xmessage/app-defaults/Xmessage
+647 -120
app/xmessage/aclocal.m4
··· 995 995 AC_SUBST([am__untar]) 996 996 ]) # _AM_PROG_TAR 997 997 998 - dnl Copyright 2005 Red Hat, Inc 999 - dnl 1000 - dnl Permission to use, copy, modify, distribute, and sell this software and its 1001 - dnl documentation for any purpose is hereby granted without fee, provided that 1002 - dnl the above copyright notice appear in all copies and that both that 1003 - dnl copyright notice and this permission notice appear in supporting 1004 - dnl documentation. 1005 - dnl 1006 - dnl The above copyright notice and this permission notice shall be included 1007 - dnl in all copies or substantial portions of the Software. 1008 - dnl 1009 - dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1010 - dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1011 - dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 1012 - dnl IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 1013 - dnl OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 1014 - dnl ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 1015 - dnl OTHER DEALINGS IN THE SOFTWARE. 1016 - dnl 1017 - dnl Except as contained in this notice, the name of the copyright holders shall 1018 - dnl not be used in advertising or otherwise to promote the sale, use or 1019 - dnl other dealings in this Software without prior written authorization 1020 - dnl from the copyright holders. 1021 - dnl 1022 - 1023 - # XAW_CHECK_XPRINT_SUPPORT() 1024 - # -------------------------- 1025 - # Adds --enable/disable-xprint and selects the appropriate version of the Xaw 1026 - # library. If neither --enable-xprint nor --disable-xprint are given, 1027 - # the presence of an Xaw with Xprint support will be auto detected 1028 - 1029 - AC_DEFUN([XAW_CHECK_XPRINT_SUPPORT],[ 1030 - AC_ARG_ENABLE(xprint, AC_HELP_STRING([--enable-xprint], [Enable XPrint support]), 1031 - [use_xprint=$enableval],[use_xprint=auto]) 1032 - if test "x$use_xprint" = "xyes"; then 1033 - TMP_CHECK1=xaw8 1034 - TMP_CHECK2= 1035 - xaw_use_xprint=yes 1036 - elif test "x$use_xprint" = "xno"; then 1037 - TMP_CHECK1=xaw7 1038 - TMP_CHECK2= 1039 - xaw_use_xprint=no 1040 - else 1041 - TMP_CHECK1=xaw8 1042 - TMP_CHECK2=xaw7 1043 - xaw_use_xprint=yes 1044 - fi 1045 - 1046 - PKG_CHECK_MODULES(TMP_XAW, $TMP_CHECK1, success=yes, success=no) 1047 - if [[ ! -z $TMP_CHECK2 ]] ; then 1048 - if test $success = no ; then 1049 - PKG_CHECK_MODULES(TMP_XAW, $TMP_CHECK2, success=yes, success=no) 1050 - xaw_use_xprint=no 1051 - fi 1052 - fi 1053 - 1054 - if test "x$success" = "xyes"; then 1055 - $1_CFLAGS=$TMP_XAW_CFLAGS 1056 - $1_LIBS=$TMP_XAW_LIBS 1057 - 1058 - AM_CONDITIONAL([XAW_USE_XPRINT], [test "x$xaw_use_xprint" = "xyes"]) 1059 - else 1060 - AC_MSG_ERROR([No suitable version of Xaw found]) 1061 - fi 1062 - ]) 1063 - 998 + dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure. 1064 999 dnl 1065 1000 dnl Copyright 2005-2006 Sun Microsystems, Inc. All rights reserved. 1066 1001 dnl 1067 1002 dnl Permission is hereby granted, free of charge, to any person obtaining a 1068 - dnl copy of this software and associated documentation files (the 1069 - dnl "Software"), to deal in the Software without restriction, including 1070 - dnl without limitation the rights to use, copy, modify, merge, publish, 1071 - dnl distribute, and/or sell copies of the Software, and to permit persons 1072 - dnl to whom the Software is furnished to do so, provided that the above 1073 - dnl copyright notice(s) and this permission notice appear in all copies of 1074 - dnl the Software and that both the above copyright notice(s) and this 1075 - dnl permission notice appear in supporting documentation. 1003 + dnl copy of this software and associated documentation files (the "Software"), 1004 + dnl to deal in the Software without restriction, including without limitation 1005 + dnl the rights to use, copy, modify, merge, publish, distribute, sublicense, 1006 + dnl and/or sell copies of the Software, and to permit persons to whom the 1007 + dnl Software is furnished to do so, subject to the following conditions: 1076 1008 dnl 1077 - dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1078 - dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1079 - dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 1080 - dnl OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 1081 - dnl HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 1082 - dnl INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 1083 - dnl FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 1084 - dnl NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 1085 - dnl WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1009 + dnl The above copyright notice and this permission notice (including the next 1010 + dnl paragraph) shall be included in all copies or substantial portions of the 1011 + dnl Software. 1086 1012 dnl 1087 - dnl Except as contained in this notice, the name of a copyright holder 1088 - dnl shall not be used in advertising or otherwise to promote the sale, use 1089 - dnl or other dealings in this Software without prior written authorization 1090 - dnl of the copyright holder. 1013 + dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1014 + dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1015 + dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1016 + dnl THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1017 + dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 1018 + dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 1019 + dnl DEALINGS IN THE SOFTWARE. 1091 1020 1092 1021 # XORG_MACROS_VERSION(required-version) 1093 1022 # ------------------------------------- ··· 1097 1026 # your configure.ac with the minimum required version, such as: 1098 1027 # XORG_MACROS_VERSION(1.1) 1099 1028 # 1100 - # To force at least a version with this macro defined, also add: 1101 - # m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])]) 1029 + # To ensure that this macro is defined, also add: 1030 + # m4_ifndef([XORG_MACROS_VERSION], 1031 + # [m4_fatal([must install xorg-macros 1.1 or later before running autoconf/autogen])]) 1102 1032 # 1103 1033 # 1104 1034 # See the "minimum version" comment for each macro you use to see what 1105 1035 # version you require. 1106 - AC_DEFUN([XORG_MACROS_VERSION],[ 1107 - [XORG_MACROS_needed_version=$1 1108 - XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'` 1109 - XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`] 1110 - AC_MSG_CHECKING([if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}]) 1111 - [XORG_MACROS_version=1.1.5 1112 - XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'` 1113 - XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`] 1114 - if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then 1115 - AC_MSG_ERROR([configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x]) 1116 - fi 1117 - if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then 1118 - AC_MSG_ERROR([configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer]) 1119 - fi 1120 - AC_MSG_RESULT([yes, $XORG_MACROS_version]) 1036 + m4_defun([XORG_MACROS_VERSION],[ 1037 + m4_define([vers_have], [1.6.1]) 1038 + m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.]))) 1039 + m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.]))) 1040 + m4_if(m4_cmp(maj_have, maj_needed), 0,, 1041 + [m4_fatal([xorg-macros major version ]maj_needed[ is required but ]vers_have[ found])]) 1042 + m4_if(m4_version_compare(vers_have, [$1]), -1, 1043 + [m4_fatal([xorg-macros version $1 or higher is required but ]vers_have[ found])]) 1044 + m4_undefine([vers_have]) 1045 + m4_undefine([maj_have]) 1046 + m4_undefine([maj_needed]) 1121 1047 ]) # XORG_MACROS_VERSION 1122 1048 1123 1049 # XORG_PROG_RAWCPP() ··· 1142 1068 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 1143 1069 RAWCPPFLAGS=-undef 1144 1070 AC_MSG_RESULT([yes]) 1071 + # under Cygwin unix is still defined even with -undef 1072 + elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 1073 + RAWCPPFLAGS="-undef -ansi" 1074 + AC_MSG_RESULT([yes, with -ansi]) 1145 1075 else 1146 1076 AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.]) 1147 1077 fi ··· 1254 1184 # Whether or not the necessary tools and files are found can be checked 1255 1185 # with the AM_CONDITIONAL "BUILD_LINUXDOC" 1256 1186 AC_DEFUN([XORG_CHECK_LINUXDOC],[ 1257 - XORG_SGML_PATH=$prefix/share/sgml 1187 + if test x$XORG_SGML_PATH = x ; then 1188 + XORG_SGML_PATH=$prefix/share/sgml 1189 + fi 1258 1190 HAVE_DEFS_ENT= 1259 1191 1260 - AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]) 1192 + if test x"$cross_compiling" = x"yes" ; then 1193 + HAVE_DEFS_ENT=no 1194 + else 1195 + AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]) 1196 + fi 1261 1197 1262 1198 AC_PATH_PROG(LINUXDOC, linuxdoc) 1263 1199 AC_PATH_PROG(PS2PDF, ps2pdf) 1264 1200 1265 - AC_MSG_CHECKING([Whether to build documentation]) 1201 + AC_MSG_CHECKING([whether to build documentation]) 1266 1202 1267 1203 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then 1268 1204 BUILDDOC=yes ··· 1274 1210 1275 1211 AC_MSG_RESULT([$BUILDDOC]) 1276 1212 1277 - AC_MSG_CHECKING([Whether to build pdf documentation]) 1213 + AC_MSG_CHECKING([whether to build pdf documentation]) 1278 1214 1279 1215 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then 1280 1216 BUILDPDFDOC=yes ··· 1306 1242 # indicates whether the necessary tools and files are found and, if set, 1307 1243 # $(MAKE_XXX) blah.sgml will produce blah.xxx. 1308 1244 AC_DEFUN([XORG_CHECK_DOCBOOK],[ 1309 - XORG_SGML_PATH=$prefix/share/sgml 1245 + if test x$XORG_SGML_PATH = x ; then 1246 + XORG_SGML_PATH=$prefix/share/sgml 1247 + fi 1310 1248 HAVE_DEFS_ENT= 1311 1249 BUILDTXTDOC=no 1312 1250 BUILDPDFDOC=no ··· 1320 1258 AC_PATH_PROG(DOCBOOKHTML, docbook2html) 1321 1259 AC_PATH_PROG(DOCBOOKTXT, docbook2txt) 1322 1260 1323 - AC_MSG_CHECKING([Whether to build text documentation]) 1261 + AC_MSG_CHECKING([whether to build text documentation]) 1324 1262 if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKTXT != x && 1325 1263 test x$BUILD_TXTDOC != xno; then 1326 1264 BUILDTXTDOC=yes ··· 1328 1266 AM_CONDITIONAL(BUILD_TXTDOC, [test x$BUILDTXTDOC = xyes]) 1329 1267 AC_MSG_RESULT([$BUILDTXTDOC]) 1330 1268 1331 - AC_MSG_CHECKING([Whether to build PDF documentation]) 1269 + AC_MSG_CHECKING([whether to build PDF documentation]) 1332 1270 if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKPDF != x && 1333 1271 test x$BUILD_PDFDOC != xno; then 1334 1272 BUILDPDFDOC=yes ··· 1336 1274 AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes]) 1337 1275 AC_MSG_RESULT([$BUILDPDFDOC]) 1338 1276 1339 - AC_MSG_CHECKING([Whether to build PostScript documentation]) 1277 + AC_MSG_CHECKING([whether to build PostScript documentation]) 1340 1278 if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKPS != x && 1341 1279 test x$BUILD_PSDOC != xno; then 1342 1280 BUILDPSDOC=yes ··· 1344 1282 AM_CONDITIONAL(BUILD_PSDOC, [test x$BUILDPSDOC = xyes]) 1345 1283 AC_MSG_RESULT([$BUILDPSDOC]) 1346 1284 1347 - AC_MSG_CHECKING([Whether to build HTML documentation]) 1285 + AC_MSG_CHECKING([whether to build HTML documentation]) 1348 1286 if test x$HAVE_DEFS_ENT != x && test x$DOCBOOKHTML != x && 1349 1287 test x$BUILD_HTMLDOC != xno; then 1350 1288 BUILDHTMLDOC=yes ··· 1363 1301 AC_SUBST(MAKE_HTML) 1364 1302 ]) # XORG_CHECK_DOCBOOK 1365 1303 1304 + # XORG_WITH_XMLTO([MIN-VERSION]) 1305 + # ---------------- 1306 + # Minimum version: 1.5.0 1307 + # 1308 + # Documentation tools are not always available on all platforms and sometimes 1309 + # not at the appropriate level. This macro enables a module to test for the 1310 + # presence of the tool and obtain it's path in separate variables. Coupled with 1311 + # the --with-xmlto option, it allows maximum flexibilty in making decisions 1312 + # as whether or not to use the xmlto package. 1313 + # 1314 + # Interface to module: 1315 + # HAVE_XMLTO: used in makefiles to conditionally generate documentation 1316 + # XMLTO: returns the path of the xmlto program found 1317 + # returns the path set by the user in the environment 1318 + # --with-xmlto: 'yes' user instructs the module to use xmlto 1319 + # 'no' user instructs the module not to use xmlto 1320 + # 1321 + # If the user sets the value of XMLTO, AC_PATH_PROG skips testing the path. 1322 + # 1323 + AC_DEFUN([XORG_WITH_XMLTO],[ 1324 + AC_ARG_VAR([XMLTO], [Path to xmlto command]) 1325 + AC_ARG_WITH(xmlto, 1326 + AS_HELP_STRING([--with-xmlto], 1327 + [Use xmlto to regenerate documentation (default: yes, if installed)]), 1328 + [use_xmlto=$withval], [use_xmlto=auto]) 1329 + 1330 + if test "x$use_xmlto" = x"auto"; then 1331 + AC_PATH_PROG([XMLTO], [xmlto]) 1332 + if test "x$XMLTO" = "x"; then 1333 + AC_MSG_WARN([xmlto not found - documentation targets will be skipped]) 1334 + have_xmlto=no 1335 + else 1336 + have_xmlto=yes 1337 + fi 1338 + elif test "x$use_xmlto" = x"yes" ; then 1339 + AC_PATH_PROG([XMLTO], [xmlto]) 1340 + if test "x$XMLTO" = "x"; then 1341 + AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH]) 1342 + fi 1343 + have_xmlto=yes 1344 + elif test "x$use_xmlto" = x"no" ; then 1345 + if test "x$XMLTO" != "x"; then 1346 + AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified]) 1347 + fi 1348 + have_xmlto=no 1349 + else 1350 + AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no']) 1351 + fi 1352 + m4_ifval([$1], 1353 + [if test "$have_xmlto" = yes; then 1354 + # scrape the xmlto version 1355 + AC_MSG_CHECKING([the xmlto version]) 1356 + xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3` 1357 + AC_MSG_RESULT([$xmlto_version]) 1358 + AS_VERSION_COMPARE([$xmlto_version], [$1], 1359 + [if test "x$use_xmlto" = xauto; then 1360 + AC_MSG_WARN([xmlto version $xmlto_version found, but $1 needed]) 1361 + have_xmlto=no 1362 + else 1363 + AC_MSG_ERROR([xmlto version $xmlto_version found, but $1 needed]) 1364 + fi]) 1365 + fi]) 1366 + AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes]) 1367 + ]) # XORG_WITH_XMLTO 1368 + 1369 + # XORG_WITH_ASCIIDOC([MIN-VERSION]) 1370 + # ---------------- 1371 + # Minimum version: 1.5.0 1372 + # 1373 + # Documentation tools are not always available on all platforms and sometimes 1374 + # not at the appropriate level. This macro enables a module to test for the 1375 + # presence of the tool and obtain it's path in separate variables. Coupled with 1376 + # the --with-asciidoc option, it allows maximum flexibilty in making decisions 1377 + # as whether or not to use the asciidoc package. 1378 + # 1379 + # Interface to module: 1380 + # HAVE_ASCIIDOC: used in makefiles to conditionally generate documentation 1381 + # ASCIIDOC: returns the path of the asciidoc program found 1382 + # returns the path set by the user in the environment 1383 + # --with-asciidoc: 'yes' user instructs the module to use asciidoc 1384 + # 'no' user instructs the module not to use asciidoc 1385 + # 1386 + # If the user sets the value of ASCIIDOC, AC_PATH_PROG skips testing the path. 1387 + # 1388 + AC_DEFUN([XORG_WITH_ASCIIDOC],[ 1389 + AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command]) 1390 + AC_ARG_WITH(asciidoc, 1391 + AS_HELP_STRING([--with-asciidoc], 1392 + [Use asciidoc to regenerate documentation (default: yes, if installed)]), 1393 + [use_asciidoc=$withval], [use_asciidoc=auto]) 1394 + 1395 + if test "x$use_asciidoc" = x"auto"; then 1396 + AC_PATH_PROG([ASCIIDOC], [asciidoc]) 1397 + if test "x$ASCIIDOC" = "x"; then 1398 + AC_MSG_WARN([asciidoc not found - documentation targets will be skipped]) 1399 + have_asciidoc=no 1400 + else 1401 + have_asciidoc=yes 1402 + fi 1403 + elif test "x$use_asciidoc" = x"yes" ; then 1404 + AC_PATH_PROG([ASCIIDOC], [asciidoc]) 1405 + if test "x$ASCIIDOC" = "x"; then 1406 + AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH]) 1407 + fi 1408 + have_asciidoc=yes 1409 + elif test "x$use_asciidoc" = x"no" ; then 1410 + if test "x$ASCIIDOC" != "x"; then 1411 + AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified]) 1412 + fi 1413 + have_asciidoc=no 1414 + else 1415 + AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no']) 1416 + fi 1417 + m4_ifval([$1], 1418 + [if test "$have_asciidoc" = yes; then 1419 + # scrape the asciidoc version 1420 + AC_MSG_CHECKING([the asciidoc version]) 1421 + asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2` 1422 + AC_MSG_RESULT([$asciidoc_version]) 1423 + AS_VERSION_COMPARE([$asciidoc_version], [$1], 1424 + [if test "x$use_asciidoc" = xauto; then 1425 + AC_MSG_WARN([asciidoc version $asciidoc_version found, but $1 needed]) 1426 + have_asciidoc=no 1427 + else 1428 + AC_MSG_ERROR([asciidoc version $asciidoc_version found, but $1 needed]) 1429 + fi]) 1430 + fi]) 1431 + AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$have_asciidoc" = yes]) 1432 + ]) # XORG_WITH_ASCIIDOC 1433 + 1434 + # XORG_WITH_DOXYGEN([MIN-VERSION]) 1435 + # -------------------------------- 1436 + # Minimum version: 1.5.0 1437 + # 1438 + # Documentation tools are not always available on all platforms and sometimes 1439 + # not at the appropriate level. This macro enables a module to test for the 1440 + # presence of the tool and obtain it's path in separate variables. Coupled with 1441 + # the --with-doxygen option, it allows maximum flexibilty in making decisions 1442 + # as whether or not to use the doxygen package. 1443 + # 1444 + # Interface to module: 1445 + # HAVE_DOXYGEN: used in makefiles to conditionally generate documentation 1446 + # DOXYGEN: returns the path of the doxygen program found 1447 + # returns the path set by the user in the environment 1448 + # --with-doxygen: 'yes' user instructs the module to use doxygen 1449 + # 'no' user instructs the module not to use doxygen 1450 + # 1451 + # If the user sets the value of DOXYGEN, AC_PATH_PROG skips testing the path. 1452 + # 1453 + AC_DEFUN([XORG_WITH_DOXYGEN],[ 1454 + AC_ARG_VAR([DOXYGEN], [Path to doxygen command]) 1455 + AC_ARG_WITH(doxygen, 1456 + AS_HELP_STRING([--with-doxygen], 1457 + [Use doxygen to regenerate documentation (default: yes, if installed)]), 1458 + [use_doxygen=$withval], [use_doxygen=auto]) 1459 + 1460 + if test "x$use_doxygen" = x"auto"; then 1461 + AC_PATH_PROG([DOXYGEN], [doxygen]) 1462 + if test "x$DOXYGEN" = "x"; then 1463 + AC_MSG_WARN([doxygen not found - documentation targets will be skipped]) 1464 + have_doxygen=no 1465 + else 1466 + have_doxygen=yes 1467 + fi 1468 + elif test "x$use_doxygen" = x"yes" ; then 1469 + AC_PATH_PROG([DOXYGEN], [doxygen]) 1470 + if test "x$DOXYGEN" = "x"; then 1471 + AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH]) 1472 + fi 1473 + have_doxygen=yes 1474 + elif test "x$use_doxygen" = x"no" ; then 1475 + if test "x$DOXYGEN" != "x"; then 1476 + AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified]) 1477 + fi 1478 + have_doxygen=no 1479 + else 1480 + AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no']) 1481 + fi 1482 + m4_ifval([$1], 1483 + [if test "$have_doxygen" = yes; then 1484 + # scrape the doxygen version 1485 + AC_MSG_CHECKING([the doxygen version]) 1486 + doxygen_version=`$DOXYGEN --version 2>/dev/null` 1487 + AC_MSG_RESULT([$doxygen_version]) 1488 + AS_VERSION_COMPARE([$doxygen_version], [$1], 1489 + [if test "x$use_doxygen" = xauto; then 1490 + AC_MSG_WARN([doxygen version $doxygen_version found, but $1 needed]) 1491 + have_doxygen=no 1492 + else 1493 + AC_MSG_ERROR([doxygen version $doxygen_version found, but $1 needed]) 1494 + fi]) 1495 + fi]) 1496 + AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes]) 1497 + ]) # XORG_WITH_DOXYGEN 1498 + 1499 + # XORG_WITH_GROFF 1500 + # ---------------- 1501 + # Minimum version: 1.6.0 1502 + # 1503 + # Documentation tools are not always available on all platforms and sometimes 1504 + # not at the appropriate level. This macro enables a module to test for the 1505 + # presence of the tool and obtain it's path in separate variables. Coupled with 1506 + # the --with-groff option, it allows maximum flexibilty in making decisions 1507 + # as whether or not to use the groff package. 1508 + # 1509 + # Interface to module: 1510 + # HAVE_GROFF: used in makefiles to conditionally generate documentation 1511 + # HAVE_GROFF_MM: the memorandum macros (-mm) package 1512 + # HAVE_GROFF_MS: the -ms macros package 1513 + # GROFF: returns the path of the groff program found 1514 + # returns the path set by the user in the environment 1515 + # --with-groff: 'yes' user instructs the module to use groff 1516 + # 'no' user instructs the module not to use groff 1517 + # 1518 + # If the user sets the value of GROFF, AC_PATH_PROG skips testing the path. 1519 + # 1520 + # OS and distros often splits groff in a basic and full package, the former 1521 + # having the groff program and the later having devices, fonts and macros 1522 + # Checking for the groff executable is not enough. 1523 + # 1524 + # If macros are missing, we cannot assume that groff is useless, so we don't 1525 + # unset HAVE_GROFF or GROFF env variables. 1526 + # HAVE_GROFF_?? can never be true while HAVE_GROFF is false. 1527 + # 1528 + AC_DEFUN([XORG_WITH_GROFF],[ 1529 + AC_ARG_VAR([GROFF], [Path to groff command]) 1530 + AC_ARG_WITH(groff, 1531 + AS_HELP_STRING([--with-groff], 1532 + [Use groff to regenerate documentation (default: yes, if installed)]), 1533 + [use_groff=$withval], [use_groff=auto]) 1534 + 1535 + if test "x$use_groff" = x"auto"; then 1536 + AC_PATH_PROG([GROFF], [groff]) 1537 + if test "x$GROFF" = "x"; then 1538 + AC_MSG_WARN([groff not found - documentation targets will be skipped]) 1539 + have_groff=no 1540 + else 1541 + have_groff=yes 1542 + fi 1543 + elif test "x$use_groff" = x"yes" ; then 1544 + AC_PATH_PROG([GROFF], [groff]) 1545 + if test "x$GROFF" = "x"; then 1546 + AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH]) 1547 + fi 1548 + have_groff=yes 1549 + elif test "x$use_groff" = x"no" ; then 1550 + if test "x$GROFF" != "x"; then 1551 + AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified]) 1552 + fi 1553 + have_groff=no 1554 + else 1555 + AC_MSG_ERROR([--with-groff expects 'yes' or 'no']) 1556 + fi 1557 + # We have groff, test for the presence of the macro packages 1558 + if test "x$have_groff" = x"yes"; then 1559 + AC_MSG_CHECKING([for ${GROFF} -ms macros]) 1560 + if ${GROFF} -ms -I. /dev/null >/dev/null 2>&1 ; then 1561 + groff_ms_works=yes 1562 + else 1563 + groff_ms_works=no 1564 + fi 1565 + AC_MSG_RESULT([$groff_ms_works]) 1566 + AC_MSG_CHECKING([for ${GROFF} -mm macros]) 1567 + if ${GROFF} -mm -I. /dev/null >/dev/null 2>&1 ; then 1568 + groff_mm_works=yes 1569 + else 1570 + groff_mm_works=no 1571 + fi 1572 + AC_MSG_RESULT([$groff_mm_works]) 1573 + fi 1574 + AM_CONDITIONAL([HAVE_GROFF], [test "$have_groff" = yes]) 1575 + AM_CONDITIONAL([HAVE_GROFF_MS], [test "$groff_ms_works" = yes]) 1576 + AM_CONDITIONAL([HAVE_GROFF_MM], [test "$groff_mm_works" = yes]) 1577 + ]) # XORG_WITH_GROFF 1578 + 1579 + # XORG_WITH_FOP 1580 + # ---------------- 1581 + # Minimum version: 1.6.0 1582 + # 1583 + # Documentation tools are not always available on all platforms and sometimes 1584 + # not at the appropriate level. This macro enables a module to test for the 1585 + # presence of the tool and obtain it's path in separate variables. Coupled with 1586 + # the --with-fop option, it allows maximum flexibilty in making decisions 1587 + # as whether or not to use the fop package. 1588 + # 1589 + # Interface to module: 1590 + # HAVE_FOP: used in makefiles to conditionally generate documentation 1591 + # FOP: returns the path of the fop program found 1592 + # returns the path set by the user in the environment 1593 + # --with-fop: 'yes' user instructs the module to use fop 1594 + # 'no' user instructs the module not to use fop 1595 + # 1596 + # If the user sets the value of FOP, AC_PATH_PROG skips testing the path. 1597 + # 1598 + AC_DEFUN([XORG_WITH_FOP],[ 1599 + AC_ARG_VAR([FOP], [Path to fop command]) 1600 + AC_ARG_WITH(fop, 1601 + AS_HELP_STRING([--with-fop], 1602 + [Use fop to regenerate documentation (default: yes, if installed)]), 1603 + [use_fop=$withval], [use_fop=auto]) 1604 + 1605 + if test "x$use_fop" = x"auto"; then 1606 + AC_PATH_PROG([FOP], [fop]) 1607 + if test "x$FOP" = "x"; then 1608 + AC_MSG_WARN([fop not found - documentation targets will be skipped]) 1609 + have_fop=no 1610 + else 1611 + have_fop=yes 1612 + fi 1613 + elif test "x$use_fop" = x"yes" ; then 1614 + AC_PATH_PROG([FOP], [fop]) 1615 + if test "x$FOP" = "x"; then 1616 + AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH]) 1617 + fi 1618 + have_fop=yes 1619 + elif test "x$use_fop" = x"no" ; then 1620 + if test "x$FOP" != "x"; then 1621 + AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified]) 1622 + fi 1623 + have_fop=no 1624 + else 1625 + AC_MSG_ERROR([--with-fop expects 'yes' or 'no']) 1626 + fi 1627 + AM_CONDITIONAL([HAVE_FOP], [test "$have_fop" = yes]) 1628 + ]) # XORG_WITH_FOP 1629 + 1630 + # XORG_WITH_PS2PDF 1631 + # ---------------- 1632 + # Minimum version: 1.6.0 1633 + # 1634 + # Documentation tools are not always available on all platforms and sometimes 1635 + # not at the appropriate level. This macro enables a module to test for the 1636 + # presence of the tool and obtain it's path in separate variables. Coupled with 1637 + # the --with-ps2pdf option, it allows maximum flexibilty in making decisions 1638 + # as whether or not to use the ps2pdf package. 1639 + # 1640 + # Interface to module: 1641 + # HAVE_PS2PDF: used in makefiles to conditionally generate documentation 1642 + # PS2PDF: returns the path of the ps2pdf program found 1643 + # returns the path set by the user in the environment 1644 + # --with-ps2pdf: 'yes' user instructs the module to use ps2pdf 1645 + # 'no' user instructs the module not to use ps2pdf 1646 + # 1647 + # If the user sets the value of PS2PDF, AC_PATH_PROG skips testing the path. 1648 + # 1649 + AC_DEFUN([XORG_WITH_PS2PDF],[ 1650 + AC_ARG_VAR([PS2PDF], [Path to ps2pdf command]) 1651 + AC_ARG_WITH(ps2pdf, 1652 + AS_HELP_STRING([--with-ps2pdf], 1653 + [Use ps2pdf to regenerate documentation (default: yes, if installed)]), 1654 + [use_ps2pdf=$withval], [use_ps2pdf=auto]) 1655 + 1656 + if test "x$use_ps2pdf" = x"auto"; then 1657 + AC_PATH_PROG([PS2PDF], [ps2pdf]) 1658 + if test "x$PS2PDF" = "x"; then 1659 + AC_MSG_WARN([ps2pdf not found - documentation targets will be skipped]) 1660 + have_ps2pdf=no 1661 + else 1662 + have_ps2pdf=yes 1663 + fi 1664 + elif test "x$use_ps2pdf" = x"yes" ; then 1665 + AC_PATH_PROG([PS2PDF], [ps2pdf]) 1666 + if test "x$PS2PDF" = "x"; then 1667 + AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH]) 1668 + fi 1669 + have_ps2pdf=yes 1670 + elif test "x$use_ps2pdf" = x"no" ; then 1671 + if test "x$PS2PDF" != "x"; then 1672 + AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified]) 1673 + fi 1674 + have_ps2pdf=no 1675 + else 1676 + AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no']) 1677 + fi 1678 + AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes]) 1679 + ]) # XORG_WITH_PS2PDF 1680 + 1681 + # XORG_ENABLE_DOCS (enable_docs=yes) 1682 + # ---------------- 1683 + # Minimum version: 1.6.0 1684 + # 1685 + # Documentation tools are not always available on all platforms and sometimes 1686 + # not at the appropriate level. This macro enables a builder to skip all 1687 + # documentation targets except traditional man pages. 1688 + # Combined with the specific tool checking macros XORG_WITH_*, it provides 1689 + # maximum flexibilty in controlling documentation building. 1690 + # Refer to: 1691 + # XORG_WITH_XMLTO --with-xmlto 1692 + # XORG_WITH_ASCIIDOC --with-asciidoc 1693 + # XORG_WITH_DOXYGEN --with-doxygen 1694 + # XORG_WITH_FOP --with-fop 1695 + # XORG_WITH_GROFF --with-groff 1696 + # XORG_WITH_PS2PDF --with-ps2pdf 1697 + # 1698 + # Interface to module: 1699 + # ENABLE_DOCS: used in makefiles to conditionally generate documentation 1700 + # --enable-docs: 'yes' user instructs the module to generate docs 1701 + # 'no' user instructs the module not to generate docs 1702 + # parm1: specify the default value, yes or no. 1703 + # 1704 + AC_DEFUN([XORG_ENABLE_DOCS],[ 1705 + default=$1 1706 + if test "x$default" = x ; then 1707 + default="yes" 1708 + fi 1709 + AC_ARG_ENABLE(docs, 1710 + AS_HELP_STRING([--enable-docs], 1711 + [Enable building the documentation (default: yes)]), 1712 + [build_docs=$enableval], [build_docs=$default]) 1713 + AM_CONDITIONAL(ENABLE_DOCS, [test x$build_docs = xyes]) 1714 + AC_MSG_CHECKING([whether to build documentation]) 1715 + AC_MSG_RESULT([$build_docs]) 1716 + ]) # XORG_ENABLE_DOCS 1717 + 1718 + # XORG_ENABLE_DEVEL_DOCS (enable_devel_docs=yes) 1719 + # ---------------- 1720 + # Minimum version: 1.6.0 1721 + # 1722 + # This macro enables a builder to skip all developer documentation. 1723 + # Combined with the specific tool checking macros XORG_WITH_*, it provides 1724 + # maximum flexibilty in controlling documentation building. 1725 + # Refer to: 1726 + # XORG_WITH_XMLTO --with-xmlto 1727 + # XORG_WITH_ASCIIDOC --with-asciidoc 1728 + # XORG_WITH_DOXYGEN --with-doxygen 1729 + # XORG_WITH_FOP --with-fop 1730 + # XORG_WITH_GROFF --with-groff 1731 + # XORG_WITH_PS2PDF --with-ps2pdf 1732 + # 1733 + # Interface to module: 1734 + # ENABLE_DEVEL_DOCS: used in makefiles to conditionally generate developer docs 1735 + # --enable-devel-docs: 'yes' user instructs the module to generate developer docs 1736 + # 'no' user instructs the module not to generate developer docs 1737 + # parm1: specify the default value, yes or no. 1738 + # 1739 + AC_DEFUN([XORG_ENABLE_DEVEL_DOCS],[ 1740 + devel_default=$1 1741 + if test "x$devel_default" = x ; then 1742 + devel_default="yes" 1743 + fi 1744 + AC_ARG_ENABLE(devel-docs, 1745 + AS_HELP_STRING([--enable-devel-docs], 1746 + [Enable building the developer documentation (default: yes)]), 1747 + [build_devel_docs=$enableval], [build_devel_docs=$devel_default]) 1748 + AM_CONDITIONAL(ENABLE_DEVEL_DOCS, [test x$build_devel_docs = xyes]) 1749 + AC_MSG_CHECKING([whether to build developer documentation]) 1750 + AC_MSG_RESULT([$build_devel_docs]) 1751 + ]) # XORG_ENABLE_DEVEL_DOCS 1752 + 1753 + # XORG_ENABLE_SPECS (enable_specs=yes) 1754 + # ---------------- 1755 + # Minimum version: 1.6.0 1756 + # 1757 + # This macro enables a builder to skip all functional specification targets. 1758 + # Combined with the specific tool checking macros XORG_WITH_*, it provides 1759 + # maximum flexibilty in controlling documentation building. 1760 + # Refer to: 1761 + # XORG_WITH_XMLTO --with-xmlto 1762 + # XORG_WITH_ASCIIDOC --with-asciidoc 1763 + # XORG_WITH_DOXYGEN --with-doxygen 1764 + # XORG_WITH_FOP --with-fop 1765 + # XORG_WITH_GROFF --with-groff 1766 + # XORG_WITH_PS2PDF --with-ps2pdf 1767 + # 1768 + # Interface to module: 1769 + # ENABLE_SPECS: used in makefiles to conditionally generate specs 1770 + # --enable-specs: 'yes' user instructs the module to generate specs 1771 + # 'no' user instructs the module not to generate specs 1772 + # parm1: specify the default value, yes or no. 1773 + # 1774 + AC_DEFUN([XORG_ENABLE_SPECS],[ 1775 + spec_default=$1 1776 + if test "x$spec_default" = x ; then 1777 + spec_default="yes" 1778 + fi 1779 + AC_ARG_ENABLE(specs, 1780 + AS_HELP_STRING([--enable-specs], 1781 + [Enable building the specs (default: yes)]), 1782 + [build_specs=$enableval], [build_specs=$spec_default]) 1783 + AM_CONDITIONAL(ENABLE_SPECS, [test x$build_specs = xyes]) 1784 + AC_MSG_CHECKING([whether to build functional specifications]) 1785 + AC_MSG_RESULT([$build_specs]) 1786 + ]) # XORG_ENABLE_SPECS 1787 + 1366 1788 # XORG_CHECK_MALLOC_ZERO 1367 1789 # ---------------------- 1368 1790 # Minimum version: 1.0.0 ··· 1372 1794 # their AM_CFLAGS (or other appropriate *_CFLAGS) to use them. 1373 1795 AC_DEFUN([XORG_CHECK_MALLOC_ZERO],[ 1374 1796 AC_ARG_ENABLE(malloc0returnsnull, 1375 - AC_HELP_STRING([--enable-malloc0returnsnull], 1797 + AS_HELP_STRING([--enable-malloc0returnsnull], 1376 1798 [malloc(0) returns NULL (default: auto)]), 1377 1799 [MALLOC_ZERO_RETURNS_NULL=$enableval], 1378 1800 [MALLOC_ZERO_RETURNS_NULL=auto]) ··· 1392 1814 exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1); 1393 1815 }], 1394 1816 [MALLOC_ZERO_RETURNS_NULL=yes], 1395 - [MALLOC_ZERO_RETURNS_NULL=no]) 1817 + [MALLOC_ZERO_RETURNS_NULL=no], 1818 + [MALLOC_ZERO_RETURNS_NULL=yes]) 1396 1819 fi 1397 1820 AC_MSG_RESULT([$MALLOC_ZERO_RETURNS_NULL]) 1398 1821 ··· 1424 1847 AC_DEFUN([XORG_WITH_LINT],[ 1425 1848 1426 1849 # Allow checking code with lint, sparse, etc. 1427 - AC_ARG_WITH(lint, [AC_HELP_STRING([--with-lint], 1850 + AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint], 1428 1851 [Use a lint-style source code checker (default: disabled)])], 1429 1852 [use_lint=$withval], [use_lint=no]) 1430 1853 if test "x$use_lint" = "xyes" ; then ··· 1465 1888 AC_DEFUN([XORG_LINT_LIBRARY],[ 1466 1889 AC_REQUIRE([XORG_WITH_LINT]) 1467 1890 # Build lint "library" for more indepth checks of programs calling this library 1468 - AC_ARG_ENABLE(lint-library, [AC_HELP_STRING([--enable-lint-library], 1891 + AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library], 1469 1892 [Create lint library (default: disabled)])], 1470 1893 [make_lint_lib=$enableval], [make_lint_lib=no]) 1471 1894 if test "x$make_lint_lib" != "xno" ; then ··· 1483 1906 1484 1907 ]) # XORG_LINT_LIBRARY 1485 1908 1909 + # XORG_CWARNFLAGS 1910 + # --------------- 1911 + # Minimum version: 1.2.0 1912 + # 1913 + # Defines CWARNFLAGS to enable C compiler warnings. 1914 + # 1915 + AC_DEFUN([XORG_CWARNFLAGS], [ 1916 + AC_REQUIRE([AC_PROG_CC]) 1917 + if test "x$GCC" = xyes ; then 1918 + CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 1919 + -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 1920 + -Wbad-function-cast -Wformat=2" 1921 + case `$CC -dumpversion` in 1922 + 3.4.* | 4.*) 1923 + CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 1924 + ;; 1925 + esac 1926 + else 1927 + AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"]) 1928 + if test "x$SUNCC" = "xyes"; then 1929 + CWARNFLAGS="-v" 1930 + fi 1931 + fi 1932 + AC_SUBST(CWARNFLAGS) 1933 + ]) # XORG_CWARNFLAGS 1934 + 1935 + # XORG_STRICT_OPTION 1936 + # ----------------------- 1937 + # Minimum version: 1.3.0 1938 + # 1939 + # Add configure option to enable strict compilation 1940 + AC_DEFUN([XORG_STRICT_OPTION], [ 1941 + AC_REQUIRE([AC_PROG_CC]) 1942 + AC_REQUIRE([AC_PROG_CC_C99]) 1943 + AC_REQUIRE([XORG_CWARNFLAGS]) 1944 + 1945 + AC_ARG_ENABLE(strict-compilation, 1946 + AS_HELP_STRING([--enable-strict-compilation], 1947 + [Enable all warnings from compiler and make them errors (default: disabled)]), 1948 + [STRICT_COMPILE=$enableval], [STRICT_COMPILE=no]) 1949 + if test "x$STRICT_COMPILE" = "xyes"; then 1950 + AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"]) 1951 + AC_CHECK_DECL([__INTEL_COMPILER], [INTELCC="yes"], [INTELCC="no"]) 1952 + if test "x$GCC" = xyes ; then 1953 + STRICT_CFLAGS="-pedantic -Werror" 1954 + elif test "x$SUNCC" = "xyes"; then 1955 + STRICT_CFLAGS="-errwarn" 1956 + elif test "x$INTELCC" = "xyes"; then 1957 + STRICT_CFLAGS="-Werror" 1958 + fi 1959 + fi 1960 + CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 1961 + AC_SUBST([CWARNFLAGS]) 1962 + ]) # XORG_STRICT_OPTION 1963 + 1964 + # XORG_DEFAULT_OPTIONS 1965 + # -------------------- 1966 + # Minimum version: 1.3.0 1967 + # 1968 + # Defines default options for X.Org modules. 1969 + # 1970 + AC_DEFUN([XORG_DEFAULT_OPTIONS], [ 1971 + XORG_CWARNFLAGS 1972 + XORG_STRICT_OPTION 1973 + XORG_RELEASE_VERSION 1974 + XORG_CHANGELOG 1975 + XORG_INSTALL 1976 + XORG_MANPAGE_SECTIONS 1977 + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 1978 + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 1979 + ]) # XORG_DEFAULT_OPTIONS 1980 + 1981 + # XORG_INSTALL() 1982 + # ---------------- 1983 + # Minimum version: 1.4.0 1984 + # 1985 + # Defines the variable INSTALL_CMD as the command to copy 1986 + # INSTALL from $prefix/share/util-macros. 1987 + # 1988 + AC_DEFUN([XORG_INSTALL], [ 1989 + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 1990 + macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 1991 + INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 1992 + mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 1993 + || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 1994 + echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 1995 + AC_SUBST([INSTALL_CMD]) 1996 + ]) # XORG_INSTALL 1486 1997 dnl Copyright 2005 Red Hat, Inc 1487 1998 dnl 1488 1999 dnl Permission to use, copy, modify, distribute, and sell this software and its ··· 1517 2028 1518 2029 AC_DEFUN([XORG_RELEASE_VERSION],[ 1519 2030 AC_ARG_WITH(release-version, 1520 - AC_HELP_STRING([--with-release-version=STRING], 2031 + AS_HELP_STRING([--with-release-version=STRING], 1521 2032 [Use release version string in package name]), 1522 2033 [RELEASE_VERSION="$withval"], 1523 2034 [RELEASE_VERSION=""]) ··· 1529 2040 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR], 1530 2041 [`echo $PACKAGE_VERSION | cut -d . -f 1`], 1531 2042 [Major version of this package]) 1532 - PVM=`echo $PACKAGE_VERSION | cut -d . -f 2` 2043 + PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 1533 2044 if test "x$PVM" = "x"; then 1534 2045 PVM="0" 1535 2046 fi 1536 2047 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR], 1537 2048 [$PVM], 1538 2049 [Minor version of this package]) 1539 - PVP=`echo $PACKAGE_VERSION | cut -d . -f 3` 2050 + PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 1540 2051 if test "x$PVP" = "x"; then 1541 2052 PVP="0" 1542 2053 fi ··· 1545 2056 [Patch version of this package]) 1546 2057 ]) 1547 2058 2059 + # XORG_CHANGELOG() 2060 + # ---------------- 2061 + # Minimum version: 1.2.0 2062 + # 2063 + # Defines the variable CHANGELOG_CMD as the command to generate 2064 + # ChangeLog from git. 2065 + # 2066 + # 2067 + AC_DEFUN([XORG_CHANGELOG], [ 2068 + CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 2069 + mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 2070 + || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 2071 + echo 'git directory not found: installing possibly empty changelog.' >&2)" 2072 + AC_SUBST([CHANGELOG_CMD]) 2073 + ]) # XORG_CHANGELOG 2074 +
-142
app/xmessage/compile
··· 1 - #! /bin/sh 2 - # Wrapper for compilers which do not understand `-c -o'. 3 - 4 - scriptversion=2005-05-14.22 5 - 6 - # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. 7 - # Written by Tom Tromey <tromey@cygnus.com>. 8 - # 9 - # This program is free software; you can redistribute it and/or modify 10 - # it under the terms of the GNU General Public License as published by 11 - # the Free Software Foundation; either version 2, or (at your option) 12 - # any later version. 13 - # 14 - # This program is distributed in the hope that it will be useful, 15 - # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 - # GNU General Public License for more details. 18 - # 19 - # You should have received a copy of the GNU General Public License 20 - # along with this program; if not, write to the Free Software 21 - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 - 23 - # As a special exception to the GNU General Public License, if you 24 - # distribute this file as part of a program that contains a 25 - # configuration script generated by Autoconf, you may include it under 26 - # the same distribution terms that you use for the rest of that program. 27 - 28 - # This file is maintained in Automake, please report 29 - # bugs to <bug-automake@gnu.org> or send patches to 30 - # <automake-patches@gnu.org>. 31 - 32 - case $1 in 33 - '') 34 - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 35 - exit 1; 36 - ;; 37 - -h | --h*) 38 - cat <<\EOF 39 - Usage: compile [--help] [--version] PROGRAM [ARGS] 40 - 41 - Wrapper for compilers which do not understand `-c -o'. 42 - Remove `-o dest.o' from ARGS, run PROGRAM with the remaining 43 - arguments, and rename the output as expected. 44 - 45 - If you are trying to build a whole package this is not the 46 - right script to run: please start by reading the file `INSTALL'. 47 - 48 - Report bugs to <bug-automake@gnu.org>. 49 - EOF 50 - exit $? 51 - ;; 52 - -v | --v*) 53 - echo "compile $scriptversion" 54 - exit $? 55 - ;; 56 - esac 57 - 58 - ofile= 59 - cfile= 60 - eat= 61 - 62 - for arg 63 - do 64 - if test -n "$eat"; then 65 - eat= 66 - else 67 - case $1 in 68 - -o) 69 - # configure might choose to run compile as `compile cc -o foo foo.c'. 70 - # So we strip `-o arg' only if arg is an object. 71 - eat=1 72 - case $2 in 73 - *.o | *.obj) 74 - ofile=$2 75 - ;; 76 - *) 77 - set x "$@" -o "$2" 78 - shift 79 - ;; 80 - esac 81 - ;; 82 - *.c) 83 - cfile=$1 84 - set x "$@" "$1" 85 - shift 86 - ;; 87 - *) 88 - set x "$@" "$1" 89 - shift 90 - ;; 91 - esac 92 - fi 93 - shift 94 - done 95 - 96 - if test -z "$ofile" || test -z "$cfile"; then 97 - # If no `-o' option was seen then we might have been invoked from a 98 - # pattern rule where we don't need one. That is ok -- this is a 99 - # normal compilation that the losing compiler can handle. If no 100 - # `.c' file was seen then we are probably linking. That is also 101 - # ok. 102 - exec "$@" 103 - fi 104 - 105 - # Name of file we expect compiler to create. 106 - cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` 107 - 108 - # Create the lock directory. 109 - # Note: use `[/.-]' here to ensure that we don't use the same name 110 - # that we are using for the .o file. Also, base the name on the expected 111 - # object file name, since that is what matters with a parallel build. 112 - lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d 113 - while true; do 114 - if mkdir "$lockdir" >/dev/null 2>&1; then 115 - break 116 - fi 117 - sleep 1 118 - done 119 - # FIXME: race condition here if user kills between mkdir and trap. 120 - trap "rmdir '$lockdir'; exit 1" 1 2 15 121 - 122 - # Run the compile. 123 - "$@" 124 - ret=$? 125 - 126 - if test -f "$cofile"; then 127 - mv "$cofile" "$ofile" 128 - elif test -f "${cofile}bj"; then 129 - mv "${cofile}bj" "$ofile" 130 - fi 131 - 132 - rmdir "$lockdir" 133 - exit $ret 134 - 135 - # Local Variables: 136 - # mode: shell-script 137 - # sh-indentation: 2 138 - # eval: (add-hook 'write-file-hooks 'time-stamp) 139 - # time-stamp-start: "scriptversion=" 140 - # time-stamp-format: "%:y-%02m-%02d.%02H" 141 - # time-stamp-end: "$" 142 - # End:
+30
app/xmessage/config.h.in
··· 1 1 /* config.h.in. Generated from configure.ac by autoheader. */ 2 2 3 + /* Define to 1 if you have the <inttypes.h> header file. */ 4 + #undef HAVE_INTTYPES_H 5 + 6 + /* Define to 1 if you have the <memory.h> header file. */ 7 + #undef HAVE_MEMORY_H 8 + 9 + /* Define to 1 if you have the <stdint.h> header file. */ 10 + #undef HAVE_STDINT_H 11 + 12 + /* Define to 1 if you have the <stdlib.h> header file. */ 13 + #undef HAVE_STDLIB_H 14 + 15 + /* Define to 1 if you have the <strings.h> header file. */ 16 + #undef HAVE_STRINGS_H 17 + 18 + /* Define to 1 if you have the <string.h> header file. */ 19 + #undef HAVE_STRING_H 20 + 21 + /* Define to 1 if you have the <sys/stat.h> header file. */ 22 + #undef HAVE_SYS_STAT_H 23 + 24 + /* Define to 1 if you have the <sys/types.h> header file. */ 25 + #undef HAVE_SYS_TYPES_H 26 + 27 + /* Define to 1 if you have the <unistd.h> header file. */ 28 + #undef HAVE_UNISTD_H 29 + 3 30 /* Name of package */ 4 31 #undef PACKAGE 5 32 ··· 26 53 27 54 /* Patch version of this package */ 28 55 #undef PACKAGE_VERSION_PATCHLEVEL 56 + 57 + /* Define to 1 if you have the ANSI C header files. */ 58 + #undef STDC_HEADERS 29 59 30 60 /* Version number of package */ 31 61 #undef VERSION
+4848 -2382
app/xmessage/configure
··· 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 - # Generated by GNU Autoconf 2.59 for xmessage 1.0.2. 3 + # Generated by GNU Autoconf 2.62 for xmessage 1.0.3. 4 4 # 5 5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6 6 # 7 - # Copyright (C) 2003 Free Software Foundation, Inc. 7 + # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 + # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 8 9 # This configure script is free software; the Free Software Foundation 9 10 # gives unlimited permission to copy, distribute and modify it. 10 11 ## --------------------- ## 11 12 ## M4sh Initialization. ## 12 13 ## --------------------- ## 13 14 14 - # Be Bourne compatible 15 + # Be more Bourne compatible 16 + DUALCASE=1; export DUALCASE # for MKS sh 15 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 18 emulate sh 17 19 NULLCMD=: 18 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 21 - elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 - set -o posix 23 + setopt NO_GLOB_SUBST 24 + else 25 + case `(set -o) 2>/dev/null` in 26 + *posix*) set -o posix ;; 27 + esac 28 + 29 + fi 30 + 31 + 32 + 33 + 34 + # PATH needs CR 35 + # Avoid depending upon Character Ranges. 36 + as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39 + as_cr_digits='0123456789' 40 + as_cr_alnum=$as_cr_Letters$as_cr_digits 41 + 42 + as_nl=' 43 + ' 44 + export as_nl 45 + # Printing a long string crashes Solaris 7 /usr/bin/printf. 46 + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49 + if (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' 23 72 fi 24 - DUALCASE=1; export DUALCASE # for MKS sh 73 + 74 + # The user is always right. 75 + if test "${PATH_SEPARATOR+set}" != set; then 76 + PATH_SEPARATOR=: 77 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 + PATH_SEPARATOR=';' 80 + } 81 + fi 25 82 26 83 # Support unset when possible. 27 84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ··· 31 88 fi 32 89 33 90 91 + # IFS 92 + # We need space, tab and new line, in precisely that order. Quoting is 93 + # there to prevent editors from complaining about space-tab. 94 + # (If _AS_PATH_WALK were called with IFS unset, it would disable word 95 + # splitting by setting IFS to empty value.) 96 + IFS=" "" $as_nl" 97 + 98 + # Find who we are. Look in the path if we contain no directory separator. 99 + case $0 in 100 + *[\\/]* ) as_myself=$0 ;; 101 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102 + for as_dir in $PATH 103 + do 104 + IFS=$as_save_IFS 105 + test -z "$as_dir" && as_dir=. 106 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107 + done 108 + IFS=$as_save_IFS 109 + 110 + ;; 111 + esac 112 + # We did not find ourselves, most probably we were run as `sh COMMAND' 113 + # in which case we are not to be found in the path. 114 + if test "x$as_myself" = x; then 115 + as_myself=$0 116 + fi 117 + if test ! -f "$as_myself"; then 118 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 + { (exit 1); exit 1; } 120 + fi 121 + 34 122 # Work around bugs in pre-3.0 UWIN ksh. 35 - $as_unset ENV MAIL MAILPATH 123 + for as_var in ENV MAIL MAILPATH 124 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125 + done 36 126 PS1='$ ' 37 127 PS2='> ' 38 128 PS4='+ ' 39 129 40 130 # NLS nuisances. 41 - for as_var in \ 42 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 - LC_TELEPHONE LC_TIME 45 - do 46 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 - eval $as_var=C; export $as_var 48 - else 49 - $as_unset $as_var 50 - fi 51 - done 131 + LC_ALL=C 132 + export LC_ALL 133 + LANGUAGE=C 134 + export LANGUAGE 52 135 53 136 # Required to use basename. 54 - if expr a : '\(a\)' >/dev/null 2>&1; then 137 + if expr a : '\(a\)' >/dev/null 2>&1 && 138 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 55 139 as_expr=expr 56 140 else 57 141 as_expr=false 58 142 fi 59 143 60 - if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 144 + if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 61 145 as_basename=basename 62 146 else 63 147 as_basename=false ··· 65 149 66 150 67 151 # Name of the executable. 68 - as_me=`$as_basename "$0" || 152 + as_me=`$as_basename -- "$0" || 69 153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 154 X"$0" : 'X\(//\)$' \| \ 71 - X"$0" : 'X\(/\)$' \| \ 72 - . : '\(.\)' 2>/dev/null || 73 - echo X/"$0" | 74 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 - /^X\/\(\/\/\)$/{ s//\1/; q; } 76 - /^X\/\(\/\).*/{ s//\1/; q; } 77 - s/.*/./; q'` 155 + X"$0" : 'X\(/\)' \| . 2>/dev/null || 156 + $as_echo X/"$0" | 157 + sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 + s//\1/ 159 + q 160 + } 161 + /^X\/\(\/\/\)$/{ 162 + s//\1/ 163 + q 164 + } 165 + /^X\/\(\/\).*/{ 166 + s//\1/ 167 + q 168 + } 169 + s/.*/./; q'` 78 170 171 + # CDPATH. 172 + $as_unset CDPATH 79 173 80 - # PATH needs CR, and LINENO needs CR and PATH. 81 - # Avoid depending upon Character Ranges. 82 - as_cr_letters='abcdefghijklmnopqrstuvwxyz' 83 - as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 84 - as_cr_Letters=$as_cr_letters$as_cr_LETTERS 85 - as_cr_digits='0123456789' 86 - as_cr_alnum=$as_cr_Letters$as_cr_digits 87 174 88 - # The user is always right. 89 - if test "${PATH_SEPARATOR+set}" != set; then 90 - echo "#! /bin/sh" >conf$$.sh 91 - echo "exit 0" >>conf$$.sh 92 - chmod +x conf$$.sh 93 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94 - PATH_SEPARATOR=';' 95 - else 96 - PATH_SEPARATOR=: 97 - fi 98 - rm -f conf$$.sh 175 + if test "x$CONFIG_SHELL" = x; then 176 + if (eval ":") 2>/dev/null; then 177 + as_have_required=yes 178 + else 179 + as_have_required=no 99 180 fi 100 181 182 + if test $as_have_required = yes && (eval ": 183 + (as_func_return () { 184 + (exit \$1) 185 + } 186 + as_func_success () { 187 + as_func_return 0 188 + } 189 + as_func_failure () { 190 + as_func_return 1 191 + } 192 + as_func_ret_success () { 193 + return 0 194 + } 195 + as_func_ret_failure () { 196 + return 1 197 + } 101 198 102 - as_lineno_1=$LINENO 103 - as_lineno_2=$LINENO 104 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 - test "x$as_lineno_1" != "x$as_lineno_2" && 106 - test "x$as_lineno_3" = "x$as_lineno_2" || { 107 - # Find who we are. Look in the path if we contain no path at all 108 - # relative or not. 109 - case $0 in 110 - *[\\/]* ) as_myself=$0 ;; 111 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112 - for as_dir in $PATH 113 - do 114 - IFS=$as_save_IFS 115 - test -z "$as_dir" && as_dir=. 116 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117 - done 199 + exitcode=0 200 + if as_func_success; then 201 + : 202 + else 203 + exitcode=1 204 + echo as_func_success failed. 205 + fi 118 206 119 - ;; 120 - esac 121 - # We did not find ourselves, most probably we were run as `sh COMMAND' 122 - # in which case we are not to be found in the path. 123 - if test "x$as_myself" = x; then 124 - as_myself=$0 125 - fi 126 - if test ! -f "$as_myself"; then 127 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 - { (exit 1); exit 1; }; } 129 - fi 130 - case $CONFIG_SHELL in 131 - '') 207 + if as_func_failure; then 208 + exitcode=1 209 + echo as_func_failure succeeded. 210 + fi 211 + 212 + if as_func_ret_success; then 213 + : 214 + else 215 + exitcode=1 216 + echo as_func_ret_success failed. 217 + fi 218 + 219 + if as_func_ret_failure; then 220 + exitcode=1 221 + echo as_func_ret_failure succeeded. 222 + fi 223 + 224 + if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 + : 226 + else 227 + exitcode=1 228 + echo positional parameters were not saved. 229 + fi 230 + 231 + test \$exitcode = 0) || { (exit 1); exit 1; } 232 + 233 + ( 234 + as_lineno_1=\$LINENO 235 + as_lineno_2=\$LINENO 236 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238 + ") 2> /dev/null; then 239 + : 240 + else 241 + as_candidate_shells= 132 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133 243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134 244 do 135 245 IFS=$as_save_IFS 136 246 test -z "$as_dir" && as_dir=. 137 - for as_base in sh bash ksh sh5; do 138 - case $as_dir in 247 + case $as_dir in 139 248 /*) 140 - if ("$as_dir/$as_base" -c ' 249 + for as_base in sh bash ksh sh5; do 250 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 + done;; 252 + esac 253 + done 254 + IFS=$as_save_IFS 255 + 256 + 257 + for as_shell in $as_candidate_shells $SHELL; do 258 + # Try only shells that exist, to save several forks. 259 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 + { ("$as_shell") 2> /dev/null <<\_ASEOF 261 + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 + emulate sh 263 + NULLCMD=: 264 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 + # is contrary to our usage. Disable this feature. 266 + alias -g '${1+"$@"}'='"$@"' 267 + setopt NO_GLOB_SUBST 268 + else 269 + case `(set -o) 2>/dev/null` in 270 + *posix*) set -o posix ;; 271 + esac 272 + 273 + fi 274 + 275 + 276 + : 277 + _ASEOF 278 + }; then 279 + CONFIG_SHELL=$as_shell 280 + as_have_required=yes 281 + if { "$as_shell" 2> /dev/null <<\_ASEOF 282 + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 + emulate sh 284 + NULLCMD=: 285 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 + # is contrary to our usage. Disable this feature. 287 + alias -g '${1+"$@"}'='"$@"' 288 + setopt NO_GLOB_SUBST 289 + else 290 + case `(set -o) 2>/dev/null` in 291 + *posix*) set -o posix ;; 292 + esac 293 + 294 + fi 295 + 296 + 297 + : 298 + (as_func_return () { 299 + (exit $1) 300 + } 301 + as_func_success () { 302 + as_func_return 0 303 + } 304 + as_func_failure () { 305 + as_func_return 1 306 + } 307 + as_func_ret_success () { 308 + return 0 309 + } 310 + as_func_ret_failure () { 311 + return 1 312 + } 313 + 314 + exitcode=0 315 + if as_func_success; then 316 + : 317 + else 318 + exitcode=1 319 + echo as_func_success failed. 320 + fi 321 + 322 + if as_func_failure; then 323 + exitcode=1 324 + echo as_func_failure succeeded. 325 + fi 326 + 327 + if as_func_ret_success; then 328 + : 329 + else 330 + exitcode=1 331 + echo as_func_ret_success failed. 332 + fi 333 + 334 + if as_func_ret_failure; then 335 + exitcode=1 336 + echo as_func_ret_failure succeeded. 337 + fi 338 + 339 + if ( set x; as_func_ret_success y && test x = "$1" ); then 340 + : 341 + else 342 + exitcode=1 343 + echo positional parameters were not saved. 344 + fi 345 + 346 + test $exitcode = 0) || { (exit 1); exit 1; } 347 + 348 + ( 141 349 as_lineno_1=$LINENO 142 350 as_lineno_2=$LINENO 143 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 144 351 test "x$as_lineno_1" != "x$as_lineno_2" && 145 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 - CONFIG_SHELL=$as_dir/$as_base 149 - export CONFIG_SHELL 150 - exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 - fi;; 152 - esac 153 - done 154 - done 155 - ;; 156 - esac 352 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 + 354 + _ASEOF 355 + }; then 356 + break 357 + fi 358 + 359 + fi 360 + 361 + done 362 + 363 + if test "x$CONFIG_SHELL" != x; then 364 + for as_var in BASH_ENV ENV 365 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 + done 367 + export CONFIG_SHELL 368 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 + fi 370 + 371 + 372 + if test $as_have_required = no; then 373 + echo This script requires a shell more modern than all the 374 + echo shells that I found on your system. Please install a 375 + echo modern shell, or manually run the script under such a 376 + echo shell if you do have one. 377 + { (exit 1); exit 1; } 378 + fi 379 + 380 + 381 + fi 382 + 383 + fi 384 + 385 + 386 + 387 + (eval "as_func_return () { 388 + (exit \$1) 389 + } 390 + as_func_success () { 391 + as_func_return 0 392 + } 393 + as_func_failure () { 394 + as_func_return 1 395 + } 396 + as_func_ret_success () { 397 + return 0 398 + } 399 + as_func_ret_failure () { 400 + return 1 401 + } 402 + 403 + exitcode=0 404 + if as_func_success; then 405 + : 406 + else 407 + exitcode=1 408 + echo as_func_success failed. 409 + fi 410 + 411 + if as_func_failure; then 412 + exitcode=1 413 + echo as_func_failure succeeded. 414 + fi 415 + 416 + if as_func_ret_success; then 417 + : 418 + else 419 + exitcode=1 420 + echo as_func_ret_success failed. 421 + fi 422 + 423 + if as_func_ret_failure; then 424 + exitcode=1 425 + echo as_func_ret_failure succeeded. 426 + fi 427 + 428 + if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 + : 430 + else 431 + exitcode=1 432 + echo positional parameters were not saved. 433 + fi 434 + 435 + test \$exitcode = 0") || { 436 + echo No shell found that supports shell functions. 437 + echo Please tell bug-autoconf@gnu.org about your system, 438 + echo including any error possibly output before this message. 439 + echo This can help us improve future autoconf versions. 440 + echo Configuration will now proceed without shell functions. 441 + } 442 + 443 + 444 + 445 + as_lineno_1=$LINENO 446 + as_lineno_2=$LINENO 447 + test "x$as_lineno_1" != "x$as_lineno_2" && 448 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 157 449 158 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 451 # uniformly replaced by the line number. The first 'sed' inserts a 160 - # line-number line before each line; the second 'sed' does the real 161 - # work. The second script uses 'N' to pair each line-number line 162 - # with the numbered line, and appends trailing '-' during 163 - # substitution so that $LINENO is not a special case at line end. 452 + # line-number line after each line using $LINENO; the second 'sed' 453 + # does the real work. The second script uses 'N' to pair each 454 + # line-number line with the line containing $LINENO, and appends 455 + # trailing '-' during substitution so that $LINENO is not a special 456 + # case at line end. 164 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 - sed '=' <$as_myself | 458 + # scripts with optimization help from Paolo Bonzini. Blame Lee 459 + # E. McMahon (1931-1989) for sed's syntax. :-) 460 + sed -n ' 461 + p 462 + /[$]LINENO/= 463 + ' <$as_myself | 167 464 sed ' 465 + s/[$]LINENO.*/&-/ 466 + t lineno 467 + b 468 + :lineno 168 469 N 169 - s,$,-, 170 - : loop 171 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 470 + :loop 471 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 172 472 t loop 173 - s,-$,, 174 - s,^['$as_cr_digits']*\n,, 473 + s/-\n.*// 175 474 ' >$as_me.lineno && 176 - chmod +x $as_me.lineno || 177 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 + chmod +x "$as_me.lineno" || 476 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 477 { (exit 1); exit 1; }; } 179 478 180 479 # Don't try to exec as it changes $[0], causing all sort of problems 181 480 # (the dirname of $[0] is not the place where we might find the 182 - # original and so on. Autoconf is especially sensible to this). 183 - . ./$as_me.lineno 481 + # original and so on. Autoconf is especially sensitive to this). 482 + . "./$as_me.lineno" 184 483 # Exit status is that of the last command. 185 484 exit 186 485 } 187 486 188 487 189 - case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 - *c*,-n*) ECHO_N= ECHO_C=' 191 - ' ECHO_T=' ' ;; 192 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 194 - esac 488 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 + as_dirname=dirname 490 + else 491 + as_dirname=false 492 + fi 195 493 196 - if expr a : '\(a\)' >/dev/null 2>&1; then 494 + ECHO_C= ECHO_N= ECHO_T= 495 + case `echo -n x` in 496 + -n*) 497 + case `echo 'x\c'` in 498 + *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 + *) ECHO_C='\c';; 500 + esac;; 501 + *) 502 + ECHO_N='-n';; 503 + esac 504 + if expr a : '\(a\)' >/dev/null 2>&1 && 505 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 197 506 as_expr=expr 198 507 else 199 508 as_expr=false 200 509 fi 201 510 202 511 rm -f conf$$ conf$$.exe conf$$.file 203 - echo >conf$$.file 204 - if ln -s conf$$.file conf$$ 2>/dev/null; then 205 - # We could just check for DJGPP; but this test a) works b) is more generic 206 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 - if test -f conf$$.exe; then 208 - # Don't use ln at all; we don't have any links 209 - as_ln_s='cp -p' 210 - else 512 + if test -d conf$$.dir; then 513 + rm -f conf$$.dir/conf$$.file 514 + else 515 + rm -f conf$$.dir 516 + mkdir conf$$.dir 2>/dev/null 517 + fi 518 + if (echo >conf$$.file) 2>/dev/null; then 519 + if ln -s conf$$.file conf$$ 2>/dev/null; then 211 520 as_ln_s='ln -s' 521 + # ... but there are two gotchas: 522 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 + # In both cases, we have to default to `cp -p'. 525 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 + as_ln_s='cp -p' 527 + elif ln conf$$.file conf$$ 2>/dev/null; then 528 + as_ln_s=ln 529 + else 530 + as_ln_s='cp -p' 212 531 fi 213 - elif ln conf$$.file conf$$ 2>/dev/null; then 214 - as_ln_s=ln 215 532 else 216 533 as_ln_s='cp -p' 217 534 fi 218 - rm -f conf$$ conf$$.exe conf$$.file 535 + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536 + rmdir conf$$.dir 2>/dev/null 219 537 220 538 if mkdir -p . 2>/dev/null; then 221 539 as_mkdir_p=: ··· 224 542 as_mkdir_p=false 225 543 fi 226 544 227 - as_executable_p="test -f" 545 + if test -x / >/dev/null 2>&1; then 546 + as_test_x='test -x' 547 + else 548 + if ls -dL / >/dev/null 2>&1; then 549 + as_ls_L_option=L 550 + else 551 + as_ls_L_option= 552 + fi 553 + as_test_x=' 554 + eval sh -c '\'' 555 + if test -d "$1"; then 556 + test -d "$1/."; 557 + else 558 + case $1 in 559 + -*)set "./$1";; 560 + esac; 561 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 + ???[sx]*):;;*)false;;esac;fi 563 + '\'' sh 564 + ' 565 + fi 566 + as_executable_p=$as_test_x 228 567 229 568 # Sed expression to map a string onto a valid CPP name. 230 569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ··· 233 572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 234 573 235 574 236 - # IFS 237 - # We need space, tab and new line, in precisely that order. 238 - as_nl=' 239 - ' 240 - IFS=" $as_nl" 241 575 242 - # CDPATH. 243 - $as_unset CDPATH 244 - 576 + exec 7<&0 </dev/null 6>&1 245 577 246 578 # Name of the host. 247 579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 248 580 # so uname gets run too. 249 581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250 582 251 - exec 6>&1 252 - 253 583 # 254 584 # Initializations. 255 585 # 256 586 ac_default_prefix=/usr/local 587 + ac_clean_files= 257 588 ac_config_libobj_dir=. 589 + LIBOBJS= 258 590 cross_compiling=no 259 591 subdirs= 260 592 MFLAGS= 261 593 MAKEFLAGS= 262 594 SHELL=${CONFIG_SHELL-/bin/sh} 263 595 264 - # Maximum number of lines to put in a shell here document. 265 - # This variable seems obsolete. It should probably be removed, and 266 - # only ac_max_sed_lines should be used. 267 - : ${ac_max_here_lines=38} 268 - 269 596 # Identity of this package. 270 597 PACKAGE_NAME='xmessage' 271 598 PACKAGE_TARNAME='xmessage' 272 - PACKAGE_VERSION='1.0.2' 273 - PACKAGE_STRING='xmessage 1.0.2' 599 + PACKAGE_VERSION='1.0.3' 600 + PACKAGE_STRING='xmessage 1.0.3' 274 601 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 275 602 276 - ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG TMP_XAW_CFLAGS TMP_XAW_LIBS XAW_USE_XPRINT_TRUE XAW_USE_XPRINT_FALSE XMESSAGE_CFLAGS XMESSAGE_LIBS APPDEFS_CFLAGS APPDEFS_LIBS appdefaultdir build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS' 603 + # Factoring default headers for most tests. 604 + ac_includes_default="\ 605 + #include <stdio.h> 606 + #ifdef HAVE_SYS_TYPES_H 607 + # include <sys/types.h> 608 + #endif 609 + #ifdef HAVE_SYS_STAT_H 610 + # include <sys/stat.h> 611 + #endif 612 + #ifdef STDC_HEADERS 613 + # include <stdlib.h> 614 + # include <stddef.h> 615 + #else 616 + # ifdef HAVE_STDLIB_H 617 + # include <stdlib.h> 618 + # endif 619 + #endif 620 + #ifdef HAVE_STRING_H 621 + # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 622 + # include <memory.h> 623 + # endif 624 + # include <string.h> 625 + #endif 626 + #ifdef HAVE_STRINGS_H 627 + # include <strings.h> 628 + #endif 629 + #ifdef HAVE_INTTYPES_H 630 + # include <inttypes.h> 631 + #endif 632 + #ifdef HAVE_STDINT_H 633 + # include <stdint.h> 634 + #endif 635 + #ifdef HAVE_UNISTD_H 636 + # include <unistd.h> 637 + #endif" 638 + 639 + ac_subst_vars='SHELL 640 + PATH_SEPARATOR 641 + PACKAGE_NAME 642 + PACKAGE_TARNAME 643 + PACKAGE_VERSION 644 + PACKAGE_STRING 645 + PACKAGE_BUGREPORT 646 + exec_prefix 647 + prefix 648 + program_transform_name 649 + bindir 650 + sbindir 651 + libexecdir 652 + datarootdir 653 + datadir 654 + sysconfdir 655 + sharedstatedir 656 + localstatedir 657 + includedir 658 + oldincludedir 659 + docdir 660 + infodir 661 + htmldir 662 + dvidir 663 + pdfdir 664 + psdir 665 + libdir 666 + localedir 667 + mandir 668 + DEFS 669 + ECHO_C 670 + ECHO_N 671 + ECHO_T 672 + LIBS 673 + build_alias 674 + host_alias 675 + target_alias 676 + INSTALL_PROGRAM 677 + INSTALL_SCRIPT 678 + INSTALL_DATA 679 + CYGPATH_W 680 + PACKAGE 681 + VERSION 682 + ACLOCAL 683 + AUTOCONF 684 + AUTOMAKE 685 + AUTOHEADER 686 + MAKEINFO 687 + install_sh 688 + STRIP 689 + INSTALL_STRIP_PROGRAM 690 + mkdir_p 691 + AWK 692 + SET_MAKE 693 + am__leading_dot 694 + AMTAR 695 + am__tar 696 + am__untar 697 + MAINTAINER_MODE_TRUE 698 + MAINTAINER_MODE_FALSE 699 + MAINT 700 + CC 701 + CFLAGS 702 + LDFLAGS 703 + CPPFLAGS 704 + ac_ct_CC 705 + EXEEXT 706 + OBJEXT 707 + DEPDIR 708 + am__include 709 + am__quote 710 + AMDEP_TRUE 711 + AMDEP_FALSE 712 + AMDEPBACKSLASH 713 + CCDEPMODE 714 + am__fastdepCC_TRUE 715 + am__fastdepCC_FALSE 716 + CPP 717 + GREP 718 + EGREP 719 + CWARNFLAGS 720 + CHANGELOG_CMD 721 + PKG_CONFIG 722 + INSTALL_CMD 723 + build 724 + build_cpu 725 + build_vendor 726 + build_os 727 + host 728 + host_cpu 729 + host_vendor 730 + host_os 731 + APP_MAN_SUFFIX 732 + LIB_MAN_SUFFIX 733 + FILE_MAN_SUFFIX 734 + MISC_MAN_SUFFIX 735 + DRIVER_MAN_SUFFIX 736 + ADMIN_MAN_SUFFIX 737 + APP_MAN_DIR 738 + LIB_MAN_DIR 739 + FILE_MAN_DIR 740 + MISC_MAN_DIR 741 + DRIVER_MAN_DIR 742 + ADMIN_MAN_DIR 743 + AM_DEFAULT_VERBOSITY 744 + XMESSAGE_CFLAGS 745 + XMESSAGE_LIBS 746 + APPDEFS_CFLAGS 747 + APPDEFS_LIBS 748 + appdefaultdir 749 + LIBOBJS 750 + LTLIBOBJS' 277 751 ac_subst_files='' 752 + ac_user_opts=' 753 + enable_option_checking 754 + enable_maintainer_mode 755 + enable_dependency_tracking 756 + enable_strict_compilation 757 + with_release_version 758 + with_appdefaultdir 759 + ' 760 + ac_precious_vars='build_alias 761 + host_alias 762 + target_alias 763 + CC 764 + CFLAGS 765 + LDFLAGS 766 + LIBS 767 + CPPFLAGS 768 + CPP 769 + PKG_CONFIG 770 + XMESSAGE_CFLAGS 771 + XMESSAGE_LIBS 772 + APPDEFS_CFLAGS 773 + APPDEFS_LIBS' 774 + 278 775 279 776 # Initialize some variables set by options. 280 777 ac_init_help= 281 778 ac_init_version=false 779 + ac_unrecognized_opts= 780 + ac_unrecognized_sep= 282 781 # The variables have the same names as the options, with 283 782 # dashes changed to underlines. 284 783 cache_file=/dev/null ··· 301 800 # and all the variables that are supposed to be based on exec_prefix 302 801 # by default will actually change. 303 802 # Use braces instead of parens because sh, perl, etc. also accept them. 803 + # (The list follows the same order as the GNU Coding Standards.) 304 804 bindir='${exec_prefix}/bin' 305 805 sbindir='${exec_prefix}/sbin' 306 806 libexecdir='${exec_prefix}/libexec' 307 - datadir='${prefix}/share' 807 + datarootdir='${prefix}/share' 808 + datadir='${datarootdir}' 308 809 sysconfdir='${prefix}/etc' 309 810 sharedstatedir='${prefix}/com' 310 811 localstatedir='${prefix}/var' 311 - libdir='${exec_prefix}/lib' 312 812 includedir='${prefix}/include' 313 813 oldincludedir='/usr/include' 314 - infodir='${prefix}/info' 315 - mandir='${prefix}/man' 814 + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 815 + infodir='${datarootdir}/info' 816 + htmldir='${docdir}' 817 + dvidir='${docdir}' 818 + pdfdir='${docdir}' 819 + psdir='${docdir}' 820 + libdir='${exec_prefix}/lib' 821 + localedir='${datarootdir}/locale' 822 + mandir='${datarootdir}/man' 316 823 317 824 ac_prev= 825 + ac_dashdash= 318 826 for ac_option 319 827 do 320 828 # If the previous option needs an argument, assign it. 321 829 if test -n "$ac_prev"; then 322 - eval "$ac_prev=\$ac_option" 830 + eval $ac_prev=\$ac_option 323 831 ac_prev= 324 832 continue 325 833 fi 326 834 327 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 835 + case $ac_option in 836 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837 + *) ac_optarg=yes ;; 838 + esac 328 839 329 840 # Accept the important Cygnus configure options, so we can diagnose typos. 330 841 331 - case $ac_option in 842 + case $ac_dashdash$ac_option in 843 + --) 844 + ac_dashdash=yes ;; 332 845 333 846 -bindir | --bindir | --bindi | --bind | --bin | --bi) 334 847 ac_prev=bindir ;; ··· 350 863 --config-cache | -C) 351 864 cache_file=config.cache ;; 352 865 353 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 866 + -datadir | --datadir | --datadi | --datad) 354 867 ac_prev=datadir ;; 355 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 356 - | --da=*) 868 + -datadir=* | --datadir=* | --datadi=* | --datad=*) 357 869 datadir=$ac_optarg ;; 358 870 871 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 872 + | --dataroo | --dataro | --datar) 873 + ac_prev=datarootdir ;; 874 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 875 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 876 + datarootdir=$ac_optarg ;; 877 + 359 878 -disable-* | --disable-*) 360 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 879 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 361 880 # Reject names that are not valid shell variable names. 362 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 363 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 881 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 882 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 364 883 { (exit 1); exit 1; }; } 365 - ac_feature=`echo $ac_feature | sed 's/-/_/g'` 366 - eval "enable_$ac_feature=no" ;; 884 + ac_useropt_orig=$ac_useropt 885 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 886 + case $ac_user_opts in 887 + *" 888 + "enable_$ac_useropt" 889 + "*) ;; 890 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 891 + ac_unrecognized_sep=', ';; 892 + esac 893 + eval enable_$ac_useropt=no ;; 894 + 895 + -docdir | --docdir | --docdi | --doc | --do) 896 + ac_prev=docdir ;; 897 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 898 + docdir=$ac_optarg ;; 899 + 900 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 901 + ac_prev=dvidir ;; 902 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 903 + dvidir=$ac_optarg ;; 367 904 368 905 -enable-* | --enable-*) 369 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 906 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 370 907 # Reject names that are not valid shell variable names. 371 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 372 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 908 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 909 + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 373 910 { (exit 1); exit 1; }; } 374 - ac_feature=`echo $ac_feature | sed 's/-/_/g'` 375 - case $ac_option in 376 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 377 - *) ac_optarg=yes ;; 911 + ac_useropt_orig=$ac_useropt 912 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 913 + case $ac_user_opts in 914 + *" 915 + "enable_$ac_useropt" 916 + "*) ;; 917 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 918 + ac_unrecognized_sep=', ';; 378 919 esac 379 - eval "enable_$ac_feature='$ac_optarg'" ;; 920 + eval enable_$ac_useropt=\$ac_optarg ;; 380 921 381 922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 382 923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ··· 403 944 -host=* | --host=* | --hos=* | --ho=*) 404 945 host_alias=$ac_optarg ;; 405 946 947 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 948 + ac_prev=htmldir ;; 949 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 950 + | --ht=*) 951 + htmldir=$ac_optarg ;; 952 + 406 953 -includedir | --includedir | --includedi | --included | --include \ 407 954 | --includ | --inclu | --incl | --inc) 408 955 ac_prev=includedir ;; ··· 427 974 | --libexe=* | --libex=* | --libe=*) 428 975 libexecdir=$ac_optarg ;; 429 976 977 + -localedir | --localedir | --localedi | --localed | --locale) 978 + ac_prev=localedir ;; 979 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 980 + localedir=$ac_optarg ;; 981 + 430 982 -localstatedir | --localstatedir | --localstatedi | --localstated \ 431 - | --localstate | --localstat | --localsta | --localst \ 432 - | --locals | --local | --loca | --loc | --lo) 983 + | --localstate | --localstat | --localsta | --localst | --locals) 433 984 ac_prev=localstatedir ;; 434 985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 435 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 436 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 986 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 437 987 localstatedir=$ac_optarg ;; 438 988 439 989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ··· 498 1048 | --progr-tra=* | --program-tr=* | --program-t=*) 499 1049 program_transform_name=$ac_optarg ;; 500 1050 1051 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1052 + ac_prev=pdfdir ;; 1053 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1054 + pdfdir=$ac_optarg ;; 1055 + 1056 + -psdir | --psdir | --psdi | --psd | --ps) 1057 + ac_prev=psdir ;; 1058 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1059 + psdir=$ac_optarg ;; 1060 + 501 1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 502 1062 | -silent | --silent | --silen | --sile | --sil) 503 1063 silent=yes ;; ··· 548 1108 ac_init_version=: ;; 549 1109 550 1110 -with-* | --with-*) 551 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1111 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 552 1112 # Reject names that are not valid shell variable names. 553 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 554 - { echo "$as_me: error: invalid package name: $ac_package" >&2 1113 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1114 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 555 1115 { (exit 1); exit 1; }; } 556 - ac_package=`echo $ac_package| sed 's/-/_/g'` 557 - case $ac_option in 558 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 559 - *) ac_optarg=yes ;; 1116 + ac_useropt_orig=$ac_useropt 1117 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1118 + case $ac_user_opts in 1119 + *" 1120 + "with_$ac_useropt" 1121 + "*) ;; 1122 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1123 + ac_unrecognized_sep=', ';; 560 1124 esac 561 - eval "with_$ac_package='$ac_optarg'" ;; 1125 + eval with_$ac_useropt=\$ac_optarg ;; 562 1126 563 1127 -without-* | --without-*) 564 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1128 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 565 1129 # Reject names that are not valid shell variable names. 566 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 567 - { echo "$as_me: error: invalid package name: $ac_package" >&2 1130 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131 + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 568 1132 { (exit 1); exit 1; }; } 569 - ac_package=`echo $ac_package | sed 's/-/_/g'` 570 - eval "with_$ac_package=no" ;; 1133 + ac_useropt_orig=$ac_useropt 1134 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135 + case $ac_user_opts in 1136 + *" 1137 + "with_$ac_useropt" 1138 + "*) ;; 1139 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1140 + ac_unrecognized_sep=', ';; 1141 + esac 1142 + eval with_$ac_useropt=no ;; 571 1143 572 1144 --x) 573 1145 # Obsolete; use --with-x. ··· 587 1159 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 588 1160 x_libraries=$ac_optarg ;; 589 1161 590 - -*) { echo "$as_me: error: unrecognized option: $ac_option 1162 + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 591 1163 Try \`$0 --help' for more information." >&2 592 1164 { (exit 1); exit 1; }; } 593 1165 ;; ··· 596 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 597 1169 # Reject names that are not valid shell variable names. 598 1170 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 599 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1171 + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 600 1172 { (exit 1); exit 1; }; } 601 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 602 - eval "$ac_envvar='$ac_optarg'" 1173 + eval $ac_envvar=\$ac_optarg 603 1174 export $ac_envvar ;; 604 1175 605 1176 *) 606 1177 # FIXME: should be removed in autoconf 3.0. 607 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1178 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 608 1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 609 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1180 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 610 1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 611 1182 ;; 612 1183 ··· 615 1186 616 1187 if test -n "$ac_prev"; then 617 1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 618 - { echo "$as_me: error: missing argument to $ac_option" >&2 1189 + { $as_echo "$as_me: error: missing argument to $ac_option" >&2 619 1190 { (exit 1); exit 1; }; } 620 1191 fi 621 1192 622 - # Be sure to have absolute paths. 623 - for ac_var in exec_prefix prefix 1193 + if test -n "$ac_unrecognized_opts"; then 1194 + case $enable_option_checking in 1195 + no) ;; 1196 + fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1197 + { (exit 1); exit 1; }; } ;; 1198 + *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199 + esac 1200 + fi 1201 + 1202 + # Check all directory arguments for consistency. 1203 + for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1204 + datadir sysconfdir sharedstatedir localstatedir includedir \ 1205 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1206 + libdir localedir mandir 624 1207 do 625 - eval ac_val=$`echo $ac_var` 1208 + eval ac_val=\$$ac_var 1209 + # Remove trailing slashes. 626 1210 case $ac_val in 627 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 628 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 629 - { (exit 1); exit 1; }; };; 1211 + */ ) 1212 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1213 + eval $ac_var=\$ac_val;; 630 1214 esac 631 - done 632 - 633 - # Be sure to have absolute paths. 634 - for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 635 - localstatedir libdir includedir oldincludedir infodir mandir 636 - do 637 - eval ac_val=$`echo $ac_var` 1215 + # Be sure to have absolute directory names. 638 1216 case $ac_val in 639 - [\\/$]* | ?:[\\/]* ) ;; 640 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 641 - { (exit 1); exit 1; }; };; 1217 + [\\/$]* | ?:[\\/]* ) continue;; 1218 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 642 1219 esac 1220 + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221 + { (exit 1); exit 1; }; } 643 1222 done 644 1223 645 1224 # There might be people who depend on the old broken behavior: `$host' ··· 653 1232 if test "x$host_alias" != x; then 654 1233 if test "x$build_alias" = x; then 655 1234 cross_compiling=maybe 656 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1235 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 657 1236 If a cross compiler is detected then cross compile mode will be used." >&2 658 1237 elif test "x$build_alias" != "x$host_alias"; then 659 1238 cross_compiling=yes ··· 666 1245 test "$silent" = yes && exec 6>/dev/null 667 1246 668 1247 1248 + ac_pwd=`pwd` && test -n "$ac_pwd" && 1249 + ac_ls_di=`ls -di .` && 1250 + ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1251 + { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1252 + { (exit 1); exit 1; }; } 1253 + test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254 + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255 + { (exit 1); exit 1; }; } 1256 + 1257 + 669 1258 # Find the source files, if location was not specified. 670 1259 if test -z "$srcdir"; then 671 1260 ac_srcdir_defaulted=yes 672 - # Try the directory containing this script, then its parent. 673 - ac_confdir=`(dirname "$0") 2>/dev/null || 674 - $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 675 - X"$0" : 'X\(//\)[^/]' \| \ 676 - X"$0" : 'X\(//\)$' \| \ 677 - X"$0" : 'X\(/\)' \| \ 678 - . : '\(.\)' 2>/dev/null || 679 - echo X"$0" | 680 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 681 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 682 - /^X\(\/\/\)$/{ s//\1/; q; } 683 - /^X\(\/\).*/{ s//\1/; q; } 684 - s/.*/./; q'` 1261 + # Try the directory containing this script, then the parent directory. 1262 + ac_confdir=`$as_dirname -- "$as_myself" || 1263 + $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1264 + X"$as_myself" : 'X\(//\)[^/]' \| \ 1265 + X"$as_myself" : 'X\(//\)$' \| \ 1266 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1267 + $as_echo X"$as_myself" | 1268 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1269 + s//\1/ 1270 + q 1271 + } 1272 + /^X\(\/\/\)[^/].*/{ 1273 + s//\1/ 1274 + q 1275 + } 1276 + /^X\(\/\/\)$/{ 1277 + s//\1/ 1278 + q 1279 + } 1280 + /^X\(\/\).*/{ 1281 + s//\1/ 1282 + q 1283 + } 1284 + s/.*/./; q'` 685 1285 srcdir=$ac_confdir 686 - if test ! -r $srcdir/$ac_unique_file; then 1286 + if test ! -r "$srcdir/$ac_unique_file"; then 687 1287 srcdir=.. 688 1288 fi 689 1289 else 690 1290 ac_srcdir_defaulted=no 691 1291 fi 692 - if test ! -r $srcdir/$ac_unique_file; then 693 - if test "$ac_srcdir_defaulted" = yes; then 694 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1292 + if test ! -r "$srcdir/$ac_unique_file"; then 1293 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1294 + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 695 1295 { (exit 1); exit 1; }; } 696 - else 697 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1296 + fi 1297 + ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1298 + ac_abs_confdir=`( 1299 + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 698 1300 { (exit 1); exit 1; }; } 699 - fi 1301 + pwd)` 1302 + # When building in place, set srcdir=. 1303 + if test "$ac_abs_confdir" = "$ac_pwd"; then 1304 + srcdir=. 700 1305 fi 701 - (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 702 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 703 - { (exit 1); exit 1; }; } 704 - srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 705 - ac_env_build_alias_set=${build_alias+set} 706 - ac_env_build_alias_value=$build_alias 707 - ac_cv_env_build_alias_set=${build_alias+set} 708 - ac_cv_env_build_alias_value=$build_alias 709 - ac_env_host_alias_set=${host_alias+set} 710 - ac_env_host_alias_value=$host_alias 711 - ac_cv_env_host_alias_set=${host_alias+set} 712 - ac_cv_env_host_alias_value=$host_alias 713 - ac_env_target_alias_set=${target_alias+set} 714 - ac_env_target_alias_value=$target_alias 715 - ac_cv_env_target_alias_set=${target_alias+set} 716 - ac_cv_env_target_alias_value=$target_alias 717 - ac_env_CC_set=${CC+set} 718 - ac_env_CC_value=$CC 719 - ac_cv_env_CC_set=${CC+set} 720 - ac_cv_env_CC_value=$CC 721 - ac_env_CFLAGS_set=${CFLAGS+set} 722 - ac_env_CFLAGS_value=$CFLAGS 723 - ac_cv_env_CFLAGS_set=${CFLAGS+set} 724 - ac_cv_env_CFLAGS_value=$CFLAGS 725 - ac_env_LDFLAGS_set=${LDFLAGS+set} 726 - ac_env_LDFLAGS_value=$LDFLAGS 727 - ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 728 - ac_cv_env_LDFLAGS_value=$LDFLAGS 729 - ac_env_CPPFLAGS_set=${CPPFLAGS+set} 730 - ac_env_CPPFLAGS_value=$CPPFLAGS 731 - ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 732 - ac_cv_env_CPPFLAGS_value=$CPPFLAGS 733 - ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 734 - ac_env_PKG_CONFIG_value=$PKG_CONFIG 735 - ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 736 - ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 737 - ac_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 738 - ac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 739 - ac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 740 - ac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 741 - ac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 742 - ac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 743 - ac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 744 - ac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 745 - ac_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set} 746 - ac_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS 747 - ac_cv_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set} 748 - ac_cv_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS 749 - ac_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set} 750 - ac_env_APPDEFS_LIBS_value=$APPDEFS_LIBS 751 - ac_cv_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set} 752 - ac_cv_env_APPDEFS_LIBS_value=$APPDEFS_LIBS 1306 + # Remove unnecessary trailing slashes from srcdir. 1307 + # Double slashes in file names in object file debugging info 1308 + # mess up M-x gdb in Emacs. 1309 + case $srcdir in 1310 + */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1311 + esac 1312 + for ac_var in $ac_precious_vars; do 1313 + eval ac_env_${ac_var}_set=\${${ac_var}+set} 1314 + eval ac_env_${ac_var}_value=\$${ac_var} 1315 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1316 + eval ac_cv_env_${ac_var}_value=\$${ac_var} 1317 + done 753 1318 754 1319 # 755 1320 # Report the --help message. ··· 758 1323 # Omit some internal or obsolete options to make the list less imposing. 759 1324 # This message is too long to be a string in the A/UX 3.1 sh. 760 1325 cat <<_ACEOF 761 - \`configure' configures xmessage 1.0.2 to adapt to many kinds of systems. 1326 + \`configure' configures xmessage 1.0.3 to adapt to many kinds of systems. 762 1327 763 1328 Usage: $0 [OPTION]... [VAR=VALUE]... 764 1329 ··· 778 1343 -n, --no-create do not create output files 779 1344 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 780 1345 781 - _ACEOF 782 - 783 - cat <<_ACEOF 784 1346 Installation directories: 785 1347 --prefix=PREFIX install architecture-independent files in PREFIX 786 - [$ac_default_prefix] 1348 + [$ac_default_prefix] 787 1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 788 - [PREFIX] 1350 + [PREFIX] 789 1351 790 1352 By default, \`make install' will install all the files in 791 1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ··· 795 1357 For better control, use the options below. 796 1358 797 1359 Fine tuning of the installation directories: 798 - --bindir=DIR user executables [EPREFIX/bin] 799 - --sbindir=DIR system admin executables [EPREFIX/sbin] 800 - --libexecdir=DIR program executables [EPREFIX/libexec] 801 - --datadir=DIR read-only architecture-independent data [PREFIX/share] 802 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 803 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 804 - --localstatedir=DIR modifiable single-machine data [PREFIX/var] 805 - --libdir=DIR object code libraries [EPREFIX/lib] 806 - --includedir=DIR C header files [PREFIX/include] 807 - --oldincludedir=DIR C header files for non-gcc [/usr/include] 808 - --infodir=DIR info documentation [PREFIX/info] 809 - --mandir=DIR man documentation [PREFIX/man] 1360 + --bindir=DIR user executables [EPREFIX/bin] 1361 + --sbindir=DIR system admin executables [EPREFIX/sbin] 1362 + --libexecdir=DIR program executables [EPREFIX/libexec] 1363 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1364 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1365 + --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1366 + --libdir=DIR object code libraries [EPREFIX/lib] 1367 + --includedir=DIR C header files [PREFIX/include] 1368 + --oldincludedir=DIR C header files for non-gcc [/usr/include] 1369 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1370 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1371 + --infodir=DIR info documentation [DATAROOTDIR/info] 1372 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1373 + --mandir=DIR man documentation [DATAROOTDIR/man] 1374 + --docdir=DIR documentation root [DATAROOTDIR/doc/xmessage] 1375 + --htmldir=DIR html documentation [DOCDIR] 1376 + --dvidir=DIR dvi documentation [DOCDIR] 1377 + --pdfdir=DIR pdf documentation [DOCDIR] 1378 + --psdir=DIR ps documentation [DOCDIR] 810 1379 _ACEOF 811 1380 812 1381 cat <<\_ACEOF ··· 824 1393 825 1394 if test -n "$ac_init_help"; then 826 1395 case $ac_init_help in 827 - short | recursive ) echo "Configuration of xmessage 1.0.2:";; 1396 + short | recursive ) echo "Configuration of xmessage 1.0.3:";; 828 1397 esac 829 1398 cat <<\_ACEOF 830 1399 831 1400 Optional Features: 1401 + --disable-option-checking ignore unrecognized --enable/--with options 832 1402 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 833 1403 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 834 1404 --enable-maintainer-mode enable make rules and dependencies not useful 835 1405 (and sometimes confusing) to the casual installer 836 1406 --disable-dependency-tracking speeds up one-time build 837 1407 --enable-dependency-tracking do not reject slow dependency extractors 838 - --enable-xprint Enable XPrint support 1408 + --enable-strict-compilation 1409 + Enable all warnings from compiler and make them 1410 + errors (default: disabled) 839 1411 840 1412 Optional Packages: 841 1413 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 842 1414 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 843 1415 --with-release-version=STRING 844 1416 Use release version string in package name 1417 + --with-appdefaultdir=<pathname> 1418 + specify directory for app-defaults files (default is 1419 + autodetected) 845 1420 846 1421 Some influential environment variables: 847 1422 CC C compiler command 848 1423 CFLAGS C compiler flags 849 1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 850 1425 nonstandard directory <lib dir> 851 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 852 - headers in a nonstandard directory <include dir> 1426 + LIBS libraries to pass to the linker, e.g. -l<library> 1427 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1428 + you have headers in a nonstandard directory <include dir> 1429 + CPP C preprocessor 853 1430 PKG_CONFIG path to pkg-config utility 854 - TMP_XAW_CFLAGS 855 - C compiler flags for TMP_XAW, overriding pkg-config 856 - TMP_XAW_LIBS 857 - linker flags for TMP_XAW, overriding pkg-config 1431 + XMESSAGE_CFLAGS 1432 + C compiler flags for XMESSAGE, overriding pkg-config 1433 + XMESSAGE_LIBS 1434 + linker flags for XMESSAGE, overriding pkg-config 858 1435 APPDEFS_CFLAGS 859 1436 C compiler flags for APPDEFS, overriding pkg-config 860 1437 APPDEFS_LIBS ··· 865 1442 866 1443 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 867 1444 _ACEOF 1445 + ac_status=$? 868 1446 fi 869 1447 870 1448 if test "$ac_init_help" = "recursive"; then 871 1449 # If there are subdirs, report their specific --help. 872 - ac_popdir=`pwd` 873 1450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 874 - test -d $ac_dir || continue 1451 + test -d "$ac_dir" || 1452 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1453 + continue 875 1454 ac_builddir=. 876 1455 877 - if test "$ac_dir" != .; then 878 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 879 - # A "../" for each directory in $ac_dir_suffix. 880 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 881 - else 882 - ac_dir_suffix= ac_top_builddir= 883 - fi 1456 + case "$ac_dir" in 1457 + .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1458 + *) 1459 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1460 + # A ".." for each directory in $ac_dir_suffix. 1461 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1462 + case $ac_top_builddir_sub in 1463 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1464 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1465 + esac ;; 1466 + esac 1467 + ac_abs_top_builddir=$ac_pwd 1468 + ac_abs_builddir=$ac_pwd$ac_dir_suffix 1469 + # for backward compatibility: 1470 + ac_top_builddir=$ac_top_build_prefix 884 1471 885 1472 case $srcdir in 886 - .) # No --srcdir option. We are building in place. 1473 + .) # We are building in place. 887 1474 ac_srcdir=. 888 - if test -z "$ac_top_builddir"; then 889 - ac_top_srcdir=. 890 - else 891 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 892 - fi ;; 893 - [\\/]* | ?:[\\/]* ) # Absolute path. 1475 + ac_top_srcdir=$ac_top_builddir_sub 1476 + ac_abs_top_srcdir=$ac_pwd ;; 1477 + [\\/]* | ?:[\\/]* ) # Absolute name. 894 1478 ac_srcdir=$srcdir$ac_dir_suffix; 895 - ac_top_srcdir=$srcdir ;; 896 - *) # Relative path. 897 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 898 - ac_top_srcdir=$ac_top_builddir$srcdir ;; 899 - esac 900 - 901 - # Do not use `cd foo && pwd` to compute absolute paths, because 902 - # the directories may not exist. 903 - case `pwd` in 904 - .) ac_abs_builddir="$ac_dir";; 905 - *) 906 - case "$ac_dir" in 907 - .) ac_abs_builddir=`pwd`;; 908 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 909 - *) ac_abs_builddir=`pwd`/"$ac_dir";; 910 - esac;; 1479 + ac_top_srcdir=$srcdir 1480 + ac_abs_top_srcdir=$srcdir ;; 1481 + *) # Relative name. 1482 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1483 + ac_top_srcdir=$ac_top_build_prefix$srcdir 1484 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 911 1485 esac 912 - case $ac_abs_builddir in 913 - .) ac_abs_top_builddir=${ac_top_builddir}.;; 914 - *) 915 - case ${ac_top_builddir}. in 916 - .) ac_abs_top_builddir=$ac_abs_builddir;; 917 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 918 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 919 - esac;; 920 - esac 921 - case $ac_abs_builddir in 922 - .) ac_abs_srcdir=$ac_srcdir;; 923 - *) 924 - case $ac_srcdir in 925 - .) ac_abs_srcdir=$ac_abs_builddir;; 926 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 927 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 928 - esac;; 929 - esac 930 - case $ac_abs_builddir in 931 - .) ac_abs_top_srcdir=$ac_top_srcdir;; 932 - *) 933 - case $ac_top_srcdir in 934 - .) ac_abs_top_srcdir=$ac_abs_builddir;; 935 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 936 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 937 - esac;; 938 - esac 1486 + ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 939 1487 940 - cd $ac_dir 941 - # Check for guested configure; otherwise get Cygnus style configure. 942 - if test -f $ac_srcdir/configure.gnu; then 943 - echo 944 - $SHELL $ac_srcdir/configure.gnu --help=recursive 945 - elif test -f $ac_srcdir/configure; then 946 - echo 947 - $SHELL $ac_srcdir/configure --help=recursive 948 - elif test -f $ac_srcdir/configure.ac || 949 - test -f $ac_srcdir/configure.in; then 950 - echo 951 - $ac_configure --help 1488 + cd "$ac_dir" || { ac_status=$?; continue; } 1489 + # Check for guested configure. 1490 + if test -f "$ac_srcdir/configure.gnu"; then 1491 + echo && 1492 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1493 + elif test -f "$ac_srcdir/configure"; then 1494 + echo && 1495 + $SHELL "$ac_srcdir/configure" --help=recursive 952 1496 else 953 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 954 - fi 955 - cd $ac_popdir 1497 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1498 + fi || ac_status=$? 1499 + cd "$ac_pwd" || { ac_status=$?; break; } 956 1500 done 957 1501 fi 958 1502 959 - test -n "$ac_init_help" && exit 0 1503 + test -n "$ac_init_help" && exit $ac_status 960 1504 if $ac_init_version; then 961 1505 cat <<\_ACEOF 962 - xmessage configure 1.0.2 963 - generated by GNU Autoconf 2.59 1506 + xmessage configure 1.0.3 1507 + generated by GNU Autoconf 2.62 964 1508 965 - Copyright (C) 2003 Free Software Foundation, Inc. 1509 + Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1510 + 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 966 1511 This configure script is free software; the Free Software Foundation 967 1512 gives unlimited permission to copy, distribute and modify it. 968 1513 _ACEOF 969 - exit 0 1514 + exit 970 1515 fi 971 - exec 5>config.log 972 - cat >&5 <<_ACEOF 1516 + cat >config.log <<_ACEOF 973 1517 This file contains any messages produced by compilers while 974 1518 running configure, to aid debugging if configure makes a mistake. 975 1519 976 - It was created by xmessage $as_me 1.0.2, which was 977 - generated by GNU Autoconf 2.59. Invocation command line was 1520 + It was created by xmessage $as_me 1.0.3, which was 1521 + generated by GNU Autoconf 2.62. Invocation command line was 978 1522 979 1523 $ $0 $@ 980 1524 981 1525 _ACEOF 1526 + exec 5>>config.log 982 1527 { 983 1528 cat <<_ASUNAME 984 1529 ## --------- ## ··· 997 1542 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 998 1543 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 999 1544 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1000 - hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1545 + /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1001 1546 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1002 1547 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1003 1548 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ··· 1009 1554 do 1010 1555 IFS=$as_save_IFS 1011 1556 test -z "$as_dir" && as_dir=. 1012 - echo "PATH: $as_dir" 1557 + $as_echo "PATH: $as_dir" 1013 1558 done 1559 + IFS=$as_save_IFS 1014 1560 1015 1561 } >&5 1016 1562 ··· 1032 1578 ac_configure_args= 1033 1579 ac_configure_args0= 1034 1580 ac_configure_args1= 1035 - ac_sep= 1036 1581 ac_must_keep_next=false 1037 1582 for ac_pass in 1 2 1038 1583 do ··· 1043 1588 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1044 1589 | -silent | --silent | --silen | --sile | --sil) 1045 1590 continue ;; 1046 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1047 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1591 + *\'*) 1592 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1048 1593 esac 1049 1594 case $ac_pass in 1050 1595 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; ··· 1065 1610 -* ) ac_must_keep_next=true ;; 1066 1611 esac 1067 1612 fi 1068 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1069 - # Get rid of the leading space. 1070 - ac_sep=" " 1613 + ac_configure_args="$ac_configure_args '$ac_arg'" 1071 1614 ;; 1072 1615 esac 1073 1616 done ··· 1078 1621 # When interrupted or exit'd, cleanup temporary files, and complete 1079 1622 # config.log. We remove comments because anyway the quotes in there 1080 1623 # would cause problems or look ugly. 1081 - # WARNING: Be sure not to use single quotes in there, as some shells, 1082 - # such as our DU 5.0 friend, will then `close' the trap. 1624 + # WARNING: Use '\'' to represent an apostrophe within the trap. 1625 + # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1083 1626 trap 'exit_status=$? 1084 1627 # Save into config.log some information that might help in debugging. 1085 1628 { ··· 1092 1635 _ASBOX 1093 1636 echo 1094 1637 # The following way of writing the cache mishandles newlines in values, 1095 - { 1638 + ( 1639 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1640 + eval ac_val=\$$ac_var 1641 + case $ac_val in #( 1642 + *${as_nl}*) 1643 + case $ac_var in #( 1644 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1645 + $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1646 + esac 1647 + case $ac_var in #( 1648 + _ | IFS | as_nl) ;; #( 1649 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1650 + *) $as_unset $ac_var ;; 1651 + esac ;; 1652 + esac 1653 + done 1096 1654 (set) 2>&1 | 1097 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1098 - *ac_space=\ *) 1655 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1656 + *${as_nl}ac_space=\ *) 1099 1657 sed -n \ 1100 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1101 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1102 - ;; 1658 + "s/'\''/'\''\\\\'\'''\''/g; 1659 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1660 + ;; #( 1103 1661 *) 1104 - sed -n \ 1105 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1662 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1106 1663 ;; 1107 - esac; 1108 - } 1664 + esac | 1665 + sort 1666 + ) 1109 1667 echo 1110 1668 1111 1669 cat <<\_ASBOX ··· 1116 1674 echo 1117 1675 for ac_var in $ac_subst_vars 1118 1676 do 1119 - eval ac_val=$`echo $ac_var` 1120 - echo "$ac_var='"'"'$ac_val'"'"'" 1677 + eval ac_val=\$$ac_var 1678 + case $ac_val in 1679 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1680 + esac 1681 + $as_echo "$ac_var='\''$ac_val'\''" 1121 1682 done | sort 1122 1683 echo 1123 1684 1124 1685 if test -n "$ac_subst_files"; then 1125 1686 cat <<\_ASBOX 1126 - ## ------------- ## 1127 - ## Output files. ## 1128 - ## ------------- ## 1687 + ## ------------------- ## 1688 + ## File substitutions. ## 1689 + ## ------------------- ## 1129 1690 _ASBOX 1130 1691 echo 1131 1692 for ac_var in $ac_subst_files 1132 1693 do 1133 - eval ac_val=$`echo $ac_var` 1134 - echo "$ac_var='"'"'$ac_val'"'"'" 1694 + eval ac_val=\$$ac_var 1695 + case $ac_val in 1696 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1697 + esac 1698 + $as_echo "$ac_var='\''$ac_val'\''" 1135 1699 done | sort 1136 1700 echo 1137 1701 fi ··· 1143 1707 ## ----------- ## 1144 1708 _ASBOX 1145 1709 echo 1146 - sed "/^$/d" confdefs.h | sort 1710 + cat confdefs.h 1147 1711 echo 1148 1712 fi 1149 1713 test "$ac_signal" != 0 && 1150 - echo "$as_me: caught signal $ac_signal" 1151 - echo "$as_me: exit $exit_status" 1714 + $as_echo "$as_me: caught signal $ac_signal" 1715 + $as_echo "$as_me: exit $exit_status" 1152 1716 } >&5 1153 - rm -f core *.core && 1154 - rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1717 + rm -f core *.core core.conftest.* && 1718 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1155 1719 exit $exit_status 1156 - ' 0 1720 + ' 0 1157 1721 for ac_signal in 1 2 13 15; do 1158 1722 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1159 1723 done 1160 1724 ac_signal=0 1161 1725 1162 1726 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1163 - rm -rf conftest* confdefs.h 1164 - # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1165 - echo >confdefs.h 1727 + rm -f -r conftest* confdefs.h 1166 1728 1167 1729 # Predefined preprocessor variables. 1168 1730 ··· 1192 1754 1193 1755 1194 1756 # Let the site file select an alternate cache file if it wants to. 1195 - # Prefer explicitly selected file to automatically selected ones. 1196 - if test -z "$CONFIG_SITE"; then 1197 - if test "x$prefix" != xNONE; then 1198 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1199 - else 1200 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1201 - fi 1757 + # Prefer an explicitly selected file to automatically selected ones. 1758 + ac_site_file1=NONE 1759 + ac_site_file2=NONE 1760 + if test -n "$CONFIG_SITE"; then 1761 + ac_site_file1=$CONFIG_SITE 1762 + elif test "x$prefix" != xNONE; then 1763 + ac_site_file1=$prefix/share/config.site 1764 + ac_site_file2=$prefix/etc/config.site 1765 + else 1766 + ac_site_file1=$ac_default_prefix/share/config.site 1767 + ac_site_file2=$ac_default_prefix/etc/config.site 1202 1768 fi 1203 - for ac_site_file in $CONFIG_SITE; do 1769 + for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1770 + do 1771 + test "x$ac_site_file" = xNONE && continue 1204 1772 if test -r "$ac_site_file"; then 1205 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1206 - echo "$as_me: loading site script $ac_site_file" >&6;} 1773 + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1774 + $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1207 1775 sed 's/^/| /' "$ac_site_file" >&5 1208 1776 . "$ac_site_file" 1209 1777 fi ··· 1213 1781 # Some versions of bash will fail to source /dev/null (special 1214 1782 # files actually), so we avoid doing that. 1215 1783 if test -f "$cache_file"; then 1216 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1217 - echo "$as_me: loading cache $cache_file" >&6;} 1784 + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1785 + $as_echo "$as_me: loading cache $cache_file" >&6;} 1218 1786 case $cache_file in 1219 - [\\/]* | ?:[\\/]* ) . $cache_file;; 1220 - *) . ./$cache_file;; 1787 + [\\/]* | ?:[\\/]* ) . "$cache_file";; 1788 + *) . "./$cache_file";; 1221 1789 esac 1222 1790 fi 1223 1791 else 1224 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1225 - echo "$as_me: creating cache $cache_file" >&6;} 1792 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1793 + $as_echo "$as_me: creating cache $cache_file" >&6;} 1226 1794 >$cache_file 1227 1795 fi 1228 1796 1229 1797 # Check that the precious variables saved in the cache have kept the same 1230 1798 # value. 1231 1799 ac_cache_corrupted=false 1232 - for ac_var in `(set) 2>&1 | 1233 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1800 + for ac_var in $ac_precious_vars; do 1234 1801 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1235 1802 eval ac_new_set=\$ac_env_${ac_var}_set 1236 - eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1237 - eval ac_new_val="\$ac_env_${ac_var}_value" 1803 + eval ac_old_val=\$ac_cv_env_${ac_var}_value 1804 + eval ac_new_val=\$ac_env_${ac_var}_value 1238 1805 case $ac_old_set,$ac_new_set in 1239 1806 set,) 1240 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1241 - echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1807 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1808 + $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1242 1809 ac_cache_corrupted=: ;; 1243 1810 ,set) 1244 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1245 - echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1811 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1812 + $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1246 1813 ac_cache_corrupted=: ;; 1247 1814 ,);; 1248 1815 *) 1249 1816 if test "x$ac_old_val" != "x$ac_new_val"; then 1250 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1251 - echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1252 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1253 - echo "$as_me: former value: $ac_old_val" >&2;} 1254 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1255 - echo "$as_me: current value: $ac_new_val" >&2;} 1256 - ac_cache_corrupted=: 1817 + # differences in whitespace do not lead to failure. 1818 + ac_old_val_w=`echo x $ac_old_val` 1819 + ac_new_val_w=`echo x $ac_new_val` 1820 + if test "$ac_old_val_w" != "$ac_new_val_w"; then 1821 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1822 + $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1823 + ac_cache_corrupted=: 1824 + else 1825 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1826 + $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1827 + eval $ac_var=\$ac_old_val 1828 + fi 1829 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1830 + $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1831 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1832 + $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1257 1833 fi;; 1258 1834 esac 1259 1835 # Pass precious variables to config.status. 1260 1836 if test "$ac_new_set" = set; then 1261 1837 case $ac_new_val in 1262 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1263 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1838 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1264 1839 *) ac_arg=$ac_var=$ac_new_val ;; 1265 1840 esac 1266 1841 case " $ac_configure_args " in ··· 1270 1845 fi 1271 1846 done 1272 1847 if $ac_cache_corrupted; then 1273 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1274 - echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1275 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1276 - echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1848 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1849 + $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1850 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1851 + $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1277 1852 { (exit 1); exit 1; }; } 1278 1853 fi 1279 - 1280 - ac_ext=c 1281 - ac_cpp='$CPP $CPPFLAGS' 1282 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1283 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1284 - ac_compiler_gnu=$ac_cv_c_compiler_gnu 1285 - 1286 - 1287 1854 1288 1855 1289 1856 ··· 1309 1876 1310 1877 1311 1878 1879 + ac_ext=c 1880 + ac_cpp='$CPP $CPPFLAGS' 1881 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1882 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1883 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 1884 + 1885 + 1312 1886 am__api_version="1.9" 1313 1887 ac_aux_dir= 1314 - for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1315 - if test -f $ac_dir/install-sh; then 1888 + for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1889 + if test -f "$ac_dir/install-sh"; then 1316 1890 ac_aux_dir=$ac_dir 1317 1891 ac_install_sh="$ac_aux_dir/install-sh -c" 1318 1892 break 1319 - elif test -f $ac_dir/install.sh; then 1893 + elif test -f "$ac_dir/install.sh"; then 1320 1894 ac_aux_dir=$ac_dir 1321 1895 ac_install_sh="$ac_aux_dir/install.sh -c" 1322 1896 break 1323 - elif test -f $ac_dir/shtool; then 1897 + elif test -f "$ac_dir/shtool"; then 1324 1898 ac_aux_dir=$ac_dir 1325 1899 ac_install_sh="$ac_aux_dir/shtool install -c" 1326 1900 break 1327 1901 fi 1328 1902 done 1329 1903 if test -z "$ac_aux_dir"; then 1330 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1331 - echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1904 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1905 + $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1332 1906 { (exit 1); exit 1; }; } 1333 1907 fi 1334 - ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1335 - ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1336 - ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1908 + 1909 + # These three variables are undocumented and unsupported, 1910 + # and are intended to be withdrawn in a future Autoconf release. 1911 + # They can cause serious problems if a builder's source tree is in a directory 1912 + # whose full name contains unusual characters. 1913 + ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1914 + ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1915 + ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1916 + 1337 1917 1338 1918 # Find a good install program. We prefer a C program (faster), 1339 1919 # so one script is as good as another. But avoid the broken or ··· 1348 1928 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1349 1929 # OS/2's system install, which has a completely different semantic 1350 1930 # ./install, which can be erroneously created by make from ./install.sh. 1351 - echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1352 - echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1931 + # Reject install programs that cannot install multiple files. 1932 + { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1933 + $as_echo_n "checking for a BSD-compatible install... " >&6; } 1353 1934 if test -z "$INSTALL"; then 1354 1935 if test "${ac_cv_path_install+set}" = set; then 1355 - echo $ECHO_N "(cached) $ECHO_C" >&6 1936 + $as_echo_n "(cached) " >&6 1356 1937 else 1357 1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1358 1939 for as_dir in $PATH ··· 1371 1952 # by default. 1372 1953 for ac_prog in ginstall scoinst install; do 1373 1954 for ac_exec_ext in '' $ac_executable_extensions; do 1374 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1955 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1375 1956 if test $ac_prog = install && 1376 1957 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1377 1958 # AIX install. It has an incompatible calling convention. ··· 1381 1962 # program-specific install script used by HP pwplus--don't use. 1382 1963 : 1383 1964 else 1384 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1385 - break 3 1965 + rm -rf conftest.one conftest.two conftest.dir 1966 + echo one > conftest.one 1967 + echo two > conftest.two 1968 + mkdir conftest.dir 1969 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1970 + test -s conftest.one && test -s conftest.two && 1971 + test -s conftest.dir/conftest.one && 1972 + test -s conftest.dir/conftest.two 1973 + then 1974 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1975 + break 3 1976 + fi 1386 1977 fi 1387 1978 fi 1388 1979 done 1389 1980 done 1390 1981 ;; 1391 1982 esac 1983 + 1392 1984 done 1985 + IFS=$as_save_IFS 1393 1986 1987 + rm -rf conftest.one conftest.two conftest.dir 1394 1988 1395 1989 fi 1396 1990 if test "${ac_cv_path_install+set}" = set; then 1397 1991 INSTALL=$ac_cv_path_install 1398 1992 else 1399 - # As a last resort, use the slow shell script. We don't cache a 1400 - # path for INSTALL within a source directory, because that will 1993 + # As a last resort, use the slow shell script. Don't cache a 1994 + # value for INSTALL within a source directory, because that will 1401 1995 # break other packages using the cache if that directory is 1402 - # removed, or if the path is relative. 1996 + # removed, or if the value is a relative name. 1403 1997 INSTALL=$ac_install_sh 1404 1998 fi 1405 1999 fi 1406 - echo "$as_me:$LINENO: result: $INSTALL" >&5 1407 - echo "${ECHO_T}$INSTALL" >&6 2000 + { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2001 + $as_echo "$INSTALL" >&6; } 1408 2002 1409 2003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1410 2004 # It thinks the first close brace ends the variable substitution. ··· 1415 2009 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1416 2010 1417 2011 test "$program_prefix" != NONE && 1418 - program_transform_name="s,^,$program_prefix,;$program_transform_name" 2012 + program_transform_name="s&^&$program_prefix&;$program_transform_name" 1419 2013 # Use a double $ so make ignores it. 1420 2014 test "$program_suffix" != NONE && 1421 - program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1422 - # Double any \ or $. echo might interpret backslashes. 2015 + program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2016 + # Double any \ or $. 1423 2017 # By default was `s,x,x', remove it if useless. 1424 - cat <<\_ACEOF >conftest.sed 1425 - s/[\\$]/&&/g;s/;s,x,x,$// 1426 - _ACEOF 1427 - program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1428 - rm conftest.sed 2018 + ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2019 + program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1429 2020 1430 2021 # expand $ac_aux_dir to an absolute path 1431 2022 am_aux_dir=`cd $ac_aux_dir && pwd` ··· 1436 2027 am_missing_run="$MISSING --run " 1437 2028 else 1438 2029 am_missing_run= 1439 - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1440 - echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2030 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2031 + $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1441 2032 fi 1442 2033 1443 2034 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then ··· 1477 2068 do 1478 2069 # Extract the first word of "$ac_prog", so it can be a program name with args. 1479 2070 set dummy $ac_prog; ac_word=$2 1480 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1481 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2071 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2072 + $as_echo_n "checking for $ac_word... " >&6; } 1482 2073 if test "${ac_cv_prog_AWK+set}" = set; then 1483 - echo $ECHO_N "(cached) $ECHO_C" >&6 2074 + $as_echo_n "(cached) " >&6 1484 2075 else 1485 2076 if test -n "$AWK"; then 1486 2077 ac_cv_prog_AWK="$AWK" # Let the user override the test. ··· 1491 2082 IFS=$as_save_IFS 1492 2083 test -z "$as_dir" && as_dir=. 1493 2084 for ac_exec_ext in '' $ac_executable_extensions; do 1494 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2085 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1495 2086 ac_cv_prog_AWK="$ac_prog" 1496 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2087 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1497 2088 break 2 1498 2089 fi 1499 2090 done 1500 2091 done 2092 + IFS=$as_save_IFS 1501 2093 1502 2094 fi 1503 2095 fi 1504 2096 AWK=$ac_cv_prog_AWK 1505 2097 if test -n "$AWK"; then 1506 - echo "$as_me:$LINENO: result: $AWK" >&5 1507 - echo "${ECHO_T}$AWK" >&6 2098 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2099 + $as_echo "$AWK" >&6; } 1508 2100 else 1509 - echo "$as_me:$LINENO: result: no" >&5 1510 - echo "${ECHO_T}no" >&6 2101 + { $as_echo "$as_me:$LINENO: result: no" >&5 2102 + $as_echo "no" >&6; } 1511 2103 fi 1512 2104 2105 + 1513 2106 test -n "$AWK" && break 1514 2107 done 1515 2108 1516 - echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1517 - echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1518 - set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1519 - if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1520 - echo $ECHO_N "(cached) $ECHO_C" >&6 2109 + { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2110 + $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2111 + set x ${MAKE-make} 2112 + ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2113 + if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2114 + $as_echo_n "(cached) " >&6 1521 2115 else 1522 2116 cat >conftest.make <<\_ACEOF 2117 + SHELL = /bin/sh 1523 2118 all: 1524 - @echo 'ac_maketemp="$(MAKE)"' 2119 + @echo '@@@%%%=$(MAKE)=@@@%%%' 1525 2120 _ACEOF 1526 2121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1527 - eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1528 - if test -n "$ac_maketemp"; then 1529 - eval ac_cv_prog_make_${ac_make}_set=yes 1530 - else 1531 - eval ac_cv_prog_make_${ac_make}_set=no 1532 - fi 2122 + case `${MAKE-make} -f conftest.make 2>/dev/null` in 2123 + *@@@%%%=?*=@@@%%%*) 2124 + eval ac_cv_prog_make_${ac_make}_set=yes;; 2125 + *) 2126 + eval ac_cv_prog_make_${ac_make}_set=no;; 2127 + esac 1533 2128 rm -f conftest.make 1534 2129 fi 1535 - if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1536 - echo "$as_me:$LINENO: result: yes" >&5 1537 - echo "${ECHO_T}yes" >&6 2130 + if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2131 + { $as_echo "$as_me:$LINENO: result: yes" >&5 2132 + $as_echo "yes" >&6; } 1538 2133 SET_MAKE= 1539 2134 else 1540 - echo "$as_me:$LINENO: result: no" >&5 1541 - echo "${ECHO_T}no" >&6 2135 + { $as_echo "$as_me:$LINENO: result: no" >&5 2136 + $as_echo "no" >&6; } 1542 2137 SET_MAKE="MAKE=${MAKE-make}" 1543 2138 fi 1544 2139 ··· 1554 2149 # test to see if srcdir already configured 1555 2150 if test "`cd $srcdir && pwd`" != "`pwd`" && 1556 2151 test -f $srcdir/config.status; then 1557 - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1558 - echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2152 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2153 + $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1559 2154 { (exit 1); exit 1; }; } 1560 2155 fi 1561 2156 ··· 1571 2166 1572 2167 # Define the identity of the package. 1573 2168 PACKAGE='xmessage' 1574 - VERSION='1.0.2' 2169 + VERSION='1.0.3' 1575 2170 1576 2171 1577 2172 cat >>confdefs.h <<_ACEOF ··· 1609 2204 if test -n "$ac_tool_prefix"; then 1610 2205 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1611 2206 set dummy ${ac_tool_prefix}strip; ac_word=$2 1612 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1613 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2207 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2208 + $as_echo_n "checking for $ac_word... " >&6; } 1614 2209 if test "${ac_cv_prog_STRIP+set}" = set; then 1615 - echo $ECHO_N "(cached) $ECHO_C" >&6 2210 + $as_echo_n "(cached) " >&6 1616 2211 else 1617 2212 if test -n "$STRIP"; then 1618 2213 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ··· 1623 2218 IFS=$as_save_IFS 1624 2219 test -z "$as_dir" && as_dir=. 1625 2220 for ac_exec_ext in '' $ac_executable_extensions; do 1626 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2221 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1627 2222 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1628 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2223 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1629 2224 break 2 1630 2225 fi 1631 2226 done 1632 2227 done 2228 + IFS=$as_save_IFS 1633 2229 1634 2230 fi 1635 2231 fi 1636 2232 STRIP=$ac_cv_prog_STRIP 1637 2233 if test -n "$STRIP"; then 1638 - echo "$as_me:$LINENO: result: $STRIP" >&5 1639 - echo "${ECHO_T}$STRIP" >&6 2234 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2235 + $as_echo "$STRIP" >&6; } 1640 2236 else 1641 - echo "$as_me:$LINENO: result: no" >&5 1642 - echo "${ECHO_T}no" >&6 2237 + { $as_echo "$as_me:$LINENO: result: no" >&5 2238 + $as_echo "no" >&6; } 1643 2239 fi 2240 + 1644 2241 1645 2242 fi 1646 2243 if test -z "$ac_cv_prog_STRIP"; then 1647 2244 ac_ct_STRIP=$STRIP 1648 2245 # Extract the first word of "strip", so it can be a program name with args. 1649 2246 set dummy strip; ac_word=$2 1650 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1651 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2247 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2248 + $as_echo_n "checking for $ac_word... " >&6; } 1652 2249 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1653 - echo $ECHO_N "(cached) $ECHO_C" >&6 2250 + $as_echo_n "(cached) " >&6 1654 2251 else 1655 2252 if test -n "$ac_ct_STRIP"; then 1656 2253 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ··· 1661 2258 IFS=$as_save_IFS 1662 2259 test -z "$as_dir" && as_dir=. 1663 2260 for ac_exec_ext in '' $ac_executable_extensions; do 1664 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2261 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1665 2262 ac_cv_prog_ac_ct_STRIP="strip" 1666 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2263 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1667 2264 break 2 1668 2265 fi 1669 2266 done 1670 2267 done 2268 + IFS=$as_save_IFS 1671 2269 1672 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1673 2270 fi 1674 2271 fi 1675 2272 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1676 2273 if test -n "$ac_ct_STRIP"; then 1677 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1678 - echo "${ECHO_T}$ac_ct_STRIP" >&6 2274 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2275 + $as_echo "$ac_ct_STRIP" >&6; } 1679 2276 else 1680 - echo "$as_me:$LINENO: result: no" >&5 1681 - echo "${ECHO_T}no" >&6 2277 + { $as_echo "$as_me:$LINENO: result: no" >&5 2278 + $as_echo "no" >&6; } 1682 2279 fi 1683 2280 1684 - STRIP=$ac_ct_STRIP 2281 + if test "x$ac_ct_STRIP" = x; then 2282 + STRIP=":" 2283 + else 2284 + case $cross_compiling:$ac_tool_warned in 2285 + yes:) 2286 + { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2287 + whose name does not start with the host triplet. If you think this 2288 + configuration is useful to you, please write to autoconf@gnu.org." >&5 2289 + $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2290 + whose name does not start with the host triplet. If you think this 2291 + configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2292 + ac_tool_warned=yes ;; 2293 + esac 2294 + STRIP=$ac_ct_STRIP 2295 + fi 1685 2296 else 1686 2297 STRIP="$ac_cv_prog_STRIP" 1687 2298 fi ··· 1701 2312 1702 2313 1703 2314 1704 - echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 1705 - echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 1706 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2315 + { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2316 + $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2317 + # Check whether --enable-maintainer-mode was given. 1707 2318 if test "${enable_maintainer_mode+set}" = set; then 1708 - enableval="$enable_maintainer_mode" 1709 - USE_MAINTAINER_MODE=$enableval 2319 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 1710 2320 else 1711 2321 USE_MAINTAINER_MODE=no 1712 - fi; 1713 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1714 - echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 2322 + fi 2323 + 2324 + { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2325 + $as_echo "$USE_MAINTAINER_MODE" >&6; } 1715 2326 1716 2327 1717 2328 if test $USE_MAINTAINER_MODE = yes; then ··· 1726 2337 1727 2338 1728 2339 1729 - ac_config_headers="$ac_config_headers config.h" 2340 + # Require xorg-macros: XORG_DEFAULT_OPTIONS 2341 + 2342 + 2343 + 2344 + 2345 + 2346 + 2347 + 2348 + 2349 + 2350 + 2351 + 2352 + DEPDIR="${am__leading_dot}deps" 2353 + 2354 + ac_config_commands="$ac_config_commands depfiles" 2355 + 2356 + 2357 + am_make=${MAKE-make} 2358 + cat > confinc << 'END' 2359 + am__doit: 2360 + @echo done 2361 + .PHONY: am__doit 2362 + END 2363 + # If we don't find an include directive, just comment out the code. 2364 + { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2365 + $as_echo_n "checking for style of include used by $am_make... " >&6; } 2366 + am__include="#" 2367 + am__quote= 2368 + _am_result=none 2369 + # First try GNU make style include. 2370 + echo "include confinc" > confmf 2371 + # We grep out `Entering directory' and `Leaving directory' 2372 + # messages which can occur if `w' ends up in MAKEFLAGS. 2373 + # In particular we don't look at `^make:' because GNU make might 2374 + # be invoked under some other name (usually "gmake"), in which 2375 + # case it prints its new name instead of `make'. 2376 + if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2377 + am__include=include 2378 + am__quote= 2379 + _am_result=GNU 2380 + fi 2381 + # Now try BSD make style include. 2382 + if test "$am__include" = "#"; then 2383 + echo '.include "confinc"' > confmf 2384 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2385 + am__include=.include 2386 + am__quote="\"" 2387 + _am_result=BSD 2388 + fi 2389 + fi 2390 + 2391 + 2392 + { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 2393 + $as_echo "$_am_result" >&6; } 2394 + rm -f confinc confmf 2395 + 2396 + # Check whether --enable-dependency-tracking was given. 2397 + if test "${enable_dependency_tracking+set}" = set; then 2398 + enableval=$enable_dependency_tracking; 2399 + fi 2400 + 2401 + if test "x$enable_dependency_tracking" != xno; then 2402 + am_depcomp="$ac_aux_dir/depcomp" 2403 + AMDEPBACKSLASH='\' 2404 + fi 2405 + 2406 + 2407 + if test "x$enable_dependency_tracking" != xno; then 2408 + AMDEP_TRUE= 2409 + AMDEP_FALSE='#' 2410 + else 2411 + AMDEP_TRUE='#' 2412 + AMDEP_FALSE= 2413 + fi 2414 + 1730 2415 1731 2416 1732 2417 ac_ext=c ··· 1737 2422 if test -n "$ac_tool_prefix"; then 1738 2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1739 2424 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1740 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1741 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2425 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2426 + $as_echo_n "checking for $ac_word... " >&6; } 1742 2427 if test "${ac_cv_prog_CC+set}" = set; then 1743 - echo $ECHO_N "(cached) $ECHO_C" >&6 2428 + $as_echo_n "(cached) " >&6 1744 2429 else 1745 2430 if test -n "$CC"; then 1746 2431 ac_cv_prog_CC="$CC" # Let the user override the test. ··· 1751 2436 IFS=$as_save_IFS 1752 2437 test -z "$as_dir" && as_dir=. 1753 2438 for ac_exec_ext in '' $ac_executable_extensions; do 1754 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2439 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1755 2440 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1756 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2441 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1757 2442 break 2 1758 2443 fi 1759 2444 done 1760 2445 done 2446 + IFS=$as_save_IFS 1761 2447 1762 2448 fi 1763 2449 fi 1764 2450 CC=$ac_cv_prog_CC 1765 2451 if test -n "$CC"; then 1766 - echo "$as_me:$LINENO: result: $CC" >&5 1767 - echo "${ECHO_T}$CC" >&6 2452 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 2453 + $as_echo "$CC" >&6; } 1768 2454 else 1769 - echo "$as_me:$LINENO: result: no" >&5 1770 - echo "${ECHO_T}no" >&6 2455 + { $as_echo "$as_me:$LINENO: result: no" >&5 2456 + $as_echo "no" >&6; } 1771 2457 fi 2458 + 1772 2459 1773 2460 fi 1774 2461 if test -z "$ac_cv_prog_CC"; then 1775 2462 ac_ct_CC=$CC 1776 2463 # Extract the first word of "gcc", so it can be a program name with args. 1777 2464 set dummy gcc; ac_word=$2 1778 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1779 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2465 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2466 + $as_echo_n "checking for $ac_word... " >&6; } 1780 2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1781 - echo $ECHO_N "(cached) $ECHO_C" >&6 2468 + $as_echo_n "(cached) " >&6 1782 2469 else 1783 2470 if test -n "$ac_ct_CC"; then 1784 2471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ··· 1789 2476 IFS=$as_save_IFS 1790 2477 test -z "$as_dir" && as_dir=. 1791 2478 for ac_exec_ext in '' $ac_executable_extensions; do 1792 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2479 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1793 2480 ac_cv_prog_ac_ct_CC="gcc" 1794 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2481 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1795 2482 break 2 1796 2483 fi 1797 2484 done 1798 2485 done 2486 + IFS=$as_save_IFS 1799 2487 1800 2488 fi 1801 2489 fi 1802 2490 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1803 2491 if test -n "$ac_ct_CC"; then 1804 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1805 - echo "${ECHO_T}$ac_ct_CC" >&6 2492 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2493 + $as_echo "$ac_ct_CC" >&6; } 1806 2494 else 1807 - echo "$as_me:$LINENO: result: no" >&5 1808 - echo "${ECHO_T}no" >&6 2495 + { $as_echo "$as_me:$LINENO: result: no" >&5 2496 + $as_echo "no" >&6; } 1809 2497 fi 1810 2498 1811 - CC=$ac_ct_CC 2499 + if test "x$ac_ct_CC" = x; then 2500 + CC="" 2501 + else 2502 + case $cross_compiling:$ac_tool_warned in 2503 + yes:) 2504 + { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2505 + whose name does not start with the host triplet. If you think this 2506 + configuration is useful to you, please write to autoconf@gnu.org." >&5 2507 + $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2508 + whose name does not start with the host triplet. If you think this 2509 + configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2510 + ac_tool_warned=yes ;; 2511 + esac 2512 + CC=$ac_ct_CC 2513 + fi 1812 2514 else 1813 2515 CC="$ac_cv_prog_CC" 1814 2516 fi 1815 2517 1816 2518 if test -z "$CC"; then 1817 - if test -n "$ac_tool_prefix"; then 1818 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2519 + if test -n "$ac_tool_prefix"; then 2520 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1819 2521 set dummy ${ac_tool_prefix}cc; ac_word=$2 1820 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1821 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2522 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2523 + $as_echo_n "checking for $ac_word... " >&6; } 1822 2524 if test "${ac_cv_prog_CC+set}" = set; then 1823 - echo $ECHO_N "(cached) $ECHO_C" >&6 2525 + $as_echo_n "(cached) " >&6 1824 2526 else 1825 2527 if test -n "$CC"; then 1826 2528 ac_cv_prog_CC="$CC" # Let the user override the test. ··· 1831 2533 IFS=$as_save_IFS 1832 2534 test -z "$as_dir" && as_dir=. 1833 2535 for ac_exec_ext in '' $ac_executable_extensions; do 1834 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2536 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1835 2537 ac_cv_prog_CC="${ac_tool_prefix}cc" 1836 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2538 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1837 2539 break 2 1838 2540 fi 1839 2541 done 1840 2542 done 2543 + IFS=$as_save_IFS 1841 2544 1842 2545 fi 1843 2546 fi 1844 2547 CC=$ac_cv_prog_CC 1845 2548 if test -n "$CC"; then 1846 - echo "$as_me:$LINENO: result: $CC" >&5 1847 - echo "${ECHO_T}$CC" >&6 1848 - else 1849 - echo "$as_me:$LINENO: result: no" >&5 1850 - echo "${ECHO_T}no" >&6 1851 - fi 1852 - 1853 - fi 1854 - if test -z "$ac_cv_prog_CC"; then 1855 - ac_ct_CC=$CC 1856 - # Extract the first word of "cc", so it can be a program name with args. 1857 - set dummy cc; ac_word=$2 1858 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1859 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1860 - if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1861 - echo $ECHO_N "(cached) $ECHO_C" >&6 1862 - else 1863 - if test -n "$ac_ct_CC"; then 1864 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1865 - else 1866 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1867 - for as_dir in $PATH 1868 - do 1869 - IFS=$as_save_IFS 1870 - test -z "$as_dir" && as_dir=. 1871 - for ac_exec_ext in '' $ac_executable_extensions; do 1872 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1873 - ac_cv_prog_ac_ct_CC="cc" 1874 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1875 - break 2 1876 - fi 1877 - done 1878 - done 1879 - 1880 - fi 1881 - fi 1882 - ac_ct_CC=$ac_cv_prog_ac_ct_CC 1883 - if test -n "$ac_ct_CC"; then 1884 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1885 - echo "${ECHO_T}$ac_ct_CC" >&6 2549 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 2550 + $as_echo "$CC" >&6; } 1886 2551 else 1887 - echo "$as_me:$LINENO: result: no" >&5 1888 - echo "${ECHO_T}no" >&6 2552 + { $as_echo "$as_me:$LINENO: result: no" >&5 2553 + $as_echo "no" >&6; } 1889 2554 fi 1890 2555 1891 - CC=$ac_ct_CC 1892 - else 1893 - CC="$ac_cv_prog_CC" 1894 - fi 1895 2556 2557 + fi 1896 2558 fi 1897 2559 if test -z "$CC"; then 1898 2560 # Extract the first word of "cc", so it can be a program name with args. 1899 2561 set dummy cc; ac_word=$2 1900 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1901 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2562 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2563 + $as_echo_n "checking for $ac_word... " >&6; } 1902 2564 if test "${ac_cv_prog_CC+set}" = set; then 1903 - echo $ECHO_N "(cached) $ECHO_C" >&6 2565 + $as_echo_n "(cached) " >&6 1904 2566 else 1905 2567 if test -n "$CC"; then 1906 2568 ac_cv_prog_CC="$CC" # Let the user override the test. ··· 1912 2574 IFS=$as_save_IFS 1913 2575 test -z "$as_dir" && as_dir=. 1914 2576 for ac_exec_ext in '' $ac_executable_extensions; do 1915 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2577 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1916 2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1917 2579 ac_prog_rejected=yes 1918 2580 continue 1919 2581 fi 1920 2582 ac_cv_prog_CC="cc" 1921 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2583 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1922 2584 break 2 1923 2585 fi 1924 2586 done 1925 2587 done 2588 + IFS=$as_save_IFS 1926 2589 1927 2590 if test $ac_prog_rejected = yes; then 1928 2591 # We found a bogon in the path, so make sure we never use it. ··· 1940 2603 fi 1941 2604 CC=$ac_cv_prog_CC 1942 2605 if test -n "$CC"; then 1943 - echo "$as_me:$LINENO: result: $CC" >&5 1944 - echo "${ECHO_T}$CC" >&6 2606 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 2607 + $as_echo "$CC" >&6; } 1945 2608 else 1946 - echo "$as_me:$LINENO: result: no" >&5 1947 - echo "${ECHO_T}no" >&6 2609 + { $as_echo "$as_me:$LINENO: result: no" >&5 2610 + $as_echo "no" >&6; } 1948 2611 fi 2612 + 1949 2613 1950 2614 fi 1951 2615 if test -z "$CC"; then 1952 2616 if test -n "$ac_tool_prefix"; then 1953 - for ac_prog in cl 2617 + for ac_prog in cl.exe 1954 2618 do 1955 2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1956 2620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1957 - echo "$as_me:$LINENO: checking for $ac_word" >&5 1958 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2621 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2622 + $as_echo_n "checking for $ac_word... " >&6; } 1959 2623 if test "${ac_cv_prog_CC+set}" = set; then 1960 - echo $ECHO_N "(cached) $ECHO_C" >&6 2624 + $as_echo_n "(cached) " >&6 1961 2625 else 1962 2626 if test -n "$CC"; then 1963 2627 ac_cv_prog_CC="$CC" # Let the user override the test. ··· 1968 2632 IFS=$as_save_IFS 1969 2633 test -z "$as_dir" && as_dir=. 1970 2634 for ac_exec_ext in '' $ac_executable_extensions; do 1971 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2635 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1972 2636 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1973 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2637 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1974 2638 break 2 1975 2639 fi 1976 2640 done 1977 2641 done 2642 + IFS=$as_save_IFS 1978 2643 1979 2644 fi 1980 2645 fi 1981 2646 CC=$ac_cv_prog_CC 1982 2647 if test -n "$CC"; then 1983 - echo "$as_me:$LINENO: result: $CC" >&5 1984 - echo "${ECHO_T}$CC" >&6 2648 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 2649 + $as_echo "$CC" >&6; } 1985 2650 else 1986 - echo "$as_me:$LINENO: result: no" >&5 1987 - echo "${ECHO_T}no" >&6 2651 + { $as_echo "$as_me:$LINENO: result: no" >&5 2652 + $as_echo "no" >&6; } 1988 2653 fi 2654 + 1989 2655 1990 2656 test -n "$CC" && break 1991 2657 done 1992 2658 fi 1993 2659 if test -z "$CC"; then 1994 2660 ac_ct_CC=$CC 1995 - for ac_prog in cl 2661 + for ac_prog in cl.exe 1996 2662 do 1997 2663 # Extract the first word of "$ac_prog", so it can be a program name with args. 1998 2664 set dummy $ac_prog; ac_word=$2 1999 - echo "$as_me:$LINENO: checking for $ac_word" >&5 2000 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2665 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2666 + $as_echo_n "checking for $ac_word... " >&6; } 2001 2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2002 - echo $ECHO_N "(cached) $ECHO_C" >&6 2668 + $as_echo_n "(cached) " >&6 2003 2669 else 2004 2670 if test -n "$ac_ct_CC"; then 2005 2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ··· 2010 2676 IFS=$as_save_IFS 2011 2677 test -z "$as_dir" && as_dir=. 2012 2678 for ac_exec_ext in '' $ac_executable_extensions; do 2013 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2679 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2014 2680 ac_cv_prog_ac_ct_CC="$ac_prog" 2015 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2681 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2016 2682 break 2 2017 2683 fi 2018 2684 done 2019 2685 done 2686 + IFS=$as_save_IFS 2020 2687 2021 2688 fi 2022 2689 fi 2023 2690 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2024 2691 if test -n "$ac_ct_CC"; then 2025 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2026 - echo "${ECHO_T}$ac_ct_CC" >&6 2692 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2693 + $as_echo "$ac_ct_CC" >&6; } 2027 2694 else 2028 - echo "$as_me:$LINENO: result: no" >&5 2029 - echo "${ECHO_T}no" >&6 2695 + { $as_echo "$as_me:$LINENO: result: no" >&5 2696 + $as_echo "no" >&6; } 2030 2697 fi 2031 2698 2699 + 2032 2700 test -n "$ac_ct_CC" && break 2033 2701 done 2034 2702 2035 - CC=$ac_ct_CC 2703 + if test "x$ac_ct_CC" = x; then 2704 + CC="" 2705 + else 2706 + case $cross_compiling:$ac_tool_warned in 2707 + yes:) 2708 + { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2709 + whose name does not start with the host triplet. If you think this 2710 + configuration is useful to you, please write to autoconf@gnu.org." >&5 2711 + $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2712 + whose name does not start with the host triplet. If you think this 2713 + configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2714 + ac_tool_warned=yes ;; 2715 + esac 2716 + CC=$ac_ct_CC 2717 + fi 2036 2718 fi 2037 2719 2038 2720 fi 2039 2721 2040 2722 2041 - test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2723 + test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2042 2724 See \`config.log' for more details." >&5 2043 - echo "$as_me: error: no acceptable C compiler found in \$PATH 2725 + $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2044 2726 See \`config.log' for more details." >&2;} 2045 2727 { (exit 1); exit 1; }; } 2046 2728 2047 2729 # Provide some information about the compiler. 2048 - echo "$as_me:$LINENO:" \ 2049 - "checking for C compiler version" >&5 2050 - ac_compiler=`set X $ac_compile; echo $2` 2051 - { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2052 - (eval $ac_compiler --version </dev/null >&5) 2>&5 2730 + $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2731 + set X $ac_compile 2732 + ac_compiler=$2 2733 + { (ac_try="$ac_compiler --version >&5" 2734 + case "(($ac_try" in 2735 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2736 + *) ac_try_echo=$ac_try;; 2737 + esac 2738 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2739 + $as_echo "$ac_try_echo") >&5 2740 + (eval "$ac_compiler --version >&5") 2>&5 2053 2741 ac_status=$? 2054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2742 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2055 2743 (exit $ac_status); } 2056 - { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2057 - (eval $ac_compiler -v </dev/null >&5) 2>&5 2744 + { (ac_try="$ac_compiler -v >&5" 2745 + case "(($ac_try" in 2746 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2747 + *) ac_try_echo=$ac_try;; 2748 + esac 2749 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2750 + $as_echo "$ac_try_echo") >&5 2751 + (eval "$ac_compiler -v >&5") 2>&5 2058 2752 ac_status=$? 2059 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2753 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2060 2754 (exit $ac_status); } 2061 - { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2062 - (eval $ac_compiler -V </dev/null >&5) 2>&5 2755 + { (ac_try="$ac_compiler -V >&5" 2756 + case "(($ac_try" in 2757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2758 + *) ac_try_echo=$ac_try;; 2759 + esac 2760 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2761 + $as_echo "$ac_try_echo") >&5 2762 + (eval "$ac_compiler -V >&5") 2>&5 2063 2763 ac_status=$? 2064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2065 2765 (exit $ac_status); } 2066 2766 2067 2767 cat >conftest.$ac_ext <<_ACEOF ··· 2080 2780 } 2081 2781 _ACEOF 2082 2782 ac_clean_files_save=$ac_clean_files 2083 - ac_clean_files="$ac_clean_files a.out a.exe b.out" 2783 + ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2084 2784 # Try to create an executable without -o first, disregard a.out. 2085 2785 # It will help us diagnose broken compilers, and finding out an intuition 2086 2786 # of exeext. 2087 - echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2088 - echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2089 - ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2090 - if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2091 - (eval $ac_link_default) 2>&5 2787 + { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2788 + $as_echo_n "checking for C compiler default output file name... " >&6; } 2789 + ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2790 + 2791 + # The possible output files: 2792 + ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2793 + 2794 + ac_rmfiles= 2795 + for ac_file in $ac_files 2796 + do 2797 + case $ac_file in 2798 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2799 + * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2800 + esac 2801 + done 2802 + rm -f $ac_rmfiles 2803 + 2804 + if { (ac_try="$ac_link_default" 2805 + case "(($ac_try" in 2806 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2807 + *) ac_try_echo=$ac_try;; 2808 + esac 2809 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2810 + $as_echo "$ac_try_echo") >&5 2811 + (eval "$ac_link_default") 2>&5 2092 2812 ac_status=$? 2093 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2813 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2094 2814 (exit $ac_status); }; then 2095 - # Find the output, starting from the most likely. This scheme is 2096 - # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2097 - # resort. 2098 - 2099 - # Be careful to initialize this variable, since it used to be cached. 2100 - # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2101 - ac_cv_exeext= 2102 - # b.out is created by i960 compilers. 2103 - for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2815 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2816 + # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2817 + # in a Makefile. We should not override ac_cv_exeext if it was cached, 2818 + # so that the user can short-circuit this test for compilers unknown to 2819 + # Autoconf. 2820 + for ac_file in $ac_files '' 2104 2821 do 2105 2822 test -f "$ac_file" || continue 2106 2823 case $ac_file in 2107 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2108 - ;; 2109 - conftest.$ac_ext ) 2110 - # This is the source file. 2824 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2111 2825 ;; 2112 2826 [ab].out ) 2113 2827 # We found the default executable, but exeext='' is most 2114 2828 # certainly right. 2115 2829 break;; 2116 2830 *.* ) 2117 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2118 - # FIXME: I believe we export ac_cv_exeext for Libtool, 2119 - # but it would be cool to find out if it's true. Does anybody 2120 - # maintain Libtool? --akim. 2121 - export ac_cv_exeext 2831 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2832 + then :; else 2833 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2834 + fi 2835 + # We set ac_cv_exeext here because the later test for it is not 2836 + # safe: cross compilers may not add the suffix if given an `-o' 2837 + # argument, so we may need to know it at that point already. 2838 + # Even if this section looks crufty: it has the advantage of 2839 + # actually working. 2122 2840 break;; 2123 2841 * ) 2124 2842 break;; 2125 2843 esac 2126 2844 done 2845 + test "$ac_cv_exeext" = no && ac_cv_exeext= 2846 + 2127 2847 else 2128 - echo "$as_me: failed program was:" >&5 2848 + ac_file='' 2849 + fi 2850 + 2851 + { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2852 + $as_echo "$ac_file" >&6; } 2853 + if test -z "$ac_file"; then 2854 + $as_echo "$as_me: failed program was:" >&5 2129 2855 sed 's/^/| /' conftest.$ac_ext >&5 2130 2856 2131 - { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2857 + { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2132 2858 See \`config.log' for more details." >&5 2133 - echo "$as_me: error: C compiler cannot create executables 2859 + $as_echo "$as_me: error: C compiler cannot create executables 2134 2860 See \`config.log' for more details." >&2;} 2135 2861 { (exit 77); exit 77; }; } 2136 2862 fi 2137 2863 2138 2864 ac_exeext=$ac_cv_exeext 2139 - echo "$as_me:$LINENO: result: $ac_file" >&5 2140 - echo "${ECHO_T}$ac_file" >&6 2141 2865 2142 - # Check the compiler produces executables we can run. If not, either 2866 + # Check that the compiler produces executables we can run. If not, either 2143 2867 # the compiler is broken, or we cross compile. 2144 - echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2145 - echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2868 + { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2869 + $as_echo_n "checking whether the C compiler works... " >&6; } 2146 2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2147 2871 # If not cross compiling, check that we can run a simple program. 2148 2872 if test "$cross_compiling" != yes; then 2149 2873 if { ac_try='./$ac_file' 2150 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2151 - (eval $ac_try) 2>&5 2874 + { (case "(($ac_try" in 2875 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2876 + *) ac_try_echo=$ac_try;; 2877 + esac 2878 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2879 + $as_echo "$ac_try_echo") >&5 2880 + (eval "$ac_try") 2>&5 2152 2881 ac_status=$? 2153 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2882 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2154 2883 (exit $ac_status); }; }; then 2155 2884 cross_compiling=no 2156 2885 else 2157 2886 if test "$cross_compiling" = maybe; then 2158 2887 cross_compiling=yes 2159 2888 else 2160 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2889 + { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2161 2890 If you meant to cross compile, use \`--host'. 2162 2891 See \`config.log' for more details." >&5 2163 - echo "$as_me: error: cannot run C compiled programs. 2892 + $as_echo "$as_me: error: cannot run C compiled programs. 2164 2893 If you meant to cross compile, use \`--host'. 2165 2894 See \`config.log' for more details." >&2;} 2166 2895 { (exit 1); exit 1; }; } 2167 2896 fi 2168 2897 fi 2169 2898 fi 2170 - echo "$as_me:$LINENO: result: yes" >&5 2171 - echo "${ECHO_T}yes" >&6 2899 + { $as_echo "$as_me:$LINENO: result: yes" >&5 2900 + $as_echo "yes" >&6; } 2172 2901 2173 - rm -f a.out a.exe conftest$ac_cv_exeext b.out 2902 + rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2174 2903 ac_clean_files=$ac_clean_files_save 2175 - # Check the compiler produces executables we can run. If not, either 2904 + # Check that the compiler produces executables we can run. If not, either 2176 2905 # the compiler is broken, or we cross compile. 2177 - echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2178 - echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2179 - echo "$as_me:$LINENO: result: $cross_compiling" >&5 2180 - echo "${ECHO_T}$cross_compiling" >&6 2906 + { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2907 + $as_echo_n "checking whether we are cross compiling... " >&6; } 2908 + { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2909 + $as_echo "$cross_compiling" >&6; } 2181 2910 2182 - echo "$as_me:$LINENO: checking for suffix of executables" >&5 2183 - echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2184 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2185 - (eval $ac_link) 2>&5 2911 + { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2912 + $as_echo_n "checking for suffix of executables... " >&6; } 2913 + if { (ac_try="$ac_link" 2914 + case "(($ac_try" in 2915 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2916 + *) ac_try_echo=$ac_try;; 2917 + esac 2918 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2919 + $as_echo "$ac_try_echo") >&5 2920 + (eval "$ac_link") 2>&5 2186 2921 ac_status=$? 2187 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2922 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2188 2923 (exit $ac_status); }; then 2189 2924 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2190 2925 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ··· 2193 2928 for ac_file in conftest.exe conftest conftest.*; do 2194 2929 test -f "$ac_file" || continue 2195 2930 case $ac_file in 2196 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2931 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2197 2932 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2198 - export ac_cv_exeext 2199 2933 break;; 2200 2934 * ) break;; 2201 2935 esac 2202 2936 done 2203 2937 else 2204 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2938 + { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2205 2939 See \`config.log' for more details." >&5 2206 - echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2940 + $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2207 2941 See \`config.log' for more details." >&2;} 2208 2942 { (exit 1); exit 1; }; } 2209 2943 fi 2210 2944 2211 2945 rm -f conftest$ac_cv_exeext 2212 - echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2213 - echo "${ECHO_T}$ac_cv_exeext" >&6 2946 + { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2947 + $as_echo "$ac_cv_exeext" >&6; } 2214 2948 2215 2949 rm -f conftest.$ac_ext 2216 2950 EXEEXT=$ac_cv_exeext 2217 2951 ac_exeext=$EXEEXT 2218 - echo "$as_me:$LINENO: checking for suffix of object files" >&5 2219 - echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2952 + { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2953 + $as_echo_n "checking for suffix of object files... " >&6; } 2220 2954 if test "${ac_cv_objext+set}" = set; then 2221 - echo $ECHO_N "(cached) $ECHO_C" >&6 2955 + $as_echo_n "(cached) " >&6 2222 2956 else 2223 2957 cat >conftest.$ac_ext <<_ACEOF 2224 2958 /* confdefs.h. */ ··· 2236 2970 } 2237 2971 _ACEOF 2238 2972 rm -f conftest.o conftest.obj 2239 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2240 - (eval $ac_compile) 2>&5 2973 + if { (ac_try="$ac_compile" 2974 + case "(($ac_try" in 2975 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2976 + *) ac_try_echo=$ac_try;; 2977 + esac 2978 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2979 + $as_echo "$ac_try_echo") >&5 2980 + (eval "$ac_compile") 2>&5 2241 2981 ac_status=$? 2242 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2982 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2243 2983 (exit $ac_status); }; then 2244 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2984 + for ac_file in conftest.o conftest.obj conftest.*; do 2985 + test -f "$ac_file" || continue; 2245 2986 case $ac_file in 2246 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2987 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2247 2988 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2248 2989 break;; 2249 2990 esac 2250 2991 done 2251 2992 else 2252 - echo "$as_me: failed program was:" >&5 2993 + $as_echo "$as_me: failed program was:" >&5 2253 2994 sed 's/^/| /' conftest.$ac_ext >&5 2254 2995 2255 - { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2996 + { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2256 2997 See \`config.log' for more details." >&5 2257 - echo "$as_me: error: cannot compute suffix of object files: cannot compile 2998 + $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2258 2999 See \`config.log' for more details." >&2;} 2259 3000 { (exit 1); exit 1; }; } 2260 3001 fi 2261 3002 2262 3003 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2263 3004 fi 2264 - echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2265 - echo "${ECHO_T}$ac_cv_objext" >&6 3005 + { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3006 + $as_echo "$ac_cv_objext" >&6; } 2266 3007 OBJEXT=$ac_cv_objext 2267 3008 ac_objext=$OBJEXT 2268 - echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2269 - echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3009 + { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3010 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2270 3011 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2271 - echo $ECHO_N "(cached) $ECHO_C" >&6 3012 + $as_echo_n "(cached) " >&6 2272 3013 else 2273 3014 cat >conftest.$ac_ext <<_ACEOF 2274 3015 /* confdefs.h. */ ··· 2289 3030 } 2290 3031 _ACEOF 2291 3032 rm -f conftest.$ac_objext 2292 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2293 - (eval $ac_compile) 2>conftest.er1 3033 + if { (ac_try="$ac_compile" 3034 + case "(($ac_try" in 3035 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3036 + *) ac_try_echo=$ac_try;; 3037 + esac 3038 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3039 + $as_echo "$ac_try_echo") >&5 3040 + (eval "$ac_compile") 2>conftest.er1 2294 3041 ac_status=$? 2295 3042 grep -v '^ *+' conftest.er1 >conftest.err 2296 3043 rm -f conftest.er1 2297 3044 cat conftest.err >&5 2298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2299 - (exit $ac_status); } && 2300 - { ac_try='test -z "$ac_c_werror_flag" 2301 - || test ! -s conftest.err' 2302 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2303 - (eval $ac_try) 2>&5 2304 - ac_status=$? 2305 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2306 - (exit $ac_status); }; } && 2307 - { ac_try='test -s conftest.$ac_objext' 2308 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2309 - (eval $ac_try) 2>&5 2310 - ac_status=$? 2311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 - (exit $ac_status); }; }; then 3045 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 + (exit $ac_status); } && { 3047 + test -z "$ac_c_werror_flag" || 3048 + test ! -s conftest.err 3049 + } && test -s conftest.$ac_objext; then 2313 3050 ac_compiler_gnu=yes 2314 3051 else 2315 - echo "$as_me: failed program was:" >&5 3052 + $as_echo "$as_me: failed program was:" >&5 2316 3053 sed 's/^/| /' conftest.$ac_ext >&5 2317 3054 2318 - ac_compiler_gnu=no 3055 + ac_compiler_gnu=no 2319 3056 fi 2320 - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3057 + 3058 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2321 3059 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2322 3060 2323 3061 fi 2324 - echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2325 - echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2326 - GCC=`test $ac_compiler_gnu = yes && echo yes` 3062 + { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3063 + $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3064 + if test $ac_compiler_gnu = yes; then 3065 + GCC=yes 3066 + else 3067 + GCC= 3068 + fi 2327 3069 ac_test_CFLAGS=${CFLAGS+set} 2328 3070 ac_save_CFLAGS=$CFLAGS 2329 - CFLAGS="-g" 2330 - echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2331 - echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3071 + { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3072 + $as_echo_n "checking whether $CC accepts -g... " >&6; } 2332 3073 if test "${ac_cv_prog_cc_g+set}" = set; then 2333 - echo $ECHO_N "(cached) $ECHO_C" >&6 3074 + $as_echo_n "(cached) " >&6 2334 3075 else 2335 - cat >conftest.$ac_ext <<_ACEOF 3076 + ac_save_c_werror_flag=$ac_c_werror_flag 3077 + ac_c_werror_flag=yes 3078 + ac_cv_prog_cc_g=no 3079 + CFLAGS="-g" 3080 + cat >conftest.$ac_ext <<_ACEOF 2336 3081 /* confdefs.h. */ 2337 3082 _ACEOF 2338 3083 cat confdefs.h >>conftest.$ac_ext ··· 2348 3093 } 2349 3094 _ACEOF 2350 3095 rm -f conftest.$ac_objext 2351 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2352 - (eval $ac_compile) 2>conftest.er1 3096 + if { (ac_try="$ac_compile" 3097 + case "(($ac_try" in 3098 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3099 + *) ac_try_echo=$ac_try;; 3100 + esac 3101 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3102 + $as_echo "$ac_try_echo") >&5 3103 + (eval "$ac_compile") 2>conftest.er1 2353 3104 ac_status=$? 2354 3105 grep -v '^ *+' conftest.er1 >conftest.err 2355 3106 rm -f conftest.er1 2356 3107 cat conftest.err >&5 2357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2358 - (exit $ac_status); } && 2359 - { ac_try='test -z "$ac_c_werror_flag" 2360 - || test ! -s conftest.err' 2361 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2362 - (eval $ac_try) 2>&5 3108 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3109 + (exit $ac_status); } && { 3110 + test -z "$ac_c_werror_flag" || 3111 + test ! -s conftest.err 3112 + } && test -s conftest.$ac_objext; then 3113 + ac_cv_prog_cc_g=yes 3114 + else 3115 + $as_echo "$as_me: failed program was:" >&5 3116 + sed 's/^/| /' conftest.$ac_ext >&5 3117 + 3118 + CFLAGS="" 3119 + cat >conftest.$ac_ext <<_ACEOF 3120 + /* confdefs.h. */ 3121 + _ACEOF 3122 + cat confdefs.h >>conftest.$ac_ext 3123 + cat >>conftest.$ac_ext <<_ACEOF 3124 + /* end confdefs.h. */ 3125 + 3126 + int 3127 + main () 3128 + { 3129 + 3130 + ; 3131 + return 0; 3132 + } 3133 + _ACEOF 3134 + rm -f conftest.$ac_objext 3135 + if { (ac_try="$ac_compile" 3136 + case "(($ac_try" in 3137 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3138 + *) ac_try_echo=$ac_try;; 3139 + esac 3140 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3141 + $as_echo "$ac_try_echo") >&5 3142 + (eval "$ac_compile") 2>conftest.er1 2363 3143 ac_status=$? 2364 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2365 - (exit $ac_status); }; } && 2366 - { ac_try='test -s conftest.$ac_objext' 2367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2368 - (eval $ac_try) 2>&5 3144 + grep -v '^ *+' conftest.er1 >conftest.err 3145 + rm -f conftest.er1 3146 + cat conftest.err >&5 3147 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3148 + (exit $ac_status); } && { 3149 + test -z "$ac_c_werror_flag" || 3150 + test ! -s conftest.err 3151 + } && test -s conftest.$ac_objext; then 3152 + : 3153 + else 3154 + $as_echo "$as_me: failed program was:" >&5 3155 + sed 's/^/| /' conftest.$ac_ext >&5 3156 + 3157 + ac_c_werror_flag=$ac_save_c_werror_flag 3158 + CFLAGS="-g" 3159 + cat >conftest.$ac_ext <<_ACEOF 3160 + /* confdefs.h. */ 3161 + _ACEOF 3162 + cat confdefs.h >>conftest.$ac_ext 3163 + cat >>conftest.$ac_ext <<_ACEOF 3164 + /* end confdefs.h. */ 3165 + 3166 + int 3167 + main () 3168 + { 3169 + 3170 + ; 3171 + return 0; 3172 + } 3173 + _ACEOF 3174 + rm -f conftest.$ac_objext 3175 + if { (ac_try="$ac_compile" 3176 + case "(($ac_try" in 3177 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3178 + *) ac_try_echo=$ac_try;; 3179 + esac 3180 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3181 + $as_echo "$ac_try_echo") >&5 3182 + (eval "$ac_compile") 2>conftest.er1 2369 3183 ac_status=$? 2370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2371 - (exit $ac_status); }; }; then 3184 + grep -v '^ *+' conftest.er1 >conftest.err 3185 + rm -f conftest.er1 3186 + cat conftest.err >&5 3187 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3188 + (exit $ac_status); } && { 3189 + test -z "$ac_c_werror_flag" || 3190 + test ! -s conftest.err 3191 + } && test -s conftest.$ac_objext; then 2372 3192 ac_cv_prog_cc_g=yes 2373 3193 else 2374 - echo "$as_me: failed program was:" >&5 3194 + $as_echo "$as_me: failed program was:" >&5 2375 3195 sed 's/^/| /' conftest.$ac_ext >&5 2376 3196 2377 - ac_cv_prog_cc_g=no 3197 + 3198 + fi 3199 + 3200 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3201 + fi 3202 + 3203 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2378 3204 fi 2379 - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3205 + 3206 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3207 + ac_c_werror_flag=$ac_save_c_werror_flag 2380 3208 fi 2381 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2382 - echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3209 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3210 + $as_echo "$ac_cv_prog_cc_g" >&6; } 2383 3211 if test "$ac_test_CFLAGS" = set; then 2384 3212 CFLAGS=$ac_save_CFLAGS 2385 3213 elif test $ac_cv_prog_cc_g = yes; then ··· 2395 3223 CFLAGS= 2396 3224 fi 2397 3225 fi 2398 - echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2399 - echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2400 - if test "${ac_cv_prog_cc_stdc+set}" = set; then 2401 - echo $ECHO_N "(cached) $ECHO_C" >&6 3226 + { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3227 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3228 + if test "${ac_cv_prog_cc_c89+set}" = set; then 3229 + $as_echo_n "(cached) " >&6 2402 3230 else 2403 - ac_cv_prog_cc_stdc=no 3231 + ac_cv_prog_cc_c89=no 2404 3232 ac_save_CC=$CC 2405 3233 cat >conftest.$ac_ext <<_ACEOF 2406 3234 /* confdefs.h. */ ··· 2434 3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2435 3263 function prototypes and stuff, but not '\xHH' hex character constants. 2436 3264 These don't provoke an error unfortunately, instead are silently treated 2437 - as 'x'. The following induces an error, until -std1 is added to get 3265 + as 'x'. The following induces an error, until -std is added to get 2438 3266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2439 3267 array size at least. It's necessary to write '\x00'==0 to get something 2440 - that's true only with -std1. */ 3268 + that's true only with -std. */ 2441 3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2442 3270 3271 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3272 + inside strings and character constants. */ 3273 + #define FOO(x) 'x' 3274 + int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3275 + 2443 3276 int test (int i, double x); 2444 3277 struct s1 {int (*f) (int a);}; 2445 3278 struct s2 {int (*f) (double a);}; ··· 2454 3287 return 0; 2455 3288 } 2456 3289 _ACEOF 2457 - # Don't try gcc -ansi; that turns off useful extensions and 2458 - # breaks some systems' header files. 2459 - # AIX -qlanglvl=ansi 2460 - # Ultrix and OSF/1 -std1 2461 - # HP-UX 10.20 and later -Ae 2462 - # HP-UX older versions -Aa -D_HPUX_SOURCE 2463 - # SVR4 -Xc -D__EXTENSIONS__ 2464 - for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3290 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3291 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2465 3292 do 2466 3293 CC="$ac_save_CC $ac_arg" 2467 3294 rm -f conftest.$ac_objext 2468 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2469 - (eval $ac_compile) 2>conftest.er1 3295 + if { (ac_try="$ac_compile" 3296 + case "(($ac_try" in 3297 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3298 + *) ac_try_echo=$ac_try;; 3299 + esac 3300 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3301 + $as_echo "$ac_try_echo") >&5 3302 + (eval "$ac_compile") 2>conftest.er1 2470 3303 ac_status=$? 2471 3304 grep -v '^ *+' conftest.er1 >conftest.err 2472 3305 rm -f conftest.er1 2473 3306 cat conftest.err >&5 2474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 - (exit $ac_status); } && 2476 - { ac_try='test -z "$ac_c_werror_flag" 2477 - || test ! -s conftest.err' 2478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2479 - (eval $ac_try) 2>&5 2480 - ac_status=$? 2481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2482 - (exit $ac_status); }; } && 2483 - { ac_try='test -s conftest.$ac_objext' 2484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2485 - (eval $ac_try) 2>&5 2486 - ac_status=$? 2487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2488 - (exit $ac_status); }; }; then 2489 - ac_cv_prog_cc_stdc=$ac_arg 2490 - break 3307 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3308 + (exit $ac_status); } && { 3309 + test -z "$ac_c_werror_flag" || 3310 + test ! -s conftest.err 3311 + } && test -s conftest.$ac_objext; then 3312 + ac_cv_prog_cc_c89=$ac_arg 2491 3313 else 2492 - echo "$as_me: failed program was:" >&5 3314 + $as_echo "$as_me: failed program was:" >&5 2493 3315 sed 's/^/| /' conftest.$ac_ext >&5 2494 3316 3317 + 2495 3318 fi 2496 - rm -f conftest.err conftest.$ac_objext 3319 + 3320 + rm -f core conftest.err conftest.$ac_objext 3321 + test "x$ac_cv_prog_cc_c89" != "xno" && break 2497 3322 done 2498 - rm -f conftest.$ac_ext conftest.$ac_objext 3323 + rm -f conftest.$ac_ext 2499 3324 CC=$ac_save_CC 2500 3325 2501 3326 fi 2502 - 2503 - case "x$ac_cv_prog_cc_stdc" in 2504 - x|xno) 2505 - echo "$as_me:$LINENO: result: none needed" >&5 2506 - echo "${ECHO_T}none needed" >&6 ;; 3327 + # AC_CACHE_VAL 3328 + case "x$ac_cv_prog_cc_c89" in 3329 + x) 3330 + { $as_echo "$as_me:$LINENO: result: none needed" >&5 3331 + $as_echo "none needed" >&6; } ;; 3332 + xno) 3333 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3334 + $as_echo "unsupported" >&6; } ;; 2507 3335 *) 2508 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2509 - echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2510 - CC="$CC $ac_cv_prog_cc_stdc" ;; 3336 + CC="$CC $ac_cv_prog_cc_c89" 3337 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3338 + $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2511 3339 esac 2512 3340 2513 - # Some people use a C++ compiler to compile C. Since we use `exit', 2514 - # in C++ we need to declare it. In case someone uses the same compiler 2515 - # for both compiling C and C++ we need to have the C++ compiler decide 2516 - # the declaration of exit, since it's the most demanding environment. 2517 - cat >conftest.$ac_ext <<_ACEOF 2518 - #ifndef __cplusplus 2519 - choke me 3341 + 3342 + ac_ext=c 3343 + ac_cpp='$CPP $CPPFLAGS' 3344 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3345 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3346 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3347 + 3348 + depcc="$CC" am_compiler_list= 3349 + 3350 + { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3351 + $as_echo_n "checking dependency style of $depcc... " >&6; } 3352 + if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3353 + $as_echo_n "(cached) " >&6 3354 + else 3355 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3356 + # We make a subdir and do the tests there. Otherwise we can end up 3357 + # making bogus files that we don't know about and never remove. For 3358 + # instance it was reported that on HP-UX the gcc test will end up 3359 + # making a dummy file named `D' -- because `-MD' means `put the output 3360 + # in D'. 3361 + mkdir conftest.dir 3362 + # Copy depcomp to subdir because otherwise we won't find it if we're 3363 + # using a relative directory. 3364 + cp "$am_depcomp" conftest.dir 3365 + cd conftest.dir 3366 + # We will build objects and dependencies in a subdirectory because 3367 + # it helps to detect inapplicable dependency modes. For instance 3368 + # both Tru64's cc and ICC support -MD to output dependencies as a 3369 + # side effect of compilation, but ICC will put the dependencies in 3370 + # the current directory while Tru64 will put them in the object 3371 + # directory. 3372 + mkdir sub 3373 + 3374 + am_cv_CC_dependencies_compiler_type=none 3375 + if test "$am_compiler_list" = ""; then 3376 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3377 + fi 3378 + for depmode in $am_compiler_list; do 3379 + # Setup a source with many dependencies, because some compilers 3380 + # like to wrap large dependency lists on column 80 (with \), and 3381 + # we should not choose a depcomp mode which is confused by this. 3382 + # 3383 + # We need to recreate these files for each test, as the compiler may 3384 + # overwrite some of them when testing with obscure command lines. 3385 + # This happens at least with the AIX C compiler. 3386 + : > sub/conftest.c 3387 + for i in 1 2 3 4 5 6; do 3388 + echo '#include "conftst'$i'.h"' >> sub/conftest.c 3389 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3390 + # Solaris 8's {/usr,}/bin/sh. 3391 + touch sub/conftst$i.h 3392 + done 3393 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3394 + 3395 + case $depmode in 3396 + nosideeffect) 3397 + # after this tag, mechanisms are not by side-effect, so they'll 3398 + # only be used when explicitly requested 3399 + if test "x$enable_dependency_tracking" = xyes; then 3400 + continue 3401 + else 3402 + break 3403 + fi 3404 + ;; 3405 + none) break ;; 3406 + esac 3407 + # We check with `-c' and `-o' for the sake of the "dashmstdout" 3408 + # mode. It turns out that the SunPro C++ compiler does not properly 3409 + # handle `-M -o', and we need to detect this. 3410 + if depmode=$depmode \ 3411 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3412 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3413 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3414 + >/dev/null 2>conftest.err && 3415 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3416 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3417 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3418 + # icc doesn't choke on unknown options, it will just issue warnings 3419 + # or remarks (even with -Werror). So we grep stderr for any message 3420 + # that says an option was ignored or not supported. 3421 + # When given -MP, icc 7.0 and 7.1 complain thusly: 3422 + # icc: Command line warning: ignoring option '-M'; no argument required 3423 + # The diagnosis changed in icc 8.0: 3424 + # icc: Command line remark: option '-MP' not supported 3425 + if (grep 'ignoring option' conftest.err || 3426 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3427 + am_cv_CC_dependencies_compiler_type=$depmode 3428 + break 3429 + fi 3430 + fi 3431 + done 3432 + 3433 + cd .. 3434 + rm -rf conftest.dir 3435 + else 3436 + am_cv_CC_dependencies_compiler_type=none 3437 + fi 3438 + 3439 + fi 3440 + { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3441 + $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3442 + CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3443 + 3444 + 3445 + 3446 + if 3447 + test "x$enable_dependency_tracking" != xno \ 3448 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3449 + am__fastdepCC_TRUE= 3450 + am__fastdepCC_FALSE='#' 3451 + else 3452 + am__fastdepCC_TRUE='#' 3453 + am__fastdepCC_FALSE= 3454 + fi 3455 + 3456 + 3457 + 3458 + ac_ext=c 3459 + ac_cpp='$CPP $CPPFLAGS' 3460 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3461 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3462 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3463 + { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3464 + $as_echo_n "checking how to run the C preprocessor... " >&6; } 3465 + # On Suns, sometimes $CPP names a directory. 3466 + if test -n "$CPP" && test -d "$CPP"; then 3467 + CPP= 3468 + fi 3469 + if test -z "$CPP"; then 3470 + if test "${ac_cv_prog_CPP+set}" = set; then 3471 + $as_echo_n "(cached) " >&6 3472 + else 3473 + # Double quotes because CPP needs to be expanded 3474 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3475 + do 3476 + ac_preproc_ok=false 3477 + for ac_c_preproc_warn_flag in '' yes 3478 + do 3479 + # Use a header file that comes with gcc, so configuring glibc 3480 + # with a fresh cross-compiler works. 3481 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3482 + # <limits.h> exists even on freestanding compilers. 3483 + # On the NeXT, cc -E runs the code through the compiler's parser, 3484 + # not just through cpp. "Syntax error" is here to catch this case. 3485 + cat >conftest.$ac_ext <<_ACEOF 3486 + /* confdefs.h. */ 3487 + _ACEOF 3488 + cat confdefs.h >>conftest.$ac_ext 3489 + cat >>conftest.$ac_ext <<_ACEOF 3490 + /* end confdefs.h. */ 3491 + #ifdef __STDC__ 3492 + # include <limits.h> 3493 + #else 3494 + # include <assert.h> 2520 3495 #endif 3496 + Syntax error 2521 3497 _ACEOF 2522 - rm -f conftest.$ac_objext 2523 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2524 - (eval $ac_compile) 2>conftest.er1 3498 + if { (ac_try="$ac_cpp conftest.$ac_ext" 3499 + case "(($ac_try" in 3500 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3501 + *) ac_try_echo=$ac_try;; 3502 + esac 3503 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3504 + $as_echo "$ac_try_echo") >&5 3505 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2525 3506 ac_status=$? 2526 3507 grep -v '^ *+' conftest.er1 >conftest.err 2527 3508 rm -f conftest.er1 2528 3509 cat conftest.err >&5 2529 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2530 - (exit $ac_status); } && 2531 - { ac_try='test -z "$ac_c_werror_flag" 2532 - || test ! -s conftest.err' 2533 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2534 - (eval $ac_try) 2>&5 3510 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 + (exit $ac_status); } >/dev/null && { 3512 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3513 + test ! -s conftest.err 3514 + }; then 3515 + : 3516 + else 3517 + $as_echo "$as_me: failed program was:" >&5 3518 + sed 's/^/| /' conftest.$ac_ext >&5 3519 + 3520 + # Broken: fails on valid input. 3521 + continue 3522 + fi 3523 + 3524 + rm -f conftest.err conftest.$ac_ext 3525 + 3526 + # OK, works on sane cases. Now check whether nonexistent headers 3527 + # can be detected and how. 3528 + cat >conftest.$ac_ext <<_ACEOF 3529 + /* confdefs.h. */ 3530 + _ACEOF 3531 + cat confdefs.h >>conftest.$ac_ext 3532 + cat >>conftest.$ac_ext <<_ACEOF 3533 + /* end confdefs.h. */ 3534 + #include <ac_nonexistent.h> 3535 + _ACEOF 3536 + if { (ac_try="$ac_cpp conftest.$ac_ext" 3537 + case "(($ac_try" in 3538 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3539 + *) ac_try_echo=$ac_try;; 3540 + esac 3541 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3542 + $as_echo "$ac_try_echo") >&5 3543 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2535 3544 ac_status=$? 2536 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 - (exit $ac_status); }; } && 2538 - { ac_try='test -s conftest.$ac_objext' 2539 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2540 - (eval $ac_try) 2>&5 3545 + grep -v '^ *+' conftest.er1 >conftest.err 3546 + rm -f conftest.er1 3547 + cat conftest.err >&5 3548 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3549 + (exit $ac_status); } >/dev/null && { 3550 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3551 + test ! -s conftest.err 3552 + }; then 3553 + # Broken: success on invalid input. 3554 + continue 3555 + else 3556 + $as_echo "$as_me: failed program was:" >&5 3557 + sed 's/^/| /' conftest.$ac_ext >&5 3558 + 3559 + # Passes both tests. 3560 + ac_preproc_ok=: 3561 + break 3562 + fi 3563 + 3564 + rm -f conftest.err conftest.$ac_ext 3565 + 3566 + done 3567 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3568 + rm -f conftest.err conftest.$ac_ext 3569 + if $ac_preproc_ok; then 3570 + break 3571 + fi 3572 + 3573 + done 3574 + ac_cv_prog_CPP=$CPP 3575 + 3576 + fi 3577 + CPP=$ac_cv_prog_CPP 3578 + else 3579 + ac_cv_prog_CPP=$CPP 3580 + fi 3581 + { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3582 + $as_echo "$CPP" >&6; } 3583 + ac_preproc_ok=false 3584 + for ac_c_preproc_warn_flag in '' yes 3585 + do 3586 + # Use a header file that comes with gcc, so configuring glibc 3587 + # with a fresh cross-compiler works. 3588 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3589 + # <limits.h> exists even on freestanding compilers. 3590 + # On the NeXT, cc -E runs the code through the compiler's parser, 3591 + # not just through cpp. "Syntax error" is here to catch this case. 3592 + cat >conftest.$ac_ext <<_ACEOF 3593 + /* confdefs.h. */ 3594 + _ACEOF 3595 + cat confdefs.h >>conftest.$ac_ext 3596 + cat >>conftest.$ac_ext <<_ACEOF 3597 + /* end confdefs.h. */ 3598 + #ifdef __STDC__ 3599 + # include <limits.h> 3600 + #else 3601 + # include <assert.h> 3602 + #endif 3603 + Syntax error 3604 + _ACEOF 3605 + if { (ac_try="$ac_cpp conftest.$ac_ext" 3606 + case "(($ac_try" in 3607 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3608 + *) ac_try_echo=$ac_try;; 3609 + esac 3610 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3611 + $as_echo "$ac_try_echo") >&5 3612 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2541 3613 ac_status=$? 2542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2543 - (exit $ac_status); }; }; then 2544 - for ac_declaration in \ 2545 - '' \ 2546 - 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2547 - 'extern "C" void std::exit (int); using std::exit;' \ 2548 - 'extern "C" void exit (int) throw ();' \ 2549 - 'extern "C" void exit (int);' \ 2550 - 'void exit (int);' 3614 + grep -v '^ *+' conftest.er1 >conftest.err 3615 + rm -f conftest.er1 3616 + cat conftest.err >&5 3617 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3618 + (exit $ac_status); } >/dev/null && { 3619 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3620 + test ! -s conftest.err 3621 + }; then 3622 + : 3623 + else 3624 + $as_echo "$as_me: failed program was:" >&5 3625 + sed 's/^/| /' conftest.$ac_ext >&5 3626 + 3627 + # Broken: fails on valid input. 3628 + continue 3629 + fi 3630 + 3631 + rm -f conftest.err conftest.$ac_ext 3632 + 3633 + # OK, works on sane cases. Now check whether nonexistent headers 3634 + # can be detected and how. 3635 + cat >conftest.$ac_ext <<_ACEOF 3636 + /* confdefs.h. */ 3637 + _ACEOF 3638 + cat confdefs.h >>conftest.$ac_ext 3639 + cat >>conftest.$ac_ext <<_ACEOF 3640 + /* end confdefs.h. */ 3641 + #include <ac_nonexistent.h> 3642 + _ACEOF 3643 + if { (ac_try="$ac_cpp conftest.$ac_ext" 3644 + case "(($ac_try" in 3645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3646 + *) ac_try_echo=$ac_try;; 3647 + esac 3648 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3649 + $as_echo "$ac_try_echo") >&5 3650 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3651 + ac_status=$? 3652 + grep -v '^ *+' conftest.er1 >conftest.err 3653 + rm -f conftest.er1 3654 + cat conftest.err >&5 3655 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3656 + (exit $ac_status); } >/dev/null && { 3657 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3658 + test ! -s conftest.err 3659 + }; then 3660 + # Broken: success on invalid input. 3661 + continue 3662 + else 3663 + $as_echo "$as_me: failed program was:" >&5 3664 + sed 's/^/| /' conftest.$ac_ext >&5 3665 + 3666 + # Passes both tests. 3667 + ac_preproc_ok=: 3668 + break 3669 + fi 3670 + 3671 + rm -f conftest.err conftest.$ac_ext 3672 + 3673 + done 3674 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3675 + rm -f conftest.err conftest.$ac_ext 3676 + if $ac_preproc_ok; then 3677 + : 3678 + else 3679 + { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3680 + See \`config.log' for more details." >&5 3681 + $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3682 + See \`config.log' for more details." >&2;} 3683 + { (exit 1); exit 1; }; } 3684 + fi 3685 + 3686 + ac_ext=c 3687 + ac_cpp='$CPP $CPPFLAGS' 3688 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3689 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3690 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 3691 + 3692 + 3693 + { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3694 + $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3695 + if test "${ac_cv_path_GREP+set}" = set; then 3696 + $as_echo_n "(cached) " >&6 3697 + else 3698 + if test -z "$GREP"; then 3699 + ac_path_GREP_found=false 3700 + # Loop through the user's path and test for each of PROGNAME-LIST 3701 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3702 + for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2551 3703 do 3704 + IFS=$as_save_IFS 3705 + test -z "$as_dir" && as_dir=. 3706 + for ac_prog in grep ggrep; do 3707 + for ac_exec_ext in '' $ac_executable_extensions; do 3708 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3709 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3710 + # Check for GNU ac_path_GREP and select it if it is found. 3711 + # Check for GNU $ac_path_GREP 3712 + case `"$ac_path_GREP" --version 2>&1` in 3713 + *GNU*) 3714 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3715 + *) 3716 + ac_count=0 3717 + $as_echo_n 0123456789 >"conftest.in" 3718 + while : 3719 + do 3720 + cat "conftest.in" "conftest.in" >"conftest.tmp" 3721 + mv "conftest.tmp" "conftest.in" 3722 + cp "conftest.in" "conftest.nl" 3723 + $as_echo 'GREP' >> "conftest.nl" 3724 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3725 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3726 + ac_count=`expr $ac_count + 1` 3727 + if test $ac_count -gt ${ac_path_GREP_max-0}; then 3728 + # Best one so far, save it but keep looking for a better one 3729 + ac_cv_path_GREP="$ac_path_GREP" 3730 + ac_path_GREP_max=$ac_count 3731 + fi 3732 + # 10*(2^10) chars as input seems more than enough 3733 + test $ac_count -gt 10 && break 3734 + done 3735 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3736 + esac 3737 + 3738 + $ac_path_GREP_found && break 3 3739 + done 3740 + done 3741 + done 3742 + IFS=$as_save_IFS 3743 + if test -z "$ac_cv_path_GREP"; then 3744 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3745 + $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3746 + { (exit 1); exit 1; }; } 3747 + fi 3748 + else 3749 + ac_cv_path_GREP=$GREP 3750 + fi 3751 + 3752 + fi 3753 + { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3754 + $as_echo "$ac_cv_path_GREP" >&6; } 3755 + GREP="$ac_cv_path_GREP" 3756 + 3757 + 3758 + { $as_echo "$as_me:$LINENO: checking for egrep" >&5 3759 + $as_echo_n "checking for egrep... " >&6; } 3760 + if test "${ac_cv_path_EGREP+set}" = set; then 3761 + $as_echo_n "(cached) " >&6 3762 + else 3763 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3764 + then ac_cv_path_EGREP="$GREP -E" 3765 + else 3766 + if test -z "$EGREP"; then 3767 + ac_path_EGREP_found=false 3768 + # Loop through the user's path and test for each of PROGNAME-LIST 3769 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3770 + for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3771 + do 3772 + IFS=$as_save_IFS 3773 + test -z "$as_dir" && as_dir=. 3774 + for ac_prog in egrep; do 3775 + for ac_exec_ext in '' $ac_executable_extensions; do 3776 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3777 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3778 + # Check for GNU ac_path_EGREP and select it if it is found. 3779 + # Check for GNU $ac_path_EGREP 3780 + case `"$ac_path_EGREP" --version 2>&1` in 3781 + *GNU*) 3782 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3783 + *) 3784 + ac_count=0 3785 + $as_echo_n 0123456789 >"conftest.in" 3786 + while : 3787 + do 3788 + cat "conftest.in" "conftest.in" >"conftest.tmp" 3789 + mv "conftest.tmp" "conftest.in" 3790 + cp "conftest.in" "conftest.nl" 3791 + $as_echo 'EGREP' >> "conftest.nl" 3792 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3793 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3794 + ac_count=`expr $ac_count + 1` 3795 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3796 + # Best one so far, save it but keep looking for a better one 3797 + ac_cv_path_EGREP="$ac_path_EGREP" 3798 + ac_path_EGREP_max=$ac_count 3799 + fi 3800 + # 10*(2^10) chars as input seems more than enough 3801 + test $ac_count -gt 10 && break 3802 + done 3803 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3804 + esac 3805 + 3806 + $ac_path_EGREP_found && break 3 3807 + done 3808 + done 3809 + done 3810 + IFS=$as_save_IFS 3811 + if test -z "$ac_cv_path_EGREP"; then 3812 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3813 + $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3814 + { (exit 1); exit 1; }; } 3815 + fi 3816 + else 3817 + ac_cv_path_EGREP=$EGREP 3818 + fi 3819 + 3820 + fi 3821 + fi 3822 + { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3823 + $as_echo "$ac_cv_path_EGREP" >&6; } 3824 + EGREP="$ac_cv_path_EGREP" 3825 + 3826 + 3827 + { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3828 + $as_echo_n "checking for ANSI C header files... " >&6; } 3829 + if test "${ac_cv_header_stdc+set}" = set; then 3830 + $as_echo_n "(cached) " >&6 3831 + else 2552 3832 cat >conftest.$ac_ext <<_ACEOF 2553 3833 /* confdefs.h. */ 2554 3834 _ACEOF 2555 3835 cat confdefs.h >>conftest.$ac_ext 2556 3836 cat >>conftest.$ac_ext <<_ACEOF 2557 3837 /* end confdefs.h. */ 2558 - $ac_declaration 2559 3838 #include <stdlib.h> 3839 + #include <stdarg.h> 3840 + #include <string.h> 3841 + #include <float.h> 3842 + 2560 3843 int 2561 3844 main () 2562 3845 { 2563 - exit (42); 3846 + 2564 3847 ; 2565 3848 return 0; 2566 3849 } 2567 3850 _ACEOF 2568 3851 rm -f conftest.$ac_objext 2569 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2570 - (eval $ac_compile) 2>conftest.er1 3852 + if { (ac_try="$ac_compile" 3853 + case "(($ac_try" in 3854 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3855 + *) ac_try_echo=$ac_try;; 3856 + esac 3857 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3858 + $as_echo "$ac_try_echo") >&5 3859 + (eval "$ac_compile") 2>conftest.er1 2571 3860 ac_status=$? 2572 3861 grep -v '^ *+' conftest.er1 >conftest.err 2573 3862 rm -f conftest.er1 2574 3863 cat conftest.err >&5 2575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2576 - (exit $ac_status); } && 2577 - { ac_try='test -z "$ac_c_werror_flag" 2578 - || test ! -s conftest.err' 2579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2580 - (eval $ac_try) 2>&5 3864 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 + (exit $ac_status); } && { 3866 + test -z "$ac_c_werror_flag" || 3867 + test ! -s conftest.err 3868 + } && test -s conftest.$ac_objext; then 3869 + ac_cv_header_stdc=yes 3870 + else 3871 + $as_echo "$as_me: failed program was:" >&5 3872 + sed 's/^/| /' conftest.$ac_ext >&5 3873 + 3874 + ac_cv_header_stdc=no 3875 + fi 3876 + 3877 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3878 + 3879 + if test $ac_cv_header_stdc = yes; then 3880 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3881 + cat >conftest.$ac_ext <<_ACEOF 3882 + /* confdefs.h. */ 3883 + _ACEOF 3884 + cat confdefs.h >>conftest.$ac_ext 3885 + cat >>conftest.$ac_ext <<_ACEOF 3886 + /* end confdefs.h. */ 3887 + #include <string.h> 3888 + 3889 + _ACEOF 3890 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3891 + $EGREP "memchr" >/dev/null 2>&1; then 3892 + : 3893 + else 3894 + ac_cv_header_stdc=no 3895 + fi 3896 + rm -f conftest* 3897 + 3898 + fi 3899 + 3900 + if test $ac_cv_header_stdc = yes; then 3901 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3902 + cat >conftest.$ac_ext <<_ACEOF 3903 + /* confdefs.h. */ 3904 + _ACEOF 3905 + cat confdefs.h >>conftest.$ac_ext 3906 + cat >>conftest.$ac_ext <<_ACEOF 3907 + /* end confdefs.h. */ 3908 + #include <stdlib.h> 3909 + 3910 + _ACEOF 3911 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3912 + $EGREP "free" >/dev/null 2>&1; then 3913 + : 3914 + else 3915 + ac_cv_header_stdc=no 3916 + fi 3917 + rm -f conftest* 3918 + 3919 + fi 3920 + 3921 + if test $ac_cv_header_stdc = yes; then 3922 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3923 + if test "$cross_compiling" = yes; then 3924 + : 3925 + else 3926 + cat >conftest.$ac_ext <<_ACEOF 3927 + /* confdefs.h. */ 3928 + _ACEOF 3929 + cat confdefs.h >>conftest.$ac_ext 3930 + cat >>conftest.$ac_ext <<_ACEOF 3931 + /* end confdefs.h. */ 3932 + #include <ctype.h> 3933 + #include <stdlib.h> 3934 + #if ((' ' & 0x0FF) == 0x020) 3935 + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3936 + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3937 + #else 3938 + # define ISLOWER(c) \ 3939 + (('a' <= (c) && (c) <= 'i') \ 3940 + || ('j' <= (c) && (c) <= 'r') \ 3941 + || ('s' <= (c) && (c) <= 'z')) 3942 + # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3943 + #endif 3944 + 3945 + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3946 + int 3947 + main () 3948 + { 3949 + int i; 3950 + for (i = 0; i < 256; i++) 3951 + if (XOR (islower (i), ISLOWER (i)) 3952 + || toupper (i) != TOUPPER (i)) 3953 + return 2; 3954 + return 0; 3955 + } 3956 + _ACEOF 3957 + rm -f conftest$ac_exeext 3958 + if { (ac_try="$ac_link" 3959 + case "(($ac_try" in 3960 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3961 + *) ac_try_echo=$ac_try;; 3962 + esac 3963 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3964 + $as_echo "$ac_try_echo") >&5 3965 + (eval "$ac_link") 2>&5 2581 3966 ac_status=$? 2582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2583 - (exit $ac_status); }; } && 2584 - { ac_try='test -s conftest.$ac_objext' 2585 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2586 - (eval $ac_try) 2>&5 3967 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3968 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3969 + { (case "(($ac_try" in 3970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3971 + *) ac_try_echo=$ac_try;; 3972 + esac 3973 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3974 + $as_echo "$ac_try_echo") >&5 3975 + (eval "$ac_try") 2>&5 2587 3976 ac_status=$? 2588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 3977 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2589 3978 (exit $ac_status); }; }; then 2590 3979 : 2591 3980 else 2592 - echo "$as_me: failed program was:" >&5 3981 + $as_echo "$as_me: program exited with status $ac_status" >&5 3982 + $as_echo "$as_me: failed program was:" >&5 2593 3983 sed 's/^/| /' conftest.$ac_ext >&5 2594 3984 2595 - continue 3985 + ( exit $ac_status ) 3986 + ac_cv_header_stdc=no 3987 + fi 3988 + rm -rf conftest.dSYM 3989 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3990 + fi 3991 + 3992 + 3993 + fi 3994 + fi 3995 + { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3996 + $as_echo "$ac_cv_header_stdc" >&6; } 3997 + if test $ac_cv_header_stdc = yes; then 3998 + 3999 + cat >>confdefs.h <<\_ACEOF 4000 + #define STDC_HEADERS 1 4001 + _ACEOF 4002 + 2596 4003 fi 2597 - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4004 + 4005 + # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4006 + 4007 + 4008 + 4009 + 4010 + 4011 + 4012 + 4013 + 4014 + 4015 + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4016 + inttypes.h stdint.h unistd.h 4017 + do 4018 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4019 + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4020 + $as_echo_n "checking for $ac_header... " >&6; } 4021 + if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4022 + $as_echo_n "(cached) " >&6 4023 + else 2598 4024 cat >conftest.$ac_ext <<_ACEOF 2599 4025 /* confdefs.h. */ 2600 4026 _ACEOF 2601 4027 cat confdefs.h >>conftest.$ac_ext 2602 4028 cat >>conftest.$ac_ext <<_ACEOF 2603 4029 /* end confdefs.h. */ 2604 - $ac_declaration 4030 + $ac_includes_default 4031 + 4032 + #include <$ac_header> 4033 + _ACEOF 4034 + rm -f conftest.$ac_objext 4035 + if { (ac_try="$ac_compile" 4036 + case "(($ac_try" in 4037 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4038 + *) ac_try_echo=$ac_try;; 4039 + esac 4040 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4041 + $as_echo "$ac_try_echo") >&5 4042 + (eval "$ac_compile") 2>conftest.er1 4043 + ac_status=$? 4044 + grep -v '^ *+' conftest.er1 >conftest.err 4045 + rm -f conftest.er1 4046 + cat conftest.err >&5 4047 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4048 + (exit $ac_status); } && { 4049 + test -z "$ac_c_werror_flag" || 4050 + test ! -s conftest.err 4051 + } && test -s conftest.$ac_objext; then 4052 + eval "$as_ac_Header=yes" 4053 + else 4054 + $as_echo "$as_me: failed program was:" >&5 4055 + sed 's/^/| /' conftest.$ac_ext >&5 4056 + 4057 + eval "$as_ac_Header=no" 4058 + fi 4059 + 4060 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4061 + fi 4062 + ac_res=`eval 'as_val=${'$as_ac_Header'} 4063 + $as_echo "$as_val"'` 4064 + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4065 + $as_echo "$ac_res" >&6; } 4066 + if test `eval 'as_val=${'$as_ac_Header'} 4067 + $as_echo "$as_val"'` = yes; then 4068 + cat >>confdefs.h <<_ACEOF 4069 + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4070 + _ACEOF 4071 + 4072 + fi 4073 + 4074 + done 4075 + 4076 + 4077 + { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 4078 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4079 + if test "${ac_cv_prog_cc_c99+set}" = set; then 4080 + $as_echo_n "(cached) " >&6 4081 + else 4082 + ac_cv_prog_cc_c99=no 4083 + ac_save_CC=$CC 4084 + cat >conftest.$ac_ext <<_ACEOF 4085 + /* confdefs.h. */ 4086 + _ACEOF 4087 + cat confdefs.h >>conftest.$ac_ext 4088 + cat >>conftest.$ac_ext <<_ACEOF 4089 + /* end confdefs.h. */ 4090 + #include <stdarg.h> 4091 + #include <stdbool.h> 4092 + #include <stdlib.h> 4093 + #include <wchar.h> 4094 + #include <stdio.h> 4095 + 4096 + // Check varargs macros. These examples are taken from C99 6.10.3.5. 4097 + #define debug(...) fprintf (stderr, __VA_ARGS__) 4098 + #define showlist(...) puts (#__VA_ARGS__) 4099 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4100 + static void 4101 + test_varargs_macros (void) 4102 + { 4103 + int x = 1234; 4104 + int y = 5678; 4105 + debug ("Flag"); 4106 + debug ("X = %d\n", x); 4107 + showlist (The first, second, and third items.); 4108 + report (x>y, "x is %d but y is %d", x, y); 4109 + } 4110 + 4111 + // Check long long types. 4112 + #define BIG64 18446744073709551615ull 4113 + #define BIG32 4294967295ul 4114 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4115 + #if !BIG_OK 4116 + your preprocessor is broken; 4117 + #endif 4118 + #if BIG_OK 4119 + #else 4120 + your preprocessor is broken; 4121 + #endif 4122 + static long long int bignum = -9223372036854775807LL; 4123 + static unsigned long long int ubignum = BIG64; 4124 + 4125 + struct incomplete_array 4126 + { 4127 + int datasize; 4128 + double data[]; 4129 + }; 4130 + 4131 + struct named_init { 4132 + int number; 4133 + const wchar_t *name; 4134 + double average; 4135 + }; 4136 + 4137 + typedef const char *ccp; 4138 + 4139 + static inline int 4140 + test_restrict (ccp restrict text) 4141 + { 4142 + // See if C++-style comments work. 4143 + // Iterate through items via the restricted pointer. 4144 + // Also check for declarations in for loops. 4145 + for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4146 + continue; 4147 + return 0; 4148 + } 4149 + 4150 + // Check varargs and va_copy. 4151 + static void 4152 + test_varargs (const char *format, ...) 4153 + { 4154 + va_list args; 4155 + va_start (args, format); 4156 + va_list args_copy; 4157 + va_copy (args_copy, args); 4158 + 4159 + const char *str; 4160 + int number; 4161 + float fnumber; 4162 + 4163 + while (*format) 4164 + { 4165 + switch (*format++) 4166 + { 4167 + case 's': // string 4168 + str = va_arg (args_copy, const char *); 4169 + break; 4170 + case 'd': // int 4171 + number = va_arg (args_copy, int); 4172 + break; 4173 + case 'f': // float 4174 + fnumber = va_arg (args_copy, double); 4175 + break; 4176 + default: 4177 + break; 4178 + } 4179 + } 4180 + va_end (args_copy); 4181 + va_end (args); 4182 + } 4183 + 2605 4184 int 2606 4185 main () 2607 4186 { 2608 - exit (42); 4187 + 4188 + // Check bool. 4189 + _Bool success = false; 4190 + 4191 + // Check restrict. 4192 + if (test_restrict ("String literal") == 0) 4193 + success = true; 4194 + char *restrict newvar = "Another string"; 4195 + 4196 + // Check varargs. 4197 + test_varargs ("s, d' f .", "string", 65, 34.234); 4198 + test_varargs_macros (); 4199 + 4200 + // Check flexible array members. 4201 + struct incomplete_array *ia = 4202 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4203 + ia->datasize = 10; 4204 + for (int i = 0; i < ia->datasize; ++i) 4205 + ia->data[i] = i * 1.234; 4206 + 4207 + // Check named initializers. 4208 + struct named_init ni = { 4209 + .number = 34, 4210 + .name = L"Test wide string", 4211 + .average = 543.34343, 4212 + }; 4213 + 4214 + ni.number = 58; 4215 + 4216 + int dynamic_array[ni.number]; 4217 + dynamic_array[ni.number - 1] = 543; 4218 + 4219 + // work around unused variable warnings 4220 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4221 + || dynamic_array[ni.number - 1] != 543); 4222 + 2609 4223 ; 2610 4224 return 0; 2611 4225 } 2612 4226 _ACEOF 2613 - rm -f conftest.$ac_objext 2614 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2615 - (eval $ac_compile) 2>conftest.er1 4227 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4228 + do 4229 + CC="$ac_save_CC $ac_arg" 4230 + rm -f conftest.$ac_objext 4231 + if { (ac_try="$ac_compile" 4232 + case "(($ac_try" in 4233 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4234 + *) ac_try_echo=$ac_try;; 4235 + esac 4236 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4237 + $as_echo "$ac_try_echo") >&5 4238 + (eval "$ac_compile") 2>conftest.er1 2616 4239 ac_status=$? 2617 4240 grep -v '^ *+' conftest.er1 >conftest.err 2618 4241 rm -f conftest.er1 2619 4242 cat conftest.err >&5 2620 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2621 - (exit $ac_status); } && 2622 - { ac_try='test -z "$ac_c_werror_flag" 2623 - || test ! -s conftest.err' 2624 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2625 - (eval $ac_try) 2>&5 4243 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4244 + (exit $ac_status); } && { 4245 + test -z "$ac_c_werror_flag" || 4246 + test ! -s conftest.err 4247 + } && test -s conftest.$ac_objext; then 4248 + ac_cv_prog_cc_c99=$ac_arg 4249 + else 4250 + $as_echo "$as_me: failed program was:" >&5 4251 + sed 's/^/| /' conftest.$ac_ext >&5 4252 + 4253 + 4254 + fi 4255 + 4256 + rm -f core conftest.err conftest.$ac_objext 4257 + test "x$ac_cv_prog_cc_c99" != "xno" && break 4258 + done 4259 + rm -f conftest.$ac_ext 4260 + CC=$ac_save_CC 4261 + 4262 + fi 4263 + # AC_CACHE_VAL 4264 + case "x$ac_cv_prog_cc_c99" in 4265 + x) 4266 + { $as_echo "$as_me:$LINENO: result: none needed" >&5 4267 + $as_echo "none needed" >&6; } ;; 4268 + xno) 4269 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4270 + $as_echo "unsupported" >&6; } ;; 4271 + *) 4272 + CC="$CC $ac_cv_prog_cc_c99" 4273 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 4274 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4275 + esac 4276 + 4277 + 4278 + 4279 + 4280 + 4281 + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4282 + if test -n "$ac_tool_prefix"; then 4283 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4284 + set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4285 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4286 + $as_echo_n "checking for $ac_word... " >&6; } 4287 + if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4288 + $as_echo_n "(cached) " >&6 4289 + else 4290 + case $PKG_CONFIG in 4291 + [\\/]* | ?:[\\/]*) 4292 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4293 + ;; 4294 + *) 4295 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296 + for as_dir in $PATH 4297 + do 4298 + IFS=$as_save_IFS 4299 + test -z "$as_dir" && as_dir=. 4300 + for ac_exec_ext in '' $ac_executable_extensions; do 4301 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4302 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4303 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4304 + break 2 4305 + fi 4306 + done 4307 + done 4308 + IFS=$as_save_IFS 4309 + 4310 + ;; 4311 + esac 4312 + fi 4313 + PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4314 + if test -n "$PKG_CONFIG"; then 4315 + { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4316 + $as_echo "$PKG_CONFIG" >&6; } 4317 + else 4318 + { $as_echo "$as_me:$LINENO: result: no" >&5 4319 + $as_echo "no" >&6; } 4320 + fi 4321 + 4322 + 4323 + fi 4324 + if test -z "$ac_cv_path_PKG_CONFIG"; then 4325 + ac_pt_PKG_CONFIG=$PKG_CONFIG 4326 + # Extract the first word of "pkg-config", so it can be a program name with args. 4327 + set dummy pkg-config; ac_word=$2 4328 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4329 + $as_echo_n "checking for $ac_word... " >&6; } 4330 + if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4331 + $as_echo_n "(cached) " >&6 4332 + else 4333 + case $ac_pt_PKG_CONFIG in 4334 + [\\/]* | ?:[\\/]*) 4335 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4336 + ;; 4337 + *) 4338 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4339 + for as_dir in $PATH 4340 + do 4341 + IFS=$as_save_IFS 4342 + test -z "$as_dir" && as_dir=. 4343 + for ac_exec_ext in '' $ac_executable_extensions; do 4344 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4345 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4346 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4347 + break 2 4348 + fi 4349 + done 4350 + done 4351 + IFS=$as_save_IFS 4352 + 4353 + ;; 4354 + esac 4355 + fi 4356 + ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4357 + if test -n "$ac_pt_PKG_CONFIG"; then 4358 + { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4359 + $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4360 + else 4361 + { $as_echo "$as_me:$LINENO: result: no" >&5 4362 + $as_echo "no" >&6; } 4363 + fi 4364 + 4365 + if test "x$ac_pt_PKG_CONFIG" = x; then 4366 + PKG_CONFIG="" 4367 + else 4368 + case $cross_compiling:$ac_tool_warned in 4369 + yes:) 4370 + { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4371 + whose name does not start with the host triplet. If you think this 4372 + configuration is useful to you, please write to autoconf@gnu.org." >&5 4373 + $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4374 + whose name does not start with the host triplet. If you think this 4375 + configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4376 + ac_tool_warned=yes ;; 4377 + esac 4378 + PKG_CONFIG=$ac_pt_PKG_CONFIG 4379 + fi 4380 + else 4381 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4382 + fi 4383 + 4384 + fi 4385 + if test -n "$PKG_CONFIG"; then 4386 + _pkg_min_version=0.9.0 4387 + { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4388 + $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4389 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4390 + { $as_echo "$as_me:$LINENO: result: yes" >&5 4391 + $as_echo "yes" >&6; } 4392 + else 4393 + { $as_echo "$as_me:$LINENO: result: no" >&5 4394 + $as_echo "no" >&6; } 4395 + PKG_CONFIG="" 4396 + fi 4397 + 4398 + fi 4399 + # Make sure we can run config.sub. 4400 + $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4401 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4402 + $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4403 + { (exit 1); exit 1; }; } 4404 + 4405 + { $as_echo "$as_me:$LINENO: checking build system type" >&5 4406 + $as_echo_n "checking build system type... " >&6; } 4407 + if test "${ac_cv_build+set}" = set; then 4408 + $as_echo_n "(cached) " >&6 4409 + else 4410 + ac_build_alias=$build_alias 4411 + test "x$ac_build_alias" = x && 4412 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4413 + test "x$ac_build_alias" = x && 4414 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4415 + $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4416 + { (exit 1); exit 1; }; } 4417 + ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4418 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4419 + $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4420 + { (exit 1); exit 1; }; } 4421 + 4422 + fi 4423 + { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4424 + $as_echo "$ac_cv_build" >&6; } 4425 + case $ac_cv_build in 4426 + *-*-*) ;; 4427 + *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4428 + $as_echo "$as_me: error: invalid value of canonical build" >&2;} 4429 + { (exit 1); exit 1; }; };; 4430 + esac 4431 + build=$ac_cv_build 4432 + ac_save_IFS=$IFS; IFS='-' 4433 + set x $ac_cv_build 4434 + shift 4435 + build_cpu=$1 4436 + build_vendor=$2 4437 + shift; shift 4438 + # Remember, the first character of IFS is used to create $*, 4439 + # except with old shells: 4440 + build_os=$* 4441 + IFS=$ac_save_IFS 4442 + case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4443 + 4444 + 4445 + { $as_echo "$as_me:$LINENO: checking host system type" >&5 4446 + $as_echo_n "checking host system type... " >&6; } 4447 + if test "${ac_cv_host+set}" = set; then 4448 + $as_echo_n "(cached) " >&6 4449 + else 4450 + if test "x$host_alias" = x; then 4451 + ac_cv_host=$ac_cv_build 4452 + else 4453 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4454 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4455 + $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4456 + { (exit 1); exit 1; }; } 4457 + fi 4458 + 4459 + fi 4460 + { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4461 + $as_echo "$ac_cv_host" >&6; } 4462 + case $ac_cv_host in 4463 + *-*-*) ;; 4464 + *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4465 + $as_echo "$as_me: error: invalid value of canonical host" >&2;} 4466 + { (exit 1); exit 1; }; };; 4467 + esac 4468 + host=$ac_cv_host 4469 + ac_save_IFS=$IFS; IFS='-' 4470 + set x $ac_cv_host 4471 + shift 4472 + host_cpu=$1 4473 + host_vendor=$2 4474 + shift; shift 4475 + # Remember, the first character of IFS is used to create $*, 4476 + # except with old shells: 4477 + host_os=$* 4478 + IFS=$ac_save_IFS 4479 + case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4480 + 4481 + 4482 + 4483 + 4484 + 4485 + if test "x$GCC" = xyes ; then 4486 + CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4487 + -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4488 + -Wbad-function-cast -Wformat=2" 4489 + case `$CC -dumpversion` in 4490 + 3.4.* | 4.*) 4491 + CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4492 + ;; 4493 + esac 4494 + else 4495 + { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4496 + $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4497 + if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4498 + $as_echo_n "(cached) " >&6 4499 + else 4500 + cat >conftest.$ac_ext <<_ACEOF 4501 + /* confdefs.h. */ 4502 + _ACEOF 4503 + cat confdefs.h >>conftest.$ac_ext 4504 + cat >>conftest.$ac_ext <<_ACEOF 4505 + /* end confdefs.h. */ 4506 + $ac_includes_default 4507 + int 4508 + main () 4509 + { 4510 + #ifndef __SUNPRO_C 4511 + (void) __SUNPRO_C; 4512 + #endif 4513 + 4514 + ; 4515 + return 0; 4516 + } 4517 + _ACEOF 4518 + rm -f conftest.$ac_objext 4519 + if { (ac_try="$ac_compile" 4520 + case "(($ac_try" in 4521 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4522 + *) ac_try_echo=$ac_try;; 4523 + esac 4524 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4525 + $as_echo "$ac_try_echo") >&5 4526 + (eval "$ac_compile") 2>conftest.er1 2626 4527 ac_status=$? 2627 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2628 - (exit $ac_status); }; } && 2629 - { ac_try='test -s conftest.$ac_objext' 2630 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2631 - (eval $ac_try) 2>&5 4528 + grep -v '^ *+' conftest.er1 >conftest.err 4529 + rm -f conftest.er1 4530 + cat conftest.err >&5 4531 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4532 + (exit $ac_status); } && { 4533 + test -z "$ac_c_werror_flag" || 4534 + test ! -s conftest.err 4535 + } && test -s conftest.$ac_objext; then 4536 + ac_cv_have_decl___SUNPRO_C=yes 4537 + else 4538 + $as_echo "$as_me: failed program was:" >&5 4539 + sed 's/^/| /' conftest.$ac_ext >&5 4540 + 4541 + ac_cv_have_decl___SUNPRO_C=no 4542 + fi 4543 + 4544 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4545 + fi 4546 + { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4547 + $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4548 + if test $ac_cv_have_decl___SUNPRO_C = yes; then 4549 + SUNCC="yes" 4550 + else 4551 + SUNCC="no" 4552 + fi 4553 + 4554 + if test "x$SUNCC" = "xyes"; then 4555 + CWARNFLAGS="-v" 4556 + fi 4557 + fi 4558 + 4559 + 4560 + 4561 + 4562 + 4563 + 4564 + 4565 + # Check whether --enable-strict-compilation was given. 4566 + if test "${enable_strict_compilation+set}" = set; then 4567 + enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4568 + else 4569 + STRICT_COMPILE=no 4570 + fi 4571 + 4572 + if test "x$STRICT_COMPILE" = "xyes"; then 4573 + { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4574 + $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4575 + if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4576 + $as_echo_n "(cached) " >&6 4577 + else 4578 + cat >conftest.$ac_ext <<_ACEOF 4579 + /* confdefs.h. */ 4580 + _ACEOF 4581 + cat confdefs.h >>conftest.$ac_ext 4582 + cat >>conftest.$ac_ext <<_ACEOF 4583 + /* end confdefs.h. */ 4584 + $ac_includes_default 4585 + int 4586 + main () 4587 + { 4588 + #ifndef __SUNPRO_C 4589 + (void) __SUNPRO_C; 4590 + #endif 4591 + 4592 + ; 4593 + return 0; 4594 + } 4595 + _ACEOF 4596 + rm -f conftest.$ac_objext 4597 + if { (ac_try="$ac_compile" 4598 + case "(($ac_try" in 4599 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4600 + *) ac_try_echo=$ac_try;; 4601 + esac 4602 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4603 + $as_echo "$ac_try_echo") >&5 4604 + (eval "$ac_compile") 2>conftest.er1 2632 4605 ac_status=$? 2633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 2634 - (exit $ac_status); }; }; then 2635 - break 4606 + grep -v '^ *+' conftest.er1 >conftest.err 4607 + rm -f conftest.er1 4608 + cat conftest.err >&5 4609 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4610 + (exit $ac_status); } && { 4611 + test -z "$ac_c_werror_flag" || 4612 + test ! -s conftest.err 4613 + } && test -s conftest.$ac_objext; then 4614 + ac_cv_have_decl___SUNPRO_C=yes 2636 4615 else 2637 - echo "$as_me: failed program was:" >&5 4616 + $as_echo "$as_me: failed program was:" >&5 2638 4617 sed 's/^/| /' conftest.$ac_ext >&5 2639 4618 4619 + ac_cv_have_decl___SUNPRO_C=no 2640 4620 fi 2641 - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2642 - done 2643 - rm -f conftest* 2644 - if test -n "$ac_declaration"; then 2645 - echo '#ifdef __cplusplus' >>confdefs.h 2646 - echo $ac_declaration >>confdefs.h 2647 - echo '#endif' >>confdefs.h 4621 + 4622 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4623 + fi 4624 + { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4625 + $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4626 + if test $ac_cv_have_decl___SUNPRO_C = yes; then 4627 + SUNCC="yes" 4628 + else 4629 + SUNCC="no" 2648 4630 fi 2649 4631 4632 + { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 4633 + $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 4634 + if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 4635 + $as_echo_n "(cached) " >&6 2650 4636 else 2651 - echo "$as_me: failed program was:" >&5 4637 + cat >conftest.$ac_ext <<_ACEOF 4638 + /* confdefs.h. */ 4639 + _ACEOF 4640 + cat confdefs.h >>conftest.$ac_ext 4641 + cat >>conftest.$ac_ext <<_ACEOF 4642 + /* end confdefs.h. */ 4643 + $ac_includes_default 4644 + int 4645 + main () 4646 + { 4647 + #ifndef __INTEL_COMPILER 4648 + (void) __INTEL_COMPILER; 4649 + #endif 4650 + 4651 + ; 4652 + return 0; 4653 + } 4654 + _ACEOF 4655 + rm -f conftest.$ac_objext 4656 + if { (ac_try="$ac_compile" 4657 + case "(($ac_try" in 4658 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4659 + *) ac_try_echo=$ac_try;; 4660 + esac 4661 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4662 + $as_echo "$ac_try_echo") >&5 4663 + (eval "$ac_compile") 2>conftest.er1 4664 + ac_status=$? 4665 + grep -v '^ *+' conftest.er1 >conftest.err 4666 + rm -f conftest.er1 4667 + cat conftest.err >&5 4668 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4669 + (exit $ac_status); } && { 4670 + test -z "$ac_c_werror_flag" || 4671 + test ! -s conftest.err 4672 + } && test -s conftest.$ac_objext; then 4673 + ac_cv_have_decl___INTEL_COMPILER=yes 4674 + else 4675 + $as_echo "$as_me: failed program was:" >&5 2652 4676 sed 's/^/| /' conftest.$ac_ext >&5 2653 4677 4678 + ac_cv_have_decl___INTEL_COMPILER=no 2654 4679 fi 2655 - rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4680 + 4681 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4682 + fi 4683 + { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 4684 + $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 4685 + if test $ac_cv_have_decl___INTEL_COMPILER = yes; then 4686 + INTELCC="yes" 4687 + else 4688 + INTELCC="no" 4689 + fi 4690 + 4691 + if test "x$GCC" = xyes ; then 4692 + STRICT_CFLAGS="-pedantic -Werror" 4693 + elif test "x$SUNCC" = "xyes"; then 4694 + STRICT_CFLAGS="-errwarn" 4695 + elif test "x$INTELCC" = "xyes"; then 4696 + STRICT_CFLAGS="-Werror" 4697 + fi 4698 + fi 4699 + CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4700 + 4701 + 4702 + 4703 + 4704 + # Check whether --with-release-version was given. 4705 + if test "${with_release_version+set}" = set; then 4706 + withval=$with_release_version; RELEASE_VERSION="$withval" 4707 + else 4708 + RELEASE_VERSION="" 4709 + fi 4710 + 4711 + if test "x$RELEASE_VERSION" != "x"; then 4712 + PACKAGE="$PACKAGE-$RELEASE_VERSION" 4713 + PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 4714 + { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 4715 + $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 4716 + fi 4717 + 4718 + cat >>confdefs.h <<_ACEOF 4719 + #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4720 + _ACEOF 4721 + 4722 + PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4723 + if test "x$PVM" = "x"; then 4724 + PVM="0" 4725 + fi 4726 + 4727 + cat >>confdefs.h <<_ACEOF 4728 + #define PACKAGE_VERSION_MINOR $PVM 4729 + _ACEOF 4730 + 4731 + PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4732 + if test "x$PVP" = "x"; then 4733 + PVP="0" 4734 + fi 4735 + 4736 + cat >>confdefs.h <<_ACEOF 4737 + #define PACKAGE_VERSION_PATCHLEVEL $PVP 4738 + _ACEOF 4739 + 4740 + 4741 + 4742 + CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4743 + mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4744 + || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4745 + echo 'git directory not found: installing possibly empty changelog.' >&2)" 4746 + 4747 + 4748 + 4749 + 4750 + macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4751 + INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4752 + mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4753 + || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4754 + echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4755 + 4756 + 4757 + 4758 + 4759 + 4760 + if test x$APP_MAN_SUFFIX = x ; then 4761 + APP_MAN_SUFFIX=1 4762 + fi 4763 + if test x$APP_MAN_DIR = x ; then 4764 + APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4765 + fi 4766 + 4767 + if test x$LIB_MAN_SUFFIX = x ; then 4768 + LIB_MAN_SUFFIX=3 4769 + fi 4770 + if test x$LIB_MAN_DIR = x ; then 4771 + LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4772 + fi 4773 + 4774 + if test x$FILE_MAN_SUFFIX = x ; then 4775 + case $host_os in 4776 + solaris*) FILE_MAN_SUFFIX=4 ;; 4777 + *) FILE_MAN_SUFFIX=5 ;; 4778 + esac 4779 + fi 4780 + if test x$FILE_MAN_DIR = x ; then 4781 + FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4782 + fi 4783 + 4784 + if test x$MISC_MAN_SUFFIX = x ; then 4785 + case $host_os in 4786 + solaris*) MISC_MAN_SUFFIX=5 ;; 4787 + *) MISC_MAN_SUFFIX=7 ;; 4788 + esac 4789 + fi 4790 + if test x$MISC_MAN_DIR = x ; then 4791 + MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4792 + fi 4793 + 4794 + if test x$DRIVER_MAN_SUFFIX = x ; then 4795 + case $host_os in 4796 + solaris*) DRIVER_MAN_SUFFIX=7 ;; 4797 + *) DRIVER_MAN_SUFFIX=4 ;; 4798 + esac 4799 + fi 4800 + if test x$DRIVER_MAN_DIR = x ; then 4801 + DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4802 + fi 4803 + 4804 + if test x$ADMIN_MAN_SUFFIX = x ; then 4805 + case $host_os in 4806 + solaris*) ADMIN_MAN_SUFFIX=1m ;; 4807 + *) ADMIN_MAN_SUFFIX=8 ;; 4808 + esac 4809 + fi 4810 + if test x$ADMIN_MAN_DIR = x ; then 4811 + ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4812 + fi 4813 + 4814 + 4815 + 4816 + 4817 + 4818 + 4819 + 4820 + 4821 + 4822 + 4823 + 4824 + 4825 + 4826 + 4827 + 4828 + AM_DEFAULT_VERBOSITY=1 4829 + 4830 + 4831 + 4832 + ac_config_headers="$ac_config_headers config.h" 4833 + 4834 + 2656 4835 ac_ext=c 2657 4836 ac_cpp='$CPP $CPPFLAGS' 2658 4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2659 4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2660 4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2661 - DEPDIR="${am__leading_dot}deps" 4840 + if test -n "$ac_tool_prefix"; then 4841 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4842 + set dummy ${ac_tool_prefix}gcc; ac_word=$2 4843 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4844 + $as_echo_n "checking for $ac_word... " >&6; } 4845 + if test "${ac_cv_prog_CC+set}" = set; then 4846 + $as_echo_n "(cached) " >&6 4847 + else 4848 + if test -n "$CC"; then 4849 + ac_cv_prog_CC="$CC" # Let the user override the test. 4850 + else 4851 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4852 + for as_dir in $PATH 4853 + do 4854 + IFS=$as_save_IFS 4855 + test -z "$as_dir" && as_dir=. 4856 + for ac_exec_ext in '' $ac_executable_extensions; do 4857 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4858 + ac_cv_prog_CC="${ac_tool_prefix}gcc" 4859 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4860 + break 2 4861 + fi 4862 + done 4863 + done 4864 + IFS=$as_save_IFS 2662 4865 2663 - ac_config_commands="$ac_config_commands depfiles" 4866 + fi 4867 + fi 4868 + CC=$ac_cv_prog_CC 4869 + if test -n "$CC"; then 4870 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 4871 + $as_echo "$CC" >&6; } 4872 + else 4873 + { $as_echo "$as_me:$LINENO: result: no" >&5 4874 + $as_echo "no" >&6; } 4875 + fi 2664 4876 2665 4877 2666 - am_make=${MAKE-make} 2667 - cat > confinc << 'END' 2668 - am__doit: 2669 - @echo done 2670 - .PHONY: am__doit 2671 - END 2672 - # If we don't find an include directive, just comment out the code. 2673 - echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2674 - echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2675 - am__include="#" 2676 - am__quote= 2677 - _am_result=none 2678 - # First try GNU make style include. 2679 - echo "include confinc" > confmf 2680 - # We grep out `Entering directory' and `Leaving directory' 2681 - # messages which can occur if `w' ends up in MAKEFLAGS. 2682 - # In particular we don't look at `^make:' because GNU make might 2683 - # be invoked under some other name (usually "gmake"), in which 2684 - # case it prints its new name instead of `make'. 2685 - if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2686 - am__include=include 2687 - am__quote= 2688 - _am_result=GNU 4878 + fi 4879 + if test -z "$ac_cv_prog_CC"; then 4880 + ac_ct_CC=$CC 4881 + # Extract the first word of "gcc", so it can be a program name with args. 4882 + set dummy gcc; ac_word=$2 4883 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4884 + $as_echo_n "checking for $ac_word... " >&6; } 4885 + if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 4886 + $as_echo_n "(cached) " >&6 4887 + else 4888 + if test -n "$ac_ct_CC"; then 4889 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4890 + else 4891 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4892 + for as_dir in $PATH 4893 + do 4894 + IFS=$as_save_IFS 4895 + test -z "$as_dir" && as_dir=. 4896 + for ac_exec_ext in '' $ac_executable_extensions; do 4897 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4898 + ac_cv_prog_ac_ct_CC="gcc" 4899 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4900 + break 2 4901 + fi 4902 + done 4903 + done 4904 + IFS=$as_save_IFS 4905 + 4906 + fi 4907 + fi 4908 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 4909 + if test -n "$ac_ct_CC"; then 4910 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 4911 + $as_echo "$ac_ct_CC" >&6; } 4912 + else 4913 + { $as_echo "$as_me:$LINENO: result: no" >&5 4914 + $as_echo "no" >&6; } 4915 + fi 4916 + 4917 + if test "x$ac_ct_CC" = x; then 4918 + CC="" 4919 + else 4920 + case $cross_compiling:$ac_tool_warned in 4921 + yes:) 4922 + { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4923 + whose name does not start with the host triplet. If you think this 4924 + configuration is useful to you, please write to autoconf@gnu.org." >&5 4925 + $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4926 + whose name does not start with the host triplet. If you think this 4927 + configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4928 + ac_tool_warned=yes ;; 4929 + esac 4930 + CC=$ac_ct_CC 4931 + fi 4932 + else 4933 + CC="$ac_cv_prog_CC" 4934 + fi 4935 + 4936 + if test -z "$CC"; then 4937 + if test -n "$ac_tool_prefix"; then 4938 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4939 + set dummy ${ac_tool_prefix}cc; ac_word=$2 4940 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4941 + $as_echo_n "checking for $ac_word... " >&6; } 4942 + if test "${ac_cv_prog_CC+set}" = set; then 4943 + $as_echo_n "(cached) " >&6 4944 + else 4945 + if test -n "$CC"; then 4946 + ac_cv_prog_CC="$CC" # Let the user override the test. 4947 + else 4948 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4949 + for as_dir in $PATH 4950 + do 4951 + IFS=$as_save_IFS 4952 + test -z "$as_dir" && as_dir=. 4953 + for ac_exec_ext in '' $ac_executable_extensions; do 4954 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4955 + ac_cv_prog_CC="${ac_tool_prefix}cc" 4956 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4957 + break 2 4958 + fi 4959 + done 4960 + done 4961 + IFS=$as_save_IFS 4962 + 2689 4963 fi 2690 - # Now try BSD make style include. 2691 - if test "$am__include" = "#"; then 2692 - echo '.include "confinc"' > confmf 2693 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2694 - am__include=.include 2695 - am__quote="\"" 2696 - _am_result=BSD 2697 - fi 4964 + fi 4965 + CC=$ac_cv_prog_CC 4966 + if test -n "$CC"; then 4967 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 4968 + $as_echo "$CC" >&6; } 4969 + else 4970 + { $as_echo "$as_me:$LINENO: result: no" >&5 4971 + $as_echo "no" >&6; } 2698 4972 fi 2699 4973 2700 4974 2701 - echo "$as_me:$LINENO: result: $_am_result" >&5 2702 - echo "${ECHO_T}$_am_result" >&6 2703 - rm -f confinc confmf 4975 + fi 4976 + fi 4977 + if test -z "$CC"; then 4978 + # Extract the first word of "cc", so it can be a program name with args. 4979 + set dummy cc; ac_word=$2 4980 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4981 + $as_echo_n "checking for $ac_word... " >&6; } 4982 + if test "${ac_cv_prog_CC+set}" = set; then 4983 + $as_echo_n "(cached) " >&6 4984 + else 4985 + if test -n "$CC"; then 4986 + ac_cv_prog_CC="$CC" # Let the user override the test. 4987 + else 4988 + ac_prog_rejected=no 4989 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4990 + for as_dir in $PATH 4991 + do 4992 + IFS=$as_save_IFS 4993 + test -z "$as_dir" && as_dir=. 4994 + for ac_exec_ext in '' $ac_executable_extensions; do 4995 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4996 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4997 + ac_prog_rejected=yes 4998 + continue 4999 + fi 5000 + ac_cv_prog_CC="cc" 5001 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5002 + break 2 5003 + fi 5004 + done 5005 + done 5006 + IFS=$as_save_IFS 5007 + 5008 + if test $ac_prog_rejected = yes; then 5009 + # We found a bogon in the path, so make sure we never use it. 5010 + set dummy $ac_cv_prog_CC 5011 + shift 5012 + if test $# != 0; then 5013 + # We chose a different compiler from the bogus one. 5014 + # However, it has the same basename, so the bogon will be chosen 5015 + # first if we set CC to just the basename; use the full file name. 5016 + shift 5017 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5018 + fi 5019 + fi 5020 + fi 5021 + fi 5022 + CC=$ac_cv_prog_CC 5023 + if test -n "$CC"; then 5024 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 5025 + $as_echo "$CC" >&6; } 5026 + else 5027 + { $as_echo "$as_me:$LINENO: result: no" >&5 5028 + $as_echo "no" >&6; } 5029 + fi 5030 + 5031 + 5032 + fi 5033 + if test -z "$CC"; then 5034 + if test -n "$ac_tool_prefix"; then 5035 + for ac_prog in cl.exe 5036 + do 5037 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5038 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5039 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5040 + $as_echo_n "checking for $ac_word... " >&6; } 5041 + if test "${ac_cv_prog_CC+set}" = set; then 5042 + $as_echo_n "(cached) " >&6 5043 + else 5044 + if test -n "$CC"; then 5045 + ac_cv_prog_CC="$CC" # Let the user override the test. 5046 + else 5047 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5048 + for as_dir in $PATH 5049 + do 5050 + IFS=$as_save_IFS 5051 + test -z "$as_dir" && as_dir=. 5052 + for ac_exec_ext in '' $ac_executable_extensions; do 5053 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5054 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5055 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5056 + break 2 5057 + fi 5058 + done 5059 + done 5060 + IFS=$as_save_IFS 5061 + 5062 + fi 5063 + fi 5064 + CC=$ac_cv_prog_CC 5065 + if test -n "$CC"; then 5066 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 5067 + $as_echo "$CC" >&6; } 5068 + else 5069 + { $as_echo "$as_me:$LINENO: result: no" >&5 5070 + $as_echo "no" >&6; } 5071 + fi 5072 + 5073 + 5074 + test -n "$CC" && break 5075 + done 5076 + fi 5077 + if test -z "$CC"; then 5078 + ac_ct_CC=$CC 5079 + for ac_prog in cl.exe 5080 + do 5081 + # Extract the first word of "$ac_prog", so it can be a program name with args. 5082 + set dummy $ac_prog; ac_word=$2 5083 + { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5084 + $as_echo_n "checking for $ac_word... " >&6; } 5085 + if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5086 + $as_echo_n "(cached) " >&6 5087 + else 5088 + if test -n "$ac_ct_CC"; then 5089 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5090 + else 5091 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5092 + for as_dir in $PATH 5093 + do 5094 + IFS=$as_save_IFS 5095 + test -z "$as_dir" && as_dir=. 5096 + for ac_exec_ext in '' $ac_executable_extensions; do 5097 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5098 + ac_cv_prog_ac_ct_CC="$ac_prog" 5099 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5100 + break 2 5101 + fi 5102 + done 5103 + done 5104 + IFS=$as_save_IFS 5105 + 5106 + fi 5107 + fi 5108 + ac_ct_CC=$ac_cv_prog_ac_ct_CC 5109 + if test -n "$ac_ct_CC"; then 5110 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5111 + $as_echo "$ac_ct_CC" >&6; } 5112 + else 5113 + { $as_echo "$as_me:$LINENO: result: no" >&5 5114 + $as_echo "no" >&6; } 5115 + fi 5116 + 5117 + 5118 + test -n "$ac_ct_CC" && break 5119 + done 5120 + 5121 + if test "x$ac_ct_CC" = x; then 5122 + CC="" 5123 + else 5124 + case $cross_compiling:$ac_tool_warned in 5125 + yes:) 5126 + { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5127 + whose name does not start with the host triplet. If you think this 5128 + configuration is useful to you, please write to autoconf@gnu.org." >&5 5129 + $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5130 + whose name does not start with the host triplet. If you think this 5131 + configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5132 + ac_tool_warned=yes ;; 5133 + esac 5134 + CC=$ac_ct_CC 5135 + fi 5136 + fi 5137 + 5138 + fi 5139 + 5140 + 5141 + test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 5142 + See \`config.log' for more details." >&5 5143 + $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 5144 + See \`config.log' for more details." >&2;} 5145 + { (exit 1); exit 1; }; } 5146 + 5147 + # Provide some information about the compiler. 5148 + $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 5149 + set X $ac_compile 5150 + ac_compiler=$2 5151 + { (ac_try="$ac_compiler --version >&5" 5152 + case "(($ac_try" in 5153 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5154 + *) ac_try_echo=$ac_try;; 5155 + esac 5156 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5157 + $as_echo "$ac_try_echo") >&5 5158 + (eval "$ac_compiler --version >&5") 2>&5 5159 + ac_status=$? 5160 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5161 + (exit $ac_status); } 5162 + { (ac_try="$ac_compiler -v >&5" 5163 + case "(($ac_try" in 5164 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5165 + *) ac_try_echo=$ac_try;; 5166 + esac 5167 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5168 + $as_echo "$ac_try_echo") >&5 5169 + (eval "$ac_compiler -v >&5") 2>&5 5170 + ac_status=$? 5171 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5172 + (exit $ac_status); } 5173 + { (ac_try="$ac_compiler -V >&5" 5174 + case "(($ac_try" in 5175 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5176 + *) ac_try_echo=$ac_try;; 5177 + esac 5178 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5179 + $as_echo "$ac_try_echo") >&5 5180 + (eval "$ac_compiler -V >&5") 2>&5 5181 + ac_status=$? 5182 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5183 + (exit $ac_status); } 5184 + 5185 + { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 5186 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5187 + if test "${ac_cv_c_compiler_gnu+set}" = set; then 5188 + $as_echo_n "(cached) " >&6 5189 + else 5190 + cat >conftest.$ac_ext <<_ACEOF 5191 + /* confdefs.h. */ 5192 + _ACEOF 5193 + cat confdefs.h >>conftest.$ac_ext 5194 + cat >>conftest.$ac_ext <<_ACEOF 5195 + /* end confdefs.h. */ 5196 + 5197 + int 5198 + main () 5199 + { 5200 + #ifndef __GNUC__ 5201 + choke me 5202 + #endif 5203 + 5204 + ; 5205 + return 0; 5206 + } 5207 + _ACEOF 5208 + rm -f conftest.$ac_objext 5209 + if { (ac_try="$ac_compile" 5210 + case "(($ac_try" in 5211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5212 + *) ac_try_echo=$ac_try;; 5213 + esac 5214 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5215 + $as_echo "$ac_try_echo") >&5 5216 + (eval "$ac_compile") 2>conftest.er1 5217 + ac_status=$? 5218 + grep -v '^ *+' conftest.er1 >conftest.err 5219 + rm -f conftest.er1 5220 + cat conftest.err >&5 5221 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5222 + (exit $ac_status); } && { 5223 + test -z "$ac_c_werror_flag" || 5224 + test ! -s conftest.err 5225 + } && test -s conftest.$ac_objext; then 5226 + ac_compiler_gnu=yes 5227 + else 5228 + $as_echo "$as_me: failed program was:" >&5 5229 + sed 's/^/| /' conftest.$ac_ext >&5 5230 + 5231 + ac_compiler_gnu=no 5232 + fi 5233 + 5234 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5235 + ac_cv_c_compiler_gnu=$ac_compiler_gnu 5236 + 5237 + fi 5238 + { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5239 + $as_echo "$ac_cv_c_compiler_gnu" >&6; } 5240 + if test $ac_compiler_gnu = yes; then 5241 + GCC=yes 5242 + else 5243 + GCC= 5244 + fi 5245 + ac_test_CFLAGS=${CFLAGS+set} 5246 + ac_save_CFLAGS=$CFLAGS 5247 + { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 5248 + $as_echo_n "checking whether $CC accepts -g... " >&6; } 5249 + if test "${ac_cv_prog_cc_g+set}" = set; then 5250 + $as_echo_n "(cached) " >&6 5251 + else 5252 + ac_save_c_werror_flag=$ac_c_werror_flag 5253 + ac_c_werror_flag=yes 5254 + ac_cv_prog_cc_g=no 5255 + CFLAGS="-g" 5256 + cat >conftest.$ac_ext <<_ACEOF 5257 + /* confdefs.h. */ 5258 + _ACEOF 5259 + cat confdefs.h >>conftest.$ac_ext 5260 + cat >>conftest.$ac_ext <<_ACEOF 5261 + /* end confdefs.h. */ 5262 + 5263 + int 5264 + main () 5265 + { 5266 + 5267 + ; 5268 + return 0; 5269 + } 5270 + _ACEOF 5271 + rm -f conftest.$ac_objext 5272 + if { (ac_try="$ac_compile" 5273 + case "(($ac_try" in 5274 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5275 + *) ac_try_echo=$ac_try;; 5276 + esac 5277 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5278 + $as_echo "$ac_try_echo") >&5 5279 + (eval "$ac_compile") 2>conftest.er1 5280 + ac_status=$? 5281 + grep -v '^ *+' conftest.er1 >conftest.err 5282 + rm -f conftest.er1 5283 + cat conftest.err >&5 5284 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5285 + (exit $ac_status); } && { 5286 + test -z "$ac_c_werror_flag" || 5287 + test ! -s conftest.err 5288 + } && test -s conftest.$ac_objext; then 5289 + ac_cv_prog_cc_g=yes 5290 + else 5291 + $as_echo "$as_me: failed program was:" >&5 5292 + sed 's/^/| /' conftest.$ac_ext >&5 5293 + 5294 + CFLAGS="" 5295 + cat >conftest.$ac_ext <<_ACEOF 5296 + /* confdefs.h. */ 5297 + _ACEOF 5298 + cat confdefs.h >>conftest.$ac_ext 5299 + cat >>conftest.$ac_ext <<_ACEOF 5300 + /* end confdefs.h. */ 5301 + 5302 + int 5303 + main () 5304 + { 5305 + 5306 + ; 5307 + return 0; 5308 + } 5309 + _ACEOF 5310 + rm -f conftest.$ac_objext 5311 + if { (ac_try="$ac_compile" 5312 + case "(($ac_try" in 5313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5314 + *) ac_try_echo=$ac_try;; 5315 + esac 5316 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5317 + $as_echo "$ac_try_echo") >&5 5318 + (eval "$ac_compile") 2>conftest.er1 5319 + ac_status=$? 5320 + grep -v '^ *+' conftest.er1 >conftest.err 5321 + rm -f conftest.er1 5322 + cat conftest.err >&5 5323 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 + (exit $ac_status); } && { 5325 + test -z "$ac_c_werror_flag" || 5326 + test ! -s conftest.err 5327 + } && test -s conftest.$ac_objext; then 5328 + : 5329 + else 5330 + $as_echo "$as_me: failed program was:" >&5 5331 + sed 's/^/| /' conftest.$ac_ext >&5 5332 + 5333 + ac_c_werror_flag=$ac_save_c_werror_flag 5334 + CFLAGS="-g" 5335 + cat >conftest.$ac_ext <<_ACEOF 5336 + /* confdefs.h. */ 5337 + _ACEOF 5338 + cat confdefs.h >>conftest.$ac_ext 5339 + cat >>conftest.$ac_ext <<_ACEOF 5340 + /* end confdefs.h. */ 5341 + 5342 + int 5343 + main () 5344 + { 5345 + 5346 + ; 5347 + return 0; 5348 + } 5349 + _ACEOF 5350 + rm -f conftest.$ac_objext 5351 + if { (ac_try="$ac_compile" 5352 + case "(($ac_try" in 5353 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5354 + *) ac_try_echo=$ac_try;; 5355 + esac 5356 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5357 + $as_echo "$ac_try_echo") >&5 5358 + (eval "$ac_compile") 2>conftest.er1 5359 + ac_status=$? 5360 + grep -v '^ *+' conftest.er1 >conftest.err 5361 + rm -f conftest.er1 5362 + cat conftest.err >&5 5363 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5364 + (exit $ac_status); } && { 5365 + test -z "$ac_c_werror_flag" || 5366 + test ! -s conftest.err 5367 + } && test -s conftest.$ac_objext; then 5368 + ac_cv_prog_cc_g=yes 5369 + else 5370 + $as_echo "$as_me: failed program was:" >&5 5371 + sed 's/^/| /' conftest.$ac_ext >&5 2704 5372 2705 - # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2706 - if test "${enable_dependency_tracking+set}" = set; then 2707 - enableval="$enable_dependency_tracking" 5373 + 5374 + fi 2708 5375 2709 - fi; 2710 - if test "x$enable_dependency_tracking" != xno; then 2711 - am_depcomp="$ac_aux_dir/depcomp" 2712 - AMDEPBACKSLASH='\' 5376 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2713 5377 fi 2714 5378 5379 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5380 + fi 2715 5381 2716 - if test "x$enable_dependency_tracking" != xno; then 2717 - AMDEP_TRUE= 2718 - AMDEP_FALSE='#' 5382 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5383 + ac_c_werror_flag=$ac_save_c_werror_flag 5384 + fi 5385 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5386 + $as_echo "$ac_cv_prog_cc_g" >&6; } 5387 + if test "$ac_test_CFLAGS" = set; then 5388 + CFLAGS=$ac_save_CFLAGS 5389 + elif test $ac_cv_prog_cc_g = yes; then 5390 + if test "$GCC" = yes; then 5391 + CFLAGS="-g -O2" 5392 + else 5393 + CFLAGS="-g" 5394 + fi 2719 5395 else 2720 - AMDEP_TRUE='#' 2721 - AMDEP_FALSE= 5396 + if test "$GCC" = yes; then 5397 + CFLAGS="-O2" 5398 + else 5399 + CFLAGS= 5400 + fi 2722 5401 fi 5402 + { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 5403 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5404 + if test "${ac_cv_prog_cc_c89+set}" = set; then 5405 + $as_echo_n "(cached) " >&6 5406 + else 5407 + ac_cv_prog_cc_c89=no 5408 + ac_save_CC=$CC 5409 + cat >conftest.$ac_ext <<_ACEOF 5410 + /* confdefs.h. */ 5411 + _ACEOF 5412 + cat confdefs.h >>conftest.$ac_ext 5413 + cat >>conftest.$ac_ext <<_ACEOF 5414 + /* end confdefs.h. */ 5415 + #include <stdarg.h> 5416 + #include <stdio.h> 5417 + #include <sys/types.h> 5418 + #include <sys/stat.h> 5419 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5420 + struct buf { int x; }; 5421 + FILE * (*rcsopen) (struct buf *, struct stat *, int); 5422 + static char *e (p, i) 5423 + char **p; 5424 + int i; 5425 + { 5426 + return p[i]; 5427 + } 5428 + static char *f (char * (*g) (char **, int), char **p, ...) 5429 + { 5430 + char *s; 5431 + va_list v; 5432 + va_start (v,p); 5433 + s = g (p, va_arg (v,int)); 5434 + va_end (v); 5435 + return s; 5436 + } 2723 5437 5438 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5439 + function prototypes and stuff, but not '\xHH' hex character constants. 5440 + These don't provoke an error unfortunately, instead are silently treated 5441 + as 'x'. The following induces an error, until -std is added to get 5442 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5443 + array size at least. It's necessary to write '\x00'==0 to get something 5444 + that's true only with -std. */ 5445 + int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2724 5446 5447 + /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5448 + inside strings and character constants. */ 5449 + #define FOO(x) 'x' 5450 + int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2725 5451 5452 + int test (int i, double x); 5453 + struct s1 {int (*f) (int a);}; 5454 + struct s2 {int (*f) (double a);}; 5455 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5456 + int argc; 5457 + char **argv; 5458 + int 5459 + main () 5460 + { 5461 + return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5462 + ; 5463 + return 0; 5464 + } 5465 + _ACEOF 5466 + for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5467 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5468 + do 5469 + CC="$ac_save_CC $ac_arg" 5470 + rm -f conftest.$ac_objext 5471 + if { (ac_try="$ac_compile" 5472 + case "(($ac_try" in 5473 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5474 + *) ac_try_echo=$ac_try;; 5475 + esac 5476 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5477 + $as_echo "$ac_try_echo") >&5 5478 + (eval "$ac_compile") 2>conftest.er1 5479 + ac_status=$? 5480 + grep -v '^ *+' conftest.er1 >conftest.err 5481 + rm -f conftest.er1 5482 + cat conftest.err >&5 5483 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 + (exit $ac_status); } && { 5485 + test -z "$ac_c_werror_flag" || 5486 + test ! -s conftest.err 5487 + } && test -s conftest.$ac_objext; then 5488 + ac_cv_prog_cc_c89=$ac_arg 5489 + else 5490 + $as_echo "$as_me: failed program was:" >&5 5491 + sed 's/^/| /' conftest.$ac_ext >&5 5492 + 5493 + 5494 + fi 5495 + 5496 + rm -f core conftest.err conftest.$ac_objext 5497 + test "x$ac_cv_prog_cc_c89" != "xno" && break 5498 + done 5499 + rm -f conftest.$ac_ext 5500 + CC=$ac_save_CC 5501 + 5502 + fi 5503 + # AC_CACHE_VAL 5504 + case "x$ac_cv_prog_cc_c89" in 5505 + x) 5506 + { $as_echo "$as_me:$LINENO: result: none needed" >&5 5507 + $as_echo "none needed" >&6; } ;; 5508 + xno) 5509 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 5510 + $as_echo "unsupported" >&6; } ;; 5511 + *) 5512 + CC="$CC $ac_cv_prog_cc_c89" 5513 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 5514 + $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5515 + esac 5516 + 5517 + 5518 + ac_ext=c 5519 + ac_cpp='$CPP $CPPFLAGS' 5520 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5521 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5522 + ac_compiler_gnu=$ac_cv_c_compiler_gnu 2726 5523 2727 5524 depcc="$CC" am_compiler_list= 2728 5525 2729 - echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2730 - echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 5526 + { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 5527 + $as_echo_n "checking dependency style of $depcc... " >&6; } 2731 5528 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2732 - echo $ECHO_N "(cached) $ECHO_C" >&6 5529 + $as_echo_n "(cached) " >&6 2733 5530 else 2734 5531 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2735 5532 # We make a subdir and do the tests there. Otherwise we can end up ··· 2816 5613 fi 2817 5614 2818 5615 fi 2819 - echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2820 - echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 5616 + { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 5617 + $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 2821 5618 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2822 5619 2823 5620 ··· 2846 5643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2847 5644 # OS/2's system install, which has a completely different semantic 2848 5645 # ./install, which can be erroneously created by make from ./install.sh. 2849 - echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2850 - echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 5646 + # Reject install programs that cannot install multiple files. 5647 + { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 5648 + $as_echo_n "checking for a BSD-compatible install... " >&6; } 2851 5649 if test -z "$INSTALL"; then 2852 5650 if test "${ac_cv_path_install+set}" = set; then 2853 - echo $ECHO_N "(cached) $ECHO_C" >&6 5651 + $as_echo_n "(cached) " >&6 2854 5652 else 2855 5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2856 5654 for as_dir in $PATH ··· 2869 5667 # by default. 2870 5668 for ac_prog in ginstall scoinst install; do 2871 5669 for ac_exec_ext in '' $ac_executable_extensions; do 2872 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 5670 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2873 5671 if test $ac_prog = install && 2874 5672 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2875 5673 # AIX install. It has an incompatible calling convention. ··· 2879 5677 # program-specific install script used by HP pwplus--don't use. 2880 5678 : 2881 5679 else 2882 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2883 - break 3 5680 + rm -rf conftest.one conftest.two conftest.dir 5681 + echo one > conftest.one 5682 + echo two > conftest.two 5683 + mkdir conftest.dir 5684 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 5685 + test -s conftest.one && test -s conftest.two && 5686 + test -s conftest.dir/conftest.one && 5687 + test -s conftest.dir/conftest.two 5688 + then 5689 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 5690 + break 3 5691 + fi 2884 5692 fi 2885 5693 fi 2886 5694 done 2887 5695 done 2888 5696 ;; 2889 5697 esac 5698 + 2890 5699 done 5700 + IFS=$as_save_IFS 2891 5701 5702 + rm -rf conftest.one conftest.two conftest.dir 2892 5703 2893 5704 fi 2894 5705 if test "${ac_cv_path_install+set}" = set; then 2895 5706 INSTALL=$ac_cv_path_install 2896 5707 else 2897 - # As a last resort, use the slow shell script. We don't cache a 2898 - # path for INSTALL within a source directory, because that will 5708 + # As a last resort, use the slow shell script. Don't cache a 5709 + # value for INSTALL within a source directory, because that will 2899 5710 # break other packages using the cache if that directory is 2900 - # removed, or if the path is relative. 5711 + # removed, or if the value is a relative name. 2901 5712 INSTALL=$ac_install_sh 2902 5713 fi 2903 5714 fi 2904 - echo "$as_me:$LINENO: result: $INSTALL" >&5 2905 - echo "${ECHO_T}$INSTALL" >&6 5715 + { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 5716 + $as_echo "$INSTALL" >&6; } 2906 5717 2907 5718 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2908 5719 # It thinks the first close brace ends the variable substitution. ··· 2913 5724 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2914 5725 2915 5726 2916 - # Checks for pkg-config packages 2917 - 2918 - 2919 - if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2920 - if test -n "$ac_tool_prefix"; then 2921 - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2922 - set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2923 - echo "$as_me:$LINENO: checking for $ac_word" >&5 2924 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2925 - if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 2926 - echo $ECHO_N "(cached) $ECHO_C" >&6 2927 - else 2928 - case $PKG_CONFIG in 2929 - [\\/]* | ?:[\\/]*) 2930 - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2931 - ;; 2932 - *) 2933 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2934 - for as_dir in $PATH 2935 - do 2936 - IFS=$as_save_IFS 2937 - test -z "$as_dir" && as_dir=. 2938 - for ac_exec_ext in '' $ac_executable_extensions; do 2939 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2940 - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2941 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2942 - break 2 2943 - fi 2944 - done 2945 - done 2946 - 2947 - ;; 2948 - esac 2949 - fi 2950 - PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2951 - 2952 - if test -n "$PKG_CONFIG"; then 2953 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 2954 - echo "${ECHO_T}$PKG_CONFIG" >&6 2955 - else 2956 - echo "$as_me:$LINENO: result: no" >&5 2957 - echo "${ECHO_T}no" >&6 2958 - fi 2959 - 2960 - fi 2961 - if test -z "$ac_cv_path_PKG_CONFIG"; then 2962 - ac_pt_PKG_CONFIG=$PKG_CONFIG 2963 - # Extract the first word of "pkg-config", so it can be a program name with args. 2964 - set dummy pkg-config; ac_word=$2 2965 - echo "$as_me:$LINENO: checking for $ac_word" >&5 2966 - echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2967 - if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 2968 - echo $ECHO_N "(cached) $ECHO_C" >&6 2969 - else 2970 - case $ac_pt_PKG_CONFIG in 2971 - [\\/]* | ?:[\\/]*) 2972 - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2973 - ;; 2974 - *) 2975 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2976 - for as_dir in $PATH 2977 - do 2978 - IFS=$as_save_IFS 2979 - test -z "$as_dir" && as_dir=. 2980 - for ac_exec_ext in '' $ac_executable_extensions; do 2981 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2982 - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2983 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2984 - break 2 2985 - fi 2986 - done 2987 - done 2988 - 2989 - ;; 2990 - esac 2991 - fi 2992 - ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2993 - 2994 - if test -n "$ac_pt_PKG_CONFIG"; then 2995 - echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 2996 - echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 2997 - else 2998 - echo "$as_me:$LINENO: result: no" >&5 2999 - echo "${ECHO_T}no" >&6 3000 - fi 3001 5727 3002 - PKG_CONFIG=$ac_pt_PKG_CONFIG 3003 - else 3004 - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3005 - fi 3006 - 3007 - fi 3008 - if test -n "$PKG_CONFIG"; then 3009 - _pkg_min_version=0.9.0 3010 - echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 3011 - echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 3012 - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3013 - echo "$as_me:$LINENO: result: yes" >&5 3014 - echo "${ECHO_T}yes" >&6 3015 - else 3016 - echo "$as_me:$LINENO: result: no" >&5 3017 - echo "${ECHO_T}no" >&6 3018 - PKG_CONFIG="" 3019 - fi 3020 - 3021 - fi 3022 - 3023 - # Check whether --enable-xprint or --disable-xprint was given. 3024 - if test "${enable_xprint+set}" = set; then 3025 - enableval="$enable_xprint" 3026 - use_xprint=$enableval 3027 - else 3028 - use_xprint=auto 3029 - fi; 3030 - if test "x$use_xprint" = "xyes"; then 3031 - TMP_CHECK1=xaw8 3032 - TMP_CHECK2= 3033 - xaw_use_xprint=yes 3034 - elif test "x$use_xprint" = "xno"; then 3035 - TMP_CHECK1=xaw7 3036 - TMP_CHECK2= 3037 - xaw_use_xprint=no 3038 - else 3039 - TMP_CHECK1=xaw8 3040 - TMP_CHECK2=xaw7 3041 - xaw_use_xprint=yes 3042 - fi 3043 - 5728 + # Checks for pkg-config packages 3044 5729 3045 5730 pkg_failed=no 3046 - echo "$as_me:$LINENO: checking for TMP_XAW" >&5 3047 - echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 5731 + { $as_echo "$as_me:$LINENO: checking for XMESSAGE" >&5 5732 + $as_echo_n "checking for XMESSAGE... " >&6; } 3048 5733 3049 5734 if test -n "$PKG_CONFIG"; then 3050 - if test -n "$TMP_XAW_CFLAGS"; then 3051 - pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 5735 + if test -n "$XMESSAGE_CFLAGS"; then 5736 + pkg_cv_XMESSAGE_CFLAGS="$XMESSAGE_CFLAGS" 3052 5737 else 3053 5738 if test -n "$PKG_CONFIG" && \ 3054 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 3055 - ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 5739 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5 5740 + ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5 3056 5741 ac_status=$? 3057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 5742 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3058 5743 (exit $ac_status); }; then 3059 - pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null` 5744 + pkg_cv_XMESSAGE_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null` 3060 5745 else 3061 5746 pkg_failed=yes 3062 5747 fi ··· 3065 5750 pkg_failed=untried 3066 5751 fi 3067 5752 if test -n "$PKG_CONFIG"; then 3068 - if test -n "$TMP_XAW_LIBS"; then 3069 - pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 5753 + if test -n "$XMESSAGE_LIBS"; then 5754 + pkg_cv_XMESSAGE_LIBS="$XMESSAGE_LIBS" 3070 5755 else 3071 5756 if test -n "$PKG_CONFIG" && \ 3072 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 3073 - ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 5757 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5 5758 + ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5 3074 5759 ac_status=$? 3075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 5760 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076 5761 (exit $ac_status); }; then 3077 - pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null` 5762 + pkg_cv_XMESSAGE_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null` 3078 5763 else 3079 5764 pkg_failed=yes 3080 5765 fi ··· 3093 5778 _pkg_short_errors_supported=no 3094 5779 fi 3095 5780 if test $_pkg_short_errors_supported = yes; then 3096 - TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"` 5781 + XMESSAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xaw7"` 3097 5782 else 3098 - TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"` 5783 + XMESSAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xaw7"` 3099 5784 fi 3100 5785 # Put the nasty error message in config.log where it belongs 3101 - echo "$TMP_XAW_PKG_ERRORS" >&5 5786 + echo "$XMESSAGE_PKG_ERRORS" >&5 3102 5787 3103 - echo "$as_me:$LINENO: result: no" >&5 3104 - echo "${ECHO_T}no" >&6 3105 - success=no 3106 - elif test $pkg_failed = untried; then 3107 - success=no 3108 - else 3109 - TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 3110 - TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 3111 - echo "$as_me:$LINENO: result: yes" >&5 3112 - echo "${ECHO_T}yes" >&6 3113 - success=yes 3114 - fi 3115 - if [ ! -z $TMP_CHECK2 ] ; then 3116 - if test $success = no ; then 5788 + { { $as_echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met: 3117 5789 3118 - pkg_failed=no 3119 - echo "$as_me:$LINENO: checking for TMP_XAW" >&5 3120 - echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 5790 + $XMESSAGE_PKG_ERRORS 3121 5791 3122 - if test -n "$PKG_CONFIG"; then 3123 - if test -n "$TMP_XAW_CFLAGS"; then 3124 - pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 3125 - else 3126 - if test -n "$PKG_CONFIG" && \ 3127 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 3128 - ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 3129 - ac_status=$? 3130 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 3131 - (exit $ac_status); }; then 3132 - pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null` 3133 - else 3134 - pkg_failed=yes 3135 - fi 3136 - fi 3137 - else 3138 - pkg_failed=untried 3139 - fi 3140 - if test -n "$PKG_CONFIG"; then 3141 - if test -n "$TMP_XAW_LIBS"; then 3142 - pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 3143 - else 3144 - if test -n "$PKG_CONFIG" && \ 3145 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 3146 - ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 3147 - ac_status=$? 3148 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 3149 - (exit $ac_status); }; then 3150 - pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null` 3151 - else 3152 - pkg_failed=yes 3153 - fi 3154 - fi 3155 - else 3156 - pkg_failed=untried 3157 - fi 5792 + Consider adjusting the PKG_CONFIG_PATH environment variable if you 5793 + installed software in a non-standard prefix. 3158 5794 5795 + Alternatively, you may set the environment variables XMESSAGE_CFLAGS 5796 + and XMESSAGE_LIBS to avoid the need to call pkg-config. 5797 + See the pkg-config man page for more details. 5798 + " >&5 5799 + $as_echo "$as_me: error: Package requirements (xaw7) were not met: 3159 5800 5801 + $XMESSAGE_PKG_ERRORS 3160 5802 3161 - if test $pkg_failed = yes; then 3162 - 3163 - if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3164 - _pkg_short_errors_supported=yes 3165 - else 3166 - _pkg_short_errors_supported=no 3167 - fi 3168 - if test $_pkg_short_errors_supported = yes; then 3169 - TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"` 3170 - else 3171 - TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"` 3172 - fi 3173 - # Put the nasty error message in config.log where it belongs 3174 - echo "$TMP_XAW_PKG_ERRORS" >&5 5803 + Consider adjusting the PKG_CONFIG_PATH environment variable if you 5804 + installed software in a non-standard prefix. 3175 5805 3176 - echo "$as_me:$LINENO: result: no" >&5 3177 - echo "${ECHO_T}no" >&6 3178 - success=no 5806 + Alternatively, you may set the environment variables XMESSAGE_CFLAGS 5807 + and XMESSAGE_LIBS to avoid the need to call pkg-config. 5808 + See the pkg-config man page for more details. 5809 + " >&2;} 5810 + { (exit 1); exit 1; }; } 3179 5811 elif test $pkg_failed = untried; then 3180 - success=no 3181 - else 3182 - TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 3183 - TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 3184 - echo "$as_me:$LINENO: result: yes" >&5 3185 - echo "${ECHO_T}yes" >&6 3186 - success=yes 3187 - fi 3188 - xaw_use_xprint=no 3189 - fi 3190 - fi 5812 + { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 5813 + is in your PATH or set the PKG_CONFIG environment variable to the full 5814 + path to pkg-config. 3191 5815 3192 - if test "x$success" = "xyes"; then 3193 - XMESSAGE_CFLAGS=$TMP_XAW_CFLAGS 3194 - XMESSAGE_LIBS=$TMP_XAW_LIBS 5816 + Alternatively, you may set the environment variables XMESSAGE_CFLAGS 5817 + and XMESSAGE_LIBS to avoid the need to call pkg-config. 5818 + See the pkg-config man page for more details. 3195 5819 5820 + To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 5821 + See \`config.log' for more details." >&5 5822 + $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 5823 + is in your PATH or set the PKG_CONFIG environment variable to the full 5824 + path to pkg-config. 3196 5825 5826 + Alternatively, you may set the environment variables XMESSAGE_CFLAGS 5827 + and XMESSAGE_LIBS to avoid the need to call pkg-config. 5828 + See the pkg-config man page for more details. 3197 5829 3198 - if test "x$xaw_use_xprint" = "xyes"; then 3199 - XAW_USE_XPRINT_TRUE= 3200 - XAW_USE_XPRINT_FALSE='#' 5830 + To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 5831 + See \`config.log' for more details." >&2;} 5832 + { (exit 1); exit 1; }; } 3201 5833 else 3202 - XAW_USE_XPRINT_TRUE='#' 3203 - XAW_USE_XPRINT_FALSE= 5834 + XMESSAGE_CFLAGS=$pkg_cv_XMESSAGE_CFLAGS 5835 + XMESSAGE_LIBS=$pkg_cv_XMESSAGE_LIBS 5836 + { $as_echo "$as_me:$LINENO: result: yes" >&5 5837 + $as_echo "yes" >&6; } 5838 + : 3204 5839 fi 3205 - 3206 - else 3207 - { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5 3208 - echo "$as_me: error: No suitable version of Xaw found" >&2;} 3209 - { (exit 1); exit 1; }; } 3210 - fi 3211 - 3212 - 3213 - 3214 5840 3215 5841 3216 5842 pkg_failed=no 3217 - echo "$as_me:$LINENO: checking for APPDEFS" >&5 3218 - echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6 5843 + { $as_echo "$as_me:$LINENO: checking for APPDEFS" >&5 5844 + $as_echo_n "checking for APPDEFS... " >&6; } 3219 5845 3220 5846 if test -n "$PKG_CONFIG"; then 3221 5847 if test -n "$APPDEFS_CFLAGS"; then 3222 5848 pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS" 3223 5849 else 3224 5850 if test -n "$PKG_CONFIG" && \ 3225 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 5851 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 3226 5852 ($PKG_CONFIG --exists --print-errors "xt") 2>&5 3227 5853 ac_status=$? 3228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 5854 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3229 5855 (exit $ac_status); }; then 3230 5856 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 3231 5857 else ··· 3240 5866 pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS" 3241 5867 else 3242 5868 if test -n "$PKG_CONFIG" && \ 3243 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 5869 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 3244 5870 ($PKG_CONFIG --exists --print-errors "xt") 2>&5 3245 5871 ac_status=$? 3246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 5872 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3247 5873 (exit $ac_status); }; then 3248 5874 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 3249 5875 else ··· 3271 5897 # Put the nasty error message in config.log where it belongs 3272 5898 echo "$APPDEFS_PKG_ERRORS" >&5 3273 5899 3274 - { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met: 5900 + { { $as_echo "$as_me:$LINENO: error: Package requirements (xt) were not met: 3275 5901 3276 5902 $APPDEFS_PKG_ERRORS 3277 5903 ··· 3282 5908 and APPDEFS_LIBS to avoid the need to call pkg-config. 3283 5909 See the pkg-config man page for more details. 3284 5910 " >&5 3285 - echo "$as_me: error: Package requirements (xt) were not met: 5911 + $as_echo "$as_me: error: Package requirements (xt) were not met: 3286 5912 3287 5913 $APPDEFS_PKG_ERRORS 3288 5914 ··· 3295 5921 " >&2;} 3296 5922 { (exit 1); exit 1; }; } 3297 5923 elif test $pkg_failed = untried; then 3298 - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 5924 + { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 3299 5925 is in your PATH or set the PKG_CONFIG environment variable to the full 3300 5926 path to pkg-config. 3301 5927 ··· 3305 5931 3306 5932 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 3307 5933 See \`config.log' for more details." >&5 3308 - echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 5934 + $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 3309 5935 is in your PATH or set the PKG_CONFIG environment variable to the full 3310 5936 path to pkg-config. 3311 5937 ··· 3319 5945 else 3320 5946 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 3321 5947 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 3322 - echo "$as_me:$LINENO: result: yes" >&5 3323 - echo "${ECHO_T}yes" >&6 5948 + { $as_echo "$as_me:$LINENO: result: yes" >&5 5949 + $as_echo "yes" >&6; } 3324 5950 : 3325 5951 fi 3326 - appdefaultdir=$(pkg-config --variable=appdefaultdir xt) 5952 + xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 3327 5953 3328 - 3329 - # Make sure we can run config.sub. 3330 - $ac_config_sub sun4 >/dev/null 2>&1 || 3331 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3332 - echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3333 - { (exit 1); exit 1; }; } 3334 - 3335 - echo "$as_me:$LINENO: checking build system type" >&5 3336 - echo $ECHO_N "checking build system type... $ECHO_C" >&6 3337 - if test "${ac_cv_build+set}" = set; then 3338 - echo $ECHO_N "(cached) $ECHO_C" >&6 5954 + # Check whether --with-appdefaultdir was given. 5955 + if test "${with_appdefaultdir+set}" = set; then 5956 + withval=$with_appdefaultdir; appdefaultdir="$withval" 3339 5957 else 3340 - ac_cv_build_alias=$build_alias 3341 - test -z "$ac_cv_build_alias" && 3342 - ac_cv_build_alias=`$ac_config_guess` 3343 - test -z "$ac_cv_build_alias" && 3344 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3345 - echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3346 - { (exit 1); exit 1; }; } 3347 - ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3348 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3349 - echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3350 - { (exit 1); exit 1; }; } 3351 - 5958 + appdefaultdir="${xt_appdefaultdir}" 3352 5959 fi 3353 - echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3354 - echo "${ECHO_T}$ac_cv_build" >&6 3355 - build=$ac_cv_build 3356 - build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3357 - build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3358 - build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3359 5960 3360 5961 3361 - echo "$as_me:$LINENO: checking host system type" >&5 3362 - echo $ECHO_N "checking host system type... $ECHO_C" >&6 3363 - if test "${ac_cv_host+set}" = set; then 3364 - echo $ECHO_N "(cached) $ECHO_C" >&6 3365 - else 3366 - ac_cv_host_alias=$host_alias 3367 - test -z "$ac_cv_host_alias" && 3368 - ac_cv_host_alias=$ac_cv_build_alias 3369 - ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3370 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3371 - echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3372 - { (exit 1); exit 1; }; } 3373 - 3374 - fi 3375 - echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3376 - echo "${ECHO_T}$ac_cv_host" >&6 3377 - host=$ac_cv_host 3378 - host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3379 - host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3380 - host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3381 5962 3382 5963 3383 - 3384 - 3385 - 3386 - if test x$APP_MAN_SUFFIX = x ; then 3387 - APP_MAN_SUFFIX=1 3388 - fi 3389 - if test x$APP_MAN_DIR = x ; then 3390 - APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 3391 - fi 3392 - 3393 - if test x$LIB_MAN_SUFFIX = x ; then 3394 - LIB_MAN_SUFFIX=3 3395 - fi 3396 - if test x$LIB_MAN_DIR = x ; then 3397 - LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 3398 - fi 3399 - 3400 - if test x$FILE_MAN_SUFFIX = x ; then 3401 - case $host_os in 3402 - solaris*) FILE_MAN_SUFFIX=4 ;; 3403 - *) FILE_MAN_SUFFIX=5 ;; 3404 - esac 3405 - fi 3406 - if test x$FILE_MAN_DIR = x ; then 3407 - FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 3408 - fi 3409 - 3410 - if test x$MISC_MAN_SUFFIX = x ; then 3411 - case $host_os in 3412 - solaris*) MISC_MAN_SUFFIX=5 ;; 3413 - *) MISC_MAN_SUFFIX=7 ;; 3414 - esac 3415 - fi 3416 - if test x$MISC_MAN_DIR = x ; then 3417 - MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 3418 - fi 5964 + ac_config_files="$ac_config_files Makefile" 3419 5965 3420 - if test x$DRIVER_MAN_SUFFIX = x ; then 3421 - case $host_os in 3422 - solaris*) DRIVER_MAN_SUFFIX=7 ;; 3423 - *) DRIVER_MAN_SUFFIX=4 ;; 3424 - esac 3425 - fi 3426 - if test x$DRIVER_MAN_DIR = x ; then 3427 - DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 3428 - fi 3429 - 3430 - if test x$ADMIN_MAN_SUFFIX = x ; then 3431 - case $host_os in 3432 - solaris*) ADMIN_MAN_SUFFIX=1m ;; 3433 - *) ADMIN_MAN_SUFFIX=8 ;; 3434 - esac 3435 - fi 3436 - if test x$ADMIN_MAN_DIR = x ; then 3437 - ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3438 - fi 3439 - 3440 - 3441 - 3442 - 3443 - 3444 - 3445 - 3446 - 3447 - 3448 - 3449 - 3450 - 3451 - 3452 - 3453 - 3454 - 3455 - 3456 - # Check whether --with-release-version or --without-release-version was given. 3457 - if test "${with_release_version+set}" = set; then 3458 - withval="$with_release_version" 3459 - RELEASE_VERSION="$withval" 3460 - else 3461 - RELEASE_VERSION="" 3462 - fi; 3463 - if test "x$RELEASE_VERSION" != "x"; then 3464 - PACKAGE="$PACKAGE-$RELEASE_VERSION" 3465 - PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 3466 - { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 3467 - echo "$as_me: Building with package name set to $PACKAGE" >&6;} 3468 - fi 3469 - 3470 - cat >>confdefs.h <<_ACEOF 3471 - #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 3472 - _ACEOF 3473 - 3474 - PVM=`echo $PACKAGE_VERSION | cut -d . -f 2` 3475 - if test "x$PVM" = "x"; then 3476 - PVM="0" 3477 - fi 3478 - 3479 - cat >>confdefs.h <<_ACEOF 3480 - #define PACKAGE_VERSION_MINOR $PVM 3481 - _ACEOF 3482 - 3483 - PVP=`echo $PACKAGE_VERSION | cut -d . -f 3` 3484 - if test "x$PVP" = "x"; then 3485 - PVP="0" 3486 - fi 3487 - 3488 - cat >>confdefs.h <<_ACEOF 3489 - #define PACKAGE_VERSION_PATCHLEVEL $PVP 3490 - _ACEOF 3491 - 3492 - 3493 - 3494 - ac_config_files="$ac_config_files Makefile" 3495 5966 cat >confcache <<\_ACEOF 3496 5967 # This file is a shell script that caches the results of configure 3497 5968 # tests run on this system so they can be shared between configure ··· 3510 5981 3511 5982 # The following way of writing the cache mishandles newlines in values, 3512 5983 # but we know of no workaround that is simple, portable, and efficient. 3513 - # So, don't put newlines in cache variables' values. 5984 + # So, we kill variables containing newlines. 3514 5985 # Ultrix sh set writes to stderr and can't be redirected directly, 3515 5986 # and sets the high bit in the cache file unless we assign to the vars. 3516 - { 5987 + ( 5988 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5989 + eval ac_val=\$$ac_var 5990 + case $ac_val in #( 5991 + *${as_nl}*) 5992 + case $ac_var in #( 5993 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5994 + $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5995 + esac 5996 + case $ac_var in #( 5997 + _ | IFS | as_nl) ;; #( 5998 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5999 + *) $as_unset $ac_var ;; 6000 + esac ;; 6001 + esac 6002 + done 6003 + 3517 6004 (set) 2>&1 | 3518 - case `(ac_space=' '; set | grep ac_space) 2>&1` in 3519 - *ac_space=\ *) 6005 + case $as_nl`(ac_space=' '; set) 2>&1` in #( 6006 + *${as_nl}ac_space=\ *) 3520 6007 # `set' does not quote correctly, so add quotes (double-quote 3521 6008 # substitution turns \\\\ into \\, and sed turns \\ into \). 3522 6009 sed -n \ 3523 6010 "s/'/'\\\\''/g; 3524 6011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3525 - ;; 6012 + ;; #( 3526 6013 *) 3527 6014 # `set' quotes correctly as required by POSIX, so do not add quotes. 3528 - sed -n \ 3529 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6015 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3530 6016 ;; 3531 - esac; 3532 - } | 6017 + esac | 6018 + sort 6019 + ) | 3533 6020 sed ' 6021 + /^ac_cv_env_/b end 3534 6022 t clear 3535 - : clear 6023 + :clear 3536 6024 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3537 6025 t end 3538 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3539 - : end' >>confcache 3540 - if diff $cache_file confcache >/dev/null 2>&1; then :; else 3541 - if test -w $cache_file; then 3542 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6026 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6027 + :end' >>confcache 6028 + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6029 + if test -w "$cache_file"; then 6030 + test "x$cache_file" != "x/dev/null" && 6031 + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 6032 + $as_echo "$as_me: updating cache $cache_file" >&6;} 3543 6033 cat confcache >$cache_file 3544 6034 else 3545 - echo "not updating unwritable cache $cache_file" 6035 + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 6036 + $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3546 6037 fi 3547 6038 fi 3548 6039 rm -f confcache ··· 3551 6042 # Let make expand exec_prefix. 3552 6043 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3553 6044 3554 - # VPATH may cause trouble with some makes, so we remove $(srcdir), 3555 - # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3556 - # trailing colons and then remove the whole line if VPATH becomes empty 3557 - # (actually we leave an empty line to preserve line numbers). 3558 - if test "x$srcdir" = x.; then 3559 - ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3560 - s/:*\$(srcdir):*/:/; 3561 - s/:*\${srcdir}:*/:/; 3562 - s/:*@srcdir@:*/:/; 3563 - s/^\([^=]*=[ ]*\):*/\1/; 3564 - s/:*$//; 3565 - s/^[^=]*=[ ]*$//; 3566 - }' 3567 - fi 3568 - 3569 6045 DEFS=-DHAVE_CONFIG_H 3570 6046 3571 6047 ac_libobjs= 3572 6048 ac_ltlibobjs= 3573 6049 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3574 6050 # 1. Remove the extension, and $U if already installed. 3575 - ac_i=`echo "$ac_i" | 3576 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3577 - # 2. Add them. 3578 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3579 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6051 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6052 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6053 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6054 + # will be set to the directory where LIBOBJS objects are built. 6055 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6056 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 3580 6057 done 3581 6058 LIBOBJS=$ac_libobjs 3582 6059 ··· 3584 6061 3585 6062 3586 6063 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3587 - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 6064 + { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 3588 6065 Usually this means the macro was only invoked conditionally." >&5 3589 - echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 6066 + $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 3590 6067 Usually this means the macro was only invoked conditionally." >&2;} 3591 6068 { (exit 1); exit 1; }; } 3592 6069 fi 3593 6070 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3594 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 6071 + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 3595 6072 Usually this means the macro was only invoked conditionally." >&5 3596 - echo "$as_me: error: conditional \"AMDEP\" was never defined. 6073 + $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 3597 6074 Usually this means the macro was only invoked conditionally." >&2;} 3598 6075 { (exit 1); exit 1; }; } 3599 6076 fi 3600 6077 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 3601 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 6078 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3602 6079 Usually this means the macro was only invoked conditionally." >&5 3603 - echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 6080 + $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3604 6081 Usually this means the macro was only invoked conditionally." >&2;} 3605 6082 { (exit 1); exit 1; }; } 3606 6083 fi 3607 - if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then 3608 - { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined. 6084 + if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6085 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3609 6086 Usually this means the macro was only invoked conditionally." >&5 3610 - echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined. 6087 + $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3611 6088 Usually this means the macro was only invoked conditionally." >&2;} 3612 6089 { (exit 1); exit 1; }; } 3613 6090 fi 3614 6091 3615 6092 : ${CONFIG_STATUS=./config.status} 6093 + ac_write_fail=0 3616 6094 ac_clean_files_save=$ac_clean_files 3617 6095 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3618 - { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3619 - echo "$as_me: creating $CONFIG_STATUS" >&6;} 3620 - cat >$CONFIG_STATUS <<_ACEOF 6096 + { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6097 + $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6098 + cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3621 6099 #! $SHELL 3622 6100 # Generated by $as_me. 3623 6101 # Run this file to recreate the current configuration. ··· 3630 6108 SHELL=\${CONFIG_SHELL-$SHELL} 3631 6109 _ACEOF 3632 6110 3633 - cat >>$CONFIG_STATUS <<\_ACEOF 6111 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3634 6112 ## --------------------- ## 3635 6113 ## M4sh Initialization. ## 3636 6114 ## --------------------- ## 3637 6115 3638 - # Be Bourne compatible 6116 + # Be more Bourne compatible 6117 + DUALCASE=1; export DUALCASE # for MKS sh 3639 6118 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3640 6119 emulate sh 3641 6120 NULLCMD=: 3642 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6121 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3643 6122 # is contrary to our usage. Disable this feature. 3644 6123 alias -g '${1+"$@"}'='"$@"' 3645 - elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3646 - set -o posix 6124 + setopt NO_GLOB_SUBST 6125 + else 6126 + case `(set -o) 2>/dev/null` in 6127 + *posix*) set -o posix ;; 6128 + esac 6129 + 6130 + fi 6131 + 6132 + 6133 + 6134 + 6135 + # PATH needs CR 6136 + # Avoid depending upon Character Ranges. 6137 + as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6138 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6139 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6140 + as_cr_digits='0123456789' 6141 + as_cr_alnum=$as_cr_Letters$as_cr_digits 6142 + 6143 + as_nl=' 6144 + ' 6145 + export as_nl 6146 + # Printing a long string crashes Solaris 7 /usr/bin/printf. 6147 + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6148 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6149 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6150 + if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6151 + as_echo='printf %s\n' 6152 + as_echo_n='printf %s' 6153 + else 6154 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6155 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6156 + as_echo_n='/usr/ucb/echo -n' 6157 + else 6158 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6159 + as_echo_n_body='eval 6160 + arg=$1; 6161 + case $arg in 6162 + *"$as_nl"*) 6163 + expr "X$arg" : "X\\(.*\\)$as_nl"; 6164 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6165 + esac; 6166 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6167 + ' 6168 + export as_echo_n_body 6169 + as_echo_n='sh -c $as_echo_n_body as_echo' 6170 + fi 6171 + export as_echo_body 6172 + as_echo='sh -c $as_echo_body as_echo' 6173 + fi 6174 + 6175 + # The user is always right. 6176 + if test "${PATH_SEPARATOR+set}" != set; then 6177 + PATH_SEPARATOR=: 6178 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6179 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6180 + PATH_SEPARATOR=';' 6181 + } 3647 6182 fi 3648 - DUALCASE=1; export DUALCASE # for MKS sh 3649 6183 3650 6184 # Support unset when possible. 3651 6185 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ··· 3655 6189 fi 3656 6190 3657 6191 6192 + # IFS 6193 + # We need space, tab and new line, in precisely that order. Quoting is 6194 + # there to prevent editors from complaining about space-tab. 6195 + # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6196 + # splitting by setting IFS to empty value.) 6197 + IFS=" "" $as_nl" 6198 + 6199 + # Find who we are. Look in the path if we contain no directory separator. 6200 + case $0 in 6201 + *[\\/]* ) as_myself=$0 ;; 6202 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6203 + for as_dir in $PATH 6204 + do 6205 + IFS=$as_save_IFS 6206 + test -z "$as_dir" && as_dir=. 6207 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6208 + done 6209 + IFS=$as_save_IFS 6210 + 6211 + ;; 6212 + esac 6213 + # We did not find ourselves, most probably we were run as `sh COMMAND' 6214 + # in which case we are not to be found in the path. 6215 + if test "x$as_myself" = x; then 6216 + as_myself=$0 6217 + fi 6218 + if test ! -f "$as_myself"; then 6219 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6220 + { (exit 1); exit 1; } 6221 + fi 6222 + 3658 6223 # Work around bugs in pre-3.0 UWIN ksh. 3659 - $as_unset ENV MAIL MAILPATH 6224 + for as_var in ENV MAIL MAILPATH 6225 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6226 + done 3660 6227 PS1='$ ' 3661 6228 PS2='> ' 3662 6229 PS4='+ ' 3663 6230 3664 6231 # NLS nuisances. 3665 - for as_var in \ 3666 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3667 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3668 - LC_TELEPHONE LC_TIME 3669 - do 3670 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3671 - eval $as_var=C; export $as_var 3672 - else 3673 - $as_unset $as_var 3674 - fi 3675 - done 6232 + LC_ALL=C 6233 + export LC_ALL 6234 + LANGUAGE=C 6235 + export LANGUAGE 3676 6236 3677 6237 # Required to use basename. 3678 - if expr a : '\(a\)' >/dev/null 2>&1; then 6238 + if expr a : '\(a\)' >/dev/null 2>&1 && 6239 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 3679 6240 as_expr=expr 3680 6241 else 3681 6242 as_expr=false 3682 6243 fi 3683 6244 3684 - if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6245 + if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3685 6246 as_basename=basename 3686 6247 else 3687 6248 as_basename=false ··· 3689 6250 3690 6251 3691 6252 # Name of the executable. 3692 - as_me=`$as_basename "$0" || 6253 + as_me=`$as_basename -- "$0" || 3693 6254 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3694 6255 X"$0" : 'X\(//\)$' \| \ 3695 - X"$0" : 'X\(/\)$' \| \ 3696 - . : '\(.\)' 2>/dev/null || 3697 - echo X/"$0" | 3698 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3699 - /^X\/\(\/\/\)$/{ s//\1/; q; } 3700 - /^X\/\(\/\).*/{ s//\1/; q; } 3701 - s/.*/./; q'` 3702 - 3703 - 3704 - # PATH needs CR, and LINENO needs CR and PATH. 3705 - # Avoid depending upon Character Ranges. 3706 - as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3707 - as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3708 - as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3709 - as_cr_digits='0123456789' 3710 - as_cr_alnum=$as_cr_Letters$as_cr_digits 6256 + X"$0" : 'X\(/\)' \| . 2>/dev/null || 6257 + $as_echo X/"$0" | 6258 + sed '/^.*\/\([^/][^/]*\)\/*$/{ 6259 + s//\1/ 6260 + q 6261 + } 6262 + /^X\/\(\/\/\)$/{ 6263 + s//\1/ 6264 + q 6265 + } 6266 + /^X\/\(\/\).*/{ 6267 + s//\1/ 6268 + q 6269 + } 6270 + s/.*/./; q'` 3711 6271 3712 - # The user is always right. 3713 - if test "${PATH_SEPARATOR+set}" != set; then 3714 - echo "#! /bin/sh" >conf$$.sh 3715 - echo "exit 0" >>conf$$.sh 3716 - chmod +x conf$$.sh 3717 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3718 - PATH_SEPARATOR=';' 3719 - else 3720 - PATH_SEPARATOR=: 3721 - fi 3722 - rm -f conf$$.sh 3723 - fi 6272 + # CDPATH. 6273 + $as_unset CDPATH 3724 6274 3725 6275 3726 - as_lineno_1=$LINENO 3727 - as_lineno_2=$LINENO 3728 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3729 - test "x$as_lineno_1" != "x$as_lineno_2" && 3730 - test "x$as_lineno_3" = "x$as_lineno_2" || { 3731 - # Find who we are. Look in the path if we contain no path at all 3732 - # relative or not. 3733 - case $0 in 3734 - *[\\/]* ) as_myself=$0 ;; 3735 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3736 - for as_dir in $PATH 3737 - do 3738 - IFS=$as_save_IFS 3739 - test -z "$as_dir" && as_dir=. 3740 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3741 - done 3742 6276 3743 - ;; 3744 - esac 3745 - # We did not find ourselves, most probably we were run as `sh COMMAND' 3746 - # in which case we are not to be found in the path. 3747 - if test "x$as_myself" = x; then 3748 - as_myself=$0 3749 - fi 3750 - if test ! -f "$as_myself"; then 3751 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3752 - echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3753 - { (exit 1); exit 1; }; } 3754 - fi 3755 - case $CONFIG_SHELL in 3756 - '') 3757 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3758 - for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3759 - do 3760 - IFS=$as_save_IFS 3761 - test -z "$as_dir" && as_dir=. 3762 - for as_base in sh bash ksh sh5; do 3763 - case $as_dir in 3764 - /*) 3765 - if ("$as_dir/$as_base" -c ' 3766 6277 as_lineno_1=$LINENO 3767 6278 as_lineno_2=$LINENO 3768 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3769 6279 test "x$as_lineno_1" != "x$as_lineno_2" && 3770 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3771 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3772 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3773 - CONFIG_SHELL=$as_dir/$as_base 3774 - export CONFIG_SHELL 3775 - exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3776 - fi;; 3777 - esac 3778 - done 3779 - done 3780 - ;; 3781 - esac 6280 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 3782 6281 3783 6282 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3784 6283 # uniformly replaced by the line number. The first 'sed' inserts a 3785 - # line-number line before each line; the second 'sed' does the real 3786 - # work. The second script uses 'N' to pair each line-number line 3787 - # with the numbered line, and appends trailing '-' during 3788 - # substitution so that $LINENO is not a special case at line end. 6284 + # line-number line after each line using $LINENO; the second 'sed' 6285 + # does the real work. The second script uses 'N' to pair each 6286 + # line-number line with the line containing $LINENO, and appends 6287 + # trailing '-' during substitution so that $LINENO is not a special 6288 + # case at line end. 3789 6289 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3790 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3791 - sed '=' <$as_myself | 6290 + # scripts with optimization help from Paolo Bonzini. Blame Lee 6291 + # E. McMahon (1931-1989) for sed's syntax. :-) 6292 + sed -n ' 6293 + p 6294 + /[$]LINENO/= 6295 + ' <$as_myself | 3792 6296 sed ' 6297 + s/[$]LINENO.*/&-/ 6298 + t lineno 6299 + b 6300 + :lineno 3793 6301 N 3794 - s,$,-, 3795 - : loop 3796 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6302 + :loop 6303 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 3797 6304 t loop 3798 - s,-$,, 3799 - s,^['$as_cr_digits']*\n,, 6305 + s/-\n.*// 3800 6306 ' >$as_me.lineno && 3801 - chmod +x $as_me.lineno || 3802 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3803 - echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6307 + chmod +x "$as_me.lineno" || 6308 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 3804 6309 { (exit 1); exit 1; }; } 3805 6310 3806 6311 # Don't try to exec as it changes $[0], causing all sort of problems 3807 6312 # (the dirname of $[0] is not the place where we might find the 3808 - # original and so on. Autoconf is especially sensible to this). 3809 - . ./$as_me.lineno 6313 + # original and so on. Autoconf is especially sensitive to this). 6314 + . "./$as_me.lineno" 3810 6315 # Exit status is that of the last command. 3811 6316 exit 3812 6317 } 3813 6318 3814 6319 3815 - case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3816 - *c*,-n*) ECHO_N= ECHO_C=' 3817 - ' ECHO_T=' ' ;; 3818 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3819 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3820 - esac 6320 + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6321 + as_dirname=dirname 6322 + else 6323 + as_dirname=false 6324 + fi 3821 6325 3822 - if expr a : '\(a\)' >/dev/null 2>&1; then 6326 + ECHO_C= ECHO_N= ECHO_T= 6327 + case `echo -n x` in 6328 + -n*) 6329 + case `echo 'x\c'` in 6330 + *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6331 + *) ECHO_C='\c';; 6332 + esac;; 6333 + *) 6334 + ECHO_N='-n';; 6335 + esac 6336 + if expr a : '\(a\)' >/dev/null 2>&1 && 6337 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 3823 6338 as_expr=expr 3824 6339 else 3825 6340 as_expr=false 3826 6341 fi 3827 6342 3828 6343 rm -f conf$$ conf$$.exe conf$$.file 3829 - echo >conf$$.file 3830 - if ln -s conf$$.file conf$$ 2>/dev/null; then 3831 - # We could just check for DJGPP; but this test a) works b) is more generic 3832 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3833 - if test -f conf$$.exe; then 3834 - # Don't use ln at all; we don't have any links 3835 - as_ln_s='cp -p' 6344 + if test -d conf$$.dir; then 6345 + rm -f conf$$.dir/conf$$.file 6346 + else 6347 + rm -f conf$$.dir 6348 + mkdir conf$$.dir 2>/dev/null 6349 + fi 6350 + if (echo >conf$$.file) 2>/dev/null; then 6351 + if ln -s conf$$.file conf$$ 2>/dev/null; then 6352 + as_ln_s='ln -s' 6353 + # ... but there are two gotchas: 6354 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6355 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6356 + # In both cases, we have to default to `cp -p'. 6357 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6358 + as_ln_s='cp -p' 6359 + elif ln conf$$.file conf$$ 2>/dev/null; then 6360 + as_ln_s=ln 3836 6361 else 3837 - as_ln_s='ln -s' 6362 + as_ln_s='cp -p' 3838 6363 fi 3839 - elif ln conf$$.file conf$$ 2>/dev/null; then 3840 - as_ln_s=ln 3841 6364 else 3842 6365 as_ln_s='cp -p' 3843 6366 fi 3844 - rm -f conf$$ conf$$.exe conf$$.file 6367 + rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6368 + rmdir conf$$.dir 2>/dev/null 3845 6369 3846 6370 if mkdir -p . 2>/dev/null; then 3847 6371 as_mkdir_p=: ··· 3850 6374 as_mkdir_p=false 3851 6375 fi 3852 6376 3853 - as_executable_p="test -f" 6377 + if test -x / >/dev/null 2>&1; then 6378 + as_test_x='test -x' 6379 + else 6380 + if ls -dL / >/dev/null 2>&1; then 6381 + as_ls_L_option=L 6382 + else 6383 + as_ls_L_option= 6384 + fi 6385 + as_test_x=' 6386 + eval sh -c '\'' 6387 + if test -d "$1"; then 6388 + test -d "$1/."; 6389 + else 6390 + case $1 in 6391 + -*)set "./$1";; 6392 + esac; 6393 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6394 + ???[sx]*):;;*)false;;esac;fi 6395 + '\'' sh 6396 + ' 6397 + fi 6398 + as_executable_p=$as_test_x 3854 6399 3855 6400 # Sed expression to map a string onto a valid CPP name. 3856 6401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ··· 3859 6404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3860 6405 3861 6406 3862 - # IFS 3863 - # We need space, tab and new line, in precisely that order. 3864 - as_nl=' 3865 - ' 3866 - IFS=" $as_nl" 3867 - 3868 - # CDPATH. 3869 - $as_unset CDPATH 3870 - 3871 6407 exec 6>&1 3872 6408 3873 - # Open the log real soon, to keep \$[0] and so on meaningful, and to 6409 + # Save the log message, to keep $[0] and so on meaningful, and to 3874 6410 # report actual input values of CONFIG_FILES etc. instead of their 3875 - # values after options handling. Logging --version etc. is OK. 3876 - exec 5>>config.log 3877 - { 3878 - echo 3879 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3880 - ## Running $as_me. ## 3881 - _ASBOX 3882 - } >&5 3883 - cat >&5 <<_CSEOF 3884 - 3885 - This file was extended by xmessage $as_me 1.0.2, which was 3886 - generated by GNU Autoconf 2.59. Invocation command line was 6411 + # values after options handling. 6412 + ac_log=" 6413 + This file was extended by xmessage $as_me 1.0.3, which was 6414 + generated by GNU Autoconf 2.62. Invocation command line was 3887 6415 3888 6416 CONFIG_FILES = $CONFIG_FILES 3889 6417 CONFIG_HEADERS = $CONFIG_HEADERS ··· 3891 6419 CONFIG_COMMANDS = $CONFIG_COMMANDS 3892 6420 $ $0 $@ 3893 6421 3894 - _CSEOF 3895 - echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3896 - echo >&5 6422 + on `(hostname || uname -n) 2>/dev/null | sed 1q` 6423 + " 6424 + 3897 6425 _ACEOF 3898 6426 6427 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3899 6428 # Files that config.status was made for. 3900 - if test -n "$ac_config_files"; then 3901 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3902 - fi 3903 - 3904 - if test -n "$ac_config_headers"; then 3905 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3906 - fi 3907 - 3908 - if test -n "$ac_config_links"; then 3909 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3910 - fi 3911 - 3912 - if test -n "$ac_config_commands"; then 3913 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3914 - fi 6429 + config_files="$ac_config_files" 6430 + config_headers="$ac_config_headers" 6431 + config_commands="$ac_config_commands" 3915 6432 3916 - cat >>$CONFIG_STATUS <<\_ACEOF 6433 + _ACEOF 3917 6434 6435 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3918 6436 ac_cs_usage="\ 3919 6437 \`$as_me' instantiates files from templates according to the 3920 6438 current configuration. ··· 3922 6440 Usage: $0 [OPTIONS] [FILE]... 3923 6441 3924 6442 -h, --help print this help, then exit 3925 - -V, --version print version number, then exit 6443 + -V, --version print version number and configuration settings, then exit 3926 6444 -q, --quiet do not print progress messages 3927 6445 -d, --debug don't remove temporary files 3928 6446 --recheck update $as_me by reconfiguring in the same conditions 3929 6447 --file=FILE[:TEMPLATE] 3930 - instantiate the configuration file FILE 6448 + instantiate the configuration file FILE 3931 6449 --header=FILE[:TEMPLATE] 3932 - instantiate the configuration header FILE 6450 + instantiate the configuration header FILE 3933 6451 3934 6452 Configuration files: 3935 6453 $config_files ··· 3941 6459 $config_commands 3942 6460 3943 6461 Report bugs to <bug-autoconf@gnu.org>." 6462 + 3944 6463 _ACEOF 3945 - 3946 - cat >>$CONFIG_STATUS <<_ACEOF 6464 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3947 6465 ac_cs_version="\\ 3948 - xmessage config.status 1.0.2 3949 - configured by $0, generated by GNU Autoconf 2.59, 3950 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 6466 + xmessage config.status 1.0.3 6467 + configured by $0, generated by GNU Autoconf 2.62, 6468 + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3951 6469 3952 - Copyright (C) 2003 Free Software Foundation, Inc. 6470 + Copyright (C) 2008 Free Software Foundation, Inc. 3953 6471 This config.status script is free software; the Free Software Foundation 3954 6472 gives unlimited permission to copy, distribute and modify it." 3955 - srcdir=$srcdir 3956 - INSTALL="$INSTALL" 6473 + 6474 + ac_pwd='$ac_pwd' 6475 + srcdir='$srcdir' 6476 + INSTALL='$INSTALL' 6477 + AWK='$AWK' 6478 + test -n "\$AWK" || AWK=awk 3957 6479 _ACEOF 3958 6480 3959 - cat >>$CONFIG_STATUS <<\_ACEOF 3960 - # If no file are specified by the user, then we need to provide default 3961 - # value. By we need to know if files were specified by the user. 6481 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6482 + # The default lists apply if the user does not specify any file. 3962 6483 ac_need_defaults=: 3963 6484 while test $# != 0 3964 6485 do 3965 6486 case $1 in 3966 6487 --*=*) 3967 - ac_option=`expr "x$1" : 'x\([^=]*\)='` 3968 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 6488 + ac_option=`expr "X$1" : 'X\([^=]*\)='` 6489 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3969 6490 ac_shift=: 3970 6491 ;; 3971 - -*) 6492 + *) 3972 6493 ac_option=$1 3973 6494 ac_optarg=$2 3974 6495 ac_shift=shift 3975 6496 ;; 3976 - *) # This is not an option, so the user has probably given explicit 3977 - # arguments. 3978 - ac_option=$1 3979 - ac_need_defaults=false;; 3980 6497 esac 3981 6498 3982 6499 case $ac_option in 3983 6500 # Handling of the options. 3984 - _ACEOF 3985 - cat >>$CONFIG_STATUS <<\_ACEOF 3986 6501 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3987 6502 ac_cs_recheck=: ;; 3988 - --version | --vers* | -V ) 3989 - echo "$ac_cs_version"; exit 0 ;; 3990 - --he | --h) 3991 - # Conflict between --help and --header 3992 - { { echo "$as_me:$LINENO: error: ambiguous option: $1 3993 - Try \`$0 --help' for more information." >&5 3994 - echo "$as_me: error: ambiguous option: $1 3995 - Try \`$0 --help' for more information." >&2;} 3996 - { (exit 1); exit 1; }; };; 3997 - --help | --hel | -h ) 3998 - echo "$ac_cs_usage"; exit 0 ;; 3999 - --debug | --d* | -d ) 6503 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6504 + $as_echo "$ac_cs_version"; exit ;; 6505 + --debug | --debu | --deb | --de | --d | -d ) 4000 6506 debug=: ;; 4001 6507 --file | --fil | --fi | --f ) 4002 6508 $ac_shift 4003 - CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6509 + case $ac_optarg in 6510 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6511 + esac 6512 + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 4004 6513 ac_need_defaults=false;; 4005 6514 --header | --heade | --head | --hea ) 4006 6515 $ac_shift 4007 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 6516 + case $ac_optarg in 6517 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6518 + esac 6519 + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 4008 6520 ac_need_defaults=false;; 6521 + --he | --h) 6522 + # Conflict between --help and --header 6523 + { $as_echo "$as_me: error: ambiguous option: $1 6524 + Try \`$0 --help' for more information." >&2 6525 + { (exit 1); exit 1; }; };; 6526 + --help | --hel | -h ) 6527 + $as_echo "$ac_cs_usage"; exit ;; 4009 6528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4010 6529 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4011 6530 ac_cs_silent=: ;; 4012 6531 4013 6532 # This is an error. 4014 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4015 - Try \`$0 --help' for more information." >&5 4016 - echo "$as_me: error: unrecognized option: $1 4017 - Try \`$0 --help' for more information." >&2;} 6533 + -*) { $as_echo "$as_me: error: unrecognized option: $1 6534 + Try \`$0 --help' for more information." >&2 4018 6535 { (exit 1); exit 1; }; } ;; 4019 6536 4020 - *) ac_config_targets="$ac_config_targets $1" ;; 6537 + *) ac_config_targets="$ac_config_targets $1" 6538 + ac_need_defaults=false ;; 4021 6539 4022 6540 esac 4023 6541 shift ··· 4031 6549 fi 4032 6550 4033 6551 _ACEOF 4034 - cat >>$CONFIG_STATUS <<_ACEOF 6552 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4035 6553 if \$ac_cs_recheck; then 4036 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4037 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6554 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6555 + shift 6556 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6557 + CONFIG_SHELL='$SHELL' 6558 + export CONFIG_SHELL 6559 + exec "\$@" 4038 6560 fi 4039 6561 4040 6562 _ACEOF 6563 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6564 + exec 5>>config.log 6565 + { 6566 + echo 6567 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6568 + ## Running $as_me. ## 6569 + _ASBOX 6570 + $as_echo "$ac_log" 6571 + } >&5 4041 6572 4042 - cat >>$CONFIG_STATUS <<_ACEOF 6573 + _ACEOF 6574 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4043 6575 # 4044 - # INIT-COMMANDS section. 6576 + # INIT-COMMANDS 4045 6577 # 4046 - 4047 6578 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4048 6579 4049 6580 _ACEOF 4050 6581 6582 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4051 6583 4052 - 4053 - cat >>$CONFIG_STATUS <<\_ACEOF 6584 + # Handling of arguments. 4054 6585 for ac_config_target in $ac_config_targets 4055 6586 do 4056 - case "$ac_config_target" in 4057 - # Handling of arguments. 4058 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4059 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4060 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4061 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4062 - echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6587 + case $ac_config_target in 6588 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6589 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6590 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6591 + 6592 + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6593 + $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4063 6594 { (exit 1); exit 1; }; };; 4064 6595 esac 4065 6596 done 6597 + 4066 6598 4067 6599 # If the user did not use the arguments to specify the items to instantiate, 4068 6600 # then the envvar interface is used. Set only those that are not. ··· 4075 6607 fi 4076 6608 4077 6609 # Have a temporary directory for convenience. Make it in the build tree 4078 - # simply because there is no reason to put it here, and in addition, 6610 + # simply because there is no reason against having it here, and in addition, 4079 6611 # creating and moving files from /tmp can sometimes cause problems. 4080 - # Create a temporary directory, and hook for its removal unless debugging. 6612 + # Hook for its removal unless debugging. 6613 + # Note that there is a small window in which the directory will not be cleaned: 6614 + # after its creation but before its name has been assigned to `$tmp'. 4081 6615 $debug || 4082 6616 { 4083 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6617 + tmp= 6618 + trap 'exit_status=$? 6619 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6620 + ' 0 4084 6621 trap '{ (exit 1); exit 1; }' 1 2 13 15 4085 6622 } 4086 - 4087 6623 # Create a (secure) tmp directory for tmp files. 4088 6624 4089 6625 { 4090 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 6626 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4091 6627 test -n "$tmp" && test -d "$tmp" 4092 6628 } || 4093 6629 { 4094 - tmp=./confstat$$-$RANDOM 4095 - (umask 077 && mkdir $tmp) 6630 + tmp=./conf$$-$RANDOM 6631 + (umask 077 && mkdir "$tmp") 4096 6632 } || 4097 6633 { 4098 - echo "$me: cannot create a temporary directory in ." >&2 6634 + $as_echo "$as_me: cannot create a temporary directory in ." >&2 4099 6635 { (exit 1); exit 1; } 4100 6636 } 4101 6637 6638 + # Set up the scripts for CONFIG_FILES section. 6639 + # No need to generate them if there are no CONFIG_FILES. 6640 + # This happens for instance with `./config.status config.h'. 6641 + if test -n "$CONFIG_FILES"; then 6642 + 6643 + 6644 + ac_cr=' ' 6645 + ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6646 + if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6647 + ac_cs_awk_cr='\\r' 6648 + else 6649 + ac_cs_awk_cr=$ac_cr 6650 + fi 6651 + 6652 + echo 'BEGIN {' >"$tmp/subs1.awk" && 4102 6653 _ACEOF 4103 6654 4104 - cat >>$CONFIG_STATUS <<_ACEOF 4105 6655 4106 - # 4107 - # CONFIG_FILES section. 4108 - # 6656 + { 6657 + echo "cat >conf$$subs.awk <<_ACEOF" && 6658 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6659 + echo "_ACEOF" 6660 + } >conf$$subs.sh || 6661 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6662 + $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6663 + { (exit 1); exit 1; }; } 6664 + ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6665 + ac_delim='%!_!# ' 6666 + for ac_last_try in false false false false false :; do 6667 + . ./conf$$subs.sh || 6668 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6669 + $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6670 + { (exit 1); exit 1; }; } 4109 6671 4110 - # No need to generate the scripts if there are no CONFIG_FILES. 4111 - # This happens for instance when ./config.status config.h 4112 - if test -n "\$CONFIG_FILES"; then 4113 - # Protect against being on the right side of a sed subst in config.status. 4114 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4115 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4116 - s,@SHELL@,$SHELL,;t t 4117 - s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4118 - s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4119 - s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4120 - s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4121 - s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4122 - s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4123 - s,@exec_prefix@,$exec_prefix,;t t 4124 - s,@prefix@,$prefix,;t t 4125 - s,@program_transform_name@,$program_transform_name,;t t 4126 - s,@bindir@,$bindir,;t t 4127 - s,@sbindir@,$sbindir,;t t 4128 - s,@libexecdir@,$libexecdir,;t t 4129 - s,@datadir@,$datadir,;t t 4130 - s,@sysconfdir@,$sysconfdir,;t t 4131 - s,@sharedstatedir@,$sharedstatedir,;t t 4132 - s,@localstatedir@,$localstatedir,;t t 4133 - s,@libdir@,$libdir,;t t 4134 - s,@includedir@,$includedir,;t t 4135 - s,@oldincludedir@,$oldincludedir,;t t 4136 - s,@infodir@,$infodir,;t t 4137 - s,@mandir@,$mandir,;t t 4138 - s,@build_alias@,$build_alias,;t t 4139 - s,@host_alias@,$host_alias,;t t 4140 - s,@target_alias@,$target_alias,;t t 4141 - s,@DEFS@,$DEFS,;t t 4142 - s,@ECHO_C@,$ECHO_C,;t t 4143 - s,@ECHO_N@,$ECHO_N,;t t 4144 - s,@ECHO_T@,$ECHO_T,;t t 4145 - s,@LIBS@,$LIBS,;t t 4146 - s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4147 - s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4148 - s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4149 - s,@CYGPATH_W@,$CYGPATH_W,;t t 4150 - s,@PACKAGE@,$PACKAGE,;t t 4151 - s,@VERSION@,$VERSION,;t t 4152 - s,@ACLOCAL@,$ACLOCAL,;t t 4153 - s,@AUTOCONF@,$AUTOCONF,;t t 4154 - s,@AUTOMAKE@,$AUTOMAKE,;t t 4155 - s,@AUTOHEADER@,$AUTOHEADER,;t t 4156 - s,@MAKEINFO@,$MAKEINFO,;t t 4157 - s,@install_sh@,$install_sh,;t t 4158 - s,@STRIP@,$STRIP,;t t 4159 - s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 4160 - s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4161 - s,@mkdir_p@,$mkdir_p,;t t 4162 - s,@AWK@,$AWK,;t t 4163 - s,@SET_MAKE@,$SET_MAKE,;t t 4164 - s,@am__leading_dot@,$am__leading_dot,;t t 4165 - s,@AMTAR@,$AMTAR,;t t 4166 - s,@am__tar@,$am__tar,;t t 4167 - s,@am__untar@,$am__untar,;t t 4168 - s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 4169 - s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 4170 - s,@MAINT@,$MAINT,;t t 4171 - s,@CC@,$CC,;t t 4172 - s,@CFLAGS@,$CFLAGS,;t t 4173 - s,@LDFLAGS@,$LDFLAGS,;t t 4174 - s,@CPPFLAGS@,$CPPFLAGS,;t t 4175 - s,@ac_ct_CC@,$ac_ct_CC,;t t 4176 - s,@EXEEXT@,$EXEEXT,;t t 4177 - s,@OBJEXT@,$OBJEXT,;t t 4178 - s,@DEPDIR@,$DEPDIR,;t t 4179 - s,@am__include@,$am__include,;t t 4180 - s,@am__quote@,$am__quote,;t t 4181 - s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4182 - s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4183 - s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4184 - s,@CCDEPMODE@,$CCDEPMODE,;t t 4185 - s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 4186 - s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 4187 - s,@PKG_CONFIG@,$PKG_CONFIG,;t t 4188 - s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 4189 - s,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t 4190 - s,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t 4191 - s,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t 4192 - s,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t 4193 - s,@XMESSAGE_CFLAGS@,$XMESSAGE_CFLAGS,;t t 4194 - s,@XMESSAGE_LIBS@,$XMESSAGE_LIBS,;t t 4195 - s,@APPDEFS_CFLAGS@,$APPDEFS_CFLAGS,;t t 4196 - s,@APPDEFS_LIBS@,$APPDEFS_LIBS,;t t 4197 - s,@appdefaultdir@,$appdefaultdir,;t t 4198 - s,@build@,$build,;t t 4199 - s,@build_cpu@,$build_cpu,;t t 4200 - s,@build_vendor@,$build_vendor,;t t 4201 - s,@build_os@,$build_os,;t t 4202 - s,@host@,$host,;t t 4203 - s,@host_cpu@,$host_cpu,;t t 4204 - s,@host_vendor@,$host_vendor,;t t 4205 - s,@host_os@,$host_os,;t t 4206 - s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 4207 - s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 4208 - s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 4209 - s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 4210 - s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 4211 - s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 4212 - s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 4213 - s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 4214 - s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 4215 - s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 4216 - s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 4217 - s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 4218 - s,@LIBOBJS@,$LIBOBJS,;t t 4219 - s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4220 - CEOF 6672 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 6673 + break 6674 + elif $ac_last_try; then 6675 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6676 + $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6677 + { (exit 1); exit 1; }; } 6678 + else 6679 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6680 + fi 6681 + done 6682 + rm -f conf$$subs.sh 6683 + 6684 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6685 + cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6686 + _ACEOF 6687 + sed -n ' 6688 + h 6689 + s/^/S["/; s/!.*/"]=/ 6690 + p 6691 + g 6692 + s/^[^!]*!// 6693 + :repl 6694 + t repl 6695 + s/'"$ac_delim"'$// 6696 + t delim 6697 + :nl 6698 + h 6699 + s/\(.\{148\}\).*/\1/ 6700 + t more1 6701 + s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6702 + p 6703 + n 6704 + b repl 6705 + :more1 6706 + s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6707 + p 6708 + g 6709 + s/.\{148\}// 6710 + t nl 6711 + :delim 6712 + h 6713 + s/\(.\{148\}\).*/\1/ 6714 + t more2 6715 + s/["\\]/\\&/g; s/^/"/; s/$/"/ 6716 + p 6717 + b 6718 + :more2 6719 + s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6720 + p 6721 + g 6722 + s/.\{148\}// 6723 + t delim 6724 + ' <conf$$subs.awk | sed ' 6725 + /^[^""]/{ 6726 + N 6727 + s/\n// 6728 + } 6729 + ' >>$CONFIG_STATUS || ac_write_fail=1 6730 + rm -f conf$$subs.awk 6731 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6732 + _ACAWK 6733 + cat >>"\$tmp/subs1.awk" <<_ACAWK && 6734 + for (key in S) S_is_set[key] = 1 6735 + FS = "" 6736 + 6737 + } 6738 + { 6739 + line = $ 0 6740 + nfields = split(line, field, "@") 6741 + substed = 0 6742 + len = length(field[1]) 6743 + for (i = 2; i < nfields; i++) { 6744 + key = field[i] 6745 + keylen = length(key) 6746 + if (S_is_set[key]) { 6747 + value = S[key] 6748 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6749 + len += length(value) + length(field[++i]) 6750 + substed = 1 6751 + } else 6752 + len += 1 + keylen 6753 + } 6754 + 6755 + print line 6756 + } 6757 + 6758 + _ACAWK 6759 + _ACEOF 6760 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6761 + if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6762 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6763 + else 6764 + cat 6765 + fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6766 + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 6767 + $as_echo "$as_me: error: could not setup config files machinery" >&2;} 6768 + { (exit 1); exit 1; }; } 6769 + _ACEOF 6770 + 6771 + # VPATH may cause trouble with some makes, so we remove $(srcdir), 6772 + # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6773 + # trailing colons and then remove the whole line if VPATH becomes empty 6774 + # (actually we leave an empty line to preserve line numbers). 6775 + if test "x$srcdir" = x.; then 6776 + ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6777 + s/:*\$(srcdir):*/:/ 6778 + s/:*\${srcdir}:*/:/ 6779 + s/:*@srcdir@:*/:/ 6780 + s/^\([^=]*=[ ]*\):*/\1/ 6781 + s/:*$// 6782 + s/^[^=]*=[ ]*$// 6783 + }' 6784 + fi 6785 + 6786 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6787 + fi # test -n "$CONFIG_FILES" 4221 6788 6789 + # Set up the scripts for CONFIG_HEADERS section. 6790 + # No need to generate them if there are no CONFIG_HEADERS. 6791 + # This happens for instance with `./config.status Makefile'. 6792 + if test -n "$CONFIG_HEADERS"; then 6793 + cat >"$tmp/defines.awk" <<\_ACAWK || 6794 + BEGIN { 4222 6795 _ACEOF 4223 6796 4224 - cat >>$CONFIG_STATUS <<\_ACEOF 4225 - # Split the substitutions into bite-sized pieces for seds with 4226 - # small command number limits, like on Digital OSF/1 and HP-UX. 4227 - ac_max_sed_lines=48 4228 - ac_sed_frag=1 # Number of current file. 4229 - ac_beg=1 # First line for current file. 4230 - ac_end=$ac_max_sed_lines # Line after last line for current file. 4231 - ac_more_lines=: 4232 - ac_sed_cmds= 4233 - while $ac_more_lines; do 4234 - if test $ac_beg -gt 1; then 4235 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4236 - else 4237 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4238 - fi 4239 - if test ! -s $tmp/subs.frag; then 4240 - ac_more_lines=false 4241 - else 4242 - # The purpose of the label and of the branching condition is to 4243 - # speed up the sed processing (if there are no `@' at all, there 4244 - # is no need to browse any of the substitutions). 4245 - # These are the two extra sed commands mentioned above. 4246 - (echo ':t 4247 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4248 - if test -z "$ac_sed_cmds"; then 4249 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4250 - else 4251 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4252 - fi 4253 - ac_sed_frag=`expr $ac_sed_frag + 1` 4254 - ac_beg=$ac_end 4255 - ac_end=`expr $ac_end + $ac_max_sed_lines` 4256 - fi 4257 - done 4258 - if test -z "$ac_sed_cmds"; then 4259 - ac_sed_cmds=cat 6797 + # Transform confdefs.h into an awk script `defines.awk', embedded as 6798 + # here-document in config.status, that substitutes the proper values into 6799 + # config.h.in to produce config.h. 6800 + 6801 + # Create a delimiter string that does not exist in confdefs.h, to ease 6802 + # handling of long lines. 6803 + ac_delim='%!_!# ' 6804 + for ac_last_try in false false :; do 6805 + ac_t=`sed -n "/$ac_delim/p" confdefs.h` 6806 + if test -z "$ac_t"; then 6807 + break 6808 + elif $ac_last_try; then 6809 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 6810 + $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 6811 + { (exit 1); exit 1; }; } 6812 + else 6813 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4260 6814 fi 4261 - fi # test -n "$CONFIG_FILES" 6815 + done 6816 + 6817 + # For the awk script, D is an array of macro values keyed by name, 6818 + # likewise P contains macro parameters if any. Preserve backslash 6819 + # newline sequences. 4262 6820 6821 + ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6822 + sed -n ' 6823 + s/.\{148\}/&'"$ac_delim"'/g 6824 + t rset 6825 + :rset 6826 + s/^[ ]*#[ ]*define[ ][ ]*/ / 6827 + t def 6828 + d 6829 + :def 6830 + s/\\$// 6831 + t bsnl 6832 + s/["\\]/\\&/g 6833 + s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6834 + D["\1"]=" \3"/p 6835 + s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6836 + d 6837 + :bsnl 6838 + s/["\\]/\\&/g 6839 + s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6840 + D["\1"]=" \3\\\\\\n"\\/p 6841 + t cont 6842 + s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6843 + t cont 6844 + d 6845 + :cont 6846 + n 6847 + s/.\{148\}/&'"$ac_delim"'/g 6848 + t clear 6849 + :clear 6850 + s/\\$// 6851 + t bsnlc 6852 + s/["\\]/\\&/g; s/^/"/; s/$/"/p 6853 + d 6854 + :bsnlc 6855 + s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6856 + b cont 6857 + ' <confdefs.h | sed ' 6858 + s/'"$ac_delim"'/"\\\ 6859 + "/g' >>$CONFIG_STATUS || ac_write_fail=1 6860 + 6861 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6862 + for (key in D) D_is_set[key] = 1 6863 + FS = "" 6864 + } 6865 + /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6866 + line = \$ 0 6867 + split(line, arg, " ") 6868 + if (arg[1] == "#") { 6869 + defundef = arg[2] 6870 + mac1 = arg[3] 6871 + } else { 6872 + defundef = substr(arg[1], 2) 6873 + mac1 = arg[2] 6874 + } 6875 + split(mac1, mac2, "(") #) 6876 + macro = mac2[1] 6877 + if (D_is_set[macro]) { 6878 + # Preserve the white space surrounding the "#". 6879 + prefix = substr(line, 1, index(line, defundef) - 1) 6880 + print prefix "define", macro P[macro] D[macro] 6881 + next 6882 + } else { 6883 + # Replace #undef with comments. This is necessary, for example, 6884 + # in the case of _POSIX_SOURCE, which is predefined and required 6885 + # on some systems where configure will not decide to define it. 6886 + if (defundef == "undef") { 6887 + print "/*", line, "*/" 6888 + next 6889 + } 6890 + } 6891 + } 6892 + { print } 6893 + _ACAWK 4263 6894 _ACEOF 4264 - cat >>$CONFIG_STATUS <<\_ACEOF 4265 - for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4266 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4267 - case $ac_file in 4268 - - | *:- | *:-:* ) # input from stdin 4269 - cat >$tmp/stdin 4270 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4271 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4272 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4273 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4274 - * ) ac_file_in=$ac_file.in ;; 6895 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6896 + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 6897 + $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 6898 + { (exit 1); exit 1; }; } 6899 + fi # test -n "$CONFIG_HEADERS" 6900 + 6901 + 6902 + eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 6903 + shift 6904 + for ac_tag 6905 + do 6906 + case $ac_tag in 6907 + :[FHLC]) ac_mode=$ac_tag; continue;; 4275 6908 esac 6909 + case $ac_mode$ac_tag in 6910 + :[FHL]*:*);; 6911 + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 6912 + $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 6913 + { (exit 1); exit 1; }; };; 6914 + :[FH]-) ac_tag=-:-;; 6915 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6916 + esac 6917 + ac_save_IFS=$IFS 6918 + IFS=: 6919 + set x $ac_tag 6920 + IFS=$ac_save_IFS 6921 + shift 6922 + ac_file=$1 6923 + shift 4276 6924 4277 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4278 - ac_dir=`(dirname "$ac_file") 2>/dev/null || 6925 + case $ac_mode in 6926 + :L) ac_source=$1;; 6927 + :[FH]) 6928 + ac_file_inputs= 6929 + for ac_f 6930 + do 6931 + case $ac_f in 6932 + -) ac_f="$tmp/stdin";; 6933 + *) # Look for the file first in the build tree, then in the source tree 6934 + # (if the path is not absolute). The absolute path cannot be DOS-style, 6935 + # because $ac_f cannot contain `:'. 6936 + test -f "$ac_f" || 6937 + case $ac_f in 6938 + [\\/$]*) false;; 6939 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6940 + esac || 6941 + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6942 + $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6943 + { (exit 1); exit 1; }; };; 6944 + esac 6945 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6946 + ac_file_inputs="$ac_file_inputs '$ac_f'" 6947 + done 6948 + 6949 + # Let's still pretend it is `configure' which instantiates (i.e., don't 6950 + # use $as_me), people would be surprised to read: 6951 + # /* config.h. Generated by config.status. */ 6952 + configure_input='Generated from '` 6953 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6954 + `' by configure.' 6955 + if test x"$ac_file" != x-; then 6956 + configure_input="$ac_file. $configure_input" 6957 + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 6958 + $as_echo "$as_me: creating $ac_file" >&6;} 6959 + fi 6960 + # Neutralize special characters interpreted by sed in replacement strings. 6961 + case $configure_input in #( 6962 + *\&* | *\|* | *\\* ) 6963 + ac_sed_conf_input=`$as_echo "$configure_input" | 6964 + sed 's/[\\\\&|]/\\\\&/g'`;; #( 6965 + *) ac_sed_conf_input=$configure_input;; 6966 + esac 6967 + 6968 + case $ac_tag in 6969 + *:-:* | *:-) cat >"$tmp/stdin" \ 6970 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6971 + $as_echo "$as_me: error: could not create $ac_file" >&2;} 6972 + { (exit 1); exit 1; }; } ;; 6973 + esac 6974 + ;; 6975 + esac 6976 + 6977 + ac_dir=`$as_dirname -- "$ac_file" || 4279 6978 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4280 6979 X"$ac_file" : 'X\(//\)[^/]' \| \ 4281 6980 X"$ac_file" : 'X\(//\)$' \| \ 4282 - X"$ac_file" : 'X\(/\)' \| \ 4283 - . : '\(.\)' 2>/dev/null || 4284 - echo X"$ac_file" | 4285 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4286 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4287 - /^X\(\/\/\)$/{ s//\1/; q; } 4288 - /^X\(\/\).*/{ s//\1/; q; } 4289 - s/.*/./; q'` 4290 - { if $as_mkdir_p; then 4291 - mkdir -p "$ac_dir" 4292 - else 4293 - as_dir="$ac_dir" 6981 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6982 + $as_echo X"$ac_file" | 6983 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6984 + s//\1/ 6985 + q 6986 + } 6987 + /^X\(\/\/\)[^/].*/{ 6988 + s//\1/ 6989 + q 6990 + } 6991 + /^X\(\/\/\)$/{ 6992 + s//\1/ 6993 + q 6994 + } 6995 + /^X\(\/\).*/{ 6996 + s//\1/ 6997 + q 6998 + } 6999 + s/.*/./; q'` 7000 + { as_dir="$ac_dir" 7001 + case $as_dir in #( 7002 + -*) as_dir=./$as_dir;; 7003 + esac 7004 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4294 7005 as_dirs= 4295 - while test ! -d "$as_dir"; do 4296 - as_dirs="$as_dir $as_dirs" 4297 - as_dir=`(dirname "$as_dir") 2>/dev/null || 7006 + while :; do 7007 + case $as_dir in #( 7008 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7009 + *) as_qdir=$as_dir;; 7010 + esac 7011 + as_dirs="'$as_qdir' $as_dirs" 7012 + as_dir=`$as_dirname -- "$as_dir" || 4298 7013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4299 7014 X"$as_dir" : 'X\(//\)[^/]' \| \ 4300 7015 X"$as_dir" : 'X\(//\)$' \| \ 4301 - X"$as_dir" : 'X\(/\)' \| \ 4302 - . : '\(.\)' 2>/dev/null || 4303 - echo X"$as_dir" | 4304 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4305 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4306 - /^X\(\/\/\)$/{ s//\1/; q; } 4307 - /^X\(\/\).*/{ s//\1/; q; } 4308 - s/.*/./; q'` 7016 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7017 + $as_echo X"$as_dir" | 7018 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7019 + s//\1/ 7020 + q 7021 + } 7022 + /^X\(\/\/\)[^/].*/{ 7023 + s//\1/ 7024 + q 7025 + } 7026 + /^X\(\/\/\)$/{ 7027 + s//\1/ 7028 + q 7029 + } 7030 + /^X\(\/\).*/{ 7031 + s//\1/ 7032 + q 7033 + } 7034 + s/.*/./; q'` 7035 + test -d "$as_dir" && break 4309 7036 done 4310 - test ! -n "$as_dirs" || mkdir $as_dirs 4311 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4312 - echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7037 + test -z "$as_dirs" || eval "mkdir $as_dirs" 7038 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7039 + $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 4313 7040 { (exit 1); exit 1; }; }; } 4314 - 4315 7041 ac_builddir=. 4316 7042 4317 - if test "$ac_dir" != .; then 4318 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4319 - # A "../" for each directory in $ac_dir_suffix. 4320 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4321 - else 4322 - ac_dir_suffix= ac_top_builddir= 4323 - fi 7043 + case "$ac_dir" in 7044 + .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7045 + *) 7046 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7047 + # A ".." for each directory in $ac_dir_suffix. 7048 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7049 + case $ac_top_builddir_sub in 7050 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7051 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7052 + esac ;; 7053 + esac 7054 + ac_abs_top_builddir=$ac_pwd 7055 + ac_abs_builddir=$ac_pwd$ac_dir_suffix 7056 + # for backward compatibility: 7057 + ac_top_builddir=$ac_top_build_prefix 4324 7058 4325 7059 case $srcdir in 4326 - .) # No --srcdir option. We are building in place. 7060 + .) # We are building in place. 4327 7061 ac_srcdir=. 4328 - if test -z "$ac_top_builddir"; then 4329 - ac_top_srcdir=. 4330 - else 4331 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4332 - fi ;; 4333 - [\\/]* | ?:[\\/]* ) # Absolute path. 7062 + ac_top_srcdir=$ac_top_builddir_sub 7063 + ac_abs_top_srcdir=$ac_pwd ;; 7064 + [\\/]* | ?:[\\/]* ) # Absolute name. 4334 7065 ac_srcdir=$srcdir$ac_dir_suffix; 4335 - ac_top_srcdir=$srcdir ;; 4336 - *) # Relative path. 4337 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4338 - ac_top_srcdir=$ac_top_builddir$srcdir ;; 7066 + ac_top_srcdir=$srcdir 7067 + ac_abs_top_srcdir=$srcdir ;; 7068 + *) # Relative name. 7069 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7070 + ac_top_srcdir=$ac_top_build_prefix$srcdir 7071 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4339 7072 esac 7073 + ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4340 7074 4341 - # Do not use `cd foo && pwd` to compute absolute paths, because 4342 - # the directories may not exist. 4343 - case `pwd` in 4344 - .) ac_abs_builddir="$ac_dir";; 4345 - *) 4346 - case "$ac_dir" in 4347 - .) ac_abs_builddir=`pwd`;; 4348 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4349 - *) ac_abs_builddir=`pwd`/"$ac_dir";; 4350 - esac;; 4351 - esac 4352 - case $ac_abs_builddir in 4353 - .) ac_abs_top_builddir=${ac_top_builddir}.;; 4354 - *) 4355 - case ${ac_top_builddir}. in 4356 - .) ac_abs_top_builddir=$ac_abs_builddir;; 4357 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4358 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4359 - esac;; 4360 - esac 4361 - case $ac_abs_builddir in 4362 - .) ac_abs_srcdir=$ac_srcdir;; 4363 - *) 4364 - case $ac_srcdir in 4365 - .) ac_abs_srcdir=$ac_abs_builddir;; 4366 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4367 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4368 - esac;; 4369 - esac 4370 - case $ac_abs_builddir in 4371 - .) ac_abs_top_srcdir=$ac_top_srcdir;; 4372 - *) 4373 - case $ac_top_srcdir in 4374 - .) ac_abs_top_srcdir=$ac_abs_builddir;; 4375 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4376 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4377 - esac;; 4378 - esac 4379 7075 7076 + case $ac_mode in 7077 + :F) 7078 + # 7079 + # CONFIG_FILE 7080 + # 4380 7081 4381 7082 case $INSTALL in 4382 7083 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4383 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7084 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4384 7085 esac 7086 + _ACEOF 4385 7087 4386 - if test x"$ac_file" != x-; then 4387 - { echo "$as_me:$LINENO: creating $ac_file" >&5 4388 - echo "$as_me: creating $ac_file" >&6;} 4389 - rm -f "$ac_file" 4390 - fi 4391 - # Let's still pretend it is `configure' which instantiates (i.e., don't 4392 - # use $as_me), people would be surprised to read: 4393 - # /* config.h. Generated by config.status. */ 4394 - if test x"$ac_file" = x-; then 4395 - configure_input= 4396 - else 4397 - configure_input="$ac_file. " 4398 - fi 4399 - configure_input=$configure_input"Generated from `echo $ac_file_in | 4400 - sed 's,.*/,,'` by configure." 7088 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7089 + # If the template does not know about datarootdir, expand it. 7090 + # FIXME: This hack should be removed a few years after 2.60. 7091 + ac_datarootdir_hack=; ac_datarootdir_seen= 4401 7092 4402 - # First look for the input files in the build tree, otherwise in the 4403 - # src tree. 4404 - ac_file_inputs=`IFS=: 4405 - for f in $ac_file_in; do 4406 - case $f in 4407 - -) echo $tmp/stdin ;; 4408 - [\\/$]*) 4409 - # Absolute (can't be DOS-style, as IFS=:) 4410 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4411 - echo "$as_me: error: cannot find input file: $f" >&2;} 4412 - { (exit 1); exit 1; }; } 4413 - echo "$f";; 4414 - *) # Relative 4415 - if test -f "$f"; then 4416 - # Build tree 4417 - echo "$f" 4418 - elif test -f "$srcdir/$f"; then 4419 - # Source tree 4420 - echo "$srcdir/$f" 4421 - else 4422 - # /dev/null tree 4423 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4424 - echo "$as_me: error: cannot find input file: $f" >&2;} 4425 - { (exit 1); exit 1; }; } 4426 - fi;; 4427 - esac 4428 - done` || { (exit 1); exit 1; } 7093 + ac_sed_dataroot=' 7094 + /datarootdir/ { 7095 + p 7096 + q 7097 + } 7098 + /@datadir@/p 7099 + /@docdir@/p 7100 + /@infodir@/p 7101 + /@localedir@/p 7102 + /@mandir@/p 7103 + ' 7104 + case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7105 + *datarootdir*) ac_datarootdir_seen=yes;; 7106 + *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7107 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7108 + $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7109 + _ACEOF 7110 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7111 + ac_datarootdir_hack=' 7112 + s&@datadir@&$datadir&g 7113 + s&@docdir@&$docdir&g 7114 + s&@infodir@&$infodir&g 7115 + s&@localedir@&$localedir&g 7116 + s&@mandir@&$mandir&g 7117 + s&\\\${datarootdir}&$datarootdir&g' ;; 7118 + esac 4429 7119 _ACEOF 4430 - cat >>$CONFIG_STATUS <<_ACEOF 4431 - sed "$ac_vpsub 7120 + 7121 + # Neutralize VPATH when `$srcdir' = `.'. 7122 + # Shell code in configure.ac might set extrasub. 7123 + # FIXME: do we really want to maintain this feature? 7124 + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7125 + ac_sed_extra="$ac_vpsub 4432 7126 $extrasub 4433 7127 _ACEOF 4434 - cat >>$CONFIG_STATUS <<\_ACEOF 7128 + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4435 7129 :t 4436 7130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4437 - s,@configure_input@,$configure_input,;t t 4438 - s,@srcdir@,$ac_srcdir,;t t 4439 - s,@abs_srcdir@,$ac_abs_srcdir,;t t 4440 - s,@top_srcdir@,$ac_top_srcdir,;t t 4441 - s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4442 - s,@builddir@,$ac_builddir,;t t 4443 - s,@abs_builddir@,$ac_abs_builddir,;t t 4444 - s,@top_builddir@,$ac_top_builddir,;t t 4445 - s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4446 - s,@INSTALL@,$ac_INSTALL,;t t 4447 - " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4448 - rm -f $tmp/stdin 4449 - if test x"$ac_file" != x-; then 4450 - mv $tmp/out $ac_file 4451 - else 4452 - cat $tmp/out 4453 - rm -f $tmp/out 4454 - fi 7131 + s|@configure_input@|$ac_sed_conf_input|;t t 7132 + s&@top_builddir@&$ac_top_builddir_sub&;t t 7133 + s&@top_build_prefix@&$ac_top_build_prefix&;t t 7134 + s&@srcdir@&$ac_srcdir&;t t 7135 + s&@abs_srcdir@&$ac_abs_srcdir&;t t 7136 + s&@top_srcdir@&$ac_top_srcdir&;t t 7137 + s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7138 + s&@builddir@&$ac_builddir&;t t 7139 + s&@abs_builddir@&$ac_abs_builddir&;t t 7140 + s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7141 + s&@INSTALL@&$ac_INSTALL&;t t 7142 + $ac_datarootdir_hack 7143 + " 7144 + eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7145 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7146 + $as_echo "$as_me: error: could not create $ac_file" >&2;} 7147 + { (exit 1); exit 1; }; } 4455 7148 4456 - done 4457 - _ACEOF 4458 - cat >>$CONFIG_STATUS <<\_ACEOF 4459 - 4460 - # 4461 - # CONFIG_HEADER section. 4462 - # 4463 - 4464 - # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4465 - # NAME is the cpp macro being defined and VALUE is the value it is being given. 4466 - # 4467 - # ac_d sets the value in "#define NAME VALUE" lines. 4468 - ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4469 - ac_dB='[ ].*$,\1#\2' 4470 - ac_dC=' ' 4471 - ac_dD=',;t' 4472 - # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4473 - ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4474 - ac_uB='$,\1#\2define\3' 4475 - ac_uC=' ' 4476 - ac_uD=',;t' 7149 + test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7150 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7151 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7152 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7153 + which seems to be undefined. Please make sure it is defined." >&5 7154 + $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7155 + which seems to be undefined. Please make sure it is defined." >&2;} 4477 7156 4478 - for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4479 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7157 + rm -f "$tmp/stdin" 4480 7158 case $ac_file in 4481 - - | *:- | *:-:* ) # input from stdin 4482 - cat >$tmp/stdin 4483 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4484 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4485 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4486 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4487 - * ) ac_file_in=$ac_file.in ;; 4488 - esac 4489 - 4490 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4491 - echo "$as_me: creating $ac_file" >&6;} 4492 - 4493 - # First look for the input files in the build tree, otherwise in the 4494 - # src tree. 4495 - ac_file_inputs=`IFS=: 4496 - for f in $ac_file_in; do 4497 - case $f in 4498 - -) echo $tmp/stdin ;; 4499 - [\\/$]*) 4500 - # Absolute (can't be DOS-style, as IFS=:) 4501 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4502 - echo "$as_me: error: cannot find input file: $f" >&2;} 7159 + -) cat "$tmp/out" && rm -f "$tmp/out";; 7160 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7161 + esac \ 7162 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7163 + $as_echo "$as_me: error: could not create $ac_file" >&2;} 4503 7164 { (exit 1); exit 1; }; } 4504 - # Do quote $f, to prevent DOS paths from being IFS'd. 4505 - echo "$f";; 4506 - *) # Relative 4507 - if test -f "$f"; then 4508 - # Build tree 4509 - echo "$f" 4510 - elif test -f "$srcdir/$f"; then 4511 - # Source tree 4512 - echo "$srcdir/$f" 4513 - else 4514 - # /dev/null tree 4515 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4516 - echo "$as_me: error: cannot find input file: $f" >&2;} 7165 + ;; 7166 + :H) 7167 + # 7168 + # CONFIG_HEADER 7169 + # 7170 + if test x"$ac_file" != x-; then 7171 + { 7172 + $as_echo "/* $configure_input */" \ 7173 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7174 + } >"$tmp/config.h" \ 7175 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7176 + $as_echo "$as_me: error: could not create $ac_file" >&2;} 4517 7177 { (exit 1); exit 1; }; } 4518 - fi;; 4519 - esac 4520 - done` || { (exit 1); exit 1; } 4521 - # Remove the trailing spaces. 4522 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4523 - 4524 - _ACEOF 4525 - 4526 - # Transform confdefs.h into two sed scripts, `conftest.defines' and 4527 - # `conftest.undefs', that substitutes the proper values into 4528 - # config.h.in to produce config.h. The first handles `#define' 4529 - # templates, and the second `#undef' templates. 4530 - # And first: Protect against being on the right side of a sed subst in 4531 - # config.status. Protect against being in an unquoted here document 4532 - # in config.status. 4533 - rm -f conftest.defines conftest.undefs 4534 - # Using a here document instead of a string reduces the quoting nightmare. 4535 - # Putting comments in sed scripts is not portable. 4536 - # 4537 - # `end' is used to avoid that the second main sed command (meant for 4538 - # 0-ary CPP macros) applies to n-ary macro definitions. 4539 - # See the Autoconf documentation for `clear'. 4540 - cat >confdef2sed.sed <<\_ACEOF 4541 - s/[\\&,]/\\&/g 4542 - s,[\\$`],\\&,g 4543 - t clear 4544 - : clear 4545 - s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4546 - t end 4547 - s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4548 - : end 4549 - _ACEOF 4550 - # If some macros were called several times there might be several times 4551 - # the same #defines, which is useless. Nevertheless, we may not want to 4552 - # sort them, since we want the *last* AC-DEFINE to be honored. 4553 - uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4554 - sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4555 - rm -f confdef2sed.sed 4556 - 4557 - # This sed command replaces #undef with comments. This is necessary, for 4558 - # example, in the case of _POSIX_SOURCE, which is predefined and required 4559 - # on some systems where configure will not decide to define it. 4560 - cat >>conftest.undefs <<\_ACEOF 4561 - s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4562 - _ACEOF 4563 - 4564 - # Break up conftest.defines because some shells have a limit on the size 4565 - # of here documents, and old seds have small limits too (100 cmds). 4566 - echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4567 - echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4568 - echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4569 - echo ' :' >>$CONFIG_STATUS 4570 - rm -f conftest.tail 4571 - while grep . conftest.defines >/dev/null 4572 - do 4573 - # Write a limited-size here document to $tmp/defines.sed. 4574 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4575 - # Speed up: don't consider the non `#define' lines. 4576 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4577 - # Work around the forget-to-reset-the-flag bug. 4578 - echo 't clr' >>$CONFIG_STATUS 4579 - echo ': clr' >>$CONFIG_STATUS 4580 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4581 - echo 'CEOF 4582 - sed -f $tmp/defines.sed $tmp/in >$tmp/out 4583 - rm -f $tmp/in 4584 - mv $tmp/out $tmp/in 4585 - ' >>$CONFIG_STATUS 4586 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4587 - rm -f conftest.defines 4588 - mv conftest.tail conftest.defines 4589 - done 4590 - rm -f conftest.defines 4591 - echo ' fi # grep' >>$CONFIG_STATUS 4592 - echo >>$CONFIG_STATUS 4593 - 4594 - # Break up conftest.undefs because some shells have a limit on the size 4595 - # of here documents, and old seds have small limits too (100 cmds). 4596 - echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 4597 - rm -f conftest.tail 4598 - while grep . conftest.undefs >/dev/null 4599 - do 4600 - # Write a limited-size here document to $tmp/undefs.sed. 4601 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4602 - # Speed up: don't consider the non `#undef' 4603 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4604 - # Work around the forget-to-reset-the-flag bug. 4605 - echo 't clr' >>$CONFIG_STATUS 4606 - echo ': clr' >>$CONFIG_STATUS 4607 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4608 - echo 'CEOF 4609 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4610 - rm -f $tmp/in 4611 - mv $tmp/out $tmp/in 4612 - ' >>$CONFIG_STATUS 4613 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4614 - rm -f conftest.undefs 4615 - mv conftest.tail conftest.undefs 4616 - done 4617 - rm -f conftest.undefs 4618 - 4619 - cat >>$CONFIG_STATUS <<\_ACEOF 4620 - # Let's still pretend it is `configure' which instantiates (i.e., don't 4621 - # use $as_me), people would be surprised to read: 4622 - # /* config.h. Generated by config.status. */ 4623 - if test x"$ac_file" = x-; then 4624 - echo "/* Generated by configure. */" >$tmp/config.h 4625 - else 4626 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4627 - fi 4628 - cat $tmp/in >>$tmp/config.h 4629 - rm -f $tmp/in 4630 - if test x"$ac_file" != x-; then 4631 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 4632 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4633 - echo "$as_me: $ac_file is unchanged" >&6;} 7178 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7179 + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7180 + $as_echo "$as_me: $ac_file is unchanged" >&6;} 4634 7181 else 4635 - ac_dir=`(dirname "$ac_file") 2>/dev/null || 4636 - $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4637 - X"$ac_file" : 'X\(//\)[^/]' \| \ 4638 - X"$ac_file" : 'X\(//\)$' \| \ 4639 - X"$ac_file" : 'X\(/\)' \| \ 4640 - . : '\(.\)' 2>/dev/null || 4641 - echo X"$ac_file" | 4642 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4643 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4644 - /^X\(\/\/\)$/{ s//\1/; q; } 4645 - /^X\(\/\).*/{ s//\1/; q; } 4646 - s/.*/./; q'` 4647 - { if $as_mkdir_p; then 4648 - mkdir -p "$ac_dir" 4649 - else 4650 - as_dir="$ac_dir" 4651 - as_dirs= 4652 - while test ! -d "$as_dir"; do 4653 - as_dirs="$as_dir $as_dirs" 4654 - as_dir=`(dirname "$as_dir") 2>/dev/null || 4655 - $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4656 - X"$as_dir" : 'X\(//\)[^/]' \| \ 4657 - X"$as_dir" : 'X\(//\)$' \| \ 4658 - X"$as_dir" : 'X\(/\)' \| \ 4659 - . : '\(.\)' 2>/dev/null || 4660 - echo X"$as_dir" | 4661 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4662 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4663 - /^X\(\/\/\)$/{ s//\1/; q; } 4664 - /^X\(\/\).*/{ s//\1/; q; } 4665 - s/.*/./; q'` 4666 - done 4667 - test ! -n "$as_dirs" || mkdir $as_dirs 4668 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4669 - echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4670 - { (exit 1); exit 1; }; }; } 4671 - 4672 - rm -f $ac_file 4673 - mv $tmp/config.h $ac_file 7182 + rm -f "$ac_file" 7183 + mv "$tmp/config.h" "$ac_file" \ 7184 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 7185 + $as_echo "$as_me: error: could not create $ac_file" >&2;} 7186 + { (exit 1); exit 1; }; } 4674 7187 fi 4675 7188 else 4676 - cat $tmp/config.h 4677 - rm -f $tmp/config.h 7189 + $as_echo "/* $configure_input */" \ 7190 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7191 + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 7192 + $as_echo "$as_me: error: could not create -" >&2;} 7193 + { (exit 1); exit 1; }; } 4678 7194 fi 4679 - # Compute $ac_file's index in $config_headers. 7195 + # Compute "$ac_file"'s index in $config_headers. 4680 7196 _am_stamp_count=1 4681 7197 for _am_header in $config_headers :; do 4682 7198 case $_am_header in 4683 - $ac_file | $ac_file:* ) 7199 + "$ac_file" | "$ac_file":* ) 4684 7200 break ;; 4685 7201 * ) 4686 7202 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 4687 7203 esac 4688 7204 done 4689 - echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 4690 - $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4691 - X$ac_file : 'X\(//\)[^/]' \| \ 4692 - X$ac_file : 'X\(//\)$' \| \ 4693 - X$ac_file : 'X\(/\)' \| \ 4694 - . : '\(.\)' 2>/dev/null || 4695 - echo X$ac_file | 4696 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4697 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4698 - /^X\(\/\/\)$/{ s//\1/; q; } 4699 - /^X\(\/\).*/{ s//\1/; q; } 4700 - s/.*/./; q'`/stamp-h$_am_stamp_count 4701 - done 4702 - _ACEOF 4703 - cat >>$CONFIG_STATUS <<\_ACEOF 7205 + echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || 7206 + $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7207 + X"$ac_file" : 'X\(//\)[^/]' \| \ 7208 + X"$ac_file" : 'X\(//\)$' \| \ 7209 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7210 + $as_echo X"$ac_file" | 7211 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7212 + s//\1/ 7213 + q 7214 + } 7215 + /^X\(\/\/\)[^/].*/{ 7216 + s//\1/ 7217 + q 7218 + } 7219 + /^X\(\/\/\)$/{ 7220 + s//\1/ 7221 + q 7222 + } 7223 + /^X\(\/\).*/{ 7224 + s//\1/ 7225 + q 7226 + } 7227 + s/.*/./; q'`/stamp-h$_am_stamp_count 7228 + ;; 4704 7229 4705 - # 4706 - # CONFIG_COMMANDS section. 4707 - # 4708 - for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 4709 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 4710 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 4711 - ac_dir=`(dirname "$ac_dest") 2>/dev/null || 4712 - $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4713 - X"$ac_dest" : 'X\(//\)[^/]' \| \ 4714 - X"$ac_dest" : 'X\(//\)$' \| \ 4715 - X"$ac_dest" : 'X\(/\)' \| \ 4716 - . : '\(.\)' 2>/dev/null || 4717 - echo X"$ac_dest" | 4718 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4719 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4720 - /^X\(\/\/\)$/{ s//\1/; q; } 4721 - /^X\(\/\).*/{ s//\1/; q; } 4722 - s/.*/./; q'` 4723 - { if $as_mkdir_p; then 4724 - mkdir -p "$ac_dir" 4725 - else 4726 - as_dir="$ac_dir" 4727 - as_dirs= 4728 - while test ! -d "$as_dir"; do 4729 - as_dirs="$as_dir $as_dirs" 4730 - as_dir=`(dirname "$as_dir") 2>/dev/null || 4731 - $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4732 - X"$as_dir" : 'X\(//\)[^/]' \| \ 4733 - X"$as_dir" : 'X\(//\)$' \| \ 4734 - X"$as_dir" : 'X\(/\)' \| \ 4735 - . : '\(.\)' 2>/dev/null || 4736 - echo X"$as_dir" | 4737 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4738 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4739 - /^X\(\/\/\)$/{ s//\1/; q; } 4740 - /^X\(\/\).*/{ s//\1/; q; } 4741 - s/.*/./; q'` 4742 - done 4743 - test ! -n "$as_dirs" || mkdir $as_dirs 4744 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4745 - echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4746 - { (exit 1); exit 1; }; }; } 7230 + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 7231 + $as_echo "$as_me: executing $ac_file commands" >&6;} 7232 + ;; 7233 + esac 4747 7234 4748 - ac_builddir=. 4749 7235 4750 - if test "$ac_dir" != .; then 4751 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4752 - # A "../" for each directory in $ac_dir_suffix. 4753 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4754 - else 4755 - ac_dir_suffix= ac_top_builddir= 4756 - fi 4757 - 4758 - case $srcdir in 4759 - .) # No --srcdir option. We are building in place. 4760 - ac_srcdir=. 4761 - if test -z "$ac_top_builddir"; then 4762 - ac_top_srcdir=. 4763 - else 4764 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4765 - fi ;; 4766 - [\\/]* | ?:[\\/]* ) # Absolute path. 4767 - ac_srcdir=$srcdir$ac_dir_suffix; 4768 - ac_top_srcdir=$srcdir ;; 4769 - *) # Relative path. 4770 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4771 - ac_top_srcdir=$ac_top_builddir$srcdir ;; 4772 - esac 4773 - 4774 - # Do not use `cd foo && pwd` to compute absolute paths, because 4775 - # the directories may not exist. 4776 - case `pwd` in 4777 - .) ac_abs_builddir="$ac_dir";; 4778 - *) 4779 - case "$ac_dir" in 4780 - .) ac_abs_builddir=`pwd`;; 4781 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4782 - *) ac_abs_builddir=`pwd`/"$ac_dir";; 4783 - esac;; 4784 - esac 4785 - case $ac_abs_builddir in 4786 - .) ac_abs_top_builddir=${ac_top_builddir}.;; 4787 - *) 4788 - case ${ac_top_builddir}. in 4789 - .) ac_abs_top_builddir=$ac_abs_builddir;; 4790 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4791 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4792 - esac;; 4793 - esac 4794 - case $ac_abs_builddir in 4795 - .) ac_abs_srcdir=$ac_srcdir;; 4796 - *) 4797 - case $ac_srcdir in 4798 - .) ac_abs_srcdir=$ac_abs_builddir;; 4799 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4800 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4801 - esac;; 4802 - esac 4803 - case $ac_abs_builddir in 4804 - .) ac_abs_top_srcdir=$ac_top_srcdir;; 4805 - *) 4806 - case $ac_top_srcdir in 4807 - .) ac_abs_top_srcdir=$ac_abs_builddir;; 4808 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4809 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4810 - esac;; 4811 - esac 4812 - 4813 - 4814 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 4815 - echo "$as_me: executing $ac_dest commands" >&6;} 4816 - case $ac_dest in 4817 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 7236 + case $ac_file$ac_mode in 7237 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4818 7238 # Strip MF so we end up with the name of the file. 4819 7239 mf=`echo "$mf" | sed -e 's/:.*$//'` 4820 7240 # Check whether this is an Automake generated Makefile or not. ··· 4824 7244 # each Makefile.in and add a new line on top of each file to say so. 4825 7245 # So let's grep whole file. 4826 7246 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 4827 - dirpart=`(dirname "$mf") 2>/dev/null || 7247 + dirpart=`$as_dirname -- "$mf" || 4828 7248 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4829 7249 X"$mf" : 'X\(//\)[^/]' \| \ 4830 7250 X"$mf" : 'X\(//\)$' \| \ 4831 - X"$mf" : 'X\(/\)' \| \ 4832 - . : '\(.\)' 2>/dev/null || 4833 - echo X"$mf" | 4834 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4835 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4836 - /^X\(\/\/\)$/{ s//\1/; q; } 4837 - /^X\(\/\).*/{ s//\1/; q; } 4838 - s/.*/./; q'` 7251 + X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7252 + $as_echo X"$mf" | 7253 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7254 + s//\1/ 7255 + q 7256 + } 7257 + /^X\(\/\/\)[^/].*/{ 7258 + s//\1/ 7259 + q 7260 + } 7261 + /^X\(\/\/\)$/{ 7262 + s//\1/ 7263 + q 7264 + } 7265 + /^X\(\/\).*/{ 7266 + s//\1/ 7267 + q 7268 + } 7269 + s/.*/./; q'` 4839 7270 else 4840 7271 continue 4841 7272 fi ··· 4857 7288 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4858 7289 # Make sure the directory exists. 4859 7290 test -f "$dirpart/$file" && continue 4860 - fdir=`(dirname "$file") 2>/dev/null || 7291 + fdir=`$as_dirname -- "$file" || 4861 7292 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4862 7293 X"$file" : 'X\(//\)[^/]' \| \ 4863 7294 X"$file" : 'X\(//\)$' \| \ 4864 - X"$file" : 'X\(/\)' \| \ 4865 - . : '\(.\)' 2>/dev/null || 4866 - echo X"$file" | 4867 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4868 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4869 - /^X\(\/\/\)$/{ s//\1/; q; } 4870 - /^X\(\/\).*/{ s//\1/; q; } 4871 - s/.*/./; q'` 4872 - { if $as_mkdir_p; then 4873 - mkdir -p $dirpart/$fdir 4874 - else 4875 - as_dir=$dirpart/$fdir 7295 + X"$file" : 'X\(/\)' \| . 2>/dev/null || 7296 + $as_echo X"$file" | 7297 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7298 + s//\1/ 7299 + q 7300 + } 7301 + /^X\(\/\/\)[^/].*/{ 7302 + s//\1/ 7303 + q 7304 + } 7305 + /^X\(\/\/\)$/{ 7306 + s//\1/ 7307 + q 7308 + } 7309 + /^X\(\/\).*/{ 7310 + s//\1/ 7311 + q 7312 + } 7313 + s/.*/./; q'` 7314 + { as_dir=$dirpart/$fdir 7315 + case $as_dir in #( 7316 + -*) as_dir=./$as_dir;; 7317 + esac 7318 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4876 7319 as_dirs= 4877 - while test ! -d "$as_dir"; do 4878 - as_dirs="$as_dir $as_dirs" 4879 - as_dir=`(dirname "$as_dir") 2>/dev/null || 7320 + while :; do 7321 + case $as_dir in #( 7322 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7323 + *) as_qdir=$as_dir;; 7324 + esac 7325 + as_dirs="'$as_qdir' $as_dirs" 7326 + as_dir=`$as_dirname -- "$as_dir" || 4880 7327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4881 7328 X"$as_dir" : 'X\(//\)[^/]' \| \ 4882 7329 X"$as_dir" : 'X\(//\)$' \| \ 4883 - X"$as_dir" : 'X\(/\)' \| \ 4884 - . : '\(.\)' 2>/dev/null || 4885 - echo X"$as_dir" | 4886 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4887 - /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4888 - /^X\(\/\/\)$/{ s//\1/; q; } 4889 - /^X\(\/\).*/{ s//\1/; q; } 4890 - s/.*/./; q'` 7330 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7331 + $as_echo X"$as_dir" | 7332 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7333 + s//\1/ 7334 + q 7335 + } 7336 + /^X\(\/\/\)[^/].*/{ 7337 + s//\1/ 7338 + q 7339 + } 7340 + /^X\(\/\/\)$/{ 7341 + s//\1/ 7342 + q 7343 + } 7344 + /^X\(\/\).*/{ 7345 + s//\1/ 7346 + q 7347 + } 7348 + s/.*/./; q'` 7349 + test -d "$as_dir" && break 4891 7350 done 4892 - test ! -n "$as_dirs" || mkdir $as_dirs 4893 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 4894 - echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 7351 + test -z "$as_dirs" || eval "mkdir $as_dirs" 7352 + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7353 + $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 4895 7354 { (exit 1); exit 1; }; }; } 4896 - 4897 7355 # echo "creating $dirpart/$file" 4898 7356 echo '# dummy' > "$dirpart/$file" 4899 7357 done 4900 7358 done 4901 7359 ;; 7360 + 4902 7361 esac 4903 - done 4904 - _ACEOF 7362 + done # for ac_tag 4905 7363 4906 - cat >>$CONFIG_STATUS <<\_ACEOF 4907 7364 4908 7365 { (exit 0); exit 0; } 4909 7366 _ACEOF 4910 7367 chmod +x $CONFIG_STATUS 4911 7368 ac_clean_files=$ac_clean_files_save 7369 + 7370 + test $ac_write_fail = 0 || 7371 + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 7372 + $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 7373 + { (exit 1); exit 1; }; } 4912 7374 4913 7375 4914 7376 # configure is writing to config.log, and then calls config.status. ··· 4930 7392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4931 7393 # would make configure fail if this is the last instruction. 4932 7394 $ac_cs_success || { (exit 1); exit 1; } 7395 + fi 7396 + if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7397 + { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 7398 + $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 4933 7399 fi 4934 7400
+16 -8
app/xmessage/configure.ac
··· 22 22 dnl Process this file with autoconf to create configure. 23 23 24 24 AC_PREREQ([2.57]) 25 - AC_INIT(xmessage,[1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xmessage) 26 - AM_INIT_AUTOMAKE([dist-bzip2]) 25 + AC_INIT(xmessage, [1.0.3], 26 + [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xmessage) 27 + AM_INIT_AUTOMAKE([foreign dist-bzip2]) 27 28 AM_MAINTAINER_MODE 28 29 30 + # Require xorg-macros: XORG_DEFAULT_OPTIONS 31 + m4_ifndef([XORG_MACROS_VERSION], 32 + [m4_fatal([must install xorg-macros 1.4 or later before running autoconf/autogen])]) 33 + XORG_MACROS_VERSION(1.4) 34 + XORG_DEFAULT_OPTIONS 35 + 29 36 AM_CONFIG_HEADER(config.h) 30 37 31 38 AC_PROG_CC 32 39 AC_PROG_INSTALL 40 + 33 41 34 42 # Checks for pkg-config packages 35 - XAW_CHECK_XPRINT_SUPPORT(XMESSAGE) 36 - AC_SUBST(XMESSAGE_CFLAGS) 37 - AC_SUBST(XMESSAGE_LIBS) 43 + PKG_CHECK_MODULES(XMESSAGE, xaw7) 38 44 39 45 PKG_CHECK_MODULES(APPDEFS, xt) 40 - appdefaultdir=$(pkg-config --variable=appdefaultdir xt) 46 + xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 47 + AC_ARG_WITH(appdefaultdir, 48 + AC_HELP_STRING([--with-appdefaultdir=<pathname>], 49 + [specify directory for app-defaults files (default is autodetected)]), 50 + [appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"]) 41 51 AC_SUBST(appdefaultdir) 42 52 43 - XORG_MANPAGE_SECTIONS 44 - XORG_RELEASE_VERSION 45 53 46 54 AC_OUTPUT([Makefile])
+2 -1
app/xmessage/makeform.c
··· 56 56 { 57 57 int i; 58 58 59 - for (i = 0; i < n; i++) { 59 + for (i = 0; i < n; i++, br++) { 60 60 char *dst, *src; 61 61 int quoted = 0; 62 62 ··· 91 91 int len; 92 92 char *copy; 93 93 94 + *brptr = NULL; 94 95 if (!buttonlist) return 0; 95 96 96 97 /*
+4 -6
app/xmessage/xmessage.c
··· 1 - static char*id="$XConsortium: xmessage.c,v 1.6 95/01/04 16:29:54 gildea Exp $"; 2 1 /* 3 2 4 3 Copyright (c) 1988, 1991, 1994 X Consortium ··· 73 72 { "nearMouse", "NearMouse", XtRBoolean, sizeof (Boolean), 74 73 offset(nearmouse), XtRString, "false" }, 75 74 { "timeout", "Timeout", XtRInt, sizeof (int), 76 - offset(timeout_secs), XtRInt, 0 }, 75 + offset(timeout_secs), XtRInt, NULL }, 77 76 { "maxHeight", "Maximum", XtRDimension, sizeof (Dimension), 78 - offset(maxHeight), XtRDimension, 0 }, 77 + offset(maxHeight), XtRDimension, NULL }, 79 78 { "maxWidth", "Maximum", XtRDimension, sizeof (Dimension), 80 - offset(maxWidth), XtRDimension, 0 }, 79 + offset(maxWidth), XtRDimension, NULL }, 81 80 }; 82 81 #undef offset 83 82 ··· 121 120 fprintf (outf, "where options include:\n"); 122 121 for (cpp = options; *cpp; cpp++) 123 122 fprintf (outf, "%s\n", *cpp); 124 - fprintf (outf, "%s\n", id+1); 125 123 } 126 124 127 125 /* ··· 157 155 158 156 /* Convert tabs to spaces in *messagep,*lengthp, copying to a new block of 159 157 memory. */ 160 - void 158 + static void 161 159 detab (char **messagep, int *lengthp) 162 160 { 163 161 int i, n, col, psize;