Merge lp:~pefarrell/fluidity/debian-packaging into lp:fluidity
- debian-packaging
- Merge into dev-trunk
Status: | Merged |
---|---|
Merged at revision: | 3780 |
Proposed branch: | lp:~pefarrell/fluidity/debian-packaging |
Merge into: | lp:fluidity |
Diff against target: |
69314 lines (+69/-69065) 24 files modified
Makefile.in (+7/-4) debian/README.Debian (+0/-6) debian/changelog (+6/-0) debian/compat (+1/-1) debian/control (+23/-6) debian/copyright (+5/-9) debian/dirs (+0/-2) debian/docs (+0/-1) debian/fluidity.dirs (+2/-0) debian/fluidity.install (+2/-0) debian/python-fluidity.install (+1/-0) debian/rules (+18/-101) libjudy/autom4te.cache/output.0 (+0/-14076) libjudy/autom4te.cache/output.1 (+0/-16392) libjudy/autom4te.cache/requests (+0/-68) libjudy/autom4te.cache/traces.0 (+0/-671) libjudy/autom4te.cache/traces.1 (+0/-684) spatialindex-1.5/autom4te.cache/output.0 (+0/-16890) spatialindex-1.5/autom4te.cache/output.1 (+0/-16886) spatialindex-1.5/autom4te.cache/requests (+0/-272) spatialindex-1.5/autom4te.cache/traces.0 (+0/-2369) spatialindex-1.5/autom4te.cache/traces.1 (+0/-614) tests/python_shape_dshape_test_2d/src/mesh_A.geo.bak (+0/-12) tools/testharness.py (+4/-1) |
To merge this branch: | bzr merge lp:~pefarrell/fluidity/debian-packaging |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Candy | Needs Fixing | ||
Stephan Kramer | Approve | ||
Review via email: mp+81048@code.launchpad.net |
Commit message
Description of the change
Changes to build debian packages of the Fluidity source.
Since the current trunk's revision number computation is broken, the version number has been arbitrarily hard-coded to 0 until it is fixed. I don't propose merging that particular change. The merge request is to take a look at everything else.
Stephan Kramer (s-kramer) : | # |
Patrick Farrell (pefarrell) wrote : | # |
Adam: there was a very good reason for doing that. I am sorry that it wasn't communicated through launchpad; it was mentioned on the chat and in person.
The problem is that the change you reinstated causes the Debian packaging to fail when the checkout is non-anonymous. Steps to reproduce:
<make sure you are logged in to bzr/launchpad>
bzr co lp:fluidity trunk
cd trunk
debuild -uc -us
The packaging hangs, because the revision number computation attempts to ssh to launchpad. Because the Debian packaging has cleaned out the environment, any ssh-add'ing you've done in your shell doesn't count, and so it hangs asking you for your ssh keyphrase.
The reason why the packaging on the buildbot is working is of course because it is an anonymous checkout, and so the revision number business happens over http, and no one notices.
Seeing as how a) the packaging is release-critical, and b) the revision number computation is not (as it will just be hardcoded in the 4.1 branch), the decision was made to make the packaging work at the temporary expense of the revision number.
By the way, Stephan is working on a revision number computation that works with the packaging system.
Lawrence Mitchell (wence) wrote : | # |
The ssh hang is due to the difference between:
bzr checkout lp:fluidity
and
bzr branch lp:fluidity
The former creates (in bzr terminology) a bound branch, the latter an unbound branch.
Bound branches behave like centralised VCs (bzr commit goes directly to the server), unbound branches are decentralised.
If you use bzr branch lp:fluidity the system doesn't need to access launchpad to get the version number, if you use bzr checkout it does.
To turn a bound branch into an unbound one do: "bzr unbind" in the branch in question.
Given that the size of the local checkout is the same in both cases, I can't see a reason why we should recommend bzr checkout over bzr branch.
Stephan Kramer (s-kramer) wrote : | # |
I've committed a fix: http://
It uses bzr as before for the version number, but not when building the package.
Let me know if there's any further problems with it.
Adam Candy (asc) wrote : | # |
Patrick: Thanks for the clarification - and yes, it would have been good to have the reasons communicated here on launchpad.
The previous changes to the code to determine the version number have sometimes remained in the chat and not communicated over launchpad, which is why it has successively been broken again and again as new people have made changes and not known the history. I think we've all failed to document the conclusions here. It doesn't help that the text that has been put down here is quite spread about - maybe this should have all taken place in a blueprint? or a common bug report?
We discussed the ifeq fix previously and this should have gone in the branch before it was merged in and broke existing functionality! That's the whole point of the pre-commit review we have setup.
Going back to the code to determine the version number. The code that I reinstated is in the form we all decided was the best compromise. I personally preferred an alternative method, which:
1. Does not need to communicate with launchpad (irrespective of if it is a bound checkout or unbound branch)
2. Does not take 4-6s to evaluate!
The simple version of this is:
PACKAGE_VERSION = $(shell bzr revno --tree)
If we want the branch information too, then it's possible to parse .bzr/branch/
Patrick Farrell (pefarrell) wrote : | # |
> We discussed the ifeq fix previously and this should have gone in the branch before it was merged in and broke existing functionality! That's the whole point of the pre-commit review we have setup.
I think in this case it was entirely justified; let me explain my reasoning. The release is happening very soon, and the more time that the packaging has to live in the trunk, the more exposure it gets, the more buildbot cycles it gets, and the more opportunities for fixing any bugs it gets. The packaging is release-critical, whereas the version number printed by --version is not. In an ideal world the revision number would have Just Worked, but it did not, and so the decision was made to prioritise the packaging.
In any case, everyone is happy now, as the package builds and the revision number is present.
Preview Diff
1 | === modified file 'Makefile.in' |
2 | --- Makefile.in 2011-10-30 17:25:22 +0000 |
3 | +++ Makefile.in 2011-11-02 16:46:38 +0000 |
4 | @@ -31,7 +31,8 @@ |
5 | # Ignore package version from autoconf. Instead, for releases, set the |
6 | # approperiate version number below. Otherwise it is comprised of the |
7 | # branch name and the repository revision number. |
8 | -PACKAGE_VERSION = `bzr version-info --custom --template='{branch_nick}.{revno}'` |
9 | +#PACKAGE_VERSION = `bzr version-info --custom --template='{branch_nick}.{revno}'` |
10 | +PACKAGE_VERSION = 0 |
11 | |
12 | FLUIDITY = $(PACKAGE_NAME) |
13 | |
14 | @@ -448,7 +449,7 @@ |
15 | |
16 | clean-test: |
17 | @echo " CLEAN tests" |
18 | - @cd tests; ../tools/testharness.py --clean >/dev/null |
19 | + @cd tests; PYTHONPATH=../python ../tools/testharness.py --clean >/dev/null |
20 | @cd tests/data; $(MAKE) clean |
21 | |
22 | distclean: clean |
23 | @@ -609,6 +610,8 @@ |
24 | @echo " Congratulations, make makefiles succeeded!" |
25 | |
26 | install: |
27 | - @mkdir -p $(DESTDIR)$(bindir) |
28 | + @mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(docdir)/fluidity |
29 | cp bin/* $(DESTDIR)$(bindir) |
30 | - cd python ; python setup.py install --root="${DESTDIR}" --prefix="$(prefix)" |
31 | + rm $(DESTDIR)$(bindir)/spud-* $(DESTDIR)$(bindir)/diamond $(DESTDIR)$(bindir)/silenteval $(DESTDIR)$(bindir)/runut $(DESTDIR)$(bindir)/testharness |
32 | + [ -f manual/fluidity_manual.pdf ] && cp manual/fluidity_manual.pdf $(DESTDIR)$(docdir)/fluidity |
33 | + cd python ; python setup.py install --root="${DESTDIR}" --prefix="$(prefix)" --install-layout=deb |
34 | |
35 | === removed file 'debian/README.Debian' |
36 | --- debian/README.Debian 2009-12-16 14:11:47 +0000 |
37 | +++ debian/README.Debian 1970-01-01 00:00:00 +0000 |
38 | @@ -1,6 +0,0 @@ |
39 | -fluidity for Debian |
40 | -------------------- |
41 | - |
42 | -<possible notes regarding this package - if none, delete this file> |
43 | - |
44 | - -- David Ham <david.ham@imperial.ac.uk> Mon, 05 Nov 2007 15:35:54 +0000 |
45 | |
46 | === modified file 'debian/changelog' |
47 | --- debian/changelog 2009-12-16 14:11:47 +0000 |
48 | +++ debian/changelog 2011-11-02 16:46:38 +0000 |
49 | @@ -1,3 +1,9 @@ |
50 | +fluidity (4.1.beta0) unstable; urgency=low |
51 | + |
52 | + * Fix the Debian packaging for release 4.1. |
53 | + |
54 | + -- Patrick Farrell <patrick.farrell06@imperial.ac.uk> Wed, 02 Nov 2011 14:19:12 +0000 |
55 | + |
56 | fluidity (3.4.svn6573) unstable; urgency=low |
57 | |
58 | * Another general update. In particular, several tools were out of date. |
59 | |
60 | === modified file 'debian/compat' |
61 | --- debian/compat 2009-12-16 14:11:47 +0000 |
62 | +++ debian/compat 2011-11-02 16:46:38 +0000 |
63 | @@ -1,1 +1,1 @@ |
64 | -5 |
65 | +7 |
66 | |
67 | === modified file 'debian/control' |
68 | --- debian/control 2009-12-16 14:11:47 +0000 |
69 | +++ debian/control 2011-11-02 16:46:38 +0000 |
70 | @@ -1,14 +1,16 @@ |
71 | Source: fluidity |
72 | -Section: unknown |
73 | +Section: science |
74 | Priority: extra |
75 | -Maintainer: David Ham <david.ham@imperial.ac.uk> |
76 | -Build-Depends: debhelper (>= 5), autotools-dev |
77 | -Standards-Version: 3.7.2 |
78 | +Maintainer: Patrick Farrell <patrick.farrell06@imperial.ac.uk> |
79 | +Build-Depends: debhelper (>= 7.0.50~), fluidity-dev |
80 | +Standards-Version: 3.9.1 |
81 | +XS-Python-Version: >= 2.5 |
82 | +Homepage: http://amcg.ese.ic.ac.uk/fluidity |
83 | |
84 | Package: fluidity |
85 | Architecture: any |
86 | -Depends: ${shlibs:Depends}, ${misc:Depends}, fluidity-dev |
87 | -Description: 3D adaptive CFD from Imperial College London |
88 | +Depends: ${shlibs:Depends}, ${misc:Depends}, fluidity-dev, python-fluidity, python |
89 | +Description: 3D adaptive CFD model from Imperial College London |
90 | Fluidity is a general purpose multi-phase CFD code capable of solving |
91 | numerically the Navier-Stokes and accompanying field equations on |
92 | arbitrary unstructured finite element meshes. It uses a moving finite |
93 | @@ -16,3 +18,18 @@ |
94 | the mesh with time dependent problems. It has a wide range of Finite |
95 | element/spectral elements and full spectral methods which include |
96 | many elements for mixed formulations. |
97 | + |
98 | +Package: python-fluidity |
99 | +Architecture: any |
100 | +Section: python |
101 | +XB-Python-Version: ${python:Versions} |
102 | +Depends: ${python:Depends}, ${misc:Depends} |
103 | +Description: 3D adaptive CFD model from Imperial College London |
104 | + Fluidity is a general purpose multi-phase CFD code capable of solving |
105 | + numerically the Navier-Stokes and accompanying field equations on |
106 | + arbitrary unstructured finite element meshes. It uses a moving finite |
107 | + element/spectral element method which allows arbitrary movement of |
108 | + the mesh with time dependent problems. It has a wide range of Finite |
109 | + element/spectral elements and full spectral methods which include |
110 | + many elements for mixed formulations. This package contains the |
111 | + Python scripts used by Fluidity. |
112 | |
113 | === modified file 'debian/copyright' |
114 | --- debian/copyright 2009-12-16 14:11:47 +0000 |
115 | +++ debian/copyright 2011-11-02 16:46:38 +0000 |
116 | @@ -1,24 +1,20 @@ |
117 | This package was debianized by David Ham <david.ham@imperial.ac.uk> on |
118 | Mon, 05 Nov 2007 15:35:54 +0000. |
119 | |
120 | -It was downloaded from <url://example.com> |
121 | +It was downloaded from http://amcg.ese.ic.ac.uk/fluidity |
122 | |
123 | Upstream Author(s): |
124 | |
125 | - <put author's name and email here> |
126 | - <likewise for another author> |
127 | + See AUTHORS |
128 | |
129 | Copyright: |
130 | |
131 | - <Copyright (C) YYYY Name OfAuthor> |
132 | - <likewise for another author> |
133 | + See AUTHORS |
134 | + Copyright (C) 2002-2012 Imperial College London |
135 | |
136 | License: |
137 | |
138 | - <Put the license of the package here indented by 4 spaces> |
139 | + LGPL v2.1 |
140 | |
141 | The Debian packaging is (C) 2007, David Ham <david.ham@imperial.ac.uk> and |
142 | is licensed under the GPL, see `/usr/share/common-licenses/GPL'. |
143 | - |
144 | -# Please also look if there are files or directories which have a |
145 | -# different copyright/license attached and list them here. |
146 | |
147 | === removed file 'debian/dirs' |
148 | --- debian/dirs 2009-12-16 14:11:47 +0000 |
149 | +++ debian/dirs 1970-01-01 00:00:00 +0000 |
150 | @@ -1,2 +0,0 @@ |
151 | -usr/bin |
152 | -usr/sbin |
153 | |
154 | === modified file 'debian/docs' |
155 | --- debian/docs 2009-12-16 14:11:47 +0000 |
156 | +++ debian/docs 2011-11-02 16:46:38 +0000 |
157 | @@ -1,3 +1,2 @@ |
158 | AUTHORS |
159 | README |
160 | -LICENSE |
161 | |
162 | === added file 'debian/fluidity.dirs' |
163 | --- debian/fluidity.dirs 1970-01-01 00:00:00 +0000 |
164 | +++ debian/fluidity.dirs 2011-11-02 16:46:38 +0000 |
165 | @@ -0,0 +1,2 @@ |
166 | +usr/bin |
167 | +usr/share/doc |
168 | |
169 | === added file 'debian/fluidity.install' |
170 | --- debian/fluidity.install 1970-01-01 00:00:00 +0000 |
171 | +++ debian/fluidity.install 2011-11-02 16:46:38 +0000 |
172 | @@ -0,0 +1,2 @@ |
173 | +usr/bin/* |
174 | +usr/share/doc/* |
175 | |
176 | === added file 'debian/python-fluidity.install' |
177 | --- debian/python-fluidity.install 1970-01-01 00:00:00 +0000 |
178 | +++ debian/python-fluidity.install 2011-11-02 16:46:38 +0000 |
179 | @@ -0,0 +1,1 @@ |
180 | +usr/lib/python*/dist-packages/fluidity/* |
181 | |
182 | === modified file 'debian/rules' |
183 | --- debian/rules 2009-12-16 14:11:47 +0000 |
184 | +++ debian/rules 2011-11-02 16:46:38 +0000 |
185 | @@ -7,104 +7,21 @@ |
186 | # This special exception was added by Craig Small in version 0.37 of dh-make. |
187 | |
188 | # Uncomment this to turn on verbose mode. |
189 | -#export DH_VERBOSE=1 |
190 | - |
191 | - |
192 | -# These are used for cross-compiling and for saving the configure script |
193 | -# from having to guess our platform (since we know it already) |
194 | -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
195 | -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
196 | - |
197 | - |
198 | -export PATH:=/usr/lib/mpich-amcg-gcc4/bin:$(PATH) |
199 | -export FC=gfortran |
200 | -export F77=gfortran |
201 | -export F90=gfortran |
202 | -export CC=gcc |
203 | -export CXX=g++ |
204 | -export PETSC_DIR=/usr/lib/petscdir/2.3.3-amcg |
205 | -export PETSC_ARCH=amcg-gcc4-opt |
206 | -export LIBS=-lX11 |
207 | - |
208 | - |
209 | -config.status: configure |
210 | - dh_testdir |
211 | - # Add here commands to configure the package. |
212 | - |
213 | -ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
214 | - cp -f /usr/share/misc/config.sub config.sub |
215 | -endif |
216 | -ifneq "$(wildcard /usr/share/misc/config.guess)" "" |
217 | - cp -f /usr/share/misc/config.guess config.guess |
218 | -endif |
219 | - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" |
220 | - |
221 | - |
222 | -build: build-stamp |
223 | - |
224 | -build-stamp: config.status |
225 | - dh_testdir |
226 | - |
227 | - # Add here commands to compile the package. |
228 | - $(MAKE) |
229 | - #docbook-to-man debian/fluidity.sgml > fluidity.1 |
230 | - |
231 | - touch $@ |
232 | - |
233 | -clean: |
234 | - dh_testdir |
235 | - dh_testroot |
236 | - rm -f build-stamp |
237 | - |
238 | - # Add here commands to clean up after the build process. |
239 | - $(MAKE) clean |
240 | - rm -f config.sub config.guess |
241 | - |
242 | - dh_clean |
243 | - |
244 | -install: build |
245 | - dh_testdir |
246 | - dh_testroot |
247 | - dh_clean -k |
248 | - dh_installdirs |
249 | - # Add here commands to install the package into debian/fluidity. |
250 | - $(MAKE) DESTDIR=$(CURDIR)/debian/fluidity install |
251 | - |
252 | - |
253 | -# Build architecture-independent files here. |
254 | -binary-indep: build install |
255 | -# We have nothing to do by default. |
256 | - |
257 | -# Build architecture-dependent files here. |
258 | -binary-arch: build install |
259 | - dh_testdir |
260 | - dh_testroot |
261 | - dh_installchangelogs |
262 | - dh_installdocs |
263 | - dh_installexamples |
264 | -# dh_install |
265 | -# dh_installmenu |
266 | -# dh_installdebconf |
267 | -# dh_installlogrotate |
268 | -# dh_installemacsen |
269 | -# dh_installpam |
270 | -# dh_installmime |
271 | -# dh_python |
272 | -# dh_installinit |
273 | -# dh_installcron |
274 | -# dh_installinfo |
275 | - dh_installman |
276 | - dh_link |
277 | - dh_strip |
278 | - dh_compress |
279 | - dh_fixperms |
280 | -# dh_perl |
281 | -# dh_makeshlibs |
282 | - dh_installdeb |
283 | - dh_shlibdeps |
284 | - dh_gencontrol |
285 | - dh_md5sums |
286 | - dh_builddeb |
287 | - |
288 | -binary: binary-indep binary-arch |
289 | -.PHONY: build clean binary-indep binary-arch binary install |
290 | +export DH_VERBOSE=1 |
291 | +export PETSC_DIR=/usr/lib/petscdir/3.1 |
292 | +export PETSC_ARCH=linux-gnu-c-opt |
293 | +export prefix=/usr |
294 | +export DEB_BUILD_OPTIONS=nostrip |
295 | +export PYTHONPATH= |
296 | + |
297 | +%: |
298 | + dh --with=python2 $@ |
299 | + |
300 | +#override_dh_auto_configure: |
301 | +# ./configure --version=4.1 --prefix=/usr |
302 | + |
303 | +override_dh_auto_build: |
304 | + make -j8 |
305 | + make manual |
306 | + |
307 | +override_dh_auto_test: |
308 | |
309 | === removed directory 'libjudy/autom4te.cache' |
310 | === removed file 'libjudy/autom4te.cache/output.0' |
311 | --- libjudy/autom4te.cache/output.0 2009-12-16 14:11:47 +0000 |
312 | +++ libjudy/autom4te.cache/output.0 1970-01-01 00:00:00 +0000 |
313 | @@ -1,14076 +0,0 @@ |
314 | -@%:@! /bin/sh |
315 | -@%:@ Guess values for system-dependent variables and create Makefiles. |
316 | -@%:@ Generated by GNU Autoconf 2.64 for Judy 1.0.5. |
317 | -@%:@ |
318 | -@%:@ Report bugs to <dougbaskins@yahoo.com>. |
319 | -@%:@ |
320 | -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
321 | -@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
322 | -@%:@ Foundation, Inc. |
323 | -@%:@ |
324 | -@%:@ This configure script is free software; the Free Software Foundation |
325 | -@%:@ gives unlimited permission to copy, distribute and modify it. |
326 | -## -------------------- ## |
327 | -## M4sh Initialization. ## |
328 | -## -------------------- ## |
329 | - |
330 | -# Be more Bourne compatible |
331 | -DUALCASE=1; export DUALCASE # for MKS sh |
332 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
333 | - emulate sh |
334 | - NULLCMD=: |
335 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
336 | - # is contrary to our usage. Disable this feature. |
337 | - alias -g '${1+"$@"}'='"$@"' |
338 | - setopt NO_GLOB_SUBST |
339 | -else |
340 | - case `(set -o) 2>/dev/null` in @%:@( |
341 | - *posix*) : |
342 | - set -o posix ;; @%:@( |
343 | - *) : |
344 | - ;; |
345 | -esac |
346 | -fi |
347 | - |
348 | - |
349 | -as_nl=' |
350 | -' |
351 | -export as_nl |
352 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. |
353 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
354 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
355 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
356 | -# Prefer a ksh shell builtin over an external printf program on Solaris, |
357 | -# but without wasting forks for bash or zsh. |
358 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ |
359 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
360 | - as_echo='print -r --' |
361 | - as_echo_n='print -rn --' |
362 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
363 | - as_echo='printf %s\n' |
364 | - as_echo_n='printf %s' |
365 | -else |
366 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
367 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
368 | - as_echo_n='/usr/ucb/echo -n' |
369 | - else |
370 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
371 | - as_echo_n_body='eval |
372 | - arg=$1; |
373 | - case $arg in @%:@( |
374 | - *"$as_nl"*) |
375 | - expr "X$arg" : "X\\(.*\\)$as_nl"; |
376 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
377 | - esac; |
378 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
379 | - ' |
380 | - export as_echo_n_body |
381 | - as_echo_n='sh -c $as_echo_n_body as_echo' |
382 | - fi |
383 | - export as_echo_body |
384 | - as_echo='sh -c $as_echo_body as_echo' |
385 | -fi |
386 | - |
387 | -# The user is always right. |
388 | -if test "${PATH_SEPARATOR+set}" != set; then |
389 | - PATH_SEPARATOR=: |
390 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
391 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
392 | - PATH_SEPARATOR=';' |
393 | - } |
394 | -fi |
395 | - |
396 | - |
397 | -# IFS |
398 | -# We need space, tab and new line, in precisely that order. Quoting is |
399 | -# there to prevent editors from complaining about space-tab. |
400 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
401 | -# splitting by setting IFS to empty value.) |
402 | -IFS=" "" $as_nl" |
403 | - |
404 | -# Find who we are. Look in the path if we contain no directory separator. |
405 | -case $0 in @%:@(( |
406 | - *[\\/]* ) as_myself=$0 ;; |
407 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
408 | -for as_dir in $PATH |
409 | -do |
410 | - IFS=$as_save_IFS |
411 | - test -z "$as_dir" && as_dir=. |
412 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
413 | - done |
414 | -IFS=$as_save_IFS |
415 | - |
416 | - ;; |
417 | -esac |
418 | -# We did not find ourselves, most probably we were run as `sh COMMAND' |
419 | -# in which case we are not to be found in the path. |
420 | -if test "x$as_myself" = x; then |
421 | - as_myself=$0 |
422 | -fi |
423 | -if test ! -f "$as_myself"; then |
424 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
425 | - exit 1 |
426 | -fi |
427 | - |
428 | -# Unset variables that we do not need and which cause bugs (e.g. in |
429 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
430 | -# suppresses any "Segmentation fault" message there. '((' could |
431 | -# trigger a bug in pdksh 5.2.14. |
432 | -for as_var in BASH_ENV ENV MAIL MAILPATH |
433 | -do eval test x\${$as_var+set} = xset \ |
434 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
435 | -done |
436 | -PS1='$ ' |
437 | -PS2='> ' |
438 | -PS4='+ ' |
439 | - |
440 | -# NLS nuisances. |
441 | -LC_ALL=C |
442 | -export LC_ALL |
443 | -LANGUAGE=C |
444 | -export LANGUAGE |
445 | - |
446 | -# CDPATH. |
447 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
448 | - |
449 | -if test "x$CONFIG_SHELL" = x; then |
450 | - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
451 | - emulate sh |
452 | - NULLCMD=: |
453 | - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
454 | - # is contrary to our usage. Disable this feature. |
455 | - alias -g '\${1+\"\$@\"}'='\"\$@\"' |
456 | - setopt NO_GLOB_SUBST |
457 | -else |
458 | - case \`(set -o) 2>/dev/null\` in @%:@( |
459 | - *posix*) : |
460 | - set -o posix ;; @%:@( |
461 | - *) : |
462 | - ;; |
463 | -esac |
464 | -fi |
465 | -" |
466 | - as_required="as_fn_return () { (exit \$1); } |
467 | -as_fn_success () { as_fn_return 0; } |
468 | -as_fn_failure () { as_fn_return 1; } |
469 | -as_fn_ret_success () { return 0; } |
470 | -as_fn_ret_failure () { return 1; } |
471 | - |
472 | -exitcode=0 |
473 | -as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
474 | -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
475 | -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
476 | -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
477 | -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
478 | - |
479 | -else |
480 | - exitcode=1; echo positional parameters were not saved. |
481 | -fi |
482 | -test x\$exitcode = x0 || exit 1" |
483 | - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
484 | - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
485 | - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
486 | - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
487 | -test \$(( 1 + 1 )) = 2 || exit 1" |
488 | - if (eval "$as_required") 2>/dev/null; then : |
489 | - as_have_required=yes |
490 | -else |
491 | - as_have_required=no |
492 | -fi |
493 | - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
494 | - |
495 | -else |
496 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
497 | -as_found=false |
498 | -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
499 | -do |
500 | - IFS=$as_save_IFS |
501 | - test -z "$as_dir" && as_dir=. |
502 | - as_found=: |
503 | - case $as_dir in @%:@( |
504 | - /*) |
505 | - for as_base in sh bash ksh sh5; do |
506 | - # Try only shells that exist, to save several forks. |
507 | - as_shell=$as_dir/$as_base |
508 | - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
509 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
510 | - CONFIG_SHELL=$as_shell as_have_required=yes |
511 | - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
512 | - break 2 |
513 | -fi |
514 | -fi |
515 | - done;; |
516 | - esac |
517 | - as_found=false |
518 | -done |
519 | -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
520 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
521 | - CONFIG_SHELL=$SHELL as_have_required=yes |
522 | -fi; } |
523 | -IFS=$as_save_IFS |
524 | - |
525 | - |
526 | - if test "x$CONFIG_SHELL" != x; then : |
527 | - # We cannot yet assume a decent shell, so we have to provide a |
528 | - # neutralization value for shells without unset; and this also |
529 | - # works around shells that cannot unset nonexistent variables. |
530 | - BASH_ENV=/dev/null |
531 | - ENV=/dev/null |
532 | - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
533 | - export CONFIG_SHELL |
534 | - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
535 | -fi |
536 | - |
537 | - if test x$as_have_required = xno; then : |
538 | - $as_echo "$0: This script requires a shell more modern than all" |
539 | - $as_echo "$0: the shells that I found on your system." |
540 | - if test x${ZSH_VERSION+set} = xset ; then |
541 | - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
542 | - $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
543 | - else |
544 | - $as_echo "$0: Please tell bug-autoconf@gnu.org and |
545 | -$0: dougbaskins@yahoo.com about your system, including any |
546 | -$0: error possibly output before this message. Then install |
547 | -$0: a modern shell, or manually run the script under such a |
548 | -$0: shell if you do have one." |
549 | - fi |
550 | - exit 1 |
551 | -fi |
552 | -fi |
553 | -fi |
554 | -SHELL=${CONFIG_SHELL-/bin/sh} |
555 | -export SHELL |
556 | -# Unset more variables known to interfere with behavior of common tools. |
557 | -CLICOLOR_FORCE= GREP_OPTIONS= |
558 | -unset CLICOLOR_FORCE GREP_OPTIONS |
559 | - |
560 | -## --------------------- ## |
561 | -## M4sh Shell Functions. ## |
562 | -## --------------------- ## |
563 | -@%:@ as_fn_unset VAR |
564 | -@%:@ --------------- |
565 | -@%:@ Portably unset VAR. |
566 | -as_fn_unset () |
567 | -{ |
568 | - { eval $1=; unset $1;} |
569 | -} |
570 | -as_unset=as_fn_unset |
571 | - |
572 | -@%:@ as_fn_set_status STATUS |
573 | -@%:@ ----------------------- |
574 | -@%:@ Set $? to STATUS, without forking. |
575 | -as_fn_set_status () |
576 | -{ |
577 | - return $1 |
578 | -} @%:@ as_fn_set_status |
579 | - |
580 | -@%:@ as_fn_exit STATUS |
581 | -@%:@ ----------------- |
582 | -@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
583 | -as_fn_exit () |
584 | -{ |
585 | - set +e |
586 | - as_fn_set_status $1 |
587 | - exit $1 |
588 | -} @%:@ as_fn_exit |
589 | - |
590 | -@%:@ as_fn_mkdir_p |
591 | -@%:@ ------------- |
592 | -@%:@ Create "$as_dir" as a directory, including parents if necessary. |
593 | -as_fn_mkdir_p () |
594 | -{ |
595 | - |
596 | - case $as_dir in #( |
597 | - -*) as_dir=./$as_dir;; |
598 | - esac |
599 | - test -d "$as_dir" || eval $as_mkdir_p || { |
600 | - as_dirs= |
601 | - while :; do |
602 | - case $as_dir in #( |
603 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
604 | - *) as_qdir=$as_dir;; |
605 | - esac |
606 | - as_dirs="'$as_qdir' $as_dirs" |
607 | - as_dir=`$as_dirname -- "$as_dir" || |
608 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
609 | - X"$as_dir" : 'X\(//\)[^/]' \| \ |
610 | - X"$as_dir" : 'X\(//\)$' \| \ |
611 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
612 | -$as_echo X"$as_dir" | |
613 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
614 | - s//\1/ |
615 | - q |
616 | - } |
617 | - /^X\(\/\/\)[^/].*/{ |
618 | - s//\1/ |
619 | - q |
620 | - } |
621 | - /^X\(\/\/\)$/{ |
622 | - s//\1/ |
623 | - q |
624 | - } |
625 | - /^X\(\/\).*/{ |
626 | - s//\1/ |
627 | - q |
628 | - } |
629 | - s/.*/./; q'` |
630 | - test -d "$as_dir" && break |
631 | - done |
632 | - test -z "$as_dirs" || eval "mkdir $as_dirs" |
633 | - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
634 | - |
635 | - |
636 | -} @%:@ as_fn_mkdir_p |
637 | -@%:@ as_fn_append VAR VALUE |
638 | -@%:@ ---------------------- |
639 | -@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
640 | -@%:@ advantage of any shell optimizations that allow amortized linear growth over |
641 | -@%:@ repeated appends, instead of the typical quadratic growth present in naive |
642 | -@%:@ implementations. |
643 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
644 | - eval 'as_fn_append () |
645 | - { |
646 | - eval $1+=\$2 |
647 | - }' |
648 | -else |
649 | - as_fn_append () |
650 | - { |
651 | - eval $1=\$$1\$2 |
652 | - } |
653 | -fi # as_fn_append |
654 | - |
655 | -@%:@ as_fn_arith ARG... |
656 | -@%:@ ------------------ |
657 | -@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
658 | -@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments |
659 | -@%:@ must be portable across $(()) and expr. |
660 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
661 | - eval 'as_fn_arith () |
662 | - { |
663 | - as_val=$(( $* )) |
664 | - }' |
665 | -else |
666 | - as_fn_arith () |
667 | - { |
668 | - as_val=`expr "$@" || test $? -eq 1` |
669 | - } |
670 | -fi # as_fn_arith |
671 | - |
672 | - |
673 | -@%:@ as_fn_error ERROR [LINENO LOG_FD] |
674 | -@%:@ --------------------------------- |
675 | -@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
676 | -@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
677 | -@%:@ script with status $?, using 1 if that was 0. |
678 | -as_fn_error () |
679 | -{ |
680 | - as_status=$?; test $as_status -eq 0 && as_status=1 |
681 | - if test "$3"; then |
682 | - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
683 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
684 | - fi |
685 | - $as_echo "$as_me: error: $1" >&2 |
686 | - as_fn_exit $as_status |
687 | -} @%:@ as_fn_error |
688 | - |
689 | -if expr a : '\(a\)' >/dev/null 2>&1 && |
690 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then |
691 | - as_expr=expr |
692 | -else |
693 | - as_expr=false |
694 | -fi |
695 | - |
696 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
697 | - as_basename=basename |
698 | -else |
699 | - as_basename=false |
700 | -fi |
701 | - |
702 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
703 | - as_dirname=dirname |
704 | -else |
705 | - as_dirname=false |
706 | -fi |
707 | - |
708 | -as_me=`$as_basename -- "$0" || |
709 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
710 | - X"$0" : 'X\(//\)$' \| \ |
711 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || |
712 | -$as_echo X/"$0" | |
713 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ |
714 | - s//\1/ |
715 | - q |
716 | - } |
717 | - /^X\/\(\/\/\)$/{ |
718 | - s//\1/ |
719 | - q |
720 | - } |
721 | - /^X\/\(\/\).*/{ |
722 | - s//\1/ |
723 | - q |
724 | - } |
725 | - s/.*/./; q'` |
726 | - |
727 | -# Avoid depending upon Character Ranges. |
728 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
729 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
730 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
731 | -as_cr_digits='0123456789' |
732 | -as_cr_alnum=$as_cr_Letters$as_cr_digits |
733 | - |
734 | - |
735 | - as_lineno_1=$LINENO as_lineno_1a=$LINENO |
736 | - as_lineno_2=$LINENO as_lineno_2a=$LINENO |
737 | - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
738 | - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
739 | - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
740 | - sed -n ' |
741 | - p |
742 | - /[$]LINENO/= |
743 | - ' <$as_myself | |
744 | - sed ' |
745 | - s/[$]LINENO.*/&-/ |
746 | - t lineno |
747 | - b |
748 | - :lineno |
749 | - N |
750 | - :loop |
751 | - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
752 | - t loop |
753 | - s/-\n.*// |
754 | - ' >$as_me.lineno && |
755 | - chmod +x "$as_me.lineno" || |
756 | - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
757 | - |
758 | - # Don't try to exec as it changes $[0], causing all sort of problems |
759 | - # (the dirname of $[0] is not the place where we might find the |
760 | - # original and so on. Autoconf is especially sensitive to this). |
761 | - . "./$as_me.lineno" |
762 | - # Exit status is that of the last command. |
763 | - exit |
764 | -} |
765 | - |
766 | -ECHO_C= ECHO_N= ECHO_T= |
767 | -case `echo -n x` in @%:@((((( |
768 | --n*) |
769 | - case `echo 'xy\c'` in |
770 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
771 | - xy) ECHO_C='\c';; |
772 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
773 | - ECHO_T=' ';; |
774 | - esac;; |
775 | -*) |
776 | - ECHO_N='-n';; |
777 | -esac |
778 | - |
779 | -rm -f conf$$ conf$$.exe conf$$.file |
780 | -if test -d conf$$.dir; then |
781 | - rm -f conf$$.dir/conf$$.file |
782 | -else |
783 | - rm -f conf$$.dir |
784 | - mkdir conf$$.dir 2>/dev/null |
785 | -fi |
786 | -if (echo >conf$$.file) 2>/dev/null; then |
787 | - if ln -s conf$$.file conf$$ 2>/dev/null; then |
788 | - as_ln_s='ln -s' |
789 | - # ... but there are two gotchas: |
790 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
791 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
792 | - # In both cases, we have to default to `cp -p'. |
793 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
794 | - as_ln_s='cp -p' |
795 | - elif ln conf$$.file conf$$ 2>/dev/null; then |
796 | - as_ln_s=ln |
797 | - else |
798 | - as_ln_s='cp -p' |
799 | - fi |
800 | -else |
801 | - as_ln_s='cp -p' |
802 | -fi |
803 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
804 | -rmdir conf$$.dir 2>/dev/null |
805 | - |
806 | -if mkdir -p . 2>/dev/null; then |
807 | - as_mkdir_p='mkdir -p "$as_dir"' |
808 | -else |
809 | - test -d ./-p && rmdir ./-p |
810 | - as_mkdir_p=false |
811 | -fi |
812 | - |
813 | -if test -x / >/dev/null 2>&1; then |
814 | - as_test_x='test -x' |
815 | -else |
816 | - if ls -dL / >/dev/null 2>&1; then |
817 | - as_ls_L_option=L |
818 | - else |
819 | - as_ls_L_option= |
820 | - fi |
821 | - as_test_x=' |
822 | - eval sh -c '\'' |
823 | - if test -d "$1"; then |
824 | - test -d "$1/."; |
825 | - else |
826 | - case $1 in @%:@( |
827 | - -*)set "./$1";; |
828 | - esac; |
829 | - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( |
830 | - ???[sx]*):;;*)false;;esac;fi |
831 | - '\'' sh |
832 | - ' |
833 | -fi |
834 | -as_executable_p=$as_test_x |
835 | - |
836 | -# Sed expression to map a string onto a valid CPP name. |
837 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
838 | - |
839 | -# Sed expression to map a string onto a valid variable name. |
840 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
841 | - |
842 | - |
843 | - |
844 | -# Check that we are running under the correct shell. |
845 | -SHELL=${CONFIG_SHELL-/bin/sh} |
846 | - |
847 | -case X$lt_ECHO in |
848 | -X*--fallback-echo) |
849 | - # Remove one level of quotation (which was required for Make). |
850 | - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
851 | - ;; |
852 | -esac |
853 | - |
854 | -ECHO=${lt_ECHO-echo} |
855 | -if test "X$1" = X--no-reexec; then |
856 | - # Discard the --no-reexec flag, and continue. |
857 | - shift |
858 | -elif test "X$1" = X--fallback-echo; then |
859 | - # Avoid inline document here, it may be left over |
860 | - : |
861 | -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
862 | - # Yippee, $ECHO works! |
863 | - : |
864 | -else |
865 | - # Restart under the correct shell. |
866 | - exec $SHELL "$0" --no-reexec ${1+"$@"} |
867 | -fi |
868 | - |
869 | -if test "X$1" = X--fallback-echo; then |
870 | - # used as fallback echo |
871 | - shift |
872 | - cat <<_LT_EOF |
873 | -$* |
874 | -_LT_EOF |
875 | - exit 0 |
876 | -fi |
877 | - |
878 | -# The HP-UX ksh and POSIX shell print the target directory to stdout |
879 | -# if CDPATH is set. |
880 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
881 | - |
882 | -if test -z "$lt_ECHO"; then |
883 | - if test "X${echo_test_string+set}" != Xset; then |
884 | - # find a string as large as possible, as long as the shell can cope with it |
885 | - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
886 | - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
887 | - if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
888 | - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
889 | - then |
890 | - break |
891 | - fi |
892 | - done |
893 | - fi |
894 | - |
895 | - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
896 | - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
897 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
898 | - : |
899 | - else |
900 | - # The Solaris, AIX, and Digital Unix default echo programs unquote |
901 | - # backslashes. This makes it impossible to quote backslashes using |
902 | - # echo "$something" | sed 's/\\/\\\\/g' |
903 | - # |
904 | - # So, first we look for a working echo in the user's PATH. |
905 | - |
906 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
907 | - for dir in $PATH /usr/ucb; do |
908 | - IFS="$lt_save_ifs" |
909 | - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
910 | - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
911 | - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
912 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
913 | - ECHO="$dir/echo" |
914 | - break |
915 | - fi |
916 | - done |
917 | - IFS="$lt_save_ifs" |
918 | - |
919 | - if test "X$ECHO" = Xecho; then |
920 | - # We didn't find a better echo, so look for alternatives. |
921 | - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
922 | - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
923 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
924 | - # This shell has a builtin print -r that does the trick. |
925 | - ECHO='print -r' |
926 | - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
927 | - test "X$CONFIG_SHELL" != X/bin/ksh; then |
928 | - # If we have ksh, try running configure again with it. |
929 | - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
930 | - export ORIGINAL_CONFIG_SHELL |
931 | - CONFIG_SHELL=/bin/ksh |
932 | - export CONFIG_SHELL |
933 | - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
934 | - else |
935 | - # Try using printf. |
936 | - ECHO='printf %s\n' |
937 | - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
938 | - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
939 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
940 | - # Cool, printf works |
941 | - : |
942 | - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
943 | - test "X$echo_testing_string" = 'X\t' && |
944 | - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
945 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
946 | - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
947 | - export CONFIG_SHELL |
948 | - SHELL="$CONFIG_SHELL" |
949 | - export SHELL |
950 | - ECHO="$CONFIG_SHELL $0 --fallback-echo" |
951 | - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
952 | - test "X$echo_testing_string" = 'X\t' && |
953 | - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
954 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
955 | - ECHO="$CONFIG_SHELL $0 --fallback-echo" |
956 | - else |
957 | - # maybe with a smaller string... |
958 | - prev=: |
959 | - |
960 | - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
961 | - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
962 | - then |
963 | - break |
964 | - fi |
965 | - prev="$cmd" |
966 | - done |
967 | - |
968 | - if test "$prev" != 'sed 50q "$0"'; then |
969 | - echo_test_string=`eval $prev` |
970 | - export echo_test_string |
971 | - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
972 | - else |
973 | - # Oops. We lost completely, so just stick with echo. |
974 | - ECHO=echo |
975 | - fi |
976 | - fi |
977 | - fi |
978 | - fi |
979 | - fi |
980 | -fi |
981 | - |
982 | -# Copy echo and quote the copy suitably for passing to libtool from |
983 | -# the Makefile, instead of quoting the original, which is used later. |
984 | -lt_ECHO=$ECHO |
985 | -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
986 | - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
987 | -fi |
988 | - |
989 | - |
990 | - |
991 | - |
992 | -exec 7<&0 </dev/null 6>&1 |
993 | - |
994 | -# Name of the host. |
995 | -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
996 | -# so uname gets run too. |
997 | -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
998 | - |
999 | -# |
1000 | -# Initializations. |
1001 | -# |
1002 | -ac_default_prefix=/usr/local |
1003 | -ac_clean_files= |
1004 | -ac_config_libobj_dir=. |
1005 | -LIB@&t@OBJS= |
1006 | -cross_compiling=no |
1007 | -subdirs= |
1008 | -MFLAGS= |
1009 | -MAKEFLAGS= |
1010 | - |
1011 | -# Identity of this package. |
1012 | -PACKAGE_NAME='Judy' |
1013 | -PACKAGE_TARNAME='judy' |
1014 | -PACKAGE_VERSION='1.0.5' |
1015 | -PACKAGE_STRING='Judy 1.0.5' |
1016 | -PACKAGE_BUGREPORT='dougbaskins@yahoo.com' |
1017 | -PACKAGE_URL='' |
1018 | - |
1019 | -# Factoring default headers for most tests. |
1020 | -ac_includes_default="\ |
1021 | -#include <stdio.h> |
1022 | -#ifdef HAVE_SYS_TYPES_H |
1023 | -# include <sys/types.h> |
1024 | -#endif |
1025 | -#ifdef HAVE_SYS_STAT_H |
1026 | -# include <sys/stat.h> |
1027 | -#endif |
1028 | -#ifdef STDC_HEADERS |
1029 | -# include <stdlib.h> |
1030 | -# include <stddef.h> |
1031 | -#else |
1032 | -# ifdef HAVE_STDLIB_H |
1033 | -# include <stdlib.h> |
1034 | -# endif |
1035 | -#endif |
1036 | -#ifdef HAVE_STRING_H |
1037 | -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
1038 | -# include <memory.h> |
1039 | -# endif |
1040 | -# include <string.h> |
1041 | -#endif |
1042 | -#ifdef HAVE_STRINGS_H |
1043 | -# include <strings.h> |
1044 | -#endif |
1045 | -#ifdef HAVE_INTTYPES_H |
1046 | -# include <inttypes.h> |
1047 | -#endif |
1048 | -#ifdef HAVE_STDINT_H |
1049 | -# include <stdint.h> |
1050 | -#endif |
1051 | -#ifdef HAVE_UNISTD_H |
1052 | -# include <unistd.h> |
1053 | -#endif" |
1054 | - |
1055 | -ac_subst_vars='LTLIBOBJS |
1056 | -WARN_CFLAGS |
1057 | -OTOOL64 |
1058 | -OTOOL |
1059 | -LIPO |
1060 | -NMEDIT |
1061 | -DSYMUTIL |
1062 | -lt_ECHO |
1063 | -NM |
1064 | -ac_ct_DUMPBIN |
1065 | -DUMPBIN |
1066 | -FGREP |
1067 | -SED |
1068 | -host_os |
1069 | -host_vendor |
1070 | -host_cpu |
1071 | -host |
1072 | -build_os |
1073 | -build_vendor |
1074 | -build_cpu |
1075 | -build |
1076 | -LIBTOOL |
1077 | -RANLIB |
1078 | -LD |
1079 | -AR |
1080 | -LIB@&t@OBJS |
1081 | -EGREP |
1082 | -GREP |
1083 | -LN_S |
1084 | -CPP |
1085 | -am__fastdepCC_FALSE |
1086 | -am__fastdepCC_TRUE |
1087 | -CCDEPMODE |
1088 | -AMDEPBACKSLASH |
1089 | -AMDEP_FALSE |
1090 | -AMDEP_TRUE |
1091 | -am__quote |
1092 | -am__include |
1093 | -DEPDIR |
1094 | -OBJEXT |
1095 | -EXEEXT |
1096 | -ac_ct_CC |
1097 | -CPPFLAGS |
1098 | -LDFLAGS |
1099 | -CFLAGS |
1100 | -CC |
1101 | -FLAVOR |
1102 | -VERSION_INFO |
1103 | -am__untar |
1104 | -am__tar |
1105 | -AMTAR |
1106 | -am__leading_dot |
1107 | -SET_MAKE |
1108 | -AWK |
1109 | -mkdir_p |
1110 | -MKDIR_P |
1111 | -INSTALL_STRIP_PROGRAM |
1112 | -STRIP |
1113 | -install_sh |
1114 | -MAKEINFO |
1115 | -AUTOHEADER |
1116 | -AUTOMAKE |
1117 | -AUTOCONF |
1118 | -ACLOCAL |
1119 | -VERSION |
1120 | -PACKAGE |
1121 | -CYGPATH_W |
1122 | -am__isrc |
1123 | -INSTALL_DATA |
1124 | -INSTALL_SCRIPT |
1125 | -INSTALL_PROGRAM |
1126 | -MAINT |
1127 | -MAINTAINER_MODE_FALSE |
1128 | -MAINTAINER_MODE_TRUE |
1129 | -target_alias |
1130 | -host_alias |
1131 | -build_alias |
1132 | -LIBS |
1133 | -ECHO_T |
1134 | -ECHO_N |
1135 | -ECHO_C |
1136 | -DEFS |
1137 | -mandir |
1138 | -localedir |
1139 | -libdir |
1140 | -psdir |
1141 | -pdfdir |
1142 | -dvidir |
1143 | -htmldir |
1144 | -infodir |
1145 | -docdir |
1146 | -oldincludedir |
1147 | -includedir |
1148 | -localstatedir |
1149 | -sharedstatedir |
1150 | -sysconfdir |
1151 | -datadir |
1152 | -datarootdir |
1153 | -libexecdir |
1154 | -sbindir |
1155 | -bindir |
1156 | -program_transform_name |
1157 | -prefix |
1158 | -exec_prefix |
1159 | -PACKAGE_URL |
1160 | -PACKAGE_BUGREPORT |
1161 | -PACKAGE_STRING |
1162 | -PACKAGE_VERSION |
1163 | -PACKAGE_TARNAME |
1164 | -PACKAGE_NAME |
1165 | -PATH_SEPARATOR |
1166 | -SHELL' |
1167 | -ac_subst_files='' |
1168 | -ac_user_opts=' |
1169 | -enable_option_checking |
1170 | -enable_maintainer_mode |
1171 | -enable_debug |
1172 | -enable_ccover |
1173 | -enable_dependency_tracking |
1174 | -enable_32_bit |
1175 | -enable_64_bit |
1176 | -enable_shared |
1177 | -enable_static |
1178 | -with_pic |
1179 | -enable_fast_install |
1180 | -with_gnu_ld |
1181 | -enable_libtool_lock |
1182 | -enable_build_warnings |
1183 | -' |
1184 | - ac_precious_vars='build_alias |
1185 | -host_alias |
1186 | -target_alias |
1187 | -CC |
1188 | -CFLAGS |
1189 | -LDFLAGS |
1190 | -LIBS |
1191 | -CPPFLAGS |
1192 | -CPP' |
1193 | - |
1194 | - |
1195 | -# Initialize some variables set by options. |
1196 | -ac_init_help= |
1197 | -ac_init_version=false |
1198 | -ac_unrecognized_opts= |
1199 | -ac_unrecognized_sep= |
1200 | -# The variables have the same names as the options, with |
1201 | -# dashes changed to underlines. |
1202 | -cache_file=/dev/null |
1203 | -exec_prefix=NONE |
1204 | -no_create= |
1205 | -no_recursion= |
1206 | -prefix=NONE |
1207 | -program_prefix=NONE |
1208 | -program_suffix=NONE |
1209 | -program_transform_name=s,x,x, |
1210 | -silent= |
1211 | -site= |
1212 | -srcdir= |
1213 | -verbose= |
1214 | -x_includes=NONE |
1215 | -x_libraries=NONE |
1216 | - |
1217 | -# Installation directory options. |
1218 | -# These are left unexpanded so users can "make install exec_prefix=/foo" |
1219 | -# and all the variables that are supposed to be based on exec_prefix |
1220 | -# by default will actually change. |
1221 | -# Use braces instead of parens because sh, perl, etc. also accept them. |
1222 | -# (The list follows the same order as the GNU Coding Standards.) |
1223 | -bindir='${exec_prefix}/bin' |
1224 | -sbindir='${exec_prefix}/sbin' |
1225 | -libexecdir='${exec_prefix}/libexec' |
1226 | -datarootdir='${prefix}/share' |
1227 | -datadir='${datarootdir}' |
1228 | -sysconfdir='${prefix}/etc' |
1229 | -sharedstatedir='${prefix}/com' |
1230 | -localstatedir='${prefix}/var' |
1231 | -includedir='${prefix}/include' |
1232 | -oldincludedir='/usr/include' |
1233 | -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
1234 | -infodir='${datarootdir}/info' |
1235 | -htmldir='${docdir}' |
1236 | -dvidir='${docdir}' |
1237 | -pdfdir='${docdir}' |
1238 | -psdir='${docdir}' |
1239 | -libdir='${exec_prefix}/lib' |
1240 | -localedir='${datarootdir}/locale' |
1241 | -mandir='${datarootdir}/man' |
1242 | - |
1243 | -ac_prev= |
1244 | -ac_dashdash= |
1245 | -for ac_option |
1246 | -do |
1247 | - # If the previous option needs an argument, assign it. |
1248 | - if test -n "$ac_prev"; then |
1249 | - eval $ac_prev=\$ac_option |
1250 | - ac_prev= |
1251 | - continue |
1252 | - fi |
1253 | - |
1254 | - case $ac_option in |
1255 | - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
1256 | - *) ac_optarg=yes ;; |
1257 | - esac |
1258 | - |
1259 | - # Accept the important Cygnus configure options, so we can diagnose typos. |
1260 | - |
1261 | - case $ac_dashdash$ac_option in |
1262 | - --) |
1263 | - ac_dashdash=yes ;; |
1264 | - |
1265 | - -bindir | --bindir | --bindi | --bind | --bin | --bi) |
1266 | - ac_prev=bindir ;; |
1267 | - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
1268 | - bindir=$ac_optarg ;; |
1269 | - |
1270 | - -build | --build | --buil | --bui | --bu) |
1271 | - ac_prev=build_alias ;; |
1272 | - -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
1273 | - build_alias=$ac_optarg ;; |
1274 | - |
1275 | - -cache-file | --cache-file | --cache-fil | --cache-fi \ |
1276 | - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
1277 | - ac_prev=cache_file ;; |
1278 | - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
1279 | - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
1280 | - cache_file=$ac_optarg ;; |
1281 | - |
1282 | - --config-cache | -C) |
1283 | - cache_file=config.cache ;; |
1284 | - |
1285 | - -datadir | --datadir | --datadi | --datad) |
1286 | - ac_prev=datadir ;; |
1287 | - -datadir=* | --datadir=* | --datadi=* | --datad=*) |
1288 | - datadir=$ac_optarg ;; |
1289 | - |
1290 | - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
1291 | - | --dataroo | --dataro | --datar) |
1292 | - ac_prev=datarootdir ;; |
1293 | - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
1294 | - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
1295 | - datarootdir=$ac_optarg ;; |
1296 | - |
1297 | - -disable-* | --disable-*) |
1298 | - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1299 | - # Reject names that are not valid shell variable names. |
1300 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1301 | - as_fn_error "invalid feature name: $ac_useropt" |
1302 | - ac_useropt_orig=$ac_useropt |
1303 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1304 | - case $ac_user_opts in |
1305 | - *" |
1306 | -"enable_$ac_useropt" |
1307 | -"*) ;; |
1308 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
1309 | - ac_unrecognized_sep=', ';; |
1310 | - esac |
1311 | - eval enable_$ac_useropt=no ;; |
1312 | - |
1313 | - -docdir | --docdir | --docdi | --doc | --do) |
1314 | - ac_prev=docdir ;; |
1315 | - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
1316 | - docdir=$ac_optarg ;; |
1317 | - |
1318 | - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
1319 | - ac_prev=dvidir ;; |
1320 | - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
1321 | - dvidir=$ac_optarg ;; |
1322 | - |
1323 | - -enable-* | --enable-*) |
1324 | - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1325 | - # Reject names that are not valid shell variable names. |
1326 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1327 | - as_fn_error "invalid feature name: $ac_useropt" |
1328 | - ac_useropt_orig=$ac_useropt |
1329 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1330 | - case $ac_user_opts in |
1331 | - *" |
1332 | -"enable_$ac_useropt" |
1333 | -"*) ;; |
1334 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
1335 | - ac_unrecognized_sep=', ';; |
1336 | - esac |
1337 | - eval enable_$ac_useropt=\$ac_optarg ;; |
1338 | - |
1339 | - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
1340 | - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1341 | - | --exec | --exe | --ex) |
1342 | - ac_prev=exec_prefix ;; |
1343 | - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
1344 | - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
1345 | - | --exec=* | --exe=* | --ex=*) |
1346 | - exec_prefix=$ac_optarg ;; |
1347 | - |
1348 | - -gas | --gas | --ga | --g) |
1349 | - # Obsolete; use --with-gas. |
1350 | - with_gas=yes ;; |
1351 | - |
1352 | - -help | --help | --hel | --he | -h) |
1353 | - ac_init_help=long ;; |
1354 | - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
1355 | - ac_init_help=recursive ;; |
1356 | - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
1357 | - ac_init_help=short ;; |
1358 | - |
1359 | - -host | --host | --hos | --ho) |
1360 | - ac_prev=host_alias ;; |
1361 | - -host=* | --host=* | --hos=* | --ho=*) |
1362 | - host_alias=$ac_optarg ;; |
1363 | - |
1364 | - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1365 | - ac_prev=htmldir ;; |
1366 | - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
1367 | - | --ht=*) |
1368 | - htmldir=$ac_optarg ;; |
1369 | - |
1370 | - -includedir | --includedir | --includedi | --included | --include \ |
1371 | - | --includ | --inclu | --incl | --inc) |
1372 | - ac_prev=includedir ;; |
1373 | - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
1374 | - | --includ=* | --inclu=* | --incl=* | --inc=*) |
1375 | - includedir=$ac_optarg ;; |
1376 | - |
1377 | - -infodir | --infodir | --infodi | --infod | --info | --inf) |
1378 | - ac_prev=infodir ;; |
1379 | - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
1380 | - infodir=$ac_optarg ;; |
1381 | - |
1382 | - -libdir | --libdir | --libdi | --libd) |
1383 | - ac_prev=libdir ;; |
1384 | - -libdir=* | --libdir=* | --libdi=* | --libd=*) |
1385 | - libdir=$ac_optarg ;; |
1386 | - |
1387 | - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
1388 | - | --libexe | --libex | --libe) |
1389 | - ac_prev=libexecdir ;; |
1390 | - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
1391 | - | --libexe=* | --libex=* | --libe=*) |
1392 | - libexecdir=$ac_optarg ;; |
1393 | - |
1394 | - -localedir | --localedir | --localedi | --localed | --locale) |
1395 | - ac_prev=localedir ;; |
1396 | - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
1397 | - localedir=$ac_optarg ;; |
1398 | - |
1399 | - -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1400 | - | --localstate | --localstat | --localsta | --localst | --locals) |
1401 | - ac_prev=localstatedir ;; |
1402 | - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1403 | - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1404 | - localstatedir=$ac_optarg ;; |
1405 | - |
1406 | - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1407 | - ac_prev=mandir ;; |
1408 | - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1409 | - mandir=$ac_optarg ;; |
1410 | - |
1411 | - -nfp | --nfp | --nf) |
1412 | - # Obsolete; use --without-fp. |
1413 | - with_fp=no ;; |
1414 | - |
1415 | - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1416 | - | --no-cr | --no-c | -n) |
1417 | - no_create=yes ;; |
1418 | - |
1419 | - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1420 | - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1421 | - no_recursion=yes ;; |
1422 | - |
1423 | - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1424 | - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
1425 | - | --oldin | --oldi | --old | --ol | --o) |
1426 | - ac_prev=oldincludedir ;; |
1427 | - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
1428 | - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
1429 | - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
1430 | - oldincludedir=$ac_optarg ;; |
1431 | - |
1432 | - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1433 | - ac_prev=prefix ;; |
1434 | - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
1435 | - prefix=$ac_optarg ;; |
1436 | - |
1437 | - -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
1438 | - | --program-pre | --program-pr | --program-p) |
1439 | - ac_prev=program_prefix ;; |
1440 | - -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
1441 | - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
1442 | - program_prefix=$ac_optarg ;; |
1443 | - |
1444 | - -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
1445 | - | --program-suf | --program-su | --program-s) |
1446 | - ac_prev=program_suffix ;; |
1447 | - -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
1448 | - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
1449 | - program_suffix=$ac_optarg ;; |
1450 | - |
1451 | - -program-transform-name | --program-transform-name \ |
1452 | - | --program-transform-nam | --program-transform-na \ |
1453 | - | --program-transform-n | --program-transform- \ |
1454 | - | --program-transform | --program-transfor \ |
1455 | - | --program-transfo | --program-transf \ |
1456 | - | --program-trans | --program-tran \ |
1457 | - | --progr-tra | --program-tr | --program-t) |
1458 | - ac_prev=program_transform_name ;; |
1459 | - -program-transform-name=* | --program-transform-name=* \ |
1460 | - | --program-transform-nam=* | --program-transform-na=* \ |
1461 | - | --program-transform-n=* | --program-transform-=* \ |
1462 | - | --program-transform=* | --program-transfor=* \ |
1463 | - | --program-transfo=* | --program-transf=* \ |
1464 | - | --program-trans=* | --program-tran=* \ |
1465 | - | --progr-tra=* | --program-tr=* | --program-t=*) |
1466 | - program_transform_name=$ac_optarg ;; |
1467 | - |
1468 | - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1469 | - ac_prev=pdfdir ;; |
1470 | - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1471 | - pdfdir=$ac_optarg ;; |
1472 | - |
1473 | - -psdir | --psdir | --psdi | --psd | --ps) |
1474 | - ac_prev=psdir ;; |
1475 | - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1476 | - psdir=$ac_optarg ;; |
1477 | - |
1478 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1479 | - | -silent | --silent | --silen | --sile | --sil) |
1480 | - silent=yes ;; |
1481 | - |
1482 | - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1483 | - ac_prev=sbindir ;; |
1484 | - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1485 | - | --sbi=* | --sb=*) |
1486 | - sbindir=$ac_optarg ;; |
1487 | - |
1488 | - -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1489 | - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1490 | - | --sharedst | --shareds | --shared | --share | --shar \ |
1491 | - | --sha | --sh) |
1492 | - ac_prev=sharedstatedir ;; |
1493 | - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1494 | - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1495 | - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1496 | - | --sha=* | --sh=*) |
1497 | - sharedstatedir=$ac_optarg ;; |
1498 | - |
1499 | - -site | --site | --sit) |
1500 | - ac_prev=site ;; |
1501 | - -site=* | --site=* | --sit=*) |
1502 | - site=$ac_optarg ;; |
1503 | - |
1504 | - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1505 | - ac_prev=srcdir ;; |
1506 | - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1507 | - srcdir=$ac_optarg ;; |
1508 | - |
1509 | - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1510 | - | --syscon | --sysco | --sysc | --sys | --sy) |
1511 | - ac_prev=sysconfdir ;; |
1512 | - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1513 | - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1514 | - sysconfdir=$ac_optarg ;; |
1515 | - |
1516 | - -target | --target | --targe | --targ | --tar | --ta | --t) |
1517 | - ac_prev=target_alias ;; |
1518 | - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1519 | - target_alias=$ac_optarg ;; |
1520 | - |
1521 | - -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1522 | - verbose=yes ;; |
1523 | - |
1524 | - -version | --version | --versio | --versi | --vers | -V) |
1525 | - ac_init_version=: ;; |
1526 | - |
1527 | - -with-* | --with-*) |
1528 | - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1529 | - # Reject names that are not valid shell variable names. |
1530 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1531 | - as_fn_error "invalid package name: $ac_useropt" |
1532 | - ac_useropt_orig=$ac_useropt |
1533 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1534 | - case $ac_user_opts in |
1535 | - *" |
1536 | -"with_$ac_useropt" |
1537 | -"*) ;; |
1538 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1539 | - ac_unrecognized_sep=', ';; |
1540 | - esac |
1541 | - eval with_$ac_useropt=\$ac_optarg ;; |
1542 | - |
1543 | - -without-* | --without-*) |
1544 | - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1545 | - # Reject names that are not valid shell variable names. |
1546 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1547 | - as_fn_error "invalid package name: $ac_useropt" |
1548 | - ac_useropt_orig=$ac_useropt |
1549 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1550 | - case $ac_user_opts in |
1551 | - *" |
1552 | -"with_$ac_useropt" |
1553 | -"*) ;; |
1554 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1555 | - ac_unrecognized_sep=', ';; |
1556 | - esac |
1557 | - eval with_$ac_useropt=no ;; |
1558 | - |
1559 | - --x) |
1560 | - # Obsolete; use --with-x. |
1561 | - with_x=yes ;; |
1562 | - |
1563 | - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1564 | - | --x-incl | --x-inc | --x-in | --x-i) |
1565 | - ac_prev=x_includes ;; |
1566 | - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1567 | - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1568 | - x_includes=$ac_optarg ;; |
1569 | - |
1570 | - -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1571 | - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1572 | - ac_prev=x_libraries ;; |
1573 | - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1574 | - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1575 | - x_libraries=$ac_optarg ;; |
1576 | - |
1577 | - -*) as_fn_error "unrecognized option: \`$ac_option' |
1578 | -Try \`$0 --help' for more information." |
1579 | - ;; |
1580 | - |
1581 | - *=*) |
1582 | - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1583 | - # Reject names that are not valid shell variable names. |
1584 | - case $ac_envvar in #( |
1585 | - '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1586 | - as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1587 | - esac |
1588 | - eval $ac_envvar=\$ac_optarg |
1589 | - export $ac_envvar ;; |
1590 | - |
1591 | - *) |
1592 | - # FIXME: should be removed in autoconf 3.0. |
1593 | - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1594 | - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1595 | - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1596 | - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1597 | - ;; |
1598 | - |
1599 | - esac |
1600 | -done |
1601 | - |
1602 | -if test -n "$ac_prev"; then |
1603 | - ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1604 | - as_fn_error "missing argument to $ac_option" |
1605 | -fi |
1606 | - |
1607 | -if test -n "$ac_unrecognized_opts"; then |
1608 | - case $enable_option_checking in |
1609 | - no) ;; |
1610 | - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1611 | - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1612 | - esac |
1613 | -fi |
1614 | - |
1615 | -# Check all directory arguments for consistency. |
1616 | -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1617 | - datadir sysconfdir sharedstatedir localstatedir includedir \ |
1618 | - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1619 | - libdir localedir mandir |
1620 | -do |
1621 | - eval ac_val=\$$ac_var |
1622 | - # Remove trailing slashes. |
1623 | - case $ac_val in |
1624 | - */ ) |
1625 | - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1626 | - eval $ac_var=\$ac_val;; |
1627 | - esac |
1628 | - # Be sure to have absolute directory names. |
1629 | - case $ac_val in |
1630 | - [\\/$]* | ?:[\\/]* ) continue;; |
1631 | - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1632 | - esac |
1633 | - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1634 | -done |
1635 | - |
1636 | -# There might be people who depend on the old broken behavior: `$host' |
1637 | -# used to hold the argument of --host etc. |
1638 | -# FIXME: To remove some day. |
1639 | -build=$build_alias |
1640 | -host=$host_alias |
1641 | -target=$target_alias |
1642 | - |
1643 | -# FIXME: To remove some day. |
1644 | -if test "x$host_alias" != x; then |
1645 | - if test "x$build_alias" = x; then |
1646 | - cross_compiling=maybe |
1647 | - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1648 | - If a cross compiler is detected then cross compile mode will be used." >&2 |
1649 | - elif test "x$build_alias" != "x$host_alias"; then |
1650 | - cross_compiling=yes |
1651 | - fi |
1652 | -fi |
1653 | - |
1654 | -ac_tool_prefix= |
1655 | -test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1656 | - |
1657 | -test "$silent" = yes && exec 6>/dev/null |
1658 | - |
1659 | - |
1660 | -ac_pwd=`pwd` && test -n "$ac_pwd" && |
1661 | -ac_ls_di=`ls -di .` && |
1662 | -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1663 | - as_fn_error "working directory cannot be determined" |
1664 | -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1665 | - as_fn_error "pwd does not report name of working directory" |
1666 | - |
1667 | - |
1668 | -# Find the source files, if location was not specified. |
1669 | -if test -z "$srcdir"; then |
1670 | - ac_srcdir_defaulted=yes |
1671 | - # Try the directory containing this script, then the parent directory. |
1672 | - ac_confdir=`$as_dirname -- "$as_myself" || |
1673 | -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1674 | - X"$as_myself" : 'X\(//\)[^/]' \| \ |
1675 | - X"$as_myself" : 'X\(//\)$' \| \ |
1676 | - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1677 | -$as_echo X"$as_myself" | |
1678 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1679 | - s//\1/ |
1680 | - q |
1681 | - } |
1682 | - /^X\(\/\/\)[^/].*/{ |
1683 | - s//\1/ |
1684 | - q |
1685 | - } |
1686 | - /^X\(\/\/\)$/{ |
1687 | - s//\1/ |
1688 | - q |
1689 | - } |
1690 | - /^X\(\/\).*/{ |
1691 | - s//\1/ |
1692 | - q |
1693 | - } |
1694 | - s/.*/./; q'` |
1695 | - srcdir=$ac_confdir |
1696 | - if test ! -r "$srcdir/$ac_unique_file"; then |
1697 | - srcdir=.. |
1698 | - fi |
1699 | -else |
1700 | - ac_srcdir_defaulted=no |
1701 | -fi |
1702 | -if test ! -r "$srcdir/$ac_unique_file"; then |
1703 | - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1704 | - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1705 | -fi |
1706 | -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1707 | -ac_abs_confdir=`( |
1708 | - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1709 | - pwd)` |
1710 | -# When building in place, set srcdir=. |
1711 | -if test "$ac_abs_confdir" = "$ac_pwd"; then |
1712 | - srcdir=. |
1713 | -fi |
1714 | -# Remove unnecessary trailing slashes from srcdir. |
1715 | -# Double slashes in file names in object file debugging info |
1716 | -# mess up M-x gdb in Emacs. |
1717 | -case $srcdir in |
1718 | -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1719 | -esac |
1720 | -for ac_var in $ac_precious_vars; do |
1721 | - eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1722 | - eval ac_env_${ac_var}_value=\$${ac_var} |
1723 | - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1724 | - eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1725 | -done |
1726 | - |
1727 | -# |
1728 | -# Report the --help message. |
1729 | -# |
1730 | -if test "$ac_init_help" = "long"; then |
1731 | - # Omit some internal or obsolete options to make the list less imposing. |
1732 | - # This message is too long to be a string in the A/UX 3.1 sh. |
1733 | - cat <<_ACEOF |
1734 | -\`configure' configures Judy 1.0.5 to adapt to many kinds of systems. |
1735 | - |
1736 | -Usage: $0 [OPTION]... [VAR=VALUE]... |
1737 | - |
1738 | -To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1739 | -VAR=VALUE. See below for descriptions of some of the useful variables. |
1740 | - |
1741 | -Defaults for the options are specified in brackets. |
1742 | - |
1743 | -Configuration: |
1744 | - -h, --help display this help and exit |
1745 | - --help=short display options specific to this package |
1746 | - --help=recursive display the short help of all the included packages |
1747 | - -V, --version display version information and exit |
1748 | - -q, --quiet, --silent do not print \`checking...' messages |
1749 | - --cache-file=FILE cache test results in FILE [disabled] |
1750 | - -C, --config-cache alias for \`--cache-file=config.cache' |
1751 | - -n, --no-create do not create output files |
1752 | - --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1753 | - |
1754 | -Installation directories: |
1755 | - --prefix=PREFIX install architecture-independent files in PREFIX |
1756 | - [$ac_default_prefix] |
1757 | - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1758 | - [PREFIX] |
1759 | - |
1760 | -By default, \`make install' will install all the files in |
1761 | -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1762 | -an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1763 | -for instance \`--prefix=\$HOME'. |
1764 | - |
1765 | -For better control, use the options below. |
1766 | - |
1767 | -Fine tuning of the installation directories: |
1768 | - --bindir=DIR user executables [EPREFIX/bin] |
1769 | - --sbindir=DIR system admin executables [EPREFIX/sbin] |
1770 | - --libexecdir=DIR program executables [EPREFIX/libexec] |
1771 | - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1772 | - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1773 | - --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1774 | - --libdir=DIR object code libraries [EPREFIX/lib] |
1775 | - --includedir=DIR C header files [PREFIX/include] |
1776 | - --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1777 | - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1778 | - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1779 | - --infodir=DIR info documentation [DATAROOTDIR/info] |
1780 | - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1781 | - --mandir=DIR man documentation [DATAROOTDIR/man] |
1782 | - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/judy@:>@ |
1783 | - --htmldir=DIR html documentation [DOCDIR] |
1784 | - --dvidir=DIR dvi documentation [DOCDIR] |
1785 | - --pdfdir=DIR pdf documentation [DOCDIR] |
1786 | - --psdir=DIR ps documentation [DOCDIR] |
1787 | -_ACEOF |
1788 | - |
1789 | - cat <<\_ACEOF |
1790 | - |
1791 | -Program names: |
1792 | - --program-prefix=PREFIX prepend PREFIX to installed program names |
1793 | - --program-suffix=SUFFIX append SUFFIX to installed program names |
1794 | - --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1795 | - |
1796 | -System types: |
1797 | - --build=BUILD configure for building on BUILD [guessed] |
1798 | - --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1799 | -_ACEOF |
1800 | -fi |
1801 | - |
1802 | -if test -n "$ac_init_help"; then |
1803 | - case $ac_init_help in |
1804 | - short | recursive ) echo "Configuration of Judy 1.0.5:";; |
1805 | - esac |
1806 | - cat <<\_ACEOF |
1807 | - |
1808 | -Optional Features: |
1809 | - --disable-option-checking ignore unrecognized --enable/--with options |
1810 | - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1811 | - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1812 | - --enable-maintainer-mode enable make rules and dependencies not useful |
1813 | - (and sometimes confusing) to the casual installer |
1814 | - --enable-debug enable debugging features |
1815 | - --enable-ccover enable use of ccover code coverage tools |
1816 | - --disable-dependency-tracking speeds up one-time build |
1817 | - --enable-dependency-tracking do not reject slow dependency extractors |
1818 | - --enable-32-bit Generate code for a 32-bit environment |
1819 | - --enable-64-bit Generate code for a 64-bit environment |
1820 | - --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ |
1821 | - --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ |
1822 | - --enable-fast-install@<:@=PKGS@:>@ |
1823 | - optimize for fast installation @<:@default=yes@:>@ |
1824 | - --disable-libtool-lock avoid locking (might break parallel builds) |
1825 | - --enable-build-warnings Enable build-time compiler warnings for gcc |
1826 | - |
1827 | -Optional Packages: |
1828 | - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1829 | - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1830 | - --with-pic try to use only PIC/non-PIC objects @<:@default=use |
1831 | - both@:>@ |
1832 | - --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ |
1833 | - |
1834 | -Some influential environment variables: |
1835 | - CC C compiler command |
1836 | - CFLAGS C compiler flags |
1837 | - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1838 | - nonstandard directory <lib dir> |
1839 | - LIBS libraries to pass to the linker, e.g. -l<library> |
1840 | - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1841 | - you have headers in a nonstandard directory <include dir> |
1842 | - CPP C preprocessor |
1843 | - |
1844 | -Use these variables to override the choices made by `configure' or to help |
1845 | -it to find libraries and programs with nonstandard names/locations. |
1846 | - |
1847 | -Report bugs to <dougbaskins@yahoo.com>. |
1848 | -_ACEOF |
1849 | -ac_status=$? |
1850 | -fi |
1851 | - |
1852 | -if test "$ac_init_help" = "recursive"; then |
1853 | - # If there are subdirs, report their specific --help. |
1854 | - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1855 | - test -d "$ac_dir" || |
1856 | - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1857 | - continue |
1858 | - ac_builddir=. |
1859 | - |
1860 | -case "$ac_dir" in |
1861 | -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1862 | -*) |
1863 | - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1864 | - # A ".." for each directory in $ac_dir_suffix. |
1865 | - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1866 | - case $ac_top_builddir_sub in |
1867 | - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1868 | - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1869 | - esac ;; |
1870 | -esac |
1871 | -ac_abs_top_builddir=$ac_pwd |
1872 | -ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1873 | -# for backward compatibility: |
1874 | -ac_top_builddir=$ac_top_build_prefix |
1875 | - |
1876 | -case $srcdir in |
1877 | - .) # We are building in place. |
1878 | - ac_srcdir=. |
1879 | - ac_top_srcdir=$ac_top_builddir_sub |
1880 | - ac_abs_top_srcdir=$ac_pwd ;; |
1881 | - [\\/]* | ?:[\\/]* ) # Absolute name. |
1882 | - ac_srcdir=$srcdir$ac_dir_suffix; |
1883 | - ac_top_srcdir=$srcdir |
1884 | - ac_abs_top_srcdir=$srcdir ;; |
1885 | - *) # Relative name. |
1886 | - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1887 | - ac_top_srcdir=$ac_top_build_prefix$srcdir |
1888 | - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1889 | -esac |
1890 | -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1891 | - |
1892 | - cd "$ac_dir" || { ac_status=$?; continue; } |
1893 | - # Check for guested configure. |
1894 | - if test -f "$ac_srcdir/configure.gnu"; then |
1895 | - echo && |
1896 | - $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1897 | - elif test -f "$ac_srcdir/configure"; then |
1898 | - echo && |
1899 | - $SHELL "$ac_srcdir/configure" --help=recursive |
1900 | - else |
1901 | - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1902 | - fi || ac_status=$? |
1903 | - cd "$ac_pwd" || { ac_status=$?; break; } |
1904 | - done |
1905 | -fi |
1906 | - |
1907 | -test -n "$ac_init_help" && exit $ac_status |
1908 | -if $ac_init_version; then |
1909 | - cat <<\_ACEOF |
1910 | -Judy configure 1.0.5 |
1911 | -generated by GNU Autoconf 2.64 |
1912 | - |
1913 | -Copyright (C) 2009 Free Software Foundation, Inc. |
1914 | -This configure script is free software; the Free Software Foundation |
1915 | -gives unlimited permission to copy, distribute and modify it. |
1916 | -_ACEOF |
1917 | - exit |
1918 | -fi |
1919 | - |
1920 | -## ------------------------ ## |
1921 | -## Autoconf initialization. ## |
1922 | -## ------------------------ ## |
1923 | - |
1924 | -@%:@ ac_fn_c_try_compile LINENO |
1925 | -@%:@ -------------------------- |
1926 | -@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded. |
1927 | -ac_fn_c_try_compile () |
1928 | -{ |
1929 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1930 | - rm -f conftest.$ac_objext |
1931 | - if { { ac_try="$ac_compile" |
1932 | -case "(($ac_try" in |
1933 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1934 | - *) ac_try_echo=$ac_try;; |
1935 | -esac |
1936 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1937 | -$as_echo "$ac_try_echo"; } >&5 |
1938 | - (eval "$ac_compile") 2>conftest.err |
1939 | - ac_status=$? |
1940 | - if test -s conftest.err; then |
1941 | - grep -v '^ *+' conftest.err >conftest.er1 |
1942 | - cat conftest.er1 >&5 |
1943 | - mv -f conftest.er1 conftest.err |
1944 | - fi |
1945 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1946 | - test $ac_status = 0; } && { |
1947 | - test -z "$ac_c_werror_flag" || |
1948 | - test ! -s conftest.err |
1949 | - } && test -s conftest.$ac_objext; then : |
1950 | - ac_retval=0 |
1951 | -else |
1952 | - $as_echo "$as_me: failed program was:" >&5 |
1953 | -sed 's/^/| /' conftest.$ac_ext >&5 |
1954 | - |
1955 | - ac_retval=1 |
1956 | -fi |
1957 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1958 | - return $ac_retval |
1959 | - |
1960 | -} @%:@ ac_fn_c_try_compile |
1961 | - |
1962 | -@%:@ ac_fn_c_try_cpp LINENO |
1963 | -@%:@ ---------------------- |
1964 | -@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1965 | -ac_fn_c_try_cpp () |
1966 | -{ |
1967 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1968 | - if { { ac_try="$ac_cpp conftest.$ac_ext" |
1969 | -case "(($ac_try" in |
1970 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1971 | - *) ac_try_echo=$ac_try;; |
1972 | -esac |
1973 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1974 | -$as_echo "$ac_try_echo"; } >&5 |
1975 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1976 | - ac_status=$? |
1977 | - if test -s conftest.err; then |
1978 | - grep -v '^ *+' conftest.err >conftest.er1 |
1979 | - cat conftest.er1 >&5 |
1980 | - mv -f conftest.er1 conftest.err |
1981 | - fi |
1982 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1983 | - test $ac_status = 0; } >/dev/null && { |
1984 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1985 | - test ! -s conftest.err |
1986 | - }; then : |
1987 | - ac_retval=0 |
1988 | -else |
1989 | - $as_echo "$as_me: failed program was:" >&5 |
1990 | -sed 's/^/| /' conftest.$ac_ext >&5 |
1991 | - |
1992 | - ac_retval=1 |
1993 | -fi |
1994 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1995 | - return $ac_retval |
1996 | - |
1997 | -} @%:@ ac_fn_c_try_cpp |
1998 | - |
1999 | -@%:@ ac_fn_c_try_run LINENO |
2000 | -@%:@ ---------------------- |
2001 | -@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
2002 | -@%:@ that executables *can* be run. |
2003 | -ac_fn_c_try_run () |
2004 | -{ |
2005 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2006 | - if { { ac_try="$ac_link" |
2007 | -case "(($ac_try" in |
2008 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2009 | - *) ac_try_echo=$ac_try;; |
2010 | -esac |
2011 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2012 | -$as_echo "$ac_try_echo"; } >&5 |
2013 | - (eval "$ac_link") 2>&5 |
2014 | - ac_status=$? |
2015 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2016 | - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
2017 | - { { case "(($ac_try" in |
2018 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2019 | - *) ac_try_echo=$ac_try;; |
2020 | -esac |
2021 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2022 | -$as_echo "$ac_try_echo"; } >&5 |
2023 | - (eval "$ac_try") 2>&5 |
2024 | - ac_status=$? |
2025 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2026 | - test $ac_status = 0; }; }; then : |
2027 | - ac_retval=0 |
2028 | -else |
2029 | - $as_echo "$as_me: program exited with status $ac_status" >&5 |
2030 | - $as_echo "$as_me: failed program was:" >&5 |
2031 | -sed 's/^/| /' conftest.$ac_ext >&5 |
2032 | - |
2033 | - ac_retval=$ac_status |
2034 | -fi |
2035 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2036 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2037 | - return $ac_retval |
2038 | - |
2039 | -} @%:@ ac_fn_c_try_run |
2040 | - |
2041 | -@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2042 | -@%:@ ------------------------------------------------------- |
2043 | -@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2044 | -@%:@ the include files in INCLUDES and setting the cache variable VAR |
2045 | -@%:@ accordingly. |
2046 | -ac_fn_c_check_header_mongrel () |
2047 | -{ |
2048 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2049 | - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2050 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2051 | -$as_echo_n "checking for $2... " >&6; } |
2052 | -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2053 | - $as_echo_n "(cached) " >&6 |
2054 | -fi |
2055 | -eval ac_res=\$$3 |
2056 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2057 | -$as_echo "$ac_res" >&6; } |
2058 | -else |
2059 | - # Is the header compilable? |
2060 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
2061 | -$as_echo_n "checking $2 usability... " >&6; } |
2062 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2063 | -/* end confdefs.h. */ |
2064 | -$4 |
2065 | -@%:@include <$2> |
2066 | -_ACEOF |
2067 | -if ac_fn_c_try_compile "$LINENO"; then : |
2068 | - ac_header_compiler=yes |
2069 | -else |
2070 | - ac_header_compiler=no |
2071 | -fi |
2072 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2073 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2074 | -$as_echo "$ac_header_compiler" >&6; } |
2075 | - |
2076 | -# Is the header present? |
2077 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2078 | -$as_echo_n "checking $2 presence... " >&6; } |
2079 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2080 | -/* end confdefs.h. */ |
2081 | -@%:@include <$2> |
2082 | -_ACEOF |
2083 | -if ac_fn_c_try_cpp "$LINENO"; then : |
2084 | - ac_header_preproc=yes |
2085 | -else |
2086 | - ac_header_preproc=no |
2087 | -fi |
2088 | -rm -f conftest.err conftest.$ac_ext |
2089 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2090 | -$as_echo "$ac_header_preproc" >&6; } |
2091 | - |
2092 | -# So? What about this header? |
2093 | -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
2094 | - yes:no: ) |
2095 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
2096 | -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2097 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2098 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2099 | - ;; |
2100 | - no:yes:* ) |
2101 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
2102 | -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
2103 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
2104 | -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
2105 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
2106 | -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
2107 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
2108 | -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2109 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2110 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2111 | -( cat <<\_ASBOX |
2112 | -## ------------------------------------ ## |
2113 | -## Report this to dougbaskins@yahoo.com ## |
2114 | -## ------------------------------------ ## |
2115 | -_ASBOX |
2116 | - ) | sed "s/^/$as_me: WARNING: /" >&2 |
2117 | - ;; |
2118 | -esac |
2119 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2120 | -$as_echo_n "checking for $2... " >&6; } |
2121 | -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2122 | - $as_echo_n "(cached) " >&6 |
2123 | -else |
2124 | - eval "$3=\$ac_header_compiler" |
2125 | -fi |
2126 | -eval ac_res=\$$3 |
2127 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2128 | -$as_echo "$ac_res" >&6; } |
2129 | -fi |
2130 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2131 | - |
2132 | -} @%:@ ac_fn_c_check_header_mongrel |
2133 | - |
2134 | -@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
2135 | -@%:@ ------------------------------------------------------- |
2136 | -@%:@ Tests whether HEADER exists and can be compiled using the include files in |
2137 | -@%:@ INCLUDES, setting the cache variable VAR accordingly. |
2138 | -ac_fn_c_check_header_compile () |
2139 | -{ |
2140 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2141 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2142 | -$as_echo_n "checking for $2... " >&6; } |
2143 | -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2144 | - $as_echo_n "(cached) " >&6 |
2145 | -else |
2146 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2147 | -/* end confdefs.h. */ |
2148 | -$4 |
2149 | -@%:@include <$2> |
2150 | -_ACEOF |
2151 | -if ac_fn_c_try_compile "$LINENO"; then : |
2152 | - eval "$3=yes" |
2153 | -else |
2154 | - eval "$3=no" |
2155 | -fi |
2156 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2157 | -fi |
2158 | -eval ac_res=\$$3 |
2159 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2160 | -$as_echo "$ac_res" >&6; } |
2161 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2162 | - |
2163 | -} @%:@ ac_fn_c_check_header_compile |
2164 | - |
2165 | -@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
2166 | -@%:@ ------------------------------------------- |
2167 | -@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache |
2168 | -@%:@ variable VAR accordingly. |
2169 | -ac_fn_c_check_type () |
2170 | -{ |
2171 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2172 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2173 | -$as_echo_n "checking for $2... " >&6; } |
2174 | -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2175 | - $as_echo_n "(cached) " >&6 |
2176 | -else |
2177 | - eval "$3=no" |
2178 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2179 | -/* end confdefs.h. */ |
2180 | -$4 |
2181 | -int |
2182 | -main () |
2183 | -{ |
2184 | -if (sizeof ($2)) |
2185 | - return 0; |
2186 | - ; |
2187 | - return 0; |
2188 | -} |
2189 | -_ACEOF |
2190 | -if ac_fn_c_try_compile "$LINENO"; then : |
2191 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2192 | -/* end confdefs.h. */ |
2193 | -$4 |
2194 | -int |
2195 | -main () |
2196 | -{ |
2197 | -if (sizeof (($2))) |
2198 | - return 0; |
2199 | - ; |
2200 | - return 0; |
2201 | -} |
2202 | -_ACEOF |
2203 | -if ac_fn_c_try_compile "$LINENO"; then : |
2204 | - |
2205 | -else |
2206 | - eval "$3=yes" |
2207 | -fi |
2208 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2209 | -fi |
2210 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2211 | -fi |
2212 | -eval ac_res=\$$3 |
2213 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2214 | -$as_echo "$ac_res" >&6; } |
2215 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2216 | - |
2217 | -} @%:@ ac_fn_c_check_type |
2218 | - |
2219 | -@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2220 | -@%:@ -------------------------------------------- |
2221 | -@%:@ Tries to find the compile-time value of EXPR in a program that includes |
2222 | -@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be |
2223 | -@%:@ computed |
2224 | -ac_fn_c_compute_int () |
2225 | -{ |
2226 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2227 | - if test "$cross_compiling" = yes; then |
2228 | - # Depending upon the size, compute the lo and hi bounds. |
2229 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2230 | -/* end confdefs.h. */ |
2231 | -$4 |
2232 | -int |
2233 | -main () |
2234 | -{ |
2235 | -static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; |
2236 | -test_array @<:@0@:>@ = 0 |
2237 | - |
2238 | - ; |
2239 | - return 0; |
2240 | -} |
2241 | -_ACEOF |
2242 | -if ac_fn_c_try_compile "$LINENO"; then : |
2243 | - ac_lo=0 ac_mid=0 |
2244 | - while :; do |
2245 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2246 | -/* end confdefs.h. */ |
2247 | -$4 |
2248 | -int |
2249 | -main () |
2250 | -{ |
2251 | -static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; |
2252 | -test_array @<:@0@:>@ = 0 |
2253 | - |
2254 | - ; |
2255 | - return 0; |
2256 | -} |
2257 | -_ACEOF |
2258 | -if ac_fn_c_try_compile "$LINENO"; then : |
2259 | - ac_hi=$ac_mid; break |
2260 | -else |
2261 | - as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2262 | - if test $ac_lo -le $ac_mid; then |
2263 | - ac_lo= ac_hi= |
2264 | - break |
2265 | - fi |
2266 | - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2267 | -fi |
2268 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2269 | - done |
2270 | -else |
2271 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2272 | -/* end confdefs.h. */ |
2273 | -$4 |
2274 | -int |
2275 | -main () |
2276 | -{ |
2277 | -static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; |
2278 | -test_array @<:@0@:>@ = 0 |
2279 | - |
2280 | - ; |
2281 | - return 0; |
2282 | -} |
2283 | -_ACEOF |
2284 | -if ac_fn_c_try_compile "$LINENO"; then : |
2285 | - ac_hi=-1 ac_mid=-1 |
2286 | - while :; do |
2287 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2288 | -/* end confdefs.h. */ |
2289 | -$4 |
2290 | -int |
2291 | -main () |
2292 | -{ |
2293 | -static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; |
2294 | -test_array @<:@0@:>@ = 0 |
2295 | - |
2296 | - ; |
2297 | - return 0; |
2298 | -} |
2299 | -_ACEOF |
2300 | -if ac_fn_c_try_compile "$LINENO"; then : |
2301 | - ac_lo=$ac_mid; break |
2302 | -else |
2303 | - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2304 | - if test $ac_mid -le $ac_hi; then |
2305 | - ac_lo= ac_hi= |
2306 | - break |
2307 | - fi |
2308 | - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2309 | -fi |
2310 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2311 | - done |
2312 | -else |
2313 | - ac_lo= ac_hi= |
2314 | -fi |
2315 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2316 | -fi |
2317 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2318 | -# Binary search between lo and hi bounds. |
2319 | -while test "x$ac_lo" != "x$ac_hi"; do |
2320 | - as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2321 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2322 | -/* end confdefs.h. */ |
2323 | -$4 |
2324 | -int |
2325 | -main () |
2326 | -{ |
2327 | -static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; |
2328 | -test_array @<:@0@:>@ = 0 |
2329 | - |
2330 | - ; |
2331 | - return 0; |
2332 | -} |
2333 | -_ACEOF |
2334 | -if ac_fn_c_try_compile "$LINENO"; then : |
2335 | - ac_hi=$ac_mid |
2336 | -else |
2337 | - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2338 | -fi |
2339 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2340 | -done |
2341 | -case $ac_lo in @%:@(( |
2342 | -?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2343 | -'') ac_retval=1 ;; |
2344 | -esac |
2345 | - else |
2346 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2347 | -/* end confdefs.h. */ |
2348 | -$4 |
2349 | -static long int longval () { return $2; } |
2350 | -static unsigned long int ulongval () { return $2; } |
2351 | -@%:@include <stdio.h> |
2352 | -@%:@include <stdlib.h> |
2353 | -int |
2354 | -main () |
2355 | -{ |
2356 | - |
2357 | - FILE *f = fopen ("conftest.val", "w"); |
2358 | - if (! f) |
2359 | - return 1; |
2360 | - if (($2) < 0) |
2361 | - { |
2362 | - long int i = longval (); |
2363 | - if (i != ($2)) |
2364 | - return 1; |
2365 | - fprintf (f, "%ld", i); |
2366 | - } |
2367 | - else |
2368 | - { |
2369 | - unsigned long int i = ulongval (); |
2370 | - if (i != ($2)) |
2371 | - return 1; |
2372 | - fprintf (f, "%lu", i); |
2373 | - } |
2374 | - /* Do not output a trailing newline, as this causes \r\n confusion |
2375 | - on some platforms. */ |
2376 | - return ferror (f) || fclose (f) != 0; |
2377 | - |
2378 | - ; |
2379 | - return 0; |
2380 | -} |
2381 | -_ACEOF |
2382 | -if ac_fn_c_try_run "$LINENO"; then : |
2383 | - echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2384 | -else |
2385 | - ac_retval=1 |
2386 | -fi |
2387 | -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2388 | - conftest.$ac_objext conftest.beam conftest.$ac_ext |
2389 | -rm -f conftest.val |
2390 | - |
2391 | - fi |
2392 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2393 | - return $ac_retval |
2394 | - |
2395 | -} @%:@ ac_fn_c_compute_int |
2396 | - |
2397 | -@%:@ ac_fn_c_try_link LINENO |
2398 | -@%:@ ----------------------- |
2399 | -@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. |
2400 | -ac_fn_c_try_link () |
2401 | -{ |
2402 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2403 | - rm -f conftest.$ac_objext conftest$ac_exeext |
2404 | - if { { ac_try="$ac_link" |
2405 | -case "(($ac_try" in |
2406 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2407 | - *) ac_try_echo=$ac_try;; |
2408 | -esac |
2409 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2410 | -$as_echo "$ac_try_echo"; } >&5 |
2411 | - (eval "$ac_link") 2>conftest.err |
2412 | - ac_status=$? |
2413 | - if test -s conftest.err; then |
2414 | - grep -v '^ *+' conftest.err >conftest.er1 |
2415 | - cat conftest.er1 >&5 |
2416 | - mv -f conftest.er1 conftest.err |
2417 | - fi |
2418 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2419 | - test $ac_status = 0; } && { |
2420 | - test -z "$ac_c_werror_flag" || |
2421 | - test ! -s conftest.err |
2422 | - } && test -s conftest$ac_exeext && { |
2423 | - test "$cross_compiling" = yes || |
2424 | - $as_test_x conftest$ac_exeext |
2425 | - }; then : |
2426 | - ac_retval=0 |
2427 | -else |
2428 | - $as_echo "$as_me: failed program was:" >&5 |
2429 | -sed 's/^/| /' conftest.$ac_ext >&5 |
2430 | - |
2431 | - ac_retval=1 |
2432 | -fi |
2433 | - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2434 | - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2435 | - # interfere with the next link command; also delete a directory that is |
2436 | - # left behind by Apple's compiler. We do this before executing the actions. |
2437 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2438 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2439 | - return $ac_retval |
2440 | - |
2441 | -} @%:@ ac_fn_c_try_link |
2442 | - |
2443 | -@%:@ ac_fn_c_check_func LINENO FUNC VAR |
2444 | -@%:@ ---------------------------------- |
2445 | -@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly |
2446 | -ac_fn_c_check_func () |
2447 | -{ |
2448 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2449 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2450 | -$as_echo_n "checking for $2... " >&6; } |
2451 | -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2452 | - $as_echo_n "(cached) " >&6 |
2453 | -else |
2454 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2455 | -/* end confdefs.h. */ |
2456 | -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2457 | - For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2458 | -#define $2 innocuous_$2 |
2459 | - |
2460 | -/* System header to define __stub macros and hopefully few prototypes, |
2461 | - which can conflict with char $2 (); below. |
2462 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2463 | - <limits.h> exists even on freestanding compilers. */ |
2464 | - |
2465 | -#ifdef __STDC__ |
2466 | -# include <limits.h> |
2467 | -#else |
2468 | -# include <assert.h> |
2469 | -#endif |
2470 | - |
2471 | -#undef $2 |
2472 | - |
2473 | -/* Override any GCC internal prototype to avoid an error. |
2474 | - Use char because int might match the return type of a GCC |
2475 | - builtin and then its argument prototype would still apply. */ |
2476 | -#ifdef __cplusplus |
2477 | -extern "C" |
2478 | -#endif |
2479 | -char $2 (); |
2480 | -/* The GNU C library defines this for functions which it implements |
2481 | - to always fail with ENOSYS. Some functions are actually named |
2482 | - something starting with __ and the normal name is an alias. */ |
2483 | -#if defined __stub_$2 || defined __stub___$2 |
2484 | -choke me |
2485 | -#endif |
2486 | - |
2487 | -int |
2488 | -main () |
2489 | -{ |
2490 | -return $2 (); |
2491 | - ; |
2492 | - return 0; |
2493 | -} |
2494 | -_ACEOF |
2495 | -if ac_fn_c_try_link "$LINENO"; then : |
2496 | - eval "$3=yes" |
2497 | -else |
2498 | - eval "$3=no" |
2499 | -fi |
2500 | -rm -f core conftest.err conftest.$ac_objext \ |
2501 | - conftest$ac_exeext conftest.$ac_ext |
2502 | -fi |
2503 | -eval ac_res=\$$3 |
2504 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2505 | -$as_echo "$ac_res" >&6; } |
2506 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2507 | - |
2508 | -} @%:@ ac_fn_c_check_func |
2509 | -cat >config.log <<_ACEOF |
2510 | -This file contains any messages produced by compilers while |
2511 | -running configure, to aid debugging if configure makes a mistake. |
2512 | - |
2513 | -It was created by Judy $as_me 1.0.5, which was |
2514 | -generated by GNU Autoconf 2.64. Invocation command line was |
2515 | - |
2516 | - $ $0 $@ |
2517 | - |
2518 | -_ACEOF |
2519 | -exec 5>>config.log |
2520 | -{ |
2521 | -cat <<_ASUNAME |
2522 | -## --------- ## |
2523 | -## Platform. ## |
2524 | -## --------- ## |
2525 | - |
2526 | -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2527 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2528 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2529 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2530 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2531 | - |
2532 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
2533 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
2534 | - |
2535 | -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
2536 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
2537 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
2538 | -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
2539 | -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2540 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
2541 | -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
2542 | - |
2543 | -_ASUNAME |
2544 | - |
2545 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2546 | -for as_dir in $PATH |
2547 | -do |
2548 | - IFS=$as_save_IFS |
2549 | - test -z "$as_dir" && as_dir=. |
2550 | - $as_echo "PATH: $as_dir" |
2551 | - done |
2552 | -IFS=$as_save_IFS |
2553 | - |
2554 | -} >&5 |
2555 | - |
2556 | -cat >&5 <<_ACEOF |
2557 | - |
2558 | - |
2559 | -## ----------- ## |
2560 | -## Core tests. ## |
2561 | -## ----------- ## |
2562 | - |
2563 | -_ACEOF |
2564 | - |
2565 | - |
2566 | -# Keep a trace of the command line. |
2567 | -# Strip out --no-create and --no-recursion so they do not pile up. |
2568 | -# Strip out --silent because we don't want to record it for future runs. |
2569 | -# Also quote any args containing shell meta-characters. |
2570 | -# Make two passes to allow for proper duplicate-argument suppression. |
2571 | -ac_configure_args= |
2572 | -ac_configure_args0= |
2573 | -ac_configure_args1= |
2574 | -ac_must_keep_next=false |
2575 | -for ac_pass in 1 2 |
2576 | -do |
2577 | - for ac_arg |
2578 | - do |
2579 | - case $ac_arg in |
2580 | - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2581 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2582 | - | -silent | --silent | --silen | --sile | --sil) |
2583 | - continue ;; |
2584 | - *\'*) |
2585 | - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2586 | - esac |
2587 | - case $ac_pass in |
2588 | - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2589 | - 2) |
2590 | - as_fn_append ac_configure_args1 " '$ac_arg'" |
2591 | - if test $ac_must_keep_next = true; then |
2592 | - ac_must_keep_next=false # Got value, back to normal. |
2593 | - else |
2594 | - case $ac_arg in |
2595 | - *=* | --config-cache | -C | -disable-* | --disable-* \ |
2596 | - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
2597 | - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
2598 | - | -with-* | --with-* | -without-* | --without-* | --x) |
2599 | - case "$ac_configure_args0 " in |
2600 | - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
2601 | - esac |
2602 | - ;; |
2603 | - -* ) ac_must_keep_next=true ;; |
2604 | - esac |
2605 | - fi |
2606 | - as_fn_append ac_configure_args " '$ac_arg'" |
2607 | - ;; |
2608 | - esac |
2609 | - done |
2610 | -done |
2611 | -{ ac_configure_args0=; unset ac_configure_args0;} |
2612 | -{ ac_configure_args1=; unset ac_configure_args1;} |
2613 | - |
2614 | -# When interrupted or exit'd, cleanup temporary files, and complete |
2615 | -# config.log. We remove comments because anyway the quotes in there |
2616 | -# would cause problems or look ugly. |
2617 | -# WARNING: Use '\'' to represent an apostrophe within the trap. |
2618 | -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2619 | -trap 'exit_status=$? |
2620 | - # Save into config.log some information that might help in debugging. |
2621 | - { |
2622 | - echo |
2623 | - |
2624 | - cat <<\_ASBOX |
2625 | -## ---------------- ## |
2626 | -## Cache variables. ## |
2627 | -## ---------------- ## |
2628 | -_ASBOX |
2629 | - echo |
2630 | - # The following way of writing the cache mishandles newlines in values, |
2631 | -( |
2632 | - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2633 | - eval ac_val=\$$ac_var |
2634 | - case $ac_val in #( |
2635 | - *${as_nl}*) |
2636 | - case $ac_var in #( |
2637 | - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2638 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2639 | - esac |
2640 | - case $ac_var in #( |
2641 | - _ | IFS | as_nl) ;; #( |
2642 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2643 | - *) { eval $ac_var=; unset $ac_var;} ;; |
2644 | - esac ;; |
2645 | - esac |
2646 | - done |
2647 | - (set) 2>&1 | |
2648 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2649 | - *${as_nl}ac_space=\ *) |
2650 | - sed -n \ |
2651 | - "s/'\''/'\''\\\\'\'''\''/g; |
2652 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2653 | - ;; #( |
2654 | - *) |
2655 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2656 | - ;; |
2657 | - esac | |
2658 | - sort |
2659 | -) |
2660 | - echo |
2661 | - |
2662 | - cat <<\_ASBOX |
2663 | -## ----------------- ## |
2664 | -## Output variables. ## |
2665 | -## ----------------- ## |
2666 | -_ASBOX |
2667 | - echo |
2668 | - for ac_var in $ac_subst_vars |
2669 | - do |
2670 | - eval ac_val=\$$ac_var |
2671 | - case $ac_val in |
2672 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2673 | - esac |
2674 | - $as_echo "$ac_var='\''$ac_val'\''" |
2675 | - done | sort |
2676 | - echo |
2677 | - |
2678 | - if test -n "$ac_subst_files"; then |
2679 | - cat <<\_ASBOX |
2680 | -## ------------------- ## |
2681 | -## File substitutions. ## |
2682 | -## ------------------- ## |
2683 | -_ASBOX |
2684 | - echo |
2685 | - for ac_var in $ac_subst_files |
2686 | - do |
2687 | - eval ac_val=\$$ac_var |
2688 | - case $ac_val in |
2689 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2690 | - esac |
2691 | - $as_echo "$ac_var='\''$ac_val'\''" |
2692 | - done | sort |
2693 | - echo |
2694 | - fi |
2695 | - |
2696 | - if test -s confdefs.h; then |
2697 | - cat <<\_ASBOX |
2698 | -## ----------- ## |
2699 | -## confdefs.h. ## |
2700 | -## ----------- ## |
2701 | -_ASBOX |
2702 | - echo |
2703 | - cat confdefs.h |
2704 | - echo |
2705 | - fi |
2706 | - test "$ac_signal" != 0 && |
2707 | - $as_echo "$as_me: caught signal $ac_signal" |
2708 | - $as_echo "$as_me: exit $exit_status" |
2709 | - } >&5 |
2710 | - rm -f core *.core core.conftest.* && |
2711 | - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2712 | - exit $exit_status |
2713 | -' 0 |
2714 | -for ac_signal in 1 2 13 15; do |
2715 | - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2716 | -done |
2717 | -ac_signal=0 |
2718 | - |
2719 | -# confdefs.h avoids OS command line length limits that DEFS can exceed. |
2720 | -rm -f -r conftest* confdefs.h |
2721 | - |
2722 | -$as_echo "/* confdefs.h */" > confdefs.h |
2723 | - |
2724 | -# Predefined preprocessor variables. |
2725 | - |
2726 | -cat >>confdefs.h <<_ACEOF |
2727 | -@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
2728 | -_ACEOF |
2729 | - |
2730 | -cat >>confdefs.h <<_ACEOF |
2731 | -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2732 | -_ACEOF |
2733 | - |
2734 | -cat >>confdefs.h <<_ACEOF |
2735 | -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
2736 | -_ACEOF |
2737 | - |
2738 | -cat >>confdefs.h <<_ACEOF |
2739 | -@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
2740 | -_ACEOF |
2741 | - |
2742 | -cat >>confdefs.h <<_ACEOF |
2743 | -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2744 | -_ACEOF |
2745 | - |
2746 | -cat >>confdefs.h <<_ACEOF |
2747 | -@%:@define PACKAGE_URL "$PACKAGE_URL" |
2748 | -_ACEOF |
2749 | - |
2750 | - |
2751 | -# Let the site file select an alternate cache file if it wants to. |
2752 | -# Prefer an explicitly selected file to automatically selected ones. |
2753 | -ac_site_file1=NONE |
2754 | -ac_site_file2=NONE |
2755 | -if test -n "$CONFIG_SITE"; then |
2756 | - ac_site_file1=$CONFIG_SITE |
2757 | -elif test "x$prefix" != xNONE; then |
2758 | - ac_site_file1=$prefix/share/config.site |
2759 | - ac_site_file2=$prefix/etc/config.site |
2760 | -else |
2761 | - ac_site_file1=$ac_default_prefix/share/config.site |
2762 | - ac_site_file2=$ac_default_prefix/etc/config.site |
2763 | -fi |
2764 | -for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2765 | -do |
2766 | - test "x$ac_site_file" = xNONE && continue |
2767 | - if test -r "$ac_site_file"; then |
2768 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2769 | -$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2770 | - sed 's/^/| /' "$ac_site_file" >&5 |
2771 | - . "$ac_site_file" |
2772 | - fi |
2773 | -done |
2774 | - |
2775 | -if test -r "$cache_file"; then |
2776 | - # Some versions of bash will fail to source /dev/null (special |
2777 | - # files actually), so we avoid doing that. |
2778 | - if test -f "$cache_file"; then |
2779 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2780 | -$as_echo "$as_me: loading cache $cache_file" >&6;} |
2781 | - case $cache_file in |
2782 | - [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2783 | - *) . "./$cache_file";; |
2784 | - esac |
2785 | - fi |
2786 | -else |
2787 | - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2788 | -$as_echo "$as_me: creating cache $cache_file" >&6;} |
2789 | - >$cache_file |
2790 | -fi |
2791 | - |
2792 | -# Check that the precious variables saved in the cache have kept the same |
2793 | -# value. |
2794 | -ac_cache_corrupted=false |
2795 | -for ac_var in $ac_precious_vars; do |
2796 | - eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2797 | - eval ac_new_set=\$ac_env_${ac_var}_set |
2798 | - eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2799 | - eval ac_new_val=\$ac_env_${ac_var}_value |
2800 | - case $ac_old_set,$ac_new_set in |
2801 | - set,) |
2802 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2803 | -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2804 | - ac_cache_corrupted=: ;; |
2805 | - ,set) |
2806 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2807 | -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2808 | - ac_cache_corrupted=: ;; |
2809 | - ,);; |
2810 | - *) |
2811 | - if test "x$ac_old_val" != "x$ac_new_val"; then |
2812 | - # differences in whitespace do not lead to failure. |
2813 | - ac_old_val_w=`echo x $ac_old_val` |
2814 | - ac_new_val_w=`echo x $ac_new_val` |
2815 | - if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2816 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2817 | -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2818 | - ac_cache_corrupted=: |
2819 | - else |
2820 | - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2821 | -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2822 | - eval $ac_var=\$ac_old_val |
2823 | - fi |
2824 | - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2825 | -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2826 | - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2827 | -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2828 | - fi;; |
2829 | - esac |
2830 | - # Pass precious variables to config.status. |
2831 | - if test "$ac_new_set" = set; then |
2832 | - case $ac_new_val in |
2833 | - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2834 | - *) ac_arg=$ac_var=$ac_new_val ;; |
2835 | - esac |
2836 | - case " $ac_configure_args " in |
2837 | - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2838 | - *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2839 | - esac |
2840 | - fi |
2841 | -done |
2842 | -if $ac_cache_corrupted; then |
2843 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2844 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2845 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2846 | -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2847 | - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2848 | -fi |
2849 | -## -------------------- ## |
2850 | -## Main body of script. ## |
2851 | -## -------------------- ## |
2852 | - |
2853 | -ac_ext=c |
2854 | -ac_cpp='$CPP $CPPFLAGS' |
2855 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2856 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2857 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2858 | - |
2859 | - |
2860 | - |
2861 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
2862 | -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
2863 | - @%:@ Check whether --enable-maintainer-mode was given. |
2864 | -if test "${enable_maintainer_mode+set}" = set; then : |
2865 | - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
2866 | -else |
2867 | - USE_MAINTAINER_MODE=no |
2868 | -fi |
2869 | - |
2870 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
2871 | -$as_echo "$USE_MAINTAINER_MODE" >&6; } |
2872 | - if test $USE_MAINTAINER_MODE = yes; then |
2873 | - MAINTAINER_MODE_TRUE= |
2874 | - MAINTAINER_MODE_FALSE='#' |
2875 | -else |
2876 | - MAINTAINER_MODE_TRUE='#' |
2877 | - MAINTAINER_MODE_FALSE= |
2878 | -fi |
2879 | - |
2880 | - MAINT=$MAINTAINER_MODE_TRUE |
2881 | - |
2882 | - |
2883 | - |
2884 | -am__api_version='1.10' |
2885 | - |
2886 | -ac_aux_dir= |
2887 | -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2888 | - for ac_t in install-sh install.sh shtool; do |
2889 | - if test -f "$ac_dir/$ac_t"; then |
2890 | - ac_aux_dir=$ac_dir |
2891 | - ac_install_sh="$ac_aux_dir/$ac_t -c" |
2892 | - break 2 |
2893 | - fi |
2894 | - done |
2895 | -done |
2896 | -if test -z "$ac_aux_dir"; then |
2897 | - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2898 | -fi |
2899 | - |
2900 | -# These three variables are undocumented and unsupported, |
2901 | -# and are intended to be withdrawn in a future Autoconf release. |
2902 | -# They can cause serious problems if a builder's source tree is in a directory |
2903 | -# whose full name contains unusual characters. |
2904 | -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2905 | -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2906 | -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2907 | - |
2908 | - |
2909 | -# Find a good install program. We prefer a C program (faster), |
2910 | -# so one script is as good as another. But avoid the broken or |
2911 | -# incompatible versions: |
2912 | -# SysV /etc/install, /usr/sbin/install |
2913 | -# SunOS /usr/etc/install |
2914 | -# IRIX /sbin/install |
2915 | -# AIX /bin/install |
2916 | -# AmigaOS /C/install, which installs bootblocks on floppy discs |
2917 | -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2918 | -# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2919 | -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2920 | -# OS/2's system install, which has a completely different semantic |
2921 | -# ./install, which can be erroneously created by make from ./install.sh. |
2922 | -# Reject install programs that cannot install multiple files. |
2923 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2924 | -$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2925 | -if test -z "$INSTALL"; then |
2926 | -if test "${ac_cv_path_install+set}" = set; then : |
2927 | - $as_echo_n "(cached) " >&6 |
2928 | -else |
2929 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2930 | -for as_dir in $PATH |
2931 | -do |
2932 | - IFS=$as_save_IFS |
2933 | - test -z "$as_dir" && as_dir=. |
2934 | - # Account for people who put trailing slashes in PATH elements. |
2935 | -case $as_dir/ in @%:@(( |
2936 | - ./ | .// | /[cC]/* | \ |
2937 | - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2938 | - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2939 | - /usr/ucb/* ) ;; |
2940 | - *) |
2941 | - # OSF1 and SCO ODT 3.0 have their own names for install. |
2942 | - # Don't use installbsd from OSF since it installs stuff as root |
2943 | - # by default. |
2944 | - for ac_prog in ginstall scoinst install; do |
2945 | - for ac_exec_ext in '' $ac_executable_extensions; do |
2946 | - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2947 | - if test $ac_prog = install && |
2948 | - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2949 | - # AIX install. It has an incompatible calling convention. |
2950 | - : |
2951 | - elif test $ac_prog = install && |
2952 | - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2953 | - # program-specific install script used by HP pwplus--don't use. |
2954 | - : |
2955 | - else |
2956 | - rm -rf conftest.one conftest.two conftest.dir |
2957 | - echo one > conftest.one |
2958 | - echo two > conftest.two |
2959 | - mkdir conftest.dir |
2960 | - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
2961 | - test -s conftest.one && test -s conftest.two && |
2962 | - test -s conftest.dir/conftest.one && |
2963 | - test -s conftest.dir/conftest.two |
2964 | - then |
2965 | - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2966 | - break 3 |
2967 | - fi |
2968 | - fi |
2969 | - fi |
2970 | - done |
2971 | - done |
2972 | - ;; |
2973 | -esac |
2974 | - |
2975 | - done |
2976 | -IFS=$as_save_IFS |
2977 | - |
2978 | -rm -rf conftest.one conftest.two conftest.dir |
2979 | - |
2980 | -fi |
2981 | - if test "${ac_cv_path_install+set}" = set; then |
2982 | - INSTALL=$ac_cv_path_install |
2983 | - else |
2984 | - # As a last resort, use the slow shell script. Don't cache a |
2985 | - # value for INSTALL within a source directory, because that will |
2986 | - # break other packages using the cache if that directory is |
2987 | - # removed, or if the value is a relative name. |
2988 | - INSTALL=$ac_install_sh |
2989 | - fi |
2990 | -fi |
2991 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2992 | -$as_echo "$INSTALL" >&6; } |
2993 | - |
2994 | -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2995 | -# It thinks the first close brace ends the variable substitution. |
2996 | -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2997 | - |
2998 | -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2999 | - |
3000 | -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3001 | - |
3002 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
3003 | -$as_echo_n "checking whether build environment is sane... " >&6; } |
3004 | -# Just in case |
3005 | -sleep 1 |
3006 | -echo timestamp > conftest.file |
3007 | -# Do `set' in a subshell so we don't clobber the current shell's |
3008 | -# arguments. Must try -L first in case configure is actually a |
3009 | -# symlink; some systems play weird games with the mod time of symlinks |
3010 | -# (eg FreeBSD returns the mod time of the symlink's containing |
3011 | -# directory). |
3012 | -if ( |
3013 | - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
3014 | - if test "$*" = "X"; then |
3015 | - # -L didn't work. |
3016 | - set X `ls -t $srcdir/configure conftest.file` |
3017 | - fi |
3018 | - rm -f conftest.file |
3019 | - if test "$*" != "X $srcdir/configure conftest.file" \ |
3020 | - && test "$*" != "X conftest.file $srcdir/configure"; then |
3021 | - |
3022 | - # If neither matched, then we have a broken ls. This can happen |
3023 | - # if, for instance, CONFIG_SHELL is bash and it inherits a |
3024 | - # broken ls alias from the environment. This has actually |
3025 | - # happened. Such a system could not be considered "sane". |
3026 | - as_fn_error "ls -t appears to fail. Make sure there is not a broken |
3027 | -alias in your environment" "$LINENO" 5 |
3028 | - fi |
3029 | - |
3030 | - test "$2" = conftest.file |
3031 | - ) |
3032 | -then |
3033 | - # Ok. |
3034 | - : |
3035 | -else |
3036 | - as_fn_error "newly created file is older than distributed files! |
3037 | -Check your system clock" "$LINENO" 5 |
3038 | -fi |
3039 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3040 | -$as_echo "yes" >&6; } |
3041 | -test "$program_prefix" != NONE && |
3042 | - program_transform_name="s&^&$program_prefix&;$program_transform_name" |
3043 | -# Use a double $ so make ignores it. |
3044 | -test "$program_suffix" != NONE && |
3045 | - program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
3046 | -# Double any \ or $. |
3047 | -# By default was `s,x,x', remove it if useless. |
3048 | -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
3049 | -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
3050 | - |
3051 | -# expand $ac_aux_dir to an absolute path |
3052 | -am_aux_dir=`cd $ac_aux_dir && pwd` |
3053 | - |
3054 | -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
3055 | -# Use eval to expand $SHELL |
3056 | -if eval "$MISSING --run true"; then |
3057 | - am_missing_run="$MISSING --run " |
3058 | -else |
3059 | - am_missing_run= |
3060 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
3061 | -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
3062 | -fi |
3063 | - |
3064 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
3065 | -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
3066 | -if test -z "$MKDIR_P"; then |
3067 | - if test "${ac_cv_path_mkdir+set}" = set; then : |
3068 | - $as_echo_n "(cached) " >&6 |
3069 | -else |
3070 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3071 | -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
3072 | -do |
3073 | - IFS=$as_save_IFS |
3074 | - test -z "$as_dir" && as_dir=. |
3075 | - for ac_prog in mkdir gmkdir; do |
3076 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3077 | - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
3078 | - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
3079 | - 'mkdir (GNU coreutils) '* | \ |
3080 | - 'mkdir (coreutils) '* | \ |
3081 | - 'mkdir (fileutils) '4.1*) |
3082 | - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
3083 | - break 3;; |
3084 | - esac |
3085 | - done |
3086 | - done |
3087 | - done |
3088 | -IFS=$as_save_IFS |
3089 | - |
3090 | -fi |
3091 | - |
3092 | - if test "${ac_cv_path_mkdir+set}" = set; then |
3093 | - MKDIR_P="$ac_cv_path_mkdir -p" |
3094 | - else |
3095 | - # As a last resort, use the slow shell script. Don't cache a |
3096 | - # value for MKDIR_P within a source directory, because that will |
3097 | - # break other packages using the cache if that directory is |
3098 | - # removed, or if the value is a relative name. |
3099 | - test -d ./--version && rmdir ./--version |
3100 | - MKDIR_P="$ac_install_sh -d" |
3101 | - fi |
3102 | -fi |
3103 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3104 | -$as_echo "$MKDIR_P" >&6; } |
3105 | - |
3106 | -mkdir_p="$MKDIR_P" |
3107 | -case $mkdir_p in |
3108 | - [\\/$]* | ?:[\\/]*) ;; |
3109 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
3110 | -esac |
3111 | - |
3112 | -for ac_prog in gawk mawk nawk awk |
3113 | -do |
3114 | - # Extract the first word of "$ac_prog", so it can be a program name with args. |
3115 | -set dummy $ac_prog; ac_word=$2 |
3116 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3117 | -$as_echo_n "checking for $ac_word... " >&6; } |
3118 | -if test "${ac_cv_prog_AWK+set}" = set; then : |
3119 | - $as_echo_n "(cached) " >&6 |
3120 | -else |
3121 | - if test -n "$AWK"; then |
3122 | - ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3123 | -else |
3124 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3125 | -for as_dir in $PATH |
3126 | -do |
3127 | - IFS=$as_save_IFS |
3128 | - test -z "$as_dir" && as_dir=. |
3129 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3130 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3131 | - ac_cv_prog_AWK="$ac_prog" |
3132 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3133 | - break 2 |
3134 | - fi |
3135 | -done |
3136 | - done |
3137 | -IFS=$as_save_IFS |
3138 | - |
3139 | -fi |
3140 | -fi |
3141 | -AWK=$ac_cv_prog_AWK |
3142 | -if test -n "$AWK"; then |
3143 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3144 | -$as_echo "$AWK" >&6; } |
3145 | -else |
3146 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3147 | -$as_echo "no" >&6; } |
3148 | -fi |
3149 | - |
3150 | - |
3151 | - test -n "$AWK" && break |
3152 | -done |
3153 | - |
3154 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3155 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3156 | -set x ${MAKE-make} |
3157 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3158 | -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
3159 | - $as_echo_n "(cached) " >&6 |
3160 | -else |
3161 | - cat >conftest.make <<\_ACEOF |
3162 | -SHELL = /bin/sh |
3163 | -all: |
3164 | - @echo '@@@%%%=$(MAKE)=@@@%%%' |
3165 | -_ACEOF |
3166 | -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3167 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3168 | - *@@@%%%=?*=@@@%%%*) |
3169 | - eval ac_cv_prog_make_${ac_make}_set=yes;; |
3170 | - *) |
3171 | - eval ac_cv_prog_make_${ac_make}_set=no;; |
3172 | -esac |
3173 | -rm -f conftest.make |
3174 | -fi |
3175 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3176 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3177 | -$as_echo "yes" >&6; } |
3178 | - SET_MAKE= |
3179 | -else |
3180 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3181 | -$as_echo "no" >&6; } |
3182 | - SET_MAKE="MAKE=${MAKE-make}" |
3183 | -fi |
3184 | - |
3185 | -rm -rf .tst 2>/dev/null |
3186 | -mkdir .tst 2>/dev/null |
3187 | -if test -d .tst; then |
3188 | - am__leading_dot=. |
3189 | -else |
3190 | - am__leading_dot=_ |
3191 | -fi |
3192 | -rmdir .tst 2>/dev/null |
3193 | - |
3194 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3195 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3196 | - # is not polluted with repeated "-I." |
3197 | - am__isrc=' -I$(srcdir)' |
3198 | - # test to see if srcdir already configured |
3199 | - if test -f $srcdir/config.status; then |
3200 | - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
3201 | - fi |
3202 | -fi |
3203 | - |
3204 | -# test whether we have cygpath |
3205 | -if test -z "$CYGPATH_W"; then |
3206 | - if (cygpath --version) >/dev/null 2>/dev/null; then |
3207 | - CYGPATH_W='cygpath -w' |
3208 | - else |
3209 | - CYGPATH_W=echo |
3210 | - fi |
3211 | -fi |
3212 | - |
3213 | - |
3214 | -# Define the identity of the package. |
3215 | - PACKAGE=$PACKAGE_NAME |
3216 | - VERSION=$PACKAGE_VERSION |
3217 | - |
3218 | - |
3219 | -cat >>confdefs.h <<_ACEOF |
3220 | -@%:@define PACKAGE "$PACKAGE" |
3221 | -_ACEOF |
3222 | - |
3223 | - |
3224 | -cat >>confdefs.h <<_ACEOF |
3225 | -@%:@define VERSION "$VERSION" |
3226 | -_ACEOF |
3227 | - |
3228 | -# Some tools Automake needs. |
3229 | - |
3230 | -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3231 | - |
3232 | - |
3233 | -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
3234 | - |
3235 | - |
3236 | -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
3237 | - |
3238 | - |
3239 | -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
3240 | - |
3241 | - |
3242 | -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3243 | - |
3244 | -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
3245 | - |
3246 | -# Installed binaries are usually stripped using `strip' when the user |
3247 | -# run `make install-strip'. However `strip' might not be the right |
3248 | -# tool to use in cross-compilation environments, therefore Automake |
3249 | -# will honor the `STRIP' environment variable to overrule this program. |
3250 | -if test "$cross_compiling" != no; then |
3251 | - if test -n "$ac_tool_prefix"; then |
3252 | - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3253 | -set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3254 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3255 | -$as_echo_n "checking for $ac_word... " >&6; } |
3256 | -if test "${ac_cv_prog_STRIP+set}" = set; then : |
3257 | - $as_echo_n "(cached) " >&6 |
3258 | -else |
3259 | - if test -n "$STRIP"; then |
3260 | - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3261 | -else |
3262 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3263 | -for as_dir in $PATH |
3264 | -do |
3265 | - IFS=$as_save_IFS |
3266 | - test -z "$as_dir" && as_dir=. |
3267 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3268 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3269 | - ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3270 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3271 | - break 2 |
3272 | - fi |
3273 | -done |
3274 | - done |
3275 | -IFS=$as_save_IFS |
3276 | - |
3277 | -fi |
3278 | -fi |
3279 | -STRIP=$ac_cv_prog_STRIP |
3280 | -if test -n "$STRIP"; then |
3281 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
3282 | -$as_echo "$STRIP" >&6; } |
3283 | -else |
3284 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3285 | -$as_echo "no" >&6; } |
3286 | -fi |
3287 | - |
3288 | - |
3289 | -fi |
3290 | -if test -z "$ac_cv_prog_STRIP"; then |
3291 | - ac_ct_STRIP=$STRIP |
3292 | - # Extract the first word of "strip", so it can be a program name with args. |
3293 | -set dummy strip; ac_word=$2 |
3294 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3295 | -$as_echo_n "checking for $ac_word... " >&6; } |
3296 | -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
3297 | - $as_echo_n "(cached) " >&6 |
3298 | -else |
3299 | - if test -n "$ac_ct_STRIP"; then |
3300 | - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3301 | -else |
3302 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3303 | -for as_dir in $PATH |
3304 | -do |
3305 | - IFS=$as_save_IFS |
3306 | - test -z "$as_dir" && as_dir=. |
3307 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3308 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3309 | - ac_cv_prog_ac_ct_STRIP="strip" |
3310 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3311 | - break 2 |
3312 | - fi |
3313 | -done |
3314 | - done |
3315 | -IFS=$as_save_IFS |
3316 | - |
3317 | -fi |
3318 | -fi |
3319 | -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3320 | -if test -n "$ac_ct_STRIP"; then |
3321 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
3322 | -$as_echo "$ac_ct_STRIP" >&6; } |
3323 | -else |
3324 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3325 | -$as_echo "no" >&6; } |
3326 | -fi |
3327 | - |
3328 | - if test "x$ac_ct_STRIP" = x; then |
3329 | - STRIP=":" |
3330 | - else |
3331 | - case $cross_compiling:$ac_tool_warned in |
3332 | -yes:) |
3333 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3334 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3335 | -ac_tool_warned=yes ;; |
3336 | -esac |
3337 | - STRIP=$ac_ct_STRIP |
3338 | - fi |
3339 | -else |
3340 | - STRIP="$ac_cv_prog_STRIP" |
3341 | -fi |
3342 | - |
3343 | -fi |
3344 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3345 | - |
3346 | -# We need awk for the "check" target. The system "awk" is bad on |
3347 | -# some platforms. |
3348 | -# Always define AMTAR for backward compatibility. |
3349 | - |
3350 | -AMTAR=${AMTAR-"${am_missing_run}tar"} |
3351 | - |
3352 | -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
3353 | - |
3354 | - |
3355 | - |
3356 | - |
3357 | - |
3358 | - |
3359 | -ac_config_headers="$ac_config_headers config.h" |
3360 | - |
3361 | - |
3362 | - |
3363 | -VERSION_INFO="-version-info 1:3:0" |
3364 | - |
3365 | - |
3366 | - |
3367 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor to build" >&5 |
3368 | -$as_echo_n "checking which flavor to build... " >&6; } |
3369 | - |
3370 | -@%:@ Check whether --enable-debug was given. |
3371 | -if test "${enable_debug+set}" = set; then : |
3372 | - enableval=$enable_debug; |
3373 | -else |
3374 | - enable_debug=no |
3375 | -fi |
3376 | - |
3377 | -if test "x$enable_debug" != xyes -a "x$enable_debug" != xno; then |
3378 | - as_fn_error "You may not pass an argument to --enable-debug" "$LINENO" 5 |
3379 | -fi |
3380 | - |
3381 | -@%:@ Check whether --enable-ccover was given. |
3382 | -if test "${enable_ccover+set}" = set; then : |
3383 | - enableval=$enable_ccover; |
3384 | -else |
3385 | - enable_ccover=no |
3386 | -fi |
3387 | - |
3388 | -if test "x$enable_ccover" != xyes -a "x$enable_ccover" != xno; then |
3389 | - as_fn_error "You may not pass an argument to --enable-ccover" "$LINENO" 5 |
3390 | -fi |
3391 | - |
3392 | -if test "x$enable_debug" = xyes -a "x$enable_ccover" = xyes; then |
3393 | - as_fn_error "You may not use --enable-debug and --enable-ccover together" "$LINENO" 5 |
3394 | -elif test "x$enable_debug" = xyes; then |
3395 | - FLAVOR=debug |
3396 | -elif test "x$enable_ccover" = xyes; then |
3397 | - FLAVOR=cov |
3398 | -else |
3399 | - FLAVOR=product |
3400 | -fi |
3401 | - |
3402 | - |
3403 | - |
3404 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLAVOR" >&5 |
3405 | -$as_echo "$FLAVOR" >&6; } |
3406 | - |
3407 | - |
3408 | -ac_ext=c |
3409 | -ac_cpp='$CPP $CPPFLAGS' |
3410 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3411 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3412 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3413 | -if test -n "$ac_tool_prefix"; then |
3414 | - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3415 | -set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3416 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3417 | -$as_echo_n "checking for $ac_word... " >&6; } |
3418 | -if test "${ac_cv_prog_CC+set}" = set; then : |
3419 | - $as_echo_n "(cached) " >&6 |
3420 | -else |
3421 | - if test -n "$CC"; then |
3422 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
3423 | -else |
3424 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3425 | -for as_dir in $PATH |
3426 | -do |
3427 | - IFS=$as_save_IFS |
3428 | - test -z "$as_dir" && as_dir=. |
3429 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3430 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3431 | - ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3432 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3433 | - break 2 |
3434 | - fi |
3435 | -done |
3436 | - done |
3437 | -IFS=$as_save_IFS |
3438 | - |
3439 | -fi |
3440 | -fi |
3441 | -CC=$ac_cv_prog_CC |
3442 | -if test -n "$CC"; then |
3443 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3444 | -$as_echo "$CC" >&6; } |
3445 | -else |
3446 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3447 | -$as_echo "no" >&6; } |
3448 | -fi |
3449 | - |
3450 | - |
3451 | -fi |
3452 | -if test -z "$ac_cv_prog_CC"; then |
3453 | - ac_ct_CC=$CC |
3454 | - # Extract the first word of "gcc", so it can be a program name with args. |
3455 | -set dummy gcc; ac_word=$2 |
3456 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3457 | -$as_echo_n "checking for $ac_word... " >&6; } |
3458 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3459 | - $as_echo_n "(cached) " >&6 |
3460 | -else |
3461 | - if test -n "$ac_ct_CC"; then |
3462 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3463 | -else |
3464 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3465 | -for as_dir in $PATH |
3466 | -do |
3467 | - IFS=$as_save_IFS |
3468 | - test -z "$as_dir" && as_dir=. |
3469 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3470 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3471 | - ac_cv_prog_ac_ct_CC="gcc" |
3472 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3473 | - break 2 |
3474 | - fi |
3475 | -done |
3476 | - done |
3477 | -IFS=$as_save_IFS |
3478 | - |
3479 | -fi |
3480 | -fi |
3481 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3482 | -if test -n "$ac_ct_CC"; then |
3483 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3484 | -$as_echo "$ac_ct_CC" >&6; } |
3485 | -else |
3486 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3487 | -$as_echo "no" >&6; } |
3488 | -fi |
3489 | - |
3490 | - if test "x$ac_ct_CC" = x; then |
3491 | - CC="" |
3492 | - else |
3493 | - case $cross_compiling:$ac_tool_warned in |
3494 | -yes:) |
3495 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3496 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3497 | -ac_tool_warned=yes ;; |
3498 | -esac |
3499 | - CC=$ac_ct_CC |
3500 | - fi |
3501 | -else |
3502 | - CC="$ac_cv_prog_CC" |
3503 | -fi |
3504 | - |
3505 | -if test -z "$CC"; then |
3506 | - if test -n "$ac_tool_prefix"; then |
3507 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3508 | -set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3509 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3510 | -$as_echo_n "checking for $ac_word... " >&6; } |
3511 | -if test "${ac_cv_prog_CC+set}" = set; then : |
3512 | - $as_echo_n "(cached) " >&6 |
3513 | -else |
3514 | - if test -n "$CC"; then |
3515 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
3516 | -else |
3517 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3518 | -for as_dir in $PATH |
3519 | -do |
3520 | - IFS=$as_save_IFS |
3521 | - test -z "$as_dir" && as_dir=. |
3522 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3523 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3524 | - ac_cv_prog_CC="${ac_tool_prefix}cc" |
3525 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3526 | - break 2 |
3527 | - fi |
3528 | -done |
3529 | - done |
3530 | -IFS=$as_save_IFS |
3531 | - |
3532 | -fi |
3533 | -fi |
3534 | -CC=$ac_cv_prog_CC |
3535 | -if test -n "$CC"; then |
3536 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3537 | -$as_echo "$CC" >&6; } |
3538 | -else |
3539 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3540 | -$as_echo "no" >&6; } |
3541 | -fi |
3542 | - |
3543 | - |
3544 | - fi |
3545 | -fi |
3546 | -if test -z "$CC"; then |
3547 | - # Extract the first word of "cc", so it can be a program name with args. |
3548 | -set dummy cc; ac_word=$2 |
3549 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3550 | -$as_echo_n "checking for $ac_word... " >&6; } |
3551 | -if test "${ac_cv_prog_CC+set}" = set; then : |
3552 | - $as_echo_n "(cached) " >&6 |
3553 | -else |
3554 | - if test -n "$CC"; then |
3555 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
3556 | -else |
3557 | - ac_prog_rejected=no |
3558 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3559 | -for as_dir in $PATH |
3560 | -do |
3561 | - IFS=$as_save_IFS |
3562 | - test -z "$as_dir" && as_dir=. |
3563 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3564 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3565 | - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3566 | - ac_prog_rejected=yes |
3567 | - continue |
3568 | - fi |
3569 | - ac_cv_prog_CC="cc" |
3570 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3571 | - break 2 |
3572 | - fi |
3573 | -done |
3574 | - done |
3575 | -IFS=$as_save_IFS |
3576 | - |
3577 | -if test $ac_prog_rejected = yes; then |
3578 | - # We found a bogon in the path, so make sure we never use it. |
3579 | - set dummy $ac_cv_prog_CC |
3580 | - shift |
3581 | - if test $@%:@ != 0; then |
3582 | - # We chose a different compiler from the bogus one. |
3583 | - # However, it has the same basename, so the bogon will be chosen |
3584 | - # first if we set CC to just the basename; use the full file name. |
3585 | - shift |
3586 | - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3587 | - fi |
3588 | -fi |
3589 | -fi |
3590 | -fi |
3591 | -CC=$ac_cv_prog_CC |
3592 | -if test -n "$CC"; then |
3593 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3594 | -$as_echo "$CC" >&6; } |
3595 | -else |
3596 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3597 | -$as_echo "no" >&6; } |
3598 | -fi |
3599 | - |
3600 | - |
3601 | -fi |
3602 | -if test -z "$CC"; then |
3603 | - if test -n "$ac_tool_prefix"; then |
3604 | - for ac_prog in cl.exe |
3605 | - do |
3606 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3607 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3608 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3609 | -$as_echo_n "checking for $ac_word... " >&6; } |
3610 | -if test "${ac_cv_prog_CC+set}" = set; then : |
3611 | - $as_echo_n "(cached) " >&6 |
3612 | -else |
3613 | - if test -n "$CC"; then |
3614 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
3615 | -else |
3616 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3617 | -for as_dir in $PATH |
3618 | -do |
3619 | - IFS=$as_save_IFS |
3620 | - test -z "$as_dir" && as_dir=. |
3621 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3622 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3623 | - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3624 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3625 | - break 2 |
3626 | - fi |
3627 | -done |
3628 | - done |
3629 | -IFS=$as_save_IFS |
3630 | - |
3631 | -fi |
3632 | -fi |
3633 | -CC=$ac_cv_prog_CC |
3634 | -if test -n "$CC"; then |
3635 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3636 | -$as_echo "$CC" >&6; } |
3637 | -else |
3638 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3639 | -$as_echo "no" >&6; } |
3640 | -fi |
3641 | - |
3642 | - |
3643 | - test -n "$CC" && break |
3644 | - done |
3645 | -fi |
3646 | -if test -z "$CC"; then |
3647 | - ac_ct_CC=$CC |
3648 | - for ac_prog in cl.exe |
3649 | -do |
3650 | - # Extract the first word of "$ac_prog", so it can be a program name with args. |
3651 | -set dummy $ac_prog; ac_word=$2 |
3652 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3653 | -$as_echo_n "checking for $ac_word... " >&6; } |
3654 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3655 | - $as_echo_n "(cached) " >&6 |
3656 | -else |
3657 | - if test -n "$ac_ct_CC"; then |
3658 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3659 | -else |
3660 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3661 | -for as_dir in $PATH |
3662 | -do |
3663 | - IFS=$as_save_IFS |
3664 | - test -z "$as_dir" && as_dir=. |
3665 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3666 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3667 | - ac_cv_prog_ac_ct_CC="$ac_prog" |
3668 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3669 | - break 2 |
3670 | - fi |
3671 | -done |
3672 | - done |
3673 | -IFS=$as_save_IFS |
3674 | - |
3675 | -fi |
3676 | -fi |
3677 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3678 | -if test -n "$ac_ct_CC"; then |
3679 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3680 | -$as_echo "$ac_ct_CC" >&6; } |
3681 | -else |
3682 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3683 | -$as_echo "no" >&6; } |
3684 | -fi |
3685 | - |
3686 | - |
3687 | - test -n "$ac_ct_CC" && break |
3688 | -done |
3689 | - |
3690 | - if test "x$ac_ct_CC" = x; then |
3691 | - CC="" |
3692 | - else |
3693 | - case $cross_compiling:$ac_tool_warned in |
3694 | -yes:) |
3695 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3696 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3697 | -ac_tool_warned=yes ;; |
3698 | -esac |
3699 | - CC=$ac_ct_CC |
3700 | - fi |
3701 | -fi |
3702 | - |
3703 | -fi |
3704 | - |
3705 | - |
3706 | -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3707 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3708 | -as_fn_error "no acceptable C compiler found in \$PATH |
3709 | -See \`config.log' for more details." "$LINENO" 5; } |
3710 | - |
3711 | -# Provide some information about the compiler. |
3712 | -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3713 | -set X $ac_compile |
3714 | -ac_compiler=$2 |
3715 | -for ac_option in --version -v -V -qversion; do |
3716 | - { { ac_try="$ac_compiler $ac_option >&5" |
3717 | -case "(($ac_try" in |
3718 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3719 | - *) ac_try_echo=$ac_try;; |
3720 | -esac |
3721 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3722 | -$as_echo "$ac_try_echo"; } >&5 |
3723 | - (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3724 | - ac_status=$? |
3725 | - if test -s conftest.err; then |
3726 | - sed '10a\ |
3727 | -... rest of stderr output deleted ... |
3728 | - 10q' conftest.err >conftest.er1 |
3729 | - cat conftest.er1 >&5 |
3730 | - rm -f conftest.er1 conftest.err |
3731 | - fi |
3732 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3733 | - test $ac_status = 0; } |
3734 | -done |
3735 | - |
3736 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3737 | -/* end confdefs.h. */ |
3738 | -@%:@include <stdio.h> |
3739 | -int |
3740 | -main () |
3741 | -{ |
3742 | -FILE *f = fopen ("conftest.out", "w"); |
3743 | - return ferror (f) || fclose (f) != 0; |
3744 | - |
3745 | - ; |
3746 | - return 0; |
3747 | -} |
3748 | -_ACEOF |
3749 | -ac_clean_files_save=$ac_clean_files |
3750 | -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
3751 | -# Try to create an executable without -o first, disregard a.out. |
3752 | -# It will help us diagnose broken compilers, and finding out an intuition |
3753 | -# of exeext. |
3754 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3755 | -$as_echo_n "checking for C compiler default output file name... " >&6; } |
3756 | -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3757 | - |
3758 | -# The possible output files: |
3759 | -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3760 | - |
3761 | -ac_rmfiles= |
3762 | -for ac_file in $ac_files |
3763 | -do |
3764 | - case $ac_file in |
3765 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3766 | - * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3767 | - esac |
3768 | -done |
3769 | -rm -f $ac_rmfiles |
3770 | - |
3771 | -if { { ac_try="$ac_link_default" |
3772 | -case "(($ac_try" in |
3773 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3774 | - *) ac_try_echo=$ac_try;; |
3775 | -esac |
3776 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3777 | -$as_echo "$ac_try_echo"; } >&5 |
3778 | - (eval "$ac_link_default") 2>&5 |
3779 | - ac_status=$? |
3780 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3781 | - test $ac_status = 0; }; then : |
3782 | - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3783 | -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3784 | -# in a Makefile. We should not override ac_cv_exeext if it was cached, |
3785 | -# so that the user can short-circuit this test for compilers unknown to |
3786 | -# Autoconf. |
3787 | -for ac_file in $ac_files '' |
3788 | -do |
3789 | - test -f "$ac_file" || continue |
3790 | - case $ac_file in |
3791 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3792 | - ;; |
3793 | - [ab].out ) |
3794 | - # We found the default executable, but exeext='' is most |
3795 | - # certainly right. |
3796 | - break;; |
3797 | - *.* ) |
3798 | - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3799 | - then :; else |
3800 | - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3801 | - fi |
3802 | - # We set ac_cv_exeext here because the later test for it is not |
3803 | - # safe: cross compilers may not add the suffix if given an `-o' |
3804 | - # argument, so we may need to know it at that point already. |
3805 | - # Even if this section looks crufty: it has the advantage of |
3806 | - # actually working. |
3807 | - break;; |
3808 | - * ) |
3809 | - break;; |
3810 | - esac |
3811 | -done |
3812 | -test "$ac_cv_exeext" = no && ac_cv_exeext= |
3813 | - |
3814 | -else |
3815 | - ac_file='' |
3816 | -fi |
3817 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3818 | -$as_echo "$ac_file" >&6; } |
3819 | -if test -z "$ac_file"; then : |
3820 | - $as_echo "$as_me: failed program was:" >&5 |
3821 | -sed 's/^/| /' conftest.$ac_ext >&5 |
3822 | - |
3823 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3824 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3825 | -{ as_fn_set_status 77 |
3826 | -as_fn_error "C compiler cannot create executables |
3827 | -See \`config.log' for more details." "$LINENO" 5; }; } |
3828 | -fi |
3829 | -ac_exeext=$ac_cv_exeext |
3830 | - |
3831 | -# Check that the compiler produces executables we can run. If not, either |
3832 | -# the compiler is broken, or we cross compile. |
3833 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3834 | -$as_echo_n "checking whether the C compiler works... " >&6; } |
3835 | -# If not cross compiling, check that we can run a simple program. |
3836 | -if test "$cross_compiling" != yes; then |
3837 | - if { ac_try='./$ac_file' |
3838 | - { { case "(($ac_try" in |
3839 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3840 | - *) ac_try_echo=$ac_try;; |
3841 | -esac |
3842 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3843 | -$as_echo "$ac_try_echo"; } >&5 |
3844 | - (eval "$ac_try") 2>&5 |
3845 | - ac_status=$? |
3846 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3847 | - test $ac_status = 0; }; }; then |
3848 | - cross_compiling=no |
3849 | - else |
3850 | - if test "$cross_compiling" = maybe; then |
3851 | - cross_compiling=yes |
3852 | - else |
3853 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3854 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3855 | -as_fn_error "cannot run C compiled programs. |
3856 | -If you meant to cross compile, use \`--host'. |
3857 | -See \`config.log' for more details." "$LINENO" 5; } |
3858 | - fi |
3859 | - fi |
3860 | -fi |
3861 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3862 | -$as_echo "yes" >&6; } |
3863 | - |
3864 | -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
3865 | -ac_clean_files=$ac_clean_files_save |
3866 | -# Check that the compiler produces executables we can run. If not, either |
3867 | -# the compiler is broken, or we cross compile. |
3868 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3869 | -$as_echo_n "checking whether we are cross compiling... " >&6; } |
3870 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3871 | -$as_echo "$cross_compiling" >&6; } |
3872 | - |
3873 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3874 | -$as_echo_n "checking for suffix of executables... " >&6; } |
3875 | -if { { ac_try="$ac_link" |
3876 | -case "(($ac_try" in |
3877 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3878 | - *) ac_try_echo=$ac_try;; |
3879 | -esac |
3880 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3881 | -$as_echo "$ac_try_echo"; } >&5 |
3882 | - (eval "$ac_link") 2>&5 |
3883 | - ac_status=$? |
3884 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3885 | - test $ac_status = 0; }; then : |
3886 | - # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3887 | -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3888 | -# work properly (i.e., refer to `conftest.exe'), while it won't with |
3889 | -# `rm'. |
3890 | -for ac_file in conftest.exe conftest conftest.*; do |
3891 | - test -f "$ac_file" || continue |
3892 | - case $ac_file in |
3893 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3894 | - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3895 | - break;; |
3896 | - * ) break;; |
3897 | - esac |
3898 | -done |
3899 | -else |
3900 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3901 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3902 | -as_fn_error "cannot compute suffix of executables: cannot compile and link |
3903 | -See \`config.log' for more details." "$LINENO" 5; } |
3904 | -fi |
3905 | -rm -f conftest$ac_cv_exeext |
3906 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3907 | -$as_echo "$ac_cv_exeext" >&6; } |
3908 | - |
3909 | -rm -f conftest.$ac_ext |
3910 | -EXEEXT=$ac_cv_exeext |
3911 | -ac_exeext=$EXEEXT |
3912 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3913 | -$as_echo_n "checking for suffix of object files... " >&6; } |
3914 | -if test "${ac_cv_objext+set}" = set; then : |
3915 | - $as_echo_n "(cached) " >&6 |
3916 | -else |
3917 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3918 | -/* end confdefs.h. */ |
3919 | - |
3920 | -int |
3921 | -main () |
3922 | -{ |
3923 | - |
3924 | - ; |
3925 | - return 0; |
3926 | -} |
3927 | -_ACEOF |
3928 | -rm -f conftest.o conftest.obj |
3929 | -if { { ac_try="$ac_compile" |
3930 | -case "(($ac_try" in |
3931 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3932 | - *) ac_try_echo=$ac_try;; |
3933 | -esac |
3934 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3935 | -$as_echo "$ac_try_echo"; } >&5 |
3936 | - (eval "$ac_compile") 2>&5 |
3937 | - ac_status=$? |
3938 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3939 | - test $ac_status = 0; }; then : |
3940 | - for ac_file in conftest.o conftest.obj conftest.*; do |
3941 | - test -f "$ac_file" || continue; |
3942 | - case $ac_file in |
3943 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3944 | - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3945 | - break;; |
3946 | - esac |
3947 | -done |
3948 | -else |
3949 | - $as_echo "$as_me: failed program was:" >&5 |
3950 | -sed 's/^/| /' conftest.$ac_ext >&5 |
3951 | - |
3952 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3953 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3954 | -as_fn_error "cannot compute suffix of object files: cannot compile |
3955 | -See \`config.log' for more details." "$LINENO" 5; } |
3956 | -fi |
3957 | -rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3958 | -fi |
3959 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3960 | -$as_echo "$ac_cv_objext" >&6; } |
3961 | -OBJEXT=$ac_cv_objext |
3962 | -ac_objext=$OBJEXT |
3963 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3964 | -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3965 | -if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3966 | - $as_echo_n "(cached) " >&6 |
3967 | -else |
3968 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3969 | -/* end confdefs.h. */ |
3970 | - |
3971 | -int |
3972 | -main () |
3973 | -{ |
3974 | -#ifndef __GNUC__ |
3975 | - choke me |
3976 | -#endif |
3977 | - |
3978 | - ; |
3979 | - return 0; |
3980 | -} |
3981 | -_ACEOF |
3982 | -if ac_fn_c_try_compile "$LINENO"; then : |
3983 | - ac_compiler_gnu=yes |
3984 | -else |
3985 | - ac_compiler_gnu=no |
3986 | -fi |
3987 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3988 | -ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3989 | - |
3990 | -fi |
3991 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3992 | -$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3993 | -if test $ac_compiler_gnu = yes; then |
3994 | - GCC=yes |
3995 | -else |
3996 | - GCC= |
3997 | -fi |
3998 | -ac_test_CFLAGS=${CFLAGS+set} |
3999 | -ac_save_CFLAGS=$CFLAGS |
4000 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4001 | -$as_echo_n "checking whether $CC accepts -g... " >&6; } |
4002 | -if test "${ac_cv_prog_cc_g+set}" = set; then : |
4003 | - $as_echo_n "(cached) " >&6 |
4004 | -else |
4005 | - ac_save_c_werror_flag=$ac_c_werror_flag |
4006 | - ac_c_werror_flag=yes |
4007 | - ac_cv_prog_cc_g=no |
4008 | - CFLAGS="-g" |
4009 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4010 | -/* end confdefs.h. */ |
4011 | - |
4012 | -int |
4013 | -main () |
4014 | -{ |
4015 | - |
4016 | - ; |
4017 | - return 0; |
4018 | -} |
4019 | -_ACEOF |
4020 | -if ac_fn_c_try_compile "$LINENO"; then : |
4021 | - ac_cv_prog_cc_g=yes |
4022 | -else |
4023 | - CFLAGS="" |
4024 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4025 | -/* end confdefs.h. */ |
4026 | - |
4027 | -int |
4028 | -main () |
4029 | -{ |
4030 | - |
4031 | - ; |
4032 | - return 0; |
4033 | -} |
4034 | -_ACEOF |
4035 | -if ac_fn_c_try_compile "$LINENO"; then : |
4036 | - |
4037 | -else |
4038 | - ac_c_werror_flag=$ac_save_c_werror_flag |
4039 | - CFLAGS="-g" |
4040 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4041 | -/* end confdefs.h. */ |
4042 | - |
4043 | -int |
4044 | -main () |
4045 | -{ |
4046 | - |
4047 | - ; |
4048 | - return 0; |
4049 | -} |
4050 | -_ACEOF |
4051 | -if ac_fn_c_try_compile "$LINENO"; then : |
4052 | - ac_cv_prog_cc_g=yes |
4053 | -fi |
4054 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4055 | -fi |
4056 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4057 | -fi |
4058 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4059 | - ac_c_werror_flag=$ac_save_c_werror_flag |
4060 | -fi |
4061 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4062 | -$as_echo "$ac_cv_prog_cc_g" >&6; } |
4063 | -if test "$ac_test_CFLAGS" = set; then |
4064 | - CFLAGS=$ac_save_CFLAGS |
4065 | -elif test $ac_cv_prog_cc_g = yes; then |
4066 | - if test "$GCC" = yes; then |
4067 | - CFLAGS="-g -O2" |
4068 | - else |
4069 | - CFLAGS="-g" |
4070 | - fi |
4071 | -else |
4072 | - if test "$GCC" = yes; then |
4073 | - CFLAGS="-O2" |
4074 | - else |
4075 | - CFLAGS= |
4076 | - fi |
4077 | -fi |
4078 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4079 | -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4080 | -if test "${ac_cv_prog_cc_c89+set}" = set; then : |
4081 | - $as_echo_n "(cached) " >&6 |
4082 | -else |
4083 | - ac_cv_prog_cc_c89=no |
4084 | -ac_save_CC=$CC |
4085 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4086 | -/* end confdefs.h. */ |
4087 | -#include <stdarg.h> |
4088 | -#include <stdio.h> |
4089 | -#include <sys/types.h> |
4090 | -#include <sys/stat.h> |
4091 | -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4092 | -struct buf { int x; }; |
4093 | -FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4094 | -static char *e (p, i) |
4095 | - char **p; |
4096 | - int i; |
4097 | -{ |
4098 | - return p[i]; |
4099 | -} |
4100 | -static char *f (char * (*g) (char **, int), char **p, ...) |
4101 | -{ |
4102 | - char *s; |
4103 | - va_list v; |
4104 | - va_start (v,p); |
4105 | - s = g (p, va_arg (v,int)); |
4106 | - va_end (v); |
4107 | - return s; |
4108 | -} |
4109 | - |
4110 | -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
4111 | - function prototypes and stuff, but not '\xHH' hex character constants. |
4112 | - These don't provoke an error unfortunately, instead are silently treated |
4113 | - as 'x'. The following induces an error, until -std is added to get |
4114 | - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
4115 | - array size at least. It's necessary to write '\x00'==0 to get something |
4116 | - that's true only with -std. */ |
4117 | -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4118 | - |
4119 | -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
4120 | - inside strings and character constants. */ |
4121 | -#define FOO(x) 'x' |
4122 | -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
4123 | - |
4124 | -int test (int i, double x); |
4125 | -struct s1 {int (*f) (int a);}; |
4126 | -struct s2 {int (*f) (double a);}; |
4127 | -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4128 | -int argc; |
4129 | -char **argv; |
4130 | -int |
4131 | -main () |
4132 | -{ |
4133 | -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
4134 | - ; |
4135 | - return 0; |
4136 | -} |
4137 | -_ACEOF |
4138 | -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
4139 | - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4140 | -do |
4141 | - CC="$ac_save_CC $ac_arg" |
4142 | - if ac_fn_c_try_compile "$LINENO"; then : |
4143 | - ac_cv_prog_cc_c89=$ac_arg |
4144 | -fi |
4145 | -rm -f core conftest.err conftest.$ac_objext |
4146 | - test "x$ac_cv_prog_cc_c89" != "xno" && break |
4147 | -done |
4148 | -rm -f conftest.$ac_ext |
4149 | -CC=$ac_save_CC |
4150 | - |
4151 | -fi |
4152 | -# AC_CACHE_VAL |
4153 | -case "x$ac_cv_prog_cc_c89" in |
4154 | - x) |
4155 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4156 | -$as_echo "none needed" >&6; } ;; |
4157 | - xno) |
4158 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4159 | -$as_echo "unsupported" >&6; } ;; |
4160 | - *) |
4161 | - CC="$CC $ac_cv_prog_cc_c89" |
4162 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
4163 | -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4164 | -esac |
4165 | -if test "x$ac_cv_prog_cc_c89" != xno; then : |
4166 | - |
4167 | -fi |
4168 | - |
4169 | -ac_ext=c |
4170 | -ac_cpp='$CPP $CPPFLAGS' |
4171 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4172 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4173 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4174 | -DEPDIR="${am__leading_dot}deps" |
4175 | - |
4176 | -ac_config_commands="$ac_config_commands depfiles" |
4177 | - |
4178 | - |
4179 | -am_make=${MAKE-make} |
4180 | -cat > confinc << 'END' |
4181 | -am__doit: |
4182 | - @echo done |
4183 | -.PHONY: am__doit |
4184 | -END |
4185 | -# If we don't find an include directive, just comment out the code. |
4186 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4187 | -$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4188 | -am__include="#" |
4189 | -am__quote= |
4190 | -_am_result=none |
4191 | -# First try GNU make style include. |
4192 | -echo "include confinc" > confmf |
4193 | -# We grep out `Entering directory' and `Leaving directory' |
4194 | -# messages which can occur if `w' ends up in MAKEFLAGS. |
4195 | -# In particular we don't look at `^make:' because GNU make might |
4196 | -# be invoked under some other name (usually "gmake"), in which |
4197 | -# case it prints its new name instead of `make'. |
4198 | -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
4199 | - am__include=include |
4200 | - am__quote= |
4201 | - _am_result=GNU |
4202 | -fi |
4203 | -# Now try BSD make style include. |
4204 | -if test "$am__include" = "#"; then |
4205 | - echo '.include "confinc"' > confmf |
4206 | - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
4207 | - am__include=.include |
4208 | - am__quote="\"" |
4209 | - _am_result=BSD |
4210 | - fi |
4211 | -fi |
4212 | - |
4213 | - |
4214 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4215 | -$as_echo "$_am_result" >&6; } |
4216 | -rm -f confinc confmf |
4217 | - |
4218 | -@%:@ Check whether --enable-dependency-tracking was given. |
4219 | -if test "${enable_dependency_tracking+set}" = set; then : |
4220 | - enableval=$enable_dependency_tracking; |
4221 | -fi |
4222 | - |
4223 | -if test "x$enable_dependency_tracking" != xno; then |
4224 | - am_depcomp="$ac_aux_dir/depcomp" |
4225 | - AMDEPBACKSLASH='\' |
4226 | -fi |
4227 | - if test "x$enable_dependency_tracking" != xno; then |
4228 | - AMDEP_TRUE= |
4229 | - AMDEP_FALSE='#' |
4230 | -else |
4231 | - AMDEP_TRUE='#' |
4232 | - AMDEP_FALSE= |
4233 | -fi |
4234 | - |
4235 | - |
4236 | - |
4237 | -depcc="$CC" am_compiler_list= |
4238 | - |
4239 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4240 | -$as_echo_n "checking dependency style of $depcc... " >&6; } |
4241 | -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4242 | - $as_echo_n "(cached) " >&6 |
4243 | -else |
4244 | - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4245 | - # We make a subdir and do the tests there. Otherwise we can end up |
4246 | - # making bogus files that we don't know about and never remove. For |
4247 | - # instance it was reported that on HP-UX the gcc test will end up |
4248 | - # making a dummy file named `D' -- because `-MD' means `put the output |
4249 | - # in D'. |
4250 | - mkdir conftest.dir |
4251 | - # Copy depcomp to subdir because otherwise we won't find it if we're |
4252 | - # using a relative directory. |
4253 | - cp "$am_depcomp" conftest.dir |
4254 | - cd conftest.dir |
4255 | - # We will build objects and dependencies in a subdirectory because |
4256 | - # it helps to detect inapplicable dependency modes. For instance |
4257 | - # both Tru64's cc and ICC support -MD to output dependencies as a |
4258 | - # side effect of compilation, but ICC will put the dependencies in |
4259 | - # the current directory while Tru64 will put them in the object |
4260 | - # directory. |
4261 | - mkdir sub |
4262 | - |
4263 | - am_cv_CC_dependencies_compiler_type=none |
4264 | - if test "$am_compiler_list" = ""; then |
4265 | - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4266 | - fi |
4267 | - for depmode in $am_compiler_list; do |
4268 | - # Setup a source with many dependencies, because some compilers |
4269 | - # like to wrap large dependency lists on column 80 (with \), and |
4270 | - # we should not choose a depcomp mode which is confused by this. |
4271 | - # |
4272 | - # We need to recreate these files for each test, as the compiler may |
4273 | - # overwrite some of them when testing with obscure command lines. |
4274 | - # This happens at least with the AIX C compiler. |
4275 | - : > sub/conftest.c |
4276 | - for i in 1 2 3 4 5 6; do |
4277 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4278 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4279 | - # Solaris 8's {/usr,}/bin/sh. |
4280 | - touch sub/conftst$i.h |
4281 | - done |
4282 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4283 | - |
4284 | - case $depmode in |
4285 | - nosideeffect) |
4286 | - # after this tag, mechanisms are not by side-effect, so they'll |
4287 | - # only be used when explicitly requested |
4288 | - if test "x$enable_dependency_tracking" = xyes; then |
4289 | - continue |
4290 | - else |
4291 | - break |
4292 | - fi |
4293 | - ;; |
4294 | - none) break ;; |
4295 | - esac |
4296 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" |
4297 | - # mode. It turns out that the SunPro C++ compiler does not properly |
4298 | - # handle `-M -o', and we need to detect this. |
4299 | - if depmode=$depmode \ |
4300 | - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
4301 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4302 | - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
4303 | - >/dev/null 2>conftest.err && |
4304 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4305 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4306 | - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4307 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4308 | - # icc doesn't choke on unknown options, it will just issue warnings |
4309 | - # or remarks (even with -Werror). So we grep stderr for any message |
4310 | - # that says an option was ignored or not supported. |
4311 | - # When given -MP, icc 7.0 and 7.1 complain thusly: |
4312 | - # icc: Command line warning: ignoring option '-M'; no argument required |
4313 | - # The diagnosis changed in icc 8.0: |
4314 | - # icc: Command line remark: option '-MP' not supported |
4315 | - if (grep 'ignoring option' conftest.err || |
4316 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4317 | - am_cv_CC_dependencies_compiler_type=$depmode |
4318 | - break |
4319 | - fi |
4320 | - fi |
4321 | - done |
4322 | - |
4323 | - cd .. |
4324 | - rm -rf conftest.dir |
4325 | -else |
4326 | - am_cv_CC_dependencies_compiler_type=none |
4327 | -fi |
4328 | - |
4329 | -fi |
4330 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4331 | -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4332 | -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4333 | - |
4334 | - if |
4335 | - test "x$enable_dependency_tracking" != xno \ |
4336 | - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4337 | - am__fastdepCC_TRUE= |
4338 | - am__fastdepCC_FALSE='#' |
4339 | -else |
4340 | - am__fastdepCC_TRUE='#' |
4341 | - am__fastdepCC_FALSE= |
4342 | -fi |
4343 | - |
4344 | - |
4345 | -ac_ext=c |
4346 | -ac_cpp='$CPP $CPPFLAGS' |
4347 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4348 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4349 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4350 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
4351 | -$as_echo_n "checking how to run the C preprocessor... " >&6; } |
4352 | -# On Suns, sometimes $CPP names a directory. |
4353 | -if test -n "$CPP" && test -d "$CPP"; then |
4354 | - CPP= |
4355 | -fi |
4356 | -if test -z "$CPP"; then |
4357 | - if test "${ac_cv_prog_CPP+set}" = set; then : |
4358 | - $as_echo_n "(cached) " >&6 |
4359 | -else |
4360 | - # Double quotes because CPP needs to be expanded |
4361 | - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4362 | - do |
4363 | - ac_preproc_ok=false |
4364 | -for ac_c_preproc_warn_flag in '' yes |
4365 | -do |
4366 | - # Use a header file that comes with gcc, so configuring glibc |
4367 | - # with a fresh cross-compiler works. |
4368 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4369 | - # <limits.h> exists even on freestanding compilers. |
4370 | - # On the NeXT, cc -E runs the code through the compiler's parser, |
4371 | - # not just through cpp. "Syntax error" is here to catch this case. |
4372 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4373 | -/* end confdefs.h. */ |
4374 | -@%:@ifdef __STDC__ |
4375 | -@%:@ include <limits.h> |
4376 | -@%:@else |
4377 | -@%:@ include <assert.h> |
4378 | -@%:@endif |
4379 | - Syntax error |
4380 | -_ACEOF |
4381 | -if ac_fn_c_try_cpp "$LINENO"; then : |
4382 | - |
4383 | -else |
4384 | - # Broken: fails on valid input. |
4385 | -continue |
4386 | -fi |
4387 | -rm -f conftest.err conftest.$ac_ext |
4388 | - |
4389 | - # OK, works on sane cases. Now check whether nonexistent headers |
4390 | - # can be detected and how. |
4391 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4392 | -/* end confdefs.h. */ |
4393 | -@%:@include <ac_nonexistent.h> |
4394 | -_ACEOF |
4395 | -if ac_fn_c_try_cpp "$LINENO"; then : |
4396 | - # Broken: success on invalid input. |
4397 | -continue |
4398 | -else |
4399 | - # Passes both tests. |
4400 | -ac_preproc_ok=: |
4401 | -break |
4402 | -fi |
4403 | -rm -f conftest.err conftest.$ac_ext |
4404 | - |
4405 | -done |
4406 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4407 | -rm -f conftest.err conftest.$ac_ext |
4408 | -if $ac_preproc_ok; then : |
4409 | - break |
4410 | -fi |
4411 | - |
4412 | - done |
4413 | - ac_cv_prog_CPP=$CPP |
4414 | - |
4415 | -fi |
4416 | - CPP=$ac_cv_prog_CPP |
4417 | -else |
4418 | - ac_cv_prog_CPP=$CPP |
4419 | -fi |
4420 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
4421 | -$as_echo "$CPP" >&6; } |
4422 | -ac_preproc_ok=false |
4423 | -for ac_c_preproc_warn_flag in '' yes |
4424 | -do |
4425 | - # Use a header file that comes with gcc, so configuring glibc |
4426 | - # with a fresh cross-compiler works. |
4427 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4428 | - # <limits.h> exists even on freestanding compilers. |
4429 | - # On the NeXT, cc -E runs the code through the compiler's parser, |
4430 | - # not just through cpp. "Syntax error" is here to catch this case. |
4431 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4432 | -/* end confdefs.h. */ |
4433 | -@%:@ifdef __STDC__ |
4434 | -@%:@ include <limits.h> |
4435 | -@%:@else |
4436 | -@%:@ include <assert.h> |
4437 | -@%:@endif |
4438 | - Syntax error |
4439 | -_ACEOF |
4440 | -if ac_fn_c_try_cpp "$LINENO"; then : |
4441 | - |
4442 | -else |
4443 | - # Broken: fails on valid input. |
4444 | -continue |
4445 | -fi |
4446 | -rm -f conftest.err conftest.$ac_ext |
4447 | - |
4448 | - # OK, works on sane cases. Now check whether nonexistent headers |
4449 | - # can be detected and how. |
4450 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4451 | -/* end confdefs.h. */ |
4452 | -@%:@include <ac_nonexistent.h> |
4453 | -_ACEOF |
4454 | -if ac_fn_c_try_cpp "$LINENO"; then : |
4455 | - # Broken: success on invalid input. |
4456 | -continue |
4457 | -else |
4458 | - # Passes both tests. |
4459 | -ac_preproc_ok=: |
4460 | -break |
4461 | -fi |
4462 | -rm -f conftest.err conftest.$ac_ext |
4463 | - |
4464 | -done |
4465 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4466 | -rm -f conftest.err conftest.$ac_ext |
4467 | -if $ac_preproc_ok; then : |
4468 | - |
4469 | -else |
4470 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4471 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4472 | -as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4473 | -See \`config.log' for more details." "$LINENO" 5; } |
4474 | -fi |
4475 | - |
4476 | -ac_ext=c |
4477 | -ac_cpp='$CPP $CPPFLAGS' |
4478 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4479 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4480 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4481 | - |
4482 | - |
4483 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
4484 | -$as_echo_n "checking whether ln -s works... " >&6; } |
4485 | -LN_S=$as_ln_s |
4486 | -if test "$LN_S" = "ln -s"; then |
4487 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4488 | -$as_echo "yes" >&6; } |
4489 | -else |
4490 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
4491 | -$as_echo "no, using $LN_S" >&6; } |
4492 | -fi |
4493 | - |
4494 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4495 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
4496 | -set x ${MAKE-make} |
4497 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4498 | -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
4499 | - $as_echo_n "(cached) " >&6 |
4500 | -else |
4501 | - cat >conftest.make <<\_ACEOF |
4502 | -SHELL = /bin/sh |
4503 | -all: |
4504 | - @echo '@@@%%%=$(MAKE)=@@@%%%' |
4505 | -_ACEOF |
4506 | -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4507 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4508 | - *@@@%%%=?*=@@@%%%*) |
4509 | - eval ac_cv_prog_make_${ac_make}_set=yes;; |
4510 | - *) |
4511 | - eval ac_cv_prog_make_${ac_make}_set=no;; |
4512 | -esac |
4513 | -rm -f conftest.make |
4514 | -fi |
4515 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
4516 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4517 | -$as_echo "yes" >&6; } |
4518 | - SET_MAKE= |
4519 | -else |
4520 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4521 | -$as_echo "no" >&6; } |
4522 | - SET_MAKE="MAKE=${MAKE-make}" |
4523 | -fi |
4524 | - |
4525 | - |
4526 | - |
4527 | - |
4528 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4529 | -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4530 | -if test "${ac_cv_path_GREP+set}" = set; then : |
4531 | - $as_echo_n "(cached) " >&6 |
4532 | -else |
4533 | - if test -z "$GREP"; then |
4534 | - ac_path_GREP_found=false |
4535 | - # Loop through the user's path and test for each of PROGNAME-LIST |
4536 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4537 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4538 | -do |
4539 | - IFS=$as_save_IFS |
4540 | - test -z "$as_dir" && as_dir=. |
4541 | - for ac_prog in grep ggrep; do |
4542 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4543 | - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4544 | - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4545 | -# Check for GNU ac_path_GREP and select it if it is found. |
4546 | - # Check for GNU $ac_path_GREP |
4547 | -case `"$ac_path_GREP" --version 2>&1` in |
4548 | -*GNU*) |
4549 | - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4550 | -*) |
4551 | - ac_count=0 |
4552 | - $as_echo_n 0123456789 >"conftest.in" |
4553 | - while : |
4554 | - do |
4555 | - cat "conftest.in" "conftest.in" >"conftest.tmp" |
4556 | - mv "conftest.tmp" "conftest.in" |
4557 | - cp "conftest.in" "conftest.nl" |
4558 | - $as_echo 'GREP' >> "conftest.nl" |
4559 | - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4560 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4561 | - as_fn_arith $ac_count + 1 && ac_count=$as_val |
4562 | - if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4563 | - # Best one so far, save it but keep looking for a better one |
4564 | - ac_cv_path_GREP="$ac_path_GREP" |
4565 | - ac_path_GREP_max=$ac_count |
4566 | - fi |
4567 | - # 10*(2^10) chars as input seems more than enough |
4568 | - test $ac_count -gt 10 && break |
4569 | - done |
4570 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4571 | -esac |
4572 | - |
4573 | - $ac_path_GREP_found && break 3 |
4574 | - done |
4575 | - done |
4576 | - done |
4577 | -IFS=$as_save_IFS |
4578 | - if test -z "$ac_cv_path_GREP"; then |
4579 | - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4580 | - fi |
4581 | -else |
4582 | - ac_cv_path_GREP=$GREP |
4583 | -fi |
4584 | - |
4585 | -fi |
4586 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
4587 | -$as_echo "$ac_cv_path_GREP" >&6; } |
4588 | - GREP="$ac_cv_path_GREP" |
4589 | - |
4590 | - |
4591 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4592 | -$as_echo_n "checking for egrep... " >&6; } |
4593 | -if test "${ac_cv_path_EGREP+set}" = set; then : |
4594 | - $as_echo_n "(cached) " >&6 |
4595 | -else |
4596 | - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4597 | - then ac_cv_path_EGREP="$GREP -E" |
4598 | - else |
4599 | - if test -z "$EGREP"; then |
4600 | - ac_path_EGREP_found=false |
4601 | - # Loop through the user's path and test for each of PROGNAME-LIST |
4602 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4603 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4604 | -do |
4605 | - IFS=$as_save_IFS |
4606 | - test -z "$as_dir" && as_dir=. |
4607 | - for ac_prog in egrep; do |
4608 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4609 | - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4610 | - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4611 | -# Check for GNU ac_path_EGREP and select it if it is found. |
4612 | - # Check for GNU $ac_path_EGREP |
4613 | -case `"$ac_path_EGREP" --version 2>&1` in |
4614 | -*GNU*) |
4615 | - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4616 | -*) |
4617 | - ac_count=0 |
4618 | - $as_echo_n 0123456789 >"conftest.in" |
4619 | - while : |
4620 | - do |
4621 | - cat "conftest.in" "conftest.in" >"conftest.tmp" |
4622 | - mv "conftest.tmp" "conftest.in" |
4623 | - cp "conftest.in" "conftest.nl" |
4624 | - $as_echo 'EGREP' >> "conftest.nl" |
4625 | - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4626 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4627 | - as_fn_arith $ac_count + 1 && ac_count=$as_val |
4628 | - if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4629 | - # Best one so far, save it but keep looking for a better one |
4630 | - ac_cv_path_EGREP="$ac_path_EGREP" |
4631 | - ac_path_EGREP_max=$ac_count |
4632 | - fi |
4633 | - # 10*(2^10) chars as input seems more than enough |
4634 | - test $ac_count -gt 10 && break |
4635 | - done |
4636 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4637 | -esac |
4638 | - |
4639 | - $ac_path_EGREP_found && break 3 |
4640 | - done |
4641 | - done |
4642 | - done |
4643 | -IFS=$as_save_IFS |
4644 | - if test -z "$ac_cv_path_EGREP"; then |
4645 | - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4646 | - fi |
4647 | -else |
4648 | - ac_cv_path_EGREP=$EGREP |
4649 | -fi |
4650 | - |
4651 | - fi |
4652 | -fi |
4653 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4654 | -$as_echo "$ac_cv_path_EGREP" >&6; } |
4655 | - EGREP="$ac_cv_path_EGREP" |
4656 | - |
4657 | - |
4658 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4659 | -$as_echo_n "checking for ANSI C header files... " >&6; } |
4660 | -if test "${ac_cv_header_stdc+set}" = set; then : |
4661 | - $as_echo_n "(cached) " >&6 |
4662 | -else |
4663 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4664 | -/* end confdefs.h. */ |
4665 | -#include <stdlib.h> |
4666 | -#include <stdarg.h> |
4667 | -#include <string.h> |
4668 | -#include <float.h> |
4669 | - |
4670 | -int |
4671 | -main () |
4672 | -{ |
4673 | - |
4674 | - ; |
4675 | - return 0; |
4676 | -} |
4677 | -_ACEOF |
4678 | -if ac_fn_c_try_compile "$LINENO"; then : |
4679 | - ac_cv_header_stdc=yes |
4680 | -else |
4681 | - ac_cv_header_stdc=no |
4682 | -fi |
4683 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4684 | - |
4685 | -if test $ac_cv_header_stdc = yes; then |
4686 | - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4687 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4688 | -/* end confdefs.h. */ |
4689 | -#include <string.h> |
4690 | - |
4691 | -_ACEOF |
4692 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4693 | - $EGREP "memchr" >/dev/null 2>&1; then : |
4694 | - |
4695 | -else |
4696 | - ac_cv_header_stdc=no |
4697 | -fi |
4698 | -rm -f conftest* |
4699 | - |
4700 | -fi |
4701 | - |
4702 | -if test $ac_cv_header_stdc = yes; then |
4703 | - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4704 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4705 | -/* end confdefs.h. */ |
4706 | -#include <stdlib.h> |
4707 | - |
4708 | -_ACEOF |
4709 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4710 | - $EGREP "free" >/dev/null 2>&1; then : |
4711 | - |
4712 | -else |
4713 | - ac_cv_header_stdc=no |
4714 | -fi |
4715 | -rm -f conftest* |
4716 | - |
4717 | -fi |
4718 | - |
4719 | -if test $ac_cv_header_stdc = yes; then |
4720 | - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4721 | - if test "$cross_compiling" = yes; then : |
4722 | - : |
4723 | -else |
4724 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4725 | -/* end confdefs.h. */ |
4726 | -#include <ctype.h> |
4727 | -#include <stdlib.h> |
4728 | -#if ((' ' & 0x0FF) == 0x020) |
4729 | -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4730 | -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4731 | -#else |
4732 | -# define ISLOWER(c) \ |
4733 | - (('a' <= (c) && (c) <= 'i') \ |
4734 | - || ('j' <= (c) && (c) <= 'r') \ |
4735 | - || ('s' <= (c) && (c) <= 'z')) |
4736 | -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4737 | -#endif |
4738 | - |
4739 | -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4740 | -int |
4741 | -main () |
4742 | -{ |
4743 | - int i; |
4744 | - for (i = 0; i < 256; i++) |
4745 | - if (XOR (islower (i), ISLOWER (i)) |
4746 | - || toupper (i) != TOUPPER (i)) |
4747 | - return 2; |
4748 | - return 0; |
4749 | -} |
4750 | -_ACEOF |
4751 | -if ac_fn_c_try_run "$LINENO"; then : |
4752 | - |
4753 | -else |
4754 | - ac_cv_header_stdc=no |
4755 | -fi |
4756 | -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
4757 | - conftest.$ac_objext conftest.beam conftest.$ac_ext |
4758 | -fi |
4759 | - |
4760 | -fi |
4761 | -fi |
4762 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
4763 | -$as_echo "$ac_cv_header_stdc" >&6; } |
4764 | -if test $ac_cv_header_stdc = yes; then |
4765 | - |
4766 | -$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h |
4767 | - |
4768 | -fi |
4769 | - |
4770 | -# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4771 | -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4772 | - inttypes.h stdint.h unistd.h |
4773 | -do : |
4774 | - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4775 | -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4776 | -" |
4777 | -eval as_val=\$$as_ac_Header |
4778 | - if test "x$as_val" = x""yes; then : |
4779 | - cat >>confdefs.h <<_ACEOF |
4780 | -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4781 | -_ACEOF |
4782 | - |
4783 | -fi |
4784 | - |
4785 | -done |
4786 | - |
4787 | - |
4788 | -for ac_header in fcntl.h inttypes.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h |
4789 | -do : |
4790 | - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4791 | -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
4792 | -eval as_val=\$$as_ac_Header |
4793 | - if test "x$as_val" = x""yes; then : |
4794 | - cat >>confdefs.h <<_ACEOF |
4795 | -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4796 | -_ACEOF |
4797 | - |
4798 | -fi |
4799 | - |
4800 | -done |
4801 | - |
4802 | - |
4803 | - |
4804 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
4805 | -$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
4806 | -if test "${ac_cv_header_stdbool_h+set}" = set; then : |
4807 | - $as_echo_n "(cached) " >&6 |
4808 | -else |
4809 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4810 | -/* end confdefs.h. */ |
4811 | - |
4812 | -#include <stdbool.h> |
4813 | -#ifndef bool |
4814 | - "error: bool is not defined" |
4815 | -#endif |
4816 | -#ifndef false |
4817 | - "error: false is not defined" |
4818 | -#endif |
4819 | -#if false |
4820 | - "error: false is not 0" |
4821 | -#endif |
4822 | -#ifndef true |
4823 | - "error: true is not defined" |
4824 | -#endif |
4825 | -#if true != 1 |
4826 | - "error: true is not 1" |
4827 | -#endif |
4828 | -#ifndef __bool_true_false_are_defined |
4829 | - "error: __bool_true_false_are_defined is not defined" |
4830 | -#endif |
4831 | - |
4832 | - struct s { _Bool s: 1; _Bool t; } s; |
4833 | - |
4834 | - char a[true == 1 ? 1 : -1]; |
4835 | - char b[false == 0 ? 1 : -1]; |
4836 | - char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
4837 | - char d[(bool) 0.5 == true ? 1 : -1]; |
4838 | - bool e = &s; |
4839 | - char f[(_Bool) 0.0 == false ? 1 : -1]; |
4840 | - char g[true]; |
4841 | - char h[sizeof (_Bool)]; |
4842 | - char i[sizeof s.t]; |
4843 | - enum { j = false, k = true, l = false * true, m = true * 256 }; |
4844 | - /* The following fails for |
4845 | - HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
4846 | - _Bool n[m]; |
4847 | - char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
4848 | - char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
4849 | -# if defined __xlc__ || defined __GNUC__ |
4850 | - /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 |
4851 | - reported by James Lemley on 2005-10-05; see |
4852 | - http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
4853 | - This test is not quite right, since xlc is allowed to |
4854 | - reject this program, as the initializer for xlcbug is |
4855 | - not one of the forms that C requires support for. |
4856 | - However, doing the test right would require a runtime |
4857 | - test, and that would make cross-compilation harder. |
4858 | - Let us hope that IBM fixes the xlc bug, and also adds |
4859 | - support for this kind of constant expression. In the |
4860 | - meantime, this test will reject xlc, which is OK, since |
4861 | - our stdbool.h substitute should suffice. We also test |
4862 | - this with GCC, where it should work, to detect more |
4863 | - quickly whether someone messes up the test in the |
4864 | - future. */ |
4865 | - char digs[] = "0123456789"; |
4866 | - int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); |
4867 | -# endif |
4868 | - /* Catch a bug in an HP-UX C compiler. See |
4869 | - http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
4870 | - http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
4871 | - */ |
4872 | - _Bool q = true; |
4873 | - _Bool *pq = &q; |
4874 | - |
4875 | -int |
4876 | -main () |
4877 | -{ |
4878 | - |
4879 | - *pq |= q; |
4880 | - *pq |= ! q; |
4881 | - /* Refer to every declared value, to avoid compiler optimizations. */ |
4882 | - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
4883 | - + !m + !n + !o + !p + !q + !pq); |
4884 | - |
4885 | - ; |
4886 | - return 0; |
4887 | -} |
4888 | -_ACEOF |
4889 | -if ac_fn_c_try_compile "$LINENO"; then : |
4890 | - ac_cv_header_stdbool_h=yes |
4891 | -else |
4892 | - ac_cv_header_stdbool_h=no |
4893 | -fi |
4894 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4895 | -fi |
4896 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
4897 | -$as_echo "$ac_cv_header_stdbool_h" >&6; } |
4898 | -ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
4899 | -if test "x$ac_cv_type__Bool" = x""yes; then : |
4900 | - |
4901 | -cat >>confdefs.h <<_ACEOF |
4902 | -@%:@define HAVE__BOOL 1 |
4903 | -_ACEOF |
4904 | - |
4905 | - |
4906 | -fi |
4907 | - |
4908 | -if test $ac_cv_header_stdbool_h = yes; then |
4909 | - |
4910 | -$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h |
4911 | - |
4912 | -fi |
4913 | - |
4914 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
4915 | -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
4916 | -if test "${ac_cv_c_const+set}" = set; then : |
4917 | - $as_echo_n "(cached) " >&6 |
4918 | -else |
4919 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4920 | -/* end confdefs.h. */ |
4921 | - |
4922 | -int |
4923 | -main () |
4924 | -{ |
4925 | -/* FIXME: Include the comments suggested by Paul. */ |
4926 | -#ifndef __cplusplus |
4927 | - /* Ultrix mips cc rejects this. */ |
4928 | - typedef int charset[2]; |
4929 | - const charset cs; |
4930 | - /* SunOS 4.1.1 cc rejects this. */ |
4931 | - char const *const *pcpcc; |
4932 | - char **ppc; |
4933 | - /* NEC SVR4.0.2 mips cc rejects this. */ |
4934 | - struct point {int x, y;}; |
4935 | - static struct point const zero = {0,0}; |
4936 | - /* AIX XL C 1.02.0.0 rejects this. |
4937 | - It does not let you subtract one const X* pointer from another in |
4938 | - an arm of an if-expression whose if-part is not a constant |
4939 | - expression */ |
4940 | - const char *g = "string"; |
4941 | - pcpcc = &g + (g ? g-g : 0); |
4942 | - /* HPUX 7.0 cc rejects these. */ |
4943 | - ++pcpcc; |
4944 | - ppc = (char**) pcpcc; |
4945 | - pcpcc = (char const *const *) ppc; |
4946 | - { /* SCO 3.2v4 cc rejects this. */ |
4947 | - char *t; |
4948 | - char const *s = 0 ? (char *) 0 : (char const *) 0; |
4949 | - |
4950 | - *t++ = 0; |
4951 | - if (s) return 0; |
4952 | - } |
4953 | - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
4954 | - int x[] = {25, 17}; |
4955 | - const int *foo = &x[0]; |
4956 | - ++foo; |
4957 | - } |
4958 | - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
4959 | - typedef const int *iptr; |
4960 | - iptr p = 0; |
4961 | - ++p; |
4962 | - } |
4963 | - { /* AIX XL C 1.02.0.0 rejects this saying |
4964 | - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
4965 | - struct s { int j; const int *ap[3]; }; |
4966 | - struct s *b; b->j = 5; |
4967 | - } |
4968 | - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
4969 | - const int foo = 10; |
4970 | - if (!foo) return 0; |
4971 | - } |
4972 | - return !cs[0] && !zero.x; |
4973 | -#endif |
4974 | - |
4975 | - ; |
4976 | - return 0; |
4977 | -} |
4978 | -_ACEOF |
4979 | -if ac_fn_c_try_compile "$LINENO"; then : |
4980 | - ac_cv_c_const=yes |
4981 | -else |
4982 | - ac_cv_c_const=no |
4983 | -fi |
4984 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4985 | -fi |
4986 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
4987 | -$as_echo "$ac_cv_c_const" >&6; } |
4988 | -if test $ac_cv_c_const = no; then |
4989 | - |
4990 | -$as_echo "@%:@define const /**/" >>confdefs.h |
4991 | - |
4992 | -fi |
4993 | - |
4994 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
4995 | -$as_echo_n "checking for inline... " >&6; } |
4996 | -if test "${ac_cv_c_inline+set}" = set; then : |
4997 | - $as_echo_n "(cached) " >&6 |
4998 | -else |
4999 | - ac_cv_c_inline=no |
5000 | -for ac_kw in inline __inline__ __inline; do |
Why is the revision number computation broken?
It has (after many best-efforts to break it) been working fine.
Setting it to 0 is definitely a retrograde step. Please re-instate it.