summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
l---------COPYING1
-rw-r--r--ChangeLog3
l---------INSTALL1
-rw-r--r--Makefile13
-rw-r--r--Makefile.am1
-rw-r--r--Makefile.in603
-rw-r--r--NEWS0
-rw-r--r--README0
-rw-r--r--aclocal.m41037
-rw-r--r--autom4te.cache/output.06575
-rw-r--r--autom4te.cache/output.16575
-rw-r--r--autom4te.cache/requests137
-rw-r--r--autom4te.cache/traces.0779
-rw-r--r--autom4te.cache/traces.1412
-rw-r--r--config.h.in61
-rwxr-xr-xconfigure6575
-rw-r--r--configure.ac28
l---------depcomp1
l---------install-sh1
l---------missing1
-rw-r--r--src/Makefile.am3
-rw-r--r--src/Makefile.in417
-rw-r--r--src/gamestate.cpp (renamed from gamestate.cpp)0
-rw-r--r--src/gamestate.h (renamed from gamestate.h)0
-rw-r--r--src/includes.h (renamed from includes.h)0
-rw-r--r--src/mazeoflife.cpp (renamed from mazeoflife.cpp)0
-rw-r--r--src/mazeoflife.h (renamed from mazeoflife.h)0
-rw-r--r--src/state.h (renamed from state.h)0
29 files changed, 23212 insertions, 13 deletions
diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..3057e03 --- /dev/null +++ b/AUTHORS
@@ -0,0 +1 @@
Maze of Life was written in its entirety by Starla Insigna.
diff --git a/COPYING b/COPYING new file mode 120000 index 0000000..0b6cbf8 --- /dev/null +++ b/COPYING
@@ -0,0 +1 @@
/usr/share/automake-1.10/COPYING \ No newline at end of file
diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..4c3ec65 --- /dev/null +++ b/ChangeLog
@@ -0,0 +1,3 @@
1Maze Of Life 2.0
2 * Rewrite in C++
3 * Faster graphics and gameplay
diff --git a/INSTALL b/INSTALL new file mode 120000 index 0000000..5bb6e7b --- /dev/null +++ b/INSTALL
@@ -0,0 +1 @@
/usr/share/automake-1.10/INSTALL \ No newline at end of file
diff --git a/Makefile b/Makefile deleted file mode 100644 index 0eb1738..0000000 --- a/Makefile +++ /dev/null
@@ -1,13 +0,0 @@
1OBJS = mazeoflife.o gamestate.o
2CC = g++
3CFLAGS = `pkg-config sdl --cflags`
4LIBS = `pkg-config sdl --libs`
5
6mazeoflife: $(OBJS)
7 $(CC) $(OBJS) $(LIBS) -o mazeoflife
8
9%.o: %.cpp
10 $(CC) -c $< $(CFLAGS) -o $@
11
12clean:
13 rm -rdfv $(OBJS) mazeoflife
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..af437a6 --- /dev/null +++ b/Makefile.am
@@ -0,0 +1 @@
SUBDIRS = src
diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..f2b98b4 --- /dev/null +++ b/Makefile.in
@@ -0,0 +1,603 @@
1# Makefile.in generated by automake 1.10.2 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16VPATH = @srcdir@
17pkgdatadir = $(datadir)/@PACKAGE@
18pkglibdir = $(libdir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@
20am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21install_sh_DATA = $(install_sh) -c -m 644
22install_sh_PROGRAM = $(install_sh) -c
23install_sh_SCRIPT = $(install_sh) -c
24INSTALL_HEADER = $(INSTALL_DATA)
25transform = $(program_transform_name)
26NORMAL_INSTALL = :
27PRE_INSTALL = :
28POST_INSTALL = :
29NORMAL_UNINSTALL = :
30PRE_UNINSTALL = :
31POST_UNINSTALL = :
32subdir = .
33DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
34 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
35 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
36 depcomp install-sh missing
37ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38am__aclocal_m4_deps = $(top_srcdir)/configure.ac
39am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40 $(ACLOCAL_M4)
41am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
42 configure.lineno config.status.lineno
43mkinstalldirs = $(install_sh) -d
44CONFIG_HEADER = config.h
45CONFIG_CLEAN_FILES =
46SOURCES =
47DIST_SOURCES =
48RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
49 html-recursive info-recursive install-data-recursive \
50 install-dvi-recursive install-exec-recursive \
51 install-html-recursive install-info-recursive \
52 install-pdf-recursive install-ps-recursive install-recursive \
53 installcheck-recursive installdirs-recursive pdf-recursive \
54 ps-recursive uninstall-recursive
55RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
56 distclean-recursive maintainer-clean-recursive
57ETAGS = etags
58CTAGS = ctags
59DIST_SUBDIRS = $(SUBDIRS)
60DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61distdir = $(PACKAGE)-$(VERSION)
62top_distdir = $(distdir)
63am__remove_distdir = \
64 { test ! -d $(distdir) \
65 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
66 && rm -fr $(distdir); }; }
67DIST_ARCHIVES = $(distdir).tar.gz
68GZIP_ENV = --best
69distuninstallcheck_listfiles = find . -type f -print
70distcleancheck_listfiles = find . -type f -print
71ACLOCAL = @ACLOCAL@
72AMTAR = @AMTAR@
73AUTOCONF = @AUTOCONF@
74AUTOHEADER = @AUTOHEADER@
75AUTOMAKE = @AUTOMAKE@
76AWK = @AWK@
77CC = @CC@
78CCDEPMODE = @CCDEPMODE@
79CFLAGS = @CFLAGS@
80CPP = @CPP@
81CPPFLAGS = @CPPFLAGS@
82CXX = @CXX@
83CXXDEPMODE = @CXXDEPMODE@
84CXXFLAGS = @CXXFLAGS@
85CYGPATH_W = @CYGPATH_W@
86DEFS = @DEFS@
87DEPDIR = @DEPDIR@
88ECHO_C = @ECHO_C@
89ECHO_N = @ECHO_N@
90ECHO_T = @ECHO_T@
91EGREP = @EGREP@
92EXEEXT = @EXEEXT@
93GREP = @GREP@
94INSTALL = @INSTALL@
95INSTALL_DATA = @INSTALL_DATA@
96INSTALL_PROGRAM = @INSTALL_PROGRAM@
97INSTALL_SCRIPT = @INSTALL_SCRIPT@
98INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
99LDFLAGS = @LDFLAGS@
100LIBOBJS = @LIBOBJS@
101LIBS = @LIBS@
102LTLIBOBJS = @LTLIBOBJS@
103MAKEINFO = @MAKEINFO@
104MKDIR_P = @MKDIR_P@
105OBJEXT = @OBJEXT@
106PACKAGE = @PACKAGE@
107PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108PACKAGE_NAME = @PACKAGE_NAME@
109PACKAGE_STRING = @PACKAGE_STRING@
110PACKAGE_TARNAME = @PACKAGE_TARNAME@
111PACKAGE_VERSION = @PACKAGE_VERSION@
112PATH_SEPARATOR = @PATH_SEPARATOR@
113PKG_CONFIG = @PKG_CONFIG@
114SDL_CFLAGS = @SDL_CFLAGS@
115SDL_LIBS = @SDL_LIBS@
116SET_MAKE = @SET_MAKE@
117SHELL = @SHELL@
118STRIP = @STRIP@
119VERSION = @VERSION@
120abs_builddir = @abs_builddir@
121abs_srcdir = @abs_srcdir@
122abs_top_builddir = @abs_top_builddir@
123abs_top_srcdir = @abs_top_srcdir@
124ac_ct_CC = @ac_ct_CC@
125ac_ct_CXX = @ac_ct_CXX@
126am__include = @am__include@
127am__leading_dot = @am__leading_dot@
128am__quote = @am__quote@
129am__tar = @am__tar@
130am__untar = @am__untar@
131bindir = @bindir@
132build_alias = @build_alias@
133builddir = @builddir@
134datadir = @datadir@
135datarootdir = @datarootdir@
136docdir = @docdir@
137dvidir = @dvidir@
138exec_prefix = @exec_prefix@
139host_alias = @host_alias@
140htmldir = @htmldir@
141includedir = @includedir@
142infodir = @infodir@
143install_sh = @install_sh@
144libdir = @libdir@
145libexecdir = @libexecdir@
146localedir = @localedir@
147localstatedir = @localstatedir@
148mandir = @mandir@
149mkdir_p = @mkdir_p@
150oldincludedir = @oldincludedir@
151pdfdir = @pdfdir@
152prefix = @prefix@
153program_transform_name = @program_transform_name@
154psdir = @psdir@
155sbindir = @sbindir@
156sharedstatedir = @sharedstatedir@
157srcdir = @srcdir@
158sysconfdir = @sysconfdir@
159target_alias = @target_alias@
160top_build_prefix = @top_build_prefix@
161top_builddir = @top_builddir@
162top_srcdir = @top_srcdir@
163SUBDIRS = src
164all: config.h
165 $(MAKE) $(AM_MAKEFLAGS) all-recursive
166
167.SUFFIXES:
168am--refresh:
169 @:
170$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
171 @for dep in $?; do \
172 case '$(am__configure_deps)' in \
173 *$$dep*) \
174 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
175 cd $(srcdir) && $(AUTOMAKE) --gnu \
176 && exit 0; \
177 exit 1;; \
178 esac; \
179 done; \
180 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
181 cd $(top_srcdir) && \
182 $(AUTOMAKE) --gnu Makefile
183.PRECIOUS: Makefile
184Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
185 @case '$?' in \
186 *config.status*) \
187 echo ' $(SHELL) ./config.status'; \
188 $(SHELL) ./config.status;; \
189 *) \
190 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
191 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
192 esac;
193
194$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195 $(SHELL) ./config.status --recheck
196
197$(top_srcdir)/configure: $(am__configure_deps)
198 cd $(srcdir) && $(AUTOCONF)
199$(ACLOCAL_M4): $(am__aclocal_m4_deps)
200 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
201
202config.h: stamp-h1
203 @if test ! -f $@; then \
204 rm -f stamp-h1; \
205 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
206 else :; fi
207
208stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
209 @rm -f stamp-h1
210 cd $(top_builddir) && $(SHELL) ./config.status config.h
211$(srcdir)/config.h.in: $(am__configure_deps)
212 cd $(top_srcdir) && $(AUTOHEADER)
213 rm -f stamp-h1
214 touch $@
215
216distclean-hdr:
217 -rm -f config.h stamp-h1
218
219# This directory's subdirectories are mostly independent; you can cd
220# into them and run `make' without going through this Makefile.
221# To change the values of `make' variables: instead of editing Makefiles,
222# (1) if the variable is set in `config.status', edit `config.status'
223# (which will cause the Makefiles to be regenerated when you run `make');
224# (2) otherwise, pass the desired values on the `make' command line.
225$(RECURSIVE_TARGETS):
226 @failcom='exit 1'; \
227 for f in x $$MAKEFLAGS; do \
228 case $$f in \
229 *=* | --[!k]*);; \
230 *k*) failcom='fail=yes';; \
231 esac; \
232 done; \
233 dot_seen=no; \
234 target=`echo $@ | sed s/-recursive//`; \
235 list='$(SUBDIRS)'; for subdir in $$list; do \
236 echo "Making $$target in $$subdir"; \
237 if test "$$subdir" = "."; then \
238 dot_seen=yes; \
239 local_target="$$target-am"; \
240 else \
241 local_target="$$target"; \
242 fi; \
243 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
244 || eval $$failcom; \
245 done; \
246 if test "$$dot_seen" = "no"; then \
247 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
248 fi; test -z "$$fail"
249
250$(RECURSIVE_CLEAN_TARGETS):
251 @failcom='exit 1'; \
252 for f in x $$MAKEFLAGS; do \
253 case $$f in \
254 *=* | --[!k]*);; \
255 *k*) failcom='fail=yes';; \
256 esac; \
257 done; \
258 dot_seen=no; \
259 case "$@" in \
260 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
261 *) list='$(SUBDIRS)' ;; \
262 esac; \
263 rev=''; for subdir in $$list; do \
264 if test "$$subdir" = "."; then :; else \
265 rev="$$subdir $$rev"; \
266 fi; \
267 done; \
268 rev="$$rev ."; \
269 target=`echo $@ | sed s/-recursive//`; \
270 for subdir in $$rev; do \
271 echo "Making $$target in $$subdir"; \
272 if test "$$subdir" = "."; then \
273 local_target="$$target-am"; \
274 else \
275 local_target="$$target"; \
276 fi; \
277 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
278 || eval $$failcom; \
279 done && test -z "$$fail"
280tags-recursive:
281 list='$(SUBDIRS)'; for subdir in $$list; do \
282 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
283 done
284ctags-recursive:
285 list='$(SUBDIRS)'; for subdir in $$list; do \
286 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
287 done
288
289ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
290 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
291 unique=`for i in $$list; do \
292 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
293 done | \
294 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
295 END { if (nonempty) { for (i in files) print i; }; }'`; \
296 mkid -fID $$unique
297tags: TAGS
298
299TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
300 $(TAGS_FILES) $(LISP)
301 tags=; \
302 here=`pwd`; \
303 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
304 include_option=--etags-include; \
305 empty_fix=.; \
306 else \
307 include_option=--include; \
308 empty_fix=; \
309 fi; \
310 list='$(SUBDIRS)'; for subdir in $$list; do \
311 if test "$$subdir" = .; then :; else \
312 test ! -f $$subdir/TAGS || \
313 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
314 fi; \
315 done; \
316 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
317 unique=`for i in $$list; do \
318 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
319 done | \
320 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
321 END { if (nonempty) { for (i in files) print i; }; }'`; \
322 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
323 test -n "$$unique" || unique=$$empty_fix; \
324 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
325 $$tags $$unique; \
326 fi
327ctags: CTAGS
328CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
329 $(TAGS_FILES) $(LISP)
330 tags=; \
331 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
332 unique=`for i in $$list; do \
333 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
334 done | \
335 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
336 END { if (nonempty) { for (i in files) print i; }; }'`; \
337 test -z "$(CTAGS_ARGS)$$tags$$unique" \
338 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
339 $$tags $$unique
340
341GTAGS:
342 here=`$(am__cd) $(top_builddir) && pwd` \
343 && cd $(top_srcdir) \
344 && gtags -i $(GTAGS_ARGS) $$here
345
346distclean-tags:
347 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
348
349distdir: $(DISTFILES)
350 $(am__remove_distdir)
351 test -d $(distdir) || mkdir $(distdir)
352 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
353 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
354 list='$(DISTFILES)'; \
355 dist_files=`for file in $$list; do echo $$file; done | \
356 sed -e "s|^$$srcdirstrip/||;t" \
357 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
358 case $$dist_files in \
359 */*) $(MKDIR_P) `echo "$$dist_files" | \
360 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
361 sort -u` ;; \
362 esac; \
363 for file in $$dist_files; do \
364 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
365 if test -d $$d/$$file; then \
366 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
367 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
368 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
369 fi; \
370 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
371 else \
372 test -f $(distdir)/$$file \
373 || cp -p $$d/$$file $(distdir)/$$file \
374 || exit 1; \
375 fi; \
376 done
377 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
378 if test "$$subdir" = .; then :; else \
379 test -d "$(distdir)/$$subdir" \
380 || $(MKDIR_P) "$(distdir)/$$subdir" \
381 || exit 1; \
382 distdir=`$(am__cd) $(distdir) && pwd`; \
383 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
384 (cd $$subdir && \
385 $(MAKE) $(AM_MAKEFLAGS) \
386 top_distdir="$$top_distdir" \
387 distdir="$$distdir/$$subdir" \
388 am__remove_distdir=: \
389 am__skip_length_check=: \
390 distdir) \
391 || exit 1; \
392 fi; \
393 done
394 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
395 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
396 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
397 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
398 || chmod -R a+r $(distdir)
399dist-gzip: distdir
400 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
401 $(am__remove_distdir)
402
403dist-bzip2: distdir
404 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
405 $(am__remove_distdir)
406
407dist-lzma: distdir
408 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
409 $(am__remove_distdir)
410
411dist-tarZ: distdir
412 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
413 $(am__remove_distdir)
414
415dist-shar: distdir
416 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
417 $(am__remove_distdir)
418
419dist-zip: distdir
420 -rm -f $(distdir).zip
421 zip -rq $(distdir).zip $(distdir)
422 $(am__remove_distdir)
423
424dist dist-all: distdir
425 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
426 $(am__remove_distdir)
427
428# This target untars the dist file and tries a VPATH configuration. Then
429# it guarantees that the distribution is self-contained by making another
430# tarfile.
431distcheck: dist
432 case '$(DIST_ARCHIVES)' in \
433 *.tar.gz*) \
434 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
435 *.tar.bz2*) \
436 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
437 *.tar.lzma*) \
438 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
439 *.tar.Z*) \
440 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
441 *.shar.gz*) \
442 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
443 *.zip*) \
444 unzip $(distdir).zip ;;\
445 esac
446 chmod -R a-w $(distdir); chmod a+w $(distdir)
447 mkdir $(distdir)/_build
448 mkdir $(distdir)/_inst
449 chmod a-w $(distdir)
450 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
451 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
452 && cd $(distdir)/_build \
453 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
454 $(DISTCHECK_CONFIGURE_FLAGS) \
455 && $(MAKE) $(AM_MAKEFLAGS) \
456 && $(MAKE) $(AM_MAKEFLAGS) dvi \
457 && $(MAKE) $(AM_MAKEFLAGS) check \
458 && $(MAKE) $(AM_MAKEFLAGS) install \
459 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
460 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
461 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
462 distuninstallcheck \
463 && chmod -R a-w "$$dc_install_base" \
464 && ({ \
465 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
466 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
467 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
468 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
469 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
470 } || { rm -rf "$$dc_destdir"; exit 1; }) \
471 && rm -rf "$$dc_destdir" \
472 && $(MAKE) $(AM_MAKEFLAGS) dist \
473 && rm -rf $(DIST_ARCHIVES) \
474 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
475 $(am__remove_distdir)
476 @(echo "$(distdir) archives ready for distribution: "; \
477 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
478 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
479distuninstallcheck:
480 @cd $(distuninstallcheck_dir) \
481 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
482 || { echo "ERROR: files left after uninstall:" ; \
483 if test -n "$(DESTDIR)"; then \
484 echo " (check DESTDIR support)"; \
485 fi ; \
486 $(distuninstallcheck_listfiles) ; \
487 exit 1; } >&2
488distcleancheck: distclean
489 @if test '$(srcdir)' = . ; then \
490 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
491 exit 1 ; \
492 fi
493 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
494 || { echo "ERROR: files left in build directory after distclean:" ; \
495 $(distcleancheck_listfiles) ; \
496 exit 1; } >&2
497check-am: all-am
498check: check-recursive
499all-am: Makefile config.h
500installdirs: installdirs-recursive
501installdirs-am:
502install: install-recursive
503install-exec: install-exec-recursive
504install-data: install-data-recursive
505uninstall: uninstall-recursive
506
507install-am: all-am
508 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
509
510installcheck: installcheck-recursive
511install-strip:
512 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
513 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
514 `test -z '$(STRIP)' || \
515 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
516mostlyclean-generic:
517
518clean-generic:
519
520distclean-generic:
521 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
522
523maintainer-clean-generic:
524 @echo "This command is intended for maintainers to use"
525 @echo "it deletes files that may require special tools to rebuild."
526clean: clean-recursive
527
528clean-am: clean-generic mostlyclean-am
529
530distclean: distclean-recursive
531 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
532 -rm -f Makefile
533distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
534
535dvi: dvi-recursive
536
537dvi-am:
538
539html: html-recursive
540
541info: info-recursive
542
543info-am:
544
545install-data-am:
546
547install-dvi: install-dvi-recursive
548
549install-exec-am:
550
551install-html: install-html-recursive
552
553install-info: install-info-recursive
554
555install-man:
556
557install-pdf: install-pdf-recursive
558
559install-ps: install-ps-recursive
560
561installcheck-am:
562
563maintainer-clean: maintainer-clean-recursive
564 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
565 -rm -rf $(top_srcdir)/autom4te.cache
566 -rm -f Makefile
567maintainer-clean-am: distclean-am maintainer-clean-generic
568
569mostlyclean: mostlyclean-recursive
570
571mostlyclean-am: mostlyclean-generic
572
573pdf: pdf-recursive
574
575pdf-am:
576
577ps: ps-recursive
578
579ps-am:
580
581uninstall-am:
582
583.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
584 install-strip
585
586.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
587 all all-am am--refresh check check-am clean clean-generic \
588 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
589 dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
590 distclean-generic distclean-hdr distclean-tags distcleancheck \
591 distdir distuninstallcheck dvi dvi-am html html-am info \
592 info-am install install-am install-data install-data-am \
593 install-dvi install-dvi-am install-exec install-exec-am \
594 install-html install-html-am install-info install-info-am \
595 install-man install-pdf install-pdf-am install-ps \
596 install-ps-am install-strip installcheck installcheck-am \
597 installdirs installdirs-am maintainer-clean \
598 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
599 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
600
601# Tell versions [3.59,3.63) of GNU make to not export all variables.
602# Otherwise a system limit (for SysV at least) may be exceeded.
603.NOEXPORT:
diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/NEWS
diff --git a/README b/README new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/README
diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..8cf8f23 --- /dev/null +++ b/aclocal.m4
@@ -0,0 +1,1037 @@
1# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17[m4_warning([this file was generated for autoconf 2.63.
18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25#
26# This program is free software; you can redistribute it and/or modify
27# it under the terms of the GNU General Public License as published by
28# the Free Software Foundation; either version 2 of the License, or
29# (at your option) any later version.
30#
31# This program is distributed in the hope that it will be useful, but
32# WITHOUT ANY WARRANTY; without even the implied warranty of
33# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
34# General Public License for more details.
35#
36# You should have received a copy of the GNU General Public License
37# along with this program; if not, write to the Free Software
38# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
39#
40# As a special exception to the GNU General Public License, if you
41# distribute this file as part of a program that contains a
42# configuration script generated by Autoconf, you may include it under
43# the same distribution terms that you use for the rest of that program.
44
45# PKG_PROG_PKG_CONFIG([MIN-VERSION])
46# ----------------------------------
47AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi
54if test -n "$PKG_CONFIG"; then
55 _pkg_min_version=m4_default([$1], [0.9.0])
56 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
57 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
58 AC_MSG_RESULT([yes])
59 else
60 AC_MSG_RESULT([no])
61 PKG_CONFIG=""
62 fi
63
64fi[]dnl
65])# PKG_PROG_PKG_CONFIG
66
67# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
68#
69# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71#
72#
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of
74# this or PKG_CHECK_MODULES is called, or make sure to call
75# PKG_CHECK_EXISTS manually
76# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:])
82m4_ifvaln([$3], [else
83 $3])dnl
84fi])
85
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# ---------------------------------------------
89m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then
91 if test -n "$$1"; then
92 pkg_cv_[]$1="$$1"
93 else
94 PKG_CHECK_EXISTS([$3],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
96 [pkg_failed=yes])
97 fi
98else
99 pkg_failed=untried
100fi[]dnl
101])# _PKG_CONFIG
102
103# _PKG_SHORT_ERRORS_SUPPORTED
104# -----------------------------
105AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
106[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
107if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
108 _pkg_short_errors_supported=yes
109else
110 _pkg_short_errors_supported=no
111fi[]dnl
112])# _PKG_SHORT_ERRORS_SUPPORTED
113
114
115# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
116# [ACTION-IF-NOT-FOUND])
117#
118#
119# Note that if there is a possibility the first call to
120# PKG_CHECK_MODULES might not happen, you should be sure to include an
121# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
122#
123#
124# --------------------------------------------------------------
125AC_DEFUN([PKG_CHECK_MODULES],
126[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
127AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
128AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
129
130pkg_failed=no
131AC_MSG_CHECKING([for $1])
132
133_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
134_PKG_CONFIG([$1][_LIBS], [libs], [$2])
135
136m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
137and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.])
139
140if test $pkg_failed = yes; then
141 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
144 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
146 fi
147 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149
150 ifelse([$4], , [AC_MSG_ERROR(dnl
151[Package requirements ($2) were not met:
152
153$$1_PKG_ERRORS
154
155Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix.
157
158_PKG_TEXT
159])],
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl
164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config.
167
168_PKG_TEXT
169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
171 [$4])
172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3])
177fi[]dnl
178])# PKG_CHECK_MODULES
179
180# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
181#
182# This file is free software; the Free Software Foundation
183# gives unlimited permission to copy and/or distribute it,
184# with or without modifications, as long as this notice is preserved.
185
186# AM_AUTOMAKE_VERSION(VERSION)
187# ----------------------------
188# Automake X.Y traces this macro to ensure aclocal.m4 has been
189# generated from the m4 files accompanying Automake X.Y.
190# (This private macro should not be called outside this file.)
191AC_DEFUN([AM_AUTOMAKE_VERSION],
192[am__api_version='1.10'
193dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
194dnl require some minimum version. Point them to the right macro.
195m4_if([$1], [1.10.2], [],
196 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
197])
198
199# _AM_AUTOCONF_VERSION(VERSION)
200# -----------------------------
201# aclocal traces this macro to find the Autoconf version.
202# This is a private macro too. Using m4_define simplifies
203# the logic in aclocal, which can simply ignore this definition.
204m4_define([_AM_AUTOCONF_VERSION], [])
205
206# AM_SET_CURRENT_AUTOMAKE_VERSION
207# -------------------------------
208# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
209# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
210AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
211[AM_AUTOMAKE_VERSION([1.10.2])dnl
212m4_ifndef([AC_AUTOCONF_VERSION],
213 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
214_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
215
216# AM_AUX_DIR_EXPAND -*- Autoconf -*-
217
218# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
219#
220# This file is free software; the Free Software Foundation
221# gives unlimited permission to copy and/or distribute it,
222# with or without modifications, as long as this notice is preserved.
223
224# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
225# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
226# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
227#
228# Of course, Automake must honor this variable whenever it calls a
229# tool from the auxiliary directory. The problem is that $srcdir (and
230# therefore $ac_aux_dir as well) can be either absolute or relative,
231# depending on how configure is run. This is pretty annoying, since
232# it makes $ac_aux_dir quite unusable in subdirectories: in the top
233# source directory, any form will work fine, but in subdirectories a
234# relative path needs to be adjusted first.
235#
236# $ac_aux_dir/missing
237# fails when called from a subdirectory if $ac_aux_dir is relative
238# $top_srcdir/$ac_aux_dir/missing
239# fails if $ac_aux_dir is absolute,
240# fails when called from a subdirectory in a VPATH build with
241# a relative $ac_aux_dir
242#
243# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
244# are both prefixed by $srcdir. In an in-source build this is usually
245# harmless because $srcdir is `.', but things will broke when you
246# start a VPATH build or use an absolute $srcdir.
247#
248# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
249# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
250# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
251# and then we would define $MISSING as
252# MISSING="\${SHELL} $am_aux_dir/missing"
253# This will work as long as MISSING is not called from configure, because
254# unfortunately $(top_srcdir) has no meaning in configure.
255# However there are other variables, like CC, which are often used in
256# configure, and could therefore not use this "fixed" $ac_aux_dir.
257#
258# Another solution, used here, is to always expand $ac_aux_dir to an
259# absolute PATH. The drawback is that using absolute paths prevent a
260# configured tree to be moved without reconfiguration.
261
262AC_DEFUN([AM_AUX_DIR_EXPAND],
263[dnl Rely on autoconf to set up CDPATH properly.
264AC_PREREQ([2.50])dnl
265# expand $ac_aux_dir to an absolute path
266am_aux_dir=`cd $ac_aux_dir && pwd`
267])
268
269# AM_CONDITIONAL -*- Autoconf -*-
270
271# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
272# Free Software Foundation, Inc.
273#
274# This file is free software; the Free Software Foundation
275# gives unlimited permission to copy and/or distribute it,
276# with or without modifications, as long as this notice is preserved.
277
278# serial 8
279
280# AM_CONDITIONAL(NAME, SHELL-CONDITION)
281# -------------------------------------
282# Define a conditional.
283AC_DEFUN([AM_CONDITIONAL],
284[AC_PREREQ(2.52)dnl
285 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
286 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
287AC_SUBST([$1_TRUE])dnl
288AC_SUBST([$1_FALSE])dnl
289_AM_SUBST_NOTMAKE([$1_TRUE])dnl
290_AM_SUBST_NOTMAKE([$1_FALSE])dnl
291if $2; then
292 $1_TRUE=
293 $1_FALSE='#'
294else
295 $1_TRUE='#'
296 $1_FALSE=
297fi
298AC_CONFIG_COMMANDS_PRE(
299[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
300 AC_MSG_ERROR([[conditional "$1" was never defined.
301Usually this means the macro was only invoked conditionally.]])
302fi])])
303
304# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
305# Free Software Foundation, Inc.
306#
307# This file is free software; the Free Software Foundation
308# gives unlimited permission to copy and/or distribute it,
309# with or without modifications, as long as this notice is preserved.
310
311# serial 9
312
313# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
314# written in clear, in which case automake, when reading aclocal.m4,
315# will think it sees a *use*, and therefore will trigger all it's
316# C support machinery. Also note that it means that autoscan, seeing
317# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
318
319
320# _AM_DEPENDENCIES(NAME)
321# ----------------------
322# See how the compiler implements dependency checking.
323# NAME is "CC", "CXX", "GCJ", or "OBJC".
324# We try a few techniques and use that to set a single cache variable.
325#
326# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
327# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
328# dependency, and given that the user is not expected to run this macro,
329# just rely on AC_PROG_CC.
330AC_DEFUN([_AM_DEPENDENCIES],
331[AC_REQUIRE([AM_SET_DEPDIR])dnl
332AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
333AC_REQUIRE([AM_MAKE_INCLUDE])dnl
334AC_REQUIRE([AM_DEP_TRACK])dnl
335
336ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
337 [$1], CXX, [depcc="$CXX" am_compiler_list=],
338 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
339 [$1], UPC, [depcc="$UPC" am_compiler_list=],
340 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
341 [depcc="$$1" am_compiler_list=])
342
343AC_CACHE_CHECK([dependency style of $depcc],
344 [am_cv_$1_dependencies_compiler_type],
345[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
346 # We make a subdir and do the tests there. Otherwise we can end up
347 # making bogus files that we don't know about and never remove. For
348 # instance it was reported that on HP-UX the gcc test will end up
349 # making a dummy file named `D' -- because `-MD' means `put the output
350 # in D'.
351 mkdir conftest.dir
352 # Copy depcomp to subdir because otherwise we won't find it if we're
353 # using a relative directory.
354 cp "$am_depcomp" conftest.dir
355 cd conftest.dir
356 # We will build objects and dependencies in a subdirectory because
357 # it helps to detect inapplicable dependency modes. For instance
358 # both Tru64's cc and ICC support -MD to output dependencies as a
359 # side effect of compilation, but ICC will put the dependencies in
360 # the current directory while Tru64 will put them in the object
361 # directory.
362 mkdir sub
363
364 am_cv_$1_dependencies_compiler_type=none
365 if test "$am_compiler_list" = ""; then
366 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
367 fi
368 for depmode in $am_compiler_list; do
369 # Setup a source with many dependencies, because some compilers
370 # like to wrap large dependency lists on column 80 (with \), and
371 # we should not choose a depcomp mode which is confused by this.
372 #
373 # We need to recreate these files for each test, as the compiler may
374 # overwrite some of them when testing with obscure command lines.
375 # This happens at least with the AIX C compiler.
376 : > sub/conftest.c
377 for i in 1 2 3 4 5 6; do
378 echo '#include "conftst'$i'.h"' >> sub/conftest.c
379 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
380 # Solaris 8's {/usr,}/bin/sh.
381 touch sub/conftst$i.h
382 done
383 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
384
385 case $depmode in
386 nosideeffect)
387 # after this tag, mechanisms are not by side-effect, so they'll
388 # only be used when explicitly requested
389 if test "x$enable_dependency_tracking" = xyes; then
390 continue
391 else
392 break
393 fi
394 ;;
395 none) break ;;
396 esac
397 # We check with `-c' and `-o' for the sake of the "dashmstdout"
398 # mode. It turns out that the SunPro C++ compiler does not properly
399 # handle `-M -o', and we need to detect this.
400 if depmode=$depmode \
401 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
402 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
403 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
404 >/dev/null 2>conftest.err &&
405 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
406 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
407 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
408 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
409 # icc doesn't choke on unknown options, it will just issue warnings
410 # or remarks (even with -Werror). So we grep stderr for any message
411 # that says an option was ignored or not supported.
412 # When given -MP, icc 7.0 and 7.1 complain thusly:
413 # icc: Command line warning: ignoring option '-M'; no argument required
414 # The diagnosis changed in icc 8.0:
415 # icc: Command line remark: option '-MP' not supported
416 if (grep 'ignoring option' conftest.err ||
417 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
418 am_cv_$1_dependencies_compiler_type=$depmode
419 break
420 fi
421 fi
422 done
423
424 cd ..
425 rm -rf conftest.dir
426else
427 am_cv_$1_dependencies_compiler_type=none
428fi
429])
430AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
431AM_CONDITIONAL([am__fastdep$1], [
432 test "x$enable_dependency_tracking" != xno \
433 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
434])
435
436
437# AM_SET_DEPDIR
438# -------------
439# Choose a directory name for dependency files.
440# This macro is AC_REQUIREd in _AM_DEPENDENCIES
441AC_DEFUN([AM_SET_DEPDIR],
442[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
443AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
444])
445
446
447# AM_DEP_TRACK
448# ------------
449AC_DEFUN([AM_DEP_TRACK],
450[AC_ARG_ENABLE(dependency-tracking,
451[ --disable-dependency-tracking speeds up one-time build
452 --enable-dependency-tracking do not reject slow dependency extractors])
453if test "x$enable_dependency_tracking" != xno; then
454 am_depcomp="$ac_aux_dir/depcomp"
455 AMDEPBACKSLASH='\'
456fi
457AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
458AC_SUBST([AMDEPBACKSLASH])dnl
459_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
460])
461
462# Generate code to set up dependency tracking. -*- Autoconf -*-
463
464# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
465# Free Software Foundation, Inc.
466#
467# This file is free software; the Free Software Foundation
468# gives unlimited permission to copy and/or distribute it,
469# with or without modifications, as long as this notice is preserved.
470
471#serial 5
472
473# _AM_OUTPUT_DEPENDENCY_COMMANDS
474# ------------------------------
475AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
476[{
477 # Autoconf 2.62 quotes --file arguments for eval, but not when files
478 # are listed without --file. Let's play safe and only enable the eval
479 # if we detect the quoting.
480 case $CONFIG_FILES in
481 *\'*) eval set x "$CONFIG_FILES" ;;
482 *) set x $CONFIG_FILES ;;
483 esac
484 shift
485 for mf
486 do
487 # Strip MF so we end up with the name of the file.
488 mf=`echo "$mf" | sed -e 's/:.*$//'`
489 # Check whether this is an Automake generated Makefile or not.
490 # We used to match only the files named `Makefile.in', but
491 # some people rename them; so instead we look at the file content.
492 # Grep'ing the first line is not enough: some people post-process
493 # each Makefile.in and add a new line on top of each file to say so.
494 # Grep'ing the whole file is not good either: AIX grep has a line
495 # limit of 2048, but all sed's we know have understand at least 4000.
496 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
497 dirpart=`AS_DIRNAME("$mf")`
498 else
499 continue
500 fi
501 # Extract the definition of DEPDIR, am__include, and am__quote
502 # from the Makefile without running `make'.
503 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
504 test -z "$DEPDIR" && continue
505 am__include=`sed -n 's/^am__include = //p' < "$mf"`
506 test -z "am__include" && continue
507 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
508 # When using ansi2knr, U may be empty or an underscore; expand it
509 U=`sed -n 's/^U = //p' < "$mf"`
510 # Find all dependency output files, they are included files with
511 # $(DEPDIR) in their names. We invoke sed twice because it is the
512 # simplest approach to changing $(DEPDIR) to its actual value in the
513 # expansion.
514 for file in `sed -n "
515 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
516 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
517 # Make sure the directory exists.
518 test -f "$dirpart/$file" && continue
519 fdir=`AS_DIRNAME(["$file"])`
520 AS_MKDIR_P([$dirpart/$fdir])
521 # echo "creating $dirpart/$file"
522 echo '# dummy' > "$dirpart/$file"
523 done
524 done
525}
526])# _AM_OUTPUT_DEPENDENCY_COMMANDS
527
528
529# AM_OUTPUT_DEPENDENCY_COMMANDS
530# -----------------------------
531# This macro should only be invoked once -- use via AC_REQUIRE.
532#
533# This code is only required when automatic dependency tracking
534# is enabled. FIXME. This creates each `.P' file that we will
535# need in order to bootstrap the dependency handling code.
536AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
537[AC_CONFIG_COMMANDS([depfiles],
538 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
539 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
540])
541
542# Do all the work for Automake. -*- Autoconf -*-
543
544# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
545# 2005, 2006, 2008 Free Software Foundation, Inc.
546#
547# This file is free software; the Free Software Foundation
548# gives unlimited permission to copy and/or distribute it,
549# with or without modifications, as long as this notice is preserved.
550
551# serial 13
552
553# This macro actually does too much. Some checks are only needed if
554# your package does certain things. But this isn't really a big deal.
555
556# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
557# AM_INIT_AUTOMAKE([OPTIONS])
558# -----------------------------------------------
559# The call with PACKAGE and VERSION arguments is the old style
560# call (pre autoconf-2.50), which is being phased out. PACKAGE
561# and VERSION should now be passed to AC_INIT and removed from
562# the call to AM_INIT_AUTOMAKE.
563# We support both call styles for the transition. After
564# the next Automake release, Autoconf can make the AC_INIT
565# arguments mandatory, and then we can depend on a new Autoconf
566# release and drop the old call support.
567AC_DEFUN([AM_INIT_AUTOMAKE],
568[AC_PREREQ([2.60])dnl
569dnl Autoconf wants to disallow AM_ names. We explicitly allow
570dnl the ones we care about.
571m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
572AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
573AC_REQUIRE([AC_PROG_INSTALL])dnl
574if test "`cd $srcdir && pwd`" != "`pwd`"; then
575 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
576 # is not polluted with repeated "-I."
577 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
578 # test to see if srcdir already configured
579 if test -f $srcdir/config.status; then
580 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
581 fi
582fi
583
584# test whether we have cygpath
585if test -z "$CYGPATH_W"; then
586 if (cygpath --version) >/dev/null 2>/dev/null; then
587 CYGPATH_W='cygpath -w'
588 else
589 CYGPATH_W=echo
590 fi
591fi
592AC_SUBST([CYGPATH_W])
593
594# Define the identity of the package.
595dnl Distinguish between old-style and new-style calls.
596m4_ifval([$2],
597[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
598 AC_SUBST([PACKAGE], [$1])dnl
599 AC_SUBST([VERSION], [$2])],
600[_AM_SET_OPTIONS([$1])dnl
601dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
602m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
603 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
604 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
605 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
606
607_AM_IF_OPTION([no-define],,
608[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
609 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
610
611# Some tools Automake needs.
612AC_REQUIRE([AM_SANITY_CHECK])dnl
613AC_REQUIRE([AC_ARG_PROGRAM])dnl
614AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
615AM_MISSING_PROG(AUTOCONF, autoconf)
616AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
617AM_MISSING_PROG(AUTOHEADER, autoheader)
618AM_MISSING_PROG(MAKEINFO, makeinfo)
619AM_PROG_INSTALL_SH
620AM_PROG_INSTALL_STRIP
621AC_REQUIRE([AM_PROG_MKDIR_P])dnl
622# We need awk for the "check" target. The system "awk" is bad on
623# some platforms.
624AC_REQUIRE([AC_PROG_AWK])dnl
625AC_REQUIRE([AC_PROG_MAKE_SET])dnl
626AC_REQUIRE([AM_SET_LEADING_DOT])dnl
627_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
628 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
629 [_AM_PROG_TAR([v7])])])
630_AM_IF_OPTION([no-dependencies],,
631[AC_PROVIDE_IFELSE([AC_PROG_CC],
632 [_AM_DEPENDENCIES(CC)],
633 [define([AC_PROG_CC],
634 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
635AC_PROVIDE_IFELSE([AC_PROG_CXX],
636 [_AM_DEPENDENCIES(CXX)],
637 [define([AC_PROG_CXX],
638 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
639AC_PROVIDE_IFELSE([AC_PROG_OBJC],
640 [_AM_DEPENDENCIES(OBJC)],
641 [define([AC_PROG_OBJC],
642 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
643])
644])
645
646
647# When config.status generates a header, we must update the stamp-h file.
648# This file resides in the same directory as the config header
649# that is generated. The stamp files are numbered to have different names.
650
651# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
652# loop where config.status creates the headers, so we can generate
653# our stamp files there.
654AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
655[# Compute $1's index in $config_headers.
656_am_arg=$1
657_am_stamp_count=1
658for _am_header in $config_headers :; do
659 case $_am_header in
660 $_am_arg | $_am_arg:* )
661 break ;;
662 * )
663 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
664 esac
665done
666echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
667
668# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
669#
670# This file is free software; the Free Software Foundation
671# gives unlimited permission to copy and/or distribute it,
672# with or without modifications, as long as this notice is preserved.
673
674# AM_PROG_INSTALL_SH
675# ------------------
676# Define $install_sh.
677AC_DEFUN([AM_PROG_INSTALL_SH],
678[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
679install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
680AC_SUBST(install_sh)])
681
682# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
683#
684# This file is free software; the Free Software Foundation
685# gives unlimited permission to copy and/or distribute it,
686# with or without modifications, as long as this notice is preserved.
687
688# serial 2
689
690# Check whether the underlying file-system supports filenames
691# with a leading dot. For instance MS-DOS doesn't.
692AC_DEFUN([AM_SET_LEADING_DOT],
693[rm -rf .tst 2>/dev/null
694mkdir .tst 2>/dev/null
695if test -d .tst; then
696 am__leading_dot=.
697else
698 am__leading_dot=_
699fi
700rmdir .tst 2>/dev/null
701AC_SUBST([am__leading_dot])])
702
703# Check to see how 'make' treats includes. -*- Autoconf -*-
704
705# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
706#
707# This file is free software; the Free Software Foundation
708# gives unlimited permission to copy and/or distribute it,
709# with or without modifications, as long as this notice is preserved.
710
711# serial 3
712
713# AM_MAKE_INCLUDE()
714# -----------------
715# Check to see how make treats includes.
716AC_DEFUN([AM_MAKE_INCLUDE],
717[am_make=${MAKE-make}
718cat > confinc << 'END'
719am__doit:
720 @echo done
721.PHONY: am__doit
722END
723# If we don't find an include directive, just comment out the code.
724AC_MSG_CHECKING([for style of include used by $am_make])
725am__include="#"
726am__quote=
727_am_result=none
728# First try GNU make style include.
729echo "include confinc" > confmf
730# We grep out `Entering directory' and `Leaving directory'
731# messages which can occur if `w' ends up in MAKEFLAGS.
732# In particular we don't look at `^make:' because GNU make might
733# be invoked under some other name (usually "gmake"), in which
734# case it prints its new name instead of `make'.
735if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
736 am__include=include
737 am__quote=
738 _am_result=GNU
739fi
740# Now try BSD make style include.
741if test "$am__include" = "#"; then
742 echo '.include "confinc"' > confmf
743 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
744 am__include=.include
745 am__quote="\""
746 _am_result=BSD
747 fi
748fi
749AC_SUBST([am__include])
750AC_SUBST([am__quote])
751AC_MSG_RESULT([$_am_result])
752rm -f confinc confmf
753])
754
755# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
756
757# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
758# Free Software Foundation, Inc.
759#
760# This file is free software; the Free Software Foundation
761# gives unlimited permission to copy and/or distribute it,
762# with or without modifications, as long as this notice is preserved.
763
764# serial 5
765
766# AM_MISSING_PROG(NAME, PROGRAM)
767# ------------------------------
768AC_DEFUN([AM_MISSING_PROG],
769[AC_REQUIRE([AM_MISSING_HAS_RUN])
770$1=${$1-"${am_missing_run}$2"}
771AC_SUBST($1)])
772
773
774# AM_MISSING_HAS_RUN
775# ------------------
776# Define MISSING if not defined so far and test if it supports --run.
777# If it does, set am_missing_run to use it, otherwise, to nothing.
778AC_DEFUN([AM_MISSING_HAS_RUN],
779[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
780AC_REQUIRE_AUX_FILE([missing])dnl
781test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
782# Use eval to expand $SHELL
783if eval "$MISSING --run true"; then
784 am_missing_run="$MISSING --run "
785else
786 am_missing_run=
787 AC_MSG_WARN([`missing' script is too old or missing])
788fi
789])
790
791# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
792#
793# This file is free software; the Free Software Foundation
794# gives unlimited permission to copy and/or distribute it,
795# with or without modifications, as long as this notice is preserved.
796
797# AM_PROG_MKDIR_P
798# ---------------
799# Check for `mkdir -p'.
800AC_DEFUN([AM_PROG_MKDIR_P],
801[AC_PREREQ([2.60])dnl
802AC_REQUIRE([AC_PROG_MKDIR_P])dnl
803dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
804dnl while keeping a definition of mkdir_p for backward compatibility.
805dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
806dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
807dnl Makefile.ins that do not define MKDIR_P, so we do our own
808dnl adjustment using top_builddir (which is defined more often than
809dnl MKDIR_P).
810AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
811case $mkdir_p in
812 [[\\/$]]* | ?:[[\\/]]*) ;;
813 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
814esac
815])
816
817# Helper functions for option handling. -*- Autoconf -*-
818
819# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
820#
821# This file is free software; the Free Software Foundation
822# gives unlimited permission to copy and/or distribute it,
823# with or without modifications, as long as this notice is preserved.
824
825# serial 4
826
827# _AM_MANGLE_OPTION(NAME)
828# -----------------------
829AC_DEFUN([_AM_MANGLE_OPTION],
830[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
831
832# _AM_SET_OPTION(NAME)
833# ------------------------------
834# Set option NAME. Presently that only means defining a flag for this option.
835AC_DEFUN([_AM_SET_OPTION],
836[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
837
838# _AM_SET_OPTIONS(OPTIONS)
839# ----------------------------------
840# OPTIONS is a space-separated list of Automake options.
841AC_DEFUN([_AM_SET_OPTIONS],
842[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
843
844# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
845# -------------------------------------------
846# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
847AC_DEFUN([_AM_IF_OPTION],
848[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
849
850# Check to make sure that the build environment is sane. -*- Autoconf -*-
851
852# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
853# Free Software Foundation, Inc.
854#
855# This file is free software; the Free Software Foundation
856# gives unlimited permission to copy and/or distribute it,
857# with or without modifications, as long as this notice is preserved.
858
859# serial 4
860
861# AM_SANITY_CHECK
862# ---------------
863AC_DEFUN([AM_SANITY_CHECK],
864[AC_MSG_CHECKING([whether build environment is sane])
865# Just in case
866sleep 1
867echo timestamp > conftest.file
868# Do `set' in a subshell so we don't clobber the current shell's
869# arguments. Must try -L first in case configure is actually a
870# symlink; some systems play weird games with the mod time of symlinks
871# (eg FreeBSD returns the mod time of the symlink's containing
872# directory).
873if (
874 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
875 if test "$[*]" = "X"; then
876 # -L didn't work.
877 set X `ls -t $srcdir/configure conftest.file`
878 fi
879 rm -f conftest.file
880 if test "$[*]" != "X $srcdir/configure conftest.file" \
881 && test "$[*]" != "X conftest.file $srcdir/configure"; then
882
883 # If neither matched, then we have a broken ls. This can happen
884 # if, for instance, CONFIG_SHELL is bash and it inherits a
885 # broken ls alias from the environment. This has actually
886 # happened. Such a system could not be considered "sane".
887 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
888alias in your environment])
889 fi
890
891 test "$[2]" = conftest.file
892 )
893then
894 # Ok.
895 :
896else
897 AC_MSG_ERROR([newly created file is older than distributed files!
898Check your system clock])
899fi
900AC_MSG_RESULT(yes)])
901
902# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
903#
904# This file is free software; the Free Software Foundation
905# gives unlimited permission to copy and/or distribute it,
906# with or without modifications, as long as this notice is preserved.
907
908# AM_PROG_INSTALL_STRIP
909# ---------------------
910# One issue with vendor `install' (even GNU) is that you can't
911# specify the program used to strip binaries. This is especially
912# annoying in cross-compiling environments, where the build's strip
913# is unlikely to handle the host's binaries.
914# Fortunately install-sh will honor a STRIPPROG variable, so we
915# always use install-sh in `make install-strip', and initialize
916# STRIPPROG with the value of the STRIP variable (set by the user).
917AC_DEFUN([AM_PROG_INSTALL_STRIP],
918[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
919# Installed binaries are usually stripped using `strip' when the user
920# run `make install-strip'. However `strip' might not be the right
921# tool to use in cross-compilation environments, therefore Automake
922# will honor the `STRIP' environment variable to overrule this program.
923dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
924if test "$cross_compiling" != no; then
925 AC_CHECK_TOOL([STRIP], [strip], :)
926fi
927INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
928AC_SUBST([INSTALL_STRIP_PROGRAM])])
929
930# Copyright (C) 2006 Free Software Foundation, Inc.
931#
932# This file is free software; the Free Software Foundation
933# gives unlimited permission to copy and/or distribute it,
934# with or without modifications, as long as this notice is preserved.
935
936# _AM_SUBST_NOTMAKE(VARIABLE)
937# ---------------------------
938# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
939# This macro is traced by Automake.
940AC_DEFUN([_AM_SUBST_NOTMAKE])
941
942# Check how to create a tarball. -*- Autoconf -*-
943
944# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
945#
946# This file is free software; the Free Software Foundation
947# gives unlimited permission to copy and/or distribute it,
948# with or without modifications, as long as this notice is preserved.
949
950# serial 2
951
952# _AM_PROG_TAR(FORMAT)
953# --------------------
954# Check how to create a tarball in format FORMAT.
955# FORMAT should be one of `v7', `ustar', or `pax'.
956#
957# Substitute a variable $(am__tar) that is a command
958# writing to stdout a FORMAT-tarball containing the directory
959# $tardir.
960# tardir=directory && $(am__tar) > result.tar
961#
962# Substitute a variable $(am__untar) that extract such
963# a tarball read from stdin.
964# $(am__untar) < result.tar
965AC_DEFUN([_AM_PROG_TAR],
966[# Always define AMTAR for backward compatibility.
967AM_MISSING_PROG([AMTAR], [tar])
968m4_if([$1], [v7],
969 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
970 [m4_case([$1], [ustar],, [pax],,
971 [m4_fatal([Unknown tar format])])
972AC_MSG_CHECKING([how to create a $1 tar archive])
973# Loop over all known methods to create a tar archive until one works.
974_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
975_am_tools=${am_cv_prog_tar_$1-$_am_tools}
976# Do not fold the above two line into one, because Tru64 sh and
977# Solaris sh will not grok spaces in the rhs of `-'.
978for _am_tool in $_am_tools
979do
980 case $_am_tool in
981 gnutar)
982 for _am_tar in tar gnutar gtar;
983 do
984 AM_RUN_LOG([$_am_tar --version]) && break
985 done
986 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
987 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
988 am__untar="$_am_tar -xf -"
989 ;;
990 plaintar)
991 # Must skip GNU tar: if it does not support --format= it doesn't create
992 # ustar tarball either.
993 (tar --version) >/dev/null 2>&1 && continue
994 am__tar='tar chf - "$$tardir"'
995 am__tar_='tar chf - "$tardir"'
996 am__untar='tar xf -'
997 ;;
998 pax)
999 am__tar='pax -L -x $1 -w "$$tardir"'
1000 am__tar_='pax -L -x $1 -w "$tardir"'
1001 am__untar='pax -r'
1002 ;;
1003 cpio)
1004 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1005 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1006 am__untar='cpio -i -H $1 -d'
1007 ;;
1008 none)
1009 am__tar=false
1010 am__tar_=false
1011 am__untar=false
1012 ;;
1013 esac
1014
1015 # If the value was cached, stop now. We just wanted to have am__tar
1016 # and am__untar set.
1017 test -n "${am_cv_prog_tar_$1}" && break
1018
1019 # tar/untar a dummy directory, and stop if the command works
1020 rm -rf conftest.dir
1021 mkdir conftest.dir
1022 echo GrepMe > conftest.dir/file
1023 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1024 rm -rf conftest.dir
1025 if test -s conftest.tar; then
1026 AM_RUN_LOG([$am__untar <conftest.tar])
1027 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1028 fi
1029done
1030rm -rf conftest.dir
1031
1032AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1033AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1034AC_SUBST([am__tar])
1035AC_SUBST([am__untar])
1036]) # _AM_PROG_TAR
1037
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 new file mode 100644 index 0000000..5e240e7 --- /dev/null +++ b/autom4te.cache/output.0
@@ -0,0 +1,6575 @@
1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.63 for Maze Of Life 2.0.
4@%:@
5@%:@ Report bugs to <BUG-REPORT-ADDRESS>.
6@%:@
7@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9@%:@ This configure script is free software; the Free Software Foundation
10@%:@ gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order. Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140else
141 as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
180fi
181
182 if test $as_have_required = yes && (eval ":
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
198
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
206
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239 :
240else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
248 /*)
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253done
254IFS=$as_save_IFS
255
256
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
441}
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
469 N
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501*)
502 ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532else
533 as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIB@&t@OBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='Maze Of Life'
598PACKAGE_TARNAME='maze-of-life'
599PACKAGE_VERSION='2.0'
600PACKAGE_STRING='Maze Of Life 2.0'
601PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
602
603ac_unique_file="src/mazeoflife.cpp"
604# Factoring default headers for most tests.
605ac_includes_default="\
606#include <stdio.h>
607#ifdef HAVE_SYS_TYPES_H
608# include <sys/types.h>
609#endif
610#ifdef HAVE_SYS_STAT_H
611# include <sys/stat.h>
612#endif
613#ifdef STDC_HEADERS
614# include <stdlib.h>
615# include <stddef.h>
616#else
617# ifdef HAVE_STDLIB_H
618# include <stdlib.h>
619# endif
620#endif
621#ifdef HAVE_STRING_H
622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623# include <memory.h>
624# endif
625# include <string.h>
626#endif
627#ifdef HAVE_STRINGS_H
628# include <strings.h>
629#endif
630#ifdef HAVE_INTTYPES_H
631# include <inttypes.h>
632#endif
633#ifdef HAVE_STDINT_H
634# include <stdint.h>
635#endif
636#ifdef HAVE_UNISTD_H
637# include <unistd.h>
638#endif"
639
640ac_subst_vars='LTLIBOBJS
641LIB@&t@OBJS
642EGREP
643GREP
644CPP
645SDL_LIBS
646SDL_CFLAGS
647PKG_CONFIG
648am__fastdepCC_FALSE
649am__fastdepCC_TRUE
650CCDEPMODE
651ac_ct_CC
652CFLAGS
653CC
654am__fastdepCXX_FALSE
655am__fastdepCXX_TRUE
656CXXDEPMODE
657AMDEPBACKSLASH
658AMDEP_FALSE
659AMDEP_TRUE
660am__quote
661am__include
662DEPDIR
663OBJEXT
664EXEEXT
665ac_ct_CXX
666CPPFLAGS
667LDFLAGS
668CXXFLAGS
669CXX
670am__untar
671am__tar
672AMTAR
673am__leading_dot
674SET_MAKE
675AWK
676mkdir_p
677MKDIR_P
678INSTALL_STRIP_PROGRAM
679STRIP
680install_sh
681MAKEINFO
682AUTOHEADER
683AUTOMAKE
684AUTOCONF
685ACLOCAL
686VERSION
687PACKAGE
688CYGPATH_W
689am__isrc
690INSTALL_DATA
691INSTALL_SCRIPT
692INSTALL_PROGRAM
693target_alias
694host_alias
695build_alias
696LIBS
697ECHO_T
698ECHO_N
699ECHO_C
700DEFS
701mandir
702localedir
703libdir
704psdir
705pdfdir
706dvidir
707htmldir
708infodir
709docdir
710oldincludedir
711includedir
712localstatedir
713sharedstatedir
714sysconfdir
715datadir
716datarootdir
717libexecdir
718sbindir
719bindir
720program_transform_name
721prefix
722exec_prefix
723PACKAGE_BUGREPORT
724PACKAGE_STRING
725PACKAGE_VERSION
726PACKAGE_TARNAME
727PACKAGE_NAME
728PATH_SEPARATOR
729SHELL'
730ac_subst_files=''
731ac_user_opts='
732enable_option_checking
733enable_dependency_tracking
734'
735 ac_precious_vars='build_alias
736host_alias
737target_alias
738CXX
739CXXFLAGS
740LDFLAGS
741LIBS
742CPPFLAGS
743CCC
744CC
745CFLAGS
746PKG_CONFIG
747SDL_CFLAGS
748SDL_LIBS
749CPP'
750
751
752# Initialize some variables set by options.
753ac_init_help=
754ac_init_version=false
755ac_unrecognized_opts=
756ac_unrecognized_sep=
757# The variables have the same names as the options, with
758# dashes changed to underlines.
759cache_file=/dev/null
760exec_prefix=NONE
761no_create=
762no_recursion=
763prefix=NONE
764program_prefix=NONE
765program_suffix=NONE
766program_transform_name=s,x,x,
767silent=
768site=
769srcdir=
770verbose=
771x_includes=NONE
772x_libraries=NONE
773
774# Installation directory options.
775# These are left unexpanded so users can "make install exec_prefix=/foo"
776# and all the variables that are supposed to be based on exec_prefix
777# by default will actually change.
778# Use braces instead of parens because sh, perl, etc. also accept them.
779# (The list follows the same order as the GNU Coding Standards.)
780bindir='${exec_prefix}/bin'
781sbindir='${exec_prefix}/sbin'
782libexecdir='${exec_prefix}/libexec'
783datarootdir='${prefix}/share'
784datadir='${datarootdir}'
785sysconfdir='${prefix}/etc'
786sharedstatedir='${prefix}/com'
787localstatedir='${prefix}/var'
788includedir='${prefix}/include'
789oldincludedir='/usr/include'
790docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791infodir='${datarootdir}/info'
792htmldir='${docdir}'
793dvidir='${docdir}'
794pdfdir='${docdir}'
795psdir='${docdir}'
796libdir='${exec_prefix}/lib'
797localedir='${datarootdir}/locale'
798mandir='${datarootdir}/man'
799
800ac_prev=
801ac_dashdash=
802for ac_option
803do
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
807 ac_prev=
808 continue
809 fi
810
811 case $ac_option in
812 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813 *) ac_optarg=yes ;;
814 esac
815
816 # Accept the important Cygnus configure options, so we can diagnose typos.
817
818 case $ac_dashdash$ac_option in
819 --)
820 ac_dashdash=yes ;;
821
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 ac_prev=bindir ;;
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 bindir=$ac_optarg ;;
826
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
831
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
838
839 --config-cache | -C)
840 cache_file=config.cache ;;
841
842 -datadir | --datadir | --datadi | --datad)
843 ac_prev=datadir ;;
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
846
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
853
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
859 { (exit 1); exit 1; }; }
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
863 *"
864"enable_$ac_useropt"
865"*) ;;
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
868 esac
869 eval enable_$ac_useropt=no ;;
870
871 -docdir | --docdir | --docdi | --doc | --do)
872 ac_prev=docdir ;;
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 docdir=$ac_optarg ;;
875
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 ac_prev=dvidir ;;
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 dvidir=$ac_optarg ;;
880
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
886 { (exit 1); exit 1; }; }
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
890 *"
891"enable_$ac_useropt"
892"*) ;;
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
895 esac
896 eval enable_$ac_useropt=\$ac_optarg ;;
897
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
906
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
909 with_gas=yes ;;
910
911 -help | --help | --hel | --he | -h)
912 ac_init_help=long ;;
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
917
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
922
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 ac_prev=htmldir ;;
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 | --ht=*)
927 htmldir=$ac_optarg ;;
928
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
935
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 ac_prev=infodir ;;
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
940
941 -libdir | --libdir | --libdi | --libd)
942 ac_prev=libdir ;;
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 libdir=$ac_optarg ;;
945
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
952
953 -localedir | --localedir | --localedi | --localed | --locale)
954 ac_prev=localedir ;;
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
957
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
964
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 ac_prev=mandir ;;
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 mandir=$ac_optarg ;;
969
970 -nfp | --nfp | --nf)
971 # Obsolete; use --without-fp.
972 with_fp=no ;;
973
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
976 no_create=yes ;;
977
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 no_recursion=yes ;;
981
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
990
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 ac_prev=prefix ;;
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 prefix=$ac_optarg ;;
995
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1002
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1009
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1026
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 ac_prev=pdfdir ;;
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1031
1032 -psdir | --psdir | --psdi | --psd | --ps)
1033 ac_prev=psdir ;;
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 psdir=$ac_optarg ;;
1036
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 silent=yes ;;
1040
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 ac_prev=sbindir ;;
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 | --sbi=* | --sb=*)
1045 sbindir=$ac_optarg ;;
1046
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1050 | --sha | --sh)
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 | --sha=* | --sh=*)
1056 sharedstatedir=$ac_optarg ;;
1057
1058 -site | --site | --sit)
1059 ac_prev=site ;;
1060 -site=* | --site=* | --sit=*)
1061 site=$ac_optarg ;;
1062
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 ac_prev=srcdir ;;
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1067
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1074
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1079
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 verbose=yes ;;
1082
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1085
1086 -with-* | --with-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096"with_$ac_useropt"
1097"*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=\$ac_optarg ;;
1102
1103 -without-* | --without-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1112 *"
1113"with_$ac_useropt"
1114"*) ;;
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1117 esac
1118 eval with_$ac_useropt=no ;;
1119
1120 --x)
1121 # Obsolete; use --with-x.
1122 with_x=yes ;;
1123
1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125 | --x-incl | --x-inc | --x-in | --x-i)
1126 ac_prev=x_includes ;;
1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129 x_includes=$ac_optarg ;;
1130
1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133 ac_prev=x_libraries ;;
1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries=$ac_optarg ;;
1137
1138 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1139Try \`$0 --help' for more information." >&2
1140 { (exit 1); exit 1; }; }
1141 ;;
1142
1143 *=*)
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1147 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1148 { (exit 1); exit 1; }; }
1149 eval $ac_envvar=\$ac_optarg
1150 export $ac_envvar ;;
1151
1152 *)
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 ;;
1159
1160 esac
1161done
1162
1163if test -n "$ac_prev"; then
1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1166 { (exit 1); exit 1; }; }
1167fi
1168
1169if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1171 no) ;;
1172 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1173 { (exit 1); exit 1; }; } ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1183do
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1186 case $ac_val in
1187 */ )
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1190 esac
1191 # Be sure to have absolute directory names.
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
1198done
1199
1200# There might be people who depend on the old broken behavior: `$host'
1201# used to hold the argument of --host etc.
1202# FIXME: To remove some day.
1203build=$build_alias
1204host=$host_alias
1205target=$target_alias
1206
1207# FIXME: To remove some day.
1208if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1215 fi
1216fi
1217
1218ac_tool_prefix=
1219test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221test "$silent" = yes && exec 6>/dev/null
1222
1223
1224ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225ac_ls_di=`ls -di .` &&
1226ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1228 { (exit 1); exit 1; }; }
1229test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1231 { (exit 1); exit 1; }; }
1232
1233
1234# Find the source files, if location was not specified.
1235if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243$as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 s//\1/
1246 q
1247 }
1248 /^X\(\/\/\)[^/].*/{
1249 s//\1/
1250 q
1251 }
1252 /^X\(\/\/\)$/{
1253 s//\1/
1254 q
1255 }
1256 /^X\(\/\).*/{
1257 s//\1/
1258 q
1259 }
1260 s/.*/./; q'`
1261 srcdir=$ac_confdir
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 srcdir=..
1264 fi
1265else
1266 ac_srcdir_defaulted=no
1267fi
1268if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271 { (exit 1); exit 1; }; }
1272fi
1273ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274ac_abs_confdir=`(
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1277 pwd)`
1278# When building in place, set srcdir=.
1279if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 srcdir=.
1281fi
1282# Remove unnecessary trailing slashes from srcdir.
1283# Double slashes in file names in object file debugging info
1284# mess up M-x gdb in Emacs.
1285case $srcdir in
1286*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287esac
1288for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293done
1294
1295#
1296# Report the --help message.
1297#
1298if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1301 cat <<_ACEOF
1302\`configure' configures Maze Of Life 2.0 to adapt to many kinds of systems.
1303
1304Usage: $0 [OPTION]... [VAR=VALUE]...
1305
1306To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307VAR=VALUE. See below for descriptions of some of the useful variables.
1308
1309Defaults for the options are specified in brackets.
1310
1311Configuration:
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321
1322Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 [PREFIX]
1327
1328By default, \`make install' will install all the files in
1329\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331for instance \`--prefix=\$HOME'.
1332
1333For better control, use the options below.
1334
1335Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/maze-of-life@:>@
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1355_ACEOF
1356
1357 cat <<\_ACEOF
1358
1359Program names:
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363_ACEOF
1364fi
1365
1366if test -n "$ac_init_help"; then
1367 case $ac_init_help in
1368 short | recursive ) echo "Configuration of Maze Of Life 2.0:";;
1369 esac
1370 cat <<\_ACEOF
1371
1372Optional Features:
1373 --disable-option-checking ignore unrecognized --enable/--with options
1374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1376 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking do not reject slow dependency extractors
1378
1379Some influential environment variables:
1380 CXX C++ compiler command
1381 CXXFLAGS C++ compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CC C compiler command
1388 CFLAGS C compiler flags
1389 PKG_CONFIG path to pkg-config utility
1390 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1391 SDL_LIBS linker flags for SDL, overriding pkg-config
1392 CPP C preprocessor
1393
1394Use these variables to override the choices made by `configure' or to help
1395it to find libraries and programs with nonstandard names/locations.
1396
1397Report bugs to <BUG-REPORT-ADDRESS>.
1398_ACEOF
1399ac_status=$?
1400fi
1401
1402if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" ||
1406 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 continue
1408 ac_builddir=.
1409
1410case "$ac_dir" in
1411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412*)
1413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 esac ;;
1420esac
1421ac_abs_top_builddir=$ac_pwd
1422ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423# for backward compatibility:
1424ac_top_builddir=$ac_top_build_prefix
1425
1426case $srcdir in
1427 .) # We are building in place.
1428 ac_srcdir=.
1429 ac_top_srcdir=$ac_top_builddir_sub
1430 ac_abs_top_srcdir=$ac_pwd ;;
1431 [\\/]* | ?:[\\/]* ) # Absolute name.
1432 ac_srcdir=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir=$srcdir
1434 ac_abs_top_srcdir=$srcdir ;;
1435 *) # Relative name.
1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439esac
1440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441
1442 cd "$ac_dir" || { ac_status=$?; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1448 echo &&
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1450 else
1451 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 fi || ac_status=$?
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1454 done
1455fi
1456
1457test -n "$ac_init_help" && exit $ac_status
1458if $ac_init_version; then
1459 cat <<\_ACEOF
1460Maze Of Life configure 2.0
1461generated by GNU Autoconf 2.63
1462
1463Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14642002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1465This configure script is free software; the Free Software Foundation
1466gives unlimited permission to copy, distribute and modify it.
1467_ACEOF
1468 exit
1469fi
1470cat >config.log <<_ACEOF
1471This file contains any messages produced by compilers while
1472running configure, to aid debugging if configure makes a mistake.
1473
1474It was created by Maze Of Life $as_me 2.0, which was
1475generated by GNU Autoconf 2.63. Invocation command line was
1476
1477 $ $0 $@
1478
1479_ACEOF
1480exec 5>>config.log
1481{
1482cat <<_ASUNAME
1483@%:@@%:@ --------- @%:@@%:@
1484@%:@@%:@ Platform. @%:@@%:@
1485@%:@@%:@ --------- @%:@@%:@
1486
1487hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492
1493/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495
1496/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503
1504_ASUNAME
1505
1506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507for as_dir in $PATH
1508do
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 $as_echo "PATH: $as_dir"
1512done
1513IFS=$as_save_IFS
1514
1515} >&5
1516
1517cat >&5 <<_ACEOF
1518
1519
1520@%:@@%:@ ----------- @%:@@%:@
1521@%:@@%:@ Core tests. @%:@@%:@
1522@%:@@%:@ ----------- @%:@@%:@
1523
1524_ACEOF
1525
1526
1527# Keep a trace of the command line.
1528# Strip out --no-create and --no-recursion so they do not pile up.
1529# Strip out --silent because we don't want to record it for future runs.
1530# Also quote any args containing shell meta-characters.
1531# Make two passes to allow for proper duplicate-argument suppression.
1532ac_configure_args=
1533ac_configure_args0=
1534ac_configure_args1=
1535ac_must_keep_next=false
1536for ac_pass in 1 2
1537do
1538 for ac_arg
1539 do
1540 case $ac_arg in
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1544 continue ;;
1545 *\'*)
1546 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 case $ac_pass in
1549 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 2)
1551 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1554 else
1555 case $ac_arg in
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 esac
1563 ;;
1564 -* ) ac_must_keep_next=true ;;
1565 esac
1566 fi
1567 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 ;;
1569 esac
1570 done
1571done
1572$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574
1575# When interrupted or exit'd, cleanup temporary files, and complete
1576# config.log. We remove comments because anyway the quotes in there
1577# would cause problems or look ugly.
1578# WARNING: Use '\'' to represent an apostrophe within the trap.
1579# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1582 {
1583 echo
1584
1585 cat <<\_ASBOX
1586@%:@@%:@ ---------------- @%:@@%:@
1587@%:@@%:@ Cache variables. @%:@@%:@
1588@%:@@%:@ ---------------- @%:@@%:@
1589_ASBOX
1590 echo
1591 # The following way of writing the cache mishandles newlines in values,
1592(
1593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594 eval ac_val=\$$ac_var
1595 case $ac_val in #(
1596 *${as_nl}*)
1597 case $ac_var in #(
1598 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1599$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1600 esac
1601 case $ac_var in #(
1602 _ | IFS | as_nl) ;; #(
1603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1604 *) $as_unset $ac_var ;;
1605 esac ;;
1606 esac
1607 done
1608 (set) 2>&1 |
1609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610 *${as_nl}ac_space=\ *)
1611 sed -n \
1612 "s/'\''/'\''\\\\'\'''\''/g;
1613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 ;; #(
1615 *)
1616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1617 ;;
1618 esac |
1619 sort
1620)
1621 echo
1622
1623 cat <<\_ASBOX
1624@%:@@%:@ ----------------- @%:@@%:@
1625@%:@@%:@ Output variables. @%:@@%:@
1626@%:@@%:@ ----------------- @%:@@%:@
1627_ASBOX
1628 echo
1629 for ac_var in $ac_subst_vars
1630 do
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 $as_echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1638
1639 if test -n "$ac_subst_files"; then
1640 cat <<\_ASBOX
1641@%:@@%:@ ------------------- @%:@@%:@
1642@%:@@%:@ File substitutions. @%:@@%:@
1643@%:@@%:@ ------------------- @%:@@%:@
1644_ASBOX
1645 echo
1646 for ac_var in $ac_subst_files
1647 do
1648 eval ac_val=\$$ac_var
1649 case $ac_val in
1650 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1651 esac
1652 $as_echo "$ac_var='\''$ac_val'\''"
1653 done | sort
1654 echo
1655 fi
1656
1657 if test -s confdefs.h; then
1658 cat <<\_ASBOX
1659@%:@@%:@ ----------- @%:@@%:@
1660@%:@@%:@ confdefs.h. @%:@@%:@
1661@%:@@%:@ ----------- @%:@@%:@
1662_ASBOX
1663 echo
1664 cat confdefs.h
1665 echo
1666 fi
1667 test "$ac_signal" != 0 &&
1668 $as_echo "$as_me: caught signal $ac_signal"
1669 $as_echo "$as_me: exit $exit_status"
1670 } >&5
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 exit $exit_status
1674' 0
1675for ac_signal in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677done
1678ac_signal=0
1679
1680# confdefs.h avoids OS command line length limits that DEFS can exceed.
1681rm -f -r conftest* confdefs.h
1682
1683# Predefined preprocessor variables.
1684
1685cat >>confdefs.h <<_ACEOF
1686@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1687_ACEOF
1688
1689
1690cat >>confdefs.h <<_ACEOF
1691@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692_ACEOF
1693
1694
1695cat >>confdefs.h <<_ACEOF
1696@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1697_ACEOF
1698
1699
1700cat >>confdefs.h <<_ACEOF
1701@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1702_ACEOF
1703
1704
1705cat >>confdefs.h <<_ACEOF
1706@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707_ACEOF
1708
1709
1710# Let the site file select an alternate cache file if it wants to.
1711# Prefer an explicitly selected file to automatically selected ones.
1712ac_site_file1=NONE
1713ac_site_file2=NONE
1714if test -n "$CONFIG_SITE"; then
1715 ac_site_file1=$CONFIG_SITE
1716elif test "x$prefix" != xNONE; then
1717 ac_site_file1=$prefix/share/config.site
1718 ac_site_file2=$prefix/etc/config.site
1719else
1720 ac_site_file1=$ac_default_prefix/share/config.site
1721 ac_site_file2=$ac_default_prefix/etc/config.site
1722fi
1723for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1724do
1725 test "x$ac_site_file" = xNONE && continue
1726 if test -r "$ac_site_file"; then
1727 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1728$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1729 sed 's/^/| /' "$ac_site_file" >&5
1730 . "$ac_site_file"
1731 fi
1732done
1733
1734if test -r "$cache_file"; then
1735 # Some versions of bash will fail to source /dev/null (special
1736 # files actually), so we avoid doing that.
1737 if test -f "$cache_file"; then
1738 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1739$as_echo "$as_me: loading cache $cache_file" >&6;}
1740 case $cache_file in
1741 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1742 *) . "./$cache_file";;
1743 esac
1744 fi
1745else
1746 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1747$as_echo "$as_me: creating cache $cache_file" >&6;}
1748 >$cache_file
1749fi
1750
1751# Check that the precious variables saved in the cache have kept the same
1752# value.
1753ac_cache_corrupted=false
1754for ac_var in $ac_precious_vars; do
1755 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1756 eval ac_new_set=\$ac_env_${ac_var}_set
1757 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1758 eval ac_new_val=\$ac_env_${ac_var}_value
1759 case $ac_old_set,$ac_new_set in
1760 set,)
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1762$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1764 ,set)
1765 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1766$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1768 ,);;
1769 *)
1770 if test "x$ac_old_val" != "x$ac_new_val"; then
1771 # differences in whitespace do not lead to failure.
1772 ac_old_val_w=`echo x $ac_old_val`
1773 ac_new_val_w=`echo x $ac_new_val`
1774 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1775 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777 ac_cache_corrupted=:
1778 else
1779 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1780$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1781 eval $ac_var=\$ac_old_val
1782 fi
1783 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1784$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1785 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1786$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1787 fi;;
1788 esac
1789 # Pass precious variables to config.status.
1790 if test "$ac_new_set" = set; then
1791 case $ac_new_val in
1792 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1793 *) ac_arg=$ac_var=$ac_new_val ;;
1794 esac
1795 case " $ac_configure_args " in
1796 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1797 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1798 esac
1799 fi
1800done
1801if $ac_cache_corrupted; then
1802 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1803$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1804 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1805$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1806 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1807$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1808 { (exit 1); exit 1; }; }
1809fi
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835ac_ext=c
1836ac_cpp='$CPP $CPPFLAGS'
1837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840
1841
1842am__api_version='1.10'
1843
1844ac_aux_dir=
1845for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1846 if test -f "$ac_dir/install-sh"; then
1847 ac_aux_dir=$ac_dir
1848 ac_install_sh="$ac_aux_dir/install-sh -c"
1849 break
1850 elif test -f "$ac_dir/install.sh"; then
1851 ac_aux_dir=$ac_dir
1852 ac_install_sh="$ac_aux_dir/install.sh -c"
1853 break
1854 elif test -f "$ac_dir/shtool"; then
1855 ac_aux_dir=$ac_dir
1856 ac_install_sh="$ac_aux_dir/shtool install -c"
1857 break
1858 fi
1859done
1860if test -z "$ac_aux_dir"; then
1861 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1862$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1863 { (exit 1); exit 1; }; }
1864fi
1865
1866# These three variables are undocumented and unsupported,
1867# and are intended to be withdrawn in a future Autoconf release.
1868# They can cause serious problems if a builder's source tree is in a directory
1869# whose full name contains unusual characters.
1870ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1871ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1872ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1873
1874
1875# Find a good install program. We prefer a C program (faster),
1876# so one script is as good as another. But avoid the broken or
1877# incompatible versions:
1878# SysV /etc/install, /usr/sbin/install
1879# SunOS /usr/etc/install
1880# IRIX /sbin/install
1881# AIX /bin/install
1882# AmigaOS /C/install, which installs bootblocks on floppy discs
1883# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1884# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1885# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1886# OS/2's system install, which has a completely different semantic
1887# ./install, which can be erroneously created by make from ./install.sh.
1888# Reject install programs that cannot install multiple files.
1889{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1890$as_echo_n "checking for a BSD-compatible install... " >&6; }
1891if test -z "$INSTALL"; then
1892if test "${ac_cv_path_install+set}" = set; then
1893 $as_echo_n "(cached) " >&6
1894else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896for as_dir in $PATH
1897do
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 # Account for people who put trailing slashes in PATH elements.
1901case $as_dir/ in
1902 ./ | .// | /cC/* | \
1903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1904 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1905 /usr/ucb/* ) ;;
1906 *)
1907 # OSF1 and SCO ODT 3.0 have their own names for install.
1908 # Don't use installbsd from OSF since it installs stuff as root
1909 # by default.
1910 for ac_prog in ginstall scoinst install; do
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1913 if test $ac_prog = install &&
1914 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915 # AIX install. It has an incompatible calling convention.
1916 :
1917 elif test $ac_prog = install &&
1918 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919 # program-specific install script used by HP pwplus--don't use.
1920 :
1921 else
1922 rm -rf conftest.one conftest.two conftest.dir
1923 echo one > conftest.one
1924 echo two > conftest.two
1925 mkdir conftest.dir
1926 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1927 test -s conftest.one && test -s conftest.two &&
1928 test -s conftest.dir/conftest.one &&
1929 test -s conftest.dir/conftest.two
1930 then
1931 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1932 break 3
1933 fi
1934 fi
1935 fi
1936 done
1937 done
1938 ;;
1939esac
1940
1941done
1942IFS=$as_save_IFS
1943
1944rm -rf conftest.one conftest.two conftest.dir
1945
1946fi
1947 if test "${ac_cv_path_install+set}" = set; then
1948 INSTALL=$ac_cv_path_install
1949 else
1950 # As a last resort, use the slow shell script. Don't cache a
1951 # value for INSTALL within a source directory, because that will
1952 # break other packages using the cache if that directory is
1953 # removed, or if the value is a relative name.
1954 INSTALL=$ac_install_sh
1955 fi
1956fi
1957{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1958$as_echo "$INSTALL" >&6; }
1959
1960# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961# It thinks the first close brace ends the variable substitution.
1962test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963
1964test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965
1966test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967
1968{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1969$as_echo_n "checking whether build environment is sane... " >&6; }
1970# Just in case
1971sleep 1
1972echo timestamp > conftest.file
1973# Do `set' in a subshell so we don't clobber the current shell's
1974# arguments. Must try -L first in case configure is actually a
1975# symlink; some systems play weird games with the mod time of symlinks
1976# (eg FreeBSD returns the mod time of the symlink's containing
1977# directory).
1978if (
1979 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1980 if test "$*" = "X"; then
1981 # -L didn't work.
1982 set X `ls -t $srcdir/configure conftest.file`
1983 fi
1984 rm -f conftest.file
1985 if test "$*" != "X $srcdir/configure conftest.file" \
1986 && test "$*" != "X conftest.file $srcdir/configure"; then
1987
1988 # If neither matched, then we have a broken ls. This can happen
1989 # if, for instance, CONFIG_SHELL is bash and it inherits a
1990 # broken ls alias from the environment. This has actually
1991 # happened. Such a system could not be considered "sane".
1992 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1993alias in your environment" >&5
1994$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1995alias in your environment" >&2;}
1996 { (exit 1); exit 1; }; }
1997 fi
1998
1999 test "$2" = conftest.file
2000 )
2001then
2002 # Ok.
2003 :
2004else
2005 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2006Check your system clock" >&5
2007$as_echo "$as_me: error: newly created file is older than distributed files!
2008Check your system clock" >&2;}
2009 { (exit 1); exit 1; }; }
2010fi
2011{ $as_echo "$as_me:$LINENO: result: yes" >&5
2012$as_echo "yes" >&6; }
2013test "$program_prefix" != NONE &&
2014 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2015# Use a double $ so make ignores it.
2016test "$program_suffix" != NONE &&
2017 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2018# Double any \ or $.
2019# By default was `s,x,x', remove it if useless.
2020ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2021program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2022
2023# expand $ac_aux_dir to an absolute path
2024am_aux_dir=`cd $ac_aux_dir && pwd`
2025
2026test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2027# Use eval to expand $SHELL
2028if eval "$MISSING --run true"; then
2029 am_missing_run="$MISSING --run "
2030else
2031 am_missing_run=
2032 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2033$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2034fi
2035
2036{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2037$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2038if test -z "$MKDIR_P"; then
2039 if test "${ac_cv_path_mkdir+set}" = set; then
2040 $as_echo_n "(cached) " >&6
2041else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_prog in mkdir gmkdir; do
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2050 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2051 'mkdir (GNU coreutils) '* | \
2052 'mkdir (coreutils) '* | \
2053 'mkdir (fileutils) '4.1*)
2054 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2055 break 3;;
2056 esac
2057 done
2058 done
2059done
2060IFS=$as_save_IFS
2061
2062fi
2063
2064 if test "${ac_cv_path_mkdir+set}" = set; then
2065 MKDIR_P="$ac_cv_path_mkdir -p"
2066 else
2067 # As a last resort, use the slow shell script. Don't cache a
2068 # value for MKDIR_P within a source directory, because that will
2069 # break other packages using the cache if that directory is
2070 # removed, or if the value is a relative name.
2071 test -d ./--version && rmdir ./--version
2072 MKDIR_P="$ac_install_sh -d"
2073 fi
2074fi
2075{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2076$as_echo "$MKDIR_P" >&6; }
2077
2078mkdir_p="$MKDIR_P"
2079case $mkdir_p in
2080 [\\/$]* | ?:[\\/]*) ;;
2081 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2082esac
2083
2084for ac_prog in gawk mawk nawk awk
2085do
2086 # Extract the first word of "$ac_prog", so it can be a program name with args.
2087set dummy $ac_prog; ac_word=$2
2088{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if test "${ac_cv_prog_AWK+set}" = set; then
2091 $as_echo_n "(cached) " >&6
2092else
2093 if test -n "$AWK"; then
2094 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_AWK="$ac_prog"
2104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2106 fi
2107done
2108done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113AWK=$ac_cv_prog_AWK
2114if test -n "$AWK"; then
2115 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2116$as_echo "$AWK" >&6; }
2117else
2118 { $as_echo "$as_me:$LINENO: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122
2123 test -n "$AWK" && break
2124done
2125
2126{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2127$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2128set x ${MAKE-make}
2129ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2130if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2131 $as_echo_n "(cached) " >&6
2132else
2133 cat >conftest.make <<\_ACEOF
2134SHELL = /bin/sh
2135all:
2136 @echo '@@@%%%=$(MAKE)=@@@%%%'
2137_ACEOF
2138# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2139case `${MAKE-make} -f conftest.make 2>/dev/null` in
2140 *@@@%%%=?*=@@@%%%*)
2141 eval ac_cv_prog_make_${ac_make}_set=yes;;
2142 *)
2143 eval ac_cv_prog_make_${ac_make}_set=no;;
2144esac
2145rm -f conftest.make
2146fi
2147if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2148 { $as_echo "$as_me:$LINENO: result: yes" >&5
2149$as_echo "yes" >&6; }
2150 SET_MAKE=
2151else
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153$as_echo "no" >&6; }
2154 SET_MAKE="MAKE=${MAKE-make}"
2155fi
2156
2157rm -rf .tst 2>/dev/null
2158mkdir .tst 2>/dev/null
2159if test -d .tst; then
2160 am__leading_dot=.
2161else
2162 am__leading_dot=_
2163fi
2164rmdir .tst 2>/dev/null
2165
2166if test "`cd $srcdir && pwd`" != "`pwd`"; then
2167 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2168 # is not polluted with repeated "-I."
2169 am__isrc=' -I$(srcdir)'
2170 # test to see if srcdir already configured
2171 if test -f $srcdir/config.status; then
2172 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2173$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2174 { (exit 1); exit 1; }; }
2175 fi
2176fi
2177
2178# test whether we have cygpath
2179if test -z "$CYGPATH_W"; then
2180 if (cygpath --version) >/dev/null 2>/dev/null; then
2181 CYGPATH_W='cygpath -w'
2182 else
2183 CYGPATH_W=echo
2184 fi
2185fi
2186
2187
2188# Define the identity of the package.
2189 PACKAGE='maze-of-life'
2190 VERSION='2.0'
2191
2192
2193cat >>confdefs.h <<_ACEOF
2194@%:@define PACKAGE "$PACKAGE"
2195_ACEOF
2196
2197
2198cat >>confdefs.h <<_ACEOF
2199@%:@define VERSION "$VERSION"
2200_ACEOF
2201
2202# Some tools Automake needs.
2203
2204ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2205
2206
2207AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2208
2209
2210AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2211
2212
2213AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2214
2215
2216MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2217
2218install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2219
2220# Installed binaries are usually stripped using `strip' when the user
2221# run `make install-strip'. However `strip' might not be the right
2222# tool to use in cross-compilation environments, therefore Automake
2223# will honor the `STRIP' environment variable to overrule this program.
2224if test "$cross_compiling" != no; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2227set dummy ${ac_tool_prefix}strip; ac_word=$2
2228{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2229$as_echo_n "checking for $ac_word... " >&6; }
2230if test "${ac_cv_prog_STRIP+set}" = set; then
2231 $as_echo_n "(cached) " >&6
2232else
2233 if test -n "$STRIP"; then
2234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2235else
2236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237for as_dir in $PATH
2238do
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2244 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247done
2248done
2249IFS=$as_save_IFS
2250
2251fi
2252fi
2253STRIP=$ac_cv_prog_STRIP
2254if test -n "$STRIP"; then
2255 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2256$as_echo "$STRIP" >&6; }
2257else
2258 { $as_echo "$as_me:$LINENO: result: no" >&5
2259$as_echo "no" >&6; }
2260fi
2261
2262
2263fi
2264if test -z "$ac_cv_prog_STRIP"; then
2265 ac_ct_STRIP=$STRIP
2266 # Extract the first word of "strip", so it can be a program name with args.
2267set dummy strip; ac_word=$2
2268{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2269$as_echo_n "checking for $ac_word... " >&6; }
2270if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2272else
2273 if test -n "$ac_ct_STRIP"; then
2274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279 IFS=$as_save_IFS
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_ac_ct_STRIP="strip"
2284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 break 2
2286 fi
2287done
2288done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2294if test -n "$ac_ct_STRIP"; then
2295 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2296$as_echo "$ac_ct_STRIP" >&6; }
2297else
2298 { $as_echo "$as_me:$LINENO: result: no" >&5
2299$as_echo "no" >&6; }
2300fi
2301
2302 if test "x$ac_ct_STRIP" = x; then
2303 STRIP=":"
2304 else
2305 case $cross_compiling:$ac_tool_warned in
2306yes:)
2307{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2309ac_tool_warned=yes ;;
2310esac
2311 STRIP=$ac_ct_STRIP
2312 fi
2313else
2314 STRIP="$ac_cv_prog_STRIP"
2315fi
2316
2317fi
2318INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2319
2320# We need awk for the "check" target. The system "awk" is bad on
2321# some platforms.
2322# Always define AMTAR for backward compatibility.
2323
2324AMTAR=${AMTAR-"${am_missing_run}tar"}
2325
2326am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2327
2328
2329
2330
2331
2332
2333ac_config_headers="$ac_config_headers config.h"
2334
2335
2336# Checks for programs.
2337ac_ext=cpp
2338ac_cpp='$CXXCPP $CPPFLAGS'
2339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2342if test -z "$CXX"; then
2343 if test -n "$CCC"; then
2344 CXX=$CCC
2345 else
2346 if test -n "$ac_tool_prefix"; then
2347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2348 do
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2350set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2352$as_echo_n "checking for $ac_word... " >&6; }
2353if test "${ac_cv_prog_CXX+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2355else
2356 if test -n "$CXX"; then
2357 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2358else
2359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360for as_dir in $PATH
2361do
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2369 fi
2370done
2371done
2372IFS=$as_save_IFS
2373
2374fi
2375fi
2376CXX=$ac_cv_prog_CXX
2377if test -n "$CXX"; then
2378 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2379$as_echo "$CXX" >&6; }
2380else
2381 { $as_echo "$as_me:$LINENO: result: no" >&5
2382$as_echo "no" >&6; }
2383fi
2384
2385
2386 test -n "$CXX" && break
2387 done
2388fi
2389if test -z "$CXX"; then
2390 ac_ct_CXX=$CXX
2391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2392do
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2394set dummy $ac_prog; ac_word=$2
2395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396$as_echo_n "checking for $ac_word... " >&6; }
2397if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2398 $as_echo_n "(cached) " >&6
2399else
2400 if test -n "$ac_ct_CXX"; then
2401 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2402else
2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404for as_dir in $PATH
2405do
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_CXX="$ac_prog"
2411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2413 fi
2414done
2415done
2416IFS=$as_save_IFS
2417
2418fi
2419fi
2420ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2421if test -n "$ac_ct_CXX"; then
2422 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2423$as_echo "$ac_ct_CXX" >&6; }
2424else
2425 { $as_echo "$as_me:$LINENO: result: no" >&5
2426$as_echo "no" >&6; }
2427fi
2428
2429
2430 test -n "$ac_ct_CXX" && break
2431done
2432
2433 if test "x$ac_ct_CXX" = x; then
2434 CXX="g++"
2435 else
2436 case $cross_compiling:$ac_tool_warned in
2437yes:)
2438{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2440ac_tool_warned=yes ;;
2441esac
2442 CXX=$ac_ct_CXX
2443 fi
2444fi
2445
2446 fi
2447fi
2448# Provide some information about the compiler.
2449$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2450set X $ac_compile
2451ac_compiler=$2
2452{ (ac_try="$ac_compiler --version >&5"
2453case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456esac
2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458$as_echo "$ac_try_echo") >&5
2459 (eval "$ac_compiler --version >&5") 2>&5
2460 ac_status=$?
2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }
2463{ (ac_try="$ac_compiler -v >&5"
2464case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467esac
2468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2469$as_echo "$ac_try_echo") >&5
2470 (eval "$ac_compiler -v >&5") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }
2474{ (ac_try="$ac_compiler -V >&5"
2475case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2480$as_echo "$ac_try_echo") >&5
2481 (eval "$ac_compiler -V >&5") 2>&5
2482 ac_status=$?
2483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2485
2486cat >conftest.$ac_ext <<_ACEOF
2487/* confdefs.h. */
2488_ACEOF
2489cat confdefs.h >>conftest.$ac_ext
2490cat >>conftest.$ac_ext <<_ACEOF
2491/* end confdefs.h. */
2492
2493int
2494main ()
2495{
2496
2497 ;
2498 return 0;
2499}
2500_ACEOF
2501ac_clean_files_save=$ac_clean_files
2502ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2503# Try to create an executable without -o first, disregard a.out.
2504# It will help us diagnose broken compilers, and finding out an intuition
2505# of exeext.
2506{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2507$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2508ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2509
2510# The possible output files:
2511ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2512
2513ac_rmfiles=
2514for ac_file in $ac_files
2515do
2516 case $ac_file in
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2518 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2519 esac
2520done
2521rm -f $ac_rmfiles
2522
2523if { (ac_try="$ac_link_default"
2524case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527esac
2528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2529$as_echo "$ac_try_echo") >&5
2530 (eval "$ac_link_default") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; then
2534 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2535# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2536# in a Makefile. We should not override ac_cv_exeext if it was cached,
2537# so that the user can short-circuit this test for compilers unknown to
2538# Autoconf.
2539for ac_file in $ac_files ''
2540do
2541 test -f "$ac_file" || continue
2542 case $ac_file in
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2544 ;;
2545 [ab].out )
2546 # We found the default executable, but exeext='' is most
2547 # certainly right.
2548 break;;
2549 *.* )
2550 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2551 then :; else
2552 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 fi
2554 # We set ac_cv_exeext here because the later test for it is not
2555 # safe: cross compilers may not add the suffix if given an `-o'
2556 # argument, so we may need to know it at that point already.
2557 # Even if this section looks crufty: it has the advantage of
2558 # actually working.
2559 break;;
2560 * )
2561 break;;
2562 esac
2563done
2564test "$ac_cv_exeext" = no && ac_cv_exeext=
2565
2566else
2567 ac_file=''
2568fi
2569
2570{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2571$as_echo "$ac_file" >&6; }
2572if test -z "$ac_file"; then
2573 $as_echo "$as_me: failed program was:" >&5
2574sed 's/^/| /' conftest.$ac_ext >&5
2575
2576{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2579See \`config.log' for more details." >&5
2580$as_echo "$as_me: error: C++ compiler cannot create executables
2581See \`config.log' for more details." >&2;}
2582 { (exit 77); exit 77; }; }; }
2583fi
2584
2585ac_exeext=$ac_cv_exeext
2586
2587# Check that the compiler produces executables we can run. If not, either
2588# the compiler is broken, or we cross compile.
2589{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2590$as_echo_n "checking whether the C++ compiler works... " >&6; }
2591# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2592# If not cross compiling, check that we can run a simple program.
2593if test "$cross_compiling" != yes; then
2594 if { ac_try='./$ac_file'
2595 { (case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598esac
2599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2600$as_echo "$ac_try_echo") >&5
2601 (eval "$ac_try") 2>&5
2602 ac_status=$?
2603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2605 cross_compiling=no
2606 else
2607 if test "$cross_compiling" = maybe; then
2608 cross_compiling=yes
2609 else
2610 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2613If you meant to cross compile, use \`--host'.
2614See \`config.log' for more details." >&5
2615$as_echo "$as_me: error: cannot run C++ compiled programs.
2616If you meant to cross compile, use \`--host'.
2617See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }; }
2619 fi
2620 fi
2621fi
2622{ $as_echo "$as_me:$LINENO: result: yes" >&5
2623$as_echo "yes" >&6; }
2624
2625rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2626ac_clean_files=$ac_clean_files_save
2627# Check that the compiler produces executables we can run. If not, either
2628# the compiler is broken, or we cross compile.
2629{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2630$as_echo_n "checking whether we are cross compiling... " >&6; }
2631{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2632$as_echo "$cross_compiling" >&6; }
2633
2634{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2635$as_echo_n "checking for suffix of executables... " >&6; }
2636if { (ac_try="$ac_link"
2637case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640esac
2641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642$as_echo "$ac_try_echo") >&5
2643 (eval "$ac_link") 2>&5
2644 ac_status=$?
2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2648# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2649# work properly (i.e., refer to `conftest.exe'), while it won't with
2650# `rm'.
2651for ac_file in conftest.exe conftest conftest.*; do
2652 test -f "$ac_file" || continue
2653 case $ac_file in
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2655 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2656 break;;
2657 * ) break;;
2658 esac
2659done
2660else
2661 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2664See \`config.log' for more details." >&5
2665$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2666See \`config.log' for more details." >&2;}
2667 { (exit 1); exit 1; }; }; }
2668fi
2669
2670rm -f conftest$ac_cv_exeext
2671{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2672$as_echo "$ac_cv_exeext" >&6; }
2673
2674rm -f conftest.$ac_ext
2675EXEEXT=$ac_cv_exeext
2676ac_exeext=$EXEEXT
2677{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2678$as_echo_n "checking for suffix of object files... " >&6; }
2679if test "${ac_cv_objext+set}" = set; then
2680 $as_echo_n "(cached) " >&6
2681else
2682 cat >conftest.$ac_ext <<_ACEOF
2683/* confdefs.h. */
2684_ACEOF
2685cat confdefs.h >>conftest.$ac_ext
2686cat >>conftest.$ac_ext <<_ACEOF
2687/* end confdefs.h. */
2688
2689int
2690main ()
2691{
2692
2693 ;
2694 return 0;
2695}
2696_ACEOF
2697rm -f conftest.o conftest.obj
2698if { (ac_try="$ac_compile"
2699case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702esac
2703eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704$as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compile") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 for ac_file in conftest.o conftest.obj conftest.*; do
2710 test -f "$ac_file" || continue;
2711 case $ac_file in
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2714 break;;
2715 esac
2716done
2717else
2718 $as_echo "$as_me: failed program was:" >&5
2719sed 's/^/| /' conftest.$ac_ext >&5
2720
2721{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2724See \`config.log' for more details." >&5
2725$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2726See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }; }
2728fi
2729
2730rm -f conftest.$ac_cv_objext conftest.$ac_ext
2731fi
2732{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2733$as_echo "$ac_cv_objext" >&6; }
2734OBJEXT=$ac_cv_objext
2735ac_objext=$OBJEXT
2736{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2737$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2738if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2739 $as_echo_n "(cached) " >&6
2740else
2741 cat >conftest.$ac_ext <<_ACEOF
2742/* confdefs.h. */
2743_ACEOF
2744cat confdefs.h >>conftest.$ac_ext
2745cat >>conftest.$ac_ext <<_ACEOF
2746/* end confdefs.h. */
2747
2748int
2749main ()
2750{
2751#ifndef __GNUC__
2752 choke me
2753#endif
2754
2755 ;
2756 return 0;
2757}
2758_ACEOF
2759rm -f conftest.$ac_objext
2760if { (ac_try="$ac_compile"
2761case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764esac
2765eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2766$as_echo "$ac_try_echo") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2768 ac_status=$?
2769 grep -v '^ *+' conftest.er1 >conftest.err
2770 rm -f conftest.er1
2771 cat conftest.err >&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } && {
2774 test -z "$ac_cxx_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest.$ac_objext; then
2777 ac_compiler_gnu=yes
2778else
2779 $as_echo "$as_me: failed program was:" >&5
2780sed 's/^/| /' conftest.$ac_ext >&5
2781
2782 ac_compiler_gnu=no
2783fi
2784
2785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2787
2788fi
2789{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2790$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2791if test $ac_compiler_gnu = yes; then
2792 GXX=yes
2793else
2794 GXX=
2795fi
2796ac_test_CXXFLAGS=${CXXFLAGS+set}
2797ac_save_CXXFLAGS=$CXXFLAGS
2798{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2799$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2800if test "${ac_cv_prog_cxx_g+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2802else
2803 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2804 ac_cxx_werror_flag=yes
2805 ac_cv_prog_cxx_g=no
2806 CXXFLAGS="-g"
2807 cat >conftest.$ac_ext <<_ACEOF
2808/* confdefs.h. */
2809_ACEOF
2810cat confdefs.h >>conftest.$ac_ext
2811cat >>conftest.$ac_ext <<_ACEOF
2812/* end confdefs.h. */
2813
2814int
2815main ()
2816{
2817
2818 ;
2819 return 0;
2820}
2821_ACEOF
2822rm -f conftest.$ac_objext
2823if { (ac_try="$ac_compile"
2824case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827esac
2828eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829$as_echo "$ac_try_echo") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_cxx_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then
2840 ac_cv_prog_cxx_g=yes
2841else
2842 $as_echo "$as_me: failed program was:" >&5
2843sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 CXXFLAGS=""
2846 cat >conftest.$ac_ext <<_ACEOF
2847/* confdefs.h. */
2848_ACEOF
2849cat confdefs.h >>conftest.$ac_ext
2850cat >>conftest.$ac_ext <<_ACEOF
2851/* end confdefs.h. */
2852
2853int
2854main ()
2855{
2856
2857 ;
2858 return 0;
2859}
2860_ACEOF
2861rm -f conftest.$ac_objext
2862if { (ac_try="$ac_compile"
2863case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866esac
2867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868$as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2870 ac_status=$?
2871 grep -v '^ *+' conftest.er1 >conftest.err
2872 rm -f conftest.er1
2873 cat conftest.err >&5
2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_cxx_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2879 :
2880else
2881 $as_echo "$as_me: failed program was:" >&5
2882sed 's/^/| /' conftest.$ac_ext >&5
2883
2884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2885 CXXFLAGS="-g"
2886 cat >conftest.$ac_ext <<_ACEOF
2887/* confdefs.h. */
2888_ACEOF
2889cat confdefs.h >>conftest.$ac_ext
2890cat >>conftest.$ac_ext <<_ACEOF
2891/* end confdefs.h. */
2892
2893int
2894main ()
2895{
2896
2897 ;
2898 return 0;
2899}
2900_ACEOF
2901rm -f conftest.$ac_objext
2902if { (ac_try="$ac_compile"
2903case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906esac
2907eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908$as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_cxx_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2919 ac_cv_prog_cxx_g=yes
2920else
2921 $as_echo "$as_me: failed program was:" >&5
2922sed 's/^/| /' conftest.$ac_ext >&5
2923
2924
2925fi
2926
2927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928fi
2929
2930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931fi
2932
2933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2935fi
2936{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2937$as_echo "$ac_cv_prog_cxx_g" >&6; }
2938if test "$ac_test_CXXFLAGS" = set; then
2939 CXXFLAGS=$ac_save_CXXFLAGS
2940elif test $ac_cv_prog_cxx_g = yes; then
2941 if test "$GXX" = yes; then
2942 CXXFLAGS="-g -O2"
2943 else
2944 CXXFLAGS="-g"
2945 fi
2946else
2947 if test "$GXX" = yes; then
2948 CXXFLAGS="-O2"
2949 else
2950 CXXFLAGS=
2951 fi
2952fi
2953ac_ext=c
2954ac_cpp='$CPP $CPPFLAGS'
2955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958DEPDIR="${am__leading_dot}deps"
2959
2960ac_config_commands="$ac_config_commands depfiles"
2961
2962
2963am_make=${MAKE-make}
2964cat > confinc << 'END'
2965am__doit:
2966 @echo done
2967.PHONY: am__doit
2968END
2969# If we don't find an include directive, just comment out the code.
2970{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971$as_echo_n "checking for style of include used by $am_make... " >&6; }
2972am__include="#"
2973am__quote=
2974_am_result=none
2975# First try GNU make style include.
2976echo "include confinc" > confmf
2977# We grep out `Entering directory' and `Leaving directory'
2978# messages which can occur if `w' ends up in MAKEFLAGS.
2979# In particular we don't look at `^make:' because GNU make might
2980# be invoked under some other name (usually "gmake"), in which
2981# case it prints its new name instead of `make'.
2982if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2983 am__include=include
2984 am__quote=
2985 _am_result=GNU
2986fi
2987# Now try BSD make style include.
2988if test "$am__include" = "#"; then
2989 echo '.include "confinc"' > confmf
2990 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2991 am__include=.include
2992 am__quote="\""
2993 _am_result=BSD
2994 fi
2995fi
2996
2997
2998{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2999$as_echo "$_am_result" >&6; }
3000rm -f confinc confmf
3001
3002@%:@ Check whether --enable-dependency-tracking was given.
3003if test "${enable_dependency_tracking+set}" = set; then
3004 enableval=$enable_dependency_tracking;
3005fi
3006
3007if test "x$enable_dependency_tracking" != xno; then
3008 am_depcomp="$ac_aux_dir/depcomp"
3009 AMDEPBACKSLASH='\'
3010fi
3011 if test "x$enable_dependency_tracking" != xno; then
3012 AMDEP_TRUE=
3013 AMDEP_FALSE='#'
3014else
3015 AMDEP_TRUE='#'
3016 AMDEP_FALSE=
3017fi
3018
3019
3020
3021depcc="$CXX" am_compiler_list=
3022
3023{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3024$as_echo_n "checking dependency style of $depcc... " >&6; }
3025if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3026 $as_echo_n "(cached) " >&6
3027else
3028 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3029 # We make a subdir and do the tests there. Otherwise we can end up
3030 # making bogus files that we don't know about and never remove. For
3031 # instance it was reported that on HP-UX the gcc test will end up
3032 # making a dummy file named `D' -- because `-MD' means `put the output
3033 # in D'.
3034 mkdir conftest.dir
3035 # Copy depcomp to subdir because otherwise we won't find it if we're
3036 # using a relative directory.
3037 cp "$am_depcomp" conftest.dir
3038 cd conftest.dir
3039 # We will build objects and dependencies in a subdirectory because
3040 # it helps to detect inapplicable dependency modes. For instance
3041 # both Tru64's cc and ICC support -MD to output dependencies as a
3042 # side effect of compilation, but ICC will put the dependencies in
3043 # the current directory while Tru64 will put them in the object
3044 # directory.
3045 mkdir sub
3046
3047 am_cv_CXX_dependencies_compiler_type=none
3048 if test "$am_compiler_list" = ""; then
3049 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3050 fi
3051 for depmode in $am_compiler_list; do
3052 # Setup a source with many dependencies, because some compilers
3053 # like to wrap large dependency lists on column 80 (with \), and
3054 # we should not choose a depcomp mode which is confused by this.
3055 #
3056 # We need to recreate these files for each test, as the compiler may
3057 # overwrite some of them when testing with obscure command lines.
3058 # This happens at least with the AIX C compiler.
3059 : > sub/conftest.c
3060 for i in 1 2 3 4 5 6; do
3061 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3063 # Solaris 8's {/usr,}/bin/sh.
3064 touch sub/conftst$i.h
3065 done
3066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3067
3068 case $depmode in
3069 nosideeffect)
3070 # after this tag, mechanisms are not by side-effect, so they'll
3071 # only be used when explicitly requested
3072 if test "x$enable_dependency_tracking" = xyes; then
3073 continue
3074 else
3075 break
3076 fi
3077 ;;
3078 none) break ;;
3079 esac
3080 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3081 # mode. It turns out that the SunPro C++ compiler does not properly
3082 # handle `-M -o', and we need to detect this.
3083 if depmode=$depmode \
3084 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3085 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3086 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3087 >/dev/null 2>conftest.err &&
3088 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3089 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3090 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3091 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3092 # icc doesn't choke on unknown options, it will just issue warnings
3093 # or remarks (even with -Werror). So we grep stderr for any message
3094 # that says an option was ignored or not supported.
3095 # When given -MP, icc 7.0 and 7.1 complain thusly:
3096 # icc: Command line warning: ignoring option '-M'; no argument required
3097 # The diagnosis changed in icc 8.0:
3098 # icc: Command line remark: option '-MP' not supported
3099 if (grep 'ignoring option' conftest.err ||
3100 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3101 am_cv_CXX_dependencies_compiler_type=$depmode
3102 break
3103 fi
3104 fi
3105 done
3106
3107 cd ..
3108 rm -rf conftest.dir
3109else
3110 am_cv_CXX_dependencies_compiler_type=none
3111fi
3112
3113fi
3114{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3115$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3116CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3117
3118 if
3119 test "x$enable_dependency_tracking" != xno \
3120 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3121 am__fastdepCXX_TRUE=
3122 am__fastdepCXX_FALSE='#'
3123else
3124 am__fastdepCXX_TRUE='#'
3125 am__fastdepCXX_FALSE=
3126fi
3127
3128
3129ac_ext=c
3130ac_cpp='$CPP $CPPFLAGS'
3131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133ac_compiler_gnu=$ac_cv_c_compiler_gnu
3134if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3136set dummy ${ac_tool_prefix}gcc; ac_word=$2
3137{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3138$as_echo_n "checking for $ac_word... " >&6; }
3139if test "${ac_cv_prog_CC+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3141else
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC="$CC" # Let the user override the test.
3144else
3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146for as_dir in $PATH
3147do
3148 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3153 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 break 2
3155 fi
3156done
3157done
3158IFS=$as_save_IFS
3159
3160fi
3161fi
3162CC=$ac_cv_prog_CC
3163if test -n "$CC"; then
3164 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3165$as_echo "$CC" >&6; }
3166else
3167 { $as_echo "$as_me:$LINENO: result: no" >&5
3168$as_echo "no" >&6; }
3169fi
3170
3171
3172fi
3173if test -z "$ac_cv_prog_CC"; then
3174 ac_ct_CC=$CC
3175 # Extract the first word of "gcc", so it can be a program name with args.
3176set dummy gcc; ac_word=$2
3177{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3178$as_echo_n "checking for $ac_word... " >&6; }
3179if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3180 $as_echo_n "(cached) " >&6
3181else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184else
3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH
3187do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_ac_ct_CC="gcc"
3193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3195 fi
3196done
3197done
3198IFS=$as_save_IFS
3199
3200fi
3201fi
3202ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3205$as_echo "$ac_ct_CC" >&6; }
3206else
3207 { $as_echo "$as_me:$LINENO: result: no" >&5
3208$as_echo "no" >&6; }
3209fi
3210
3211 if test "x$ac_ct_CC" = x; then
3212 CC=""
3213 else
3214 case $cross_compiling:$ac_tool_warned in
3215yes:)
3216{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218ac_tool_warned=yes ;;
3219esac
3220 CC=$ac_ct_CC
3221 fi
3222else
3223 CC="$ac_cv_prog_CC"
3224fi
3225
3226if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3229set dummy ${ac_tool_prefix}cc; ac_word=$2
3230{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3231$as_echo_n "checking for $ac_word... " >&6; }
3232if test "${ac_cv_prog_CC+set}" = set; then
3233 $as_echo_n "(cached) " >&6
3234else
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC="$CC" # Let the user override the test.
3237else
3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239for as_dir in $PATH
3240do
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_CC="${ac_tool_prefix}cc"
3246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 break 2
3248 fi
3249done
3250done
3251IFS=$as_save_IFS
3252
3253fi
3254fi
3255CC=$ac_cv_prog_CC
3256if test -n "$CC"; then
3257 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3258$as_echo "$CC" >&6; }
3259else
3260 { $as_echo "$as_me:$LINENO: result: no" >&5
3261$as_echo "no" >&6; }
3262fi
3263
3264
3265 fi
3266fi
3267if test -z "$CC"; then
3268 # Extract the first word of "cc", so it can be a program name with args.
3269set dummy cc; ac_word=$2
3270{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3271$as_echo_n "checking for $ac_word... " >&6; }
3272if test "${ac_cv_prog_CC+set}" = set; then
3273 $as_echo_n "(cached) " >&6
3274else
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3277else
3278 ac_prog_rejected=no
3279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280for as_dir in $PATH
3281do
3282 IFS=$as_save_IFS
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3287 ac_prog_rejected=yes
3288 continue
3289 fi
3290 ac_cv_prog_CC="cc"
3291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294done
3295done
3296IFS=$as_save_IFS
3297
3298if test $ac_prog_rejected = yes; then
3299 # We found a bogon in the path, so make sure we never use it.
3300 set dummy $ac_cv_prog_CC
3301 shift
3302 if test $@%:@ != 0; then
3303 # We chose a different compiler from the bogus one.
3304 # However, it has the same basename, so the bogon will be chosen
3305 # first if we set CC to just the basename; use the full file name.
3306 shift
3307 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3308 fi
3309fi
3310fi
3311fi
3312CC=$ac_cv_prog_CC
3313if test -n "$CC"; then
3314 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3315$as_echo "$CC" >&6; }
3316else
3317 { $as_echo "$as_me:$LINENO: result: no" >&5
3318$as_echo "no" >&6; }
3319fi
3320
3321
3322fi
3323if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 for ac_prog in cl.exe
3326 do
3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3328set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3329{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3330$as_echo_n "checking for $ac_word... " >&6; }
3331if test "${ac_cv_prog_CC+set}" = set; then
3332 $as_echo_n "(cached) " >&6
3333else
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC="$CC" # Let the user override the test.
3336else
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3347 fi
3348done
3349done
3350IFS=$as_save_IFS
3351
3352fi
3353fi
3354CC=$ac_cv_prog_CC
3355if test -n "$CC"; then
3356 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3357$as_echo "$CC" >&6; }
3358else
3359 { $as_echo "$as_me:$LINENO: result: no" >&5
3360$as_echo "no" >&6; }
3361fi
3362
3363
3364 test -n "$CC" && break
3365 done
3366fi
3367if test -z "$CC"; then
3368 ac_ct_CC=$CC
3369 for ac_prog in cl.exe
3370do
3371 # Extract the first word of "$ac_prog", so it can be a program name with args.
3372set dummy $ac_prog; ac_word=$2
3373{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3374$as_echo_n "checking for $ac_word... " >&6; }
3375if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3376 $as_echo_n "(cached) " >&6
3377else
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380else
3381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382for as_dir in $PATH
3383do
3384 IFS=$as_save_IFS
3385 test -z "$as_dir" && as_dir=.
3386 for ac_exec_ext in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC="$ac_prog"
3389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 break 2
3391 fi
3392done
3393done
3394IFS=$as_save_IFS
3395
3396fi
3397fi
3398ac_ct_CC=$ac_cv_prog_ac_ct_CC
3399if test -n "$ac_ct_CC"; then
3400 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3401$as_echo "$ac_ct_CC" >&6; }
3402else
3403 { $as_echo "$as_me:$LINENO: result: no" >&5
3404$as_echo "no" >&6; }
3405fi
3406
3407
3408 test -n "$ac_ct_CC" && break
3409done
3410
3411 if test "x$ac_ct_CC" = x; then
3412 CC=""
3413 else
3414 case $cross_compiling:$ac_tool_warned in
3415yes:)
3416{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418ac_tool_warned=yes ;;
3419esac
3420 CC=$ac_ct_CC
3421 fi
3422fi
3423
3424fi
3425
3426
3427test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3430See \`config.log' for more details." >&5
3431$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3432See \`config.log' for more details." >&2;}
3433 { (exit 1); exit 1; }; }; }
3434
3435# Provide some information about the compiler.
3436$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3437set X $ac_compile
3438ac_compiler=$2
3439{ (ac_try="$ac_compiler --version >&5"
3440case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443esac
3444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445$as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compiler --version >&5") 2>&5
3447 ac_status=$?
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }
3450{ (ac_try="$ac_compiler -v >&5"
3451case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454esac
3455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3456$as_echo "$ac_try_echo") >&5
3457 (eval "$ac_compiler -v >&5") 2>&5
3458 ac_status=$?
3459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }
3461{ (ac_try="$ac_compiler -V >&5"
3462case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3465esac
3466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3467$as_echo "$ac_try_echo") >&5
3468 (eval "$ac_compiler -V >&5") 2>&5
3469 ac_status=$?
3470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }
3472
3473{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3474$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475if test "${ac_cv_c_compiler_gnu+set}" = set; then
3476 $as_echo_n "(cached) " >&6
3477else
3478 cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h. */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3483/* end confdefs.h. */
3484
3485int
3486main ()
3487{
3488#ifndef __GNUC__
3489 choke me
3490#endif
3491
3492 ;
3493 return 0;
3494}
3495_ACEOF
3496rm -f conftest.$ac_objext
3497if { (ac_try="$ac_compile"
3498case "(($ac_try" in
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3503$as_echo "$ac_try_echo") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
3514 ac_compiler_gnu=yes
3515else
3516 $as_echo "$as_me: failed program was:" >&5
3517sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 ac_compiler_gnu=no
3520fi
3521
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529 GCC=yes
3530else
3531 GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if test "${ac_cv_prog_cc_g+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3539else
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3542 ac_cv_prog_cc_g=no
3543 CFLAGS="-g"
3544 cat >conftest.$ac_ext <<_ACEOF
3545/* confdefs.h. */
3546_ACEOF
3547cat confdefs.h >>conftest.$ac_ext
3548cat >>conftest.$ac_ext <<_ACEOF
3549/* end confdefs.h. */
3550
3551int
3552main ()
3553{
3554
3555 ;
3556 return 0;
3557}
3558_ACEOF
3559rm -f conftest.$ac_objext
3560if { (ac_try="$ac_compile"
3561case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3564esac
3565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3566$as_echo "$ac_try_echo") >&5
3567 (eval "$ac_compile") 2>conftest.er1
3568 ac_status=$?
3569 grep -v '^ *+' conftest.er1 >conftest.err
3570 rm -f conftest.er1
3571 cat conftest.err >&5
3572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } && {
3574 test -z "$ac_c_werror_flag" ||
3575 test ! -s conftest.err
3576 } && test -s conftest.$ac_objext; then
3577 ac_cv_prog_cc_g=yes
3578else
3579 $as_echo "$as_me: failed program was:" >&5
3580sed 's/^/| /' conftest.$ac_ext >&5
3581
3582 CFLAGS=""
3583 cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h. */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h. */
3589
3590int
3591main ()
3592{
3593
3594 ;
3595 return 0;
3596}
3597_ACEOF
3598rm -f conftest.$ac_objext
3599if { (ac_try="$ac_compile"
3600case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603esac
3604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605$as_echo "$ac_try_echo") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3607 ac_status=$?
3608 grep -v '^ *+' conftest.er1 >conftest.err
3609 rm -f conftest.er1
3610 cat conftest.err >&5
3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 :
3617else
3618 $as_echo "$as_me: failed program was:" >&5
3619sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_c_werror_flag=$ac_save_c_werror_flag
3622 CFLAGS="-g"
3623 cat >conftest.$ac_ext <<_ACEOF
3624/* confdefs.h. */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3628/* end confdefs.h. */
3629
3630int
3631main ()
3632{
3633
3634 ;
3635 return 0;
3636}
3637_ACEOF
3638rm -f conftest.$ac_objext
3639if { (ac_try="$ac_compile"
3640case "(($ac_try" in
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3643esac
3644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645$as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3647 ac_status=$?
3648 grep -v '^ *+' conftest.er1 >conftest.err
3649 rm -f conftest.er1
3650 cat conftest.err >&5
3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3656 ac_cv_prog_cc_g=yes
3657else
3658 $as_echo "$as_me: failed program was:" >&5
3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661
3662fi
3663
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665fi
3666
3667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668fi
3669
3670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3672fi
3673{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3674$as_echo "$ac_cv_prog_cc_g" >&6; }
3675if test "$ac_test_CFLAGS" = set; then
3676 CFLAGS=$ac_save_CFLAGS
3677elif test $ac_cv_prog_cc_g = yes; then
3678 if test "$GCC" = yes; then
3679 CFLAGS="-g -O2"
3680 else
3681 CFLAGS="-g"
3682 fi
3683else
3684 if test "$GCC" = yes; then
3685 CFLAGS="-O2"
3686 else
3687 CFLAGS=
3688 fi
3689fi
3690{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3691$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692if test "${ac_cv_prog_cc_c89+set}" = set; then
3693 $as_echo_n "(cached) " >&6
3694else
3695 ac_cv_prog_cc_c89=no
3696ac_save_CC=$CC
3697cat >conftest.$ac_ext <<_ACEOF
3698/* confdefs.h. */
3699_ACEOF
3700cat confdefs.h >>conftest.$ac_ext
3701cat >>conftest.$ac_ext <<_ACEOF
3702/* end confdefs.h. */
3703#include <stdarg.h>
3704#include <stdio.h>
3705#include <sys/types.h>
3706#include <sys/stat.h>
3707/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3708struct buf { int x; };
3709FILE * (*rcsopen) (struct buf *, struct stat *, int);
3710static char *e (p, i)
3711 char **p;
3712 int i;
3713{
3714 return p[i];
3715}
3716static char *f (char * (*g) (char **, int), char **p, ...)
3717{
3718 char *s;
3719 va_list v;
3720 va_start (v,p);
3721 s = g (p, va_arg (v,int));
3722 va_end (v);
3723 return s;
3724}
3725
3726/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3727 function prototypes and stuff, but not '\xHH' hex character constants.
3728 These don't provoke an error unfortunately, instead are silently treated
3729 as 'x'. The following induces an error, until -std is added to get
3730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3731 array size at least. It's necessary to write '\x00'==0 to get something
3732 that's true only with -std. */
3733int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3734
3735/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3736 inside strings and character constants. */
3737#define FOO(x) 'x'
3738int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3739
3740int test (int i, double x);
3741struct s1 {int (*f) (int a);};
3742struct s2 {int (*f) (double a);};
3743int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3744int argc;
3745char **argv;
3746int
3747main ()
3748{
3749return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750 ;
3751 return 0;
3752}
3753_ACEOF
3754for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3756do
3757 CC="$ac_save_CC $ac_arg"
3758 rm -f conftest.$ac_objext
3759if { (ac_try="$ac_compile"
3760case "(($ac_try" in
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3763esac
3764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3765$as_echo "$ac_try_echo") >&5
3766 (eval "$ac_compile") 2>conftest.er1
3767 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1
3770 cat conftest.err >&5
3771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest.$ac_objext; then
3776 ac_cv_prog_cc_c89=$ac_arg
3777else
3778 $as_echo "$as_me: failed program was:" >&5
3779sed 's/^/| /' conftest.$ac_ext >&5
3780
3781
3782fi
3783
3784rm -f core conftest.err conftest.$ac_objext
3785 test "x$ac_cv_prog_cc_c89" != "xno" && break
3786done
3787rm -f conftest.$ac_ext
3788CC=$ac_save_CC
3789
3790fi
3791# AC_CACHE_VAL
3792case "x$ac_cv_prog_cc_c89" in
3793 x)
3794 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3795$as_echo "none needed" >&6; } ;;
3796 xno)
3797 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3798$as_echo "unsupported" >&6; } ;;
3799 *)
3800 CC="$CC $ac_cv_prog_cc_c89"
3801 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3802$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3803esac
3804
3805
3806ac_ext=c
3807ac_cpp='$CPP $CPPFLAGS'
3808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811
3812depcc="$CC" am_compiler_list=
3813
3814{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3815$as_echo_n "checking dependency style of $depcc... " >&6; }
3816if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3817 $as_echo_n "(cached) " >&6
3818else
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named `D' -- because `-MD' means `put the output
3824 # in D'.
3825 mkdir conftest.dir
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3829 cd conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3835 # directory.
3836 mkdir sub
3837
3838 am_cv_CC_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841 fi
3842 for depmode in $am_compiler_list; do
3843 # Setup a source with many dependencies, because some compilers
3844 # like to wrap large dependency lists on column 80 (with \), and
3845 # we should not choose a depcomp mode which is confused by this.
3846 #
3847 # We need to recreate these files for each test, as the compiler may
3848 # overwrite some of them when testing with obscure command lines.
3849 # This happens at least with the AIX C compiler.
3850 : > sub/conftest.c
3851 for i in 1 2 3 4 5 6; do
3852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3853 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3854 # Solaris 8's {/usr,}/bin/sh.
3855 touch sub/conftst$i.h
3856 done
3857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3858
3859 case $depmode in
3860 nosideeffect)
3861 # after this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested
3863 if test "x$enable_dependency_tracking" = xyes; then
3864 continue
3865 else
3866 break
3867 fi
3868 ;;
3869 none) break ;;
3870 esac
3871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3872 # mode. It turns out that the SunPro C++ compiler does not properly
3873 # handle `-M -o', and we need to detect this.
3874 if depmode=$depmode \
3875 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3877 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3878 >/dev/null 2>conftest.err &&
3879 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3880 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3881 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3882 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3883 # icc doesn't choke on unknown options, it will just issue warnings
3884 # or remarks (even with -Werror). So we grep stderr for any message
3885 # that says an option was ignored or not supported.
3886 # When given -MP, icc 7.0 and 7.1 complain thusly:
3887 # icc: Command line warning: ignoring option '-M'; no argument required
3888 # The diagnosis changed in icc 8.0:
3889 # icc: Command line remark: option '-MP' not supported
3890 if (grep 'ignoring option' conftest.err ||
3891 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3892 am_cv_CC_dependencies_compiler_type=$depmode
3893 break
3894 fi
3895 fi
3896 done
3897
3898 cd ..
3899 rm -rf conftest.dir
3900else
3901 am_cv_CC_dependencies_compiler_type=none
3902fi
3903
3904fi
3905{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3906$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3907CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908
3909 if
3910 test "x$enable_dependency_tracking" != xno \
3911 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3912 am__fastdepCC_TRUE=
3913 am__fastdepCC_FALSE='#'
3914else
3915 am__fastdepCC_TRUE='#'
3916 am__fastdepCC_FALSE=
3917fi
3918
3919
3920
3921# Checks for libraries.
3922
3923
3924if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3927set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3928{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3929$as_echo_n "checking for $ac_word... " >&6; }
3930if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3931 $as_echo_n "(cached) " >&6
3932else
3933 case $PKG_CONFIG in
3934 [\\/]* | ?:[\\/]*)
3935 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3936 ;;
3937 *)
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939for as_dir in $PATH
3940do
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3948 fi
3949done
3950done
3951IFS=$as_save_IFS
3952
3953 ;;
3954esac
3955fi
3956PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3957if test -n "$PKG_CONFIG"; then
3958 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3959$as_echo "$PKG_CONFIG" >&6; }
3960else
3961 { $as_echo "$as_me:$LINENO: result: no" >&5
3962$as_echo "no" >&6; }
3963fi
3964
3965
3966fi
3967if test -z "$ac_cv_path_PKG_CONFIG"; then
3968 ac_pt_PKG_CONFIG=$PKG_CONFIG
3969 # Extract the first word of "pkg-config", so it can be a program name with args.
3970set dummy pkg-config; ac_word=$2
3971{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3972$as_echo_n "checking for $ac_word... " >&6; }
3973if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3975else
3976 case $ac_pt_PKG_CONFIG in
3977 [\\/]* | ?:[\\/]*)
3978 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3979 ;;
3980 *)
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982for as_dir in $PATH
3983do
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3991 fi
3992done
3993done
3994IFS=$as_save_IFS
3995
3996 ;;
3997esac
3998fi
3999ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4000if test -n "$ac_pt_PKG_CONFIG"; then
4001 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4002$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4003else
4004 { $as_echo "$as_me:$LINENO: result: no" >&5
4005$as_echo "no" >&6; }
4006fi
4007
4008 if test "x$ac_pt_PKG_CONFIG" = x; then
4009 PKG_CONFIG=""
4010 else
4011 case $cross_compiling:$ac_tool_warned in
4012yes:)
4013{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4015ac_tool_warned=yes ;;
4016esac
4017 PKG_CONFIG=$ac_pt_PKG_CONFIG
4018 fi
4019else
4020 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4021fi
4022
4023fi
4024if test -n "$PKG_CONFIG"; then
4025 _pkg_min_version=0.9.0
4026 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4027$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4028 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4029 { $as_echo "$as_me:$LINENO: result: yes" >&5
4030$as_echo "yes" >&6; }
4031 else
4032 { $as_echo "$as_me:$LINENO: result: no" >&5
4033$as_echo "no" >&6; }
4034 PKG_CONFIG=""
4035 fi
4036
4037fi
4038
4039pkg_failed=no
4040{ $as_echo "$as_me:$LINENO: checking for SDL" >&5
4041$as_echo_n "checking for SDL... " >&6; }
4042
4043if test -n "$PKG_CONFIG"; then
4044 if test -n "$SDL_CFLAGS"; then
4045 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
4046 else
4047 if test -n "$PKG_CONFIG" && \
4048 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4049 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; then
4053 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2" 2>/dev/null`
4054else
4055 pkg_failed=yes
4056fi
4057 fi
4058else
4059 pkg_failed=untried
4060fi
4061if test -n "$PKG_CONFIG"; then
4062 if test -n "$SDL_LIBS"; then
4063 pkg_cv_SDL_LIBS="$SDL_LIBS"
4064 else
4065 if test -n "$PKG_CONFIG" && \
4066 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4067 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4068 ac_status=$?
4069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; then
4071 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2" 2>/dev/null`
4072else
4073 pkg_failed=yes
4074fi
4075 fi
4076else
4077 pkg_failed=untried
4078fi
4079
4080
4081
4082if test $pkg_failed = yes; then
4083
4084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4085 _pkg_short_errors_supported=yes
4086else
4087 _pkg_short_errors_supported=no
4088fi
4089 if test $_pkg_short_errors_supported = yes; then
4090 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2"`
4091 else
4092 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2"`
4093 fi
4094 # Put the nasty error message in config.log where it belongs
4095 echo "$SDL_PKG_ERRORS" >&5
4096
4097 { { $as_echo "$as_me:$LINENO: error: Package requirements (sdl >= 1.2) were not met:
4098
4099$SDL_PKG_ERRORS
4100
4101Consider adjusting the PKG_CONFIG_PATH environment variable if you
4102installed software in a non-standard prefix.
4103
4104Alternatively, you may set the environment variables SDL_CFLAGS
4105and SDL_LIBS to avoid the need to call pkg-config.
4106See the pkg-config man page for more details.
4107" >&5
4108$as_echo "$as_me: error: Package requirements (sdl >= 1.2) were not met:
4109
4110$SDL_PKG_ERRORS
4111
4112Consider adjusting the PKG_CONFIG_PATH environment variable if you
4113installed software in a non-standard prefix.
4114
4115Alternatively, you may set the environment variables SDL_CFLAGS
4116and SDL_LIBS to avoid the need to call pkg-config.
4117See the pkg-config man page for more details.
4118" >&2;}
4119 { (exit 1); exit 1; }; }
4120elif test $pkg_failed = untried; then
4121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4124is in your PATH or set the PKG_CONFIG environment variable to the full
4125path to pkg-config.
4126
4127Alternatively, you may set the environment variables SDL_CFLAGS
4128and SDL_LIBS to avoid the need to call pkg-config.
4129See the pkg-config man page for more details.
4130
4131To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4132See \`config.log' for more details." >&5
4133$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4134is in your PATH or set the PKG_CONFIG environment variable to the full
4135path to pkg-config.
4136
4137Alternatively, you may set the environment variables SDL_CFLAGS
4138and SDL_LIBS to avoid the need to call pkg-config.
4139See the pkg-config man page for more details.
4140
4141To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4142See \`config.log' for more details." >&2;}
4143 { (exit 1); exit 1; }; }; }
4144else
4145 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
4146 SDL_LIBS=$pkg_cv_SDL_LIBS
4147 { $as_echo "$as_me:$LINENO: result: yes" >&5
4148$as_echo "yes" >&6; }
4149 :
4150fi
4151CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
4152LDFLAGS="$SDL_LIBS"
4153
4154# Checks for header files.
4155
4156# Checks for typedefs, structures, and compiler characteristics.
4157
4158ac_ext=c
4159ac_cpp='$CPP $CPPFLAGS'
4160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4164$as_echo_n "checking how to run the C preprocessor... " >&6; }
4165# On Suns, sometimes $CPP names a directory.
4166if test -n "$CPP" && test -d "$CPP"; then
4167 CPP=
4168fi
4169if test -z "$CPP"; then
4170 if test "${ac_cv_prog_CPP+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4172else
4173 # Double quotes because CPP needs to be expanded
4174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4175 do
4176 ac_preproc_ok=false
4177for ac_c_preproc_warn_flag in '' yes
4178do
4179 # Use a header file that comes with gcc, so configuring glibc
4180 # with a fresh cross-compiler works.
4181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4182 # <limits.h> exists even on freestanding compilers.
4183 # On the NeXT, cc -E runs the code through the compiler's parser,
4184 # not just through cpp. "Syntax error" is here to catch this case.
4185 cat >conftest.$ac_ext <<_ACEOF
4186/* confdefs.h. */
4187_ACEOF
4188cat confdefs.h >>conftest.$ac_ext
4189cat >>conftest.$ac_ext <<_ACEOF
4190/* end confdefs.h. */
4191@%:@ifdef __STDC__
4192@%:@ include <limits.h>
4193@%:@else
4194@%:@ include <assert.h>
4195@%:@endif
4196 Syntax error
4197_ACEOF
4198if { (ac_try="$ac_cpp conftest.$ac_ext"
4199case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202esac
4203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4204$as_echo "$ac_try_echo") >&5
4205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4206 ac_status=$?
4207 grep -v '^ *+' conftest.er1 >conftest.err
4208 rm -f conftest.er1
4209 cat conftest.err >&5
4210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev/null && {
4212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213 test ! -s conftest.err
4214 }; then
4215 :
4216else
4217 $as_echo "$as_me: failed program was:" >&5
4218sed 's/^/| /' conftest.$ac_ext >&5
4219
4220 # Broken: fails on valid input.
4221continue
4222fi
4223
4224rm -f conftest.err conftest.$ac_ext
4225
4226 # OK, works on sane cases. Now check whether nonexistent headers
4227 # can be detected and how.
4228 cat >conftest.$ac_ext <<_ACEOF
4229/* confdefs.h. */
4230_ACEOF
4231cat confdefs.h >>conftest.$ac_ext
4232cat >>conftest.$ac_ext <<_ACEOF
4233/* end confdefs.h. */
4234@%:@include <ac_nonexistent.h>
4235_ACEOF
4236if { (ac_try="$ac_cpp conftest.$ac_ext"
4237case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240esac
4241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4242$as_echo "$ac_try_echo") >&5
4243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4244 ac_status=$?
4245 grep -v '^ *+' conftest.er1 >conftest.err
4246 rm -f conftest.er1
4247 cat conftest.err >&5
4248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } >/dev/null && {
4250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4251 test ! -s conftest.err
4252 }; then
4253 # Broken: success on invalid input.
4254continue
4255else
4256 $as_echo "$as_me: failed program was:" >&5
4257sed 's/^/| /' conftest.$ac_ext >&5
4258
4259 # Passes both tests.
4260ac_preproc_ok=:
4261break
4262fi
4263
4264rm -f conftest.err conftest.$ac_ext
4265
4266done
4267# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268rm -f conftest.err conftest.$ac_ext
4269if $ac_preproc_ok; then
4270 break
4271fi
4272
4273 done
4274 ac_cv_prog_CPP=$CPP
4275
4276fi
4277 CPP=$ac_cv_prog_CPP
4278else
4279 ac_cv_prog_CPP=$CPP
4280fi
4281{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4282$as_echo "$CPP" >&6; }
4283ac_preproc_ok=false
4284for ac_c_preproc_warn_flag in '' yes
4285do
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat >conftest.$ac_ext <<_ACEOF
4293/* confdefs.h. */
4294_ACEOF
4295cat confdefs.h >>conftest.$ac_ext
4296cat >>conftest.$ac_ext <<_ACEOF
4297/* end confdefs.h. */
4298@%:@ifdef __STDC__
4299@%:@ include <limits.h>
4300@%:@else
4301@%:@ include <assert.h>
4302@%:@endif
4303 Syntax error
4304_ACEOF
4305if { (ac_try="$ac_cpp conftest.$ac_ext"
4306case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309esac
4310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4311$as_echo "$ac_try_echo") >&5
4312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4313 ac_status=$?
4314 grep -v '^ *+' conftest.er1 >conftest.err
4315 rm -f conftest.er1
4316 cat conftest.err >&5
4317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } >/dev/null && {
4319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4320 test ! -s conftest.err
4321 }; then
4322 :
4323else
4324 $as_echo "$as_me: failed program was:" >&5
4325sed 's/^/| /' conftest.$ac_ext >&5
4326
4327 # Broken: fails on valid input.
4328continue
4329fi
4330
4331rm -f conftest.err conftest.$ac_ext
4332
4333 # OK, works on sane cases. Now check whether nonexistent headers
4334 # can be detected and how.
4335 cat >conftest.$ac_ext <<_ACEOF
4336/* confdefs.h. */
4337_ACEOF
4338cat confdefs.h >>conftest.$ac_ext
4339cat >>conftest.$ac_ext <<_ACEOF
4340/* end confdefs.h. */
4341@%:@include <ac_nonexistent.h>
4342_ACEOF
4343if { (ac_try="$ac_cpp conftest.$ac_ext"
4344case "(($ac_try" in
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4347esac
4348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4349$as_echo "$ac_try_echo") >&5
4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4351 ac_status=$?
4352 grep -v '^ *+' conftest.er1 >conftest.err
4353 rm -f conftest.er1
4354 cat conftest.err >&5
4355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } >/dev/null && {
4357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4359 }; then
4360 # Broken: success on invalid input.
4361continue
4362else
4363 $as_echo "$as_me: failed program was:" >&5
4364sed 's/^/| /' conftest.$ac_ext >&5
4365
4366 # Passes both tests.
4367ac_preproc_ok=:
4368break
4369fi
4370
4371rm -f conftest.err conftest.$ac_ext
4372
4373done
4374# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4375rm -f conftest.err conftest.$ac_ext
4376if $ac_preproc_ok; then
4377 :
4378else
4379 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4382See \`config.log' for more details." >&5
4383$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4384See \`config.log' for more details." >&2;}
4385 { (exit 1); exit 1; }; }; }
4386fi
4387
4388ac_ext=c
4389ac_cpp='$CPP $CPPFLAGS'
4390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393
4394
4395{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4396$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4397if test "${ac_cv_path_GREP+set}" = set; then
4398 $as_echo_n "(cached) " >&6
4399else
4400 if test -z "$GREP"; then
4401 ac_path_GREP_found=false
4402 # Loop through the user's path and test for each of PROGNAME-LIST
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4405do
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_prog in grep ggrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4412# Check for GNU ac_path_GREP and select it if it is found.
4413 # Check for GNU $ac_path_GREP
4414case `"$ac_path_GREP" --version 2>&1` in
4415*GNU*)
4416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4417*)
4418 ac_count=0
4419 $as_echo_n 0123456789 >"conftest.in"
4420 while :
4421 do
4422 cat "conftest.in" "conftest.in" >"conftest.tmp"
4423 mv "conftest.tmp" "conftest.in"
4424 cp "conftest.in" "conftest.nl"
4425 $as_echo 'GREP' >> "conftest.nl"
4426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 ac_count=`expr $ac_count + 1`
4429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_GREP="$ac_path_GREP"
4432 ac_path_GREP_max=$ac_count
4433 fi
4434 # 10*(2^10) chars as input seems more than enough
4435 test $ac_count -gt 10 && break
4436 done
4437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4438esac
4439
4440 $ac_path_GREP_found && break 3
4441 done
4442 done
4443done
4444IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_GREP"; then
4446 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4447$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4449 fi
4450else
4451 ac_cv_path_GREP=$GREP
4452fi
4453
4454fi
4455{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4456$as_echo "$ac_cv_path_GREP" >&6; }
4457 GREP="$ac_cv_path_GREP"
4458
4459
4460{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4461$as_echo_n "checking for egrep... " >&6; }
4462if test "${ac_cv_path_EGREP+set}" = set; then
4463 $as_echo_n "(cached) " >&6
4464else
4465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4466 then ac_cv_path_EGREP="$GREP -E"
4467 else
4468 if test -z "$EGREP"; then
4469 ac_path_EGREP_found=false
4470 # Loop through the user's path and test for each of PROGNAME-LIST
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4473do
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_prog in egrep; do
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4479 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4480# Check for GNU ac_path_EGREP and select it if it is found.
4481 # Check for GNU $ac_path_EGREP
4482case `"$ac_path_EGREP" --version 2>&1` in
4483*GNU*)
4484 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4485*)
4486 ac_count=0
4487 $as_echo_n 0123456789 >"conftest.in"
4488 while :
4489 do
4490 cat "conftest.in" "conftest.in" >"conftest.tmp"
4491 mv "conftest.tmp" "conftest.in"
4492 cp "conftest.in" "conftest.nl"
4493 $as_echo 'EGREP' >> "conftest.nl"
4494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496 ac_count=`expr $ac_count + 1`
4497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4498 # Best one so far, save it but keep looking for a better one
4499 ac_cv_path_EGREP="$ac_path_EGREP"
4500 ac_path_EGREP_max=$ac_count
4501 fi
4502 # 10*(2^10) chars as input seems more than enough
4503 test $ac_count -gt 10 && break
4504 done
4505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508 $ac_path_EGREP_found && break 3
4509 done
4510 done
4511done
4512IFS=$as_save_IFS
4513 if test -z "$ac_cv_path_EGREP"; then
4514 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4515$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4516 { (exit 1); exit 1; }; }
4517 fi
4518else
4519 ac_cv_path_EGREP=$EGREP
4520fi
4521
4522 fi
4523fi
4524{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4525$as_echo "$ac_cv_path_EGREP" >&6; }
4526 EGREP="$ac_cv_path_EGREP"
4527
4528
4529{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4530$as_echo_n "checking for ANSI C header files... " >&6; }
4531if test "${ac_cv_header_stdc+set}" = set; then
4532 $as_echo_n "(cached) " >&6
4533else
4534 cat >conftest.$ac_ext <<_ACEOF
4535/* confdefs.h. */
4536_ACEOF
4537cat confdefs.h >>conftest.$ac_ext
4538cat >>conftest.$ac_ext <<_ACEOF
4539/* end confdefs.h. */
4540#include <stdlib.h>
4541#include <stdarg.h>
4542#include <string.h>
4543#include <float.h>
4544
4545int
4546main ()
4547{
4548
4549 ;
4550 return 0;
4551}
4552_ACEOF
4553rm -f conftest.$ac_objext
4554if { (ac_try="$ac_compile"
4555case "(($ac_try" in
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4558esac
4559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560$as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4562 ac_status=$?
4563 grep -v '^ *+' conftest.er1 >conftest.err
4564 rm -f conftest.er1
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 ac_cv_header_stdc=yes
4572else
4573 $as_echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576 ac_cv_header_stdc=no
4577fi
4578
4579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580
4581if test $ac_cv_header_stdc = yes; then
4582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4583 cat >conftest.$ac_ext <<_ACEOF
4584/* confdefs.h. */
4585_ACEOF
4586cat confdefs.h >>conftest.$ac_ext
4587cat >>conftest.$ac_ext <<_ACEOF
4588/* end confdefs.h. */
4589#include <string.h>
4590
4591_ACEOF
4592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "memchr" >/dev/null 2>&1; then
4594 :
4595else
4596 ac_cv_header_stdc=no
4597fi
4598rm -f conftest*
4599
4600fi
4601
4602if test $ac_cv_header_stdc = yes; then
4603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604 cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h. */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h. */
4610#include <stdlib.h>
4611
4612_ACEOF
4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "free" >/dev/null 2>&1; then
4615 :
4616else
4617 ac_cv_header_stdc=no
4618fi
4619rm -f conftest*
4620
4621fi
4622
4623if test $ac_cv_header_stdc = yes; then
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4625 if test "$cross_compiling" = yes; then
4626 :
4627else
4628 cat >conftest.$ac_ext <<_ACEOF
4629/* confdefs.h. */
4630_ACEOF
4631cat confdefs.h >>conftest.$ac_ext
4632cat >>conftest.$ac_ext <<_ACEOF
4633/* end confdefs.h. */
4634#include <ctype.h>
4635#include <stdlib.h>
4636#if ((' ' & 0x0FF) == 0x020)
4637# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4639#else
4640# define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4645#endif
4646
4647#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4648int
4649main ()
4650{
4651 int i;
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4655 return 2;
4656 return 0;
4657}
4658_ACEOF
4659rm -f conftest$ac_exeext
4660if { (ac_try="$ac_link"
4661case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664esac
4665eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4666$as_echo "$ac_try_echo") >&5
4667 (eval "$ac_link") 2>&5
4668 ac_status=$?
4669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4671 { (case "(($ac_try" in
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673 *) ac_try_echo=$ac_try;;
4674esac
4675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4676$as_echo "$ac_try_echo") >&5
4677 (eval "$ac_try") 2>&5
4678 ac_status=$?
4679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 :
4682else
4683 $as_echo "$as_me: program exited with status $ac_status" >&5
4684$as_echo "$as_me: failed program was:" >&5
4685sed 's/^/| /' conftest.$ac_ext >&5
4686
4687( exit $ac_status )
4688ac_cv_header_stdc=no
4689fi
4690rm -rf conftest.dSYM
4691rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4692fi
4693
4694
4695fi
4696fi
4697{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4698$as_echo "$ac_cv_header_stdc" >&6; }
4699if test $ac_cv_header_stdc = yes; then
4700
4701cat >>confdefs.h <<\_ACEOF
4702@%:@define STDC_HEADERS 1
4703_ACEOF
4704
4705fi
4706
4707# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4718 inttypes.h stdint.h unistd.h
4719do
4720as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4722$as_echo_n "checking for $ac_header... " >&6; }
4723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724 $as_echo_n "(cached) " >&6
4725else
4726 cat >conftest.$ac_ext <<_ACEOF
4727/* confdefs.h. */
4728_ACEOF
4729cat confdefs.h >>conftest.$ac_ext
4730cat >>conftest.$ac_ext <<_ACEOF
4731/* end confdefs.h. */
4732$ac_includes_default
4733
4734@%:@include <$ac_header>
4735_ACEOF
4736rm -f conftest.$ac_objext
4737if { (ac_try="$ac_compile"
4738case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741esac
4742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743$as_echo "$ac_try_echo") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4745 ac_status=$?
4746 grep -v '^ *+' conftest.er1 >conftest.err
4747 rm -f conftest.er1
4748 cat conftest.err >&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest.$ac_objext; then
4754 eval "$as_ac_Header=yes"
4755else
4756 $as_echo "$as_me: failed program was:" >&5
4757sed 's/^/| /' conftest.$ac_ext >&5
4758
4759 eval "$as_ac_Header=no"
4760fi
4761
4762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763fi
4764ac_res=`eval 'as_val=${'$as_ac_Header'}
4765 $as_echo "$as_val"'`
4766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4767$as_echo "$ac_res" >&6; }
4768as_val=`eval 'as_val=${'$as_ac_Header'}
4769 $as_echo "$as_val"'`
4770 if test "x$as_val" = x""yes; then
4771 cat >>confdefs.h <<_ACEOF
4772@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773_ACEOF
4774
4775fi
4776
4777done
4778
4779
4780{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4781$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4782if test "${ac_cv_header_stdbool_h+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4784else
4785 cat >conftest.$ac_ext <<_ACEOF
4786/* confdefs.h. */
4787_ACEOF
4788cat confdefs.h >>conftest.$ac_ext
4789cat >>conftest.$ac_ext <<_ACEOF
4790/* end confdefs.h. */
4791
4792#include <stdbool.h>
4793#ifndef bool
4794 "error: bool is not defined"
4795#endif
4796#ifndef false
4797 "error: false is not defined"
4798#endif
4799#if false
4800 "error: false is not 0"
4801#endif
4802#ifndef true
4803 "error: true is not defined"
4804#endif
4805#if true != 1
4806 "error: true is not 1"
4807#endif
4808#ifndef __bool_true_false_are_defined
4809 "error: __bool_true_false_are_defined is not defined"
4810#endif
4811
4812 struct s { _Bool s: 1; _Bool t; } s;
4813
4814 char a[true == 1 ? 1 : -1];
4815 char b[false == 0 ? 1 : -1];
4816 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4817 char d[(bool) 0.5 == true ? 1 : -1];
4818 bool e = &s;
4819 char f[(_Bool) 0.0 == false ? 1 : -1];
4820 char g[true];
4821 char h[sizeof (_Bool)];
4822 char i[sizeof s.t];
4823 enum { j = false, k = true, l = false * true, m = true * 256 };
4824 /* The following fails for
4825 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4826 _Bool n[m];
4827 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4828 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4829# if defined __xlc__ || defined __GNUC__
4830 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4831 reported by James Lemley on 2005-10-05; see
4832 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4833 This test is not quite right, since xlc is allowed to
4834 reject this program, as the initializer for xlcbug is
4835 not one of the forms that C requires support for.
4836 However, doing the test right would require a runtime
4837 test, and that would make cross-compilation harder.
4838 Let us hope that IBM fixes the xlc bug, and also adds
4839 support for this kind of constant expression. In the
4840 meantime, this test will reject xlc, which is OK, since
4841 our stdbool.h substitute should suffice. We also test
4842 this with GCC, where it should work, to detect more
4843 quickly whether someone messes up the test in the
4844 future. */
4845 char digs[] = "0123456789";
4846 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4847# endif
4848 /* Catch a bug in an HP-UX C compiler. See
4849 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4850 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4851 */
4852 _Bool q = true;
4853 _Bool *pq = &q;
4854
4855int
4856main ()
4857{
4858
4859 *pq |= q;
4860 *pq |= ! q;
4861 /* Refer to every declared value, to avoid compiler optimizations. */
4862 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4863 + !m + !n + !o + !p + !q + !pq);
4864
4865 ;
4866 return 0;
4867}
4868_ACEOF
4869rm -f conftest.$ac_objext
4870if { (ac_try="$ac_compile"
4871case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874esac
4875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4876$as_echo "$ac_try_echo") >&5
4877 (eval "$ac_compile") 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest.$ac_objext; then
4887 ac_cv_header_stdbool_h=yes
4888else
4889 $as_echo "$as_me: failed program was:" >&5
4890sed 's/^/| /' conftest.$ac_ext >&5
4891
4892 ac_cv_header_stdbool_h=no
4893fi
4894
4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896fi
4897{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4898$as_echo "$ac_cv_header_stdbool_h" >&6; }
4899{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4900$as_echo_n "checking for _Bool... " >&6; }
4901if test "${ac_cv_type__Bool+set}" = set; then
4902 $as_echo_n "(cached) " >&6
4903else
4904 ac_cv_type__Bool=no
4905cat >conftest.$ac_ext <<_ACEOF
4906/* confdefs.h. */
4907_ACEOF
4908cat confdefs.h >>conftest.$ac_ext
4909cat >>conftest.$ac_ext <<_ACEOF
4910/* end confdefs.h. */
4911$ac_includes_default
4912int
4913main ()
4914{
4915if (sizeof (_Bool))
4916 return 0;
4917 ;
4918 return 0;
4919}
4920_ACEOF
4921rm -f conftest.$ac_objext
4922if { (ac_try="$ac_compile"
4923case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926esac
4927eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928$as_echo "$ac_try_echo") >&5
4929 (eval "$ac_compile") 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && {
4936 test -z "$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4938 } && test -s conftest.$ac_objext; then
4939 cat >conftest.$ac_ext <<_ACEOF
4940/* confdefs.h. */
4941_ACEOF
4942cat confdefs.h >>conftest.$ac_ext
4943cat >>conftest.$ac_ext <<_ACEOF
4944/* end confdefs.h. */
4945$ac_includes_default
4946int
4947main ()
4948{
4949if (sizeof ((_Bool)))
4950 return 0;
4951 ;
4952 return 0;
4953}
4954_ACEOF
4955rm -f conftest.$ac_objext
4956if { (ac_try="$ac_compile"
4957case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960esac
4961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4962$as_echo "$ac_try_echo") >&5
4963 (eval "$ac_compile") 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest.$ac_objext; then
4973 :
4974else
4975 $as_echo "$as_me: failed program was:" >&5
4976sed 's/^/| /' conftest.$ac_ext >&5
4977
4978 ac_cv_type__Bool=yes
4979fi
4980
4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982else
4983 $as_echo "$as_me: failed program was:" >&5
4984sed 's/^/| /' conftest.$ac_ext >&5
4985
4986
4987fi
4988
4989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990fi
4991{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4992$as_echo "$ac_cv_type__Bool" >&6; }
4993if test "x$ac_cv_type__Bool" = x""yes; then
4994
4995cat >>confdefs.h <<_ACEOF
4996@%:@define HAVE__BOOL 1
4997_ACEOF
4998
4999
5000fi
5001
5002if test $ac_cv_header_stdbool_h = yes; then
5003
5004cat >>confdefs.h <<\_ACEOF
5005@%:@define HAVE_STDBOOL_H 1
5006_ACEOF
5007
5008fi
5009
5010
5011# Checks for library functions.
5012
5013for ac_func in atexit
5014do
5015as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5016{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5017$as_echo_n "checking for $ac_func... " >&6; }
5018if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5019 $as_echo_n "(cached) " >&6
5020else
5021 cat >conftest.$ac_ext <<_ACEOF
5022/* confdefs.h. */
5023_ACEOF
5024cat confdefs.h >>conftest.$ac_ext
5025cat >>conftest.$ac_ext <<_ACEOF
5026/* end confdefs.h. */
5027/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5029#define $ac_func innocuous_$ac_func
5030
5031/* System header to define __stub macros and hopefully few prototypes,
5032 which can conflict with char $ac_func (); below.
5033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 <limits.h> exists even on freestanding compilers. */
5035
5036#ifdef __STDC__
5037# include <limits.h>
5038#else
5039# include <assert.h>
5040#endif
5041
5042#undef $ac_func
5043
5044/* Override any GCC internal prototype to avoid an error.
5045 Use char because int might match the return type of a GCC
5046 builtin and then its argument prototype would still apply. */
5047#ifdef __cplusplus
5048extern "C"
5049#endif
5050char $ac_func ();
5051/* The GNU C library defines this for functions which it implements
5052 to always fail with ENOSYS. Some functions are actually named
5053 something starting with __ and the normal name is an alias. */
5054#if defined __stub_$ac_func || defined __stub___$ac_func
5055choke me
5056#endif
5057
5058int
5059main ()
5060{
5061return $ac_func ();
5062 ;
5063 return 0;
5064}
5065_ACEOF
5066rm -f conftest.$ac_objext conftest$ac_exeext
5067if { (ac_try="$ac_link"
5068case "(($ac_try" in
5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5070 *) ac_try_echo=$ac_try;;
5071esac
5072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5073$as_echo "$ac_try_echo") >&5
5074 (eval "$ac_link") 2>conftest.er1
5075 ac_status=$?
5076 grep -v '^ *+' conftest.er1 >conftest.err
5077 rm -f conftest.er1
5078 cat conftest.err >&5
5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } && {
5081 test -z "$ac_c_werror_flag" ||
5082 test ! -s conftest.err
5083 } && test -s conftest$ac_exeext && {
5084 test "$cross_compiling" = yes ||
5085 $as_test_x conftest$ac_exeext
5086 }; then
5087 eval "$as_ac_var=yes"
5088else
5089 $as_echo "$as_me: failed program was:" >&5
5090sed 's/^/| /' conftest.$ac_ext >&5
5091
5092 eval "$as_ac_var=no"
5093fi
5094
5095rm -rf conftest.dSYM
5096rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5097 conftest$ac_exeext conftest.$ac_ext
5098fi
5099ac_res=`eval 'as_val=${'$as_ac_var'}
5100 $as_echo "$as_val"'`
5101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5102$as_echo "$ac_res" >&6; }
5103as_val=`eval 'as_val=${'$as_ac_var'}
5104 $as_echo "$as_val"'`
5105 if test "x$as_val" = x""yes; then
5106 cat >>confdefs.h <<_ACEOF
5107@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5108_ACEOF
5109
5110fi
5111done
5112
5113
5114ac_config_files="$ac_config_files Makefile src/Makefile"
5115
5116cat >confcache <<\_ACEOF
5117# This file is a shell script that caches the results of configure
5118# tests run on this system so they can be shared between configure
5119# scripts and configure runs, see configure's option --config-cache.
5120# It is not useful on other systems. If it contains results you don't
5121# want to keep, you may remove or edit it.
5122#
5123# config.status only pays attention to the cache file if you give it
5124# the --recheck option to rerun configure.
5125#
5126# `ac_cv_env_foo' variables (set or unset) will be overridden when
5127# loading this file, other *unset* `ac_cv_foo' will be assigned the
5128# following values.
5129
5130_ACEOF
5131
5132# The following way of writing the cache mishandles newlines in values,
5133# but we know of no workaround that is simple, portable, and efficient.
5134# So, we kill variables containing newlines.
5135# Ultrix sh set writes to stderr and can't be redirected directly,
5136# and sets the high bit in the cache file unless we assign to the vars.
5137(
5138 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5139 eval ac_val=\$$ac_var
5140 case $ac_val in #(
5141 *${as_nl}*)
5142 case $ac_var in #(
5143 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5144$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5145 esac
5146 case $ac_var in #(
5147 _ | IFS | as_nl) ;; #(
5148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5149 *) $as_unset $ac_var ;;
5150 esac ;;
5151 esac
5152 done
5153
5154 (set) 2>&1 |
5155 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5156 *${as_nl}ac_space=\ *)
5157 # `set' does not quote correctly, so add quotes (double-quote
5158 # substitution turns \\\\ into \\, and sed turns \\ into \).
5159 sed -n \
5160 "s/'/'\\\\''/g;
5161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5162 ;; #(
5163 *)
5164 # `set' quotes correctly as required by POSIX, so do not add quotes.
5165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5166 ;;
5167 esac |
5168 sort
5169) |
5170 sed '
5171 /^ac_cv_env_/b end
5172 t clear
5173 :clear
5174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5175 t end
5176 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5177 :end' >>confcache
5178if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5179 if test -w "$cache_file"; then
5180 test "x$cache_file" != "x/dev/null" &&
5181 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5182$as_echo "$as_me: updating cache $cache_file" >&6;}
5183 cat confcache >$cache_file
5184 else
5185 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5186$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5187 fi
5188fi
5189rm -f confcache
5190
5191test "x$prefix" = xNONE && prefix=$ac_default_prefix
5192# Let make expand exec_prefix.
5193test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5194
5195DEFS=-DHAVE_CONFIG_H
5196
5197ac_libobjs=
5198ac_ltlibobjs=
5199for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5200 # 1. Remove the extension, and $U if already installed.
5201 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5202 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5204 # will be set to the directory where LIBOBJS objects are built.
5205 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5206 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5207done
5208LIB@&t@OBJS=$ac_libobjs
5209
5210LTLIBOBJS=$ac_ltlibobjs
5211
5212
5213if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5214 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5215Usually this means the macro was only invoked conditionally." >&5
5216$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5217Usually this means the macro was only invoked conditionally." >&2;}
5218 { (exit 1); exit 1; }; }
5219fi
5220if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5221 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5222Usually this means the macro was only invoked conditionally." >&5
5223$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5224Usually this means the macro was only invoked conditionally." >&2;}
5225 { (exit 1); exit 1; }; }
5226fi
5227if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5228 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5229Usually this means the macro was only invoked conditionally." >&5
5230$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5231Usually this means the macro was only invoked conditionally." >&2;}
5232 { (exit 1); exit 1; }; }
5233fi
5234
5235: ${CONFIG_STATUS=./config.status}
5236ac_write_fail=0
5237ac_clean_files_save=$ac_clean_files
5238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5239{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5240$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5241cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5242#! $SHELL
5243# Generated by $as_me.
5244# Run this file to recreate the current configuration.
5245# Compiler output produced by configure, useful for debugging
5246# configure, is in config.log if it exists.
5247
5248debug=false
5249ac_cs_recheck=false
5250ac_cs_silent=false
5251SHELL=\${CONFIG_SHELL-$SHELL}
5252_ACEOF
5253
5254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5255## --------------------- ##
5256## M4sh Initialization. ##
5257## --------------------- ##
5258
5259# Be more Bourne compatible
5260DUALCASE=1; export DUALCASE # for MKS sh
5261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5262 emulate sh
5263 NULLCMD=:
5264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5265 # is contrary to our usage. Disable this feature.
5266 alias -g '${1+"$@"}'='"$@"'
5267 setopt NO_GLOB_SUBST
5268else
5269 case `(set -o) 2>/dev/null` in
5270 *posix*) set -o posix ;;
5271esac
5272
5273fi
5274
5275
5276
5277
5278# PATH needs CR
5279# Avoid depending upon Character Ranges.
5280as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5281as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5282as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5283as_cr_digits='0123456789'
5284as_cr_alnum=$as_cr_Letters$as_cr_digits
5285
5286as_nl='
5287'
5288export as_nl
5289# Printing a long string crashes Solaris 7 /usr/bin/printf.
5290as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5291as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5292as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5293if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5294 as_echo='printf %s\n'
5295 as_echo_n='printf %s'
5296else
5297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5298 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5299 as_echo_n='/usr/ucb/echo -n'
5300 else
5301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5302 as_echo_n_body='eval
5303 arg=$1;
5304 case $arg in
5305 *"$as_nl"*)
5306 expr "X$arg" : "X\\(.*\\)$as_nl";
5307 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5308 esac;
5309 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5310 '
5311 export as_echo_n_body
5312 as_echo_n='sh -c $as_echo_n_body as_echo'
5313 fi
5314 export as_echo_body
5315 as_echo='sh -c $as_echo_body as_echo'
5316fi
5317
5318# The user is always right.
5319if test "${PATH_SEPARATOR+set}" != set; then
5320 PATH_SEPARATOR=:
5321 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5322 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5323 PATH_SEPARATOR=';'
5324 }
5325fi
5326
5327# Support unset when possible.
5328if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5329 as_unset=unset
5330else
5331 as_unset=false
5332fi
5333
5334
5335# IFS
5336# We need space, tab and new line, in precisely that order. Quoting is
5337# there to prevent editors from complaining about space-tab.
5338# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5339# splitting by setting IFS to empty value.)
5340IFS=" "" $as_nl"
5341
5342# Find who we are. Look in the path if we contain no directory separator.
5343case $0 in
5344 *[\\/]* ) as_myself=$0 ;;
5345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346for as_dir in $PATH
5347do
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5351done
5352IFS=$as_save_IFS
5353
5354 ;;
5355esac
5356# We did not find ourselves, most probably we were run as `sh COMMAND'
5357# in which case we are not to be found in the path.
5358if test "x$as_myself" = x; then
5359 as_myself=$0
5360fi
5361if test ! -f "$as_myself"; then
5362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5363 { (exit 1); exit 1; }
5364fi
5365
5366# Work around bugs in pre-3.0 UWIN ksh.
5367for as_var in ENV MAIL MAILPATH
5368do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5369done
5370PS1='$ '
5371PS2='> '
5372PS4='+ '
5373
5374# NLS nuisances.
5375LC_ALL=C
5376export LC_ALL
5377LANGUAGE=C
5378export LANGUAGE
5379
5380# Required to use basename.
5381if expr a : '\(a\)' >/dev/null 2>&1 &&
5382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5383 as_expr=expr
5384else
5385 as_expr=false
5386fi
5387
5388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5389 as_basename=basename
5390else
5391 as_basename=false
5392fi
5393
5394
5395# Name of the executable.
5396as_me=`$as_basename -- "$0" ||
5397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5398 X"$0" : 'X\(//\)$' \| \
5399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5400$as_echo X/"$0" |
5401 sed '/^.*\/\([^/][^/]*\)\/*$/{
5402 s//\1/
5403 q
5404 }
5405 /^X\/\(\/\/\)$/{
5406 s//\1/
5407 q
5408 }
5409 /^X\/\(\/\).*/{
5410 s//\1/
5411 q
5412 }
5413 s/.*/./; q'`
5414
5415# CDPATH.
5416$as_unset CDPATH
5417
5418
5419
5420 as_lineno_1=$LINENO
5421 as_lineno_2=$LINENO
5422 test "x$as_lineno_1" != "x$as_lineno_2" &&
5423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5424
5425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5426 # uniformly replaced by the line number. The first 'sed' inserts a
5427 # line-number line after each line using $LINENO; the second 'sed'
5428 # does the real work. The second script uses 'N' to pair each
5429 # line-number line with the line containing $LINENO, and appends
5430 # trailing '-' during substitution so that $LINENO is not a special
5431 # case at line end.
5432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5433 # scripts with optimization help from Paolo Bonzini. Blame Lee
5434 # E. McMahon (1931-1989) for sed's syntax. :-)
5435 sed -n '
5436 p
5437 /[$]LINENO/=
5438 ' <$as_myself |
5439 sed '
5440 s/[$]LINENO.*/&-/
5441 t lineno
5442 b
5443 :lineno
5444 N
5445 :loop
5446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5447 t loop
5448 s/-\n.*//
5449 ' >$as_me.lineno &&
5450 chmod +x "$as_me.lineno" ||
5451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5452 { (exit 1); exit 1; }; }
5453
5454 # Don't try to exec as it changes $[0], causing all sort of problems
5455 # (the dirname of $[0] is not the place where we might find the
5456 # original and so on. Autoconf is especially sensitive to this).
5457 . "./$as_me.lineno"
5458 # Exit status is that of the last command.
5459 exit
5460}
5461
5462
5463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5464 as_dirname=dirname
5465else
5466 as_dirname=false
5467fi
5468
5469ECHO_C= ECHO_N= ECHO_T=
5470case `echo -n x` in
5471-n*)
5472 case `echo 'x\c'` in
5473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5474 *) ECHO_C='\c';;
5475 esac;;
5476*)
5477 ECHO_N='-n';;
5478esac
5479if expr a : '\(a\)' >/dev/null 2>&1 &&
5480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5481 as_expr=expr
5482else
5483 as_expr=false
5484fi
5485
5486rm -f conf$$ conf$$.exe conf$$.file
5487if test -d conf$$.dir; then
5488 rm -f conf$$.dir/conf$$.file
5489else
5490 rm -f conf$$.dir
5491 mkdir conf$$.dir 2>/dev/null
5492fi
5493if (echo >conf$$.file) 2>/dev/null; then
5494 if ln -s conf$$.file conf$$ 2>/dev/null; then
5495 as_ln_s='ln -s'
5496 # ... but there are two gotchas:
5497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5499 # In both cases, we have to default to `cp -p'.
5500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5501 as_ln_s='cp -p'
5502 elif ln conf$$.file conf$$ 2>/dev/null; then
5503 as_ln_s=ln
5504 else
5505 as_ln_s='cp -p'
5506 fi
5507else
5508 as_ln_s='cp -p'
5509fi
5510rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5511rmdir conf$$.dir 2>/dev/null
5512
5513if mkdir -p . 2>/dev/null; then
5514 as_mkdir_p=:
5515else
5516 test -d ./-p && rmdir ./-p
5517 as_mkdir_p=false
5518fi
5519
5520if test -x / >/dev/null 2>&1; then
5521 as_test_x='test -x'
5522else
5523 if ls -dL / >/dev/null 2>&1; then
5524 as_ls_L_option=L
5525 else
5526 as_ls_L_option=
5527 fi
5528 as_test_x='
5529 eval sh -c '\''
5530 if test -d "$1"; then
5531 test -d "$1/.";
5532 else
5533 case $1 in
5534 -*)set "./$1";;
5535 esac;
5536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5537 ???[sx]*):;;*)false;;esac;fi
5538 '\'' sh
5539 '
5540fi
5541as_executable_p=$as_test_x
5542
5543# Sed expression to map a string onto a valid CPP name.
5544as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5545
5546# Sed expression to map a string onto a valid variable name.
5547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5548
5549
5550exec 6>&1
5551
5552# Save the log message, to keep $[0] and so on meaningful, and to
5553# report actual input values of CONFIG_FILES etc. instead of their
5554# values after options handling.
5555ac_log="
5556This file was extended by Maze Of Life $as_me 2.0, which was
5557generated by GNU Autoconf 2.63. Invocation command line was
5558
5559 CONFIG_FILES = $CONFIG_FILES
5560 CONFIG_HEADERS = $CONFIG_HEADERS
5561 CONFIG_LINKS = $CONFIG_LINKS
5562 CONFIG_COMMANDS = $CONFIG_COMMANDS
5563 $ $0 $@
5564
5565on `(hostname || uname -n) 2>/dev/null | sed 1q`
5566"
5567
5568_ACEOF
5569
5570case $ac_config_files in *"
5571"*) set x $ac_config_files; shift; ac_config_files=$*;;
5572esac
5573
5574case $ac_config_headers in *"
5575"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5576esac
5577
5578
5579cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5580# Files that config.status was made for.
5581config_files="$ac_config_files"
5582config_headers="$ac_config_headers"
5583config_commands="$ac_config_commands"
5584
5585_ACEOF
5586
5587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5588ac_cs_usage="\
5589\`$as_me' instantiates files from templates according to the
5590current configuration.
5591
5592Usage: $0 [OPTION]... [FILE]...
5593
5594 -h, --help print this help, then exit
5595 -V, --version print version number and configuration settings, then exit
5596 -q, --quiet, --silent
5597 do not print progress messages
5598 -d, --debug don't remove temporary files
5599 --recheck update $as_me by reconfiguring in the same conditions
5600 --file=FILE[:TEMPLATE]
5601 instantiate the configuration file FILE
5602 --header=FILE[:TEMPLATE]
5603 instantiate the configuration header FILE
5604
5605Configuration files:
5606$config_files
5607
5608Configuration headers:
5609$config_headers
5610
5611Configuration commands:
5612$config_commands
5613
5614Report bugs to <bug-autoconf@gnu.org>."
5615
5616_ACEOF
5617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618ac_cs_version="\\
5619Maze Of Life config.status 2.0
5620configured by $0, generated by GNU Autoconf 2.63,
5621 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5622
5623Copyright (C) 2008 Free Software Foundation, Inc.
5624This config.status script is free software; the Free Software Foundation
5625gives unlimited permission to copy, distribute and modify it."
5626
5627ac_pwd='$ac_pwd'
5628srcdir='$srcdir'
5629INSTALL='$INSTALL'
5630MKDIR_P='$MKDIR_P'
5631AWK='$AWK'
5632test -n "\$AWK" || AWK=awk
5633_ACEOF
5634
5635cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5636# The default lists apply if the user does not specify any file.
5637ac_need_defaults=:
5638while test $# != 0
5639do
5640 case $1 in
5641 --*=*)
5642 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5643 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5644 ac_shift=:
5645 ;;
5646 *)
5647 ac_option=$1
5648 ac_optarg=$2
5649 ac_shift=shift
5650 ;;
5651 esac
5652
5653 case $ac_option in
5654 # Handling of the options.
5655 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5656 ac_cs_recheck=: ;;
5657 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5658 $as_echo "$ac_cs_version"; exit ;;
5659 --debug | --debu | --deb | --de | --d | -d )
5660 debug=: ;;
5661 --file | --fil | --fi | --f )
5662 $ac_shift
5663 case $ac_optarg in
5664 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5665 esac
5666 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5667 ac_need_defaults=false;;
5668 --header | --heade | --head | --hea )
5669 $ac_shift
5670 case $ac_optarg in
5671 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5672 esac
5673 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5674 ac_need_defaults=false;;
5675 --he | --h)
5676 # Conflict between --help and --header
5677 { $as_echo "$as_me: error: ambiguous option: $1
5678Try \`$0 --help' for more information." >&2
5679 { (exit 1); exit 1; }; };;
5680 --help | --hel | -h )
5681 $as_echo "$ac_cs_usage"; exit ;;
5682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5683 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5684 ac_cs_silent=: ;;
5685
5686 # This is an error.
5687 -*) { $as_echo "$as_me: error: unrecognized option: $1
5688Try \`$0 --help' for more information." >&2
5689 { (exit 1); exit 1; }; } ;;
5690
5691 *) ac_config_targets="$ac_config_targets $1"
5692 ac_need_defaults=false ;;
5693
5694 esac
5695 shift
5696done
5697
5698ac_configure_extra_args=
5699
5700if $ac_cs_silent; then
5701 exec 6>/dev/null
5702 ac_configure_extra_args="$ac_configure_extra_args --silent"
5703fi
5704
5705_ACEOF
5706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5707if \$ac_cs_recheck; then
5708 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5709 shift
5710 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5711 CONFIG_SHELL='$SHELL'
5712 export CONFIG_SHELL
5713 exec "\$@"
5714fi
5715
5716_ACEOF
5717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5718exec 5>>config.log
5719{
5720 echo
5721 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5722@%:@@%:@ Running $as_me. @%:@@%:@
5723_ASBOX
5724 $as_echo "$ac_log"
5725} >&5
5726
5727_ACEOF
5728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5729#
5730# INIT-COMMANDS
5731#
5732AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5733
5734_ACEOF
5735
5736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5737
5738# Handling of arguments.
5739for ac_config_target in $ac_config_targets
5740do
5741 case $ac_config_target in
5742 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5743 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5744 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5745 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5746
5747 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5748$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5749 { (exit 1); exit 1; }; };;
5750 esac
5751done
5752
5753
5754# If the user did not use the arguments to specify the items to instantiate,
5755# then the envvar interface is used. Set only those that are not.
5756# We use the long form for the default assignment because of an extremely
5757# bizarre bug on SunOS 4.1.3.
5758if $ac_need_defaults; then
5759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5762fi
5763
5764# Have a temporary directory for convenience. Make it in the build tree
5765# simply because there is no reason against having it here, and in addition,
5766# creating and moving files from /tmp can sometimes cause problems.
5767# Hook for its removal unless debugging.
5768# Note that there is a small window in which the directory will not be cleaned:
5769# after its creation but before its name has been assigned to `$tmp'.
5770$debug ||
5771{
5772 tmp=
5773 trap 'exit_status=$?
5774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5775' 0
5776 trap '{ (exit 1); exit 1; }' 1 2 13 15
5777}
5778# Create a (secure) tmp directory for tmp files.
5779
5780{
5781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5782 test -n "$tmp" && test -d "$tmp"
5783} ||
5784{
5785 tmp=./conf$$-$RANDOM
5786 (umask 077 && mkdir "$tmp")
5787} ||
5788{
5789 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5790 { (exit 1); exit 1; }
5791}
5792
5793# Set up the scripts for CONFIG_FILES section.
5794# No need to generate them if there are no CONFIG_FILES.
5795# This happens for instance with `./config.status config.h'.
5796if test -n "$CONFIG_FILES"; then
5797
5798
5799ac_cr=' '
5800ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5801if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5802 ac_cs_awk_cr='\\r'
5803else
5804 ac_cs_awk_cr=$ac_cr
5805fi
5806
5807echo 'BEGIN {' >"$tmp/subs1.awk" &&
5808_ACEOF
5809
5810
5811{
5812 echo "cat >conf$$subs.awk <<_ACEOF" &&
5813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5814 echo "_ACEOF"
5815} >conf$$subs.sh ||
5816 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5817$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5818 { (exit 1); exit 1; }; }
5819ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5820ac_delim='%!_!# '
5821for ac_last_try in false false false false false :; do
5822 . ./conf$$subs.sh ||
5823 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5824$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5825 { (exit 1); exit 1; }; }
5826
5827 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5828 if test $ac_delim_n = $ac_delim_num; then
5829 break
5830 elif $ac_last_try; then
5831 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5832$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5833 { (exit 1); exit 1; }; }
5834 else
5835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5836 fi
5837done
5838rm -f conf$$subs.sh
5839
5840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5841cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5842_ACEOF
5843sed -n '
5844h
5845s/^/S["/; s/!.*/"]=/
5846p
5847g
5848s/^[^!]*!//
5849:repl
5850t repl
5851s/'"$ac_delim"'$//
5852t delim
5853:nl
5854h
5855s/\(.\{148\}\).*/\1/
5856t more1
5857s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5858p
5859n
5860b repl
5861:more1
5862s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5863p
5864g
5865s/.\{148\}//
5866t nl
5867:delim
5868h
5869s/\(.\{148\}\).*/\1/
5870t more2
5871s/["\\]/\\&/g; s/^/"/; s/$/"/
5872p
5873b
5874:more2
5875s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5876p
5877g
5878s/.\{148\}//
5879t delim
5880' <conf$$subs.awk | sed '
5881/^[^""]/{
5882 N
5883 s/\n//
5884}
5885' >>$CONFIG_STATUS || ac_write_fail=1
5886rm -f conf$$subs.awk
5887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888_ACAWK
5889cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5890 for (key in S) S_is_set[key] = 1
5891 FS = ""
5892
5893}
5894{
5895 line = $ 0
5896 nfields = split(line, field, "@")
5897 substed = 0
5898 len = length(field[1])
5899 for (i = 2; i < nfields; i++) {
5900 key = field[i]
5901 keylen = length(key)
5902 if (S_is_set[key]) {
5903 value = S[key]
5904 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5905 len += length(value) + length(field[++i])
5906 substed = 1
5907 } else
5908 len += 1 + keylen
5909 }
5910
5911 print line
5912}
5913
5914_ACAWK
5915_ACEOF
5916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5917if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5918 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5919else
5920 cat
5921fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5922 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5923$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5924 { (exit 1); exit 1; }; }
5925_ACEOF
5926
5927# VPATH may cause trouble with some makes, so we remove $(srcdir),
5928# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5929# trailing colons and then remove the whole line if VPATH becomes empty
5930# (actually we leave an empty line to preserve line numbers).
5931if test "x$srcdir" = x.; then
5932 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5933s/:*\$(srcdir):*/:/
5934s/:*\${srcdir}:*/:/
5935s/:*@srcdir@:*/:/
5936s/^\([^=]*=[ ]*\):*/\1/
5937s/:*$//
5938s/^[^=]*=[ ]*$//
5939}'
5940fi
5941
5942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943fi # test -n "$CONFIG_FILES"
5944
5945# Set up the scripts for CONFIG_HEADERS section.
5946# No need to generate them if there are no CONFIG_HEADERS.
5947# This happens for instance with `./config.status Makefile'.
5948if test -n "$CONFIG_HEADERS"; then
5949cat >"$tmp/defines.awk" <<\_ACAWK ||
5950BEGIN {
5951_ACEOF
5952
5953# Transform confdefs.h into an awk script `defines.awk', embedded as
5954# here-document in config.status, that substitutes the proper values into
5955# config.h.in to produce config.h.
5956
5957# Create a delimiter string that does not exist in confdefs.h, to ease
5958# handling of long lines.
5959ac_delim='%!_!# '
5960for ac_last_try in false false :; do
5961 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5962 if test -z "$ac_t"; then
5963 break
5964 elif $ac_last_try; then
5965 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5966$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5967 { (exit 1); exit 1; }; }
5968 else
5969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5970 fi
5971done
5972
5973# For the awk script, D is an array of macro values keyed by name,
5974# likewise P contains macro parameters if any. Preserve backslash
5975# newline sequences.
5976
5977ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5978sed -n '
5979s/.\{148\}/&'"$ac_delim"'/g
5980t rset
5981:rset
5982s/^[ ]*#[ ]*define[ ][ ]*/ /
5983t def
5984d
5985:def
5986s/\\$//
5987t bsnl
5988s/["\\]/\\&/g
5989s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5990D["\1"]=" \3"/p
5991s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5992d
5993:bsnl
5994s/["\\]/\\&/g
5995s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5996D["\1"]=" \3\\\\\\n"\\/p
5997t cont
5998s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5999t cont
6000d
6001:cont
6002n
6003s/.\{148\}/&'"$ac_delim"'/g
6004t clear
6005:clear
6006s/\\$//
6007t bsnlc
6008s/["\\]/\\&/g; s/^/"/; s/$/"/p
6009d
6010:bsnlc
6011s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6012b cont
6013' <confdefs.h | sed '
6014s/'"$ac_delim"'/"\\\
6015"/g' >>$CONFIG_STATUS || ac_write_fail=1
6016
6017cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6018 for (key in D) D_is_set[key] = 1
6019 FS = ""
6020}
6021/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6022 line = \$ 0
6023 split(line, arg, " ")
6024 if (arg[1] == "#") {
6025 defundef = arg[2]
6026 mac1 = arg[3]
6027 } else {
6028 defundef = substr(arg[1], 2)
6029 mac1 = arg[2]
6030 }
6031 split(mac1, mac2, "(") #)
6032 macro = mac2[1]
6033 prefix = substr(line, 1, index(line, defundef) - 1)
6034 if (D_is_set[macro]) {
6035 # Preserve the white space surrounding the "#".
6036 print prefix "define", macro P[macro] D[macro]
6037 next
6038 } else {
6039 # Replace #undef with comments. This is necessary, for example,
6040 # in the case of _POSIX_SOURCE, which is predefined and required
6041 # on some systems where configure will not decide to define it.
6042 if (defundef == "undef") {
6043 print "/*", prefix defundef, macro, "*/"
6044 next
6045 }
6046 }
6047}
6048{ print }
6049_ACAWK
6050_ACEOF
6051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6052 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6053$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6054 { (exit 1); exit 1; }; }
6055fi # test -n "$CONFIG_HEADERS"
6056
6057
6058eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6059shift
6060for ac_tag
6061do
6062 case $ac_tag in
6063 :[FHLC]) ac_mode=$ac_tag; continue;;
6064 esac
6065 case $ac_mode$ac_tag in
6066 :[FHL]*:*);;
6067 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6068$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6069 { (exit 1); exit 1; }; };;
6070 :[FH]-) ac_tag=-:-;;
6071 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6072 esac
6073 ac_save_IFS=$IFS
6074 IFS=:
6075 set x $ac_tag
6076 IFS=$ac_save_IFS
6077 shift
6078 ac_file=$1
6079 shift
6080
6081 case $ac_mode in
6082 :L) ac_source=$1;;
6083 :[FH])
6084 ac_file_inputs=
6085 for ac_f
6086 do
6087 case $ac_f in
6088 -) ac_f="$tmp/stdin";;
6089 *) # Look for the file first in the build tree, then in the source tree
6090 # (if the path is not absolute). The absolute path cannot be DOS-style,
6091 # because $ac_f cannot contain `:'.
6092 test -f "$ac_f" ||
6093 case $ac_f in
6094 [\\/$]*) false;;
6095 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6096 esac ||
6097 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6098$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6099 { (exit 1); exit 1; }; };;
6100 esac
6101 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6102 ac_file_inputs="$ac_file_inputs '$ac_f'"
6103 done
6104
6105 # Let's still pretend it is `configure' which instantiates (i.e., don't
6106 # use $as_me), people would be surprised to read:
6107 # /* config.h. Generated by config.status. */
6108 configure_input='Generated from '`
6109 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6110 `' by configure.'
6111 if test x"$ac_file" != x-; then
6112 configure_input="$ac_file. $configure_input"
6113 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6114$as_echo "$as_me: creating $ac_file" >&6;}
6115 fi
6116 # Neutralize special characters interpreted by sed in replacement strings.
6117 case $configure_input in #(
6118 *\&* | *\|* | *\\* )
6119 ac_sed_conf_input=`$as_echo "$configure_input" |
6120 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6121 *) ac_sed_conf_input=$configure_input;;
6122 esac
6123
6124 case $ac_tag in
6125 *:-:* | *:-) cat >"$tmp/stdin" \
6126 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6127$as_echo "$as_me: error: could not create $ac_file" >&2;}
6128 { (exit 1); exit 1; }; } ;;
6129 esac
6130 ;;
6131 esac
6132
6133 ac_dir=`$as_dirname -- "$ac_file" ||
6134$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6135 X"$ac_file" : 'X\(//\)[^/]' \| \
6136 X"$ac_file" : 'X\(//\)$' \| \
6137 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6138$as_echo X"$ac_file" |
6139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6140 s//\1/
6141 q
6142 }
6143 /^X\(\/\/\)[^/].*/{
6144 s//\1/
6145 q
6146 }
6147 /^X\(\/\/\)$/{
6148 s//\1/
6149 q
6150 }
6151 /^X\(\/\).*/{
6152 s//\1/
6153 q
6154 }
6155 s/.*/./; q'`
6156 { as_dir="$ac_dir"
6157 case $as_dir in #(
6158 -*) as_dir=./$as_dir;;
6159 esac
6160 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6161 as_dirs=
6162 while :; do
6163 case $as_dir in #(
6164 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6165 *) as_qdir=$as_dir;;
6166 esac
6167 as_dirs="'$as_qdir' $as_dirs"
6168 as_dir=`$as_dirname -- "$as_dir" ||
6169$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6170 X"$as_dir" : 'X\(//\)[^/]' \| \
6171 X"$as_dir" : 'X\(//\)$' \| \
6172 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6173$as_echo X"$as_dir" |
6174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6175 s//\1/
6176 q
6177 }
6178 /^X\(\/\/\)[^/].*/{
6179 s//\1/
6180 q
6181 }
6182 /^X\(\/\/\)$/{
6183 s//\1/
6184 q
6185 }
6186 /^X\(\/\).*/{
6187 s//\1/
6188 q
6189 }
6190 s/.*/./; q'`
6191 test -d "$as_dir" && break
6192 done
6193 test -z "$as_dirs" || eval "mkdir $as_dirs"
6194 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6195$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6196 { (exit 1); exit 1; }; }; }
6197 ac_builddir=.
6198
6199case "$ac_dir" in
6200.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6201*)
6202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6203 # A ".." for each directory in $ac_dir_suffix.
6204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6205 case $ac_top_builddir_sub in
6206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6208 esac ;;
6209esac
6210ac_abs_top_builddir=$ac_pwd
6211ac_abs_builddir=$ac_pwd$ac_dir_suffix
6212# for backward compatibility:
6213ac_top_builddir=$ac_top_build_prefix
6214
6215case $srcdir in
6216 .) # We are building in place.
6217 ac_srcdir=.
6218 ac_top_srcdir=$ac_top_builddir_sub
6219 ac_abs_top_srcdir=$ac_pwd ;;
6220 [\\/]* | ?:[\\/]* ) # Absolute name.
6221 ac_srcdir=$srcdir$ac_dir_suffix;
6222 ac_top_srcdir=$srcdir
6223 ac_abs_top_srcdir=$srcdir ;;
6224 *) # Relative name.
6225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6226 ac_top_srcdir=$ac_top_build_prefix$srcdir
6227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6228esac
6229ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6230
6231
6232 case $ac_mode in
6233 :F)
6234 #
6235 # CONFIG_FILE
6236 #
6237
6238 case $INSTALL in
6239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6241 esac
6242 ac_MKDIR_P=$MKDIR_P
6243 case $MKDIR_P in
6244 [\\/$]* | ?:[\\/]* ) ;;
6245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6246 esac
6247_ACEOF
6248
6249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6250# If the template does not know about datarootdir, expand it.
6251# FIXME: This hack should be removed a few years after 2.60.
6252ac_datarootdir_hack=; ac_datarootdir_seen=
6253
6254ac_sed_dataroot='
6255/datarootdir/ {
6256 p
6257 q
6258}
6259/@datadir@/p
6260/@docdir@/p
6261/@infodir@/p
6262/@localedir@/p
6263/@mandir@/p
6264'
6265case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6266*datarootdir*) ac_datarootdir_seen=yes;;
6267*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6268 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6269$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6270_ACEOF
6271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6272 ac_datarootdir_hack='
6273 s&@datadir@&$datadir&g
6274 s&@docdir@&$docdir&g
6275 s&@infodir@&$infodir&g
6276 s&@localedir@&$localedir&g
6277 s&@mandir@&$mandir&g
6278 s&\\\${datarootdir}&$datarootdir&g' ;;
6279esac
6280_ACEOF
6281
6282# Neutralize VPATH when `$srcdir' = `.'.
6283# Shell code in configure.ac might set extrasub.
6284# FIXME: do we really want to maintain this feature?
6285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6286ac_sed_extra="$ac_vpsub
6287$extrasub
6288_ACEOF
6289cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6290:t
6291/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6292s|@configure_input@|$ac_sed_conf_input|;t t
6293s&@top_builddir@&$ac_top_builddir_sub&;t t
6294s&@top_build_prefix@&$ac_top_build_prefix&;t t
6295s&@srcdir@&$ac_srcdir&;t t
6296s&@abs_srcdir@&$ac_abs_srcdir&;t t
6297s&@top_srcdir@&$ac_top_srcdir&;t t
6298s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6299s&@builddir@&$ac_builddir&;t t
6300s&@abs_builddir@&$ac_abs_builddir&;t t
6301s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6302s&@INSTALL@&$ac_INSTALL&;t t
6303s&@MKDIR_P@&$ac_MKDIR_P&;t t
6304$ac_datarootdir_hack
6305"
6306eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6307 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6308$as_echo "$as_me: error: could not create $ac_file" >&2;}
6309 { (exit 1); exit 1; }; }
6310
6311test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6312 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6313 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6314 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6315which seems to be undefined. Please make sure it is defined." >&5
6316$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6317which seems to be undefined. Please make sure it is defined." >&2;}
6318
6319 rm -f "$tmp/stdin"
6320 case $ac_file in
6321 -) cat "$tmp/out" && rm -f "$tmp/out";;
6322 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6323 esac \
6324 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6325$as_echo "$as_me: error: could not create $ac_file" >&2;}
6326 { (exit 1); exit 1; }; }
6327 ;;
6328 :H)
6329 #
6330 # CONFIG_HEADER
6331 #
6332 if test x"$ac_file" != x-; then
6333 {
6334 $as_echo "/* $configure_input */" \
6335 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6336 } >"$tmp/config.h" \
6337 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6338$as_echo "$as_me: error: could not create $ac_file" >&2;}
6339 { (exit 1); exit 1; }; }
6340 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6341 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6342$as_echo "$as_me: $ac_file is unchanged" >&6;}
6343 else
6344 rm -f "$ac_file"
6345 mv "$tmp/config.h" "$ac_file" \
6346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6347$as_echo "$as_me: error: could not create $ac_file" >&2;}
6348 { (exit 1); exit 1; }; }
6349 fi
6350 else
6351 $as_echo "/* $configure_input */" \
6352 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6353 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6354$as_echo "$as_me: error: could not create -" >&2;}
6355 { (exit 1); exit 1; }; }
6356 fi
6357# Compute "$ac_file"'s index in $config_headers.
6358_am_arg="$ac_file"
6359_am_stamp_count=1
6360for _am_header in $config_headers :; do
6361 case $_am_header in
6362 $_am_arg | $_am_arg:* )
6363 break ;;
6364 * )
6365 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6366 esac
6367done
6368echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6369$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6370 X"$_am_arg" : 'X\(//\)[^/]' \| \
6371 X"$_am_arg" : 'X\(//\)$' \| \
6372 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6373$as_echo X"$_am_arg" |
6374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6375 s//\1/
6376 q
6377 }
6378 /^X\(\/\/\)[^/].*/{
6379 s//\1/
6380 q
6381 }
6382 /^X\(\/\/\)$/{
6383 s//\1/
6384 q
6385 }
6386 /^X\(\/\).*/{
6387 s//\1/
6388 q
6389 }
6390 s/.*/./; q'`/stamp-h$_am_stamp_count
6391 ;;
6392
6393 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6394$as_echo "$as_me: executing $ac_file commands" >&6;}
6395 ;;
6396 esac
6397
6398
6399 case $ac_file$ac_mode in
6400 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6401 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6402 # are listed without --file. Let's play safe and only enable the eval
6403 # if we detect the quoting.
6404 case $CONFIG_FILES in
6405 *\'*) eval set x "$CONFIG_FILES" ;;
6406 *) set x $CONFIG_FILES ;;
6407 esac
6408 shift
6409 for mf
6410 do
6411 # Strip MF so we end up with the name of the file.
6412 mf=`echo "$mf" | sed -e 's/:.*$//'`
6413 # Check whether this is an Automake generated Makefile or not.
6414 # We used to match only the files named `Makefile.in', but
6415 # some people rename them; so instead we look at the file content.
6416 # Grep'ing the first line is not enough: some people post-process
6417 # each Makefile.in and add a new line on top of each file to say so.
6418 # Grep'ing the whole file is not good either: AIX grep has a line
6419 # limit of 2048, but all sed's we know have understand at least 4000.
6420 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6421 dirpart=`$as_dirname -- "$mf" ||
6422$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6423 X"$mf" : 'X\(//\)[^/]' \| \
6424 X"$mf" : 'X\(//\)$' \| \
6425 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6426$as_echo X"$mf" |
6427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6428 s//\1/
6429 q
6430 }
6431 /^X\(\/\/\)[^/].*/{
6432 s//\1/
6433 q
6434 }
6435 /^X\(\/\/\)$/{
6436 s//\1/
6437 q
6438 }
6439 /^X\(\/\).*/{
6440 s//\1/
6441 q
6442 }
6443 s/.*/./; q'`
6444 else
6445 continue
6446 fi
6447 # Extract the definition of DEPDIR, am__include, and am__quote
6448 # from the Makefile without running `make'.
6449 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6450 test -z "$DEPDIR" && continue
6451 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6452 test -z "am__include" && continue
6453 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6454 # When using ansi2knr, U may be empty or an underscore; expand it
6455 U=`sed -n 's/^U = //p' < "$mf"`
6456 # Find all dependency output files, they are included files with
6457 # $(DEPDIR) in their names. We invoke sed twice because it is the
6458 # simplest approach to changing $(DEPDIR) to its actual value in the
6459 # expansion.
6460 for file in `sed -n "
6461 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6462 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6463 # Make sure the directory exists.
6464 test -f "$dirpart/$file" && continue
6465 fdir=`$as_dirname -- "$file" ||
6466$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6467 X"$file" : 'X\(//\)[^/]' \| \
6468 X"$file" : 'X\(//\)$' \| \
6469 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6470$as_echo X"$file" |
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6472 s//\1/
6473 q
6474 }
6475 /^X\(\/\/\)[^/].*/{
6476 s//\1/
6477 q
6478 }
6479 /^X\(\/\/\)$/{
6480 s//\1/
6481 q
6482 }
6483 /^X\(\/\).*/{
6484 s//\1/
6485 q
6486 }
6487 s/.*/./; q'`
6488 { as_dir=$dirpart/$fdir
6489 case $as_dir in #(
6490 -*) as_dir=./$as_dir;;
6491 esac
6492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6493 as_dirs=
6494 while :; do
6495 case $as_dir in #(
6496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6497 *) as_qdir=$as_dir;;
6498 esac
6499 as_dirs="'$as_qdir' $as_dirs"
6500 as_dir=`$as_dirname -- "$as_dir" ||
6501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6502 X"$as_dir" : 'X\(//\)[^/]' \| \
6503 X"$as_dir" : 'X\(//\)$' \| \
6504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6505$as_echo X"$as_dir" |
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6507 s//\1/
6508 q
6509 }
6510 /^X\(\/\/\)[^/].*/{
6511 s//\1/
6512 q
6513 }
6514 /^X\(\/\/\)$/{
6515 s//\1/
6516 q
6517 }
6518 /^X\(\/\).*/{
6519 s//\1/
6520 q
6521 }
6522 s/.*/./; q'`
6523 test -d "$as_dir" && break
6524 done
6525 test -z "$as_dirs" || eval "mkdir $as_dirs"
6526 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6527$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6528 { (exit 1); exit 1; }; }; }
6529 # echo "creating $dirpart/$file"
6530 echo '# dummy' > "$dirpart/$file"
6531 done
6532 done
6533}
6534 ;;
6535
6536 esac
6537done # for ac_tag
6538
6539
6540{ (exit 0); exit 0; }
6541_ACEOF
6542chmod +x $CONFIG_STATUS
6543ac_clean_files=$ac_clean_files_save
6544
6545test $ac_write_fail = 0 ||
6546 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6547$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6548 { (exit 1); exit 1; }; }
6549
6550
6551# configure is writing to config.log, and then calls config.status.
6552# config.status does its own redirection, appending to config.log.
6553# Unfortunately, on DOS this fails, as config.log is still kept open
6554# by configure, so config.status won't be able to write to it; its
6555# output is simply discarded. So we exec the FD to /dev/null,
6556# effectively closing config.log, so it can be properly (re)opened and
6557# appended to by config.status. When coming back to configure, we
6558# need to make the FD available again.
6559if test "$no_create" != yes; then
6560 ac_cs_success=:
6561 ac_config_status_args=
6562 test "$silent" = yes &&
6563 ac_config_status_args="$ac_config_status_args --quiet"
6564 exec 5>/dev/null
6565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6566 exec 5>>config.log
6567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6568 # would make configure fail if this is the last instruction.
6569 $ac_cs_success || { (exit 1); exit 1; }
6570fi
6571if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6572 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6573$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6574fi
6575
diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1 new file mode 100644 index 0000000..5e240e7 --- /dev/null +++ b/autom4te.cache/output.1
@@ -0,0 +1,6575 @@
1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.63 for Maze Of Life 2.0.
4@%:@
5@%:@ Report bugs to <BUG-REPORT-ADDRESS>.
6@%:@
7@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9@%:@ This configure script is free software; the Free Software Foundation
10@%:@ gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order. Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140else
141 as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
180fi
181
182 if test $as_have_required = yes && (eval ":
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
198
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
206
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239 :
240else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
248 /*)
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253done
254IFS=$as_save_IFS
255
256
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
441}
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
469 N
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501*)
502 ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532else
533 as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIB@&t@OBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='Maze Of Life'
598PACKAGE_TARNAME='maze-of-life'
599PACKAGE_VERSION='2.0'
600PACKAGE_STRING='Maze Of Life 2.0'
601PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
602
603ac_unique_file="src/mazeoflife.cpp"
604# Factoring default headers for most tests.
605ac_includes_default="\
606#include <stdio.h>
607#ifdef HAVE_SYS_TYPES_H
608# include <sys/types.h>
609#endif
610#ifdef HAVE_SYS_STAT_H
611# include <sys/stat.h>
612#endif
613#ifdef STDC_HEADERS
614# include <stdlib.h>
615# include <stddef.h>
616#else
617# ifdef HAVE_STDLIB_H
618# include <stdlib.h>
619# endif
620#endif
621#ifdef HAVE_STRING_H
622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623# include <memory.h>
624# endif
625# include <string.h>
626#endif
627#ifdef HAVE_STRINGS_H
628# include <strings.h>
629#endif
630#ifdef HAVE_INTTYPES_H
631# include <inttypes.h>
632#endif
633#ifdef HAVE_STDINT_H
634# include <stdint.h>
635#endif
636#ifdef HAVE_UNISTD_H
637# include <unistd.h>
638#endif"
639
640ac_subst_vars='LTLIBOBJS
641LIB@&t@OBJS
642EGREP
643GREP
644CPP
645SDL_LIBS
646SDL_CFLAGS
647PKG_CONFIG
648am__fastdepCC_FALSE
649am__fastdepCC_TRUE
650CCDEPMODE
651ac_ct_CC
652CFLAGS
653CC
654am__fastdepCXX_FALSE
655am__fastdepCXX_TRUE
656CXXDEPMODE
657AMDEPBACKSLASH
658AMDEP_FALSE
659AMDEP_TRUE
660am__quote
661am__include
662DEPDIR
663OBJEXT
664EXEEXT
665ac_ct_CXX
666CPPFLAGS
667LDFLAGS
668CXXFLAGS
669CXX
670am__untar
671am__tar
672AMTAR
673am__leading_dot
674SET_MAKE
675AWK
676mkdir_p
677MKDIR_P
678INSTALL_STRIP_PROGRAM
679STRIP
680install_sh
681MAKEINFO
682AUTOHEADER
683AUTOMAKE
684AUTOCONF
685ACLOCAL
686VERSION
687PACKAGE
688CYGPATH_W
689am__isrc
690INSTALL_DATA
691INSTALL_SCRIPT
692INSTALL_PROGRAM
693target_alias
694host_alias
695build_alias
696LIBS
697ECHO_T
698ECHO_N
699ECHO_C
700DEFS
701mandir
702localedir
703libdir
704psdir
705pdfdir
706dvidir
707htmldir
708infodir
709docdir
710oldincludedir
711includedir
712localstatedir
713sharedstatedir
714sysconfdir
715datadir
716datarootdir
717libexecdir
718sbindir
719bindir
720program_transform_name
721prefix
722exec_prefix
723PACKAGE_BUGREPORT
724PACKAGE_STRING
725PACKAGE_VERSION
726PACKAGE_TARNAME
727PACKAGE_NAME
728PATH_SEPARATOR
729SHELL'
730ac_subst_files=''
731ac_user_opts='
732enable_option_checking
733enable_dependency_tracking
734'
735 ac_precious_vars='build_alias
736host_alias
737target_alias
738CXX
739CXXFLAGS
740LDFLAGS
741LIBS
742CPPFLAGS
743CCC
744CC
745CFLAGS
746PKG_CONFIG
747SDL_CFLAGS
748SDL_LIBS
749CPP'
750
751
752# Initialize some variables set by options.
753ac_init_help=
754ac_init_version=false
755ac_unrecognized_opts=
756ac_unrecognized_sep=
757# The variables have the same names as the options, with
758# dashes changed to underlines.
759cache_file=/dev/null
760exec_prefix=NONE
761no_create=
762no_recursion=
763prefix=NONE
764program_prefix=NONE
765program_suffix=NONE
766program_transform_name=s,x,x,
767silent=
768site=
769srcdir=
770verbose=
771x_includes=NONE
772x_libraries=NONE
773
774# Installation directory options.
775# These are left unexpanded so users can "make install exec_prefix=/foo"
776# and all the variables that are supposed to be based on exec_prefix
777# by default will actually change.
778# Use braces instead of parens because sh, perl, etc. also accept them.
779# (The list follows the same order as the GNU Coding Standards.)
780bindir='${exec_prefix}/bin'
781sbindir='${exec_prefix}/sbin'
782libexecdir='${exec_prefix}/libexec'
783datarootdir='${prefix}/share'
784datadir='${datarootdir}'
785sysconfdir='${prefix}/etc'
786sharedstatedir='${prefix}/com'
787localstatedir='${prefix}/var'
788includedir='${prefix}/include'
789oldincludedir='/usr/include'
790docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791infodir='${datarootdir}/info'
792htmldir='${docdir}'
793dvidir='${docdir}'
794pdfdir='${docdir}'
795psdir='${docdir}'
796libdir='${exec_prefix}/lib'
797localedir='${datarootdir}/locale'
798mandir='${datarootdir}/man'
799
800ac_prev=
801ac_dashdash=
802for ac_option
803do
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
807 ac_prev=
808 continue
809 fi
810
811 case $ac_option in
812 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813 *) ac_optarg=yes ;;
814 esac
815
816 # Accept the important Cygnus configure options, so we can diagnose typos.
817
818 case $ac_dashdash$ac_option in
819 --)
820 ac_dashdash=yes ;;
821
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 ac_prev=bindir ;;
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 bindir=$ac_optarg ;;
826
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
831
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
838
839 --config-cache | -C)
840 cache_file=config.cache ;;
841
842 -datadir | --datadir | --datadi | --datad)
843 ac_prev=datadir ;;
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
846
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
853
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
859 { (exit 1); exit 1; }; }
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
863 *"
864"enable_$ac_useropt"
865"*) ;;
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
868 esac
869 eval enable_$ac_useropt=no ;;
870
871 -docdir | --docdir | --docdi | --doc | --do)
872 ac_prev=docdir ;;
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 docdir=$ac_optarg ;;
875
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 ac_prev=dvidir ;;
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 dvidir=$ac_optarg ;;
880
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
886 { (exit 1); exit 1; }; }
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
890 *"
891"enable_$ac_useropt"
892"*) ;;
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
895 esac
896 eval enable_$ac_useropt=\$ac_optarg ;;
897
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
906
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
909 with_gas=yes ;;
910
911 -help | --help | --hel | --he | -h)
912 ac_init_help=long ;;
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
917
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
922
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 ac_prev=htmldir ;;
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 | --ht=*)
927 htmldir=$ac_optarg ;;
928
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
935
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 ac_prev=infodir ;;
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
940
941 -libdir | --libdir | --libdi | --libd)
942 ac_prev=libdir ;;
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 libdir=$ac_optarg ;;
945
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
952
953 -localedir | --localedir | --localedi | --localed | --locale)
954 ac_prev=localedir ;;
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
957
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
964
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 ac_prev=mandir ;;
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 mandir=$ac_optarg ;;
969
970 -nfp | --nfp | --nf)
971 # Obsolete; use --without-fp.
972 with_fp=no ;;
973
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
976 no_create=yes ;;
977
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 no_recursion=yes ;;
981
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
990
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 ac_prev=prefix ;;
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 prefix=$ac_optarg ;;
995
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1002
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1009
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1026
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 ac_prev=pdfdir ;;
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1031
1032 -psdir | --psdir | --psdi | --psd | --ps)
1033 ac_prev=psdir ;;
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 psdir=$ac_optarg ;;
1036
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 silent=yes ;;
1040
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 ac_prev=sbindir ;;
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 | --sbi=* | --sb=*)
1045 sbindir=$ac_optarg ;;
1046
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1050 | --sha | --sh)
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 | --sha=* | --sh=*)
1056 sharedstatedir=$ac_optarg ;;
1057
1058 -site | --site | --sit)
1059 ac_prev=site ;;
1060 -site=* | --site=* | --sit=*)
1061 site=$ac_optarg ;;
1062
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 ac_prev=srcdir ;;
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1067
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1074
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1079
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 verbose=yes ;;
1082
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1085
1086 -with-* | --with-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096"with_$ac_useropt"
1097"*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=\$ac_optarg ;;
1102
1103 -without-* | --without-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1112 *"
1113"with_$ac_useropt"
1114"*) ;;
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1117 esac
1118 eval with_$ac_useropt=no ;;
1119
1120 --x)
1121 # Obsolete; use --with-x.
1122 with_x=yes ;;
1123
1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125 | --x-incl | --x-inc | --x-in | --x-i)
1126 ac_prev=x_includes ;;
1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129 x_includes=$ac_optarg ;;
1130
1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133 ac_prev=x_libraries ;;
1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries=$ac_optarg ;;
1137
1138 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1139Try \`$0 --help' for more information." >&2
1140 { (exit 1); exit 1; }; }
1141 ;;
1142
1143 *=*)
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1147 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1148 { (exit 1); exit 1; }; }
1149 eval $ac_envvar=\$ac_optarg
1150 export $ac_envvar ;;
1151
1152 *)
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 ;;
1159
1160 esac
1161done
1162
1163if test -n "$ac_prev"; then
1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1166 { (exit 1); exit 1; }; }
1167fi
1168
1169if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1171 no) ;;
1172 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1173 { (exit 1); exit 1; }; } ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1183do
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1186 case $ac_val in
1187 */ )
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1190 esac
1191 # Be sure to have absolute directory names.
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
1198done
1199
1200# There might be people who depend on the old broken behavior: `$host'
1201# used to hold the argument of --host etc.
1202# FIXME: To remove some day.
1203build=$build_alias
1204host=$host_alias
1205target=$target_alias
1206
1207# FIXME: To remove some day.
1208if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1215 fi
1216fi
1217
1218ac_tool_prefix=
1219test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221test "$silent" = yes && exec 6>/dev/null
1222
1223
1224ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225ac_ls_di=`ls -di .` &&
1226ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1228 { (exit 1); exit 1; }; }
1229test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1231 { (exit 1); exit 1; }; }
1232
1233
1234# Find the source files, if location was not specified.
1235if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243$as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 s//\1/
1246 q
1247 }
1248 /^X\(\/\/\)[^/].*/{
1249 s//\1/
1250 q
1251 }
1252 /^X\(\/\/\)$/{
1253 s//\1/
1254 q
1255 }
1256 /^X\(\/\).*/{
1257 s//\1/
1258 q
1259 }
1260 s/.*/./; q'`
1261 srcdir=$ac_confdir
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 srcdir=..
1264 fi
1265else
1266 ac_srcdir_defaulted=no
1267fi
1268if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271 { (exit 1); exit 1; }; }
1272fi
1273ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274ac_abs_confdir=`(
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1277 pwd)`
1278# When building in place, set srcdir=.
1279if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 srcdir=.
1281fi
1282# Remove unnecessary trailing slashes from srcdir.
1283# Double slashes in file names in object file debugging info
1284# mess up M-x gdb in Emacs.
1285case $srcdir in
1286*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287esac
1288for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293done
1294
1295#
1296# Report the --help message.
1297#
1298if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1301 cat <<_ACEOF
1302\`configure' configures Maze Of Life 2.0 to adapt to many kinds of systems.
1303
1304Usage: $0 [OPTION]... [VAR=VALUE]...
1305
1306To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307VAR=VALUE. See below for descriptions of some of the useful variables.
1308
1309Defaults for the options are specified in brackets.
1310
1311Configuration:
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321
1322Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 [PREFIX]
1327
1328By default, \`make install' will install all the files in
1329\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331for instance \`--prefix=\$HOME'.
1332
1333For better control, use the options below.
1334
1335Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/maze-of-life@:>@
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1355_ACEOF
1356
1357 cat <<\_ACEOF
1358
1359Program names:
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363_ACEOF
1364fi
1365
1366if test -n "$ac_init_help"; then
1367 case $ac_init_help in
1368 short | recursive ) echo "Configuration of Maze Of Life 2.0:";;
1369 esac
1370 cat <<\_ACEOF
1371
1372Optional Features:
1373 --disable-option-checking ignore unrecognized --enable/--with options
1374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1376 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking do not reject slow dependency extractors
1378
1379Some influential environment variables:
1380 CXX C++ compiler command
1381 CXXFLAGS C++ compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CC C compiler command
1388 CFLAGS C compiler flags
1389 PKG_CONFIG path to pkg-config utility
1390 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1391 SDL_LIBS linker flags for SDL, overriding pkg-config
1392 CPP C preprocessor
1393
1394Use these variables to override the choices made by `configure' or to help
1395it to find libraries and programs with nonstandard names/locations.
1396
1397Report bugs to <BUG-REPORT-ADDRESS>.
1398_ACEOF
1399ac_status=$?
1400fi
1401
1402if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" ||
1406 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 continue
1408 ac_builddir=.
1409
1410case "$ac_dir" in
1411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412*)
1413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 esac ;;
1420esac
1421ac_abs_top_builddir=$ac_pwd
1422ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423# for backward compatibility:
1424ac_top_builddir=$ac_top_build_prefix
1425
1426case $srcdir in
1427 .) # We are building in place.
1428 ac_srcdir=.
1429 ac_top_srcdir=$ac_top_builddir_sub
1430 ac_abs_top_srcdir=$ac_pwd ;;
1431 [\\/]* | ?:[\\/]* ) # Absolute name.
1432 ac_srcdir=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir=$srcdir
1434 ac_abs_top_srcdir=$srcdir ;;
1435 *) # Relative name.
1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439esac
1440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441
1442 cd "$ac_dir" || { ac_status=$?; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1448 echo &&
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1450 else
1451 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 fi || ac_status=$?
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1454 done
1455fi
1456
1457test -n "$ac_init_help" && exit $ac_status
1458if $ac_init_version; then
1459 cat <<\_ACEOF
1460Maze Of Life configure 2.0
1461generated by GNU Autoconf 2.63
1462
1463Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14642002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1465This configure script is free software; the Free Software Foundation
1466gives unlimited permission to copy, distribute and modify it.
1467_ACEOF
1468 exit
1469fi
1470cat >config.log <<_ACEOF
1471This file contains any messages produced by compilers while
1472running configure, to aid debugging if configure makes a mistake.
1473
1474It was created by Maze Of Life $as_me 2.0, which was
1475generated by GNU Autoconf 2.63. Invocation command line was
1476
1477 $ $0 $@
1478
1479_ACEOF
1480exec 5>>config.log
1481{
1482cat <<_ASUNAME
1483@%:@@%:@ --------- @%:@@%:@
1484@%:@@%:@ Platform. @%:@@%:@
1485@%:@@%:@ --------- @%:@@%:@
1486
1487hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492
1493/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495
1496/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503
1504_ASUNAME
1505
1506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507for as_dir in $PATH
1508do
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 $as_echo "PATH: $as_dir"
1512done
1513IFS=$as_save_IFS
1514
1515} >&5
1516
1517cat >&5 <<_ACEOF
1518
1519
1520@%:@@%:@ ----------- @%:@@%:@
1521@%:@@%:@ Core tests. @%:@@%:@
1522@%:@@%:@ ----------- @%:@@%:@
1523
1524_ACEOF
1525
1526
1527# Keep a trace of the command line.
1528# Strip out --no-create and --no-recursion so they do not pile up.
1529# Strip out --silent because we don't want to record it for future runs.
1530# Also quote any args containing shell meta-characters.
1531# Make two passes to allow for proper duplicate-argument suppression.
1532ac_configure_args=
1533ac_configure_args0=
1534ac_configure_args1=
1535ac_must_keep_next=false
1536for ac_pass in 1 2
1537do
1538 for ac_arg
1539 do
1540 case $ac_arg in
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1544 continue ;;
1545 *\'*)
1546 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 case $ac_pass in
1549 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 2)
1551 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1554 else
1555 case $ac_arg in
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 esac
1563 ;;
1564 -* ) ac_must_keep_next=true ;;
1565 esac
1566 fi
1567 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 ;;
1569 esac
1570 done
1571done
1572$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574
1575# When interrupted or exit'd, cleanup temporary files, and complete
1576# config.log. We remove comments because anyway the quotes in there
1577# would cause problems or look ugly.
1578# WARNING: Use '\'' to represent an apostrophe within the trap.
1579# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1582 {
1583 echo
1584
1585 cat <<\_ASBOX
1586@%:@@%:@ ---------------- @%:@@%:@
1587@%:@@%:@ Cache variables. @%:@@%:@
1588@%:@@%:@ ---------------- @%:@@%:@
1589_ASBOX
1590 echo
1591 # The following way of writing the cache mishandles newlines in values,
1592(
1593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594 eval ac_val=\$$ac_var
1595 case $ac_val in #(
1596 *${as_nl}*)
1597 case $ac_var in #(
1598 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1599$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1600 esac
1601 case $ac_var in #(
1602 _ | IFS | as_nl) ;; #(
1603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1604 *) $as_unset $ac_var ;;
1605 esac ;;
1606 esac
1607 done
1608 (set) 2>&1 |
1609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610 *${as_nl}ac_space=\ *)
1611 sed -n \
1612 "s/'\''/'\''\\\\'\'''\''/g;
1613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 ;; #(
1615 *)
1616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1617 ;;
1618 esac |
1619 sort
1620)
1621 echo
1622
1623 cat <<\_ASBOX
1624@%:@@%:@ ----------------- @%:@@%:@
1625@%:@@%:@ Output variables. @%:@@%:@
1626@%:@@%:@ ----------------- @%:@@%:@
1627_ASBOX
1628 echo
1629 for ac_var in $ac_subst_vars
1630 do
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 $as_echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1638
1639 if test -n "$ac_subst_files"; then
1640 cat <<\_ASBOX
1641@%:@@%:@ ------------------- @%:@@%:@
1642@%:@@%:@ File substitutions. @%:@@%:@
1643@%:@@%:@ ------------------- @%:@@%:@
1644_ASBOX
1645 echo
1646 for ac_var in $ac_subst_files
1647 do
1648 eval ac_val=\$$ac_var
1649 case $ac_val in
1650 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1651 esac
1652 $as_echo "$ac_var='\''$ac_val'\''"
1653 done | sort
1654 echo
1655 fi
1656
1657 if test -s confdefs.h; then
1658 cat <<\_ASBOX
1659@%:@@%:@ ----------- @%:@@%:@
1660@%:@@%:@ confdefs.h. @%:@@%:@
1661@%:@@%:@ ----------- @%:@@%:@
1662_ASBOX
1663 echo
1664 cat confdefs.h
1665 echo
1666 fi
1667 test "$ac_signal" != 0 &&
1668 $as_echo "$as_me: caught signal $ac_signal"
1669 $as_echo "$as_me: exit $exit_status"
1670 } >&5
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 exit $exit_status
1674' 0
1675for ac_signal in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677done
1678ac_signal=0
1679
1680# confdefs.h avoids OS command line length limits that DEFS can exceed.
1681rm -f -r conftest* confdefs.h
1682
1683# Predefined preprocessor variables.
1684
1685cat >>confdefs.h <<_ACEOF
1686@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1687_ACEOF
1688
1689
1690cat >>confdefs.h <<_ACEOF
1691@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692_ACEOF
1693
1694
1695cat >>confdefs.h <<_ACEOF
1696@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1697_ACEOF
1698
1699
1700cat >>confdefs.h <<_ACEOF
1701@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1702_ACEOF
1703
1704
1705cat >>confdefs.h <<_ACEOF
1706@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707_ACEOF
1708
1709
1710# Let the site file select an alternate cache file if it wants to.
1711# Prefer an explicitly selected file to automatically selected ones.
1712ac_site_file1=NONE
1713ac_site_file2=NONE
1714if test -n "$CONFIG_SITE"; then
1715 ac_site_file1=$CONFIG_SITE
1716elif test "x$prefix" != xNONE; then
1717 ac_site_file1=$prefix/share/config.site
1718 ac_site_file2=$prefix/etc/config.site
1719else
1720 ac_site_file1=$ac_default_prefix/share/config.site
1721 ac_site_file2=$ac_default_prefix/etc/config.site
1722fi
1723for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1724do
1725 test "x$ac_site_file" = xNONE && continue
1726 if test -r "$ac_site_file"; then
1727 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1728$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1729 sed 's/^/| /' "$ac_site_file" >&5
1730 . "$ac_site_file"
1731 fi
1732done
1733
1734if test -r "$cache_file"; then
1735 # Some versions of bash will fail to source /dev/null (special
1736 # files actually), so we avoid doing that.
1737 if test -f "$cache_file"; then
1738 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1739$as_echo "$as_me: loading cache $cache_file" >&6;}
1740 case $cache_file in
1741 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1742 *) . "./$cache_file";;
1743 esac
1744 fi
1745else
1746 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1747$as_echo "$as_me: creating cache $cache_file" >&6;}
1748 >$cache_file
1749fi
1750
1751# Check that the precious variables saved in the cache have kept the same
1752# value.
1753ac_cache_corrupted=false
1754for ac_var in $ac_precious_vars; do
1755 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1756 eval ac_new_set=\$ac_env_${ac_var}_set
1757 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1758 eval ac_new_val=\$ac_env_${ac_var}_value
1759 case $ac_old_set,$ac_new_set in
1760 set,)
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1762$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1764 ,set)
1765 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1766$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1768 ,);;
1769 *)
1770 if test "x$ac_old_val" != "x$ac_new_val"; then
1771 # differences in whitespace do not lead to failure.
1772 ac_old_val_w=`echo x $ac_old_val`
1773 ac_new_val_w=`echo x $ac_new_val`
1774 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1775 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777 ac_cache_corrupted=:
1778 else
1779 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1780$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1781 eval $ac_var=\$ac_old_val
1782 fi
1783 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1784$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1785 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1786$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1787 fi;;
1788 esac
1789 # Pass precious variables to config.status.
1790 if test "$ac_new_set" = set; then
1791 case $ac_new_val in
1792 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1793 *) ac_arg=$ac_var=$ac_new_val ;;
1794 esac
1795 case " $ac_configure_args " in
1796 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1797 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1798 esac
1799 fi
1800done
1801if $ac_cache_corrupted; then
1802 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1803$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1804 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1805$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1806 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1807$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1808 { (exit 1); exit 1; }; }
1809fi
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835ac_ext=c
1836ac_cpp='$CPP $CPPFLAGS'
1837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840
1841
1842am__api_version='1.10'
1843
1844ac_aux_dir=
1845for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1846 if test -f "$ac_dir/install-sh"; then
1847 ac_aux_dir=$ac_dir
1848 ac_install_sh="$ac_aux_dir/install-sh -c"
1849 break
1850 elif test -f "$ac_dir/install.sh"; then
1851 ac_aux_dir=$ac_dir
1852 ac_install_sh="$ac_aux_dir/install.sh -c"
1853 break
1854 elif test -f "$ac_dir/shtool"; then
1855 ac_aux_dir=$ac_dir
1856 ac_install_sh="$ac_aux_dir/shtool install -c"
1857 break
1858 fi
1859done
1860if test -z "$ac_aux_dir"; then
1861 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1862$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1863 { (exit 1); exit 1; }; }
1864fi
1865
1866# These three variables are undocumented and unsupported,
1867# and are intended to be withdrawn in a future Autoconf release.
1868# They can cause serious problems if a builder's source tree is in a directory
1869# whose full name contains unusual characters.
1870ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1871ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1872ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1873
1874
1875# Find a good install program. We prefer a C program (faster),
1876# so one script is as good as another. But avoid the broken or
1877# incompatible versions:
1878# SysV /etc/install, /usr/sbin/install
1879# SunOS /usr/etc/install
1880# IRIX /sbin/install
1881# AIX /bin/install
1882# AmigaOS /C/install, which installs bootblocks on floppy discs
1883# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1884# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1885# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1886# OS/2's system install, which has a completely different semantic
1887# ./install, which can be erroneously created by make from ./install.sh.
1888# Reject install programs that cannot install multiple files.
1889{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1890$as_echo_n "checking for a BSD-compatible install... " >&6; }
1891if test -z "$INSTALL"; then
1892if test "${ac_cv_path_install+set}" = set; then
1893 $as_echo_n "(cached) " >&6
1894else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896for as_dir in $PATH
1897do
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 # Account for people who put trailing slashes in PATH elements.
1901case $as_dir/ in
1902 ./ | .// | /cC/* | \
1903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1904 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1905 /usr/ucb/* ) ;;
1906 *)
1907 # OSF1 and SCO ODT 3.0 have their own names for install.
1908 # Don't use installbsd from OSF since it installs stuff as root
1909 # by default.
1910 for ac_prog in ginstall scoinst install; do
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1913 if test $ac_prog = install &&
1914 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915 # AIX install. It has an incompatible calling convention.
1916 :
1917 elif test $ac_prog = install &&
1918 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919 # program-specific install script used by HP pwplus--don't use.
1920 :
1921 else
1922 rm -rf conftest.one conftest.two conftest.dir
1923 echo one > conftest.one
1924 echo two > conftest.two
1925 mkdir conftest.dir
1926 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1927 test -s conftest.one && test -s conftest.two &&
1928 test -s conftest.dir/conftest.one &&
1929 test -s conftest.dir/conftest.two
1930 then
1931 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1932 break 3
1933 fi
1934 fi
1935 fi
1936 done
1937 done
1938 ;;
1939esac
1940
1941done
1942IFS=$as_save_IFS
1943
1944rm -rf conftest.one conftest.two conftest.dir
1945
1946fi
1947 if test "${ac_cv_path_install+set}" = set; then
1948 INSTALL=$ac_cv_path_install
1949 else
1950 # As a last resort, use the slow shell script. Don't cache a
1951 # value for INSTALL within a source directory, because that will
1952 # break other packages using the cache if that directory is
1953 # removed, or if the value is a relative name.
1954 INSTALL=$ac_install_sh
1955 fi
1956fi
1957{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1958$as_echo "$INSTALL" >&6; }
1959
1960# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961# It thinks the first close brace ends the variable substitution.
1962test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963
1964test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965
1966test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967
1968{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1969$as_echo_n "checking whether build environment is sane... " >&6; }
1970# Just in case
1971sleep 1
1972echo timestamp > conftest.file
1973# Do `set' in a subshell so we don't clobber the current shell's
1974# arguments. Must try -L first in case configure is actually a
1975# symlink; some systems play weird games with the mod time of symlinks
1976# (eg FreeBSD returns the mod time of the symlink's containing
1977# directory).
1978if (
1979 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1980 if test "$*" = "X"; then
1981 # -L didn't work.
1982 set X `ls -t $srcdir/configure conftest.file`
1983 fi
1984 rm -f conftest.file
1985 if test "$*" != "X $srcdir/configure conftest.file" \
1986 && test "$*" != "X conftest.file $srcdir/configure"; then
1987
1988 # If neither matched, then we have a broken ls. This can happen
1989 # if, for instance, CONFIG_SHELL is bash and it inherits a
1990 # broken ls alias from the environment. This has actually
1991 # happened. Such a system could not be considered "sane".
1992 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1993alias in your environment" >&5
1994$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1995alias in your environment" >&2;}
1996 { (exit 1); exit 1; }; }
1997 fi
1998
1999 test "$2" = conftest.file
2000 )
2001then
2002 # Ok.
2003 :
2004else
2005 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2006Check your system clock" >&5
2007$as_echo "$as_me: error: newly created file is older than distributed files!
2008Check your system clock" >&2;}
2009 { (exit 1); exit 1; }; }
2010fi
2011{ $as_echo "$as_me:$LINENO: result: yes" >&5
2012$as_echo "yes" >&6; }
2013test "$program_prefix" != NONE &&
2014 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2015# Use a double $ so make ignores it.
2016test "$program_suffix" != NONE &&
2017 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2018# Double any \ or $.
2019# By default was `s,x,x', remove it if useless.
2020ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2021program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2022
2023# expand $ac_aux_dir to an absolute path
2024am_aux_dir=`cd $ac_aux_dir && pwd`
2025
2026test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2027# Use eval to expand $SHELL
2028if eval "$MISSING --run true"; then
2029 am_missing_run="$MISSING --run "
2030else
2031 am_missing_run=
2032 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2033$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2034fi
2035
2036{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2037$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2038if test -z "$MKDIR_P"; then
2039 if test "${ac_cv_path_mkdir+set}" = set; then
2040 $as_echo_n "(cached) " >&6
2041else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_prog in mkdir gmkdir; do
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2050 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2051 'mkdir (GNU coreutils) '* | \
2052 'mkdir (coreutils) '* | \
2053 'mkdir (fileutils) '4.1*)
2054 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2055 break 3;;
2056 esac
2057 done
2058 done
2059done
2060IFS=$as_save_IFS
2061
2062fi
2063
2064 if test "${ac_cv_path_mkdir+set}" = set; then
2065 MKDIR_P="$ac_cv_path_mkdir -p"
2066 else
2067 # As a last resort, use the slow shell script. Don't cache a
2068 # value for MKDIR_P within a source directory, because that will
2069 # break other packages using the cache if that directory is
2070 # removed, or if the value is a relative name.
2071 test -d ./--version && rmdir ./--version
2072 MKDIR_P="$ac_install_sh -d"
2073 fi
2074fi
2075{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2076$as_echo "$MKDIR_P" >&6; }
2077
2078mkdir_p="$MKDIR_P"
2079case $mkdir_p in
2080 [\\/$]* | ?:[\\/]*) ;;
2081 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2082esac
2083
2084for ac_prog in gawk mawk nawk awk
2085do
2086 # Extract the first word of "$ac_prog", so it can be a program name with args.
2087set dummy $ac_prog; ac_word=$2
2088{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if test "${ac_cv_prog_AWK+set}" = set; then
2091 $as_echo_n "(cached) " >&6
2092else
2093 if test -n "$AWK"; then
2094 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_AWK="$ac_prog"
2104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2106 fi
2107done
2108done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113AWK=$ac_cv_prog_AWK
2114if test -n "$AWK"; then
2115 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2116$as_echo "$AWK" >&6; }
2117else
2118 { $as_echo "$as_me:$LINENO: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122
2123 test -n "$AWK" && break
2124done
2125
2126{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2127$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2128set x ${MAKE-make}
2129ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2130if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2131 $as_echo_n "(cached) " >&6
2132else
2133 cat >conftest.make <<\_ACEOF
2134SHELL = /bin/sh
2135all:
2136 @echo '@@@%%%=$(MAKE)=@@@%%%'
2137_ACEOF
2138# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2139case `${MAKE-make} -f conftest.make 2>/dev/null` in
2140 *@@@%%%=?*=@@@%%%*)
2141 eval ac_cv_prog_make_${ac_make}_set=yes;;
2142 *)
2143 eval ac_cv_prog_make_${ac_make}_set=no;;
2144esac
2145rm -f conftest.make
2146fi
2147if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2148 { $as_echo "$as_me:$LINENO: result: yes" >&5
2149$as_echo "yes" >&6; }
2150 SET_MAKE=
2151else
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153$as_echo "no" >&6; }
2154 SET_MAKE="MAKE=${MAKE-make}"
2155fi
2156
2157rm -rf .tst 2>/dev/null
2158mkdir .tst 2>/dev/null
2159if test -d .tst; then
2160 am__leading_dot=.
2161else
2162 am__leading_dot=_
2163fi
2164rmdir .tst 2>/dev/null
2165
2166if test "`cd $srcdir && pwd`" != "`pwd`"; then
2167 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2168 # is not polluted with repeated "-I."
2169 am__isrc=' -I$(srcdir)'
2170 # test to see if srcdir already configured
2171 if test -f $srcdir/config.status; then
2172 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2173$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2174 { (exit 1); exit 1; }; }
2175 fi
2176fi
2177
2178# test whether we have cygpath
2179if test -z "$CYGPATH_W"; then
2180 if (cygpath --version) >/dev/null 2>/dev/null; then
2181 CYGPATH_W='cygpath -w'
2182 else
2183 CYGPATH_W=echo
2184 fi
2185fi
2186
2187
2188# Define the identity of the package.
2189 PACKAGE='maze-of-life'
2190 VERSION='2.0'
2191
2192
2193cat >>confdefs.h <<_ACEOF
2194@%:@define PACKAGE "$PACKAGE"
2195_ACEOF
2196
2197
2198cat >>confdefs.h <<_ACEOF
2199@%:@define VERSION "$VERSION"
2200_ACEOF
2201
2202# Some tools Automake needs.
2203
2204ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2205
2206
2207AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2208
2209
2210AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2211
2212
2213AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2214
2215
2216MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2217
2218install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2219
2220# Installed binaries are usually stripped using `strip' when the user
2221# run `make install-strip'. However `strip' might not be the right
2222# tool to use in cross-compilation environments, therefore Automake
2223# will honor the `STRIP' environment variable to overrule this program.
2224if test "$cross_compiling" != no; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2227set dummy ${ac_tool_prefix}strip; ac_word=$2
2228{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2229$as_echo_n "checking for $ac_word... " >&6; }
2230if test "${ac_cv_prog_STRIP+set}" = set; then
2231 $as_echo_n "(cached) " >&6
2232else
2233 if test -n "$STRIP"; then
2234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2235else
2236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237for as_dir in $PATH
2238do
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2244 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247done
2248done
2249IFS=$as_save_IFS
2250
2251fi
2252fi
2253STRIP=$ac_cv_prog_STRIP
2254if test -n "$STRIP"; then
2255 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2256$as_echo "$STRIP" >&6; }
2257else
2258 { $as_echo "$as_me:$LINENO: result: no" >&5
2259$as_echo "no" >&6; }
2260fi
2261
2262
2263fi
2264if test -z "$ac_cv_prog_STRIP"; then
2265 ac_ct_STRIP=$STRIP
2266 # Extract the first word of "strip", so it can be a program name with args.
2267set dummy strip; ac_word=$2
2268{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2269$as_echo_n "checking for $ac_word... " >&6; }
2270if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2272else
2273 if test -n "$ac_ct_STRIP"; then
2274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279 IFS=$as_save_IFS
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_ac_ct_STRIP="strip"
2284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 break 2
2286 fi
2287done
2288done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2294if test -n "$ac_ct_STRIP"; then
2295 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2296$as_echo "$ac_ct_STRIP" >&6; }
2297else
2298 { $as_echo "$as_me:$LINENO: result: no" >&5
2299$as_echo "no" >&6; }
2300fi
2301
2302 if test "x$ac_ct_STRIP" = x; then
2303 STRIP=":"
2304 else
2305 case $cross_compiling:$ac_tool_warned in
2306yes:)
2307{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2309ac_tool_warned=yes ;;
2310esac
2311 STRIP=$ac_ct_STRIP
2312 fi
2313else
2314 STRIP="$ac_cv_prog_STRIP"
2315fi
2316
2317fi
2318INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2319
2320# We need awk for the "check" target. The system "awk" is bad on
2321# some platforms.
2322# Always define AMTAR for backward compatibility.
2323
2324AMTAR=${AMTAR-"${am_missing_run}tar"}
2325
2326am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2327
2328
2329
2330
2331
2332
2333ac_config_headers="$ac_config_headers config.h"
2334
2335
2336# Checks for programs.
2337ac_ext=cpp
2338ac_cpp='$CXXCPP $CPPFLAGS'
2339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2342if test -z "$CXX"; then
2343 if test -n "$CCC"; then
2344 CXX=$CCC
2345 else
2346 if test -n "$ac_tool_prefix"; then
2347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2348 do
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2350set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2352$as_echo_n "checking for $ac_word... " >&6; }
2353if test "${ac_cv_prog_CXX+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2355else
2356 if test -n "$CXX"; then
2357 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2358else
2359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360for as_dir in $PATH
2361do
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2369 fi
2370done
2371done
2372IFS=$as_save_IFS
2373
2374fi
2375fi
2376CXX=$ac_cv_prog_CXX
2377if test -n "$CXX"; then
2378 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2379$as_echo "$CXX" >&6; }
2380else
2381 { $as_echo "$as_me:$LINENO: result: no" >&5
2382$as_echo "no" >&6; }
2383fi
2384
2385
2386 test -n "$CXX" && break
2387 done
2388fi
2389if test -z "$CXX"; then
2390 ac_ct_CXX=$CXX
2391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2392do
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2394set dummy $ac_prog; ac_word=$2
2395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396$as_echo_n "checking for $ac_word... " >&6; }
2397if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2398 $as_echo_n "(cached) " >&6
2399else
2400 if test -n "$ac_ct_CXX"; then
2401 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2402else
2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404for as_dir in $PATH
2405do
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_CXX="$ac_prog"
2411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2413 fi
2414done
2415done
2416IFS=$as_save_IFS
2417
2418fi
2419fi
2420ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2421if test -n "$ac_ct_CXX"; then
2422 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2423$as_echo "$ac_ct_CXX" >&6; }
2424else
2425 { $as_echo "$as_me:$LINENO: result: no" >&5
2426$as_echo "no" >&6; }
2427fi
2428
2429
2430 test -n "$ac_ct_CXX" && break
2431done
2432
2433 if test "x$ac_ct_CXX" = x; then
2434 CXX="g++"
2435 else
2436 case $cross_compiling:$ac_tool_warned in
2437yes:)
2438{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2440ac_tool_warned=yes ;;
2441esac
2442 CXX=$ac_ct_CXX
2443 fi
2444fi
2445
2446 fi
2447fi
2448# Provide some information about the compiler.
2449$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2450set X $ac_compile
2451ac_compiler=$2
2452{ (ac_try="$ac_compiler --version >&5"
2453case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456esac
2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458$as_echo "$ac_try_echo") >&5
2459 (eval "$ac_compiler --version >&5") 2>&5
2460 ac_status=$?
2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }
2463{ (ac_try="$ac_compiler -v >&5"
2464case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467esac
2468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2469$as_echo "$ac_try_echo") >&5
2470 (eval "$ac_compiler -v >&5") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }
2474{ (ac_try="$ac_compiler -V >&5"
2475case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2480$as_echo "$ac_try_echo") >&5
2481 (eval "$ac_compiler -V >&5") 2>&5
2482 ac_status=$?
2483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2485
2486cat >conftest.$ac_ext <<_ACEOF
2487/* confdefs.h. */
2488_ACEOF
2489cat confdefs.h >>conftest.$ac_ext
2490cat >>conftest.$ac_ext <<_ACEOF
2491/* end confdefs.h. */
2492
2493int
2494main ()
2495{
2496
2497 ;
2498 return 0;
2499}
2500_ACEOF
2501ac_clean_files_save=$ac_clean_files
2502ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2503# Try to create an executable without -o first, disregard a.out.
2504# It will help us diagnose broken compilers, and finding out an intuition
2505# of exeext.
2506{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2507$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2508ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2509
2510# The possible output files:
2511ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2512
2513ac_rmfiles=
2514for ac_file in $ac_files
2515do
2516 case $ac_file in
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2518 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2519 esac
2520done
2521rm -f $ac_rmfiles
2522
2523if { (ac_try="$ac_link_default"
2524case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527esac
2528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2529$as_echo "$ac_try_echo") >&5
2530 (eval "$ac_link_default") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; then
2534 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2535# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2536# in a Makefile. We should not override ac_cv_exeext if it was cached,
2537# so that the user can short-circuit this test for compilers unknown to
2538# Autoconf.
2539for ac_file in $ac_files ''
2540do
2541 test -f "$ac_file" || continue
2542 case $ac_file in
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2544 ;;
2545 [ab].out )
2546 # We found the default executable, but exeext='' is most
2547 # certainly right.
2548 break;;
2549 *.* )
2550 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2551 then :; else
2552 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 fi
2554 # We set ac_cv_exeext here because the later test for it is not
2555 # safe: cross compilers may not add the suffix if given an `-o'
2556 # argument, so we may need to know it at that point already.
2557 # Even if this section looks crufty: it has the advantage of
2558 # actually working.
2559 break;;
2560 * )
2561 break;;
2562 esac
2563done
2564test "$ac_cv_exeext" = no && ac_cv_exeext=
2565
2566else
2567 ac_file=''
2568fi
2569
2570{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2571$as_echo "$ac_file" >&6; }
2572if test -z "$ac_file"; then
2573 $as_echo "$as_me: failed program was:" >&5
2574sed 's/^/| /' conftest.$ac_ext >&5
2575
2576{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2579See \`config.log' for more details." >&5
2580$as_echo "$as_me: error: C++ compiler cannot create executables
2581See \`config.log' for more details." >&2;}
2582 { (exit 77); exit 77; }; }; }
2583fi
2584
2585ac_exeext=$ac_cv_exeext
2586
2587# Check that the compiler produces executables we can run. If not, either
2588# the compiler is broken, or we cross compile.
2589{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2590$as_echo_n "checking whether the C++ compiler works... " >&6; }
2591# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2592# If not cross compiling, check that we can run a simple program.
2593if test "$cross_compiling" != yes; then
2594 if { ac_try='./$ac_file'
2595 { (case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598esac
2599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2600$as_echo "$ac_try_echo") >&5
2601 (eval "$ac_try") 2>&5
2602 ac_status=$?
2603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2605 cross_compiling=no
2606 else
2607 if test "$cross_compiling" = maybe; then
2608 cross_compiling=yes
2609 else
2610 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2613If you meant to cross compile, use \`--host'.
2614See \`config.log' for more details." >&5
2615$as_echo "$as_me: error: cannot run C++ compiled programs.
2616If you meant to cross compile, use \`--host'.
2617See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }; }
2619 fi
2620 fi
2621fi
2622{ $as_echo "$as_me:$LINENO: result: yes" >&5
2623$as_echo "yes" >&6; }
2624
2625rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2626ac_clean_files=$ac_clean_files_save
2627# Check that the compiler produces executables we can run. If not, either
2628# the compiler is broken, or we cross compile.
2629{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2630$as_echo_n "checking whether we are cross compiling... " >&6; }
2631{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2632$as_echo "$cross_compiling" >&6; }
2633
2634{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2635$as_echo_n "checking for suffix of executables... " >&6; }
2636if { (ac_try="$ac_link"
2637case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640esac
2641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642$as_echo "$ac_try_echo") >&5
2643 (eval "$ac_link") 2>&5
2644 ac_status=$?
2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2648# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2649# work properly (i.e., refer to `conftest.exe'), while it won't with
2650# `rm'.
2651for ac_file in conftest.exe conftest conftest.*; do
2652 test -f "$ac_file" || continue
2653 case $ac_file in
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2655 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2656 break;;
2657 * ) break;;
2658 esac
2659done
2660else
2661 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2664See \`config.log' for more details." >&5
2665$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2666See \`config.log' for more details." >&2;}
2667 { (exit 1); exit 1; }; }; }
2668fi
2669
2670rm -f conftest$ac_cv_exeext
2671{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2672$as_echo "$ac_cv_exeext" >&6; }
2673
2674rm -f conftest.$ac_ext
2675EXEEXT=$ac_cv_exeext
2676ac_exeext=$EXEEXT
2677{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2678$as_echo_n "checking for suffix of object files... " >&6; }
2679if test "${ac_cv_objext+set}" = set; then
2680 $as_echo_n "(cached) " >&6
2681else
2682 cat >conftest.$ac_ext <<_ACEOF
2683/* confdefs.h. */
2684_ACEOF
2685cat confdefs.h >>conftest.$ac_ext
2686cat >>conftest.$ac_ext <<_ACEOF
2687/* end confdefs.h. */
2688
2689int
2690main ()
2691{
2692
2693 ;
2694 return 0;
2695}
2696_ACEOF
2697rm -f conftest.o conftest.obj
2698if { (ac_try="$ac_compile"
2699case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702esac
2703eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704$as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compile") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 for ac_file in conftest.o conftest.obj conftest.*; do
2710 test -f "$ac_file" || continue;
2711 case $ac_file in
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2714 break;;
2715 esac
2716done
2717else
2718 $as_echo "$as_me: failed program was:" >&5
2719sed 's/^/| /' conftest.$ac_ext >&5
2720
2721{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2724See \`config.log' for more details." >&5
2725$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2726See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }; }
2728fi
2729
2730rm -f conftest.$ac_cv_objext conftest.$ac_ext
2731fi
2732{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2733$as_echo "$ac_cv_objext" >&6; }
2734OBJEXT=$ac_cv_objext
2735ac_objext=$OBJEXT
2736{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2737$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2738if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2739 $as_echo_n "(cached) " >&6
2740else
2741 cat >conftest.$ac_ext <<_ACEOF
2742/* confdefs.h. */
2743_ACEOF
2744cat confdefs.h >>conftest.$ac_ext
2745cat >>conftest.$ac_ext <<_ACEOF
2746/* end confdefs.h. */
2747
2748int
2749main ()
2750{
2751#ifndef __GNUC__
2752 choke me
2753#endif
2754
2755 ;
2756 return 0;
2757}
2758_ACEOF
2759rm -f conftest.$ac_objext
2760if { (ac_try="$ac_compile"
2761case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764esac
2765eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2766$as_echo "$ac_try_echo") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2768 ac_status=$?
2769 grep -v '^ *+' conftest.er1 >conftest.err
2770 rm -f conftest.er1
2771 cat conftest.err >&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } && {
2774 test -z "$ac_cxx_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest.$ac_objext; then
2777 ac_compiler_gnu=yes
2778else
2779 $as_echo "$as_me: failed program was:" >&5
2780sed 's/^/| /' conftest.$ac_ext >&5
2781
2782 ac_compiler_gnu=no
2783fi
2784
2785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2787
2788fi
2789{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2790$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2791if test $ac_compiler_gnu = yes; then
2792 GXX=yes
2793else
2794 GXX=
2795fi
2796ac_test_CXXFLAGS=${CXXFLAGS+set}
2797ac_save_CXXFLAGS=$CXXFLAGS
2798{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2799$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2800if test "${ac_cv_prog_cxx_g+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2802else
2803 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2804 ac_cxx_werror_flag=yes
2805 ac_cv_prog_cxx_g=no
2806 CXXFLAGS="-g"
2807 cat >conftest.$ac_ext <<_ACEOF
2808/* confdefs.h. */
2809_ACEOF
2810cat confdefs.h >>conftest.$ac_ext
2811cat >>conftest.$ac_ext <<_ACEOF
2812/* end confdefs.h. */
2813
2814int
2815main ()
2816{
2817
2818 ;
2819 return 0;
2820}
2821_ACEOF
2822rm -f conftest.$ac_objext
2823if { (ac_try="$ac_compile"
2824case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827esac
2828eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829$as_echo "$ac_try_echo") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_cxx_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then
2840 ac_cv_prog_cxx_g=yes
2841else
2842 $as_echo "$as_me: failed program was:" >&5
2843sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 CXXFLAGS=""
2846 cat >conftest.$ac_ext <<_ACEOF
2847/* confdefs.h. */
2848_ACEOF
2849cat confdefs.h >>conftest.$ac_ext
2850cat >>conftest.$ac_ext <<_ACEOF
2851/* end confdefs.h. */
2852
2853int
2854main ()
2855{
2856
2857 ;
2858 return 0;
2859}
2860_ACEOF
2861rm -f conftest.$ac_objext
2862if { (ac_try="$ac_compile"
2863case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866esac
2867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868$as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2870 ac_status=$?
2871 grep -v '^ *+' conftest.er1 >conftest.err
2872 rm -f conftest.er1
2873 cat conftest.err >&5
2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_cxx_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2879 :
2880else
2881 $as_echo "$as_me: failed program was:" >&5
2882sed 's/^/| /' conftest.$ac_ext >&5
2883
2884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2885 CXXFLAGS="-g"
2886 cat >conftest.$ac_ext <<_ACEOF
2887/* confdefs.h. */
2888_ACEOF
2889cat confdefs.h >>conftest.$ac_ext
2890cat >>conftest.$ac_ext <<_ACEOF
2891/* end confdefs.h. */
2892
2893int
2894main ()
2895{
2896
2897 ;
2898 return 0;
2899}
2900_ACEOF
2901rm -f conftest.$ac_objext
2902if { (ac_try="$ac_compile"
2903case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906esac
2907eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908$as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_cxx_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2919 ac_cv_prog_cxx_g=yes
2920else
2921 $as_echo "$as_me: failed program was:" >&5
2922sed 's/^/| /' conftest.$ac_ext >&5
2923
2924
2925fi
2926
2927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928fi
2929
2930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931fi
2932
2933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2935fi
2936{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2937$as_echo "$ac_cv_prog_cxx_g" >&6; }
2938if test "$ac_test_CXXFLAGS" = set; then
2939 CXXFLAGS=$ac_save_CXXFLAGS
2940elif test $ac_cv_prog_cxx_g = yes; then
2941 if test "$GXX" = yes; then
2942 CXXFLAGS="-g -O2"
2943 else
2944 CXXFLAGS="-g"
2945 fi
2946else
2947 if test "$GXX" = yes; then
2948 CXXFLAGS="-O2"
2949 else
2950 CXXFLAGS=
2951 fi
2952fi
2953ac_ext=c
2954ac_cpp='$CPP $CPPFLAGS'
2955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958DEPDIR="${am__leading_dot}deps"
2959
2960ac_config_commands="$ac_config_commands depfiles"
2961
2962
2963am_make=${MAKE-make}
2964cat > confinc << 'END'
2965am__doit:
2966 @echo done
2967.PHONY: am__doit
2968END
2969# If we don't find an include directive, just comment out the code.
2970{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971$as_echo_n "checking for style of include used by $am_make... " >&6; }
2972am__include="#"
2973am__quote=
2974_am_result=none
2975# First try GNU make style include.
2976echo "include confinc" > confmf
2977# We grep out `Entering directory' and `Leaving directory'
2978# messages which can occur if `w' ends up in MAKEFLAGS.
2979# In particular we don't look at `^make:' because GNU make might
2980# be invoked under some other name (usually "gmake"), in which
2981# case it prints its new name instead of `make'.
2982if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2983 am__include=include
2984 am__quote=
2985 _am_result=GNU
2986fi
2987# Now try BSD make style include.
2988if test "$am__include" = "#"; then
2989 echo '.include "confinc"' > confmf
2990 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2991 am__include=.include
2992 am__quote="\""
2993 _am_result=BSD
2994 fi
2995fi
2996
2997
2998{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2999$as_echo "$_am_result" >&6; }
3000rm -f confinc confmf
3001
3002@%:@ Check whether --enable-dependency-tracking was given.
3003if test "${enable_dependency_tracking+set}" = set; then
3004 enableval=$enable_dependency_tracking;
3005fi
3006
3007if test "x$enable_dependency_tracking" != xno; then
3008 am_depcomp="$ac_aux_dir/depcomp"
3009 AMDEPBACKSLASH='\'
3010fi
3011 if test "x$enable_dependency_tracking" != xno; then
3012 AMDEP_TRUE=
3013 AMDEP_FALSE='#'
3014else
3015 AMDEP_TRUE='#'
3016 AMDEP_FALSE=
3017fi
3018
3019
3020
3021depcc="$CXX" am_compiler_list=
3022
3023{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3024$as_echo_n "checking dependency style of $depcc... " >&6; }
3025if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3026 $as_echo_n "(cached) " >&6
3027else
3028 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3029 # We make a subdir and do the tests there. Otherwise we can end up
3030 # making bogus files that we don't know about and never remove. For
3031 # instance it was reported that on HP-UX the gcc test will end up
3032 # making a dummy file named `D' -- because `-MD' means `put the output
3033 # in D'.
3034 mkdir conftest.dir
3035 # Copy depcomp to subdir because otherwise we won't find it if we're
3036 # using a relative directory.
3037 cp "$am_depcomp" conftest.dir
3038 cd conftest.dir
3039 # We will build objects and dependencies in a subdirectory because
3040 # it helps to detect inapplicable dependency modes. For instance
3041 # both Tru64's cc and ICC support -MD to output dependencies as a
3042 # side effect of compilation, but ICC will put the dependencies in
3043 # the current directory while Tru64 will put them in the object
3044 # directory.
3045 mkdir sub
3046
3047 am_cv_CXX_dependencies_compiler_type=none
3048 if test "$am_compiler_list" = ""; then
3049 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3050 fi
3051 for depmode in $am_compiler_list; do
3052 # Setup a source with many dependencies, because some compilers
3053 # like to wrap large dependency lists on column 80 (with \), and
3054 # we should not choose a depcomp mode which is confused by this.
3055 #
3056 # We need to recreate these files for each test, as the compiler may
3057 # overwrite some of them when testing with obscure command lines.
3058 # This happens at least with the AIX C compiler.
3059 : > sub/conftest.c
3060 for i in 1 2 3 4 5 6; do
3061 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3063 # Solaris 8's {/usr,}/bin/sh.
3064 touch sub/conftst$i.h
3065 done
3066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3067
3068 case $depmode in
3069 nosideeffect)
3070 # after this tag, mechanisms are not by side-effect, so they'll
3071 # only be used when explicitly requested
3072 if test "x$enable_dependency_tracking" = xyes; then
3073 continue
3074 else
3075 break
3076 fi
3077 ;;
3078 none) break ;;
3079 esac
3080 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3081 # mode. It turns out that the SunPro C++ compiler does not properly
3082 # handle `-M -o', and we need to detect this.
3083 if depmode=$depmode \
3084 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3085 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3086 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3087 >/dev/null 2>conftest.err &&
3088 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3089 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3090 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3091 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3092 # icc doesn't choke on unknown options, it will just issue warnings
3093 # or remarks (even with -Werror). So we grep stderr for any message
3094 # that says an option was ignored or not supported.
3095 # When given -MP, icc 7.0 and 7.1 complain thusly:
3096 # icc: Command line warning: ignoring option '-M'; no argument required
3097 # The diagnosis changed in icc 8.0:
3098 # icc: Command line remark: option '-MP' not supported
3099 if (grep 'ignoring option' conftest.err ||
3100 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3101 am_cv_CXX_dependencies_compiler_type=$depmode
3102 break
3103 fi
3104 fi
3105 done
3106
3107 cd ..
3108 rm -rf conftest.dir
3109else
3110 am_cv_CXX_dependencies_compiler_type=none
3111fi
3112
3113fi
3114{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3115$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3116CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3117
3118 if
3119 test "x$enable_dependency_tracking" != xno \
3120 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3121 am__fastdepCXX_TRUE=
3122 am__fastdepCXX_FALSE='#'
3123else
3124 am__fastdepCXX_TRUE='#'
3125 am__fastdepCXX_FALSE=
3126fi
3127
3128
3129ac_ext=c
3130ac_cpp='$CPP $CPPFLAGS'
3131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133ac_compiler_gnu=$ac_cv_c_compiler_gnu
3134if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3136set dummy ${ac_tool_prefix}gcc; ac_word=$2
3137{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3138$as_echo_n "checking for $ac_word... " >&6; }
3139if test "${ac_cv_prog_CC+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3141else
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC="$CC" # Let the user override the test.
3144else
3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146for as_dir in $PATH
3147do
3148 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3153 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 break 2
3155 fi
3156done
3157done
3158IFS=$as_save_IFS
3159
3160fi
3161fi
3162CC=$ac_cv_prog_CC
3163if test -n "$CC"; then
3164 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3165$as_echo "$CC" >&6; }
3166else
3167 { $as_echo "$as_me:$LINENO: result: no" >&5
3168$as_echo "no" >&6; }
3169fi
3170
3171
3172fi
3173if test -z "$ac_cv_prog_CC"; then
3174 ac_ct_CC=$CC
3175 # Extract the first word of "gcc", so it can be a program name with args.
3176set dummy gcc; ac_word=$2
3177{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3178$as_echo_n "checking for $ac_word... " >&6; }
3179if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3180 $as_echo_n "(cached) " >&6
3181else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184else
3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH
3187do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_ac_ct_CC="gcc"
3193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3195 fi
3196done
3197done
3198IFS=$as_save_IFS
3199
3200fi
3201fi
3202ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3205$as_echo "$ac_ct_CC" >&6; }
3206else
3207 { $as_echo "$as_me:$LINENO: result: no" >&5
3208$as_echo "no" >&6; }
3209fi
3210
3211 if test "x$ac_ct_CC" = x; then
3212 CC=""
3213 else
3214 case $cross_compiling:$ac_tool_warned in
3215yes:)
3216{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218ac_tool_warned=yes ;;
3219esac
3220 CC=$ac_ct_CC
3221 fi
3222else
3223 CC="$ac_cv_prog_CC"
3224fi
3225
3226if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3229set dummy ${ac_tool_prefix}cc; ac_word=$2
3230{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3231$as_echo_n "checking for $ac_word... " >&6; }
3232if test "${ac_cv_prog_CC+set}" = set; then
3233 $as_echo_n "(cached) " >&6
3234else
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC="$CC" # Let the user override the test.
3237else
3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239for as_dir in $PATH
3240do
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_CC="${ac_tool_prefix}cc"
3246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 break 2
3248 fi
3249done
3250done
3251IFS=$as_save_IFS
3252
3253fi
3254fi
3255CC=$ac_cv_prog_CC
3256if test -n "$CC"; then
3257 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3258$as_echo "$CC" >&6; }
3259else
3260 { $as_echo "$as_me:$LINENO: result: no" >&5
3261$as_echo "no" >&6; }
3262fi
3263
3264
3265 fi
3266fi
3267if test -z "$CC"; then
3268 # Extract the first word of "cc", so it can be a program name with args.
3269set dummy cc; ac_word=$2
3270{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3271$as_echo_n "checking for $ac_word... " >&6; }
3272if test "${ac_cv_prog_CC+set}" = set; then
3273 $as_echo_n "(cached) " >&6
3274else
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3277else
3278 ac_prog_rejected=no
3279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280for as_dir in $PATH
3281do
3282 IFS=$as_save_IFS
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3287 ac_prog_rejected=yes
3288 continue
3289 fi
3290 ac_cv_prog_CC="cc"
3291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294done
3295done
3296IFS=$as_save_IFS
3297
3298if test $ac_prog_rejected = yes; then
3299 # We found a bogon in the path, so make sure we never use it.
3300 set dummy $ac_cv_prog_CC
3301 shift
3302 if test $@%:@ != 0; then
3303 # We chose a different compiler from the bogus one.
3304 # However, it has the same basename, so the bogon will be chosen
3305 # first if we set CC to just the basename; use the full file name.
3306 shift
3307 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3308 fi
3309fi
3310fi
3311fi
3312CC=$ac_cv_prog_CC
3313if test -n "$CC"; then
3314 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3315$as_echo "$CC" >&6; }
3316else
3317 { $as_echo "$as_me:$LINENO: result: no" >&5
3318$as_echo "no" >&6; }
3319fi
3320
3321
3322fi
3323if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 for ac_prog in cl.exe
3326 do
3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3328set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3329{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3330$as_echo_n "checking for $ac_word... " >&6; }
3331if test "${ac_cv_prog_CC+set}" = set; then
3332 $as_echo_n "(cached) " >&6
3333else
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC="$CC" # Let the user override the test.
3336else
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3347 fi
3348done
3349done
3350IFS=$as_save_IFS
3351
3352fi
3353fi
3354CC=$ac_cv_prog_CC
3355if test -n "$CC"; then
3356 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3357$as_echo "$CC" >&6; }
3358else
3359 { $as_echo "$as_me:$LINENO: result: no" >&5
3360$as_echo "no" >&6; }
3361fi
3362
3363
3364 test -n "$CC" && break
3365 done
3366fi
3367if test -z "$CC"; then
3368 ac_ct_CC=$CC
3369 for ac_prog in cl.exe
3370do
3371 # Extract the first word of "$ac_prog", so it can be a program name with args.
3372set dummy $ac_prog; ac_word=$2
3373{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3374$as_echo_n "checking for $ac_word... " >&6; }
3375if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3376 $as_echo_n "(cached) " >&6
3377else
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380else
3381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382for as_dir in $PATH
3383do
3384 IFS=$as_save_IFS
3385 test -z "$as_dir" && as_dir=.
3386 for ac_exec_ext in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC="$ac_prog"
3389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 break 2
3391 fi
3392done
3393done
3394IFS=$as_save_IFS
3395
3396fi
3397fi
3398ac_ct_CC=$ac_cv_prog_ac_ct_CC
3399if test -n "$ac_ct_CC"; then
3400 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3401$as_echo "$ac_ct_CC" >&6; }
3402else
3403 { $as_echo "$as_me:$LINENO: result: no" >&5
3404$as_echo "no" >&6; }
3405fi
3406
3407
3408 test -n "$ac_ct_CC" && break
3409done
3410
3411 if test "x$ac_ct_CC" = x; then
3412 CC=""
3413 else
3414 case $cross_compiling:$ac_tool_warned in
3415yes:)
3416{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418ac_tool_warned=yes ;;
3419esac
3420 CC=$ac_ct_CC
3421 fi
3422fi
3423
3424fi
3425
3426
3427test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3430See \`config.log' for more details." >&5
3431$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3432See \`config.log' for more details." >&2;}
3433 { (exit 1); exit 1; }; }; }
3434
3435# Provide some information about the compiler.
3436$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3437set X $ac_compile
3438ac_compiler=$2
3439{ (ac_try="$ac_compiler --version >&5"
3440case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443esac
3444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445$as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compiler --version >&5") 2>&5
3447 ac_status=$?
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }
3450{ (ac_try="$ac_compiler -v >&5"
3451case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454esac
3455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3456$as_echo "$ac_try_echo") >&5
3457 (eval "$ac_compiler -v >&5") 2>&5
3458 ac_status=$?
3459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }
3461{ (ac_try="$ac_compiler -V >&5"
3462case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3465esac
3466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3467$as_echo "$ac_try_echo") >&5
3468 (eval "$ac_compiler -V >&5") 2>&5
3469 ac_status=$?
3470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }
3472
3473{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3474$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475if test "${ac_cv_c_compiler_gnu+set}" = set; then
3476 $as_echo_n "(cached) " >&6
3477else
3478 cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h. */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3483/* end confdefs.h. */
3484
3485int
3486main ()
3487{
3488#ifndef __GNUC__
3489 choke me
3490#endif
3491
3492 ;
3493 return 0;
3494}
3495_ACEOF
3496rm -f conftest.$ac_objext
3497if { (ac_try="$ac_compile"
3498case "(($ac_try" in
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3503$as_echo "$ac_try_echo") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
3514 ac_compiler_gnu=yes
3515else
3516 $as_echo "$as_me: failed program was:" >&5
3517sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 ac_compiler_gnu=no
3520fi
3521
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529 GCC=yes
3530else
3531 GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if test "${ac_cv_prog_cc_g+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3539else
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3542 ac_cv_prog_cc_g=no
3543 CFLAGS="-g"
3544 cat >conftest.$ac_ext <<_ACEOF
3545/* confdefs.h. */
3546_ACEOF
3547cat confdefs.h >>conftest.$ac_ext
3548cat >>conftest.$ac_ext <<_ACEOF
3549/* end confdefs.h. */
3550
3551int
3552main ()
3553{
3554
3555 ;
3556 return 0;
3557}
3558_ACEOF
3559rm -f conftest.$ac_objext
3560if { (ac_try="$ac_compile"
3561case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3564esac
3565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3566$as_echo "$ac_try_echo") >&5
3567 (eval "$ac_compile") 2>conftest.er1
3568 ac_status=$?
3569 grep -v '^ *+' conftest.er1 >conftest.err
3570 rm -f conftest.er1
3571 cat conftest.err >&5
3572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } && {
3574 test -z "$ac_c_werror_flag" ||
3575 test ! -s conftest.err
3576 } && test -s conftest.$ac_objext; then
3577 ac_cv_prog_cc_g=yes
3578else
3579 $as_echo "$as_me: failed program was:" >&5
3580sed 's/^/| /' conftest.$ac_ext >&5
3581
3582 CFLAGS=""
3583 cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h. */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h. */
3589
3590int
3591main ()
3592{
3593
3594 ;
3595 return 0;
3596}
3597_ACEOF
3598rm -f conftest.$ac_objext
3599if { (ac_try="$ac_compile"
3600case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603esac
3604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605$as_echo "$ac_try_echo") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3607 ac_status=$?
3608 grep -v '^ *+' conftest.er1 >conftest.err
3609 rm -f conftest.er1
3610 cat conftest.err >&5
3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 :
3617else
3618 $as_echo "$as_me: failed program was:" >&5
3619sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_c_werror_flag=$ac_save_c_werror_flag
3622 CFLAGS="-g"
3623 cat >conftest.$ac_ext <<_ACEOF
3624/* confdefs.h. */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3628/* end confdefs.h. */
3629
3630int
3631main ()
3632{
3633
3634 ;
3635 return 0;
3636}
3637_ACEOF
3638rm -f conftest.$ac_objext
3639if { (ac_try="$ac_compile"
3640case "(($ac_try" in
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3643esac
3644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645$as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3647 ac_status=$?
3648 grep -v '^ *+' conftest.er1 >conftest.err
3649 rm -f conftest.er1
3650 cat conftest.err >&5
3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3656 ac_cv_prog_cc_g=yes
3657else
3658 $as_echo "$as_me: failed program was:" >&5
3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661
3662fi
3663
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665fi
3666
3667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668fi
3669
3670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3672fi
3673{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3674$as_echo "$ac_cv_prog_cc_g" >&6; }
3675if test "$ac_test_CFLAGS" = set; then
3676 CFLAGS=$ac_save_CFLAGS
3677elif test $ac_cv_prog_cc_g = yes; then
3678 if test "$GCC" = yes; then
3679 CFLAGS="-g -O2"
3680 else
3681 CFLAGS="-g"
3682 fi
3683else
3684 if test "$GCC" = yes; then
3685 CFLAGS="-O2"
3686 else
3687 CFLAGS=
3688 fi
3689fi
3690{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3691$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692if test "${ac_cv_prog_cc_c89+set}" = set; then
3693 $as_echo_n "(cached) " >&6
3694else
3695 ac_cv_prog_cc_c89=no
3696ac_save_CC=$CC
3697cat >conftest.$ac_ext <<_ACEOF
3698/* confdefs.h. */
3699_ACEOF
3700cat confdefs.h >>conftest.$ac_ext
3701cat >>conftest.$ac_ext <<_ACEOF
3702/* end confdefs.h. */
3703#include <stdarg.h>
3704#include <stdio.h>
3705#include <sys/types.h>
3706#include <sys/stat.h>
3707/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3708struct buf { int x; };
3709FILE * (*rcsopen) (struct buf *, struct stat *, int);
3710static char *e (p, i)
3711 char **p;
3712 int i;
3713{
3714 return p[i];
3715}
3716static char *f (char * (*g) (char **, int), char **p, ...)
3717{
3718 char *s;
3719 va_list v;
3720 va_start (v,p);
3721 s = g (p, va_arg (v,int));
3722 va_end (v);
3723 return s;
3724}
3725
3726/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3727 function prototypes and stuff, but not '\xHH' hex character constants.
3728 These don't provoke an error unfortunately, instead are silently treated
3729 as 'x'. The following induces an error, until -std is added to get
3730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3731 array size at least. It's necessary to write '\x00'==0 to get something
3732 that's true only with -std. */
3733int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3734
3735/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3736 inside strings and character constants. */
3737#define FOO(x) 'x'
3738int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3739
3740int test (int i, double x);
3741struct s1 {int (*f) (int a);};
3742struct s2 {int (*f) (double a);};
3743int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3744int argc;
3745char **argv;
3746int
3747main ()
3748{
3749return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750 ;
3751 return 0;
3752}
3753_ACEOF
3754for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3756do
3757 CC="$ac_save_CC $ac_arg"
3758 rm -f conftest.$ac_objext
3759if { (ac_try="$ac_compile"
3760case "(($ac_try" in
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3763esac
3764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3765$as_echo "$ac_try_echo") >&5
3766 (eval "$ac_compile") 2>conftest.er1
3767 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1
3770 cat conftest.err >&5
3771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest.$ac_objext; then
3776 ac_cv_prog_cc_c89=$ac_arg
3777else
3778 $as_echo "$as_me: failed program was:" >&5
3779sed 's/^/| /' conftest.$ac_ext >&5
3780
3781
3782fi
3783
3784rm -f core conftest.err conftest.$ac_objext
3785 test "x$ac_cv_prog_cc_c89" != "xno" && break
3786done
3787rm -f conftest.$ac_ext
3788CC=$ac_save_CC
3789
3790fi
3791# AC_CACHE_VAL
3792case "x$ac_cv_prog_cc_c89" in
3793 x)
3794 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3795$as_echo "none needed" >&6; } ;;
3796 xno)
3797 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3798$as_echo "unsupported" >&6; } ;;
3799 *)
3800 CC="$CC $ac_cv_prog_cc_c89"
3801 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3802$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3803esac
3804
3805
3806ac_ext=c
3807ac_cpp='$CPP $CPPFLAGS'
3808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811
3812depcc="$CC" am_compiler_list=
3813
3814{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3815$as_echo_n "checking dependency style of $depcc... " >&6; }
3816if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3817 $as_echo_n "(cached) " >&6
3818else
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named `D' -- because `-MD' means `put the output
3824 # in D'.
3825 mkdir conftest.dir
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3829 cd conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3835 # directory.
3836 mkdir sub
3837
3838 am_cv_CC_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841 fi
3842 for depmode in $am_compiler_list; do
3843 # Setup a source with many dependencies, because some compilers
3844 # like to wrap large dependency lists on column 80 (with \), and
3845 # we should not choose a depcomp mode which is confused by this.
3846 #
3847 # We need to recreate these files for each test, as the compiler may
3848 # overwrite some of them when testing with obscure command lines.
3849 # This happens at least with the AIX C compiler.
3850 : > sub/conftest.c
3851 for i in 1 2 3 4 5 6; do
3852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3853 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3854 # Solaris 8's {/usr,}/bin/sh.
3855 touch sub/conftst$i.h
3856 done
3857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3858
3859 case $depmode in
3860 nosideeffect)
3861 # after this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested
3863 if test "x$enable_dependency_tracking" = xyes; then
3864 continue
3865 else
3866 break
3867 fi
3868 ;;
3869 none) break ;;
3870 esac
3871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3872 # mode. It turns out that the SunPro C++ compiler does not properly
3873 # handle `-M -o', and we need to detect this.
3874 if depmode=$depmode \
3875 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3877 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3878 >/dev/null 2>conftest.err &&
3879 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3880 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3881 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3882 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3883 # icc doesn't choke on unknown options, it will just issue warnings
3884 # or remarks (even with -Werror). So we grep stderr for any message
3885 # that says an option was ignored or not supported.
3886 # When given -MP, icc 7.0 and 7.1 complain thusly:
3887 # icc: Command line warning: ignoring option '-M'; no argument required
3888 # The diagnosis changed in icc 8.0:
3889 # icc: Command line remark: option '-MP' not supported
3890 if (grep 'ignoring option' conftest.err ||
3891 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3892 am_cv_CC_dependencies_compiler_type=$depmode
3893 break
3894 fi
3895 fi
3896 done
3897
3898 cd ..
3899 rm -rf conftest.dir
3900else
3901 am_cv_CC_dependencies_compiler_type=none
3902fi
3903
3904fi
3905{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3906$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3907CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908
3909 if
3910 test "x$enable_dependency_tracking" != xno \
3911 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3912 am__fastdepCC_TRUE=
3913 am__fastdepCC_FALSE='#'
3914else
3915 am__fastdepCC_TRUE='#'
3916 am__fastdepCC_FALSE=
3917fi
3918
3919
3920
3921# Checks for libraries.
3922
3923
3924if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3927set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3928{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3929$as_echo_n "checking for $ac_word... " >&6; }
3930if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3931 $as_echo_n "(cached) " >&6
3932else
3933 case $PKG_CONFIG in
3934 [\\/]* | ?:[\\/]*)
3935 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3936 ;;
3937 *)
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939for as_dir in $PATH
3940do
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3948 fi
3949done
3950done
3951IFS=$as_save_IFS
3952
3953 ;;
3954esac
3955fi
3956PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3957if test -n "$PKG_CONFIG"; then
3958 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3959$as_echo "$PKG_CONFIG" >&6; }
3960else
3961 { $as_echo "$as_me:$LINENO: result: no" >&5
3962$as_echo "no" >&6; }
3963fi
3964
3965
3966fi
3967if test -z "$ac_cv_path_PKG_CONFIG"; then
3968 ac_pt_PKG_CONFIG=$PKG_CONFIG
3969 # Extract the first word of "pkg-config", so it can be a program name with args.
3970set dummy pkg-config; ac_word=$2
3971{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3972$as_echo_n "checking for $ac_word... " >&6; }
3973if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3975else
3976 case $ac_pt_PKG_CONFIG in
3977 [\\/]* | ?:[\\/]*)
3978 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3979 ;;
3980 *)
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982for as_dir in $PATH
3983do
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3991 fi
3992done
3993done
3994IFS=$as_save_IFS
3995
3996 ;;
3997esac
3998fi
3999ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4000if test -n "$ac_pt_PKG_CONFIG"; then
4001 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4002$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4003else
4004 { $as_echo "$as_me:$LINENO: result: no" >&5
4005$as_echo "no" >&6; }
4006fi
4007
4008 if test "x$ac_pt_PKG_CONFIG" = x; then
4009 PKG_CONFIG=""
4010 else
4011 case $cross_compiling:$ac_tool_warned in
4012yes:)
4013{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4015ac_tool_warned=yes ;;
4016esac
4017 PKG_CONFIG=$ac_pt_PKG_CONFIG
4018 fi
4019else
4020 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4021fi
4022
4023fi
4024if test -n "$PKG_CONFIG"; then
4025 _pkg_min_version=0.9.0
4026 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4027$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4028 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4029 { $as_echo "$as_me:$LINENO: result: yes" >&5
4030$as_echo "yes" >&6; }
4031 else
4032 { $as_echo "$as_me:$LINENO: result: no" >&5
4033$as_echo "no" >&6; }
4034 PKG_CONFIG=""
4035 fi
4036
4037fi
4038
4039pkg_failed=no
4040{ $as_echo "$as_me:$LINENO: checking for SDL" >&5
4041$as_echo_n "checking for SDL... " >&6; }
4042
4043if test -n "$PKG_CONFIG"; then
4044 if test -n "$SDL_CFLAGS"; then
4045 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
4046 else
4047 if test -n "$PKG_CONFIG" && \
4048 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4049 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; then
4053 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2" 2>/dev/null`
4054else
4055 pkg_failed=yes
4056fi
4057 fi
4058else
4059 pkg_failed=untried
4060fi
4061if test -n "$PKG_CONFIG"; then
4062 if test -n "$SDL_LIBS"; then
4063 pkg_cv_SDL_LIBS="$SDL_LIBS"
4064 else
4065 if test -n "$PKG_CONFIG" && \
4066 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4067 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4068 ac_status=$?
4069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; then
4071 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2" 2>/dev/null`
4072else
4073 pkg_failed=yes
4074fi
4075 fi
4076else
4077 pkg_failed=untried
4078fi
4079
4080
4081
4082if test $pkg_failed = yes; then
4083
4084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4085 _pkg_short_errors_supported=yes
4086else
4087 _pkg_short_errors_supported=no
4088fi
4089 if test $_pkg_short_errors_supported = yes; then
4090 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2"`
4091 else
4092 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2"`
4093 fi
4094 # Put the nasty error message in config.log where it belongs
4095 echo "$SDL_PKG_ERRORS" >&5
4096
4097 { { $as_echo "$as_me:$LINENO: error: Package requirements (sdl >= 1.2) were not met:
4098
4099$SDL_PKG_ERRORS
4100
4101Consider adjusting the PKG_CONFIG_PATH environment variable if you
4102installed software in a non-standard prefix.
4103
4104Alternatively, you may set the environment variables SDL_CFLAGS
4105and SDL_LIBS to avoid the need to call pkg-config.
4106See the pkg-config man page for more details.
4107" >&5
4108$as_echo "$as_me: error: Package requirements (sdl >= 1.2) were not met:
4109
4110$SDL_PKG_ERRORS
4111
4112Consider adjusting the PKG_CONFIG_PATH environment variable if you
4113installed software in a non-standard prefix.
4114
4115Alternatively, you may set the environment variables SDL_CFLAGS
4116and SDL_LIBS to avoid the need to call pkg-config.
4117See the pkg-config man page for more details.
4118" >&2;}
4119 { (exit 1); exit 1; }; }
4120elif test $pkg_failed = untried; then
4121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4124is in your PATH or set the PKG_CONFIG environment variable to the full
4125path to pkg-config.
4126
4127Alternatively, you may set the environment variables SDL_CFLAGS
4128and SDL_LIBS to avoid the need to call pkg-config.
4129See the pkg-config man page for more details.
4130
4131To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4132See \`config.log' for more details." >&5
4133$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4134is in your PATH or set the PKG_CONFIG environment variable to the full
4135path to pkg-config.
4136
4137Alternatively, you may set the environment variables SDL_CFLAGS
4138and SDL_LIBS to avoid the need to call pkg-config.
4139See the pkg-config man page for more details.
4140
4141To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4142See \`config.log' for more details." >&2;}
4143 { (exit 1); exit 1; }; }; }
4144else
4145 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
4146 SDL_LIBS=$pkg_cv_SDL_LIBS
4147 { $as_echo "$as_me:$LINENO: result: yes" >&5
4148$as_echo "yes" >&6; }
4149 :
4150fi
4151CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
4152LDFLAGS="$SDL_LIBS"
4153
4154# Checks for header files.
4155
4156# Checks for typedefs, structures, and compiler characteristics.
4157
4158ac_ext=c
4159ac_cpp='$CPP $CPPFLAGS'
4160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4164$as_echo_n "checking how to run the C preprocessor... " >&6; }
4165# On Suns, sometimes $CPP names a directory.
4166if test -n "$CPP" && test -d "$CPP"; then
4167 CPP=
4168fi
4169if test -z "$CPP"; then
4170 if test "${ac_cv_prog_CPP+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4172else
4173 # Double quotes because CPP needs to be expanded
4174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4175 do
4176 ac_preproc_ok=false
4177for ac_c_preproc_warn_flag in '' yes
4178do
4179 # Use a header file that comes with gcc, so configuring glibc
4180 # with a fresh cross-compiler works.
4181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4182 # <limits.h> exists even on freestanding compilers.
4183 # On the NeXT, cc -E runs the code through the compiler's parser,
4184 # not just through cpp. "Syntax error" is here to catch this case.
4185 cat >conftest.$ac_ext <<_ACEOF
4186/* confdefs.h. */
4187_ACEOF
4188cat confdefs.h >>conftest.$ac_ext
4189cat >>conftest.$ac_ext <<_ACEOF
4190/* end confdefs.h. */
4191@%:@ifdef __STDC__
4192@%:@ include <limits.h>
4193@%:@else
4194@%:@ include <assert.h>
4195@%:@endif
4196 Syntax error
4197_ACEOF
4198if { (ac_try="$ac_cpp conftest.$ac_ext"
4199case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202esac
4203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4204$as_echo "$ac_try_echo") >&5
4205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4206 ac_status=$?
4207 grep -v '^ *+' conftest.er1 >conftest.err
4208 rm -f conftest.er1
4209 cat conftest.err >&5
4210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev/null && {
4212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213 test ! -s conftest.err
4214 }; then
4215 :
4216else
4217 $as_echo "$as_me: failed program was:" >&5
4218sed 's/^/| /' conftest.$ac_ext >&5
4219
4220 # Broken: fails on valid input.
4221continue
4222fi
4223
4224rm -f conftest.err conftest.$ac_ext
4225
4226 # OK, works on sane cases. Now check whether nonexistent headers
4227 # can be detected and how.
4228 cat >conftest.$ac_ext <<_ACEOF
4229/* confdefs.h. */
4230_ACEOF
4231cat confdefs.h >>conftest.$ac_ext
4232cat >>conftest.$ac_ext <<_ACEOF
4233/* end confdefs.h. */
4234@%:@include <ac_nonexistent.h>
4235_ACEOF
4236if { (ac_try="$ac_cpp conftest.$ac_ext"
4237case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240esac
4241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4242$as_echo "$ac_try_echo") >&5
4243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4244 ac_status=$?
4245 grep -v '^ *+' conftest.er1 >conftest.err
4246 rm -f conftest.er1
4247 cat conftest.err >&5
4248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } >/dev/null && {
4250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4251 test ! -s conftest.err
4252 }; then
4253 # Broken: success on invalid input.
4254continue
4255else
4256 $as_echo "$as_me: failed program was:" >&5
4257sed 's/^/| /' conftest.$ac_ext >&5
4258
4259 # Passes both tests.
4260ac_preproc_ok=:
4261break
4262fi
4263
4264rm -f conftest.err conftest.$ac_ext
4265
4266done
4267# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268rm -f conftest.err conftest.$ac_ext
4269if $ac_preproc_ok; then
4270 break
4271fi
4272
4273 done
4274 ac_cv_prog_CPP=$CPP
4275
4276fi
4277 CPP=$ac_cv_prog_CPP
4278else
4279 ac_cv_prog_CPP=$CPP
4280fi
4281{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4282$as_echo "$CPP" >&6; }
4283ac_preproc_ok=false
4284for ac_c_preproc_warn_flag in '' yes
4285do
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat >conftest.$ac_ext <<_ACEOF
4293/* confdefs.h. */
4294_ACEOF
4295cat confdefs.h >>conftest.$ac_ext
4296cat >>conftest.$ac_ext <<_ACEOF
4297/* end confdefs.h. */
4298@%:@ifdef __STDC__
4299@%:@ include <limits.h>
4300@%:@else
4301@%:@ include <assert.h>
4302@%:@endif
4303 Syntax error
4304_ACEOF
4305if { (ac_try="$ac_cpp conftest.$ac_ext"
4306case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309esac
4310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4311$as_echo "$ac_try_echo") >&5
4312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4313 ac_status=$?
4314 grep -v '^ *+' conftest.er1 >conftest.err
4315 rm -f conftest.er1
4316 cat conftest.err >&5
4317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } >/dev/null && {
4319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4320 test ! -s conftest.err
4321 }; then
4322 :
4323else
4324 $as_echo "$as_me: failed program was:" >&5
4325sed 's/^/| /' conftest.$ac_ext >&5
4326
4327 # Broken: fails on valid input.
4328continue
4329fi
4330
4331rm -f conftest.err conftest.$ac_ext
4332
4333 # OK, works on sane cases. Now check whether nonexistent headers
4334 # can be detected and how.
4335 cat >conftest.$ac_ext <<_ACEOF
4336/* confdefs.h. */
4337_ACEOF
4338cat confdefs.h >>conftest.$ac_ext
4339cat >>conftest.$ac_ext <<_ACEOF
4340/* end confdefs.h. */
4341@%:@include <ac_nonexistent.h>
4342_ACEOF
4343if { (ac_try="$ac_cpp conftest.$ac_ext"
4344case "(($ac_try" in
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4347esac
4348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4349$as_echo "$ac_try_echo") >&5
4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4351 ac_status=$?
4352 grep -v '^ *+' conftest.er1 >conftest.err
4353 rm -f conftest.er1
4354 cat conftest.err >&5
4355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } >/dev/null && {
4357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4359 }; then
4360 # Broken: success on invalid input.
4361continue
4362else
4363 $as_echo "$as_me: failed program was:" >&5
4364sed 's/^/| /' conftest.$ac_ext >&5
4365
4366 # Passes both tests.
4367ac_preproc_ok=:
4368break
4369fi
4370
4371rm -f conftest.err conftest.$ac_ext
4372
4373done
4374# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4375rm -f conftest.err conftest.$ac_ext
4376if $ac_preproc_ok; then
4377 :
4378else
4379 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4382See \`config.log' for more details." >&5
4383$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4384See \`config.log' for more details." >&2;}
4385 { (exit 1); exit 1; }; }; }
4386fi
4387
4388ac_ext=c
4389ac_cpp='$CPP $CPPFLAGS'
4390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393
4394
4395{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4396$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4397if test "${ac_cv_path_GREP+set}" = set; then
4398 $as_echo_n "(cached) " >&6
4399else
4400 if test -z "$GREP"; then
4401 ac_path_GREP_found=false
4402 # Loop through the user's path and test for each of PROGNAME-LIST
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4405do
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_prog in grep ggrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4412# Check for GNU ac_path_GREP and select it if it is found.
4413 # Check for GNU $ac_path_GREP
4414case `"$ac_path_GREP" --version 2>&1` in
4415*GNU*)
4416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4417*)
4418 ac_count=0
4419 $as_echo_n 0123456789 >"conftest.in"
4420 while :
4421 do
4422 cat "conftest.in" "conftest.in" >"conftest.tmp"
4423 mv "conftest.tmp" "conftest.in"
4424 cp "conftest.in" "conftest.nl"
4425 $as_echo 'GREP' >> "conftest.nl"
4426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 ac_count=`expr $ac_count + 1`
4429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_GREP="$ac_path_GREP"
4432 ac_path_GREP_max=$ac_count
4433 fi
4434 # 10*(2^10) chars as input seems more than enough
4435 test $ac_count -gt 10 && break
4436 done
4437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4438esac
4439
4440 $ac_path_GREP_found && break 3
4441 done
4442 done
4443done
4444IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_GREP"; then
4446 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4447$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4449 fi
4450else
4451 ac_cv_path_GREP=$GREP
4452fi
4453
4454fi
4455{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4456$as_echo "$ac_cv_path_GREP" >&6; }
4457 GREP="$ac_cv_path_GREP"
4458
4459
4460{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4461$as_echo_n "checking for egrep... " >&6; }
4462if test "${ac_cv_path_EGREP+set}" = set; then
4463 $as_echo_n "(cached) " >&6
4464else
4465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4466 then ac_cv_path_EGREP="$GREP -E"
4467 else
4468 if test -z "$EGREP"; then
4469 ac_path_EGREP_found=false
4470 # Loop through the user's path and test for each of PROGNAME-LIST
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4473do
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_prog in egrep; do
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4479 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4480# Check for GNU ac_path_EGREP and select it if it is found.
4481 # Check for GNU $ac_path_EGREP
4482case `"$ac_path_EGREP" --version 2>&1` in
4483*GNU*)
4484 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4485*)
4486 ac_count=0
4487 $as_echo_n 0123456789 >"conftest.in"
4488 while :
4489 do
4490 cat "conftest.in" "conftest.in" >"conftest.tmp"
4491 mv "conftest.tmp" "conftest.in"
4492 cp "conftest.in" "conftest.nl"
4493 $as_echo 'EGREP' >> "conftest.nl"
4494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496 ac_count=`expr $ac_count + 1`
4497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4498 # Best one so far, save it but keep looking for a better one
4499 ac_cv_path_EGREP="$ac_path_EGREP"
4500 ac_path_EGREP_max=$ac_count
4501 fi
4502 # 10*(2^10) chars as input seems more than enough
4503 test $ac_count -gt 10 && break
4504 done
4505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508 $ac_path_EGREP_found && break 3
4509 done
4510 done
4511done
4512IFS=$as_save_IFS
4513 if test -z "$ac_cv_path_EGREP"; then
4514 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4515$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4516 { (exit 1); exit 1; }; }
4517 fi
4518else
4519 ac_cv_path_EGREP=$EGREP
4520fi
4521
4522 fi
4523fi
4524{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4525$as_echo "$ac_cv_path_EGREP" >&6; }
4526 EGREP="$ac_cv_path_EGREP"
4527
4528
4529{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4530$as_echo_n "checking for ANSI C header files... " >&6; }
4531if test "${ac_cv_header_stdc+set}" = set; then
4532 $as_echo_n "(cached) " >&6
4533else
4534 cat >conftest.$ac_ext <<_ACEOF
4535/* confdefs.h. */
4536_ACEOF
4537cat confdefs.h >>conftest.$ac_ext
4538cat >>conftest.$ac_ext <<_ACEOF
4539/* end confdefs.h. */
4540#include <stdlib.h>
4541#include <stdarg.h>
4542#include <string.h>
4543#include <float.h>
4544
4545int
4546main ()
4547{
4548
4549 ;
4550 return 0;
4551}
4552_ACEOF
4553rm -f conftest.$ac_objext
4554if { (ac_try="$ac_compile"
4555case "(($ac_try" in
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4558esac
4559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560$as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4562 ac_status=$?
4563 grep -v '^ *+' conftest.er1 >conftest.err
4564 rm -f conftest.er1
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 ac_cv_header_stdc=yes
4572else
4573 $as_echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576 ac_cv_header_stdc=no
4577fi
4578
4579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580
4581if test $ac_cv_header_stdc = yes; then
4582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4583 cat >conftest.$ac_ext <<_ACEOF
4584/* confdefs.h. */
4585_ACEOF
4586cat confdefs.h >>conftest.$ac_ext
4587cat >>conftest.$ac_ext <<_ACEOF
4588/* end confdefs.h. */
4589#include <string.h>
4590
4591_ACEOF
4592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "memchr" >/dev/null 2>&1; then
4594 :
4595else
4596 ac_cv_header_stdc=no
4597fi
4598rm -f conftest*
4599
4600fi
4601
4602if test $ac_cv_header_stdc = yes; then
4603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604 cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h. */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h. */
4610#include <stdlib.h>
4611
4612_ACEOF
4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "free" >/dev/null 2>&1; then
4615 :
4616else
4617 ac_cv_header_stdc=no
4618fi
4619rm -f conftest*
4620
4621fi
4622
4623if test $ac_cv_header_stdc = yes; then
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4625 if test "$cross_compiling" = yes; then
4626 :
4627else
4628 cat >conftest.$ac_ext <<_ACEOF
4629/* confdefs.h. */
4630_ACEOF
4631cat confdefs.h >>conftest.$ac_ext
4632cat >>conftest.$ac_ext <<_ACEOF
4633/* end confdefs.h. */
4634#include <ctype.h>
4635#include <stdlib.h>
4636#if ((' ' & 0x0FF) == 0x020)
4637# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4639#else
4640# define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4645#endif
4646
4647#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4648int
4649main ()
4650{
4651 int i;
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4655 return 2;
4656 return 0;
4657}
4658_ACEOF
4659rm -f conftest$ac_exeext
4660if { (ac_try="$ac_link"
4661case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664esac
4665eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4666$as_echo "$ac_try_echo") >&5
4667 (eval "$ac_link") 2>&5
4668 ac_status=$?
4669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4671 { (case "(($ac_try" in
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673 *) ac_try_echo=$ac_try;;
4674esac
4675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4676$as_echo "$ac_try_echo") >&5
4677 (eval "$ac_try") 2>&5
4678 ac_status=$?
4679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 :
4682else
4683 $as_echo "$as_me: program exited with status $ac_status" >&5
4684$as_echo "$as_me: failed program was:" >&5
4685sed 's/^/| /' conftest.$ac_ext >&5
4686
4687( exit $ac_status )
4688ac_cv_header_stdc=no
4689fi
4690rm -rf conftest.dSYM
4691rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4692fi
4693
4694
4695fi
4696fi
4697{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4698$as_echo "$ac_cv_header_stdc" >&6; }
4699if test $ac_cv_header_stdc = yes; then
4700
4701cat >>confdefs.h <<\_ACEOF
4702@%:@define STDC_HEADERS 1
4703_ACEOF
4704
4705fi
4706
4707# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4718 inttypes.h stdint.h unistd.h
4719do
4720as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4722$as_echo_n "checking for $ac_header... " >&6; }
4723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724 $as_echo_n "(cached) " >&6
4725else
4726 cat >conftest.$ac_ext <<_ACEOF
4727/* confdefs.h. */
4728_ACEOF
4729cat confdefs.h >>conftest.$ac_ext
4730cat >>conftest.$ac_ext <<_ACEOF
4731/* end confdefs.h. */
4732$ac_includes_default
4733
4734@%:@include <$ac_header>
4735_ACEOF
4736rm -f conftest.$ac_objext
4737if { (ac_try="$ac_compile"
4738case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741esac
4742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743$as_echo "$ac_try_echo") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4745 ac_status=$?
4746 grep -v '^ *+' conftest.er1 >conftest.err
4747 rm -f conftest.er1
4748 cat conftest.err >&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest.$ac_objext; then
4754 eval "$as_ac_Header=yes"
4755else
4756 $as_echo "$as_me: failed program was:" >&5
4757sed 's/^/| /' conftest.$ac_ext >&5
4758
4759 eval "$as_ac_Header=no"
4760fi
4761
4762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763fi
4764ac_res=`eval 'as_val=${'$as_ac_Header'}
4765 $as_echo "$as_val"'`
4766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4767$as_echo "$ac_res" >&6; }
4768as_val=`eval 'as_val=${'$as_ac_Header'}
4769 $as_echo "$as_val"'`
4770 if test "x$as_val" = x""yes; then
4771 cat >>confdefs.h <<_ACEOF
4772@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773_ACEOF
4774
4775fi
4776
4777done
4778
4779
4780{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4781$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4782if test "${ac_cv_header_stdbool_h+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4784else
4785 cat >conftest.$ac_ext <<_ACEOF
4786/* confdefs.h. */
4787_ACEOF
4788cat confdefs.h >>conftest.$ac_ext
4789cat >>conftest.$ac_ext <<_ACEOF
4790/* end confdefs.h. */
4791
4792#include <stdbool.h>
4793#ifndef bool
4794 "error: bool is not defined"
4795#endif
4796#ifndef false
4797 "error: false is not defined"
4798#endif
4799#if false
4800 "error: false is not 0"
4801#endif
4802#ifndef true
4803 "error: true is not defined"
4804#endif
4805#if true != 1
4806 "error: true is not 1"
4807#endif
4808#ifndef __bool_true_false_are_defined
4809 "error: __bool_true_false_are_defined is not defined"
4810#endif
4811
4812 struct s { _Bool s: 1; _Bool t; } s;
4813
4814 char a[true == 1 ? 1 : -1];
4815 char b[false == 0 ? 1 : -1];
4816 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4817 char d[(bool) 0.5 == true ? 1 : -1];
4818 bool e = &s;
4819 char f[(_Bool) 0.0 == false ? 1 : -1];
4820 char g[true];
4821 char h[sizeof (_Bool)];
4822 char i[sizeof s.t];
4823 enum { j = false, k = true, l = false * true, m = true * 256 };
4824 /* The following fails for
4825 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4826 _Bool n[m];
4827 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4828 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4829# if defined __xlc__ || defined __GNUC__
4830 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4831 reported by James Lemley on 2005-10-05; see
4832 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4833 This test is not quite right, since xlc is allowed to
4834 reject this program, as the initializer for xlcbug is
4835 not one of the forms that C requires support for.
4836 However, doing the test right would require a runtime
4837 test, and that would make cross-compilation harder.
4838 Let us hope that IBM fixes the xlc bug, and also adds
4839 support for this kind of constant expression. In the
4840 meantime, this test will reject xlc, which is OK, since
4841 our stdbool.h substitute should suffice. We also test
4842 this with GCC, where it should work, to detect more
4843 quickly whether someone messes up the test in the
4844 future. */
4845 char digs[] = "0123456789";
4846 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4847# endif
4848 /* Catch a bug in an HP-UX C compiler. See
4849 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4850 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4851 */
4852 _Bool q = true;
4853 _Bool *pq = &q;
4854
4855int
4856main ()
4857{
4858
4859 *pq |= q;
4860 *pq |= ! q;
4861 /* Refer to every declared value, to avoid compiler optimizations. */
4862 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4863 + !m + !n + !o + !p + !q + !pq);
4864
4865 ;
4866 return 0;
4867}
4868_ACEOF
4869rm -f conftest.$ac_objext
4870if { (ac_try="$ac_compile"
4871case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874esac
4875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4876$as_echo "$ac_try_echo") >&5
4877 (eval "$ac_compile") 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest.$ac_objext; then
4887 ac_cv_header_stdbool_h=yes
4888else
4889 $as_echo "$as_me: failed program was:" >&5
4890sed 's/^/| /' conftest.$ac_ext >&5
4891
4892 ac_cv_header_stdbool_h=no
4893fi
4894
4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896fi
4897{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4898$as_echo "$ac_cv_header_stdbool_h" >&6; }
4899{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4900$as_echo_n "checking for _Bool... " >&6; }
4901if test "${ac_cv_type__Bool+set}" = set; then
4902 $as_echo_n "(cached) " >&6
4903else
4904 ac_cv_type__Bool=no
4905cat >conftest.$ac_ext <<_ACEOF
4906/* confdefs.h. */
4907_ACEOF
4908cat confdefs.h >>conftest.$ac_ext
4909cat >>conftest.$ac_ext <<_ACEOF
4910/* end confdefs.h. */
4911$ac_includes_default
4912int
4913main ()
4914{
4915if (sizeof (_Bool))
4916 return 0;
4917 ;
4918 return 0;
4919}
4920_ACEOF
4921rm -f conftest.$ac_objext
4922if { (ac_try="$ac_compile"
4923case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926esac
4927eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928$as_echo "$ac_try_echo") >&5
4929 (eval "$ac_compile") 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && {
4936 test -z "$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4938 } && test -s conftest.$ac_objext; then
4939 cat >conftest.$ac_ext <<_ACEOF
4940/* confdefs.h. */
4941_ACEOF
4942cat confdefs.h >>conftest.$ac_ext
4943cat >>conftest.$ac_ext <<_ACEOF
4944/* end confdefs.h. */
4945$ac_includes_default
4946int
4947main ()
4948{
4949if (sizeof ((_Bool)))
4950 return 0;
4951 ;
4952 return 0;
4953}
4954_ACEOF
4955rm -f conftest.$ac_objext
4956if { (ac_try="$ac_compile"
4957case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960esac
4961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4962$as_echo "$ac_try_echo") >&5
4963 (eval "$ac_compile") 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest.$ac_objext; then
4973 :
4974else
4975 $as_echo "$as_me: failed program was:" >&5
4976sed 's/^/| /' conftest.$ac_ext >&5
4977
4978 ac_cv_type__Bool=yes
4979fi
4980
4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982else
4983 $as_echo "$as_me: failed program was:" >&5
4984sed 's/^/| /' conftest.$ac_ext >&5
4985
4986
4987fi
4988
4989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990fi
4991{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4992$as_echo "$ac_cv_type__Bool" >&6; }
4993if test "x$ac_cv_type__Bool" = x""yes; then
4994
4995cat >>confdefs.h <<_ACEOF
4996@%:@define HAVE__BOOL 1
4997_ACEOF
4998
4999
5000fi
5001
5002if test $ac_cv_header_stdbool_h = yes; then
5003
5004cat >>confdefs.h <<\_ACEOF
5005@%:@define HAVE_STDBOOL_H 1
5006_ACEOF
5007
5008fi
5009
5010
5011# Checks for library functions.
5012
5013for ac_func in atexit
5014do
5015as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5016{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5017$as_echo_n "checking for $ac_func... " >&6; }
5018if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5019 $as_echo_n "(cached) " >&6
5020else
5021 cat >conftest.$ac_ext <<_ACEOF
5022/* confdefs.h. */
5023_ACEOF
5024cat confdefs.h >>conftest.$ac_ext
5025cat >>conftest.$ac_ext <<_ACEOF
5026/* end confdefs.h. */
5027/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5029#define $ac_func innocuous_$ac_func
5030
5031/* System header to define __stub macros and hopefully few prototypes,
5032 which can conflict with char $ac_func (); below.
5033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 <limits.h> exists even on freestanding compilers. */
5035
5036#ifdef __STDC__
5037# include <limits.h>
5038#else
5039# include <assert.h>
5040#endif
5041
5042#undef $ac_func
5043
5044/* Override any GCC internal prototype to avoid an error.
5045 Use char because int might match the return type of a GCC
5046 builtin and then its argument prototype would still apply. */
5047#ifdef __cplusplus
5048extern "C"
5049#endif
5050char $ac_func ();
5051/* The GNU C library defines this for functions which it implements
5052 to always fail with ENOSYS. Some functions are actually named
5053 something starting with __ and the normal name is an alias. */
5054#if defined __stub_$ac_func || defined __stub___$ac_func
5055choke me
5056#endif
5057
5058int
5059main ()
5060{
5061return $ac_func ();
5062 ;
5063 return 0;
5064}
5065_ACEOF
5066rm -f conftest.$ac_objext conftest$ac_exeext
5067if { (ac_try="$ac_link"
5068case "(($ac_try" in
5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5070 *) ac_try_echo=$ac_try;;
5071esac
5072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5073$as_echo "$ac_try_echo") >&5
5074 (eval "$ac_link") 2>conftest.er1
5075 ac_status=$?
5076 grep -v '^ *+' conftest.er1 >conftest.err
5077 rm -f conftest.er1
5078 cat conftest.err >&5
5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } && {
5081 test -z "$ac_c_werror_flag" ||
5082 test ! -s conftest.err
5083 } && test -s conftest$ac_exeext && {
5084 test "$cross_compiling" = yes ||
5085 $as_test_x conftest$ac_exeext
5086 }; then
5087 eval "$as_ac_var=yes"
5088else
5089 $as_echo "$as_me: failed program was:" >&5
5090sed 's/^/| /' conftest.$ac_ext >&5
5091
5092 eval "$as_ac_var=no"
5093fi
5094
5095rm -rf conftest.dSYM
5096rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5097 conftest$ac_exeext conftest.$ac_ext
5098fi
5099ac_res=`eval 'as_val=${'$as_ac_var'}
5100 $as_echo "$as_val"'`
5101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5102$as_echo "$ac_res" >&6; }
5103as_val=`eval 'as_val=${'$as_ac_var'}
5104 $as_echo "$as_val"'`
5105 if test "x$as_val" = x""yes; then
5106 cat >>confdefs.h <<_ACEOF
5107@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5108_ACEOF
5109
5110fi
5111done
5112
5113
5114ac_config_files="$ac_config_files Makefile src/Makefile"
5115
5116cat >confcache <<\_ACEOF
5117# This file is a shell script that caches the results of configure
5118# tests run on this system so they can be shared between configure
5119# scripts and configure runs, see configure's option --config-cache.
5120# It is not useful on other systems. If it contains results you don't
5121# want to keep, you may remove or edit it.
5122#
5123# config.status only pays attention to the cache file if you give it
5124# the --recheck option to rerun configure.
5125#
5126# `ac_cv_env_foo' variables (set or unset) will be overridden when
5127# loading this file, other *unset* `ac_cv_foo' will be assigned the
5128# following values.
5129
5130_ACEOF
5131
5132# The following way of writing the cache mishandles newlines in values,
5133# but we know of no workaround that is simple, portable, and efficient.
5134# So, we kill variables containing newlines.
5135# Ultrix sh set writes to stderr and can't be redirected directly,
5136# and sets the high bit in the cache file unless we assign to the vars.
5137(
5138 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5139 eval ac_val=\$$ac_var
5140 case $ac_val in #(
5141 *${as_nl}*)
5142 case $ac_var in #(
5143 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5144$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5145 esac
5146 case $ac_var in #(
5147 _ | IFS | as_nl) ;; #(
5148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5149 *) $as_unset $ac_var ;;
5150 esac ;;
5151 esac
5152 done
5153
5154 (set) 2>&1 |
5155 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5156 *${as_nl}ac_space=\ *)
5157 # `set' does not quote correctly, so add quotes (double-quote
5158 # substitution turns \\\\ into \\, and sed turns \\ into \).
5159 sed -n \
5160 "s/'/'\\\\''/g;
5161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5162 ;; #(
5163 *)
5164 # `set' quotes correctly as required by POSIX, so do not add quotes.
5165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5166 ;;
5167 esac |
5168 sort
5169) |
5170 sed '
5171 /^ac_cv_env_/b end
5172 t clear
5173 :clear
5174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5175 t end
5176 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5177 :end' >>confcache
5178if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5179 if test -w "$cache_file"; then
5180 test "x$cache_file" != "x/dev/null" &&
5181 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5182$as_echo "$as_me: updating cache $cache_file" >&6;}
5183 cat confcache >$cache_file
5184 else
5185 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5186$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5187 fi
5188fi
5189rm -f confcache
5190
5191test "x$prefix" = xNONE && prefix=$ac_default_prefix
5192# Let make expand exec_prefix.
5193test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5194
5195DEFS=-DHAVE_CONFIG_H
5196
5197ac_libobjs=
5198ac_ltlibobjs=
5199for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5200 # 1. Remove the extension, and $U if already installed.
5201 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5202 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5204 # will be set to the directory where LIBOBJS objects are built.
5205 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5206 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5207done
5208LIB@&t@OBJS=$ac_libobjs
5209
5210LTLIBOBJS=$ac_ltlibobjs
5211
5212
5213if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5214 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5215Usually this means the macro was only invoked conditionally." >&5
5216$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5217Usually this means the macro was only invoked conditionally." >&2;}
5218 { (exit 1); exit 1; }; }
5219fi
5220if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5221 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5222Usually this means the macro was only invoked conditionally." >&5
5223$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5224Usually this means the macro was only invoked conditionally." >&2;}
5225 { (exit 1); exit 1; }; }
5226fi
5227if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5228 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5229Usually this means the macro was only invoked conditionally." >&5
5230$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5231Usually this means the macro was only invoked conditionally." >&2;}
5232 { (exit 1); exit 1; }; }
5233fi
5234
5235: ${CONFIG_STATUS=./config.status}
5236ac_write_fail=0
5237ac_clean_files_save=$ac_clean_files
5238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5239{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5240$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5241cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5242#! $SHELL
5243# Generated by $as_me.
5244# Run this file to recreate the current configuration.
5245# Compiler output produced by configure, useful for debugging
5246# configure, is in config.log if it exists.
5247
5248debug=false
5249ac_cs_recheck=false
5250ac_cs_silent=false
5251SHELL=\${CONFIG_SHELL-$SHELL}
5252_ACEOF
5253
5254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5255## --------------------- ##
5256## M4sh Initialization. ##
5257## --------------------- ##
5258
5259# Be more Bourne compatible
5260DUALCASE=1; export DUALCASE # for MKS sh
5261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5262 emulate sh
5263 NULLCMD=:
5264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5265 # is contrary to our usage. Disable this feature.
5266 alias -g '${1+"$@"}'='"$@"'
5267 setopt NO_GLOB_SUBST
5268else
5269 case `(set -o) 2>/dev/null` in
5270 *posix*) set -o posix ;;
5271esac
5272
5273fi
5274
5275
5276
5277
5278# PATH needs CR
5279# Avoid depending upon Character Ranges.
5280as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5281as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5282as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5283as_cr_digits='0123456789'
5284as_cr_alnum=$as_cr_Letters$as_cr_digits
5285
5286as_nl='
5287'
5288export as_nl
5289# Printing a long string crashes Solaris 7 /usr/bin/printf.
5290as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5291as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5292as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5293if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5294 as_echo='printf %s\n'
5295 as_echo_n='printf %s'
5296else
5297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5298 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5299 as_echo_n='/usr/ucb/echo -n'
5300 else
5301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5302 as_echo_n_body='eval
5303 arg=$1;
5304 case $arg in
5305 *"$as_nl"*)
5306 expr "X$arg" : "X\\(.*\\)$as_nl";
5307 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5308 esac;
5309 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5310 '
5311 export as_echo_n_body
5312 as_echo_n='sh -c $as_echo_n_body as_echo'
5313 fi
5314 export as_echo_body
5315 as_echo='sh -c $as_echo_body as_echo'
5316fi
5317
5318# The user is always right.
5319if test "${PATH_SEPARATOR+set}" != set; then
5320 PATH_SEPARATOR=:
5321 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5322 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5323 PATH_SEPARATOR=';'
5324 }
5325fi
5326
5327# Support unset when possible.
5328if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5329 as_unset=unset
5330else
5331 as_unset=false
5332fi
5333
5334
5335# IFS
5336# We need space, tab and new line, in precisely that order. Quoting is
5337# there to prevent editors from complaining about space-tab.
5338# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5339# splitting by setting IFS to empty value.)
5340IFS=" "" $as_nl"
5341
5342# Find who we are. Look in the path if we contain no directory separator.
5343case $0 in
5344 *[\\/]* ) as_myself=$0 ;;
5345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346for as_dir in $PATH
5347do
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5351done
5352IFS=$as_save_IFS
5353
5354 ;;
5355esac
5356# We did not find ourselves, most probably we were run as `sh COMMAND'
5357# in which case we are not to be found in the path.
5358if test "x$as_myself" = x; then
5359 as_myself=$0
5360fi
5361if test ! -f "$as_myself"; then
5362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5363 { (exit 1); exit 1; }
5364fi
5365
5366# Work around bugs in pre-3.0 UWIN ksh.
5367for as_var in ENV MAIL MAILPATH
5368do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5369done
5370PS1='$ '
5371PS2='> '
5372PS4='+ '
5373
5374# NLS nuisances.
5375LC_ALL=C
5376export LC_ALL
5377LANGUAGE=C
5378export LANGUAGE
5379
5380# Required to use basename.
5381if expr a : '\(a\)' >/dev/null 2>&1 &&
5382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5383 as_expr=expr
5384else
5385 as_expr=false
5386fi
5387
5388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5389 as_basename=basename
5390else
5391 as_basename=false
5392fi
5393
5394
5395# Name of the executable.
5396as_me=`$as_basename -- "$0" ||
5397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5398 X"$0" : 'X\(//\)$' \| \
5399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5400$as_echo X/"$0" |
5401 sed '/^.*\/\([^/][^/]*\)\/*$/{
5402 s//\1/
5403 q
5404 }
5405 /^X\/\(\/\/\)$/{
5406 s//\1/
5407 q
5408 }
5409 /^X\/\(\/\).*/{
5410 s//\1/
5411 q
5412 }
5413 s/.*/./; q'`
5414
5415# CDPATH.
5416$as_unset CDPATH
5417
5418
5419
5420 as_lineno_1=$LINENO
5421 as_lineno_2=$LINENO
5422 test "x$as_lineno_1" != "x$as_lineno_2" &&
5423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5424
5425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5426 # uniformly replaced by the line number. The first 'sed' inserts a
5427 # line-number line after each line using $LINENO; the second 'sed'
5428 # does the real work. The second script uses 'N' to pair each
5429 # line-number line with the line containing $LINENO, and appends
5430 # trailing '-' during substitution so that $LINENO is not a special
5431 # case at line end.
5432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5433 # scripts with optimization help from Paolo Bonzini. Blame Lee
5434 # E. McMahon (1931-1989) for sed's syntax. :-)
5435 sed -n '
5436 p
5437 /[$]LINENO/=
5438 ' <$as_myself |
5439 sed '
5440 s/[$]LINENO.*/&-/
5441 t lineno
5442 b
5443 :lineno
5444 N
5445 :loop
5446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5447 t loop
5448 s/-\n.*//
5449 ' >$as_me.lineno &&
5450 chmod +x "$as_me.lineno" ||
5451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5452 { (exit 1); exit 1; }; }
5453
5454 # Don't try to exec as it changes $[0], causing all sort of problems
5455 # (the dirname of $[0] is not the place where we might find the
5456 # original and so on. Autoconf is especially sensitive to this).
5457 . "./$as_me.lineno"
5458 # Exit status is that of the last command.
5459 exit
5460}
5461
5462
5463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5464 as_dirname=dirname
5465else
5466 as_dirname=false
5467fi
5468
5469ECHO_C= ECHO_N= ECHO_T=
5470case `echo -n x` in
5471-n*)
5472 case `echo 'x\c'` in
5473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5474 *) ECHO_C='\c';;
5475 esac;;
5476*)
5477 ECHO_N='-n';;
5478esac
5479if expr a : '\(a\)' >/dev/null 2>&1 &&
5480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5481 as_expr=expr
5482else
5483 as_expr=false
5484fi
5485
5486rm -f conf$$ conf$$.exe conf$$.file
5487if test -d conf$$.dir; then
5488 rm -f conf$$.dir/conf$$.file
5489else
5490 rm -f conf$$.dir
5491 mkdir conf$$.dir 2>/dev/null
5492fi
5493if (echo >conf$$.file) 2>/dev/null; then
5494 if ln -s conf$$.file conf$$ 2>/dev/null; then
5495 as_ln_s='ln -s'
5496 # ... but there are two gotchas:
5497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5499 # In both cases, we have to default to `cp -p'.
5500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5501 as_ln_s='cp -p'
5502 elif ln conf$$.file conf$$ 2>/dev/null; then
5503 as_ln_s=ln
5504 else
5505 as_ln_s='cp -p'
5506 fi
5507else
5508 as_ln_s='cp -p'
5509fi
5510rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5511rmdir conf$$.dir 2>/dev/null
5512
5513if mkdir -p . 2>/dev/null; then
5514 as_mkdir_p=:
5515else
5516 test -d ./-p && rmdir ./-p
5517 as_mkdir_p=false
5518fi
5519
5520if test -x / >/dev/null 2>&1; then
5521 as_test_x='test -x'
5522else
5523 if ls -dL / >/dev/null 2>&1; then
5524 as_ls_L_option=L
5525 else
5526 as_ls_L_option=
5527 fi
5528 as_test_x='
5529 eval sh -c '\''
5530 if test -d "$1"; then
5531 test -d "$1/.";
5532 else
5533 case $1 in
5534 -*)set "./$1";;
5535 esac;
5536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5537 ???[sx]*):;;*)false;;esac;fi
5538 '\'' sh
5539 '
5540fi
5541as_executable_p=$as_test_x
5542
5543# Sed expression to map a string onto a valid CPP name.
5544as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5545
5546# Sed expression to map a string onto a valid variable name.
5547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5548
5549
5550exec 6>&1
5551
5552# Save the log message, to keep $[0] and so on meaningful, and to
5553# report actual input values of CONFIG_FILES etc. instead of their
5554# values after options handling.
5555ac_log="
5556This file was extended by Maze Of Life $as_me 2.0, which was
5557generated by GNU Autoconf 2.63. Invocation command line was
5558
5559 CONFIG_FILES = $CONFIG_FILES
5560 CONFIG_HEADERS = $CONFIG_HEADERS
5561 CONFIG_LINKS = $CONFIG_LINKS
5562 CONFIG_COMMANDS = $CONFIG_COMMANDS
5563 $ $0 $@
5564
5565on `(hostname || uname -n) 2>/dev/null | sed 1q`
5566"
5567
5568_ACEOF
5569
5570case $ac_config_files in *"
5571"*) set x $ac_config_files; shift; ac_config_files=$*;;
5572esac
5573
5574case $ac_config_headers in *"
5575"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5576esac
5577
5578
5579cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5580# Files that config.status was made for.
5581config_files="$ac_config_files"
5582config_headers="$ac_config_headers"
5583config_commands="$ac_config_commands"
5584
5585_ACEOF
5586
5587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5588ac_cs_usage="\
5589\`$as_me' instantiates files from templates according to the
5590current configuration.
5591
5592Usage: $0 [OPTION]... [FILE]...
5593
5594 -h, --help print this help, then exit
5595 -V, --version print version number and configuration settings, then exit
5596 -q, --quiet, --silent
5597 do not print progress messages
5598 -d, --debug don't remove temporary files
5599 --recheck update $as_me by reconfiguring in the same conditions
5600 --file=FILE[:TEMPLATE]
5601 instantiate the configuration file FILE
5602 --header=FILE[:TEMPLATE]
5603 instantiate the configuration header FILE
5604
5605Configuration files:
5606$config_files
5607
5608Configuration headers:
5609$config_headers
5610
5611Configuration commands:
5612$config_commands
5613
5614Report bugs to <bug-autoconf@gnu.org>."
5615
5616_ACEOF
5617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618ac_cs_version="\\
5619Maze Of Life config.status 2.0
5620configured by $0, generated by GNU Autoconf 2.63,
5621 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5622
5623Copyright (C) 2008 Free Software Foundation, Inc.
5624This config.status script is free software; the Free Software Foundation
5625gives unlimited permission to copy, distribute and modify it."
5626
5627ac_pwd='$ac_pwd'
5628srcdir='$srcdir'
5629INSTALL='$INSTALL'
5630MKDIR_P='$MKDIR_P'
5631AWK='$AWK'
5632test -n "\$AWK" || AWK=awk
5633_ACEOF
5634
5635cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5636# The default lists apply if the user does not specify any file.
5637ac_need_defaults=:
5638while test $# != 0
5639do
5640 case $1 in
5641 --*=*)
5642 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5643 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5644 ac_shift=:
5645 ;;
5646 *)
5647 ac_option=$1
5648 ac_optarg=$2
5649 ac_shift=shift
5650 ;;
5651 esac
5652
5653 case $ac_option in
5654 # Handling of the options.
5655 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5656 ac_cs_recheck=: ;;
5657 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5658 $as_echo "$ac_cs_version"; exit ;;
5659 --debug | --debu | --deb | --de | --d | -d )
5660 debug=: ;;
5661 --file | --fil | --fi | --f )
5662 $ac_shift
5663 case $ac_optarg in
5664 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5665 esac
5666 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5667 ac_need_defaults=false;;
5668 --header | --heade | --head | --hea )
5669 $ac_shift
5670 case $ac_optarg in
5671 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5672 esac
5673 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5674 ac_need_defaults=false;;
5675 --he | --h)
5676 # Conflict between --help and --header
5677 { $as_echo "$as_me: error: ambiguous option: $1
5678Try \`$0 --help' for more information." >&2
5679 { (exit 1); exit 1; }; };;
5680 --help | --hel | -h )
5681 $as_echo "$ac_cs_usage"; exit ;;
5682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5683 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5684 ac_cs_silent=: ;;
5685
5686 # This is an error.
5687 -*) { $as_echo "$as_me: error: unrecognized option: $1
5688Try \`$0 --help' for more information." >&2
5689 { (exit 1); exit 1; }; } ;;
5690
5691 *) ac_config_targets="$ac_config_targets $1"
5692 ac_need_defaults=false ;;
5693
5694 esac
5695 shift
5696done
5697
5698ac_configure_extra_args=
5699
5700if $ac_cs_silent; then
5701 exec 6>/dev/null
5702 ac_configure_extra_args="$ac_configure_extra_args --silent"
5703fi
5704
5705_ACEOF
5706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5707if \$ac_cs_recheck; then
5708 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5709 shift
5710 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5711 CONFIG_SHELL='$SHELL'
5712 export CONFIG_SHELL
5713 exec "\$@"
5714fi
5715
5716_ACEOF
5717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5718exec 5>>config.log
5719{
5720 echo
5721 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5722@%:@@%:@ Running $as_me. @%:@@%:@
5723_ASBOX
5724 $as_echo "$ac_log"
5725} >&5
5726
5727_ACEOF
5728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5729#
5730# INIT-COMMANDS
5731#
5732AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5733
5734_ACEOF
5735
5736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5737
5738# Handling of arguments.
5739for ac_config_target in $ac_config_targets
5740do
5741 case $ac_config_target in
5742 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5743 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5744 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5745 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5746
5747 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5748$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5749 { (exit 1); exit 1; }; };;
5750 esac
5751done
5752
5753
5754# If the user did not use the arguments to specify the items to instantiate,
5755# then the envvar interface is used. Set only those that are not.
5756# We use the long form for the default assignment because of an extremely
5757# bizarre bug on SunOS 4.1.3.
5758if $ac_need_defaults; then
5759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5762fi
5763
5764# Have a temporary directory for convenience. Make it in the build tree
5765# simply because there is no reason against having it here, and in addition,
5766# creating and moving files from /tmp can sometimes cause problems.
5767# Hook for its removal unless debugging.
5768# Note that there is a small window in which the directory will not be cleaned:
5769# after its creation but before its name has been assigned to `$tmp'.
5770$debug ||
5771{
5772 tmp=
5773 trap 'exit_status=$?
5774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5775' 0
5776 trap '{ (exit 1); exit 1; }' 1 2 13 15
5777}
5778# Create a (secure) tmp directory for tmp files.
5779
5780{
5781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5782 test -n "$tmp" && test -d "$tmp"
5783} ||
5784{
5785 tmp=./conf$$-$RANDOM
5786 (umask 077 && mkdir "$tmp")
5787} ||
5788{
5789 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5790 { (exit 1); exit 1; }
5791}
5792
5793# Set up the scripts for CONFIG_FILES section.
5794# No need to generate them if there are no CONFIG_FILES.
5795# This happens for instance with `./config.status config.h'.
5796if test -n "$CONFIG_FILES"; then
5797
5798
5799ac_cr=' '
5800ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5801if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5802 ac_cs_awk_cr='\\r'
5803else
5804 ac_cs_awk_cr=$ac_cr
5805fi
5806
5807echo 'BEGIN {' >"$tmp/subs1.awk" &&
5808_ACEOF
5809
5810
5811{
5812 echo "cat >conf$$subs.awk <<_ACEOF" &&
5813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5814 echo "_ACEOF"
5815} >conf$$subs.sh ||
5816 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5817$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5818 { (exit 1); exit 1; }; }
5819ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5820ac_delim='%!_!# '
5821for ac_last_try in false false false false false :; do
5822 . ./conf$$subs.sh ||
5823 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5824$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5825 { (exit 1); exit 1; }; }
5826
5827 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5828 if test $ac_delim_n = $ac_delim_num; then
5829 break
5830 elif $ac_last_try; then
5831 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5832$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5833 { (exit 1); exit 1; }; }
5834 else
5835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5836 fi
5837done
5838rm -f conf$$subs.sh
5839
5840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5841cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5842_ACEOF
5843sed -n '
5844h
5845s/^/S["/; s/!.*/"]=/
5846p
5847g
5848s/^[^!]*!//
5849:repl
5850t repl
5851s/'"$ac_delim"'$//
5852t delim
5853:nl
5854h
5855s/\(.\{148\}\).*/\1/
5856t more1
5857s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5858p
5859n
5860b repl
5861:more1
5862s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5863p
5864g
5865s/.\{148\}//
5866t nl
5867:delim
5868h
5869s/\(.\{148\}\).*/\1/
5870t more2
5871s/["\\]/\\&/g; s/^/"/; s/$/"/
5872p
5873b
5874:more2
5875s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5876p
5877g
5878s/.\{148\}//
5879t delim
5880' <conf$$subs.awk | sed '
5881/^[^""]/{
5882 N
5883 s/\n//
5884}
5885' >>$CONFIG_STATUS || ac_write_fail=1
5886rm -f conf$$subs.awk
5887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888_ACAWK
5889cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5890 for (key in S) S_is_set[key] = 1
5891 FS = ""
5892
5893}
5894{
5895 line = $ 0
5896 nfields = split(line, field, "@")
5897 substed = 0
5898 len = length(field[1])
5899 for (i = 2; i < nfields; i++) {
5900 key = field[i]
5901 keylen = length(key)
5902 if (S_is_set[key]) {
5903 value = S[key]
5904 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5905 len += length(value) + length(field[++i])
5906 substed = 1
5907 } else
5908 len += 1 + keylen
5909 }
5910
5911 print line
5912}
5913
5914_ACAWK
5915_ACEOF
5916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5917if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5918 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5919else
5920 cat
5921fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5922 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5923$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5924 { (exit 1); exit 1; }; }
5925_ACEOF
5926
5927# VPATH may cause trouble with some makes, so we remove $(srcdir),
5928# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5929# trailing colons and then remove the whole line if VPATH becomes empty
5930# (actually we leave an empty line to preserve line numbers).
5931if test "x$srcdir" = x.; then
5932 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5933s/:*\$(srcdir):*/:/
5934s/:*\${srcdir}:*/:/
5935s/:*@srcdir@:*/:/
5936s/^\([^=]*=[ ]*\):*/\1/
5937s/:*$//
5938s/^[^=]*=[ ]*$//
5939}'
5940fi
5941
5942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943fi # test -n "$CONFIG_FILES"
5944
5945# Set up the scripts for CONFIG_HEADERS section.
5946# No need to generate them if there are no CONFIG_HEADERS.
5947# This happens for instance with `./config.status Makefile'.
5948if test -n "$CONFIG_HEADERS"; then
5949cat >"$tmp/defines.awk" <<\_ACAWK ||
5950BEGIN {
5951_ACEOF
5952
5953# Transform confdefs.h into an awk script `defines.awk', embedded as
5954# here-document in config.status, that substitutes the proper values into
5955# config.h.in to produce config.h.
5956
5957# Create a delimiter string that does not exist in confdefs.h, to ease
5958# handling of long lines.
5959ac_delim='%!_!# '
5960for ac_last_try in false false :; do
5961 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5962 if test -z "$ac_t"; then
5963 break
5964 elif $ac_last_try; then
5965 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5966$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5967 { (exit 1); exit 1; }; }
5968 else
5969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5970 fi
5971done
5972
5973# For the awk script, D is an array of macro values keyed by name,
5974# likewise P contains macro parameters if any. Preserve backslash
5975# newline sequences.
5976
5977ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5978sed -n '
5979s/.\{148\}/&'"$ac_delim"'/g
5980t rset
5981:rset
5982s/^[ ]*#[ ]*define[ ][ ]*/ /
5983t def
5984d
5985:def
5986s/\\$//
5987t bsnl
5988s/["\\]/\\&/g
5989s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5990D["\1"]=" \3"/p
5991s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5992d
5993:bsnl
5994s/["\\]/\\&/g
5995s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5996D["\1"]=" \3\\\\\\n"\\/p
5997t cont
5998s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5999t cont
6000d
6001:cont
6002n
6003s/.\{148\}/&'"$ac_delim"'/g
6004t clear
6005:clear
6006s/\\$//
6007t bsnlc
6008s/["\\]/\\&/g; s/^/"/; s/$/"/p
6009d
6010:bsnlc
6011s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6012b cont
6013' <confdefs.h | sed '
6014s/'"$ac_delim"'/"\\\
6015"/g' >>$CONFIG_STATUS || ac_write_fail=1
6016
6017cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6018 for (key in D) D_is_set[key] = 1
6019 FS = ""
6020}
6021/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6022 line = \$ 0
6023 split(line, arg, " ")
6024 if (arg[1] == "#") {
6025 defundef = arg[2]
6026 mac1 = arg[3]
6027 } else {
6028 defundef = substr(arg[1], 2)
6029 mac1 = arg[2]
6030 }
6031 split(mac1, mac2, "(") #)
6032 macro = mac2[1]
6033 prefix = substr(line, 1, index(line, defundef) - 1)
6034 if (D_is_set[macro]) {
6035 # Preserve the white space surrounding the "#".
6036 print prefix "define", macro P[macro] D[macro]
6037 next
6038 } else {
6039 # Replace #undef with comments. This is necessary, for example,
6040 # in the case of _POSIX_SOURCE, which is predefined and required
6041 # on some systems where configure will not decide to define it.
6042 if (defundef == "undef") {
6043 print "/*", prefix defundef, macro, "*/"
6044 next
6045 }
6046 }
6047}
6048{ print }
6049_ACAWK
6050_ACEOF
6051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6052 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6053$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6054 { (exit 1); exit 1; }; }
6055fi # test -n "$CONFIG_HEADERS"
6056
6057
6058eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6059shift
6060for ac_tag
6061do
6062 case $ac_tag in
6063 :[FHLC]) ac_mode=$ac_tag; continue;;
6064 esac
6065 case $ac_mode$ac_tag in
6066 :[FHL]*:*);;
6067 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6068$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6069 { (exit 1); exit 1; }; };;
6070 :[FH]-) ac_tag=-:-;;
6071 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6072 esac
6073 ac_save_IFS=$IFS
6074 IFS=:
6075 set x $ac_tag
6076 IFS=$ac_save_IFS
6077 shift
6078 ac_file=$1
6079 shift
6080
6081 case $ac_mode in
6082 :L) ac_source=$1;;
6083 :[FH])
6084 ac_file_inputs=
6085 for ac_f
6086 do
6087 case $ac_f in
6088 -) ac_f="$tmp/stdin";;
6089 *) # Look for the file first in the build tree, then in the source tree
6090 # (if the path is not absolute). The absolute path cannot be DOS-style,
6091 # because $ac_f cannot contain `:'.
6092 test -f "$ac_f" ||
6093 case $ac_f in
6094 [\\/$]*) false;;
6095 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6096 esac ||
6097 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6098$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6099 { (exit 1); exit 1; }; };;
6100 esac
6101 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6102 ac_file_inputs="$ac_file_inputs '$ac_f'"
6103 done
6104
6105 # Let's still pretend it is `configure' which instantiates (i.e., don't
6106 # use $as_me), people would be surprised to read:
6107 # /* config.h. Generated by config.status. */
6108 configure_input='Generated from '`
6109 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6110 `' by configure.'
6111 if test x"$ac_file" != x-; then
6112 configure_input="$ac_file. $configure_input"
6113 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6114$as_echo "$as_me: creating $ac_file" >&6;}
6115 fi
6116 # Neutralize special characters interpreted by sed in replacement strings.
6117 case $configure_input in #(
6118 *\&* | *\|* | *\\* )
6119 ac_sed_conf_input=`$as_echo "$configure_input" |
6120 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6121 *) ac_sed_conf_input=$configure_input;;
6122 esac
6123
6124 case $ac_tag in
6125 *:-:* | *:-) cat >"$tmp/stdin" \
6126 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6127$as_echo "$as_me: error: could not create $ac_file" >&2;}
6128 { (exit 1); exit 1; }; } ;;
6129 esac
6130 ;;
6131 esac
6132
6133 ac_dir=`$as_dirname -- "$ac_file" ||
6134$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6135 X"$ac_file" : 'X\(//\)[^/]' \| \
6136 X"$ac_file" : 'X\(//\)$' \| \
6137 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6138$as_echo X"$ac_file" |
6139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6140 s//\1/
6141 q
6142 }
6143 /^X\(\/\/\)[^/].*/{
6144 s//\1/
6145 q
6146 }
6147 /^X\(\/\/\)$/{
6148 s//\1/
6149 q
6150 }
6151 /^X\(\/\).*/{
6152 s//\1/
6153 q
6154 }
6155 s/.*/./; q'`
6156 { as_dir="$ac_dir"
6157 case $as_dir in #(
6158 -*) as_dir=./$as_dir;;
6159 esac
6160 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6161 as_dirs=
6162 while :; do
6163 case $as_dir in #(
6164 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6165 *) as_qdir=$as_dir;;
6166 esac
6167 as_dirs="'$as_qdir' $as_dirs"
6168 as_dir=`$as_dirname -- "$as_dir" ||
6169$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6170 X"$as_dir" : 'X\(//\)[^/]' \| \
6171 X"$as_dir" : 'X\(//\)$' \| \
6172 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6173$as_echo X"$as_dir" |
6174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6175 s//\1/
6176 q
6177 }
6178 /^X\(\/\/\)[^/].*/{
6179 s//\1/
6180 q
6181 }
6182 /^X\(\/\/\)$/{
6183 s//\1/
6184 q
6185 }
6186 /^X\(\/\).*/{
6187 s//\1/
6188 q
6189 }
6190 s/.*/./; q'`
6191 test -d "$as_dir" && break
6192 done
6193 test -z "$as_dirs" || eval "mkdir $as_dirs"
6194 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6195$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6196 { (exit 1); exit 1; }; }; }
6197 ac_builddir=.
6198
6199case "$ac_dir" in
6200.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6201*)
6202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6203 # A ".." for each directory in $ac_dir_suffix.
6204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6205 case $ac_top_builddir_sub in
6206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6208 esac ;;
6209esac
6210ac_abs_top_builddir=$ac_pwd
6211ac_abs_builddir=$ac_pwd$ac_dir_suffix
6212# for backward compatibility:
6213ac_top_builddir=$ac_top_build_prefix
6214
6215case $srcdir in
6216 .) # We are building in place.
6217 ac_srcdir=.
6218 ac_top_srcdir=$ac_top_builddir_sub
6219 ac_abs_top_srcdir=$ac_pwd ;;
6220 [\\/]* | ?:[\\/]* ) # Absolute name.
6221 ac_srcdir=$srcdir$ac_dir_suffix;
6222 ac_top_srcdir=$srcdir
6223 ac_abs_top_srcdir=$srcdir ;;
6224 *) # Relative name.
6225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6226 ac_top_srcdir=$ac_top_build_prefix$srcdir
6227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6228esac
6229ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6230
6231
6232 case $ac_mode in
6233 :F)
6234 #
6235 # CONFIG_FILE
6236 #
6237
6238 case $INSTALL in
6239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6241 esac
6242 ac_MKDIR_P=$MKDIR_P
6243 case $MKDIR_P in
6244 [\\/$]* | ?:[\\/]* ) ;;
6245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6246 esac
6247_ACEOF
6248
6249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6250# If the template does not know about datarootdir, expand it.
6251# FIXME: This hack should be removed a few years after 2.60.
6252ac_datarootdir_hack=; ac_datarootdir_seen=
6253
6254ac_sed_dataroot='
6255/datarootdir/ {
6256 p
6257 q
6258}
6259/@datadir@/p
6260/@docdir@/p
6261/@infodir@/p
6262/@localedir@/p
6263/@mandir@/p
6264'
6265case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6266*datarootdir*) ac_datarootdir_seen=yes;;
6267*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6268 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6269$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6270_ACEOF
6271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6272 ac_datarootdir_hack='
6273 s&@datadir@&$datadir&g
6274 s&@docdir@&$docdir&g
6275 s&@infodir@&$infodir&g
6276 s&@localedir@&$localedir&g
6277 s&@mandir@&$mandir&g
6278 s&\\\${datarootdir}&$datarootdir&g' ;;
6279esac
6280_ACEOF
6281
6282# Neutralize VPATH when `$srcdir' = `.'.
6283# Shell code in configure.ac might set extrasub.
6284# FIXME: do we really want to maintain this feature?
6285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6286ac_sed_extra="$ac_vpsub
6287$extrasub
6288_ACEOF
6289cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6290:t
6291/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6292s|@configure_input@|$ac_sed_conf_input|;t t
6293s&@top_builddir@&$ac_top_builddir_sub&;t t
6294s&@top_build_prefix@&$ac_top_build_prefix&;t t
6295s&@srcdir@&$ac_srcdir&;t t
6296s&@abs_srcdir@&$ac_abs_srcdir&;t t
6297s&@top_srcdir@&$ac_top_srcdir&;t t
6298s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6299s&@builddir@&$ac_builddir&;t t
6300s&@abs_builddir@&$ac_abs_builddir&;t t
6301s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6302s&@INSTALL@&$ac_INSTALL&;t t
6303s&@MKDIR_P@&$ac_MKDIR_P&;t t
6304$ac_datarootdir_hack
6305"
6306eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6307 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6308$as_echo "$as_me: error: could not create $ac_file" >&2;}
6309 { (exit 1); exit 1; }; }
6310
6311test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6312 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6313 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6314 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6315which seems to be undefined. Please make sure it is defined." >&5
6316$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6317which seems to be undefined. Please make sure it is defined." >&2;}
6318
6319 rm -f "$tmp/stdin"
6320 case $ac_file in
6321 -) cat "$tmp/out" && rm -f "$tmp/out";;
6322 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6323 esac \
6324 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6325$as_echo "$as_me: error: could not create $ac_file" >&2;}
6326 { (exit 1); exit 1; }; }
6327 ;;
6328 :H)
6329 #
6330 # CONFIG_HEADER
6331 #
6332 if test x"$ac_file" != x-; then
6333 {
6334 $as_echo "/* $configure_input */" \
6335 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6336 } >"$tmp/config.h" \
6337 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6338$as_echo "$as_me: error: could not create $ac_file" >&2;}
6339 { (exit 1); exit 1; }; }
6340 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6341 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6342$as_echo "$as_me: $ac_file is unchanged" >&6;}
6343 else
6344 rm -f "$ac_file"
6345 mv "$tmp/config.h" "$ac_file" \
6346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6347$as_echo "$as_me: error: could not create $ac_file" >&2;}
6348 { (exit 1); exit 1; }; }
6349 fi
6350 else
6351 $as_echo "/* $configure_input */" \
6352 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6353 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6354$as_echo "$as_me: error: could not create -" >&2;}
6355 { (exit 1); exit 1; }; }
6356 fi
6357# Compute "$ac_file"'s index in $config_headers.
6358_am_arg="$ac_file"
6359_am_stamp_count=1
6360for _am_header in $config_headers :; do
6361 case $_am_header in
6362 $_am_arg | $_am_arg:* )
6363 break ;;
6364 * )
6365 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6366 esac
6367done
6368echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6369$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6370 X"$_am_arg" : 'X\(//\)[^/]' \| \
6371 X"$_am_arg" : 'X\(//\)$' \| \
6372 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6373$as_echo X"$_am_arg" |
6374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6375 s//\1/
6376 q
6377 }
6378 /^X\(\/\/\)[^/].*/{
6379 s//\1/
6380 q
6381 }
6382 /^X\(\/\/\)$/{
6383 s//\1/
6384 q
6385 }
6386 /^X\(\/\).*/{
6387 s//\1/
6388 q
6389 }
6390 s/.*/./; q'`/stamp-h$_am_stamp_count
6391 ;;
6392
6393 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6394$as_echo "$as_me: executing $ac_file commands" >&6;}
6395 ;;
6396 esac
6397
6398
6399 case $ac_file$ac_mode in
6400 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6401 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6402 # are listed without --file. Let's play safe and only enable the eval
6403 # if we detect the quoting.
6404 case $CONFIG_FILES in
6405 *\'*) eval set x "$CONFIG_FILES" ;;
6406 *) set x $CONFIG_FILES ;;
6407 esac
6408 shift
6409 for mf
6410 do
6411 # Strip MF so we end up with the name of the file.
6412 mf=`echo "$mf" | sed -e 's/:.*$//'`
6413 # Check whether this is an Automake generated Makefile or not.
6414 # We used to match only the files named `Makefile.in', but
6415 # some people rename them; so instead we look at the file content.
6416 # Grep'ing the first line is not enough: some people post-process
6417 # each Makefile.in and add a new line on top of each file to say so.
6418 # Grep'ing the whole file is not good either: AIX grep has a line
6419 # limit of 2048, but all sed's we know have understand at least 4000.
6420 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6421 dirpart=`$as_dirname -- "$mf" ||
6422$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6423 X"$mf" : 'X\(//\)[^/]' \| \
6424 X"$mf" : 'X\(//\)$' \| \
6425 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6426$as_echo X"$mf" |
6427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6428 s//\1/
6429 q
6430 }
6431 /^X\(\/\/\)[^/].*/{
6432 s//\1/
6433 q
6434 }
6435 /^X\(\/\/\)$/{
6436 s//\1/
6437 q
6438 }
6439 /^X\(\/\).*/{
6440 s//\1/
6441 q
6442 }
6443 s/.*/./; q'`
6444 else
6445 continue
6446 fi
6447 # Extract the definition of DEPDIR, am__include, and am__quote
6448 # from the Makefile without running `make'.
6449 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6450 test -z "$DEPDIR" && continue
6451 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6452 test -z "am__include" && continue
6453 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6454 # When using ansi2knr, U may be empty or an underscore; expand it
6455 U=`sed -n 's/^U = //p' < "$mf"`
6456 # Find all dependency output files, they are included files with
6457 # $(DEPDIR) in their names. We invoke sed twice because it is the
6458 # simplest approach to changing $(DEPDIR) to its actual value in the
6459 # expansion.
6460 for file in `sed -n "
6461 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6462 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6463 # Make sure the directory exists.
6464 test -f "$dirpart/$file" && continue
6465 fdir=`$as_dirname -- "$file" ||
6466$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6467 X"$file" : 'X\(//\)[^/]' \| \
6468 X"$file" : 'X\(//\)$' \| \
6469 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6470$as_echo X"$file" |
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6472 s//\1/
6473 q
6474 }
6475 /^X\(\/\/\)[^/].*/{
6476 s//\1/
6477 q
6478 }
6479 /^X\(\/\/\)$/{
6480 s//\1/
6481 q
6482 }
6483 /^X\(\/\).*/{
6484 s//\1/
6485 q
6486 }
6487 s/.*/./; q'`
6488 { as_dir=$dirpart/$fdir
6489 case $as_dir in #(
6490 -*) as_dir=./$as_dir;;
6491 esac
6492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6493 as_dirs=
6494 while :; do
6495 case $as_dir in #(
6496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6497 *) as_qdir=$as_dir;;
6498 esac
6499 as_dirs="'$as_qdir' $as_dirs"
6500 as_dir=`$as_dirname -- "$as_dir" ||
6501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6502 X"$as_dir" : 'X\(//\)[^/]' \| \
6503 X"$as_dir" : 'X\(//\)$' \| \
6504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6505$as_echo X"$as_dir" |
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6507 s//\1/
6508 q
6509 }
6510 /^X\(\/\/\)[^/].*/{
6511 s//\1/
6512 q
6513 }
6514 /^X\(\/\/\)$/{
6515 s//\1/
6516 q
6517 }
6518 /^X\(\/\).*/{
6519 s//\1/
6520 q
6521 }
6522 s/.*/./; q'`
6523 test -d "$as_dir" && break
6524 done
6525 test -z "$as_dirs" || eval "mkdir $as_dirs"
6526 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6527$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6528 { (exit 1); exit 1; }; }; }
6529 # echo "creating $dirpart/$file"
6530 echo '# dummy' > "$dirpart/$file"
6531 done
6532 done
6533}
6534 ;;
6535
6536 esac
6537done # for ac_tag
6538
6539
6540{ (exit 0); exit 0; }
6541_ACEOF
6542chmod +x $CONFIG_STATUS
6543ac_clean_files=$ac_clean_files_save
6544
6545test $ac_write_fail = 0 ||
6546 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6547$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6548 { (exit 1); exit 1; }; }
6549
6550
6551# configure is writing to config.log, and then calls config.status.
6552# config.status does its own redirection, appending to config.log.
6553# Unfortunately, on DOS this fails, as config.log is still kept open
6554# by configure, so config.status won't be able to write to it; its
6555# output is simply discarded. So we exec the FD to /dev/null,
6556# effectively closing config.log, so it can be properly (re)opened and
6557# appended to by config.status. When coming back to configure, we
6558# need to make the FD available again.
6559if test "$no_create" != yes; then
6560 ac_cs_success=:
6561 ac_config_status_args=
6562 test "$silent" = yes &&
6563 ac_config_status_args="$ac_config_status_args --quiet"
6564 exec 5>/dev/null
6565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6566 exec 5>>config.log
6567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6568 # would make configure fail if this is the last instruction.
6569 $ac_cs_success || { (exit 1); exit 1; }
6570fi
6571if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6572 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6573$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6574fi
6575
diff --git a/autom4te.cache/requests b/autom4te.cache/requests new file mode 100644 index 0000000..8dcaded --- /dev/null +++ b/autom4te.cache/requests
@@ -0,0 +1,137 @@
1# This file was generated by Autom4te Tue Feb 10 11:42:58 UTC 2009.
2# It contains the lists of macros which have been traced.
3# It can be safely removed.
4
5@request = (
6 bless( [
7 '0',
8 1,
9 [
10 '/usr/share/autoconf'
11 ],
12 [
13 '/usr/share/autoconf/autoconf/autoconf.m4f',
14 '/usr/share/aclocal/pkg.m4',
15 '/usr/share/aclocal-1.10/amversion.m4',
16 '/usr/share/aclocal-1.10/auxdir.m4',
17 '/usr/share/aclocal-1.10/cond.m4',
18 '/usr/share/aclocal-1.10/depend.m4',
19 '/usr/share/aclocal-1.10/depout.m4',
20 '/usr/share/aclocal-1.10/init.m4',
21 '/usr/share/aclocal-1.10/install-sh.m4',
22 '/usr/share/aclocal-1.10/lead-dot.m4',
23 '/usr/share/aclocal-1.10/make.m4',
24 '/usr/share/aclocal-1.10/missing.m4',
25 '/usr/share/aclocal-1.10/mkdirp.m4',
26 '/usr/share/aclocal-1.10/options.m4',
27 '/usr/share/aclocal-1.10/runlog.m4',
28 '/usr/share/aclocal-1.10/sanity.m4',
29 '/usr/share/aclocal-1.10/strip.m4',
30 '/usr/share/aclocal-1.10/substnot.m4',
31 '/usr/share/aclocal-1.10/tar.m4',
32 'configure.ac'
33 ],
34 {
35 'm4_pattern_forbid' => 1,
36 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
37 '_AM_SET_OPTION' => 1,
38 'AC_DEFUN' => 1,
39 'AM_PROG_MKDIR_P' => 1,
40 'AM_INIT_AUTOMAKE' => 1,
41 'AM_AUTOMAKE_VERSION' => 1,
42 'AM_MISSING_HAS_RUN' => 1,
43 'AM_MISSING_PROG' => 1,
44 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
45 'AC_DEFUN_ONCE' => 1,
46 'AM_PROG_INSTALL_STRIP' => 1,
47 '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
48 '_m4_warn' => 1,
49 'AM_SANITY_CHECK' => 1,
50 'PKG_CHECK_EXISTS' => 1,
51 'include' => 1,
52 '_AM_PROG_TAR' => 1,
53 'AM_AUX_DIR_EXPAND' => 1,
54 'AM_DEP_TRACK' => 1,
55 '_AM_SET_OPTIONS' => 1,
56 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
57 'AM_RUN_LOG' => 1,
58 '_AM_IF_OPTION' => 1,
59 '_AM_SUBST_NOTMAKE' => 1,
60 'm4_pattern_allow' => 1,
61 '_AM_AUTOCONF_VERSION' => 1,
62 '_AM_MANGLE_OPTION' => 1,
63 'AM_CONDITIONAL' => 1,
64 'AM_SET_LEADING_DOT' => 1,
65 'AM_SET_DEPDIR' => 1,
66 '_AM_DEPENDENCIES' => 1,
67 'm4_include' => 1,
68 'PKG_PROG_PKG_CONFIG' => 1,
69 'AM_PROG_INSTALL_SH' => 1,
70 'PKG_CHECK_MODULES' => 1,
71 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
72 'AU_DEFUN' => 1,
73 'AM_MAKE_INCLUDE' => 1
74 }
75 ], 'Autom4te::Request' ),
76 bless( [
77 '1',
78 1,
79 [
80 '/usr/share/autoconf'
81 ],
82 [
83 '/usr/share/autoconf/autoconf/autoconf.m4f',
84 'aclocal.m4',
85 'configure.ac'
86 ],
87 {
88 'AM_PROG_F77_C_O' => 1,
89 '_LT_AC_TAGCONFIG' => 1,
90 'AC_INIT' => 1,
91 'm4_pattern_forbid' => 1,
92 'AC_CANONICAL_TARGET' => 1,
93 '_AM_COND_IF' => 1,
94 'AC_CONFIG_LIBOBJ_DIR' => 1,
95 'AC_SUBST' => 1,
96 'AC_CANONICAL_HOST' => 1,
97 'AC_FC_SRCEXT' => 1,
98 'AC_PROG_LIBTOOL' => 1,
99 'AM_INIT_AUTOMAKE' => 1,
100 'AC_CONFIG_SUBDIRS' => 1,
101 'AM_AUTOMAKE_VERSION' => 1,
102 'LT_CONFIG_LTDL_DIR' => 1,
103 'AC_CONFIG_LINKS' => 1,
104 'AC_REQUIRE_AUX_FILE' => 1,
105 'LT_SUPPORTED_TAG' => 1,
106 'm4_sinclude' => 1,
107 'AM_MAINTAINER_MODE' => 1,
108 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
109 '_m4_warn' => 1,
110 'AM_PROG_CXX_C_O' => 1,
111 '_AM_COND_ENDIF' => 1,
112 'AM_ENABLE_MULTILIB' => 1,
113 'AC_CONFIG_FILES' => 1,
114 'LT_INIT' => 1,
115 'include' => 1,
116 'AM_GNU_GETTEXT' => 1,
117 'AC_LIBSOURCE' => 1,
118 'AM_PROG_FC_C_O' => 1,
119 'AC_CANONICAL_BUILD' => 1,
120 'AC_FC_FREEFORM' => 1,
121 'AH_OUTPUT' => 1,
122 'AC_CONFIG_AUX_DIR' => 1,
123 '_AM_SUBST_NOTMAKE' => 1,
124 'AM_PROG_CC_C_O' => 1,
125 'm4_pattern_allow' => 1,
126 'sinclude' => 1,
127 'AM_CONDITIONAL' => 1,
128 'AC_CANONICAL_SYSTEM' => 1,
129 'AC_CONFIG_HEADERS' => 1,
130 'AC_DEFINE_TRACE_LITERAL' => 1,
131 'm4_include' => 1,
132 '_AM_COND_ELSE' => 1,
133 'AC_SUBST_TRACE' => 1
134 }
135 ], 'Autom4te::Request' )
136 );
137
diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 new file mode 100644 index 0000000..25df693 --- /dev/null +++ b/autom4te.cache/traces.0
@@ -0,0 +1,779 @@
1m4trace:/usr/share/aclocal/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
2m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
3AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
4if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
6fi
7if test -n "$PKG_CONFIG"; then
8 _pkg_min_version=m4_default([$1], [0.9.0])
9 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
10 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11 AC_MSG_RESULT([yes])
12 else
13 AC_MSG_RESULT([no])
14 PKG_CONFIG=""
15 fi
16
17fi[]dnl
18])
19m4trace:/usr/share/aclocal/pkg.m4:56: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
20if test -n "$PKG_CONFIG" && \
21 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
22 m4_ifval([$2], [$2], [:])
23m4_ifvaln([$3], [else
24 $3])dnl
25fi])
26m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
27if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28 _pkg_short_errors_supported=yes
29else
30 _pkg_short_errors_supported=no
31fi[]dnl
32])
33m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
34AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
35AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
36
37pkg_failed=no
38AC_MSG_CHECKING([for $1])
39
40_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
41_PKG_CONFIG([$1][_LIBS], [libs], [$2])
42
43m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
44and $1[]_LIBS to avoid the need to call pkg-config.
45See the pkg-config man page for more details.])
46
47if test $pkg_failed = yes; then
48 _PKG_SHORT_ERRORS_SUPPORTED
49 if test $_pkg_short_errors_supported = yes; then
50 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
51 else
52 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
53 fi
54 # Put the nasty error message in config.log where it belongs
55 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
56
57 ifelse([$4], , [AC_MSG_ERROR(dnl
58[Package requirements ($2) were not met:
59
60$$1_PKG_ERRORS
61
62Consider adjusting the PKG_CONFIG_PATH environment variable if you
63installed software in a non-standard prefix.
64
65_PKG_TEXT
66])],
67 [AC_MSG_RESULT([no])
68 $4])
69elif test $pkg_failed = untried; then
70 ifelse([$4], , [AC_MSG_FAILURE(dnl
71[The pkg-config script could not be found or is too old. Make sure it
72is in your PATH or set the PKG_CONFIG environment variable to the full
73path to pkg-config.
74
75_PKG_TEXT
76
77To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
78 [$4])
79else
80 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
81 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
82 AC_MSG_RESULT([yes])
83 ifelse([$3], , :, [$3])
84fi[]dnl
85])
86m4trace:/usr/share/aclocal-1.10/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
87dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
88dnl require some minimum version. Point them to the right macro.
89m4_if([$1], [1.10.2], [],
90 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
91])
92m4trace:/usr/share/aclocal-1.10/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.2])dnl
93m4_ifndef([AC_AUTOCONF_VERSION],
94 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
95_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
96m4trace:/usr/share/aclocal-1.10/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
97AC_PREREQ([2.50])dnl
98# expand $ac_aux_dir to an absolute path
99am_aux_dir=`cd $ac_aux_dir && pwd`
100])
101m4trace:/usr/share/aclocal-1.10/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
102 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
103 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104AC_SUBST([$1_TRUE])dnl
105AC_SUBST([$1_FALSE])dnl
106_AM_SUBST_NOTMAKE([$1_TRUE])dnl
107_AM_SUBST_NOTMAKE([$1_FALSE])dnl
108if $2; then
109 $1_TRUE=
110 $1_FALSE='#'
111else
112 $1_TRUE='#'
113 $1_FALSE=
114fi
115AC_CONFIG_COMMANDS_PRE(
116[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
117 AC_MSG_ERROR([[conditional "$1" was never defined.
118Usually this means the macro was only invoked conditionally.]])
119fi])])
120m4trace:/usr/share/aclocal-1.10/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
121AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
122AC_REQUIRE([AM_MAKE_INCLUDE])dnl
123AC_REQUIRE([AM_DEP_TRACK])dnl
124
125ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
126 [$1], CXX, [depcc="$CXX" am_compiler_list=],
127 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
128 [$1], UPC, [depcc="$UPC" am_compiler_list=],
129 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
130 [depcc="$$1" am_compiler_list=])
131
132AC_CACHE_CHECK([dependency style of $depcc],
133 [am_cv_$1_dependencies_compiler_type],
134[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
135 # We make a subdir and do the tests there. Otherwise we can end up
136 # making bogus files that we don't know about and never remove. For
137 # instance it was reported that on HP-UX the gcc test will end up
138 # making a dummy file named `D' -- because `-MD' means `put the output
139 # in D'.
140 mkdir conftest.dir
141 # Copy depcomp to subdir because otherwise we won't find it if we're
142 # using a relative directory.
143 cp "$am_depcomp" conftest.dir
144 cd conftest.dir
145 # We will build objects and dependencies in a subdirectory because
146 # it helps to detect inapplicable dependency modes. For instance
147 # both Tru64's cc and ICC support -MD to output dependencies as a
148 # side effect of compilation, but ICC will put the dependencies in
149 # the current directory while Tru64 will put them in the object
150 # directory.
151 mkdir sub
152
153 am_cv_$1_dependencies_compiler_type=none
154 if test "$am_compiler_list" = ""; then
155 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
156 fi
157 for depmode in $am_compiler_list; do
158 # Setup a source with many dependencies, because some compilers
159 # like to wrap large dependency lists on column 80 (with \), and
160 # we should not choose a depcomp mode which is confused by this.
161 #
162 # We need to recreate these files for each test, as the compiler may
163 # overwrite some of them when testing with obscure command lines.
164 # This happens at least with the AIX C compiler.
165 : > sub/conftest.c
166 for i in 1 2 3 4 5 6; do
167 echo '#include "conftst'$i'.h"' >> sub/conftest.c
168 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
169 # Solaris 8's {/usr,}/bin/sh.
170 touch sub/conftst$i.h
171 done
172 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
173
174 case $depmode in
175 nosideeffect)
176 # after this tag, mechanisms are not by side-effect, so they'll
177 # only be used when explicitly requested
178 if test "x$enable_dependency_tracking" = xyes; then
179 continue
180 else
181 break
182 fi
183 ;;
184 none) break ;;
185 esac
186 # We check with `-c' and `-o' for the sake of the "dashmstdout"
187 # mode. It turns out that the SunPro C++ compiler does not properly
188 # handle `-M -o', and we need to detect this.
189 if depmode=$depmode \
190 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
191 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
192 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
193 >/dev/null 2>conftest.err &&
194 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
195 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
196 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
197 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
198 # icc doesn't choke on unknown options, it will just issue warnings
199 # or remarks (even with -Werror). So we grep stderr for any message
200 # that says an option was ignored or not supported.
201 # When given -MP, icc 7.0 and 7.1 complain thusly:
202 # icc: Command line warning: ignoring option '-M'; no argument required
203 # The diagnosis changed in icc 8.0:
204 # icc: Command line remark: option '-MP' not supported
205 if (grep 'ignoring option' conftest.err ||
206 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
207 am_cv_$1_dependencies_compiler_type=$depmode
208 break
209 fi
210 fi
211 done
212
213 cd ..
214 rm -rf conftest.dir
215else
216 am_cv_$1_dependencies_compiler_type=none
217fi
218])
219AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
220AM_CONDITIONAL([am__fastdep$1], [
221 test "x$enable_dependency_tracking" != xno \
222 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
223])
224m4trace:/usr/share/aclocal-1.10/depend.m4:139: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
225AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
226])
227m4trace:/usr/share/aclocal-1.10/depend.m4:147: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
228[ --disable-dependency-tracking speeds up one-time build
229 --enable-dependency-tracking do not reject slow dependency extractors])
230if test "x$enable_dependency_tracking" != xno; then
231 am_depcomp="$ac_aux_dir/depcomp"
232 AMDEPBACKSLASH='\'
233fi
234AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
235AC_SUBST([AMDEPBACKSLASH])dnl
236_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
237])
238m4trace:/usr/share/aclocal-1.10/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
239 # Autoconf 2.62 quotes --file arguments for eval, but not when files
240 # are listed without --file. Let's play safe and only enable the eval
241 # if we detect the quoting.
242 case $CONFIG_FILES in
243 *\'*) eval set x "$CONFIG_FILES" ;;
244 *) set x $CONFIG_FILES ;;
245 esac
246 shift
247 for mf
248 do
249 # Strip MF so we end up with the name of the file.
250 mf=`echo "$mf" | sed -e 's/:.*$//'`
251 # Check whether this is an Automake generated Makefile or not.
252 # We used to match only the files named `Makefile.in', but
253 # some people rename them; so instead we look at the file content.
254 # Grep'ing the first line is not enough: some people post-process
255 # each Makefile.in and add a new line on top of each file to say so.
256 # Grep'ing the whole file is not good either: AIX grep has a line
257 # limit of 2048, but all sed's we know have understand at least 4000.
258 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
259 dirpart=`AS_DIRNAME("$mf")`
260 else
261 continue
262 fi
263 # Extract the definition of DEPDIR, am__include, and am__quote
264 # from the Makefile without running `make'.
265 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
266 test -z "$DEPDIR" && continue
267 am__include=`sed -n 's/^am__include = //p' < "$mf"`
268 test -z "am__include" && continue
269 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
270 # When using ansi2knr, U may be empty or an underscore; expand it
271 U=`sed -n 's/^U = //p' < "$mf"`
272 # Find all dependency output files, they are included files with
273 # $(DEPDIR) in their names. We invoke sed twice because it is the
274 # simplest approach to changing $(DEPDIR) to its actual value in the
275 # expansion.
276 for file in `sed -n "
277 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
278 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
279 # Make sure the directory exists.
280 test -f "$dirpart/$file" && continue
281 fdir=`AS_DIRNAME(["$file"])`
282 AS_MKDIR_P([$dirpart/$fdir])
283 # echo "creating $dirpart/$file"
284 echo '# dummy' > "$dirpart/$file"
285 done
286 done
287}
288])
289m4trace:/usr/share/aclocal-1.10/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
290 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
291 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
292])
293m4trace:/usr/share/aclocal-1.10/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
294dnl Autoconf wants to disallow AM_ names. We explicitly allow
295dnl the ones we care about.
296m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
297AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
298AC_REQUIRE([AC_PROG_INSTALL])dnl
299if test "`cd $srcdir && pwd`" != "`pwd`"; then
300 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
301 # is not polluted with repeated "-I."
302 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
303 # test to see if srcdir already configured
304 if test -f $srcdir/config.status; then
305 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
306 fi
307fi
308
309# test whether we have cygpath
310if test -z "$CYGPATH_W"; then
311 if (cygpath --version) >/dev/null 2>/dev/null; then
312 CYGPATH_W='cygpath -w'
313 else
314 CYGPATH_W=echo
315 fi
316fi
317AC_SUBST([CYGPATH_W])
318
319# Define the identity of the package.
320dnl Distinguish between old-style and new-style calls.
321m4_ifval([$2],
322[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
323 AC_SUBST([PACKAGE], [$1])dnl
324 AC_SUBST([VERSION], [$2])],
325[_AM_SET_OPTIONS([$1])dnl
326dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
327m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
328 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
329 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
330 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
331
332_AM_IF_OPTION([no-define],,
333[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
334 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
335
336# Some tools Automake needs.
337AC_REQUIRE([AM_SANITY_CHECK])dnl
338AC_REQUIRE([AC_ARG_PROGRAM])dnl
339AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
340AM_MISSING_PROG(AUTOCONF, autoconf)
341AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
342AM_MISSING_PROG(AUTOHEADER, autoheader)
343AM_MISSING_PROG(MAKEINFO, makeinfo)
344AM_PROG_INSTALL_SH
345AM_PROG_INSTALL_STRIP
346AC_REQUIRE([AM_PROG_MKDIR_P])dnl
347# We need awk for the "check" target. The system "awk" is bad on
348# some platforms.
349AC_REQUIRE([AC_PROG_AWK])dnl
350AC_REQUIRE([AC_PROG_MAKE_SET])dnl
351AC_REQUIRE([AM_SET_LEADING_DOT])dnl
352_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
353 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
354 [_AM_PROG_TAR([v7])])])
355_AM_IF_OPTION([no-dependencies],,
356[AC_PROVIDE_IFELSE([AC_PROG_CC],
357 [_AM_DEPENDENCIES(CC)],
358 [define([AC_PROG_CC],
359 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
360AC_PROVIDE_IFELSE([AC_PROG_CXX],
361 [_AM_DEPENDENCIES(CXX)],
362 [define([AC_PROG_CXX],
363 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
364AC_PROVIDE_IFELSE([AC_PROG_OBJC],
365 [_AM_DEPENDENCIES(OBJC)],
366 [define([AC_PROG_OBJC],
367 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
368])
369])
370m4trace:/usr/share/aclocal-1.10/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
371_am_arg=$1
372_am_stamp_count=1
373for _am_header in $config_headers :; do
374 case $_am_header in
375 $_am_arg | $_am_arg:* )
376 break ;;
377 * )
378 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
379 esac
380done
381echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
382m4trace:/usr/share/aclocal-1.10/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
383install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
384AC_SUBST(install_sh)])
385m4trace:/usr/share/aclocal-1.10/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
386mkdir .tst 2>/dev/null
387if test -d .tst; then
388 am__leading_dot=.
389else
390 am__leading_dot=_
391fi
392rmdir .tst 2>/dev/null
393AC_SUBST([am__leading_dot])])
394m4trace:/usr/share/aclocal-1.10/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
395cat > confinc << 'END'
396am__doit:
397 @echo done
398.PHONY: am__doit
399END
400# If we don't find an include directive, just comment out the code.
401AC_MSG_CHECKING([for style of include used by $am_make])
402am__include="#"
403am__quote=
404_am_result=none
405# First try GNU make style include.
406echo "include confinc" > confmf
407# We grep out `Entering directory' and `Leaving directory'
408# messages which can occur if `w' ends up in MAKEFLAGS.
409# In particular we don't look at `^make:' because GNU make might
410# be invoked under some other name (usually "gmake"), in which
411# case it prints its new name instead of `make'.
412if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
413 am__include=include
414 am__quote=
415 _am_result=GNU
416fi
417# Now try BSD make style include.
418if test "$am__include" = "#"; then
419 echo '.include "confinc"' > confmf
420 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
421 am__include=.include
422 am__quote="\""
423 _am_result=BSD
424 fi
425fi
426AC_SUBST([am__include])
427AC_SUBST([am__quote])
428AC_MSG_RESULT([$_am_result])
429rm -f confinc confmf
430])
431m4trace:/usr/share/aclocal-1.10/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
432$1=${$1-"${am_missing_run}$2"}
433AC_SUBST($1)])
434m4trace:/usr/share/aclocal-1.10/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
435AC_REQUIRE_AUX_FILE([missing])dnl
436test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
437# Use eval to expand $SHELL
438if eval "$MISSING --run true"; then
439 am_missing_run="$MISSING --run "
440else
441 am_missing_run=
442 AC_MSG_WARN([`missing' script is too old or missing])
443fi
444])
445m4trace:/usr/share/aclocal-1.10/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
446AC_REQUIRE([AC_PROG_MKDIR_P])dnl
447dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
448dnl while keeping a definition of mkdir_p for backward compatibility.
449dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
450dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
451dnl Makefile.ins that do not define MKDIR_P, so we do our own
452dnl adjustment using top_builddir (which is defined more often than
453dnl MKDIR_P).
454AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
455case $mkdir_p in
456 [[\\/$]]* | ?:[[\\/]]*) ;;
457 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
458esac
459])
460m4trace:/usr/share/aclocal-1.10/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
461m4trace:/usr/share/aclocal-1.10/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
462m4trace:/usr/share/aclocal-1.10/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
463m4trace:/usr/share/aclocal-1.10/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
464m4trace:/usr/share/aclocal-1.10/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
465 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
466 ac_status=$?
467 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
468 (exit $ac_status); }])
469m4trace:/usr/share/aclocal-1.10/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
470# Just in case
471sleep 1
472echo timestamp > conftest.file
473# Do `set' in a subshell so we don't clobber the current shell's
474# arguments. Must try -L first in case configure is actually a
475# symlink; some systems play weird games with the mod time of symlinks
476# (eg FreeBSD returns the mod time of the symlink's containing
477# directory).
478if (
479 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
480 if test "$[*]" = "X"; then
481 # -L didn't work.
482 set X `ls -t $srcdir/configure conftest.file`
483 fi
484 rm -f conftest.file
485 if test "$[*]" != "X $srcdir/configure conftest.file" \
486 && test "$[*]" != "X conftest.file $srcdir/configure"; then
487
488 # If neither matched, then we have a broken ls. This can happen
489 # if, for instance, CONFIG_SHELL is bash and it inherits a
490 # broken ls alias from the environment. This has actually
491 # happened. Such a system could not be considered "sane".
492 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
493alias in your environment])
494 fi
495
496 test "$[2]" = conftest.file
497 )
498then
499 # Ok.
500 :
501else
502 AC_MSG_ERROR([newly created file is older than distributed files!
503Check your system clock])
504fi
505AC_MSG_RESULT(yes)])
506m4trace:/usr/share/aclocal-1.10/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
507# Installed binaries are usually stripped using `strip' when the user
508# run `make install-strip'. However `strip' might not be the right
509# tool to use in cross-compilation environments, therefore Automake
510# will honor the `STRIP' environment variable to overrule this program.
511dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
512if test "$cross_compiling" != no; then
513 AC_CHECK_TOOL([STRIP], [strip], :)
514fi
515INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
516AC_SUBST([INSTALL_STRIP_PROGRAM])])
517m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
518m4trace:/usr/share/aclocal-1.10/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
519AM_MISSING_PROG([AMTAR], [tar])
520m4_if([$1], [v7],
521 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
522 [m4_case([$1], [ustar],, [pax],,
523 [m4_fatal([Unknown tar format])])
524AC_MSG_CHECKING([how to create a $1 tar archive])
525# Loop over all known methods to create a tar archive until one works.
526_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
527_am_tools=${am_cv_prog_tar_$1-$_am_tools}
528# Do not fold the above two line into one, because Tru64 sh and
529# Solaris sh will not grok spaces in the rhs of `-'.
530for _am_tool in $_am_tools
531do
532 case $_am_tool in
533 gnutar)
534 for _am_tar in tar gnutar gtar;
535 do
536 AM_RUN_LOG([$_am_tar --version]) && break
537 done
538 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
539 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
540 am__untar="$_am_tar -xf -"
541 ;;
542 plaintar)
543 # Must skip GNU tar: if it does not support --format= it doesn't create
544 # ustar tarball either.
545 (tar --version) >/dev/null 2>&1 && continue
546 am__tar='tar chf - "$$tardir"'
547 am__tar_='tar chf - "$tardir"'
548 am__untar='tar xf -'
549 ;;
550 pax)
551 am__tar='pax -L -x $1 -w "$$tardir"'
552 am__tar_='pax -L -x $1 -w "$tardir"'
553 am__untar='pax -r'
554 ;;
555 cpio)
556 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
557 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
558 am__untar='cpio -i -H $1 -d'
559 ;;
560 none)
561 am__tar=false
562 am__tar_=false
563 am__untar=false
564 ;;
565 esac
566
567 # If the value was cached, stop now. We just wanted to have am__tar
568 # and am__untar set.
569 test -n "${am_cv_prog_tar_$1}" && break
570
571 # tar/untar a dummy directory, and stop if the command works
572 rm -rf conftest.dir
573 mkdir conftest.dir
574 echo GrepMe > conftest.dir/file
575 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
576 rm -rf conftest.dir
577 if test -s conftest.tar; then
578 AM_RUN_LOG([$am__untar <conftest.tar])
579 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
580 fi
581done
582rm -rf conftest.dir
583
584AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
585AC_MSG_RESULT([$am_cv_prog_tar_$1])])
586AC_SUBST([am__tar])
587AC_SUBST([am__untar])
588])
589m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
590m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
591m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
592m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
593m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
594m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
595m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
596m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
597m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
598m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
599m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
600m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
601m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
602m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
603m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
604m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
605m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
606m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
607m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
608m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
609m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
610m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
611m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
612m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
613m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
614m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
615m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
616m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
617m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
618m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
619m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
620m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
621m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
622m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
623m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
624m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
625m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
626m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
627m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
628m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
629m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
630m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
631m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
632m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
633m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
634m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
635m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
636m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
637m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
638m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE
639m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
640m4trace:configure.ac:6: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
641m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.10.2])
642m4trace:configure.ac:6: -1- _AM_AUTOCONF_VERSION([2.63])
643m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
644m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
645m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$])
646m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$])
647m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc])
648m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$])
649m4trace:configure.ac:6: -1- _AM_SET_OPTIONS([])
650m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$])
651m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$])
652m4trace:configure.ac:6: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
653 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
654m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([no-define])
655m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$])
656m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$])
657m4trace:configure.ac:6: -1- AM_SANITY_CHECK
658m4trace:configure.ac:6: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
659m4trace:configure.ac:6: -1- AM_MISSING_HAS_RUN
660m4trace:configure.ac:6: -1- AM_AUX_DIR_EXPAND
661m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$])
662m4trace:configure.ac:6: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
663m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$])
664m4trace:configure.ac:6: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
665m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$])
666m4trace:configure.ac:6: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
667m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$])
668m4trace:configure.ac:6: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
669m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$])
670m4trace:configure.ac:6: -1- AM_PROG_INSTALL_SH
671m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$])
672m4trace:configure.ac:6: -1- AM_PROG_INSTALL_STRIP
673m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$])
674m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
675m4trace:configure.ac:6: -1- AM_PROG_MKDIR_P
676m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$])
677m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$])
678m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$])
679m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$])
680m4trace:configure.ac:6: -1- AM_SET_LEADING_DOT
681m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$])
682m4trace:configure.ac:6: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
683 [_AM_PROG_TAR([v7])])])
684m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([tar-ustar])
685m4trace:configure.ac:6: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
686m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([tar-pax])
687m4trace:configure.ac:6: -1- _AM_PROG_TAR([v7])
688m4trace:configure.ac:6: -1- AM_MISSING_PROG([AMTAR], [tar])
689m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$])
690m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$])
691m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$])
692m4trace:configure.ac:6: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
693 [_AM_DEPENDENCIES(CC)],
694 [define([AC_PROG_CC],
695 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
696AC_PROVIDE_IFELSE([AC_PROG_CXX],
697 [_AM_DEPENDENCIES(CXX)],
698 [define([AC_PROG_CXX],
699 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
700AC_PROVIDE_IFELSE([AC_PROG_OBJC],
701 [_AM_DEPENDENCIES(OBJC)],
702 [define([AC_PROG_OBJC],
703 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
704])
705m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([no-dependencies])
706m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$])
707m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXFLAGS$])
708m4trace:configure.ac:11: -1- m4_pattern_allow([^LDFLAGS$])
709m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBS$])
710m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$])
711m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$])
712m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_CXX$])
713m4trace:configure.ac:11: -1- m4_pattern_allow([^EXEEXT$])
714m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJEXT$])
715m4trace:configure.ac:11: -1- _AM_DEPENDENCIES([CXX])
716m4trace:configure.ac:11: -1- AM_SET_DEPDIR
717m4trace:configure.ac:11: -1- m4_pattern_allow([^DEPDIR$])
718m4trace:configure.ac:11: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
719m4trace:configure.ac:11: -1- AM_MAKE_INCLUDE
720m4trace:configure.ac:11: -1- m4_pattern_allow([^am__include$])
721m4trace:configure.ac:11: -1- m4_pattern_allow([^am__quote$])
722m4trace:configure.ac:11: -1- AM_DEP_TRACK
723m4trace:configure.ac:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
724m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_TRUE$])
725m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_FALSE$])
726m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
727m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
728m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
729m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
730m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXDEPMODE$])
731m4trace:configure.ac:11: -1- AM_CONDITIONAL([am__fastdepCXX], [
732 test "x$enable_dependency_tracking" != xno \
733 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
734m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
735m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
736m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
737m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
738m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
739m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$])
740m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
741m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
742m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
743m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
744m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
745m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
746m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
747m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$])
748m4trace:configure.ac:12: -1- _AM_DEPENDENCIES([CC])
749m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
750m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
751 test "x$enable_dependency_tracking" != xno \
752 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
753m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
754m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
755m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
756m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
757m4trace:configure.ac:15: -1- PKG_CHECK_MODULES([SDL], [sdl >= 1.2])
758m4trace:configure.ac:15: -1- PKG_PROG_PKG_CONFIG
759m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
760m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
761m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$])
762m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$])
763m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_CFLAGS$])
764m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_LIBS$])
765m4trace:configure.ac:15: -1- PKG_CHECK_EXISTS([sdl >= 1.2], [pkg_cv_[]SDL_CFLAGS=`$PKG_CONFIG --[]cflags "sdl >= 1.2" 2>/dev/null`], [pkg_failed=yes])
766m4trace:configure.ac:15: -1- PKG_CHECK_EXISTS([sdl >= 1.2], [pkg_cv_[]SDL_LIBS=`$PKG_CONFIG --[]libs "sdl >= 1.2" 2>/dev/null`], [pkg_failed=yes])
767m4trace:configure.ac:15: -1- _PKG_SHORT_ERRORS_SUPPORTED
768m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
769m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$])
770m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
771m4trace:configure.ac:22: -1- m4_pattern_allow([^GREP$])
772m4trace:configure.ac:22: -1- m4_pattern_allow([^EGREP$])
773m4trace:configure.ac:22: -1- m4_pattern_allow([^STDC_HEADERS$])
774m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE__BOOL$])
775m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
776m4trace:configure.ac:28: -1- m4_pattern_allow([^LIB@&t@OBJS$])
777m4trace:configure.ac:28: -1- m4_pattern_allow([^LTLIBOBJS$])
778m4trace:configure.ac:28: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
779m4trace:configure.ac:28: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1 new file mode 100644 index 0000000..3658a54 --- /dev/null +++ b/autom4te.cache/traces.1
@@ -0,0 +1,412 @@
1m4trace:configure.ac:5: -1- AC_INIT([Maze Of Life], [2.0], [BUG-REPORT-ADDRESS])
2m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
3m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
4m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
5m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
6m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
7m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
8m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
9m4trace:configure.ac:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
10m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL])
11m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
12m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR])
13m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
14m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
15m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
16m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME])
17m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
18m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
19m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
20m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
21m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
22m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
23m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
24m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
25m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING])
26m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
27m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
28m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
29m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
30m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE])
31m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix])
32m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
33m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE])
34m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix])
35m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
36m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
37m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name])
38m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
39m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
40m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir])
41m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
42m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
43m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir])
44m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
45m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
46m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir])
47m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
48m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
49m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir])
50m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
51m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}'])
52m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir])
53m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
54m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
55m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir])
56m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
57m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
58m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir])
59m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
60m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
61m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir])
62m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
63m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
64m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir])
65m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
66m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
67m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir])
68m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
69m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
70 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
71 ['${datarootdir}/doc/${PACKAGE}'])])
72m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir])
73m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
74m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
75m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir])
76m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
77m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}'])
78m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir])
79m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
80m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}'])
81m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir])
82m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
83m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}'])
84m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir])
85m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
86m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}'])
87m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir])
88m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
89m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
90m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir])
91m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
92m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
93m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir])
94m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
95m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
96m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir])
97m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
98m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
99m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
100m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
101#undef PACKAGE_NAME])
102m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
103m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
104m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
105#undef PACKAGE_TARNAME])
106m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
107m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
108m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
109#undef PACKAGE_VERSION])
110m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
111m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
112m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
113#undef PACKAGE_STRING])
114m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
115m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
116m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
117#undef PACKAGE_BUGREPORT])
118m4trace:configure.ac:5: -1- AC_SUBST([DEFS])
119m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS])
120m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
121m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C])
122m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C])
123m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
124m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N])
125m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N])
126m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
127m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T])
128m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T])
129m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
130m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
131m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS])
132m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
133m4trace:configure.ac:5: -1- AC_SUBST([build_alias])
134m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias])
135m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
136m4trace:configure.ac:5: -1- AC_SUBST([host_alias])
137m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias])
138m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
139m4trace:configure.ac:5: -1- AC_SUBST([target_alias])
140m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias])
141m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
142m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE
143m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
144m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.10.2])
145m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh])
146m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_PROGRAM])
147m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
148m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
149m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_SCRIPT])
150m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
151m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
152m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_DATA])
153m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_DATA])
154m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$])
155m4trace:configure.ac:6: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
156m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__isrc])
157m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$])
158m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc])
159m4trace:configure.ac:6: -1- AC_SUBST([CYGPATH_W])
160m4trace:configure.ac:6: -1- AC_SUBST_TRACE([CYGPATH_W])
161m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$])
162m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
163m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE])
164m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$])
165m4trace:configure.ac:6: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
166m4trace:configure.ac:6: -1- AC_SUBST_TRACE([VERSION])
167m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$])
168m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
169m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$])
170m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
171#undef PACKAGE])
172m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
173m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$])
174m4trace:configure.ac:6: -1- AH_OUTPUT([VERSION], [/* Version number of package */
175#undef VERSION])
176m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([missing])
177m4trace:configure.ac:6: -1- AC_SUBST([ACLOCAL])
178m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ACLOCAL])
179m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$])
180m4trace:configure.ac:6: -1- AC_SUBST([AUTOCONF])
181m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOCONF])
182m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$])
183m4trace:configure.ac:6: -1- AC_SUBST([AUTOMAKE])
184m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOMAKE])
185m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$])
186m4trace:configure.ac:6: -1- AC_SUBST([AUTOHEADER])
187m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOHEADER])
188m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$])
189m4trace:configure.ac:6: -1- AC_SUBST([MAKEINFO])
190m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MAKEINFO])
191m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$])
192m4trace:configure.ac:6: -1- AC_SUBST([install_sh])
193m4trace:configure.ac:6: -1- AC_SUBST_TRACE([install_sh])
194m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$])
195m4trace:configure.ac:6: -1- AC_SUBST([STRIP])
196m4trace:configure.ac:6: -1- AC_SUBST_TRACE([STRIP])
197m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$])
198m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
199m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
200m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
201m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh])
202m4trace:configure.ac:6: -1- AC_SUBST([MKDIR_P])
203m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MKDIR_P])
204m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$])
205m4trace:configure.ac:6: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
206m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mkdir_p])
207m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$])
208m4trace:configure.ac:6: -1- AC_SUBST([AWK])
209m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AWK])
210m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$])
211m4trace:configure.ac:6: -1- AC_SUBST([SET_MAKE])
212m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SET_MAKE])
213m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$])
214m4trace:configure.ac:6: -1- AC_SUBST([am__leading_dot])
215m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__leading_dot])
216m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$])
217m4trace:configure.ac:6: -1- AC_SUBST([AMTAR])
218m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AMTAR])
219m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$])
220m4trace:configure.ac:6: -1- AC_SUBST([am__tar])
221m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__tar])
222m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$])
223m4trace:configure.ac:6: -1- AC_SUBST([am__untar])
224m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__untar])
225m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$])
226m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h])
227m4trace:configure.ac:11: -1- AC_SUBST([CXX])
228m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXX])
229m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$])
230m4trace:configure.ac:11: -1- AC_SUBST([CXXFLAGS])
231m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXXFLAGS])
232m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXFLAGS$])
233m4trace:configure.ac:11: -1- AC_SUBST([LDFLAGS])
234m4trace:configure.ac:11: -1- AC_SUBST_TRACE([LDFLAGS])
235m4trace:configure.ac:11: -1- m4_pattern_allow([^LDFLAGS$])
236m4trace:configure.ac:11: -1- AC_SUBST([LIBS])
237m4trace:configure.ac:11: -1- AC_SUBST_TRACE([LIBS])
238m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBS$])
239m4trace:configure.ac:11: -1- AC_SUBST([CPPFLAGS])
240m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CPPFLAGS])
241m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$])
242m4trace:configure.ac:11: -1- AC_SUBST([CXX])
243m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXX])
244m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$])
245m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CXX])
246m4trace:configure.ac:11: -1- AC_SUBST_TRACE([ac_ct_CXX])
247m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_CXX$])
248m4trace:configure.ac:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
249m4trace:configure.ac:11: -1- AC_SUBST_TRACE([EXEEXT])
250m4trace:configure.ac:11: -1- m4_pattern_allow([^EXEEXT$])
251m4trace:configure.ac:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
252m4trace:configure.ac:11: -1- AC_SUBST_TRACE([OBJEXT])
253m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJEXT$])
254m4trace:configure.ac:11: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
255m4trace:configure.ac:11: -1- AC_SUBST_TRACE([DEPDIR])
256m4trace:configure.ac:11: -1- m4_pattern_allow([^DEPDIR$])
257m4trace:configure.ac:11: -1- AC_SUBST([am__include])
258m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__include])
259m4trace:configure.ac:11: -1- m4_pattern_allow([^am__include$])
260m4trace:configure.ac:11: -1- AC_SUBST([am__quote])
261m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__quote])
262m4trace:configure.ac:11: -1- m4_pattern_allow([^am__quote$])
263m4trace:configure.ac:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
264m4trace:configure.ac:11: -1- AC_SUBST([AMDEP_TRUE])
265m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMDEP_TRUE])
266m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_TRUE$])
267m4trace:configure.ac:11: -1- AC_SUBST([AMDEP_FALSE])
268m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMDEP_FALSE])
269m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_FALSE$])
270m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
271m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
272m4trace:configure.ac:11: -1- AC_SUBST([AMDEPBACKSLASH])
273m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
274m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
275m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
276m4trace:configure.ac:11: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
277m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXXDEPMODE])
278m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXDEPMODE$])
279m4trace:configure.ac:11: -1- AM_CONDITIONAL([am__fastdepCXX], [
280 test "x$enable_dependency_tracking" != xno \
281 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
282m4trace:configure.ac:11: -1- AC_SUBST([am__fastdepCXX_TRUE])
283m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
284m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
285m4trace:configure.ac:11: -1- AC_SUBST([am__fastdepCXX_FALSE])
286m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
287m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
288m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
289m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
290m4trace:configure.ac:12: -1- AC_SUBST([CC])
291m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
292m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
293m4trace:configure.ac:12: -1- AC_SUBST([CFLAGS])
294m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CFLAGS])
295m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$])
296m4trace:configure.ac:12: -1- AC_SUBST([LDFLAGS])
297m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LDFLAGS])
298m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$])
299m4trace:configure.ac:12: -1- AC_SUBST([LIBS])
300m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBS])
301m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
302m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
303m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CPPFLAGS])
304m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$])
305m4trace:configure.ac:12: -1- AC_SUBST([CC])
306m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
307m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
308m4trace:configure.ac:12: -1- AC_SUBST([CC])
309m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
310m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
311m4trace:configure.ac:12: -1- AC_SUBST([CC])
312m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
313m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
314m4trace:configure.ac:12: -1- AC_SUBST([CC])
315m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC])
316m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$])
317m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_CC])
318m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_CC])
319m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$])
320m4trace:configure.ac:12: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
321m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CCDEPMODE])
322m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
323m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
324 test "x$enable_dependency_tracking" != xno \
325 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
326m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_TRUE])
327m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
328m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
329m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_FALSE])
330m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
331m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
332m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
333m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
334m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
335m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
336m4trace:configure.ac:15: -1- AC_SUBST([PKG_CONFIG])
337m4trace:configure.ac:15: -1- AC_SUBST_TRACE([PKG_CONFIG])
338m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$])
339m4trace:configure.ac:15: -1- AC_SUBST([PKG_CONFIG])
340m4trace:configure.ac:15: -1- AC_SUBST_TRACE([PKG_CONFIG])
341m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$])
342m4trace:configure.ac:15: -1- AC_SUBST([SDL_CFLAGS])
343m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SDL_CFLAGS])
344m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_CFLAGS$])
345m4trace:configure.ac:15: -1- AC_SUBST([SDL_LIBS])
346m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SDL_LIBS])
347m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_LIBS$])
348m4trace:configure.ac:22: -1- AC_SUBST([CPP])
349m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPP])
350m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
351m4trace:configure.ac:22: -1- AC_SUBST([CPPFLAGS])
352m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPPFLAGS])
353m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$])
354m4trace:configure.ac:22: -1- AC_SUBST([CPP])
355m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPP])
356m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$])
357m4trace:configure.ac:22: -1- AC_SUBST([GREP])
358m4trace:configure.ac:22: -1- AC_SUBST_TRACE([GREP])
359m4trace:configure.ac:22: -1- m4_pattern_allow([^GREP$])
360m4trace:configure.ac:22: -1- AC_SUBST([EGREP])
361m4trace:configure.ac:22: -1- AC_SUBST_TRACE([EGREP])
362m4trace:configure.ac:22: -1- m4_pattern_allow([^EGREP$])
363m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
364m4trace:configure.ac:22: -1- m4_pattern_allow([^STDC_HEADERS$])
365m4trace:configure.ac:22: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
366#undef STDC_HEADERS])
367m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
368#undef HAVE_SYS_TYPES_H])
369m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
370#undef HAVE_SYS_STAT_H])
371m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
372#undef HAVE_STDLIB_H])
373m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
374#undef HAVE_STRING_H])
375m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
376#undef HAVE_MEMORY_H])
377m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
378#undef HAVE_STRINGS_H])
379m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
380#undef HAVE_INTTYPES_H])
381m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
382#undef HAVE_STDINT_H])
383m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
384#undef HAVE_UNISTD_H])
385m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
386m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE__BOOL$])
387m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
388#undef HAVE__BOOL])
389m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
390m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
391m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
392#undef HAVE_STDBOOL_H])
393m4trace:configure.ac:25: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
394#undef HAVE_ATEXIT])
395m4trace:configure.ac:27: -1- AC_CONFIG_FILES([Makefile src/Makefile])
396m4trace:configure.ac:28: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
397m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
398m4trace:configure.ac:28: -1- m4_pattern_allow([^LIB@&t@OBJS$])
399m4trace:configure.ac:28: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
400m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LTLIBOBJS])
401m4trace:configure.ac:28: -1- m4_pattern_allow([^LTLIBOBJS$])
402m4trace:configure.ac:28: -1- AC_SUBST_TRACE([top_builddir])
403m4trace:configure.ac:28: -1- AC_SUBST_TRACE([top_build_prefix])
404m4trace:configure.ac:28: -1- AC_SUBST_TRACE([srcdir])
405m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_srcdir])
406m4trace:configure.ac:28: -1- AC_SUBST_TRACE([top_srcdir])
407m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_top_srcdir])
408m4trace:configure.ac:28: -1- AC_SUBST_TRACE([builddir])
409m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_builddir])
410m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_top_builddir])
411m4trace:configure.ac:28: -1- AC_SUBST_TRACE([INSTALL])
412m4trace:configure.ac:28: -1- AC_SUBST_TRACE([MKDIR_P])
diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..e51c43a --- /dev/null +++ b/config.h.in
@@ -0,0 +1,61 @@
1/* config.h.in. Generated from configure.ac by autoheader. */
2
3/* Define to 1 if you have the `atexit' function. */
4#undef HAVE_ATEXIT
5
6/* Define to 1 if you have the <inttypes.h> header file. */
7#undef HAVE_INTTYPES_H
8
9/* Define to 1 if you have the <memory.h> header file. */
10#undef HAVE_MEMORY_H
11
12/* Define to 1 if stdbool.h conforms to C99. */
13#undef HAVE_STDBOOL_H
14
15/* Define to 1 if you have the <stdint.h> header file. */
16#undef HAVE_STDINT_H
17
18/* Define to 1 if you have the <stdlib.h> header file. */
19#undef HAVE_STDLIB_H
20
21/* Define to 1 if you have the <strings.h> header file. */
22#undef HAVE_STRINGS_H
23
24/* Define to 1 if you have the <string.h> header file. */
25#undef HAVE_STRING_H
26
27/* Define to 1 if you have the <sys/stat.h> header file. */
28#undef HAVE_SYS_STAT_H
29
30/* Define to 1 if you have the <sys/types.h> header file. */
31#undef HAVE_SYS_TYPES_H
32
33/* Define to 1 if you have the <unistd.h> header file. */
34#undef HAVE_UNISTD_H
35
36/* Define to 1 if the system has the type `_Bool'. */
37#undef HAVE__BOOL
38
39/* Name of package */
40#undef PACKAGE
41
42/* Define to the address where bug reports for this package should be sent. */
43#undef PACKAGE_BUGREPORT
44
45/* Define to the full name of this package. */
46#undef PACKAGE_NAME
47
48/* Define to the full name and version of this package. */
49#undef PACKAGE_STRING
50
51/* Define to the one symbol short name of this package. */
52#undef PACKAGE_TARNAME
53
54/* Define to the version of this package. */
55#undef PACKAGE_VERSION
56
57/* Define to 1 if you have the ANSI C header files. */
58#undef STDC_HEADERS
59
60/* Version number of package */
61#undef VERSION
diff --git a/configure b/configure new file mode 100755 index 0000000..97bd53e --- /dev/null +++ b/configure
@@ -0,0 +1,6575 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for Maze Of Life 2.0.
4#
5# Report bugs to <BUG-REPORT-ADDRESS>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order. Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140else
141 as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
180fi
181
182 if test $as_have_required = yes && (eval ":
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
198
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
206
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239 :
240else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
248 /*)
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253done
254IFS=$as_save_IFS
255
256
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
441}
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
469 N
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501*)
502 ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532else
533 as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='Maze Of Life'
598PACKAGE_TARNAME='maze-of-life'
599PACKAGE_VERSION='2.0'
600PACKAGE_STRING='Maze Of Life 2.0'
601PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
602
603ac_unique_file="src/mazeoflife.cpp"
604# Factoring default headers for most tests.
605ac_includes_default="\
606#include <stdio.h>
607#ifdef HAVE_SYS_TYPES_H
608# include <sys/types.h>
609#endif
610#ifdef HAVE_SYS_STAT_H
611# include <sys/stat.h>
612#endif
613#ifdef STDC_HEADERS
614# include <stdlib.h>
615# include <stddef.h>
616#else
617# ifdef HAVE_STDLIB_H
618# include <stdlib.h>
619# endif
620#endif
621#ifdef HAVE_STRING_H
622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623# include <memory.h>
624# endif
625# include <string.h>
626#endif
627#ifdef HAVE_STRINGS_H
628# include <strings.h>
629#endif
630#ifdef HAVE_INTTYPES_H
631# include <inttypes.h>
632#endif
633#ifdef HAVE_STDINT_H
634# include <stdint.h>
635#endif
636#ifdef HAVE_UNISTD_H
637# include <unistd.h>
638#endif"
639
640ac_subst_vars='LTLIBOBJS
641LIBOBJS
642EGREP
643GREP
644CPP
645SDL_LIBS
646SDL_CFLAGS
647PKG_CONFIG
648am__fastdepCC_FALSE
649am__fastdepCC_TRUE
650CCDEPMODE
651ac_ct_CC
652CFLAGS
653CC
654am__fastdepCXX_FALSE
655am__fastdepCXX_TRUE
656CXXDEPMODE
657AMDEPBACKSLASH
658AMDEP_FALSE
659AMDEP_TRUE
660am__quote
661am__include
662DEPDIR
663OBJEXT
664EXEEXT
665ac_ct_CXX
666CPPFLAGS
667LDFLAGS
668CXXFLAGS
669CXX
670am__untar
671am__tar
672AMTAR
673am__leading_dot
674SET_MAKE
675AWK
676mkdir_p
677MKDIR_P
678INSTALL_STRIP_PROGRAM
679STRIP
680install_sh
681MAKEINFO
682AUTOHEADER
683AUTOMAKE
684AUTOCONF
685ACLOCAL
686VERSION
687PACKAGE
688CYGPATH_W
689am__isrc
690INSTALL_DATA
691INSTALL_SCRIPT
692INSTALL_PROGRAM
693target_alias
694host_alias
695build_alias
696LIBS
697ECHO_T
698ECHO_N
699ECHO_C
700DEFS
701mandir
702localedir
703libdir
704psdir
705pdfdir
706dvidir
707htmldir
708infodir
709docdir
710oldincludedir
711includedir
712localstatedir
713sharedstatedir
714sysconfdir
715datadir
716datarootdir
717libexecdir
718sbindir
719bindir
720program_transform_name
721prefix
722exec_prefix
723PACKAGE_BUGREPORT
724PACKAGE_STRING
725PACKAGE_VERSION
726PACKAGE_TARNAME
727PACKAGE_NAME
728PATH_SEPARATOR
729SHELL'
730ac_subst_files=''
731ac_user_opts='
732enable_option_checking
733enable_dependency_tracking
734'
735 ac_precious_vars='build_alias
736host_alias
737target_alias
738CXX
739CXXFLAGS
740LDFLAGS
741LIBS
742CPPFLAGS
743CCC
744CC
745CFLAGS
746PKG_CONFIG
747SDL_CFLAGS
748SDL_LIBS
749CPP'
750
751
752# Initialize some variables set by options.
753ac_init_help=
754ac_init_version=false
755ac_unrecognized_opts=
756ac_unrecognized_sep=
757# The variables have the same names as the options, with
758# dashes changed to underlines.
759cache_file=/dev/null
760exec_prefix=NONE
761no_create=
762no_recursion=
763prefix=NONE
764program_prefix=NONE
765program_suffix=NONE
766program_transform_name=s,x,x,
767silent=
768site=
769srcdir=
770verbose=
771x_includes=NONE
772x_libraries=NONE
773
774# Installation directory options.
775# These are left unexpanded so users can "make install exec_prefix=/foo"
776# and all the variables that are supposed to be based on exec_prefix
777# by default will actually change.
778# Use braces instead of parens because sh, perl, etc. also accept them.
779# (The list follows the same order as the GNU Coding Standards.)
780bindir='${exec_prefix}/bin'
781sbindir='${exec_prefix}/sbin'
782libexecdir='${exec_prefix}/libexec'
783datarootdir='${prefix}/share'
784datadir='${datarootdir}'
785sysconfdir='${prefix}/etc'
786sharedstatedir='${prefix}/com'
787localstatedir='${prefix}/var'
788includedir='${prefix}/include'
789oldincludedir='/usr/include'
790docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791infodir='${datarootdir}/info'
792htmldir='${docdir}'
793dvidir='${docdir}'
794pdfdir='${docdir}'
795psdir='${docdir}'
796libdir='${exec_prefix}/lib'
797localedir='${datarootdir}/locale'
798mandir='${datarootdir}/man'
799
800ac_prev=
801ac_dashdash=
802for ac_option
803do
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
807 ac_prev=
808 continue
809 fi
810
811 case $ac_option in
812 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813 *) ac_optarg=yes ;;
814 esac
815
816 # Accept the important Cygnus configure options, so we can diagnose typos.
817
818 case $ac_dashdash$ac_option in
819 --)
820 ac_dashdash=yes ;;
821
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 ac_prev=bindir ;;
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 bindir=$ac_optarg ;;
826
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
831
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
838
839 --config-cache | -C)
840 cache_file=config.cache ;;
841
842 -datadir | --datadir | --datadi | --datad)
843 ac_prev=datadir ;;
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
846
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
853
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
859 { (exit 1); exit 1; }; }
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
863 *"
864"enable_$ac_useropt"
865"*) ;;
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
868 esac
869 eval enable_$ac_useropt=no ;;
870
871 -docdir | --docdir | --docdi | --doc | --do)
872 ac_prev=docdir ;;
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 docdir=$ac_optarg ;;
875
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 ac_prev=dvidir ;;
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 dvidir=$ac_optarg ;;
880
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
886 { (exit 1); exit 1; }; }
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
890 *"
891"enable_$ac_useropt"
892"*) ;;
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
895 esac
896 eval enable_$ac_useropt=\$ac_optarg ;;
897
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
906
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
909 with_gas=yes ;;
910
911 -help | --help | --hel | --he | -h)
912 ac_init_help=long ;;
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
917
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
922
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 ac_prev=htmldir ;;
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 | --ht=*)
927 htmldir=$ac_optarg ;;
928
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
935
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 ac_prev=infodir ;;
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
940
941 -libdir | --libdir | --libdi | --libd)
942 ac_prev=libdir ;;
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 libdir=$ac_optarg ;;
945
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
952
953 -localedir | --localedir | --localedi | --localed | --locale)
954 ac_prev=localedir ;;
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
957
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
964
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 ac_prev=mandir ;;
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 mandir=$ac_optarg ;;
969
970 -nfp | --nfp | --nf)
971 # Obsolete; use --without-fp.
972 with_fp=no ;;
973
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
976 no_create=yes ;;
977
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 no_recursion=yes ;;
981
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
990
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 ac_prev=prefix ;;
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 prefix=$ac_optarg ;;
995
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1002
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1009
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1026
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 ac_prev=pdfdir ;;
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1031
1032 -psdir | --psdir | --psdi | --psd | --ps)
1033 ac_prev=psdir ;;
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 psdir=$ac_optarg ;;
1036
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 silent=yes ;;
1040
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 ac_prev=sbindir ;;
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 | --sbi=* | --sb=*)
1045 sbindir=$ac_optarg ;;
1046
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1050 | --sha | --sh)
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 | --sha=* | --sh=*)
1056 sharedstatedir=$ac_optarg ;;
1057
1058 -site | --site | --sit)
1059 ac_prev=site ;;
1060 -site=* | --site=* | --sit=*)
1061 site=$ac_optarg ;;
1062
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 ac_prev=srcdir ;;
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1067
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1074
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1079
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 verbose=yes ;;
1082
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1085
1086 -with-* | --with-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1091 { (exit 1); exit 1; }; }
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1095 *"
1096"with_$ac_useropt"
1097"*) ;;
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1100 esac
1101 eval with_$ac_useropt=\$ac_optarg ;;
1102
1103 -without-* | --without-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1112 *"
1113"with_$ac_useropt"
1114"*) ;;
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1117 esac
1118 eval with_$ac_useropt=no ;;
1119
1120 --x)
1121 # Obsolete; use --with-x.
1122 with_x=yes ;;
1123
1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125 | --x-incl | --x-inc | --x-in | --x-i)
1126 ac_prev=x_includes ;;
1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129 x_includes=$ac_optarg ;;
1130
1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133 ac_prev=x_libraries ;;
1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136 x_libraries=$ac_optarg ;;
1137
1138 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1139Try \`$0 --help' for more information." >&2
1140 { (exit 1); exit 1; }; }
1141 ;;
1142
1143 *=*)
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1147 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1148 { (exit 1); exit 1; }; }
1149 eval $ac_envvar=\$ac_optarg
1150 export $ac_envvar ;;
1151
1152 *)
1153 # FIXME: should be removed in autoconf 3.0.
1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 ;;
1159
1160 esac
1161done
1162
1163if test -n "$ac_prev"; then
1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1166 { (exit 1); exit 1; }; }
1167fi
1168
1169if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1171 no) ;;
1172 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1173 { (exit 1); exit 1; }; } ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1183do
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1186 case $ac_val in
1187 */ )
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1190 esac
1191 # Be sure to have absolute directory names.
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
1198done
1199
1200# There might be people who depend on the old broken behavior: `$host'
1201# used to hold the argument of --host etc.
1202# FIXME: To remove some day.
1203build=$build_alias
1204host=$host_alias
1205target=$target_alias
1206
1207# FIXME: To remove some day.
1208if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1215 fi
1216fi
1217
1218ac_tool_prefix=
1219test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221test "$silent" = yes && exec 6>/dev/null
1222
1223
1224ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225ac_ls_di=`ls -di .` &&
1226ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1228 { (exit 1); exit 1; }; }
1229test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1231 { (exit 1); exit 1; }; }
1232
1233
1234# Find the source files, if location was not specified.
1235if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243$as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 s//\1/
1246 q
1247 }
1248 /^X\(\/\/\)[^/].*/{
1249 s//\1/
1250 q
1251 }
1252 /^X\(\/\/\)$/{
1253 s//\1/
1254 q
1255 }
1256 /^X\(\/\).*/{
1257 s//\1/
1258 q
1259 }
1260 s/.*/./; q'`
1261 srcdir=$ac_confdir
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 srcdir=..
1264 fi
1265else
1266 ac_srcdir_defaulted=no
1267fi
1268if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271 { (exit 1); exit 1; }; }
1272fi
1273ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274ac_abs_confdir=`(
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1277 pwd)`
1278# When building in place, set srcdir=.
1279if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 srcdir=.
1281fi
1282# Remove unnecessary trailing slashes from srcdir.
1283# Double slashes in file names in object file debugging info
1284# mess up M-x gdb in Emacs.
1285case $srcdir in
1286*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287esac
1288for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293done
1294
1295#
1296# Report the --help message.
1297#
1298if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1301 cat <<_ACEOF
1302\`configure' configures Maze Of Life 2.0 to adapt to many kinds of systems.
1303
1304Usage: $0 [OPTION]... [VAR=VALUE]...
1305
1306To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307VAR=VALUE. See below for descriptions of some of the useful variables.
1308
1309Defaults for the options are specified in brackets.
1310
1311Configuration:
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321
1322Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 [PREFIX]
1327
1328By default, \`make install' will install all the files in
1329\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331for instance \`--prefix=\$HOME'.
1332
1333For better control, use the options below.
1334
1335Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/maze-of-life]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1355_ACEOF
1356
1357 cat <<\_ACEOF
1358
1359Program names:
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363_ACEOF
1364fi
1365
1366if test -n "$ac_init_help"; then
1367 case $ac_init_help in
1368 short | recursive ) echo "Configuration of Maze Of Life 2.0:";;
1369 esac
1370 cat <<\_ACEOF
1371
1372Optional Features:
1373 --disable-option-checking ignore unrecognized --enable/--with options
1374 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1375 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1376 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking do not reject slow dependency extractors
1378
1379Some influential environment variables:
1380 CXX C++ compiler command
1381 CXXFLAGS C++ compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CC C compiler command
1388 CFLAGS C compiler flags
1389 PKG_CONFIG path to pkg-config utility
1390 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
1391 SDL_LIBS linker flags for SDL, overriding pkg-config
1392 CPP C preprocessor
1393
1394Use these variables to override the choices made by `configure' or to help
1395it to find libraries and programs with nonstandard names/locations.
1396
1397Report bugs to <BUG-REPORT-ADDRESS>.
1398_ACEOF
1399ac_status=$?
1400fi
1401
1402if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" ||
1406 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 continue
1408 ac_builddir=.
1409
1410case "$ac_dir" in
1411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412*)
1413 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 esac ;;
1420esac
1421ac_abs_top_builddir=$ac_pwd
1422ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423# for backward compatibility:
1424ac_top_builddir=$ac_top_build_prefix
1425
1426case $srcdir in
1427 .) # We are building in place.
1428 ac_srcdir=.
1429 ac_top_srcdir=$ac_top_builddir_sub
1430 ac_abs_top_srcdir=$ac_pwd ;;
1431 [\\/]* | ?:[\\/]* ) # Absolute name.
1432 ac_srcdir=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir=$srcdir
1434 ac_abs_top_srcdir=$srcdir ;;
1435 *) # Relative name.
1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439esac
1440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441
1442 cd "$ac_dir" || { ac_status=$?; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1448 echo &&
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1450 else
1451 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 fi || ac_status=$?
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1454 done
1455fi
1456
1457test -n "$ac_init_help" && exit $ac_status
1458if $ac_init_version; then
1459 cat <<\_ACEOF
1460Maze Of Life configure 2.0
1461generated by GNU Autoconf 2.63
1462
1463Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14642002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1465This configure script is free software; the Free Software Foundation
1466gives unlimited permission to copy, distribute and modify it.
1467_ACEOF
1468 exit
1469fi
1470cat >config.log <<_ACEOF
1471This file contains any messages produced by compilers while
1472running configure, to aid debugging if configure makes a mistake.
1473
1474It was created by Maze Of Life $as_me 2.0, which was
1475generated by GNU Autoconf 2.63. Invocation command line was
1476
1477 $ $0 $@
1478
1479_ACEOF
1480exec 5>>config.log
1481{
1482cat <<_ASUNAME
1483## --------- ##
1484## Platform. ##
1485## --------- ##
1486
1487hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492
1493/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495
1496/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503
1504_ASUNAME
1505
1506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507for as_dir in $PATH
1508do
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 $as_echo "PATH: $as_dir"
1512done
1513IFS=$as_save_IFS
1514
1515} >&5
1516
1517cat >&5 <<_ACEOF
1518
1519
1520## ----------- ##
1521## Core tests. ##
1522## ----------- ##
1523
1524_ACEOF
1525
1526
1527# Keep a trace of the command line.
1528# Strip out --no-create and --no-recursion so they do not pile up.
1529# Strip out --silent because we don't want to record it for future runs.
1530# Also quote any args containing shell meta-characters.
1531# Make two passes to allow for proper duplicate-argument suppression.
1532ac_configure_args=
1533ac_configure_args0=
1534ac_configure_args1=
1535ac_must_keep_next=false
1536for ac_pass in 1 2
1537do
1538 for ac_arg
1539 do
1540 case $ac_arg in
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1544 continue ;;
1545 *\'*)
1546 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 case $ac_pass in
1549 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 2)
1551 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1554 else
1555 case $ac_arg in
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 esac
1563 ;;
1564 -* ) ac_must_keep_next=true ;;
1565 esac
1566 fi
1567 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 ;;
1569 esac
1570 done
1571done
1572$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574
1575# When interrupted or exit'd, cleanup temporary files, and complete
1576# config.log. We remove comments because anyway the quotes in there
1577# would cause problems or look ugly.
1578# WARNING: Use '\'' to represent an apostrophe within the trap.
1579# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1582 {
1583 echo
1584
1585 cat <<\_ASBOX
1586## ---------------- ##
1587## Cache variables. ##
1588## ---------------- ##
1589_ASBOX
1590 echo
1591 # The following way of writing the cache mishandles newlines in values,
1592(
1593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594 eval ac_val=\$$ac_var
1595 case $ac_val in #(
1596 *${as_nl}*)
1597 case $ac_var in #(
1598 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1599$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1600 esac
1601 case $ac_var in #(
1602 _ | IFS | as_nl) ;; #(
1603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1604 *) $as_unset $ac_var ;;
1605 esac ;;
1606 esac
1607 done
1608 (set) 2>&1 |
1609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610 *${as_nl}ac_space=\ *)
1611 sed -n \
1612 "s/'\''/'\''\\\\'\'''\''/g;
1613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 ;; #(
1615 *)
1616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1617 ;;
1618 esac |
1619 sort
1620)
1621 echo
1622
1623 cat <<\_ASBOX
1624## ----------------- ##
1625## Output variables. ##
1626## ----------------- ##
1627_ASBOX
1628 echo
1629 for ac_var in $ac_subst_vars
1630 do
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 $as_echo "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1638
1639 if test -n "$ac_subst_files"; then
1640 cat <<\_ASBOX
1641## ------------------- ##
1642## File substitutions. ##
1643## ------------------- ##
1644_ASBOX
1645 echo
1646 for ac_var in $ac_subst_files
1647 do
1648 eval ac_val=\$$ac_var
1649 case $ac_val in
1650 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1651 esac
1652 $as_echo "$ac_var='\''$ac_val'\''"
1653 done | sort
1654 echo
1655 fi
1656
1657 if test -s confdefs.h; then
1658 cat <<\_ASBOX
1659## ----------- ##
1660## confdefs.h. ##
1661## ----------- ##
1662_ASBOX
1663 echo
1664 cat confdefs.h
1665 echo
1666 fi
1667 test "$ac_signal" != 0 &&
1668 $as_echo "$as_me: caught signal $ac_signal"
1669 $as_echo "$as_me: exit $exit_status"
1670 } >&5
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 exit $exit_status
1674' 0
1675for ac_signal in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677done
1678ac_signal=0
1679
1680# confdefs.h avoids OS command line length limits that DEFS can exceed.
1681rm -f -r conftest* confdefs.h
1682
1683# Predefined preprocessor variables.
1684
1685cat >>confdefs.h <<_ACEOF
1686#define PACKAGE_NAME "$PACKAGE_NAME"
1687_ACEOF
1688
1689
1690cat >>confdefs.h <<_ACEOF
1691#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692_ACEOF
1693
1694
1695cat >>confdefs.h <<_ACEOF
1696#define PACKAGE_VERSION "$PACKAGE_VERSION"
1697_ACEOF
1698
1699
1700cat >>confdefs.h <<_ACEOF
1701#define PACKAGE_STRING "$PACKAGE_STRING"
1702_ACEOF
1703
1704
1705cat >>confdefs.h <<_ACEOF
1706#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707_ACEOF
1708
1709
1710# Let the site file select an alternate cache file if it wants to.
1711# Prefer an explicitly selected file to automatically selected ones.
1712ac_site_file1=NONE
1713ac_site_file2=NONE
1714if test -n "$CONFIG_SITE"; then
1715 ac_site_file1=$CONFIG_SITE
1716elif test "x$prefix" != xNONE; then
1717 ac_site_file1=$prefix/share/config.site
1718 ac_site_file2=$prefix/etc/config.site
1719else
1720 ac_site_file1=$ac_default_prefix/share/config.site
1721 ac_site_file2=$ac_default_prefix/etc/config.site
1722fi
1723for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1724do
1725 test "x$ac_site_file" = xNONE && continue
1726 if test -r "$ac_site_file"; then
1727 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1728$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1729 sed 's/^/| /' "$ac_site_file" >&5
1730 . "$ac_site_file"
1731 fi
1732done
1733
1734if test -r "$cache_file"; then
1735 # Some versions of bash will fail to source /dev/null (special
1736 # files actually), so we avoid doing that.
1737 if test -f "$cache_file"; then
1738 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1739$as_echo "$as_me: loading cache $cache_file" >&6;}
1740 case $cache_file in
1741 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1742 *) . "./$cache_file";;
1743 esac
1744 fi
1745else
1746 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1747$as_echo "$as_me: creating cache $cache_file" >&6;}
1748 >$cache_file
1749fi
1750
1751# Check that the precious variables saved in the cache have kept the same
1752# value.
1753ac_cache_corrupted=false
1754for ac_var in $ac_precious_vars; do
1755 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1756 eval ac_new_set=\$ac_env_${ac_var}_set
1757 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1758 eval ac_new_val=\$ac_env_${ac_var}_value
1759 case $ac_old_set,$ac_new_set in
1760 set,)
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1762$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1764 ,set)
1765 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1766$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1768 ,);;
1769 *)
1770 if test "x$ac_old_val" != "x$ac_new_val"; then
1771 # differences in whitespace do not lead to failure.
1772 ac_old_val_w=`echo x $ac_old_val`
1773 ac_new_val_w=`echo x $ac_new_val`
1774 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1775 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777 ac_cache_corrupted=:
1778 else
1779 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1780$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1781 eval $ac_var=\$ac_old_val
1782 fi
1783 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1784$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1785 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1786$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1787 fi;;
1788 esac
1789 # Pass precious variables to config.status.
1790 if test "$ac_new_set" = set; then
1791 case $ac_new_val in
1792 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1793 *) ac_arg=$ac_var=$ac_new_val ;;
1794 esac
1795 case " $ac_configure_args " in
1796 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1797 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1798 esac
1799 fi
1800done
1801if $ac_cache_corrupted; then
1802 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1803$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1804 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1805$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1806 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1807$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1808 { (exit 1); exit 1; }; }
1809fi
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835ac_ext=c
1836ac_cpp='$CPP $CPPFLAGS'
1837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840
1841
1842am__api_version='1.10'
1843
1844ac_aux_dir=
1845for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1846 if test -f "$ac_dir/install-sh"; then
1847 ac_aux_dir=$ac_dir
1848 ac_install_sh="$ac_aux_dir/install-sh -c"
1849 break
1850 elif test -f "$ac_dir/install.sh"; then
1851 ac_aux_dir=$ac_dir
1852 ac_install_sh="$ac_aux_dir/install.sh -c"
1853 break
1854 elif test -f "$ac_dir/shtool"; then
1855 ac_aux_dir=$ac_dir
1856 ac_install_sh="$ac_aux_dir/shtool install -c"
1857 break
1858 fi
1859done
1860if test -z "$ac_aux_dir"; then
1861 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1862$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1863 { (exit 1); exit 1; }; }
1864fi
1865
1866# These three variables are undocumented and unsupported,
1867# and are intended to be withdrawn in a future Autoconf release.
1868# They can cause serious problems if a builder's source tree is in a directory
1869# whose full name contains unusual characters.
1870ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1871ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1872ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1873
1874
1875# Find a good install program. We prefer a C program (faster),
1876# so one script is as good as another. But avoid the broken or
1877# incompatible versions:
1878# SysV /etc/install, /usr/sbin/install
1879# SunOS /usr/etc/install
1880# IRIX /sbin/install
1881# AIX /bin/install
1882# AmigaOS /C/install, which installs bootblocks on floppy discs
1883# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1884# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1885# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1886# OS/2's system install, which has a completely different semantic
1887# ./install, which can be erroneously created by make from ./install.sh.
1888# Reject install programs that cannot install multiple files.
1889{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1890$as_echo_n "checking for a BSD-compatible install... " >&6; }
1891if test -z "$INSTALL"; then
1892if test "${ac_cv_path_install+set}" = set; then
1893 $as_echo_n "(cached) " >&6
1894else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896for as_dir in $PATH
1897do
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 # Account for people who put trailing slashes in PATH elements.
1901case $as_dir/ in
1902 ./ | .// | /cC/* | \
1903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1904 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1905 /usr/ucb/* ) ;;
1906 *)
1907 # OSF1 and SCO ODT 3.0 have their own names for install.
1908 # Don't use installbsd from OSF since it installs stuff as root
1909 # by default.
1910 for ac_prog in ginstall scoinst install; do
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1913 if test $ac_prog = install &&
1914 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915 # AIX install. It has an incompatible calling convention.
1916 :
1917 elif test $ac_prog = install &&
1918 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919 # program-specific install script used by HP pwplus--don't use.
1920 :
1921 else
1922 rm -rf conftest.one conftest.two conftest.dir
1923 echo one > conftest.one
1924 echo two > conftest.two
1925 mkdir conftest.dir
1926 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1927 test -s conftest.one && test -s conftest.two &&
1928 test -s conftest.dir/conftest.one &&
1929 test -s conftest.dir/conftest.two
1930 then
1931 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1932 break 3
1933 fi
1934 fi
1935 fi
1936 done
1937 done
1938 ;;
1939esac
1940
1941done
1942IFS=$as_save_IFS
1943
1944rm -rf conftest.one conftest.two conftest.dir
1945
1946fi
1947 if test "${ac_cv_path_install+set}" = set; then
1948 INSTALL=$ac_cv_path_install
1949 else
1950 # As a last resort, use the slow shell script. Don't cache a
1951 # value for INSTALL within a source directory, because that will
1952 # break other packages using the cache if that directory is
1953 # removed, or if the value is a relative name.
1954 INSTALL=$ac_install_sh
1955 fi
1956fi
1957{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1958$as_echo "$INSTALL" >&6; }
1959
1960# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961# It thinks the first close brace ends the variable substitution.
1962test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963
1964test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965
1966test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967
1968{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1969$as_echo_n "checking whether build environment is sane... " >&6; }
1970# Just in case
1971sleep 1
1972echo timestamp > conftest.file
1973# Do `set' in a subshell so we don't clobber the current shell's
1974# arguments. Must try -L first in case configure is actually a
1975# symlink; some systems play weird games with the mod time of symlinks
1976# (eg FreeBSD returns the mod time of the symlink's containing
1977# directory).
1978if (
1979 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1980 if test "$*" = "X"; then
1981 # -L didn't work.
1982 set X `ls -t $srcdir/configure conftest.file`
1983 fi
1984 rm -f conftest.file
1985 if test "$*" != "X $srcdir/configure conftest.file" \
1986 && test "$*" != "X conftest.file $srcdir/configure"; then
1987
1988 # If neither matched, then we have a broken ls. This can happen
1989 # if, for instance, CONFIG_SHELL is bash and it inherits a
1990 # broken ls alias from the environment. This has actually
1991 # happened. Such a system could not be considered "sane".
1992 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1993alias in your environment" >&5
1994$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1995alias in your environment" >&2;}
1996 { (exit 1); exit 1; }; }
1997 fi
1998
1999 test "$2" = conftest.file
2000 )
2001then
2002 # Ok.
2003 :
2004else
2005 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2006Check your system clock" >&5
2007$as_echo "$as_me: error: newly created file is older than distributed files!
2008Check your system clock" >&2;}
2009 { (exit 1); exit 1; }; }
2010fi
2011{ $as_echo "$as_me:$LINENO: result: yes" >&5
2012$as_echo "yes" >&6; }
2013test "$program_prefix" != NONE &&
2014 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2015# Use a double $ so make ignores it.
2016test "$program_suffix" != NONE &&
2017 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2018# Double any \ or $.
2019# By default was `s,x,x', remove it if useless.
2020ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2021program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2022
2023# expand $ac_aux_dir to an absolute path
2024am_aux_dir=`cd $ac_aux_dir && pwd`
2025
2026test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2027# Use eval to expand $SHELL
2028if eval "$MISSING --run true"; then
2029 am_missing_run="$MISSING --run "
2030else
2031 am_missing_run=
2032 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2033$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2034fi
2035
2036{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2037$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2038if test -z "$MKDIR_P"; then
2039 if test "${ac_cv_path_mkdir+set}" = set; then
2040 $as_echo_n "(cached) " >&6
2041else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_prog in mkdir gmkdir; do
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2050 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2051 'mkdir (GNU coreutils) '* | \
2052 'mkdir (coreutils) '* | \
2053 'mkdir (fileutils) '4.1*)
2054 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2055 break 3;;
2056 esac
2057 done
2058 done
2059done
2060IFS=$as_save_IFS
2061
2062fi
2063
2064 if test "${ac_cv_path_mkdir+set}" = set; then
2065 MKDIR_P="$ac_cv_path_mkdir -p"
2066 else
2067 # As a last resort, use the slow shell script. Don't cache a
2068 # value for MKDIR_P within a source directory, because that will
2069 # break other packages using the cache if that directory is
2070 # removed, or if the value is a relative name.
2071 test -d ./--version && rmdir ./--version
2072 MKDIR_P="$ac_install_sh -d"
2073 fi
2074fi
2075{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2076$as_echo "$MKDIR_P" >&6; }
2077
2078mkdir_p="$MKDIR_P"
2079case $mkdir_p in
2080 [\\/$]* | ?:[\\/]*) ;;
2081 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2082esac
2083
2084for ac_prog in gawk mawk nawk awk
2085do
2086 # Extract the first word of "$ac_prog", so it can be a program name with args.
2087set dummy $ac_prog; ac_word=$2
2088{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if test "${ac_cv_prog_AWK+set}" = set; then
2091 $as_echo_n "(cached) " >&6
2092else
2093 if test -n "$AWK"; then
2094 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_AWK="$ac_prog"
2104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2106 fi
2107done
2108done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113AWK=$ac_cv_prog_AWK
2114if test -n "$AWK"; then
2115 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2116$as_echo "$AWK" >&6; }
2117else
2118 { $as_echo "$as_me:$LINENO: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122
2123 test -n "$AWK" && break
2124done
2125
2126{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2127$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2128set x ${MAKE-make}
2129ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2130if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2131 $as_echo_n "(cached) " >&6
2132else
2133 cat >conftest.make <<\_ACEOF
2134SHELL = /bin/sh
2135all:
2136 @echo '@@@%%%=$(MAKE)=@@@%%%'
2137_ACEOF
2138# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2139case `${MAKE-make} -f conftest.make 2>/dev/null` in
2140 *@@@%%%=?*=@@@%%%*)
2141 eval ac_cv_prog_make_${ac_make}_set=yes;;
2142 *)
2143 eval ac_cv_prog_make_${ac_make}_set=no;;
2144esac
2145rm -f conftest.make
2146fi
2147if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2148 { $as_echo "$as_me:$LINENO: result: yes" >&5
2149$as_echo "yes" >&6; }
2150 SET_MAKE=
2151else
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153$as_echo "no" >&6; }
2154 SET_MAKE="MAKE=${MAKE-make}"
2155fi
2156
2157rm -rf .tst 2>/dev/null
2158mkdir .tst 2>/dev/null
2159if test -d .tst; then
2160 am__leading_dot=.
2161else
2162 am__leading_dot=_
2163fi
2164rmdir .tst 2>/dev/null
2165
2166if test "`cd $srcdir && pwd`" != "`pwd`"; then
2167 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2168 # is not polluted with repeated "-I."
2169 am__isrc=' -I$(srcdir)'
2170 # test to see if srcdir already configured
2171 if test -f $srcdir/config.status; then
2172 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2173$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2174 { (exit 1); exit 1; }; }
2175 fi
2176fi
2177
2178# test whether we have cygpath
2179if test -z "$CYGPATH_W"; then
2180 if (cygpath --version) >/dev/null 2>/dev/null; then
2181 CYGPATH_W='cygpath -w'
2182 else
2183 CYGPATH_W=echo
2184 fi
2185fi
2186
2187
2188# Define the identity of the package.
2189 PACKAGE='maze-of-life'
2190 VERSION='2.0'
2191
2192
2193cat >>confdefs.h <<_ACEOF
2194#define PACKAGE "$PACKAGE"
2195_ACEOF
2196
2197
2198cat >>confdefs.h <<_ACEOF
2199#define VERSION "$VERSION"
2200_ACEOF
2201
2202# Some tools Automake needs.
2203
2204ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2205
2206
2207AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2208
2209
2210AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2211
2212
2213AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2214
2215
2216MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2217
2218install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2219
2220# Installed binaries are usually stripped using `strip' when the user
2221# run `make install-strip'. However `strip' might not be the right
2222# tool to use in cross-compilation environments, therefore Automake
2223# will honor the `STRIP' environment variable to overrule this program.
2224if test "$cross_compiling" != no; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2227set dummy ${ac_tool_prefix}strip; ac_word=$2
2228{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2229$as_echo_n "checking for $ac_word... " >&6; }
2230if test "${ac_cv_prog_STRIP+set}" = set; then
2231 $as_echo_n "(cached) " >&6
2232else
2233 if test -n "$STRIP"; then
2234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2235else
2236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237for as_dir in $PATH
2238do
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2244 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247done
2248done
2249IFS=$as_save_IFS
2250
2251fi
2252fi
2253STRIP=$ac_cv_prog_STRIP
2254if test -n "$STRIP"; then
2255 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2256$as_echo "$STRIP" >&6; }
2257else
2258 { $as_echo "$as_me:$LINENO: result: no" >&5
2259$as_echo "no" >&6; }
2260fi
2261
2262
2263fi
2264if test -z "$ac_cv_prog_STRIP"; then
2265 ac_ct_STRIP=$STRIP
2266 # Extract the first word of "strip", so it can be a program name with args.
2267set dummy strip; ac_word=$2
2268{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2269$as_echo_n "checking for $ac_word... " >&6; }
2270if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2272else
2273 if test -n "$ac_ct_STRIP"; then
2274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279 IFS=$as_save_IFS
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_ac_ct_STRIP="strip"
2284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 break 2
2286 fi
2287done
2288done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2294if test -n "$ac_ct_STRIP"; then
2295 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2296$as_echo "$ac_ct_STRIP" >&6; }
2297else
2298 { $as_echo "$as_me:$LINENO: result: no" >&5
2299$as_echo "no" >&6; }
2300fi
2301
2302 if test "x$ac_ct_STRIP" = x; then
2303 STRIP=":"
2304 else
2305 case $cross_compiling:$ac_tool_warned in
2306yes:)
2307{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2308$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2309ac_tool_warned=yes ;;
2310esac
2311 STRIP=$ac_ct_STRIP
2312 fi
2313else
2314 STRIP="$ac_cv_prog_STRIP"
2315fi
2316
2317fi
2318INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2319
2320# We need awk for the "check" target. The system "awk" is bad on
2321# some platforms.
2322# Always define AMTAR for backward compatibility.
2323
2324AMTAR=${AMTAR-"${am_missing_run}tar"}
2325
2326am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2327
2328
2329
2330
2331
2332
2333ac_config_headers="$ac_config_headers config.h"
2334
2335
2336# Checks for programs.
2337ac_ext=cpp
2338ac_cpp='$CXXCPP $CPPFLAGS'
2339ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2342if test -z "$CXX"; then
2343 if test -n "$CCC"; then
2344 CXX=$CCC
2345 else
2346 if test -n "$ac_tool_prefix"; then
2347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2348 do
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2350set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2352$as_echo_n "checking for $ac_word... " >&6; }
2353if test "${ac_cv_prog_CXX+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2355else
2356 if test -n "$CXX"; then
2357 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2358else
2359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360for as_dir in $PATH
2361do
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2369 fi
2370done
2371done
2372IFS=$as_save_IFS
2373
2374fi
2375fi
2376CXX=$ac_cv_prog_CXX
2377if test -n "$CXX"; then
2378 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2379$as_echo "$CXX" >&6; }
2380else
2381 { $as_echo "$as_me:$LINENO: result: no" >&5
2382$as_echo "no" >&6; }
2383fi
2384
2385
2386 test -n "$CXX" && break
2387 done
2388fi
2389if test -z "$CXX"; then
2390 ac_ct_CXX=$CXX
2391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2392do
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2394set dummy $ac_prog; ac_word=$2
2395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396$as_echo_n "checking for $ac_word... " >&6; }
2397if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2398 $as_echo_n "(cached) " >&6
2399else
2400 if test -n "$ac_ct_CXX"; then
2401 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2402else
2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404for as_dir in $PATH
2405do
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_CXX="$ac_prog"
2411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2413 fi
2414done
2415done
2416IFS=$as_save_IFS
2417
2418fi
2419fi
2420ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2421if test -n "$ac_ct_CXX"; then
2422 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2423$as_echo "$ac_ct_CXX" >&6; }
2424else
2425 { $as_echo "$as_me:$LINENO: result: no" >&5
2426$as_echo "no" >&6; }
2427fi
2428
2429
2430 test -n "$ac_ct_CXX" && break
2431done
2432
2433 if test "x$ac_ct_CXX" = x; then
2434 CXX="g++"
2435 else
2436 case $cross_compiling:$ac_tool_warned in
2437yes:)
2438{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2440ac_tool_warned=yes ;;
2441esac
2442 CXX=$ac_ct_CXX
2443 fi
2444fi
2445
2446 fi
2447fi
2448# Provide some information about the compiler.
2449$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2450set X $ac_compile
2451ac_compiler=$2
2452{ (ac_try="$ac_compiler --version >&5"
2453case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456esac
2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458$as_echo "$ac_try_echo") >&5
2459 (eval "$ac_compiler --version >&5") 2>&5
2460 ac_status=$?
2461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }
2463{ (ac_try="$ac_compiler -v >&5"
2464case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467esac
2468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2469$as_echo "$ac_try_echo") >&5
2470 (eval "$ac_compiler -v >&5") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }
2474{ (ac_try="$ac_compiler -V >&5"
2475case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2480$as_echo "$ac_try_echo") >&5
2481 (eval "$ac_compiler -V >&5") 2>&5
2482 ac_status=$?
2483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2485
2486cat >conftest.$ac_ext <<_ACEOF
2487/* confdefs.h. */
2488_ACEOF
2489cat confdefs.h >>conftest.$ac_ext
2490cat >>conftest.$ac_ext <<_ACEOF
2491/* end confdefs.h. */
2492
2493int
2494main ()
2495{
2496
2497 ;
2498 return 0;
2499}
2500_ACEOF
2501ac_clean_files_save=$ac_clean_files
2502ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2503# Try to create an executable without -o first, disregard a.out.
2504# It will help us diagnose broken compilers, and finding out an intuition
2505# of exeext.
2506{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2507$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2508ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2509
2510# The possible output files:
2511ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2512
2513ac_rmfiles=
2514for ac_file in $ac_files
2515do
2516 case $ac_file in
2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2518 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2519 esac
2520done
2521rm -f $ac_rmfiles
2522
2523if { (ac_try="$ac_link_default"
2524case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527esac
2528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2529$as_echo "$ac_try_echo") >&5
2530 (eval "$ac_link_default") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; then
2534 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2535# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2536# in a Makefile. We should not override ac_cv_exeext if it was cached,
2537# so that the user can short-circuit this test for compilers unknown to
2538# Autoconf.
2539for ac_file in $ac_files ''
2540do
2541 test -f "$ac_file" || continue
2542 case $ac_file in
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2544 ;;
2545 [ab].out )
2546 # We found the default executable, but exeext='' is most
2547 # certainly right.
2548 break;;
2549 *.* )
2550 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2551 then :; else
2552 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 fi
2554 # We set ac_cv_exeext here because the later test for it is not
2555 # safe: cross compilers may not add the suffix if given an `-o'
2556 # argument, so we may need to know it at that point already.
2557 # Even if this section looks crufty: it has the advantage of
2558 # actually working.
2559 break;;
2560 * )
2561 break;;
2562 esac
2563done
2564test "$ac_cv_exeext" = no && ac_cv_exeext=
2565
2566else
2567 ac_file=''
2568fi
2569
2570{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2571$as_echo "$ac_file" >&6; }
2572if test -z "$ac_file"; then
2573 $as_echo "$as_me: failed program was:" >&5
2574sed 's/^/| /' conftest.$ac_ext >&5
2575
2576{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2579See \`config.log' for more details." >&5
2580$as_echo "$as_me: error: C++ compiler cannot create executables
2581See \`config.log' for more details." >&2;}
2582 { (exit 77); exit 77; }; }; }
2583fi
2584
2585ac_exeext=$ac_cv_exeext
2586
2587# Check that the compiler produces executables we can run. If not, either
2588# the compiler is broken, or we cross compile.
2589{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2590$as_echo_n "checking whether the C++ compiler works... " >&6; }
2591# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2592# If not cross compiling, check that we can run a simple program.
2593if test "$cross_compiling" != yes; then
2594 if { ac_try='./$ac_file'
2595 { (case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598esac
2599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2600$as_echo "$ac_try_echo") >&5
2601 (eval "$ac_try") 2>&5
2602 ac_status=$?
2603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2605 cross_compiling=no
2606 else
2607 if test "$cross_compiling" = maybe; then
2608 cross_compiling=yes
2609 else
2610 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2613If you meant to cross compile, use \`--host'.
2614See \`config.log' for more details." >&5
2615$as_echo "$as_me: error: cannot run C++ compiled programs.
2616If you meant to cross compile, use \`--host'.
2617See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }; }
2619 fi
2620 fi
2621fi
2622{ $as_echo "$as_me:$LINENO: result: yes" >&5
2623$as_echo "yes" >&6; }
2624
2625rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2626ac_clean_files=$ac_clean_files_save
2627# Check that the compiler produces executables we can run. If not, either
2628# the compiler is broken, or we cross compile.
2629{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2630$as_echo_n "checking whether we are cross compiling... " >&6; }
2631{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2632$as_echo "$cross_compiling" >&6; }
2633
2634{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2635$as_echo_n "checking for suffix of executables... " >&6; }
2636if { (ac_try="$ac_link"
2637case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640esac
2641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642$as_echo "$ac_try_echo") >&5
2643 (eval "$ac_link") 2>&5
2644 ac_status=$?
2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2648# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2649# work properly (i.e., refer to `conftest.exe'), while it won't with
2650# `rm'.
2651for ac_file in conftest.exe conftest conftest.*; do
2652 test -f "$ac_file" || continue
2653 case $ac_file in
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2655 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2656 break;;
2657 * ) break;;
2658 esac
2659done
2660else
2661 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2664See \`config.log' for more details." >&5
2665$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2666See \`config.log' for more details." >&2;}
2667 { (exit 1); exit 1; }; }; }
2668fi
2669
2670rm -f conftest$ac_cv_exeext
2671{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2672$as_echo "$ac_cv_exeext" >&6; }
2673
2674rm -f conftest.$ac_ext
2675EXEEXT=$ac_cv_exeext
2676ac_exeext=$EXEEXT
2677{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2678$as_echo_n "checking for suffix of object files... " >&6; }
2679if test "${ac_cv_objext+set}" = set; then
2680 $as_echo_n "(cached) " >&6
2681else
2682 cat >conftest.$ac_ext <<_ACEOF
2683/* confdefs.h. */
2684_ACEOF
2685cat confdefs.h >>conftest.$ac_ext
2686cat >>conftest.$ac_ext <<_ACEOF
2687/* end confdefs.h. */
2688
2689int
2690main ()
2691{
2692
2693 ;
2694 return 0;
2695}
2696_ACEOF
2697rm -f conftest.o conftest.obj
2698if { (ac_try="$ac_compile"
2699case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702esac
2703eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704$as_echo "$ac_try_echo") >&5
2705 (eval "$ac_compile") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 for ac_file in conftest.o conftest.obj conftest.*; do
2710 test -f "$ac_file" || continue;
2711 case $ac_file in
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2714 break;;
2715 esac
2716done
2717else
2718 $as_echo "$as_me: failed program was:" >&5
2719sed 's/^/| /' conftest.$ac_ext >&5
2720
2721{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2723{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2724See \`config.log' for more details." >&5
2725$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2726See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }; }
2728fi
2729
2730rm -f conftest.$ac_cv_objext conftest.$ac_ext
2731fi
2732{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2733$as_echo "$ac_cv_objext" >&6; }
2734OBJEXT=$ac_cv_objext
2735ac_objext=$OBJEXT
2736{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2737$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2738if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2739 $as_echo_n "(cached) " >&6
2740else
2741 cat >conftest.$ac_ext <<_ACEOF
2742/* confdefs.h. */
2743_ACEOF
2744cat confdefs.h >>conftest.$ac_ext
2745cat >>conftest.$ac_ext <<_ACEOF
2746/* end confdefs.h. */
2747
2748int
2749main ()
2750{
2751#ifndef __GNUC__
2752 choke me
2753#endif
2754
2755 ;
2756 return 0;
2757}
2758_ACEOF
2759rm -f conftest.$ac_objext
2760if { (ac_try="$ac_compile"
2761case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764esac
2765eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2766$as_echo "$ac_try_echo") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2768 ac_status=$?
2769 grep -v '^ *+' conftest.er1 >conftest.err
2770 rm -f conftest.er1
2771 cat conftest.err >&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } && {
2774 test -z "$ac_cxx_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest.$ac_objext; then
2777 ac_compiler_gnu=yes
2778else
2779 $as_echo "$as_me: failed program was:" >&5
2780sed 's/^/| /' conftest.$ac_ext >&5
2781
2782 ac_compiler_gnu=no
2783fi
2784
2785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2787
2788fi
2789{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2790$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2791if test $ac_compiler_gnu = yes; then
2792 GXX=yes
2793else
2794 GXX=
2795fi
2796ac_test_CXXFLAGS=${CXXFLAGS+set}
2797ac_save_CXXFLAGS=$CXXFLAGS
2798{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2799$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2800if test "${ac_cv_prog_cxx_g+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2802else
2803 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2804 ac_cxx_werror_flag=yes
2805 ac_cv_prog_cxx_g=no
2806 CXXFLAGS="-g"
2807 cat >conftest.$ac_ext <<_ACEOF
2808/* confdefs.h. */
2809_ACEOF
2810cat confdefs.h >>conftest.$ac_ext
2811cat >>conftest.$ac_ext <<_ACEOF
2812/* end confdefs.h. */
2813
2814int
2815main ()
2816{
2817
2818 ;
2819 return 0;
2820}
2821_ACEOF
2822rm -f conftest.$ac_objext
2823if { (ac_try="$ac_compile"
2824case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827esac
2828eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829$as_echo "$ac_try_echo") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_cxx_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then
2840 ac_cv_prog_cxx_g=yes
2841else
2842 $as_echo "$as_me: failed program was:" >&5
2843sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 CXXFLAGS=""
2846 cat >conftest.$ac_ext <<_ACEOF
2847/* confdefs.h. */
2848_ACEOF
2849cat confdefs.h >>conftest.$ac_ext
2850cat >>conftest.$ac_ext <<_ACEOF
2851/* end confdefs.h. */
2852
2853int
2854main ()
2855{
2856
2857 ;
2858 return 0;
2859}
2860_ACEOF
2861rm -f conftest.$ac_objext
2862if { (ac_try="$ac_compile"
2863case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866esac
2867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868$as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compile") 2>conftest.er1
2870 ac_status=$?
2871 grep -v '^ *+' conftest.er1 >conftest.err
2872 rm -f conftest.er1
2873 cat conftest.err >&5
2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_cxx_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then
2879 :
2880else
2881 $as_echo "$as_me: failed program was:" >&5
2882sed 's/^/| /' conftest.$ac_ext >&5
2883
2884 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2885 CXXFLAGS="-g"
2886 cat >conftest.$ac_ext <<_ACEOF
2887/* confdefs.h. */
2888_ACEOF
2889cat confdefs.h >>conftest.$ac_ext
2890cat >>conftest.$ac_ext <<_ACEOF
2891/* end confdefs.h. */
2892
2893int
2894main ()
2895{
2896
2897 ;
2898 return 0;
2899}
2900_ACEOF
2901rm -f conftest.$ac_objext
2902if { (ac_try="$ac_compile"
2903case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906esac
2907eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2908$as_echo "$ac_try_echo") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_cxx_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.$ac_objext; then
2919 ac_cv_prog_cxx_g=yes
2920else
2921 $as_echo "$as_me: failed program was:" >&5
2922sed 's/^/| /' conftest.$ac_ext >&5
2923
2924
2925fi
2926
2927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928fi
2929
2930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931fi
2932
2933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2935fi
2936{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2937$as_echo "$ac_cv_prog_cxx_g" >&6; }
2938if test "$ac_test_CXXFLAGS" = set; then
2939 CXXFLAGS=$ac_save_CXXFLAGS
2940elif test $ac_cv_prog_cxx_g = yes; then
2941 if test "$GXX" = yes; then
2942 CXXFLAGS="-g -O2"
2943 else
2944 CXXFLAGS="-g"
2945 fi
2946else
2947 if test "$GXX" = yes; then
2948 CXXFLAGS="-O2"
2949 else
2950 CXXFLAGS=
2951 fi
2952fi
2953ac_ext=c
2954ac_cpp='$CPP $CPPFLAGS'
2955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958DEPDIR="${am__leading_dot}deps"
2959
2960ac_config_commands="$ac_config_commands depfiles"
2961
2962
2963am_make=${MAKE-make}
2964cat > confinc << 'END'
2965am__doit:
2966 @echo done
2967.PHONY: am__doit
2968END
2969# If we don't find an include directive, just comment out the code.
2970{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2971$as_echo_n "checking for style of include used by $am_make... " >&6; }
2972am__include="#"
2973am__quote=
2974_am_result=none
2975# First try GNU make style include.
2976echo "include confinc" > confmf
2977# We grep out `Entering directory' and `Leaving directory'
2978# messages which can occur if `w' ends up in MAKEFLAGS.
2979# In particular we don't look at `^make:' because GNU make might
2980# be invoked under some other name (usually "gmake"), in which
2981# case it prints its new name instead of `make'.
2982if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2983 am__include=include
2984 am__quote=
2985 _am_result=GNU
2986fi
2987# Now try BSD make style include.
2988if test "$am__include" = "#"; then
2989 echo '.include "confinc"' > confmf
2990 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2991 am__include=.include
2992 am__quote="\""
2993 _am_result=BSD
2994 fi
2995fi
2996
2997
2998{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2999$as_echo "$_am_result" >&6; }
3000rm -f confinc confmf
3001
3002# Check whether --enable-dependency-tracking was given.
3003if test "${enable_dependency_tracking+set}" = set; then
3004 enableval=$enable_dependency_tracking;
3005fi
3006
3007if test "x$enable_dependency_tracking" != xno; then
3008 am_depcomp="$ac_aux_dir/depcomp"
3009 AMDEPBACKSLASH='\'
3010fi
3011 if test "x$enable_dependency_tracking" != xno; then
3012 AMDEP_TRUE=
3013 AMDEP_FALSE='#'
3014else
3015 AMDEP_TRUE='#'
3016 AMDEP_FALSE=
3017fi
3018
3019
3020
3021depcc="$CXX" am_compiler_list=
3022
3023{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3024$as_echo_n "checking dependency style of $depcc... " >&6; }
3025if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3026 $as_echo_n "(cached) " >&6
3027else
3028 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3029 # We make a subdir and do the tests there. Otherwise we can end up
3030 # making bogus files that we don't know about and never remove. For
3031 # instance it was reported that on HP-UX the gcc test will end up
3032 # making a dummy file named `D' -- because `-MD' means `put the output
3033 # in D'.
3034 mkdir conftest.dir
3035 # Copy depcomp to subdir because otherwise we won't find it if we're
3036 # using a relative directory.
3037 cp "$am_depcomp" conftest.dir
3038 cd conftest.dir
3039 # We will build objects and dependencies in a subdirectory because
3040 # it helps to detect inapplicable dependency modes. For instance
3041 # both Tru64's cc and ICC support -MD to output dependencies as a
3042 # side effect of compilation, but ICC will put the dependencies in
3043 # the current directory while Tru64 will put them in the object
3044 # directory.
3045 mkdir sub
3046
3047 am_cv_CXX_dependencies_compiler_type=none
3048 if test "$am_compiler_list" = ""; then
3049 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3050 fi
3051 for depmode in $am_compiler_list; do
3052 # Setup a source with many dependencies, because some compilers
3053 # like to wrap large dependency lists on column 80 (with \), and
3054 # we should not choose a depcomp mode which is confused by this.
3055 #
3056 # We need to recreate these files for each test, as the compiler may
3057 # overwrite some of them when testing with obscure command lines.
3058 # This happens at least with the AIX C compiler.
3059 : > sub/conftest.c
3060 for i in 1 2 3 4 5 6; do
3061 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3062 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3063 # Solaris 8's {/usr,}/bin/sh.
3064 touch sub/conftst$i.h
3065 done
3066 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3067
3068 case $depmode in
3069 nosideeffect)
3070 # after this tag, mechanisms are not by side-effect, so they'll
3071 # only be used when explicitly requested
3072 if test "x$enable_dependency_tracking" = xyes; then
3073 continue
3074 else
3075 break
3076 fi
3077 ;;
3078 none) break ;;
3079 esac
3080 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3081 # mode. It turns out that the SunPro C++ compiler does not properly
3082 # handle `-M -o', and we need to detect this.
3083 if depmode=$depmode \
3084 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3085 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3086 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3087 >/dev/null 2>conftest.err &&
3088 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3089 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3090 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3091 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3092 # icc doesn't choke on unknown options, it will just issue warnings
3093 # or remarks (even with -Werror). So we grep stderr for any message
3094 # that says an option was ignored or not supported.
3095 # When given -MP, icc 7.0 and 7.1 complain thusly:
3096 # icc: Command line warning: ignoring option '-M'; no argument required
3097 # The diagnosis changed in icc 8.0:
3098 # icc: Command line remark: option '-MP' not supported
3099 if (grep 'ignoring option' conftest.err ||
3100 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3101 am_cv_CXX_dependencies_compiler_type=$depmode
3102 break
3103 fi
3104 fi
3105 done
3106
3107 cd ..
3108 rm -rf conftest.dir
3109else
3110 am_cv_CXX_dependencies_compiler_type=none
3111fi
3112
3113fi
3114{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3115$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3116CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3117
3118 if
3119 test "x$enable_dependency_tracking" != xno \
3120 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3121 am__fastdepCXX_TRUE=
3122 am__fastdepCXX_FALSE='#'
3123else
3124 am__fastdepCXX_TRUE='#'
3125 am__fastdepCXX_FALSE=
3126fi
3127
3128
3129ac_ext=c
3130ac_cpp='$CPP $CPPFLAGS'
3131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133ac_compiler_gnu=$ac_cv_c_compiler_gnu
3134if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3136set dummy ${ac_tool_prefix}gcc; ac_word=$2
3137{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3138$as_echo_n "checking for $ac_word... " >&6; }
3139if test "${ac_cv_prog_CC+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3141else
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC="$CC" # Let the user override the test.
3144else
3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146for as_dir in $PATH
3147do
3148 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3153 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 break 2
3155 fi
3156done
3157done
3158IFS=$as_save_IFS
3159
3160fi
3161fi
3162CC=$ac_cv_prog_CC
3163if test -n "$CC"; then
3164 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3165$as_echo "$CC" >&6; }
3166else
3167 { $as_echo "$as_me:$LINENO: result: no" >&5
3168$as_echo "no" >&6; }
3169fi
3170
3171
3172fi
3173if test -z "$ac_cv_prog_CC"; then
3174 ac_ct_CC=$CC
3175 # Extract the first word of "gcc", so it can be a program name with args.
3176set dummy gcc; ac_word=$2
3177{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3178$as_echo_n "checking for $ac_word... " >&6; }
3179if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3180 $as_echo_n "(cached) " >&6
3181else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184else
3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH
3187do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_ac_ct_CC="gcc"
3193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3195 fi
3196done
3197done
3198IFS=$as_save_IFS
3199
3200fi
3201fi
3202ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3205$as_echo "$ac_ct_CC" >&6; }
3206else
3207 { $as_echo "$as_me:$LINENO: result: no" >&5
3208$as_echo "no" >&6; }
3209fi
3210
3211 if test "x$ac_ct_CC" = x; then
3212 CC=""
3213 else
3214 case $cross_compiling:$ac_tool_warned in
3215yes:)
3216{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218ac_tool_warned=yes ;;
3219esac
3220 CC=$ac_ct_CC
3221 fi
3222else
3223 CC="$ac_cv_prog_CC"
3224fi
3225
3226if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3229set dummy ${ac_tool_prefix}cc; ac_word=$2
3230{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3231$as_echo_n "checking for $ac_word... " >&6; }
3232if test "${ac_cv_prog_CC+set}" = set; then
3233 $as_echo_n "(cached) " >&6
3234else
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC="$CC" # Let the user override the test.
3237else
3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239for as_dir in $PATH
3240do
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_CC="${ac_tool_prefix}cc"
3246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 break 2
3248 fi
3249done
3250done
3251IFS=$as_save_IFS
3252
3253fi
3254fi
3255CC=$ac_cv_prog_CC
3256if test -n "$CC"; then
3257 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3258$as_echo "$CC" >&6; }
3259else
3260 { $as_echo "$as_me:$LINENO: result: no" >&5
3261$as_echo "no" >&6; }
3262fi
3263
3264
3265 fi
3266fi
3267if test -z "$CC"; then
3268 # Extract the first word of "cc", so it can be a program name with args.
3269set dummy cc; ac_word=$2
3270{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3271$as_echo_n "checking for $ac_word... " >&6; }
3272if test "${ac_cv_prog_CC+set}" = set; then
3273 $as_echo_n "(cached) " >&6
3274else
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3277else
3278 ac_prog_rejected=no
3279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280for as_dir in $PATH
3281do
3282 IFS=$as_save_IFS
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3287 ac_prog_rejected=yes
3288 continue
3289 fi
3290 ac_cv_prog_CC="cc"
3291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294done
3295done
3296IFS=$as_save_IFS
3297
3298if test $ac_prog_rejected = yes; then
3299 # We found a bogon in the path, so make sure we never use it.
3300 set dummy $ac_cv_prog_CC
3301 shift
3302 if test $# != 0; then
3303 # We chose a different compiler from the bogus one.
3304 # However, it has the same basename, so the bogon will be chosen
3305 # first if we set CC to just the basename; use the full file name.
3306 shift
3307 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3308 fi
3309fi
3310fi
3311fi
3312CC=$ac_cv_prog_CC
3313if test -n "$CC"; then
3314 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3315$as_echo "$CC" >&6; }
3316else
3317 { $as_echo "$as_me:$LINENO: result: no" >&5
3318$as_echo "no" >&6; }
3319fi
3320
3321
3322fi
3323if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 for ac_prog in cl.exe
3326 do
3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3328set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3329{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3330$as_echo_n "checking for $ac_word... " >&6; }
3331if test "${ac_cv_prog_CC+set}" = set; then
3332 $as_echo_n "(cached) " >&6
3333else
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC="$CC" # Let the user override the test.
3336else
3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338for as_dir in $PATH
3339do
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3347 fi
3348done
3349done
3350IFS=$as_save_IFS
3351
3352fi
3353fi
3354CC=$ac_cv_prog_CC
3355if test -n "$CC"; then
3356 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3357$as_echo "$CC" >&6; }
3358else
3359 { $as_echo "$as_me:$LINENO: result: no" >&5
3360$as_echo "no" >&6; }
3361fi
3362
3363
3364 test -n "$CC" && break
3365 done
3366fi
3367if test -z "$CC"; then
3368 ac_ct_CC=$CC
3369 for ac_prog in cl.exe
3370do
3371 # Extract the first word of "$ac_prog", so it can be a program name with args.
3372set dummy $ac_prog; ac_word=$2
3373{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3374$as_echo_n "checking for $ac_word... " >&6; }
3375if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3376 $as_echo_n "(cached) " >&6
3377else
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380else
3381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382for as_dir in $PATH
3383do
3384 IFS=$as_save_IFS
3385 test -z "$as_dir" && as_dir=.
3386 for ac_exec_ext in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC="$ac_prog"
3389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 break 2
3391 fi
3392done
3393done
3394IFS=$as_save_IFS
3395
3396fi
3397fi
3398ac_ct_CC=$ac_cv_prog_ac_ct_CC
3399if test -n "$ac_ct_CC"; then
3400 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3401$as_echo "$ac_ct_CC" >&6; }
3402else
3403 { $as_echo "$as_me:$LINENO: result: no" >&5
3404$as_echo "no" >&6; }
3405fi
3406
3407
3408 test -n "$ac_ct_CC" && break
3409done
3410
3411 if test "x$ac_ct_CC" = x; then
3412 CC=""
3413 else
3414 case $cross_compiling:$ac_tool_warned in
3415yes:)
3416{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418ac_tool_warned=yes ;;
3419esac
3420 CC=$ac_ct_CC
3421 fi
3422fi
3423
3424fi
3425
3426
3427test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3430See \`config.log' for more details." >&5
3431$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3432See \`config.log' for more details." >&2;}
3433 { (exit 1); exit 1; }; }; }
3434
3435# Provide some information about the compiler.
3436$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3437set X $ac_compile
3438ac_compiler=$2
3439{ (ac_try="$ac_compiler --version >&5"
3440case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443esac
3444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445$as_echo "$ac_try_echo") >&5
3446 (eval "$ac_compiler --version >&5") 2>&5
3447 ac_status=$?
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }
3450{ (ac_try="$ac_compiler -v >&5"
3451case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454esac
3455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3456$as_echo "$ac_try_echo") >&5
3457 (eval "$ac_compiler -v >&5") 2>&5
3458 ac_status=$?
3459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }
3461{ (ac_try="$ac_compiler -V >&5"
3462case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3465esac
3466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3467$as_echo "$ac_try_echo") >&5
3468 (eval "$ac_compiler -V >&5") 2>&5
3469 ac_status=$?
3470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }
3472
3473{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3474$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475if test "${ac_cv_c_compiler_gnu+set}" = set; then
3476 $as_echo_n "(cached) " >&6
3477else
3478 cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h. */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3483/* end confdefs.h. */
3484
3485int
3486main ()
3487{
3488#ifndef __GNUC__
3489 choke me
3490#endif
3491
3492 ;
3493 return 0;
3494}
3495_ACEOF
3496rm -f conftest.$ac_objext
3497if { (ac_try="$ac_compile"
3498case "(($ac_try" in
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3503$as_echo "$ac_try_echo") >&5
3504 (eval "$ac_compile") 2>conftest.er1
3505 ac_status=$?
3506 grep -v '^ *+' conftest.er1 >conftest.err
3507 rm -f conftest.er1
3508 cat conftest.err >&5
3509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && {
3511 test -z "$ac_c_werror_flag" ||
3512 test ! -s conftest.err
3513 } && test -s conftest.$ac_objext; then
3514 ac_compiler_gnu=yes
3515else
3516 $as_echo "$as_me: failed program was:" >&5
3517sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 ac_compiler_gnu=no
3520fi
3521
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529 GCC=yes
3530else
3531 GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if test "${ac_cv_prog_cc_g+set}" = set; then
3538 $as_echo_n "(cached) " >&6
3539else
3540 ac_save_c_werror_flag=$ac_c_werror_flag
3541 ac_c_werror_flag=yes
3542 ac_cv_prog_cc_g=no
3543 CFLAGS="-g"
3544 cat >conftest.$ac_ext <<_ACEOF
3545/* confdefs.h. */
3546_ACEOF
3547cat confdefs.h >>conftest.$ac_ext
3548cat >>conftest.$ac_ext <<_ACEOF
3549/* end confdefs.h. */
3550
3551int
3552main ()
3553{
3554
3555 ;
3556 return 0;
3557}
3558_ACEOF
3559rm -f conftest.$ac_objext
3560if { (ac_try="$ac_compile"
3561case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3564esac
3565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3566$as_echo "$ac_try_echo") >&5
3567 (eval "$ac_compile") 2>conftest.er1
3568 ac_status=$?
3569 grep -v '^ *+' conftest.er1 >conftest.err
3570 rm -f conftest.er1
3571 cat conftest.err >&5
3572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } && {
3574 test -z "$ac_c_werror_flag" ||
3575 test ! -s conftest.err
3576 } && test -s conftest.$ac_objext; then
3577 ac_cv_prog_cc_g=yes
3578else
3579 $as_echo "$as_me: failed program was:" >&5
3580sed 's/^/| /' conftest.$ac_ext >&5
3581
3582 CFLAGS=""
3583 cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h. */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h. */
3589
3590int
3591main ()
3592{
3593
3594 ;
3595 return 0;
3596}
3597_ACEOF
3598rm -f conftest.$ac_objext
3599if { (ac_try="$ac_compile"
3600case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603esac
3604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605$as_echo "$ac_try_echo") >&5
3606 (eval "$ac_compile") 2>conftest.er1
3607 ac_status=$?
3608 grep -v '^ *+' conftest.er1 >conftest.err
3609 rm -f conftest.er1
3610 cat conftest.err >&5
3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && {
3613 test -z "$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 } && test -s conftest.$ac_objext; then
3616 :
3617else
3618 $as_echo "$as_me: failed program was:" >&5
3619sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_c_werror_flag=$ac_save_c_werror_flag
3622 CFLAGS="-g"
3623 cat >conftest.$ac_ext <<_ACEOF
3624/* confdefs.h. */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3628/* end confdefs.h. */
3629
3630int
3631main ()
3632{
3633
3634 ;
3635 return 0;
3636}
3637_ACEOF
3638rm -f conftest.$ac_objext
3639if { (ac_try="$ac_compile"
3640case "(($ac_try" in
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3643esac
3644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645$as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3647 ac_status=$?
3648 grep -v '^ *+' conftest.er1 >conftest.err
3649 rm -f conftest.er1
3650 cat conftest.err >&5
3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3656 ac_cv_prog_cc_g=yes
3657else
3658 $as_echo "$as_me: failed program was:" >&5
3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661
3662fi
3663
3664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665fi
3666
3667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668fi
3669
3670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 ac_c_werror_flag=$ac_save_c_werror_flag
3672fi
3673{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3674$as_echo "$ac_cv_prog_cc_g" >&6; }
3675if test "$ac_test_CFLAGS" = set; then
3676 CFLAGS=$ac_save_CFLAGS
3677elif test $ac_cv_prog_cc_g = yes; then
3678 if test "$GCC" = yes; then
3679 CFLAGS="-g -O2"
3680 else
3681 CFLAGS="-g"
3682 fi
3683else
3684 if test "$GCC" = yes; then
3685 CFLAGS="-O2"
3686 else
3687 CFLAGS=
3688 fi
3689fi
3690{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3691$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3692if test "${ac_cv_prog_cc_c89+set}" = set; then
3693 $as_echo_n "(cached) " >&6
3694else
3695 ac_cv_prog_cc_c89=no
3696ac_save_CC=$CC
3697cat >conftest.$ac_ext <<_ACEOF
3698/* confdefs.h. */
3699_ACEOF
3700cat confdefs.h >>conftest.$ac_ext
3701cat >>conftest.$ac_ext <<_ACEOF
3702/* end confdefs.h. */
3703#include <stdarg.h>
3704#include <stdio.h>
3705#include <sys/types.h>
3706#include <sys/stat.h>
3707/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3708struct buf { int x; };
3709FILE * (*rcsopen) (struct buf *, struct stat *, int);
3710static char *e (p, i)
3711 char **p;
3712 int i;
3713{
3714 return p[i];
3715}
3716static char *f (char * (*g) (char **, int), char **p, ...)
3717{
3718 char *s;
3719 va_list v;
3720 va_start (v,p);
3721 s = g (p, va_arg (v,int));
3722 va_end (v);
3723 return s;
3724}
3725
3726/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3727 function prototypes and stuff, but not '\xHH' hex character constants.
3728 These don't provoke an error unfortunately, instead are silently treated
3729 as 'x'. The following induces an error, until -std is added to get
3730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3731 array size at least. It's necessary to write '\x00'==0 to get something
3732 that's true only with -std. */
3733int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3734
3735/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3736 inside strings and character constants. */
3737#define FOO(x) 'x'
3738int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3739
3740int test (int i, double x);
3741struct s1 {int (*f) (int a);};
3742struct s2 {int (*f) (double a);};
3743int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3744int argc;
3745char **argv;
3746int
3747main ()
3748{
3749return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750 ;
3751 return 0;
3752}
3753_ACEOF
3754for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3756do
3757 CC="$ac_save_CC $ac_arg"
3758 rm -f conftest.$ac_objext
3759if { (ac_try="$ac_compile"
3760case "(($ac_try" in
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3763esac
3764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3765$as_echo "$ac_try_echo") >&5
3766 (eval "$ac_compile") 2>conftest.er1
3767 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1
3770 cat conftest.err >&5
3771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && {
3773 test -z "$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 } && test -s conftest.$ac_objext; then
3776 ac_cv_prog_cc_c89=$ac_arg
3777else
3778 $as_echo "$as_me: failed program was:" >&5
3779sed 's/^/| /' conftest.$ac_ext >&5
3780
3781
3782fi
3783
3784rm -f core conftest.err conftest.$ac_objext
3785 test "x$ac_cv_prog_cc_c89" != "xno" && break
3786done
3787rm -f conftest.$ac_ext
3788CC=$ac_save_CC
3789
3790fi
3791# AC_CACHE_VAL
3792case "x$ac_cv_prog_cc_c89" in
3793 x)
3794 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3795$as_echo "none needed" >&6; } ;;
3796 xno)
3797 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3798$as_echo "unsupported" >&6; } ;;
3799 *)
3800 CC="$CC $ac_cv_prog_cc_c89"
3801 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3802$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3803esac
3804
3805
3806ac_ext=c
3807ac_cpp='$CPP $CPPFLAGS'
3808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811
3812depcc="$CC" am_compiler_list=
3813
3814{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3815$as_echo_n "checking dependency style of $depcc... " >&6; }
3816if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3817 $as_echo_n "(cached) " >&6
3818else
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named `D' -- because `-MD' means `put the output
3824 # in D'.
3825 mkdir conftest.dir
3826 # Copy depcomp to subdir because otherwise we won't find it if we're
3827 # using a relative directory.
3828 cp "$am_depcomp" conftest.dir
3829 cd conftest.dir
3830 # We will build objects and dependencies in a subdirectory because
3831 # it helps to detect inapplicable dependency modes. For instance
3832 # both Tru64's cc and ICC support -MD to output dependencies as a
3833 # side effect of compilation, but ICC will put the dependencies in
3834 # the current directory while Tru64 will put them in the object
3835 # directory.
3836 mkdir sub
3837
3838 am_cv_CC_dependencies_compiler_type=none
3839 if test "$am_compiler_list" = ""; then
3840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841 fi
3842 for depmode in $am_compiler_list; do
3843 # Setup a source with many dependencies, because some compilers
3844 # like to wrap large dependency lists on column 80 (with \), and
3845 # we should not choose a depcomp mode which is confused by this.
3846 #
3847 # We need to recreate these files for each test, as the compiler may
3848 # overwrite some of them when testing with obscure command lines.
3849 # This happens at least with the AIX C compiler.
3850 : > sub/conftest.c
3851 for i in 1 2 3 4 5 6; do
3852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3853 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3854 # Solaris 8's {/usr,}/bin/sh.
3855 touch sub/conftst$i.h
3856 done
3857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3858
3859 case $depmode in
3860 nosideeffect)
3861 # after this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested
3863 if test "x$enable_dependency_tracking" = xyes; then
3864 continue
3865 else
3866 break
3867 fi
3868 ;;
3869 none) break ;;
3870 esac
3871 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3872 # mode. It turns out that the SunPro C++ compiler does not properly
3873 # handle `-M -o', and we need to detect this.
3874 if depmode=$depmode \
3875 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3876 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3877 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3878 >/dev/null 2>conftest.err &&
3879 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3880 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3881 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3882 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3883 # icc doesn't choke on unknown options, it will just issue warnings
3884 # or remarks (even with -Werror). So we grep stderr for any message
3885 # that says an option was ignored or not supported.
3886 # When given -MP, icc 7.0 and 7.1 complain thusly:
3887 # icc: Command line warning: ignoring option '-M'; no argument required
3888 # The diagnosis changed in icc 8.0:
3889 # icc: Command line remark: option '-MP' not supported
3890 if (grep 'ignoring option' conftest.err ||
3891 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3892 am_cv_CC_dependencies_compiler_type=$depmode
3893 break
3894 fi
3895 fi
3896 done
3897
3898 cd ..
3899 rm -rf conftest.dir
3900else
3901 am_cv_CC_dependencies_compiler_type=none
3902fi
3903
3904fi
3905{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3906$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3907CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908
3909 if
3910 test "x$enable_dependency_tracking" != xno \
3911 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3912 am__fastdepCC_TRUE=
3913 am__fastdepCC_FALSE='#'
3914else
3915 am__fastdepCC_TRUE='#'
3916 am__fastdepCC_FALSE=
3917fi
3918
3919
3920
3921# Checks for libraries.
3922
3923
3924if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3927set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3928{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3929$as_echo_n "checking for $ac_word... " >&6; }
3930if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3931 $as_echo_n "(cached) " >&6
3932else
3933 case $PKG_CONFIG in
3934 [\\/]* | ?:[\\/]*)
3935 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3936 ;;
3937 *)
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939for as_dir in $PATH
3940do
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3948 fi
3949done
3950done
3951IFS=$as_save_IFS
3952
3953 ;;
3954esac
3955fi
3956PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3957if test -n "$PKG_CONFIG"; then
3958 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3959$as_echo "$PKG_CONFIG" >&6; }
3960else
3961 { $as_echo "$as_me:$LINENO: result: no" >&5
3962$as_echo "no" >&6; }
3963fi
3964
3965
3966fi
3967if test -z "$ac_cv_path_PKG_CONFIG"; then
3968 ac_pt_PKG_CONFIG=$PKG_CONFIG
3969 # Extract the first word of "pkg-config", so it can be a program name with args.
3970set dummy pkg-config; ac_word=$2
3971{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3972$as_echo_n "checking for $ac_word... " >&6; }
3973if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3975else
3976 case $ac_pt_PKG_CONFIG in
3977 [\\/]* | ?:[\\/]*)
3978 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3979 ;;
3980 *)
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982for as_dir in $PATH
3983do
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3991 fi
3992done
3993done
3994IFS=$as_save_IFS
3995
3996 ;;
3997esac
3998fi
3999ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4000if test -n "$ac_pt_PKG_CONFIG"; then
4001 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4002$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4003else
4004 { $as_echo "$as_me:$LINENO: result: no" >&5
4005$as_echo "no" >&6; }
4006fi
4007
4008 if test "x$ac_pt_PKG_CONFIG" = x; then
4009 PKG_CONFIG=""
4010 else
4011 case $cross_compiling:$ac_tool_warned in
4012yes:)
4013{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4015ac_tool_warned=yes ;;
4016esac
4017 PKG_CONFIG=$ac_pt_PKG_CONFIG
4018 fi
4019else
4020 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4021fi
4022
4023fi
4024if test -n "$PKG_CONFIG"; then
4025 _pkg_min_version=0.9.0
4026 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4027$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4028 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4029 { $as_echo "$as_me:$LINENO: result: yes" >&5
4030$as_echo "yes" >&6; }
4031 else
4032 { $as_echo "$as_me:$LINENO: result: no" >&5
4033$as_echo "no" >&6; }
4034 PKG_CONFIG=""
4035 fi
4036
4037fi
4038
4039pkg_failed=no
4040{ $as_echo "$as_me:$LINENO: checking for SDL" >&5
4041$as_echo_n "checking for SDL... " >&6; }
4042
4043if test -n "$PKG_CONFIG"; then
4044 if test -n "$SDL_CFLAGS"; then
4045 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
4046 else
4047 if test -n "$PKG_CONFIG" && \
4048 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4049 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; then
4053 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2" 2>/dev/null`
4054else
4055 pkg_failed=yes
4056fi
4057 fi
4058else
4059 pkg_failed=untried
4060fi
4061if test -n "$PKG_CONFIG"; then
4062 if test -n "$SDL_LIBS"; then
4063 pkg_cv_SDL_LIBS="$SDL_LIBS"
4064 else
4065 if test -n "$PKG_CONFIG" && \
4066 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2\"") >&5
4067 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2") 2>&5
4068 ac_status=$?
4069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; then
4071 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2" 2>/dev/null`
4072else
4073 pkg_failed=yes
4074fi
4075 fi
4076else
4077 pkg_failed=untried
4078fi
4079
4080
4081
4082if test $pkg_failed = yes; then
4083
4084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4085 _pkg_short_errors_supported=yes
4086else
4087 _pkg_short_errors_supported=no
4088fi
4089 if test $_pkg_short_errors_supported = yes; then
4090 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2"`
4091 else
4092 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2"`
4093 fi
4094 # Put the nasty error message in config.log where it belongs
4095 echo "$SDL_PKG_ERRORS" >&5
4096
4097 { { $as_echo "$as_me:$LINENO: error: Package requirements (sdl >= 1.2) were not met:
4098
4099$SDL_PKG_ERRORS
4100
4101Consider adjusting the PKG_CONFIG_PATH environment variable if you
4102installed software in a non-standard prefix.
4103
4104Alternatively, you may set the environment variables SDL_CFLAGS
4105and SDL_LIBS to avoid the need to call pkg-config.
4106See the pkg-config man page for more details.
4107" >&5
4108$as_echo "$as_me: error: Package requirements (sdl >= 1.2) were not met:
4109
4110$SDL_PKG_ERRORS
4111
4112Consider adjusting the PKG_CONFIG_PATH environment variable if you
4113installed software in a non-standard prefix.
4114
4115Alternatively, you may set the environment variables SDL_CFLAGS
4116and SDL_LIBS to avoid the need to call pkg-config.
4117See the pkg-config man page for more details.
4118" >&2;}
4119 { (exit 1); exit 1; }; }
4120elif test $pkg_failed = untried; then
4121 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4124is in your PATH or set the PKG_CONFIG environment variable to the full
4125path to pkg-config.
4126
4127Alternatively, you may set the environment variables SDL_CFLAGS
4128and SDL_LIBS to avoid the need to call pkg-config.
4129See the pkg-config man page for more details.
4130
4131To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4132See \`config.log' for more details." >&5
4133$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4134is in your PATH or set the PKG_CONFIG environment variable to the full
4135path to pkg-config.
4136
4137Alternatively, you may set the environment variables SDL_CFLAGS
4138and SDL_LIBS to avoid the need to call pkg-config.
4139See the pkg-config man page for more details.
4140
4141To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4142See \`config.log' for more details." >&2;}
4143 { (exit 1); exit 1; }; }; }
4144else
4145 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
4146 SDL_LIBS=$pkg_cv_SDL_LIBS
4147 { $as_echo "$as_me:$LINENO: result: yes" >&5
4148$as_echo "yes" >&6; }
4149 :
4150fi
4151CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
4152LDFLAGS="$SDL_LIBS"
4153
4154# Checks for header files.
4155
4156# Checks for typedefs, structures, and compiler characteristics.
4157
4158ac_ext=c
4159ac_cpp='$CPP $CPPFLAGS'
4160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4164$as_echo_n "checking how to run the C preprocessor... " >&6; }
4165# On Suns, sometimes $CPP names a directory.
4166if test -n "$CPP" && test -d "$CPP"; then
4167 CPP=
4168fi
4169if test -z "$CPP"; then
4170 if test "${ac_cv_prog_CPP+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4172else
4173 # Double quotes because CPP needs to be expanded
4174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4175 do
4176 ac_preproc_ok=false
4177for ac_c_preproc_warn_flag in '' yes
4178do
4179 # Use a header file that comes with gcc, so configuring glibc
4180 # with a fresh cross-compiler works.
4181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4182 # <limits.h> exists even on freestanding compilers.
4183 # On the NeXT, cc -E runs the code through the compiler's parser,
4184 # not just through cpp. "Syntax error" is here to catch this case.
4185 cat >conftest.$ac_ext <<_ACEOF
4186/* confdefs.h. */
4187_ACEOF
4188cat confdefs.h >>conftest.$ac_ext
4189cat >>conftest.$ac_ext <<_ACEOF
4190/* end confdefs.h. */
4191#ifdef __STDC__
4192# include <limits.h>
4193#else
4194# include <assert.h>
4195#endif
4196 Syntax error
4197_ACEOF
4198if { (ac_try="$ac_cpp conftest.$ac_ext"
4199case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202esac
4203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4204$as_echo "$ac_try_echo") >&5
4205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4206 ac_status=$?
4207 grep -v '^ *+' conftest.er1 >conftest.err
4208 rm -f conftest.er1
4209 cat conftest.err >&5
4210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev/null && {
4212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213 test ! -s conftest.err
4214 }; then
4215 :
4216else
4217 $as_echo "$as_me: failed program was:" >&5
4218sed 's/^/| /' conftest.$ac_ext >&5
4219
4220 # Broken: fails on valid input.
4221continue
4222fi
4223
4224rm -f conftest.err conftest.$ac_ext
4225
4226 # OK, works on sane cases. Now check whether nonexistent headers
4227 # can be detected and how.
4228 cat >conftest.$ac_ext <<_ACEOF
4229/* confdefs.h. */
4230_ACEOF
4231cat confdefs.h >>conftest.$ac_ext
4232cat >>conftest.$ac_ext <<_ACEOF
4233/* end confdefs.h. */
4234#include <ac_nonexistent.h>
4235_ACEOF
4236if { (ac_try="$ac_cpp conftest.$ac_ext"
4237case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240esac
4241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4242$as_echo "$ac_try_echo") >&5
4243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4244 ac_status=$?
4245 grep -v '^ *+' conftest.er1 >conftest.err
4246 rm -f conftest.er1
4247 cat conftest.err >&5
4248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } >/dev/null && {
4250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4251 test ! -s conftest.err
4252 }; then
4253 # Broken: success on invalid input.
4254continue
4255else
4256 $as_echo "$as_me: failed program was:" >&5
4257sed 's/^/| /' conftest.$ac_ext >&5
4258
4259 # Passes both tests.
4260ac_preproc_ok=:
4261break
4262fi
4263
4264rm -f conftest.err conftest.$ac_ext
4265
4266done
4267# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268rm -f conftest.err conftest.$ac_ext
4269if $ac_preproc_ok; then
4270 break
4271fi
4272
4273 done
4274 ac_cv_prog_CPP=$CPP
4275
4276fi
4277 CPP=$ac_cv_prog_CPP
4278else
4279 ac_cv_prog_CPP=$CPP
4280fi
4281{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4282$as_echo "$CPP" >&6; }
4283ac_preproc_ok=false
4284for ac_c_preproc_warn_flag in '' yes
4285do
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat >conftest.$ac_ext <<_ACEOF
4293/* confdefs.h. */
4294_ACEOF
4295cat confdefs.h >>conftest.$ac_ext
4296cat >>conftest.$ac_ext <<_ACEOF
4297/* end confdefs.h. */
4298#ifdef __STDC__
4299# include <limits.h>
4300#else
4301# include <assert.h>
4302#endif
4303 Syntax error
4304_ACEOF
4305if { (ac_try="$ac_cpp conftest.$ac_ext"
4306case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309esac
4310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4311$as_echo "$ac_try_echo") >&5
4312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4313 ac_status=$?
4314 grep -v '^ *+' conftest.er1 >conftest.err
4315 rm -f conftest.er1
4316 cat conftest.err >&5
4317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } >/dev/null && {
4319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4320 test ! -s conftest.err
4321 }; then
4322 :
4323else
4324 $as_echo "$as_me: failed program was:" >&5
4325sed 's/^/| /' conftest.$ac_ext >&5
4326
4327 # Broken: fails on valid input.
4328continue
4329fi
4330
4331rm -f conftest.err conftest.$ac_ext
4332
4333 # OK, works on sane cases. Now check whether nonexistent headers
4334 # can be detected and how.
4335 cat >conftest.$ac_ext <<_ACEOF
4336/* confdefs.h. */
4337_ACEOF
4338cat confdefs.h >>conftest.$ac_ext
4339cat >>conftest.$ac_ext <<_ACEOF
4340/* end confdefs.h. */
4341#include <ac_nonexistent.h>
4342_ACEOF
4343if { (ac_try="$ac_cpp conftest.$ac_ext"
4344case "(($ac_try" in
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4347esac
4348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4349$as_echo "$ac_try_echo") >&5
4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4351 ac_status=$?
4352 grep -v '^ *+' conftest.er1 >conftest.err
4353 rm -f conftest.er1
4354 cat conftest.err >&5
4355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } >/dev/null && {
4357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4359 }; then
4360 # Broken: success on invalid input.
4361continue
4362else
4363 $as_echo "$as_me: failed program was:" >&5
4364sed 's/^/| /' conftest.$ac_ext >&5
4365
4366 # Passes both tests.
4367ac_preproc_ok=:
4368break
4369fi
4370
4371rm -f conftest.err conftest.$ac_ext
4372
4373done
4374# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4375rm -f conftest.err conftest.$ac_ext
4376if $ac_preproc_ok; then
4377 :
4378else
4379 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4380$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4382See \`config.log' for more details." >&5
4383$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4384See \`config.log' for more details." >&2;}
4385 { (exit 1); exit 1; }; }; }
4386fi
4387
4388ac_ext=c
4389ac_cpp='$CPP $CPPFLAGS'
4390ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393
4394
4395{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4396$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4397if test "${ac_cv_path_GREP+set}" = set; then
4398 $as_echo_n "(cached) " >&6
4399else
4400 if test -z "$GREP"; then
4401 ac_path_GREP_found=false
4402 # Loop through the user's path and test for each of PROGNAME-LIST
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4405do
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_prog in grep ggrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4412# Check for GNU ac_path_GREP and select it if it is found.
4413 # Check for GNU $ac_path_GREP
4414case `"$ac_path_GREP" --version 2>&1` in
4415*GNU*)
4416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4417*)
4418 ac_count=0
4419 $as_echo_n 0123456789 >"conftest.in"
4420 while :
4421 do
4422 cat "conftest.in" "conftest.in" >"conftest.tmp"
4423 mv "conftest.tmp" "conftest.in"
4424 cp "conftest.in" "conftest.nl"
4425 $as_echo 'GREP' >> "conftest.nl"
4426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 ac_count=`expr $ac_count + 1`
4429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_GREP="$ac_path_GREP"
4432 ac_path_GREP_max=$ac_count
4433 fi
4434 # 10*(2^10) chars as input seems more than enough
4435 test $ac_count -gt 10 && break
4436 done
4437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4438esac
4439
4440 $ac_path_GREP_found && break 3
4441 done
4442 done
4443done
4444IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_GREP"; then
4446 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4447$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4449 fi
4450else
4451 ac_cv_path_GREP=$GREP
4452fi
4453
4454fi
4455{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4456$as_echo "$ac_cv_path_GREP" >&6; }
4457 GREP="$ac_cv_path_GREP"
4458
4459
4460{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4461$as_echo_n "checking for egrep... " >&6; }
4462if test "${ac_cv_path_EGREP+set}" = set; then
4463 $as_echo_n "(cached) " >&6
4464else
4465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4466 then ac_cv_path_EGREP="$GREP -E"
4467 else
4468 if test -z "$EGREP"; then
4469 ac_path_EGREP_found=false
4470 # Loop through the user's path and test for each of PROGNAME-LIST
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4473do
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_prog in egrep; do
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4479 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4480# Check for GNU ac_path_EGREP and select it if it is found.
4481 # Check for GNU $ac_path_EGREP
4482case `"$ac_path_EGREP" --version 2>&1` in
4483*GNU*)
4484 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4485*)
4486 ac_count=0
4487 $as_echo_n 0123456789 >"conftest.in"
4488 while :
4489 do
4490 cat "conftest.in" "conftest.in" >"conftest.tmp"
4491 mv "conftest.tmp" "conftest.in"
4492 cp "conftest.in" "conftest.nl"
4493 $as_echo 'EGREP' >> "conftest.nl"
4494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496 ac_count=`expr $ac_count + 1`
4497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4498 # Best one so far, save it but keep looking for a better one
4499 ac_cv_path_EGREP="$ac_path_EGREP"
4500 ac_path_EGREP_max=$ac_count
4501 fi
4502 # 10*(2^10) chars as input seems more than enough
4503 test $ac_count -gt 10 && break
4504 done
4505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508 $ac_path_EGREP_found && break 3
4509 done
4510 done
4511done
4512IFS=$as_save_IFS
4513 if test -z "$ac_cv_path_EGREP"; then
4514 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4515$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4516 { (exit 1); exit 1; }; }
4517 fi
4518else
4519 ac_cv_path_EGREP=$EGREP
4520fi
4521
4522 fi
4523fi
4524{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4525$as_echo "$ac_cv_path_EGREP" >&6; }
4526 EGREP="$ac_cv_path_EGREP"
4527
4528
4529{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4530$as_echo_n "checking for ANSI C header files... " >&6; }
4531if test "${ac_cv_header_stdc+set}" = set; then
4532 $as_echo_n "(cached) " >&6
4533else
4534 cat >conftest.$ac_ext <<_ACEOF
4535/* confdefs.h. */
4536_ACEOF
4537cat confdefs.h >>conftest.$ac_ext
4538cat >>conftest.$ac_ext <<_ACEOF
4539/* end confdefs.h. */
4540#include <stdlib.h>
4541#include <stdarg.h>
4542#include <string.h>
4543#include <float.h>
4544
4545int
4546main ()
4547{
4548
4549 ;
4550 return 0;
4551}
4552_ACEOF
4553rm -f conftest.$ac_objext
4554if { (ac_try="$ac_compile"
4555case "(($ac_try" in
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4558esac
4559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560$as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4562 ac_status=$?
4563 grep -v '^ *+' conftest.er1 >conftest.err
4564 rm -f conftest.er1
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 ac_cv_header_stdc=yes
4572else
4573 $as_echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576 ac_cv_header_stdc=no
4577fi
4578
4579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580
4581if test $ac_cv_header_stdc = yes; then
4582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4583 cat >conftest.$ac_ext <<_ACEOF
4584/* confdefs.h. */
4585_ACEOF
4586cat confdefs.h >>conftest.$ac_ext
4587cat >>conftest.$ac_ext <<_ACEOF
4588/* end confdefs.h. */
4589#include <string.h>
4590
4591_ACEOF
4592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "memchr" >/dev/null 2>&1; then
4594 :
4595else
4596 ac_cv_header_stdc=no
4597fi
4598rm -f conftest*
4599
4600fi
4601
4602if test $ac_cv_header_stdc = yes; then
4603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604 cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h. */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h. */
4610#include <stdlib.h>
4611
4612_ACEOF
4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "free" >/dev/null 2>&1; then
4615 :
4616else
4617 ac_cv_header_stdc=no
4618fi
4619rm -f conftest*
4620
4621fi
4622
4623if test $ac_cv_header_stdc = yes; then
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4625 if test "$cross_compiling" = yes; then
4626 :
4627else
4628 cat >conftest.$ac_ext <<_ACEOF
4629/* confdefs.h. */
4630_ACEOF
4631cat confdefs.h >>conftest.$ac_ext
4632cat >>conftest.$ac_ext <<_ACEOF
4633/* end confdefs.h. */
4634#include <ctype.h>
4635#include <stdlib.h>
4636#if ((' ' & 0x0FF) == 0x020)
4637# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4639#else
4640# define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4645#endif
4646
4647#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4648int
4649main ()
4650{
4651 int i;
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4655 return 2;
4656 return 0;
4657}
4658_ACEOF
4659rm -f conftest$ac_exeext
4660if { (ac_try="$ac_link"
4661case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664esac
4665eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4666$as_echo "$ac_try_echo") >&5
4667 (eval "$ac_link") 2>&5
4668 ac_status=$?
4669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4671 { (case "(($ac_try" in
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673 *) ac_try_echo=$ac_try;;
4674esac
4675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4676$as_echo "$ac_try_echo") >&5
4677 (eval "$ac_try") 2>&5
4678 ac_status=$?
4679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 :
4682else
4683 $as_echo "$as_me: program exited with status $ac_status" >&5
4684$as_echo "$as_me: failed program was:" >&5
4685sed 's/^/| /' conftest.$ac_ext >&5
4686
4687( exit $ac_status )
4688ac_cv_header_stdc=no
4689fi
4690rm -rf conftest.dSYM
4691rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4692fi
4693
4694
4695fi
4696fi
4697{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4698$as_echo "$ac_cv_header_stdc" >&6; }
4699if test $ac_cv_header_stdc = yes; then
4700
4701cat >>confdefs.h <<\_ACEOF
4702#define STDC_HEADERS 1
4703_ACEOF
4704
4705fi
4706
4707# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4718 inttypes.h stdint.h unistd.h
4719do
4720as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4722$as_echo_n "checking for $ac_header... " >&6; }
4723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4724 $as_echo_n "(cached) " >&6
4725else
4726 cat >conftest.$ac_ext <<_ACEOF
4727/* confdefs.h. */
4728_ACEOF
4729cat confdefs.h >>conftest.$ac_ext
4730cat >>conftest.$ac_ext <<_ACEOF
4731/* end confdefs.h. */
4732$ac_includes_default
4733
4734#include <$ac_header>
4735_ACEOF
4736rm -f conftest.$ac_objext
4737if { (ac_try="$ac_compile"
4738case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741esac
4742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743$as_echo "$ac_try_echo") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4745 ac_status=$?
4746 grep -v '^ *+' conftest.er1 >conftest.err
4747 rm -f conftest.er1
4748 cat conftest.err >&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest.$ac_objext; then
4754 eval "$as_ac_Header=yes"
4755else
4756 $as_echo "$as_me: failed program was:" >&5
4757sed 's/^/| /' conftest.$ac_ext >&5
4758
4759 eval "$as_ac_Header=no"
4760fi
4761
4762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763fi
4764ac_res=`eval 'as_val=${'$as_ac_Header'}
4765 $as_echo "$as_val"'`
4766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4767$as_echo "$ac_res" >&6; }
4768as_val=`eval 'as_val=${'$as_ac_Header'}
4769 $as_echo "$as_val"'`
4770 if test "x$as_val" = x""yes; then
4771 cat >>confdefs.h <<_ACEOF
4772#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4773_ACEOF
4774
4775fi
4776
4777done
4778
4779
4780{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4781$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4782if test "${ac_cv_header_stdbool_h+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4784else
4785 cat >conftest.$ac_ext <<_ACEOF
4786/* confdefs.h. */
4787_ACEOF
4788cat confdefs.h >>conftest.$ac_ext
4789cat >>conftest.$ac_ext <<_ACEOF
4790/* end confdefs.h. */
4791
4792#include <stdbool.h>
4793#ifndef bool
4794 "error: bool is not defined"
4795#endif
4796#ifndef false
4797 "error: false is not defined"
4798#endif
4799#if false
4800 "error: false is not 0"
4801#endif
4802#ifndef true
4803 "error: true is not defined"
4804#endif
4805#if true != 1
4806 "error: true is not 1"
4807#endif
4808#ifndef __bool_true_false_are_defined
4809 "error: __bool_true_false_are_defined is not defined"
4810#endif
4811
4812 struct s { _Bool s: 1; _Bool t; } s;
4813
4814 char a[true == 1 ? 1 : -1];
4815 char b[false == 0 ? 1 : -1];
4816 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4817 char d[(bool) 0.5 == true ? 1 : -1];
4818 bool e = &s;
4819 char f[(_Bool) 0.0 == false ? 1 : -1];
4820 char g[true];
4821 char h[sizeof (_Bool)];
4822 char i[sizeof s.t];
4823 enum { j = false, k = true, l = false * true, m = true * 256 };
4824 /* The following fails for
4825 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4826 _Bool n[m];
4827 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4828 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4829# if defined __xlc__ || defined __GNUC__
4830 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4831 reported by James Lemley on 2005-10-05; see
4832 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4833 This test is not quite right, since xlc is allowed to
4834 reject this program, as the initializer for xlcbug is
4835 not one of the forms that C requires support for.
4836 However, doing the test right would require a runtime
4837 test, and that would make cross-compilation harder.
4838 Let us hope that IBM fixes the xlc bug, and also adds
4839 support for this kind of constant expression. In the
4840 meantime, this test will reject xlc, which is OK, since
4841 our stdbool.h substitute should suffice. We also test
4842 this with GCC, where it should work, to detect more
4843 quickly whether someone messes up the test in the
4844 future. */
4845 char digs[] = "0123456789";
4846 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4847# endif
4848 /* Catch a bug in an HP-UX C compiler. See
4849 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4850 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4851 */
4852 _Bool q = true;
4853 _Bool *pq = &q;
4854
4855int
4856main ()
4857{
4858
4859 *pq |= q;
4860 *pq |= ! q;
4861 /* Refer to every declared value, to avoid compiler optimizations. */
4862 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4863 + !m + !n + !o + !p + !q + !pq);
4864
4865 ;
4866 return 0;
4867}
4868_ACEOF
4869rm -f conftest.$ac_objext
4870if { (ac_try="$ac_compile"
4871case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874esac
4875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4876$as_echo "$ac_try_echo") >&5
4877 (eval "$ac_compile") 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest.$ac_objext; then
4887 ac_cv_header_stdbool_h=yes
4888else
4889 $as_echo "$as_me: failed program was:" >&5
4890sed 's/^/| /' conftest.$ac_ext >&5
4891
4892 ac_cv_header_stdbool_h=no
4893fi
4894
4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896fi
4897{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4898$as_echo "$ac_cv_header_stdbool_h" >&6; }
4899{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4900$as_echo_n "checking for _Bool... " >&6; }
4901if test "${ac_cv_type__Bool+set}" = set; then
4902 $as_echo_n "(cached) " >&6
4903else
4904 ac_cv_type__Bool=no
4905cat >conftest.$ac_ext <<_ACEOF
4906/* confdefs.h. */
4907_ACEOF
4908cat confdefs.h >>conftest.$ac_ext
4909cat >>conftest.$ac_ext <<_ACEOF
4910/* end confdefs.h. */
4911$ac_includes_default
4912int
4913main ()
4914{
4915if (sizeof (_Bool))
4916 return 0;
4917 ;
4918 return 0;
4919}
4920_ACEOF
4921rm -f conftest.$ac_objext
4922if { (ac_try="$ac_compile"
4923case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926esac
4927eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928$as_echo "$ac_try_echo") >&5
4929 (eval "$ac_compile") 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } && {
4936 test -z "$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4938 } && test -s conftest.$ac_objext; then
4939 cat >conftest.$ac_ext <<_ACEOF
4940/* confdefs.h. */
4941_ACEOF
4942cat confdefs.h >>conftest.$ac_ext
4943cat >>conftest.$ac_ext <<_ACEOF
4944/* end confdefs.h. */
4945$ac_includes_default
4946int
4947main ()
4948{
4949if (sizeof ((_Bool)))
4950 return 0;
4951 ;
4952 return 0;
4953}
4954_ACEOF
4955rm -f conftest.$ac_objext
4956if { (ac_try="$ac_compile"
4957case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960esac
4961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4962$as_echo "$ac_try_echo") >&5
4963 (eval "$ac_compile") 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest.$ac_objext; then
4973 :
4974else
4975 $as_echo "$as_me: failed program was:" >&5
4976sed 's/^/| /' conftest.$ac_ext >&5
4977
4978 ac_cv_type__Bool=yes
4979fi
4980
4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982else
4983 $as_echo "$as_me: failed program was:" >&5
4984sed 's/^/| /' conftest.$ac_ext >&5
4985
4986
4987fi
4988
4989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990fi
4991{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4992$as_echo "$ac_cv_type__Bool" >&6; }
4993if test "x$ac_cv_type__Bool" = x""yes; then
4994
4995cat >>confdefs.h <<_ACEOF
4996#define HAVE__BOOL 1
4997_ACEOF
4998
4999
5000fi
5001
5002if test $ac_cv_header_stdbool_h = yes; then
5003
5004cat >>confdefs.h <<\_ACEOF
5005#define HAVE_STDBOOL_H 1
5006_ACEOF
5007
5008fi
5009
5010
5011# Checks for library functions.
5012
5013for ac_func in atexit
5014do
5015as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5016{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5017$as_echo_n "checking for $ac_func... " >&6; }
5018if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5019 $as_echo_n "(cached) " >&6
5020else
5021 cat >conftest.$ac_ext <<_ACEOF
5022/* confdefs.h. */
5023_ACEOF
5024cat confdefs.h >>conftest.$ac_ext
5025cat >>conftest.$ac_ext <<_ACEOF
5026/* end confdefs.h. */
5027/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5029#define $ac_func innocuous_$ac_func
5030
5031/* System header to define __stub macros and hopefully few prototypes,
5032 which can conflict with char $ac_func (); below.
5033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 <limits.h> exists even on freestanding compilers. */
5035
5036#ifdef __STDC__
5037# include <limits.h>
5038#else
5039# include <assert.h>
5040#endif
5041
5042#undef $ac_func
5043
5044/* Override any GCC internal prototype to avoid an error.
5045 Use char because int might match the return type of a GCC
5046 builtin and then its argument prototype would still apply. */
5047#ifdef __cplusplus
5048extern "C"
5049#endif
5050char $ac_func ();
5051/* The GNU C library defines this for functions which it implements
5052 to always fail with ENOSYS. Some functions are actually named
5053 something starting with __ and the normal name is an alias. */
5054#if defined __stub_$ac_func || defined __stub___$ac_func
5055choke me
5056#endif
5057
5058int
5059main ()
5060{
5061return $ac_func ();
5062 ;
5063 return 0;
5064}
5065_ACEOF
5066rm -f conftest.$ac_objext conftest$ac_exeext
5067if { (ac_try="$ac_link"
5068case "(($ac_try" in
5069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5070 *) ac_try_echo=$ac_try;;
5071esac
5072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5073$as_echo "$ac_try_echo") >&5
5074 (eval "$ac_link") 2>conftest.er1
5075 ac_status=$?
5076 grep -v '^ *+' conftest.er1 >conftest.err
5077 rm -f conftest.er1
5078 cat conftest.err >&5
5079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } && {
5081 test -z "$ac_c_werror_flag" ||
5082 test ! -s conftest.err
5083 } && test -s conftest$ac_exeext && {
5084 test "$cross_compiling" = yes ||
5085 $as_test_x conftest$ac_exeext
5086 }; then
5087 eval "$as_ac_var=yes"
5088else
5089 $as_echo "$as_me: failed program was:" >&5
5090sed 's/^/| /' conftest.$ac_ext >&5
5091
5092 eval "$as_ac_var=no"
5093fi
5094
5095rm -rf conftest.dSYM
5096rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5097 conftest$ac_exeext conftest.$ac_ext
5098fi
5099ac_res=`eval 'as_val=${'$as_ac_var'}
5100 $as_echo "$as_val"'`
5101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5102$as_echo "$ac_res" >&6; }
5103as_val=`eval 'as_val=${'$as_ac_var'}
5104 $as_echo "$as_val"'`
5105 if test "x$as_val" = x""yes; then
5106 cat >>confdefs.h <<_ACEOF
5107#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5108_ACEOF
5109
5110fi
5111done
5112
5113
5114ac_config_files="$ac_config_files Makefile src/Makefile"
5115
5116cat >confcache <<\_ACEOF
5117# This file is a shell script that caches the results of configure
5118# tests run on this system so they can be shared between configure
5119# scripts and configure runs, see configure's option --config-cache.
5120# It is not useful on other systems. If it contains results you don't
5121# want to keep, you may remove or edit it.
5122#
5123# config.status only pays attention to the cache file if you give it
5124# the --recheck option to rerun configure.
5125#
5126# `ac_cv_env_foo' variables (set or unset) will be overridden when
5127# loading this file, other *unset* `ac_cv_foo' will be assigned the
5128# following values.
5129
5130_ACEOF
5131
5132# The following way of writing the cache mishandles newlines in values,
5133# but we know of no workaround that is simple, portable, and efficient.
5134# So, we kill variables containing newlines.
5135# Ultrix sh set writes to stderr and can't be redirected directly,
5136# and sets the high bit in the cache file unless we assign to the vars.
5137(
5138 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5139 eval ac_val=\$$ac_var
5140 case $ac_val in #(
5141 *${as_nl}*)
5142 case $ac_var in #(
5143 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5144$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5145 esac
5146 case $ac_var in #(
5147 _ | IFS | as_nl) ;; #(
5148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5149 *) $as_unset $ac_var ;;
5150 esac ;;
5151 esac
5152 done
5153
5154 (set) 2>&1 |
5155 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5156 *${as_nl}ac_space=\ *)
5157 # `set' does not quote correctly, so add quotes (double-quote
5158 # substitution turns \\\\ into \\, and sed turns \\ into \).
5159 sed -n \
5160 "s/'/'\\\\''/g;
5161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5162 ;; #(
5163 *)
5164 # `set' quotes correctly as required by POSIX, so do not add quotes.
5165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5166 ;;
5167 esac |
5168 sort
5169) |
5170 sed '
5171 /^ac_cv_env_/b end
5172 t clear
5173 :clear
5174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5175 t end
5176 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5177 :end' >>confcache
5178if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5179 if test -w "$cache_file"; then
5180 test "x$cache_file" != "x/dev/null" &&
5181 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5182$as_echo "$as_me: updating cache $cache_file" >&6;}
5183 cat confcache >$cache_file
5184 else
5185 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5186$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5187 fi
5188fi
5189rm -f confcache
5190
5191test "x$prefix" = xNONE && prefix=$ac_default_prefix
5192# Let make expand exec_prefix.
5193test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5194
5195DEFS=-DHAVE_CONFIG_H
5196
5197ac_libobjs=
5198ac_ltlibobjs=
5199for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5200 # 1. Remove the extension, and $U if already installed.
5201 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5202 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5204 # will be set to the directory where LIBOBJS objects are built.
5205 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5206 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5207done
5208LIBOBJS=$ac_libobjs
5209
5210LTLIBOBJS=$ac_ltlibobjs
5211
5212
5213if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5214 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5215Usually this means the macro was only invoked conditionally." >&5
5216$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5217Usually this means the macro was only invoked conditionally." >&2;}
5218 { (exit 1); exit 1; }; }
5219fi
5220if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5221 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5222Usually this means the macro was only invoked conditionally." >&5
5223$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5224Usually this means the macro was only invoked conditionally." >&2;}
5225 { (exit 1); exit 1; }; }
5226fi
5227if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5228 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5229Usually this means the macro was only invoked conditionally." >&5
5230$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5231Usually this means the macro was only invoked conditionally." >&2;}
5232 { (exit 1); exit 1; }; }
5233fi
5234
5235: ${CONFIG_STATUS=./config.status}
5236ac_write_fail=0
5237ac_clean_files_save=$ac_clean_files
5238ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5239{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5240$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5241cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5242#! $SHELL
5243# Generated by $as_me.
5244# Run this file to recreate the current configuration.
5245# Compiler output produced by configure, useful for debugging
5246# configure, is in config.log if it exists.
5247
5248debug=false
5249ac_cs_recheck=false
5250ac_cs_silent=false
5251SHELL=\${CONFIG_SHELL-$SHELL}
5252_ACEOF
5253
5254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5255## --------------------- ##
5256## M4sh Initialization. ##
5257## --------------------- ##
5258
5259# Be more Bourne compatible
5260DUALCASE=1; export DUALCASE # for MKS sh
5261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5262 emulate sh
5263 NULLCMD=:
5264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5265 # is contrary to our usage. Disable this feature.
5266 alias -g '${1+"$@"}'='"$@"'
5267 setopt NO_GLOB_SUBST
5268else
5269 case `(set -o) 2>/dev/null` in
5270 *posix*) set -o posix ;;
5271esac
5272
5273fi
5274
5275
5276
5277
5278# PATH needs CR
5279# Avoid depending upon Character Ranges.
5280as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5281as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5282as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5283as_cr_digits='0123456789'
5284as_cr_alnum=$as_cr_Letters$as_cr_digits
5285
5286as_nl='
5287'
5288export as_nl
5289# Printing a long string crashes Solaris 7 /usr/bin/printf.
5290as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5291as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5292as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5293if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5294 as_echo='printf %s\n'
5295 as_echo_n='printf %s'
5296else
5297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5298 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5299 as_echo_n='/usr/ucb/echo -n'
5300 else
5301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5302 as_echo_n_body='eval
5303 arg=$1;
5304 case $arg in
5305 *"$as_nl"*)
5306 expr "X$arg" : "X\\(.*\\)$as_nl";
5307 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5308 esac;
5309 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5310 '
5311 export as_echo_n_body
5312 as_echo_n='sh -c $as_echo_n_body as_echo'
5313 fi
5314 export as_echo_body
5315 as_echo='sh -c $as_echo_body as_echo'
5316fi
5317
5318# The user is always right.
5319if test "${PATH_SEPARATOR+set}" != set; then
5320 PATH_SEPARATOR=:
5321 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5322 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5323 PATH_SEPARATOR=';'
5324 }
5325fi
5326
5327# Support unset when possible.
5328if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5329 as_unset=unset
5330else
5331 as_unset=false
5332fi
5333
5334
5335# IFS
5336# We need space, tab and new line, in precisely that order. Quoting is
5337# there to prevent editors from complaining about space-tab.
5338# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5339# splitting by setting IFS to empty value.)
5340IFS=" "" $as_nl"
5341
5342# Find who we are. Look in the path if we contain no directory separator.
5343case $0 in
5344 *[\\/]* ) as_myself=$0 ;;
5345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346for as_dir in $PATH
5347do
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5351done
5352IFS=$as_save_IFS
5353
5354 ;;
5355esac
5356# We did not find ourselves, most probably we were run as `sh COMMAND'
5357# in which case we are not to be found in the path.
5358if test "x$as_myself" = x; then
5359 as_myself=$0
5360fi
5361if test ! -f "$as_myself"; then
5362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5363 { (exit 1); exit 1; }
5364fi
5365
5366# Work around bugs in pre-3.0 UWIN ksh.
5367for as_var in ENV MAIL MAILPATH
5368do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5369done
5370PS1='$ '
5371PS2='> '
5372PS4='+ '
5373
5374# NLS nuisances.
5375LC_ALL=C
5376export LC_ALL
5377LANGUAGE=C
5378export LANGUAGE
5379
5380# Required to use basename.
5381if expr a : '\(a\)' >/dev/null 2>&1 &&
5382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5383 as_expr=expr
5384else
5385 as_expr=false
5386fi
5387
5388if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5389 as_basename=basename
5390else
5391 as_basename=false
5392fi
5393
5394
5395# Name of the executable.
5396as_me=`$as_basename -- "$0" ||
5397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5398 X"$0" : 'X\(//\)$' \| \
5399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5400$as_echo X/"$0" |
5401 sed '/^.*\/\([^/][^/]*\)\/*$/{
5402 s//\1/
5403 q
5404 }
5405 /^X\/\(\/\/\)$/{
5406 s//\1/
5407 q
5408 }
5409 /^X\/\(\/\).*/{
5410 s//\1/
5411 q
5412 }
5413 s/.*/./; q'`
5414
5415# CDPATH.
5416$as_unset CDPATH
5417
5418
5419
5420 as_lineno_1=$LINENO
5421 as_lineno_2=$LINENO
5422 test "x$as_lineno_1" != "x$as_lineno_2" &&
5423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5424
5425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5426 # uniformly replaced by the line number. The first 'sed' inserts a
5427 # line-number line after each line using $LINENO; the second 'sed'
5428 # does the real work. The second script uses 'N' to pair each
5429 # line-number line with the line containing $LINENO, and appends
5430 # trailing '-' during substitution so that $LINENO is not a special
5431 # case at line end.
5432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5433 # scripts with optimization help from Paolo Bonzini. Blame Lee
5434 # E. McMahon (1931-1989) for sed's syntax. :-)
5435 sed -n '
5436 p
5437 /[$]LINENO/=
5438 ' <$as_myself |
5439 sed '
5440 s/[$]LINENO.*/&-/
5441 t lineno
5442 b
5443 :lineno
5444 N
5445 :loop
5446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5447 t loop
5448 s/-\n.*//
5449 ' >$as_me.lineno &&
5450 chmod +x "$as_me.lineno" ||
5451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5452 { (exit 1); exit 1; }; }
5453
5454 # Don't try to exec as it changes $[0], causing all sort of problems
5455 # (the dirname of $[0] is not the place where we might find the
5456 # original and so on. Autoconf is especially sensitive to this).
5457 . "./$as_me.lineno"
5458 # Exit status is that of the last command.
5459 exit
5460}
5461
5462
5463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5464 as_dirname=dirname
5465else
5466 as_dirname=false
5467fi
5468
5469ECHO_C= ECHO_N= ECHO_T=
5470case `echo -n x` in
5471-n*)
5472 case `echo 'x\c'` in
5473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5474 *) ECHO_C='\c';;
5475 esac;;
5476*)
5477 ECHO_N='-n';;
5478esac
5479if expr a : '\(a\)' >/dev/null 2>&1 &&
5480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5481 as_expr=expr
5482else
5483 as_expr=false
5484fi
5485
5486rm -f conf$$ conf$$.exe conf$$.file
5487if test -d conf$$.dir; then
5488 rm -f conf$$.dir/conf$$.file
5489else
5490 rm -f conf$$.dir
5491 mkdir conf$$.dir 2>/dev/null
5492fi
5493if (echo >conf$$.file) 2>/dev/null; then
5494 if ln -s conf$$.file conf$$ 2>/dev/null; then
5495 as_ln_s='ln -s'
5496 # ... but there are two gotchas:
5497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5499 # In both cases, we have to default to `cp -p'.
5500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5501 as_ln_s='cp -p'
5502 elif ln conf$$.file conf$$ 2>/dev/null; then
5503 as_ln_s=ln
5504 else
5505 as_ln_s='cp -p'
5506 fi
5507else
5508 as_ln_s='cp -p'
5509fi
5510rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5511rmdir conf$$.dir 2>/dev/null
5512
5513if mkdir -p . 2>/dev/null; then
5514 as_mkdir_p=:
5515else
5516 test -d ./-p && rmdir ./-p
5517 as_mkdir_p=false
5518fi
5519
5520if test -x / >/dev/null 2>&1; then
5521 as_test_x='test -x'
5522else
5523 if ls -dL / >/dev/null 2>&1; then
5524 as_ls_L_option=L
5525 else
5526 as_ls_L_option=
5527 fi
5528 as_test_x='
5529 eval sh -c '\''
5530 if test -d "$1"; then
5531 test -d "$1/.";
5532 else
5533 case $1 in
5534 -*)set "./$1";;
5535 esac;
5536 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5537 ???[sx]*):;;*)false;;esac;fi
5538 '\'' sh
5539 '
5540fi
5541as_executable_p=$as_test_x
5542
5543# Sed expression to map a string onto a valid CPP name.
5544as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5545
5546# Sed expression to map a string onto a valid variable name.
5547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5548
5549
5550exec 6>&1
5551
5552# Save the log message, to keep $[0] and so on meaningful, and to
5553# report actual input values of CONFIG_FILES etc. instead of their
5554# values after options handling.
5555ac_log="
5556This file was extended by Maze Of Life $as_me 2.0, which was
5557generated by GNU Autoconf 2.63. Invocation command line was
5558
5559 CONFIG_FILES = $CONFIG_FILES
5560 CONFIG_HEADERS = $CONFIG_HEADERS
5561 CONFIG_LINKS = $CONFIG_LINKS
5562 CONFIG_COMMANDS = $CONFIG_COMMANDS
5563 $ $0 $@
5564
5565on `(hostname || uname -n) 2>/dev/null | sed 1q`
5566"
5567
5568_ACEOF
5569
5570case $ac_config_files in *"
5571"*) set x $ac_config_files; shift; ac_config_files=$*;;
5572esac
5573
5574case $ac_config_headers in *"
5575"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5576esac
5577
5578
5579cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5580# Files that config.status was made for.
5581config_files="$ac_config_files"
5582config_headers="$ac_config_headers"
5583config_commands="$ac_config_commands"
5584
5585_ACEOF
5586
5587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5588ac_cs_usage="\
5589\`$as_me' instantiates files from templates according to the
5590current configuration.
5591
5592Usage: $0 [OPTION]... [FILE]...
5593
5594 -h, --help print this help, then exit
5595 -V, --version print version number and configuration settings, then exit
5596 -q, --quiet, --silent
5597 do not print progress messages
5598 -d, --debug don't remove temporary files
5599 --recheck update $as_me by reconfiguring in the same conditions
5600 --file=FILE[:TEMPLATE]
5601 instantiate the configuration file FILE
5602 --header=FILE[:TEMPLATE]
5603 instantiate the configuration header FILE
5604
5605Configuration files:
5606$config_files
5607
5608Configuration headers:
5609$config_headers
5610
5611Configuration commands:
5612$config_commands
5613
5614Report bugs to <bug-autoconf@gnu.org>."
5615
5616_ACEOF
5617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618ac_cs_version="\\
5619Maze Of Life config.status 2.0
5620configured by $0, generated by GNU Autoconf 2.63,
5621 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5622
5623Copyright (C) 2008 Free Software Foundation, Inc.
5624This config.status script is free software; the Free Software Foundation
5625gives unlimited permission to copy, distribute and modify it."
5626
5627ac_pwd='$ac_pwd'
5628srcdir='$srcdir'
5629INSTALL='$INSTALL'
5630MKDIR_P='$MKDIR_P'
5631AWK='$AWK'
5632test -n "\$AWK" || AWK=awk
5633_ACEOF
5634
5635cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5636# The default lists apply if the user does not specify any file.
5637ac_need_defaults=:
5638while test $# != 0
5639do
5640 case $1 in
5641 --*=*)
5642 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5643 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5644 ac_shift=:
5645 ;;
5646 *)
5647 ac_option=$1
5648 ac_optarg=$2
5649 ac_shift=shift
5650 ;;
5651 esac
5652
5653 case $ac_option in
5654 # Handling of the options.
5655 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5656 ac_cs_recheck=: ;;
5657 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5658 $as_echo "$ac_cs_version"; exit ;;
5659 --debug | --debu | --deb | --de | --d | -d )
5660 debug=: ;;
5661 --file | --fil | --fi | --f )
5662 $ac_shift
5663 case $ac_optarg in
5664 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5665 esac
5666 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5667 ac_need_defaults=false;;
5668 --header | --heade | --head | --hea )
5669 $ac_shift
5670 case $ac_optarg in
5671 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5672 esac
5673 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5674 ac_need_defaults=false;;
5675 --he | --h)
5676 # Conflict between --help and --header
5677 { $as_echo "$as_me: error: ambiguous option: $1
5678Try \`$0 --help' for more information." >&2
5679 { (exit 1); exit 1; }; };;
5680 --help | --hel | -h )
5681 $as_echo "$ac_cs_usage"; exit ;;
5682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5683 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5684 ac_cs_silent=: ;;
5685
5686 # This is an error.
5687 -*) { $as_echo "$as_me: error: unrecognized option: $1
5688Try \`$0 --help' for more information." >&2
5689 { (exit 1); exit 1; }; } ;;
5690
5691 *) ac_config_targets="$ac_config_targets $1"
5692 ac_need_defaults=false ;;
5693
5694 esac
5695 shift
5696done
5697
5698ac_configure_extra_args=
5699
5700if $ac_cs_silent; then
5701 exec 6>/dev/null
5702 ac_configure_extra_args="$ac_configure_extra_args --silent"
5703fi
5704
5705_ACEOF
5706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5707if \$ac_cs_recheck; then
5708 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5709 shift
5710 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5711 CONFIG_SHELL='$SHELL'
5712 export CONFIG_SHELL
5713 exec "\$@"
5714fi
5715
5716_ACEOF
5717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5718exec 5>>config.log
5719{
5720 echo
5721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5722## Running $as_me. ##
5723_ASBOX
5724 $as_echo "$ac_log"
5725} >&5
5726
5727_ACEOF
5728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5729#
5730# INIT-COMMANDS
5731#
5732AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5733
5734_ACEOF
5735
5736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5737
5738# Handling of arguments.
5739for ac_config_target in $ac_config_targets
5740do
5741 case $ac_config_target in
5742 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5743 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5744 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5745 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5746
5747 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5748$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5749 { (exit 1); exit 1; }; };;
5750 esac
5751done
5752
5753
5754# If the user did not use the arguments to specify the items to instantiate,
5755# then the envvar interface is used. Set only those that are not.
5756# We use the long form for the default assignment because of an extremely
5757# bizarre bug on SunOS 4.1.3.
5758if $ac_need_defaults; then
5759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5762fi
5763
5764# Have a temporary directory for convenience. Make it in the build tree
5765# simply because there is no reason against having it here, and in addition,
5766# creating and moving files from /tmp can sometimes cause problems.
5767# Hook for its removal unless debugging.
5768# Note that there is a small window in which the directory will not be cleaned:
5769# after its creation but before its name has been assigned to `$tmp'.
5770$debug ||
5771{
5772 tmp=
5773 trap 'exit_status=$?
5774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5775' 0
5776 trap '{ (exit 1); exit 1; }' 1 2 13 15
5777}
5778# Create a (secure) tmp directory for tmp files.
5779
5780{
5781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5782 test -n "$tmp" && test -d "$tmp"
5783} ||
5784{
5785 tmp=./conf$$-$RANDOM
5786 (umask 077 && mkdir "$tmp")
5787} ||
5788{
5789 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5790 { (exit 1); exit 1; }
5791}
5792
5793# Set up the scripts for CONFIG_FILES section.
5794# No need to generate them if there are no CONFIG_FILES.
5795# This happens for instance with `./config.status config.h'.
5796if test -n "$CONFIG_FILES"; then
5797
5798
5799ac_cr=' '
5800ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5801if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5802 ac_cs_awk_cr='\\r'
5803else
5804 ac_cs_awk_cr=$ac_cr
5805fi
5806
5807echo 'BEGIN {' >"$tmp/subs1.awk" &&
5808_ACEOF
5809
5810
5811{
5812 echo "cat >conf$$subs.awk <<_ACEOF" &&
5813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5814 echo "_ACEOF"
5815} >conf$$subs.sh ||
5816 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5817$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5818 { (exit 1); exit 1; }; }
5819ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5820ac_delim='%!_!# '
5821for ac_last_try in false false false false false :; do
5822 . ./conf$$subs.sh ||
5823 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5824$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5825 { (exit 1); exit 1; }; }
5826
5827 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5828 if test $ac_delim_n = $ac_delim_num; then
5829 break
5830 elif $ac_last_try; then
5831 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5832$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5833 { (exit 1); exit 1; }; }
5834 else
5835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5836 fi
5837done
5838rm -f conf$$subs.sh
5839
5840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5841cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5842_ACEOF
5843sed -n '
5844h
5845s/^/S["/; s/!.*/"]=/
5846p
5847g
5848s/^[^!]*!//
5849:repl
5850t repl
5851s/'"$ac_delim"'$//
5852t delim
5853:nl
5854h
5855s/\(.\{148\}\).*/\1/
5856t more1
5857s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5858p
5859n
5860b repl
5861:more1
5862s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5863p
5864g
5865s/.\{148\}//
5866t nl
5867:delim
5868h
5869s/\(.\{148\}\).*/\1/
5870t more2
5871s/["\\]/\\&/g; s/^/"/; s/$/"/
5872p
5873b
5874:more2
5875s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5876p
5877g
5878s/.\{148\}//
5879t delim
5880' <conf$$subs.awk | sed '
5881/^[^""]/{
5882 N
5883 s/\n//
5884}
5885' >>$CONFIG_STATUS || ac_write_fail=1
5886rm -f conf$$subs.awk
5887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888_ACAWK
5889cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5890 for (key in S) S_is_set[key] = 1
5891 FS = ""
5892
5893}
5894{
5895 line = $ 0
5896 nfields = split(line, field, "@")
5897 substed = 0
5898 len = length(field[1])
5899 for (i = 2; i < nfields; i++) {
5900 key = field[i]
5901 keylen = length(key)
5902 if (S_is_set[key]) {
5903 value = S[key]
5904 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5905 len += length(value) + length(field[++i])
5906 substed = 1
5907 } else
5908 len += 1 + keylen
5909 }
5910
5911 print line
5912}
5913
5914_ACAWK
5915_ACEOF
5916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5917if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5918 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5919else
5920 cat
5921fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5922 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5923$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5924 { (exit 1); exit 1; }; }
5925_ACEOF
5926
5927# VPATH may cause trouble with some makes, so we remove $(srcdir),
5928# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5929# trailing colons and then remove the whole line if VPATH becomes empty
5930# (actually we leave an empty line to preserve line numbers).
5931if test "x$srcdir" = x.; then
5932 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5933s/:*\$(srcdir):*/:/
5934s/:*\${srcdir}:*/:/
5935s/:*@srcdir@:*/:/
5936s/^\([^=]*=[ ]*\):*/\1/
5937s/:*$//
5938s/^[^=]*=[ ]*$//
5939}'
5940fi
5941
5942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5943fi # test -n "$CONFIG_FILES"
5944
5945# Set up the scripts for CONFIG_HEADERS section.
5946# No need to generate them if there are no CONFIG_HEADERS.
5947# This happens for instance with `./config.status Makefile'.
5948if test -n "$CONFIG_HEADERS"; then
5949cat >"$tmp/defines.awk" <<\_ACAWK ||
5950BEGIN {
5951_ACEOF
5952
5953# Transform confdefs.h into an awk script `defines.awk', embedded as
5954# here-document in config.status, that substitutes the proper values into
5955# config.h.in to produce config.h.
5956
5957# Create a delimiter string that does not exist in confdefs.h, to ease
5958# handling of long lines.
5959ac_delim='%!_!# '
5960for ac_last_try in false false :; do
5961 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5962 if test -z "$ac_t"; then
5963 break
5964 elif $ac_last_try; then
5965 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5966$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5967 { (exit 1); exit 1; }; }
5968 else
5969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5970 fi
5971done
5972
5973# For the awk script, D is an array of macro values keyed by name,
5974# likewise P contains macro parameters if any. Preserve backslash
5975# newline sequences.
5976
5977ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5978sed -n '
5979s/.\{148\}/&'"$ac_delim"'/g
5980t rset
5981:rset
5982s/^[ ]*#[ ]*define[ ][ ]*/ /
5983t def
5984d
5985:def
5986s/\\$//
5987t bsnl
5988s/["\\]/\\&/g
5989s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5990D["\1"]=" \3"/p
5991s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5992d
5993:bsnl
5994s/["\\]/\\&/g
5995s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5996D["\1"]=" \3\\\\\\n"\\/p
5997t cont
5998s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5999t cont
6000d
6001:cont
6002n
6003s/.\{148\}/&'"$ac_delim"'/g
6004t clear
6005:clear
6006s/\\$//
6007t bsnlc
6008s/["\\]/\\&/g; s/^/"/; s/$/"/p
6009d
6010:bsnlc
6011s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6012b cont
6013' <confdefs.h | sed '
6014s/'"$ac_delim"'/"\\\
6015"/g' >>$CONFIG_STATUS || ac_write_fail=1
6016
6017cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6018 for (key in D) D_is_set[key] = 1
6019 FS = ""
6020}
6021/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6022 line = \$ 0
6023 split(line, arg, " ")
6024 if (arg[1] == "#") {
6025 defundef = arg[2]
6026 mac1 = arg[3]
6027 } else {
6028 defundef = substr(arg[1], 2)
6029 mac1 = arg[2]
6030 }
6031 split(mac1, mac2, "(") #)
6032 macro = mac2[1]
6033 prefix = substr(line, 1, index(line, defundef) - 1)
6034 if (D_is_set[macro]) {
6035 # Preserve the white space surrounding the "#".
6036 print prefix "define", macro P[macro] D[macro]
6037 next
6038 } else {
6039 # Replace #undef with comments. This is necessary, for example,
6040 # in the case of _POSIX_SOURCE, which is predefined and required
6041 # on some systems where configure will not decide to define it.
6042 if (defundef == "undef") {
6043 print "/*", prefix defundef, macro, "*/"
6044 next
6045 }
6046 }
6047}
6048{ print }
6049_ACAWK
6050_ACEOF
6051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6052 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6053$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6054 { (exit 1); exit 1; }; }
6055fi # test -n "$CONFIG_HEADERS"
6056
6057
6058eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6059shift
6060for ac_tag
6061do
6062 case $ac_tag in
6063 :[FHLC]) ac_mode=$ac_tag; continue;;
6064 esac
6065 case $ac_mode$ac_tag in
6066 :[FHL]*:*);;
6067 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6068$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6069 { (exit 1); exit 1; }; };;
6070 :[FH]-) ac_tag=-:-;;
6071 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6072 esac
6073 ac_save_IFS=$IFS
6074 IFS=:
6075 set x $ac_tag
6076 IFS=$ac_save_IFS
6077 shift
6078 ac_file=$1
6079 shift
6080
6081 case $ac_mode in
6082 :L) ac_source=$1;;
6083 :[FH])
6084 ac_file_inputs=
6085 for ac_f
6086 do
6087 case $ac_f in
6088 -) ac_f="$tmp/stdin";;
6089 *) # Look for the file first in the build tree, then in the source tree
6090 # (if the path is not absolute). The absolute path cannot be DOS-style,
6091 # because $ac_f cannot contain `:'.
6092 test -f "$ac_f" ||
6093 case $ac_f in
6094 [\\/$]*) false;;
6095 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6096 esac ||
6097 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6098$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6099 { (exit 1); exit 1; }; };;
6100 esac
6101 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6102 ac_file_inputs="$ac_file_inputs '$ac_f'"
6103 done
6104
6105 # Let's still pretend it is `configure' which instantiates (i.e., don't
6106 # use $as_me), people would be surprised to read:
6107 # /* config.h. Generated by config.status. */
6108 configure_input='Generated from '`
6109 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6110 `' by configure.'
6111 if test x"$ac_file" != x-; then
6112 configure_input="$ac_file. $configure_input"
6113 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6114$as_echo "$as_me: creating $ac_file" >&6;}
6115 fi
6116 # Neutralize special characters interpreted by sed in replacement strings.
6117 case $configure_input in #(
6118 *\&* | *\|* | *\\* )
6119 ac_sed_conf_input=`$as_echo "$configure_input" |
6120 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6121 *) ac_sed_conf_input=$configure_input;;
6122 esac
6123
6124 case $ac_tag in
6125 *:-:* | *:-) cat >"$tmp/stdin" \
6126 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6127$as_echo "$as_me: error: could not create $ac_file" >&2;}
6128 { (exit 1); exit 1; }; } ;;
6129 esac
6130 ;;
6131 esac
6132
6133 ac_dir=`$as_dirname -- "$ac_file" ||
6134$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6135 X"$ac_file" : 'X\(//\)[^/]' \| \
6136 X"$ac_file" : 'X\(//\)$' \| \
6137 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6138$as_echo X"$ac_file" |
6139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6140 s//\1/
6141 q
6142 }
6143 /^X\(\/\/\)[^/].*/{
6144 s//\1/
6145 q
6146 }
6147 /^X\(\/\/\)$/{
6148 s//\1/
6149 q
6150 }
6151 /^X\(\/\).*/{
6152 s//\1/
6153 q
6154 }
6155 s/.*/./; q'`
6156 { as_dir="$ac_dir"
6157 case $as_dir in #(
6158 -*) as_dir=./$as_dir;;
6159 esac
6160 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6161 as_dirs=
6162 while :; do
6163 case $as_dir in #(
6164 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6165 *) as_qdir=$as_dir;;
6166 esac
6167 as_dirs="'$as_qdir' $as_dirs"
6168 as_dir=`$as_dirname -- "$as_dir" ||
6169$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6170 X"$as_dir" : 'X\(//\)[^/]' \| \
6171 X"$as_dir" : 'X\(//\)$' \| \
6172 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6173$as_echo X"$as_dir" |
6174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6175 s//\1/
6176 q
6177 }
6178 /^X\(\/\/\)[^/].*/{
6179 s//\1/
6180 q
6181 }
6182 /^X\(\/\/\)$/{
6183 s//\1/
6184 q
6185 }
6186 /^X\(\/\).*/{
6187 s//\1/
6188 q
6189 }
6190 s/.*/./; q'`
6191 test -d "$as_dir" && break
6192 done
6193 test -z "$as_dirs" || eval "mkdir $as_dirs"
6194 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6195$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6196 { (exit 1); exit 1; }; }; }
6197 ac_builddir=.
6198
6199case "$ac_dir" in
6200.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6201*)
6202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6203 # A ".." for each directory in $ac_dir_suffix.
6204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6205 case $ac_top_builddir_sub in
6206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6208 esac ;;
6209esac
6210ac_abs_top_builddir=$ac_pwd
6211ac_abs_builddir=$ac_pwd$ac_dir_suffix
6212# for backward compatibility:
6213ac_top_builddir=$ac_top_build_prefix
6214
6215case $srcdir in
6216 .) # We are building in place.
6217 ac_srcdir=.
6218 ac_top_srcdir=$ac_top_builddir_sub
6219 ac_abs_top_srcdir=$ac_pwd ;;
6220 [\\/]* | ?:[\\/]* ) # Absolute name.
6221 ac_srcdir=$srcdir$ac_dir_suffix;
6222 ac_top_srcdir=$srcdir
6223 ac_abs_top_srcdir=$srcdir ;;
6224 *) # Relative name.
6225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6226 ac_top_srcdir=$ac_top_build_prefix$srcdir
6227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6228esac
6229ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6230
6231
6232 case $ac_mode in
6233 :F)
6234 #
6235 # CONFIG_FILE
6236 #
6237
6238 case $INSTALL in
6239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6241 esac
6242 ac_MKDIR_P=$MKDIR_P
6243 case $MKDIR_P in
6244 [\\/$]* | ?:[\\/]* ) ;;
6245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6246 esac
6247_ACEOF
6248
6249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6250# If the template does not know about datarootdir, expand it.
6251# FIXME: This hack should be removed a few years after 2.60.
6252ac_datarootdir_hack=; ac_datarootdir_seen=
6253
6254ac_sed_dataroot='
6255/datarootdir/ {
6256 p
6257 q
6258}
6259/@datadir@/p
6260/@docdir@/p
6261/@infodir@/p
6262/@localedir@/p
6263/@mandir@/p
6264'
6265case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6266*datarootdir*) ac_datarootdir_seen=yes;;
6267*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6268 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6269$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6270_ACEOF
6271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6272 ac_datarootdir_hack='
6273 s&@datadir@&$datadir&g
6274 s&@docdir@&$docdir&g
6275 s&@infodir@&$infodir&g
6276 s&@localedir@&$localedir&g
6277 s&@mandir@&$mandir&g
6278 s&\\\${datarootdir}&$datarootdir&g' ;;
6279esac
6280_ACEOF
6281
6282# Neutralize VPATH when `$srcdir' = `.'.
6283# Shell code in configure.ac might set extrasub.
6284# FIXME: do we really want to maintain this feature?
6285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6286ac_sed_extra="$ac_vpsub
6287$extrasub
6288_ACEOF
6289cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6290:t
6291/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6292s|@configure_input@|$ac_sed_conf_input|;t t
6293s&@top_builddir@&$ac_top_builddir_sub&;t t
6294s&@top_build_prefix@&$ac_top_build_prefix&;t t
6295s&@srcdir@&$ac_srcdir&;t t
6296s&@abs_srcdir@&$ac_abs_srcdir&;t t
6297s&@top_srcdir@&$ac_top_srcdir&;t t
6298s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6299s&@builddir@&$ac_builddir&;t t
6300s&@abs_builddir@&$ac_abs_builddir&;t t
6301s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6302s&@INSTALL@&$ac_INSTALL&;t t
6303s&@MKDIR_P@&$ac_MKDIR_P&;t t
6304$ac_datarootdir_hack
6305"
6306eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6307 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6308$as_echo "$as_me: error: could not create $ac_file" >&2;}
6309 { (exit 1); exit 1; }; }
6310
6311test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6312 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6313 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6314 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6315which seems to be undefined. Please make sure it is defined." >&5
6316$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6317which seems to be undefined. Please make sure it is defined." >&2;}
6318
6319 rm -f "$tmp/stdin"
6320 case $ac_file in
6321 -) cat "$tmp/out" && rm -f "$tmp/out";;
6322 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6323 esac \
6324 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6325$as_echo "$as_me: error: could not create $ac_file" >&2;}
6326 { (exit 1); exit 1; }; }
6327 ;;
6328 :H)
6329 #
6330 # CONFIG_HEADER
6331 #
6332 if test x"$ac_file" != x-; then
6333 {
6334 $as_echo "/* $configure_input */" \
6335 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6336 } >"$tmp/config.h" \
6337 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6338$as_echo "$as_me: error: could not create $ac_file" >&2;}
6339 { (exit 1); exit 1; }; }
6340 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6341 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6342$as_echo "$as_me: $ac_file is unchanged" >&6;}
6343 else
6344 rm -f "$ac_file"
6345 mv "$tmp/config.h" "$ac_file" \
6346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6347$as_echo "$as_me: error: could not create $ac_file" >&2;}
6348 { (exit 1); exit 1; }; }
6349 fi
6350 else
6351 $as_echo "/* $configure_input */" \
6352 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6353 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6354$as_echo "$as_me: error: could not create -" >&2;}
6355 { (exit 1); exit 1; }; }
6356 fi
6357# Compute "$ac_file"'s index in $config_headers.
6358_am_arg="$ac_file"
6359_am_stamp_count=1
6360for _am_header in $config_headers :; do
6361 case $_am_header in
6362 $_am_arg | $_am_arg:* )
6363 break ;;
6364 * )
6365 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6366 esac
6367done
6368echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6369$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6370 X"$_am_arg" : 'X\(//\)[^/]' \| \
6371 X"$_am_arg" : 'X\(//\)$' \| \
6372 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6373$as_echo X"$_am_arg" |
6374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6375 s//\1/
6376 q
6377 }
6378 /^X\(\/\/\)[^/].*/{
6379 s//\1/
6380 q
6381 }
6382 /^X\(\/\/\)$/{
6383 s//\1/
6384 q
6385 }
6386 /^X\(\/\).*/{
6387 s//\1/
6388 q
6389 }
6390 s/.*/./; q'`/stamp-h$_am_stamp_count
6391 ;;
6392
6393 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6394$as_echo "$as_me: executing $ac_file commands" >&6;}
6395 ;;
6396 esac
6397
6398
6399 case $ac_file$ac_mode in
6400 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6401 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6402 # are listed without --file. Let's play safe and only enable the eval
6403 # if we detect the quoting.
6404 case $CONFIG_FILES in
6405 *\'*) eval set x "$CONFIG_FILES" ;;
6406 *) set x $CONFIG_FILES ;;
6407 esac
6408 shift
6409 for mf
6410 do
6411 # Strip MF so we end up with the name of the file.
6412 mf=`echo "$mf" | sed -e 's/:.*$//'`
6413 # Check whether this is an Automake generated Makefile or not.
6414 # We used to match only the files named `Makefile.in', but
6415 # some people rename them; so instead we look at the file content.
6416 # Grep'ing the first line is not enough: some people post-process
6417 # each Makefile.in and add a new line on top of each file to say so.
6418 # Grep'ing the whole file is not good either: AIX grep has a line
6419 # limit of 2048, but all sed's we know have understand at least 4000.
6420 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6421 dirpart=`$as_dirname -- "$mf" ||
6422$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6423 X"$mf" : 'X\(//\)[^/]' \| \
6424 X"$mf" : 'X\(//\)$' \| \
6425 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6426$as_echo X"$mf" |
6427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6428 s//\1/
6429 q
6430 }
6431 /^X\(\/\/\)[^/].*/{
6432 s//\1/
6433 q
6434 }
6435 /^X\(\/\/\)$/{
6436 s//\1/
6437 q
6438 }
6439 /^X\(\/\).*/{
6440 s//\1/
6441 q
6442 }
6443 s/.*/./; q'`
6444 else
6445 continue
6446 fi
6447 # Extract the definition of DEPDIR, am__include, and am__quote
6448 # from the Makefile without running `make'.
6449 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6450 test -z "$DEPDIR" && continue
6451 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6452 test -z "am__include" && continue
6453 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6454 # When using ansi2knr, U may be empty or an underscore; expand it
6455 U=`sed -n 's/^U = //p' < "$mf"`
6456 # Find all dependency output files, they are included files with
6457 # $(DEPDIR) in their names. We invoke sed twice because it is the
6458 # simplest approach to changing $(DEPDIR) to its actual value in the
6459 # expansion.
6460 for file in `sed -n "
6461 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6462 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6463 # Make sure the directory exists.
6464 test -f "$dirpart/$file" && continue
6465 fdir=`$as_dirname -- "$file" ||
6466$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6467 X"$file" : 'X\(//\)[^/]' \| \
6468 X"$file" : 'X\(//\)$' \| \
6469 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6470$as_echo X"$file" |
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6472 s//\1/
6473 q
6474 }
6475 /^X\(\/\/\)[^/].*/{
6476 s//\1/
6477 q
6478 }
6479 /^X\(\/\/\)$/{
6480 s//\1/
6481 q
6482 }
6483 /^X\(\/\).*/{
6484 s//\1/
6485 q
6486 }
6487 s/.*/./; q'`
6488 { as_dir=$dirpart/$fdir
6489 case $as_dir in #(
6490 -*) as_dir=./$as_dir;;
6491 esac
6492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6493 as_dirs=
6494 while :; do
6495 case $as_dir in #(
6496 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6497 *) as_qdir=$as_dir;;
6498 esac
6499 as_dirs="'$as_qdir' $as_dirs"
6500 as_dir=`$as_dirname -- "$as_dir" ||
6501$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6502 X"$as_dir" : 'X\(//\)[^/]' \| \
6503 X"$as_dir" : 'X\(//\)$' \| \
6504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6505$as_echo X"$as_dir" |
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6507 s//\1/
6508 q
6509 }
6510 /^X\(\/\/\)[^/].*/{
6511 s//\1/
6512 q
6513 }
6514 /^X\(\/\/\)$/{
6515 s//\1/
6516 q
6517 }
6518 /^X\(\/\).*/{
6519 s//\1/
6520 q
6521 }
6522 s/.*/./; q'`
6523 test -d "$as_dir" && break
6524 done
6525 test -z "$as_dirs" || eval "mkdir $as_dirs"
6526 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6527$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6528 { (exit 1); exit 1; }; }; }
6529 # echo "creating $dirpart/$file"
6530 echo '# dummy' > "$dirpart/$file"
6531 done
6532 done
6533}
6534 ;;
6535
6536 esac
6537done # for ac_tag
6538
6539
6540{ (exit 0); exit 0; }
6541_ACEOF
6542chmod +x $CONFIG_STATUS
6543ac_clean_files=$ac_clean_files_save
6544
6545test $ac_write_fail = 0 ||
6546 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6547$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6548 { (exit 1); exit 1; }; }
6549
6550
6551# configure is writing to config.log, and then calls config.status.
6552# config.status does its own redirection, appending to config.log.
6553# Unfortunately, on DOS this fails, as config.log is still kept open
6554# by configure, so config.status won't be able to write to it; its
6555# output is simply discarded. So we exec the FD to /dev/null,
6556# effectively closing config.log, so it can be properly (re)opened and
6557# appended to by config.status. When coming back to configure, we
6558# need to make the FD available again.
6559if test "$no_create" != yes; then
6560 ac_cs_success=:
6561 ac_config_status_args=
6562 test "$silent" = yes &&
6563 ac_config_status_args="$ac_config_status_args --quiet"
6564 exec 5>/dev/null
6565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6566 exec 5>>config.log
6567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6568 # would make configure fail if this is the last instruction.
6569 $ac_cs_success || { (exit 1); exit 1; }
6570fi
6571if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6572 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6573$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6574fi
6575
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..a16f206 --- /dev/null +++ b/configure.ac
@@ -0,0 +1,28 @@
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.63])
5AC_INIT([Maze Of Life], [2.0], [BUG-REPORT-ADDRESS])
6AM_INIT_AUTOMAKE
7AC_CONFIG_SRCDIR([src/mazeoflife.cpp])
8AC_CONFIG_HEADERS([config.h])
9
10# Checks for programs.
11AC_PROG_CXX
12AC_PROG_CC
13
14# Checks for libraries.
15PKG_CHECK_MODULES([SDL], [sdl >= 1.2])
16CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
17LDFLAGS="$SDL_LIBS"
18
19# Checks for header files.
20
21# Checks for typedefs, structures, and compiler characteristics.
22AC_HEADER_STDBOOL
23
24# Checks for library functions.
25AC_CHECK_FUNCS([atexit])
26
27AC_CONFIG_FILES([Makefile src/Makefile])
28AC_OUTPUT
diff --git a/depcomp b/depcomp new file mode 120000 index 0000000..50adcba --- /dev/null +++ b/depcomp
@@ -0,0 +1 @@
/usr/share/automake-1.10/depcomp \ No newline at end of file
diff --git a/install-sh b/install-sh new file mode 120000 index 0000000..8272958 --- /dev/null +++ b/install-sh
@@ -0,0 +1 @@
/usr/share/automake-1.10/install-sh \ No newline at end of file
diff --git a/missing b/missing new file mode 120000 index 0000000..1f0fe88 --- /dev/null +++ b/missing
@@ -0,0 +1 @@
/usr/share/automake-1.10/missing \ No newline at end of file
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..4533bc4 --- /dev/null +++ b/src/Makefile.am
@@ -0,0 +1,3 @@
1gamesdir = /usr/games
2games_PROGRAMS = mazeoflife
3mazeoflife_SOURCES = mazeoflife.cpp gamestate.cpp
diff --git a/src/Makefile.in b/src/Makefile.in new file mode 100644 index 0000000..6460691 --- /dev/null +++ b/src/Makefile.in
@@ -0,0 +1,417 @@
1# Makefile.in generated by automake 1.10.2 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17VPATH = @srcdir@
18pkgdatadir = $(datadir)/@PACKAGE@
19pkglibdir = $(libdir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22install_sh_DATA = $(install_sh) -c -m 644
23install_sh_PROGRAM = $(install_sh) -c
24install_sh_SCRIPT = $(install_sh) -c
25INSTALL_HEADER = $(INSTALL_DATA)
26transform = $(program_transform_name)
27NORMAL_INSTALL = :
28PRE_INSTALL = :
29POST_INSTALL = :
30NORMAL_UNINSTALL = :
31PRE_UNINSTALL = :
32POST_UNINSTALL = :
33games_PROGRAMS = mazeoflife$(EXEEXT)
34subdir = src
35DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
36ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37am__aclocal_m4_deps = $(top_srcdir)/configure.ac
38am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39 $(ACLOCAL_M4)
40mkinstalldirs = $(install_sh) -d
41CONFIG_HEADER = $(top_builddir)/config.h
42CONFIG_CLEAN_FILES =
43am__installdirs = "$(DESTDIR)$(gamesdir)"
44gamesPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
45PROGRAMS = $(games_PROGRAMS)
46am_mazeoflife_OBJECTS = mazeoflife.$(OBJEXT) gamestate.$(OBJEXT)
47mazeoflife_OBJECTS = $(am_mazeoflife_OBJECTS)
48mazeoflife_LDADD = $(LDADD)
49DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
50depcomp = $(SHELL) $(top_srcdir)/depcomp
51am__depfiles_maybe = depfiles
52CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
53 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
54CXXLD = $(CXX)
55CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
56 -o $@
57SOURCES = $(mazeoflife_SOURCES)
58DIST_SOURCES = $(mazeoflife_SOURCES)
59ETAGS = etags
60CTAGS = ctags
61DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
62ACLOCAL = @ACLOCAL@
63AMTAR = @AMTAR@
64AUTOCONF = @AUTOCONF@
65AUTOHEADER = @AUTOHEADER@
66AUTOMAKE = @AUTOMAKE@
67AWK = @AWK@
68CC = @CC@
69CCDEPMODE = @CCDEPMODE@
70CFLAGS = @CFLAGS@
71CPP = @CPP@
72CPPFLAGS = @CPPFLAGS@
73CXX = @CXX@
74CXXDEPMODE = @CXXDEPMODE@
75CXXFLAGS = @CXXFLAGS@
76CYGPATH_W = @CYGPATH_W@
77DEFS = @DEFS@
78DEPDIR = @DEPDIR@
79ECHO_C = @ECHO_C@
80ECHO_N = @ECHO_N@
81ECHO_T = @ECHO_T@
82EGREP = @EGREP@
83EXEEXT = @EXEEXT@
84GREP = @GREP@
85INSTALL = @INSTALL@
86INSTALL_DATA = @INSTALL_DATA@
87INSTALL_PROGRAM = @INSTALL_PROGRAM@
88INSTALL_SCRIPT = @INSTALL_SCRIPT@
89INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
90LDFLAGS = @LDFLAGS@
91LIBOBJS = @LIBOBJS@
92LIBS = @LIBS@
93LTLIBOBJS = @LTLIBOBJS@
94MAKEINFO = @MAKEINFO@
95MKDIR_P = @MKDIR_P@
96OBJEXT = @OBJEXT@
97PACKAGE = @PACKAGE@
98PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
99PACKAGE_NAME = @PACKAGE_NAME@
100PACKAGE_STRING = @PACKAGE_STRING@
101PACKAGE_TARNAME = @PACKAGE_TARNAME@
102PACKAGE_VERSION = @PACKAGE_VERSION@
103PATH_SEPARATOR = @PATH_SEPARATOR@
104PKG_CONFIG = @PKG_CONFIG@
105SDL_CFLAGS = @SDL_CFLAGS@
106SDL_LIBS = @SDL_LIBS@
107SET_MAKE = @SET_MAKE@
108SHELL = @SHELL@
109STRIP = @STRIP@
110VERSION = @VERSION@
111abs_builddir = @abs_builddir@
112abs_srcdir = @abs_srcdir@
113abs_top_builddir = @abs_top_builddir@
114abs_top_srcdir = @abs_top_srcdir@
115ac_ct_CC = @ac_ct_CC@
116ac_ct_CXX = @ac_ct_CXX@
117am__include = @am__include@
118am__leading_dot = @am__leading_dot@
119am__quote = @am__quote@
120am__tar = @am__tar@
121am__untar = @am__untar@
122bindir = @bindir@
123build_alias = @build_alias@
124builddir = @builddir@
125datadir = @datadir@
126datarootdir = @datarootdir@
127docdir = @docdir@
128dvidir = @dvidir@
129exec_prefix = @exec_prefix@
130host_alias = @host_alias@
131htmldir = @htmldir@
132includedir = @includedir@
133infodir = @infodir@
134install_sh = @install_sh@
135libdir = @libdir@
136libexecdir = @libexecdir@
137localedir = @localedir@
138localstatedir = @localstatedir@
139mandir = @mandir@
140mkdir_p = @mkdir_p@
141oldincludedir = @oldincludedir@
142pdfdir = @pdfdir@
143prefix = @prefix@
144program_transform_name = @program_transform_name@
145psdir = @psdir@
146sbindir = @sbindir@
147sharedstatedir = @sharedstatedir@
148srcdir = @srcdir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151top_build_prefix = @top_build_prefix@
152top_builddir = @top_builddir@
153top_srcdir = @top_srcdir@
154gamesdir = /usr/games
155mazeoflife_SOURCES = mazeoflife.cpp gamestate.cpp
156all: all-am
157
158.SUFFIXES:
159.SUFFIXES: .cpp .o .obj
160$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
161 @for dep in $?; do \
162 case '$(am__configure_deps)' in \
163 *$$dep*) \
164 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
165 && { if test -f $@; then exit 0; else break; fi; }; \
166 exit 1;; \
167 esac; \
168 done; \
169 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
170 cd $(top_srcdir) && \
171 $(AUTOMAKE) --gnu src/Makefile
172.PRECIOUS: Makefile
173Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
174 @case '$?' in \
175 *config.status*) \
176 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
177 *) \
178 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
179 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
180 esac;
181
182$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
183 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
184
185$(top_srcdir)/configure: $(am__configure_deps)
186 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
187$(ACLOCAL_M4): $(am__aclocal_m4_deps)
188 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
189install-gamesPROGRAMS: $(games_PROGRAMS)
190 @$(NORMAL_INSTALL)
191 test -z "$(gamesdir)" || $(MKDIR_P) "$(DESTDIR)$(gamesdir)"
192 @list='$(games_PROGRAMS)'; for p in $$list; do \
193 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
194 if test -f $$p \
195 ; then \
196 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
197 echo " $(INSTALL_PROGRAM_ENV) $(gamesPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(gamesdir)/$$f'"; \
198 $(INSTALL_PROGRAM_ENV) $(gamesPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(gamesdir)/$$f" || exit 1; \
199 else :; fi; \
200 done
201
202uninstall-gamesPROGRAMS:
203 @$(NORMAL_UNINSTALL)
204 @list='$(games_PROGRAMS)'; for p in $$list; do \
205 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
206 echo " rm -f '$(DESTDIR)$(gamesdir)/$$f'"; \
207 rm -f "$(DESTDIR)$(gamesdir)/$$f"; \
208 done
209
210clean-gamesPROGRAMS:
211 -test -z "$(games_PROGRAMS)" || rm -f $(games_PROGRAMS)
212mazeoflife$(EXEEXT): $(mazeoflife_OBJECTS) $(mazeoflife_DEPENDENCIES)
213 @rm -f mazeoflife$(EXEEXT)
214 $(CXXLINK) $(mazeoflife_OBJECTS) $(mazeoflife_LDADD) $(LIBS)
215
216mostlyclean-compile:
217 -rm -f *.$(OBJEXT)
218
219distclean-compile:
220 -rm -f *.tab.c
221
222@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gamestate.Po@am__quote@
223@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mazeoflife.Po@am__quote@
224
225.cpp.o:
226@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
227@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
228@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
229@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
230@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
231
232.cpp.obj:
233@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
234@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
235@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
236@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
237@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
238
239ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
240 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
241 unique=`for i in $$list; do \
242 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
243 done | \
244 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
245 END { if (nonempty) { for (i in files) print i; }; }'`; \
246 mkid -fID $$unique
247tags: TAGS
248
249TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
250 $(TAGS_FILES) $(LISP)
251 tags=; \
252 here=`pwd`; \
253 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
254 unique=`for i in $$list; do \
255 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
256 done | \
257 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
258 END { if (nonempty) { for (i in files) print i; }; }'`; \
259 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
260 test -n "$$unique" || unique=$$empty_fix; \
261 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
262 $$tags $$unique; \
263 fi
264ctags: CTAGS
265CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
266 $(TAGS_FILES) $(LISP)
267 tags=; \
268 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
269 unique=`for i in $$list; do \
270 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
271 done | \
272 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
273 END { if (nonempty) { for (i in files) print i; }; }'`; \
274 test -z "$(CTAGS_ARGS)$$tags$$unique" \
275 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
276 $$tags $$unique
277
278GTAGS:
279 here=`$(am__cd) $(top_builddir) && pwd` \
280 && cd $(top_srcdir) \
281 && gtags -i $(GTAGS_ARGS) $$here
282
283distclean-tags:
284 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
285
286distdir: $(DISTFILES)
287 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
288 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
289 list='$(DISTFILES)'; \
290 dist_files=`for file in $$list; do echo $$file; done | \
291 sed -e "s|^$$srcdirstrip/||;t" \
292 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
293 case $$dist_files in \
294 */*) $(MKDIR_P) `echo "$$dist_files" | \
295 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
296 sort -u` ;; \
297 esac; \
298 for file in $$dist_files; do \
299 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
300 if test -d $$d/$$file; then \
301 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
302 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
303 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
304 fi; \
305 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
306 else \
307 test -f $(distdir)/$$file \
308 || cp -p $$d/$$file $(distdir)/$$file \
309 || exit 1; \
310 fi; \
311 done
312check-am: all-am
313check: check-am
314all-am: Makefile $(PROGRAMS)
315installdirs:
316 for dir in "$(DESTDIR)$(gamesdir)"; do \
317 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
318 done
319install: install-am
320install-exec: install-exec-am
321install-data: install-data-am
322uninstall: uninstall-am
323
324install-am: all-am
325 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
326
327installcheck: installcheck-am
328install-strip:
329 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
330 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
331 `test -z '$(STRIP)' || \
332 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
333mostlyclean-generic:
334
335clean-generic:
336
337distclean-generic:
338 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
339
340maintainer-clean-generic:
341 @echo "This command is intended for maintainers to use"
342 @echo "it deletes files that may require special tools to rebuild."
343clean: clean-am
344
345clean-am: clean-gamesPROGRAMS clean-generic mostlyclean-am
346
347distclean: distclean-am
348 -rm -rf ./$(DEPDIR)
349 -rm -f Makefile
350distclean-am: clean-am distclean-compile distclean-generic \
351 distclean-tags
352
353dvi: dvi-am
354
355dvi-am:
356
357html: html-am
358
359info: info-am
360
361info-am:
362
363install-data-am: install-gamesPROGRAMS
364
365install-dvi: install-dvi-am
366
367install-exec-am:
368
369install-html: install-html-am
370
371install-info: install-info-am
372
373install-man:
374
375install-pdf: install-pdf-am
376
377install-ps: install-ps-am
378
379installcheck-am:
380
381maintainer-clean: maintainer-clean-am
382 -rm -rf ./$(DEPDIR)
383 -rm -f Makefile
384maintainer-clean-am: distclean-am maintainer-clean-generic
385
386mostlyclean: mostlyclean-am
387
388mostlyclean-am: mostlyclean-compile mostlyclean-generic
389
390pdf: pdf-am
391
392pdf-am:
393
394ps: ps-am
395
396ps-am:
397
398uninstall-am: uninstall-gamesPROGRAMS
399
400.MAKE: install-am install-strip
401
402.PHONY: CTAGS GTAGS all all-am check check-am clean \
403 clean-gamesPROGRAMS clean-generic ctags distclean \
404 distclean-compile distclean-generic distclean-tags distdir dvi \
405 dvi-am html html-am info info-am install install-am \
406 install-data install-data-am install-dvi install-dvi-am \
407 install-exec install-exec-am install-gamesPROGRAMS \
408 install-html install-html-am install-info install-info-am \
409 install-man install-pdf install-pdf-am install-ps \
410 install-ps-am install-strip installcheck installcheck-am \
411 installdirs maintainer-clean maintainer-clean-generic \
412 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
413 ps ps-am tags uninstall uninstall-am uninstall-gamesPROGRAMS
414
415# Tell versions [3.59,3.63) of GNU make to not export all variables.
416# Otherwise a system limit (for SysV at least) may be exceeded.
417.NOEXPORT:
diff --git a/gamestate.cpp b/src/gamestate.cpp index 39d589d..39d589d 100644 --- a/gamestate.cpp +++ b/src/gamestate.cpp
diff --git a/gamestate.h b/src/gamestate.h index 7d9d798..7d9d798 100644 --- a/gamestate.h +++ b/src/gamestate.h
diff --git a/includes.h b/src/includes.h index a47a307..a47a307 100644 --- a/includes.h +++ b/src/includes.h
diff --git a/mazeoflife.cpp b/src/mazeoflife.cpp index 7819ffd..7819ffd 100644 --- a/mazeoflife.cpp +++ b/src/mazeoflife.cpp
diff --git a/mazeoflife.h b/src/mazeoflife.h index 6af0cf4..6af0cf4 100644 --- a/mazeoflife.h +++ b/src/mazeoflife.h
diff --git a/state.h b/src/state.h index 1a97a1b..1a97a1b 100644 --- a/state.h +++ b/src/state.h