diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 10:57:53 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-19 10:57:53 -0400 |
commit | 684a27ce13a9a08f4f1d94621cdab1232d2d33cf (patch) | |
tree | 4b85d42802b588767b6ac7b6972f2093154c7196 | |
parent | 1e3808b3338ff3b1499e000ce1f23e87d6050b8c (diff) | |
download | mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.gz mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.tar.bz2 mazeoflife-684a27ce13a9a08f4f1d94621cdab1232d2d33cf.zip |
Added GNU configure stuff
-rw-r--r-- | AUTHORS | 1 | ||||
l--------- | COPYING | 1 | ||||
-rw-r--r-- | ChangeLog | 3 | ||||
l--------- | INSTALL | 1 | ||||
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | Makefile.in | 603 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rw-r--r-- | README | 0 | ||||
-rw-r--r-- | aclocal.m4 | 1037 | ||||
-rw-r--r-- | autom4te.cache/output.0 | 6575 | ||||
-rw-r--r-- | autom4te.cache/output.1 | 6575 | ||||
-rw-r--r-- | autom4te.cache/requests | 137 | ||||
-rw-r--r-- | autom4te.cache/traces.0 | 779 | ||||
-rw-r--r-- | autom4te.cache/traces.1 | 412 | ||||
-rw-r--r-- | config.h.in | 61 | ||||
-rwxr-xr-x | configure | 6575 | ||||
-rw-r--r-- | configure.ac | 28 | ||||
l--------- | depcomp | 1 | ||||
l--------- | install-sh | 1 | ||||
l--------- | missing | 1 | ||||
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/Makefile.in | 417 | ||||
-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 @@ | |||
1 | Maze 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 @@ | |||
1 | OBJS = mazeoflife.o gamestate.o | ||
2 | CC = g++ | ||
3 | CFLAGS = `pkg-config sdl --cflags` | ||
4 | LIBS = `pkg-config sdl --libs` | ||
5 | |||
6 | mazeoflife: $(OBJS) | ||
7 | $(CC) $(OBJS) $(LIBS) -o mazeoflife | ||
8 | |||
9 | %.o: %.cpp | ||
10 | $(CC) -c $< $(CFLAGS) -o $@ | ||
11 | |||
12 | clean: | ||
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@ | ||
16 | VPATH = @srcdir@ | ||
17 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
18 | pkglibdir = $(libdir)/@PACKAGE@ | ||
19 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
20 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
21 | install_sh_DATA = $(install_sh) -c -m 644 | ||
22 | install_sh_PROGRAM = $(install_sh) -c | ||
23 | install_sh_SCRIPT = $(install_sh) -c | ||
24 | INSTALL_HEADER = $(INSTALL_DATA) | ||
25 | transform = $(program_transform_name) | ||
26 | NORMAL_INSTALL = : | ||
27 | PRE_INSTALL = : | ||
28 | POST_INSTALL = : | ||
29 | NORMAL_UNINSTALL = : | ||
30 | PRE_UNINSTALL = : | ||
31 | POST_UNINSTALL = : | ||
32 | subdir = . | ||
33 | DIST_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 | ||
37 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
38 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
39 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
40 | $(ACLOCAL_M4) | ||
41 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | ||
42 | configure.lineno config.status.lineno | ||
43 | mkinstalldirs = $(install_sh) -d | ||
44 | CONFIG_HEADER = config.h | ||
45 | CONFIG_CLEAN_FILES = | ||
46 | SOURCES = | ||
47 | DIST_SOURCES = | ||
48 | RECURSIVE_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 | ||
55 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
56 | distclean-recursive maintainer-clean-recursive | ||
57 | ETAGS = etags | ||
58 | CTAGS = ctags | ||
59 | DIST_SUBDIRS = $(SUBDIRS) | ||
60 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
61 | distdir = $(PACKAGE)-$(VERSION) | ||
62 | top_distdir = $(distdir) | ||
63 | am__remove_distdir = \ | ||
64 | { test ! -d $(distdir) \ | ||
65 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ | ||
66 | && rm -fr $(distdir); }; } | ||
67 | DIST_ARCHIVES = $(distdir).tar.gz | ||
68 | GZIP_ENV = --best | ||
69 | distuninstallcheck_listfiles = find . -type f -print | ||
70 | distcleancheck_listfiles = find . -type f -print | ||
71 | ACLOCAL = @ACLOCAL@ | ||
72 | AMTAR = @AMTAR@ | ||
73 | AUTOCONF = @AUTOCONF@ | ||
74 | AUTOHEADER = @AUTOHEADER@ | ||
75 | AUTOMAKE = @AUTOMAKE@ | ||
76 | AWK = @AWK@ | ||
77 | CC = @CC@ | ||
78 | CCDEPMODE = @CCDEPMODE@ | ||
79 | CFLAGS = @CFLAGS@ | ||
80 | CPP = @CPP@ | ||
81 | CPPFLAGS = @CPPFLAGS@ | ||
82 | CXX = @CXX@ | ||
83 | CXXDEPMODE = @CXXDEPMODE@ | ||
84 | CXXFLAGS = @CXXFLAGS@ | ||
85 | CYGPATH_W = @CYGPATH_W@ | ||
86 | DEFS = @DEFS@ | ||
87 | DEPDIR = @DEPDIR@ | ||
88 | ECHO_C = @ECHO_C@ | ||
89 | ECHO_N = @ECHO_N@ | ||
90 | ECHO_T = @ECHO_T@ | ||
91 | EGREP = @EGREP@ | ||
92 | EXEEXT = @EXEEXT@ | ||
93 | GREP = @GREP@ | ||
94 | INSTALL = @INSTALL@ | ||
95 | INSTALL_DATA = @INSTALL_DATA@ | ||
96 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
97 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
98 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
99 | LDFLAGS = @LDFLAGS@ | ||
100 | LIBOBJS = @LIBOBJS@ | ||
101 | LIBS = @LIBS@ | ||
102 | LTLIBOBJS = @LTLIBOBJS@ | ||
103 | MAKEINFO = @MAKEINFO@ | ||
104 | MKDIR_P = @MKDIR_P@ | ||
105 | OBJEXT = @OBJEXT@ | ||
106 | PACKAGE = @PACKAGE@ | ||
107 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
108 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
109 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
110 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
111 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
112 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
113 | PKG_CONFIG = @PKG_CONFIG@ | ||
114 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
115 | SDL_LIBS = @SDL_LIBS@ | ||
116 | SET_MAKE = @SET_MAKE@ | ||
117 | SHELL = @SHELL@ | ||
118 | STRIP = @STRIP@ | ||
119 | VERSION = @VERSION@ | ||
120 | abs_builddir = @abs_builddir@ | ||
121 | abs_srcdir = @abs_srcdir@ | ||
122 | abs_top_builddir = @abs_top_builddir@ | ||
123 | abs_top_srcdir = @abs_top_srcdir@ | ||
124 | ac_ct_CC = @ac_ct_CC@ | ||
125 | ac_ct_CXX = @ac_ct_CXX@ | ||
126 | am__include = @am__include@ | ||
127 | am__leading_dot = @am__leading_dot@ | ||
128 | am__quote = @am__quote@ | ||
129 | am__tar = @am__tar@ | ||
130 | am__untar = @am__untar@ | ||
131 | bindir = @bindir@ | ||
132 | build_alias = @build_alias@ | ||
133 | builddir = @builddir@ | ||
134 | datadir = @datadir@ | ||
135 | datarootdir = @datarootdir@ | ||
136 | docdir = @docdir@ | ||
137 | dvidir = @dvidir@ | ||
138 | exec_prefix = @exec_prefix@ | ||
139 | host_alias = @host_alias@ | ||
140 | htmldir = @htmldir@ | ||
141 | includedir = @includedir@ | ||
142 | infodir = @infodir@ | ||
143 | install_sh = @install_sh@ | ||
144 | libdir = @libdir@ | ||
145 | libexecdir = @libexecdir@ | ||
146 | localedir = @localedir@ | ||
147 | localstatedir = @localstatedir@ | ||
148 | mandir = @mandir@ | ||
149 | mkdir_p = @mkdir_p@ | ||
150 | oldincludedir = @oldincludedir@ | ||
151 | pdfdir = @pdfdir@ | ||
152 | prefix = @prefix@ | ||
153 | program_transform_name = @program_transform_name@ | ||
154 | psdir = @psdir@ | ||
155 | sbindir = @sbindir@ | ||
156 | sharedstatedir = @sharedstatedir@ | ||
157 | srcdir = @srcdir@ | ||
158 | sysconfdir = @sysconfdir@ | ||
159 | target_alias = @target_alias@ | ||
160 | top_build_prefix = @top_build_prefix@ | ||
161 | top_builddir = @top_builddir@ | ||
162 | top_srcdir = @top_srcdir@ | ||
163 | SUBDIRS = src | ||
164 | all: config.h | ||
165 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | ||
166 | |||
167 | .SUFFIXES: | ||
168 | am--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 | ||
184 | Makefile: $(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 | |||
202 | config.h: stamp-h1 | ||
203 | @if test ! -f $@; then \ | ||
204 | rm -f stamp-h1; \ | ||
205 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | ||
206 | else :; fi | ||
207 | |||
208 | stamp-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 | |||
216 | distclean-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" | ||
280 | tags-recursive: | ||
281 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
282 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
283 | done | ||
284 | ctags-recursive: | ||
285 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
286 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
287 | done | ||
288 | |||
289 | ID: $(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 | ||
297 | tags: TAGS | ||
298 | |||
299 | TAGS: 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 | ||
327 | ctags: CTAGS | ||
328 | CTAGS: 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 | |||
341 | GTAGS: | ||
342 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
343 | && cd $(top_srcdir) \ | ||
344 | && gtags -i $(GTAGS_ARGS) $$here | ||
345 | |||
346 | distclean-tags: | ||
347 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
348 | |||
349 | distdir: $(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) | ||
399 | dist-gzip: distdir | ||
400 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
401 | $(am__remove_distdir) | ||
402 | |||
403 | dist-bzip2: distdir | ||
404 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | ||
405 | $(am__remove_distdir) | ||
406 | |||
407 | dist-lzma: distdir | ||
408 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | ||
409 | $(am__remove_distdir) | ||
410 | |||
411 | dist-tarZ: distdir | ||
412 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | ||
413 | $(am__remove_distdir) | ||
414 | |||
415 | dist-shar: distdir | ||
416 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | ||
417 | $(am__remove_distdir) | ||
418 | |||
419 | dist-zip: distdir | ||
420 | -rm -f $(distdir).zip | ||
421 | zip -rq $(distdir).zip $(distdir) | ||
422 | $(am__remove_distdir) | ||
423 | |||
424 | dist 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. | ||
431 | distcheck: 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' | ||
479 | distuninstallcheck: | ||
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 | ||
488 | distcleancheck: 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 | ||
497 | check-am: all-am | ||
498 | check: check-recursive | ||
499 | all-am: Makefile config.h | ||
500 | installdirs: installdirs-recursive | ||
501 | installdirs-am: | ||
502 | install: install-recursive | ||
503 | install-exec: install-exec-recursive | ||
504 | install-data: install-data-recursive | ||
505 | uninstall: uninstall-recursive | ||
506 | |||
507 | install-am: all-am | ||
508 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
509 | |||
510 | installcheck: installcheck-recursive | ||
511 | install-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 | ||
516 | mostlyclean-generic: | ||
517 | |||
518 | clean-generic: | ||
519 | |||
520 | distclean-generic: | ||
521 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
522 | |||
523 | maintainer-clean-generic: | ||
524 | @echo "This command is intended for maintainers to use" | ||
525 | @echo "it deletes files that may require special tools to rebuild." | ||
526 | clean: clean-recursive | ||
527 | |||
528 | clean-am: clean-generic mostlyclean-am | ||
529 | |||
530 | distclean: distclean-recursive | ||
531 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
532 | -rm -f Makefile | ||
533 | distclean-am: clean-am distclean-generic distclean-hdr distclean-tags | ||
534 | |||
535 | dvi: dvi-recursive | ||
536 | |||
537 | dvi-am: | ||
538 | |||
539 | html: html-recursive | ||
540 | |||
541 | info: info-recursive | ||
542 | |||
543 | info-am: | ||
544 | |||
545 | install-data-am: | ||
546 | |||
547 | install-dvi: install-dvi-recursive | ||
548 | |||
549 | install-exec-am: | ||
550 | |||
551 | install-html: install-html-recursive | ||
552 | |||
553 | install-info: install-info-recursive | ||
554 | |||
555 | install-man: | ||
556 | |||
557 | install-pdf: install-pdf-recursive | ||
558 | |||
559 | install-ps: install-ps-recursive | ||
560 | |||
561 | installcheck-am: | ||
562 | |||
563 | maintainer-clean: maintainer-clean-recursive | ||
564 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
565 | -rm -rf $(top_srcdir)/autom4te.cache | ||
566 | -rm -f Makefile | ||
567 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
568 | |||
569 | mostlyclean: mostlyclean-recursive | ||
570 | |||
571 | mostlyclean-am: mostlyclean-generic | ||
572 | |||
573 | pdf: pdf-recursive | ||
574 | |||
575 | pdf-am: | ||
576 | |||
577 | ps: ps-recursive | ||
578 | |||
579 | ps-am: | ||
580 | |||
581 | uninstall-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 | |||
14 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, | ||
17 | [m4_warning([this file was generated for autoconf 2.63. | ||
18 | You have another version of autoconf. It may work, but is not guaranteed to. | ||
19 | If you have problems, you may need to regenerate the build system entirely. | ||
20 | To 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 | # ---------------------------------- | ||
47 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
48 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
49 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
50 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl | ||
51 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
52 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
53 | fi | ||
54 | if 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 | |||
64 | fi[]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 | # -------------------------------------------------------------- | ||
77 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
78 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
79 | if test -n "$PKG_CONFIG" && \ | ||
80 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
81 | m4_ifval([$2], [$2], [:]) | ||
82 | m4_ifvaln([$3], [else | ||
83 | $3])dnl | ||
84 | fi]) | ||
85 | |||
86 | |||
87 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
88 | # --------------------------------------------- | ||
89 | m4_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 | ||
98 | else | ||
99 | pkg_failed=untried | ||
100 | fi[]dnl | ||
101 | ])# _PKG_CONFIG | ||
102 | |||
103 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
104 | # ----------------------------- | ||
105 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
106 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
107 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
108 | _pkg_short_errors_supported=yes | ||
109 | else | ||
110 | _pkg_short_errors_supported=no | ||
111 | fi[]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 | # -------------------------------------------------------------- | ||
125 | AC_DEFUN([PKG_CHECK_MODULES], | ||
126 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
127 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
128 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
129 | |||
130 | pkg_failed=no | ||
131 | AC_MSG_CHECKING([for $1]) | ||
132 | |||
133 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
134 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
135 | |||
136 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
137 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
138 | See the pkg-config man page for more details.]) | ||
139 | |||
140 | if 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 | |||
155 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
156 | installed software in a non-standard prefix. | ||
157 | |||
158 | _PKG_TEXT | ||
159 | ])], | ||
160 | [AC_MSG_RESULT([no]) | ||
161 | $4]) | ||
162 | elif 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 | ||
165 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
166 | path to pkg-config. | ||
167 | |||
168 | _PKG_TEXT | ||
169 | |||
170 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], | ||
171 | [$4]) | ||
172 | else | ||
173 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
174 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
175 | AC_MSG_RESULT([yes]) | ||
176 | ifelse([$3], , :, [$3]) | ||
177 | fi[]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.) | ||
191 | AC_DEFUN([AM_AUTOMAKE_VERSION], | ||
192 | [am__api_version='1.10' | ||
193 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
194 | dnl require some minimum version. Point them to the right macro. | ||
195 | m4_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. | ||
204 | m4_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. | ||
210 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | ||
211 | [AM_AUTOMAKE_VERSION([1.10.2])dnl | ||
212 | m4_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 | |||
262 | AC_DEFUN([AM_AUX_DIR_EXPAND], | ||
263 | [dnl Rely on autoconf to set up CDPATH properly. | ||
264 | AC_PREREQ([2.50])dnl | ||
265 | # expand $ac_aux_dir to an absolute path | ||
266 | am_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. | ||
283 | AC_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 | ||
287 | AC_SUBST([$1_TRUE])dnl | ||
288 | AC_SUBST([$1_FALSE])dnl | ||
289 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
290 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
291 | if $2; then | ||
292 | $1_TRUE= | ||
293 | $1_FALSE='#' | ||
294 | else | ||
295 | $1_TRUE='#' | ||
296 | $1_FALSE= | ||
297 | fi | ||
298 | AC_CONFIG_COMMANDS_PRE( | ||
299 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
300 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
301 | Usually this means the macro was only invoked conditionally.]]) | ||
302 | fi])]) | ||
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. | ||
330 | AC_DEFUN([_AM_DEPENDENCIES], | ||
331 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
332 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
333 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
334 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
335 | |||
336 | ifelse([$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 | |||
343 | AC_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 | ||
426 | else | ||
427 | am_cv_$1_dependencies_compiler_type=none | ||
428 | fi | ||
429 | ]) | ||
430 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
431 | AM_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 | ||
441 | AC_DEFUN([AM_SET_DEPDIR], | ||
442 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
443 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
444 | ]) | ||
445 | |||
446 | |||
447 | # AM_DEP_TRACK | ||
448 | # ------------ | ||
449 | AC_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]) | ||
453 | if test "x$enable_dependency_tracking" != xno; then | ||
454 | am_depcomp="$ac_aux_dir/depcomp" | ||
455 | AMDEPBACKSLASH='\' | ||
456 | fi | ||
457 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
458 | AC_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 | # ------------------------------ | ||
475 | AC_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. | ||
536 | AC_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. | ||
567 | AC_DEFUN([AM_INIT_AUTOMAKE], | ||
568 | [AC_PREREQ([2.60])dnl | ||
569 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
570 | dnl the ones we care about. | ||
571 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
572 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
573 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
574 | if 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 | ||
582 | fi | ||
583 | |||
584 | # test whether we have cygpath | ||
585 | if 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 | ||
591 | fi | ||
592 | AC_SUBST([CYGPATH_W]) | ||
593 | |||
594 | # Define the identity of the package. | ||
595 | dnl Distinguish between old-style and new-style calls. | ||
596 | m4_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 | ||
601 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
602 | m4_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. | ||
612 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
613 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
614 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | ||
615 | AM_MISSING_PROG(AUTOCONF, autoconf) | ||
616 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | ||
617 | AM_MISSING_PROG(AUTOHEADER, autoheader) | ||
618 | AM_MISSING_PROG(MAKEINFO, makeinfo) | ||
619 | AM_PROG_INSTALL_SH | ||
620 | AM_PROG_INSTALL_STRIP | ||
621 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | ||
622 | # We need awk for the "check" target. The system "awk" is bad on | ||
623 | # some platforms. | ||
624 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
625 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
626 | AC_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 | ||
635 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
636 | [_AM_DEPENDENCIES(CXX)], | ||
637 | [define([AC_PROG_CXX], | ||
638 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | ||
639 | AC_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. | ||
654 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | ||
655 | [# Compute $1's index in $config_headers. | ||
656 | _am_arg=$1 | ||
657 | _am_stamp_count=1 | ||
658 | for _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 | ||
665 | done | ||
666 | echo "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. | ||
677 | AC_DEFUN([AM_PROG_INSTALL_SH], | ||
678 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
679 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | ||
680 | AC_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. | ||
692 | AC_DEFUN([AM_SET_LEADING_DOT], | ||
693 | [rm -rf .tst 2>/dev/null | ||
694 | mkdir .tst 2>/dev/null | ||
695 | if test -d .tst; then | ||
696 | am__leading_dot=. | ||
697 | else | ||
698 | am__leading_dot=_ | ||
699 | fi | ||
700 | rmdir .tst 2>/dev/null | ||
701 | AC_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. | ||
716 | AC_DEFUN([AM_MAKE_INCLUDE], | ||
717 | [am_make=${MAKE-make} | ||
718 | cat > confinc << 'END' | ||
719 | am__doit: | ||
720 | @echo done | ||
721 | .PHONY: am__doit | ||
722 | END | ||
723 | # If we don't find an include directive, just comment out the code. | ||
724 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
725 | am__include="#" | ||
726 | am__quote= | ||
727 | _am_result=none | ||
728 | # First try GNU make style include. | ||
729 | echo "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'. | ||
735 | if 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 | ||
739 | fi | ||
740 | # Now try BSD make style include. | ||
741 | if 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 | ||
748 | fi | ||
749 | AC_SUBST([am__include]) | ||
750 | AC_SUBST([am__quote]) | ||
751 | AC_MSG_RESULT([$_am_result]) | ||
752 | rm -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 | # ------------------------------ | ||
768 | AC_DEFUN([AM_MISSING_PROG], | ||
769 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | ||
770 | $1=${$1-"${am_missing_run}$2"} | ||
771 | AC_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. | ||
778 | AC_DEFUN([AM_MISSING_HAS_RUN], | ||
779 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
780 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
781 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
782 | # Use eval to expand $SHELL | ||
783 | if eval "$MISSING --run true"; then | ||
784 | am_missing_run="$MISSING --run " | ||
785 | else | ||
786 | am_missing_run= | ||
787 | AC_MSG_WARN([`missing' script is too old or missing]) | ||
788 | fi | ||
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'. | ||
800 | AC_DEFUN([AM_PROG_MKDIR_P], | ||
801 | [AC_PREREQ([2.60])dnl | ||
802 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
803 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | ||
804 | dnl while keeping a definition of mkdir_p for backward compatibility. | ||
805 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | ||
806 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | ||
807 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | ||
808 | dnl adjustment using top_builddir (which is defined more often than | ||
809 | dnl MKDIR_P). | ||
810 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | ||
811 | case $mkdir_p in | ||
812 | [[\\/$]]* | ?:[[\\/]]*) ;; | ||
813 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
814 | esac | ||
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 | # ----------------------- | ||
829 | AC_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. | ||
835 | AC_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. | ||
841 | AC_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. | ||
847 | AC_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 | # --------------- | ||
863 | AC_DEFUN([AM_SANITY_CHECK], | ||
864 | [AC_MSG_CHECKING([whether build environment is sane]) | ||
865 | # Just in case | ||
866 | sleep 1 | ||
867 | echo 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). | ||
873 | if ( | ||
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 | ||
888 | alias in your environment]) | ||
889 | fi | ||
890 | |||
891 | test "$[2]" = conftest.file | ||
892 | ) | ||
893 | then | ||
894 | # Ok. | ||
895 | : | ||
896 | else | ||
897 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
898 | Check your system clock]) | ||
899 | fi | ||
900 | AC_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). | ||
917 | AC_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. | ||
923 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | ||
924 | if test "$cross_compiling" != no; then | ||
925 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
926 | fi | ||
927 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
928 | AC_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. | ||
940 | AC_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 | ||
965 | AC_DEFUN([_AM_PROG_TAR], | ||
966 | [# Always define AMTAR for backward compatibility. | ||
967 | AM_MISSING_PROG([AMTAR], [tar]) | ||
968 | m4_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])]) | ||
972 | AC_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 `-'. | ||
978 | for _am_tool in $_am_tools | ||
979 | do | ||
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 | ||
1029 | done | ||
1030 | rm -rf conftest.dir | ||
1031 | |||
1032 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
1033 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
1034 | AC_SUBST([am__tar]) | ||
1035 | AC_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 | ||
16 | DUALCASE=1; export DUALCASE # for MKS sh | ||
17 | if 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 | ||
24 | else | ||
25 | case `(set -o) 2>/dev/null` in | ||
26 | *posix*) set -o posix ;; | ||
27 | esac | ||
28 | |||
29 | fi | ||
30 | |||
31 | |||
32 | |||
33 | |||
34 | # PATH needs CR | ||
35 | # Avoid depending upon Character Ranges. | ||
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
39 | as_cr_digits='0123456789' | ||
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
41 | |||
42 | as_nl=' | ||
43 | ' | ||
44 | export as_nl | ||
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
50 | as_echo='printf %s\n' | ||
51 | as_echo_n='printf %s' | ||
52 | else | ||
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
55 | as_echo_n='/usr/ucb/echo -n' | ||
56 | else | ||
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
58 | as_echo_n_body='eval | ||
59 | arg=$1; | ||
60 | case $arg in | ||
61 | *"$as_nl"*) | ||
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
64 | esac; | ||
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
66 | ' | ||
67 | export as_echo_n_body | ||
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
69 | fi | ||
70 | export as_echo_body | ||
71 | as_echo='sh -c $as_echo_body as_echo' | ||
72 | fi | ||
73 | |||
74 | # The user is always right. | ||
75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
76 | PATH_SEPARATOR=: | ||
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
79 | PATH_SEPARATOR=';' | ||
80 | } | ||
81 | fi | ||
82 | |||
83 | # Support unset when possible. | ||
84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
85 | as_unset=unset | ||
86 | else | ||
87 | as_unset=false | ||
88 | fi | ||
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.) | ||
96 | IFS=" "" $as_nl" | ||
97 | |||
98 | # Find who we are. Look in the path if we contain no directory separator. | ||
99 | case $0 in | ||
100 | *[\\/]* ) as_myself=$0 ;; | ||
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
102 | for as_dir in $PATH | ||
103 | do | ||
104 | IFS=$as_save_IFS | ||
105 | test -z "$as_dir" && as_dir=. | ||
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
107 | done | ||
108 | IFS=$as_save_IFS | ||
109 | |||
110 | ;; | ||
111 | esac | ||
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
113 | # in which case we are not to be found in the path. | ||
114 | if test "x$as_myself" = x; then | ||
115 | as_myself=$0 | ||
116 | fi | ||
117 | if test ! -f "$as_myself"; then | ||
118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
119 | { (exit 1); exit 1; } | ||
120 | fi | ||
121 | |||
122 | # Work around bugs in pre-3.0 UWIN ksh. | ||
123 | for as_var in ENV MAIL MAILPATH | ||
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
125 | done | ||
126 | PS1='$ ' | ||
127 | PS2='> ' | ||
128 | PS4='+ ' | ||
129 | |||
130 | # NLS nuisances. | ||
131 | LC_ALL=C | ||
132 | export LC_ALL | ||
133 | LANGUAGE=C | ||
134 | export LANGUAGE | ||
135 | |||
136 | # Required to use basename. | ||
137 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
139 | as_expr=expr | ||
140 | else | ||
141 | as_expr=false | ||
142 | fi | ||
143 | |||
144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
145 | as_basename=basename | ||
146 | else | ||
147 | as_basename=false | ||
148 | fi | ||
149 | |||
150 | |||
151 | # Name of the executable. | ||
152 | as_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 | |||
175 | if test "x$CONFIG_SHELL" = x; then | ||
176 | if (eval ":") 2>/dev/null; then | ||
177 | as_have_required=yes | ||
178 | else | ||
179 | as_have_required=no | ||
180 | fi | ||
181 | |||
182 | if test $as_have_required = yes && (eval ": | ||
183 | (as_func_return () { | ||
184 | (exit \$1) | ||
185 | } | ||
186 | as_func_success () { | ||
187 | as_func_return 0 | ||
188 | } | ||
189 | as_func_failure () { | ||
190 | as_func_return 1 | ||
191 | } | ||
192 | as_func_ret_success () { | ||
193 | return 0 | ||
194 | } | ||
195 | as_func_ret_failure () { | ||
196 | return 1 | ||
197 | } | ||
198 | |||
199 | exitcode=0 | ||
200 | if as_func_success; then | ||
201 | : | ||
202 | else | ||
203 | exitcode=1 | ||
204 | echo as_func_success failed. | ||
205 | fi | ||
206 | |||
207 | if as_func_failure; then | ||
208 | exitcode=1 | ||
209 | echo as_func_failure succeeded. | ||
210 | fi | ||
211 | |||
212 | if as_func_ret_success; then | ||
213 | : | ||
214 | else | ||
215 | exitcode=1 | ||
216 | echo as_func_ret_success failed. | ||
217 | fi | ||
218 | |||
219 | if as_func_ret_failure; then | ||
220 | exitcode=1 | ||
221 | echo as_func_ret_failure succeeded. | ||
222 | fi | ||
223 | |||
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
225 | : | ||
226 | else | ||
227 | exitcode=1 | ||
228 | echo positional parameters were not saved. | ||
229 | fi | ||
230 | |||
231 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
232 | |||
233 | ( | ||
234 | as_lineno_1=\$LINENO | ||
235 | as_lineno_2=\$LINENO | ||
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
238 | ") 2> /dev/null; then | ||
239 | : | ||
240 | else | ||
241 | as_candidate_shells= | ||
242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
244 | do | ||
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 | ||
253 | done | ||
254 | IFS=$as_save_IFS | ||
255 | |||
256 | |||
257 | for as_shell in $as_candidate_shells $SHELL; do | ||
258 | # Try only shells that exist, to save several forks. | ||
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
260 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
262 | emulate sh | ||
263 | NULLCMD=: | ||
264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
265 | # is contrary to our usage. Disable this feature. | ||
266 | alias -g '${1+"$@"}'='"$@"' | ||
267 | setopt NO_GLOB_SUBST | ||
268 | else | ||
269 | case `(set -o) 2>/dev/null` in | ||
270 | *posix*) set -o posix ;; | ||
271 | esac | ||
272 | |||
273 | fi | ||
274 | |||
275 | |||
276 | : | ||
277 | _ASEOF | ||
278 | }; then | ||
279 | CONFIG_SHELL=$as_shell | ||
280 | as_have_required=yes | ||
281 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
283 | emulate sh | ||
284 | NULLCMD=: | ||
285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
286 | # is contrary to our usage. Disable this feature. | ||
287 | alias -g '${1+"$@"}'='"$@"' | ||
288 | setopt NO_GLOB_SUBST | ||
289 | else | ||
290 | case `(set -o) 2>/dev/null` in | ||
291 | *posix*) set -o posix ;; | ||
292 | esac | ||
293 | |||
294 | fi | ||
295 | |||
296 | |||
297 | : | ||
298 | (as_func_return () { | ||
299 | (exit $1) | ||
300 | } | ||
301 | as_func_success () { | ||
302 | as_func_return 0 | ||
303 | } | ||
304 | as_func_failure () { | ||
305 | as_func_return 1 | ||
306 | } | ||
307 | as_func_ret_success () { | ||
308 | return 0 | ||
309 | } | ||
310 | as_func_ret_failure () { | ||
311 | return 1 | ||
312 | } | ||
313 | |||
314 | exitcode=0 | ||
315 | if as_func_success; then | ||
316 | : | ||
317 | else | ||
318 | exitcode=1 | ||
319 | echo as_func_success failed. | ||
320 | fi | ||
321 | |||
322 | if as_func_failure; then | ||
323 | exitcode=1 | ||
324 | echo as_func_failure succeeded. | ||
325 | fi | ||
326 | |||
327 | if as_func_ret_success; then | ||
328 | : | ||
329 | else | ||
330 | exitcode=1 | ||
331 | echo as_func_ret_success failed. | ||
332 | fi | ||
333 | |||
334 | if as_func_ret_failure; then | ||
335 | exitcode=1 | ||
336 | echo as_func_ret_failure succeeded. | ||
337 | fi | ||
338 | |||
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
340 | : | ||
341 | else | ||
342 | exitcode=1 | ||
343 | echo positional parameters were not saved. | ||
344 | fi | ||
345 | |||
346 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
347 | |||
348 | ( | ||
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 | ||
357 | fi | ||
358 | |||
359 | fi | ||
360 | |||
361 | done | ||
362 | |||
363 | if test "x$CONFIG_SHELL" != x; then | ||
364 | for as_var in BASH_ENV ENV | ||
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
366 | done | ||
367 | export CONFIG_SHELL | ||
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
369 | fi | ||
370 | |||
371 | |||
372 | if test $as_have_required = no; then | ||
373 | echo This script requires a shell more modern than all the | ||
374 | echo shells that I found on your system. Please install a | ||
375 | echo modern shell, or manually run the script under such a | ||
376 | echo shell if you do have one. | ||
377 | { (exit 1); exit 1; } | ||
378 | fi | ||
379 | |||
380 | |||
381 | fi | ||
382 | |||
383 | fi | ||
384 | |||
385 | |||
386 | |||
387 | (eval "as_func_return () { | ||
388 | (exit \$1) | ||
389 | } | ||
390 | as_func_success () { | ||
391 | as_func_return 0 | ||
392 | } | ||
393 | as_func_failure () { | ||
394 | as_func_return 1 | ||
395 | } | ||
396 | as_func_ret_success () { | ||
397 | return 0 | ||
398 | } | ||
399 | as_func_ret_failure () { | ||
400 | return 1 | ||
401 | } | ||
402 | |||
403 | exitcode=0 | ||
404 | if as_func_success; then | ||
405 | : | ||
406 | else | ||
407 | exitcode=1 | ||
408 | echo as_func_success failed. | ||
409 | fi | ||
410 | |||
411 | if as_func_failure; then | ||
412 | exitcode=1 | ||
413 | echo as_func_failure succeeded. | ||
414 | fi | ||
415 | |||
416 | if as_func_ret_success; then | ||
417 | : | ||
418 | else | ||
419 | exitcode=1 | ||
420 | echo as_func_ret_success failed. | ||
421 | fi | ||
422 | |||
423 | if as_func_ret_failure; then | ||
424 | exitcode=1 | ||
425 | echo as_func_ret_failure succeeded. | ||
426 | fi | ||
427 | |||
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
429 | : | ||
430 | else | ||
431 | exitcode=1 | ||
432 | echo positional parameters were not saved. | ||
433 | fi | ||
434 | |||
435 | test \$exitcode = 0") || { | ||
436 | echo No shell found that supports shell functions. | ||
437 | echo Please tell bug-autoconf@gnu.org about your system, | ||
438 | echo including any error possibly output before this message. | ||
439 | echo This can help us improve future autoconf versions. | ||
440 | echo Configuration will now proceed without shell functions. | ||
441 | } | ||
442 | |||
443 | |||
444 | |||
445 | as_lineno_1=$LINENO | ||
446 | as_lineno_2=$LINENO | ||
447 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
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 | |||
488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
489 | as_dirname=dirname | ||
490 | else | ||
491 | as_dirname=false | ||
492 | fi | ||
493 | |||
494 | ECHO_C= ECHO_N= ECHO_T= | ||
495 | case `echo -n x` in | ||
496 | -n*) | ||
497 | case `echo 'x\c'` in | ||
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
499 | *) ECHO_C='\c';; | ||
500 | esac;; | ||
501 | *) | ||
502 | ECHO_N='-n';; | ||
503 | esac | ||
504 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
506 | as_expr=expr | ||
507 | else | ||
508 | as_expr=false | ||
509 | fi | ||
510 | |||
511 | rm -f conf$$ conf$$.exe conf$$.file | ||
512 | if test -d conf$$.dir; then | ||
513 | rm -f conf$$.dir/conf$$.file | ||
514 | else | ||
515 | rm -f conf$$.dir | ||
516 | mkdir conf$$.dir 2>/dev/null | ||
517 | fi | ||
518 | if (echo >conf$$.file) 2>/dev/null; then | ||
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
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 | ||
532 | else | ||
533 | as_ln_s='cp -p' | ||
534 | fi | ||
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
536 | rmdir conf$$.dir 2>/dev/null | ||
537 | |||
538 | if mkdir -p . 2>/dev/null; then | ||
539 | as_mkdir_p=: | ||
540 | else | ||
541 | test -d ./-p && rmdir ./-p | ||
542 | as_mkdir_p=false | ||
543 | fi | ||
544 | |||
545 | if test -x / >/dev/null 2>&1; then | ||
546 | as_test_x='test -x' | ||
547 | else | ||
548 | if ls -dL / >/dev/null 2>&1; then | ||
549 | as_ls_L_option=L | ||
550 | else | ||
551 | as_ls_L_option= | ||
552 | fi | ||
553 | as_test_x=' | ||
554 | eval sh -c '\'' | ||
555 | if test -d "$1"; then | ||
556 | test -d "$1/."; | ||
557 | else | ||
558 | case $1 in | ||
559 | -*)set "./$1";; | ||
560 | esac; | ||
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
562 | ???[sx]*):;;*)false;;esac;fi | ||
563 | '\'' sh | ||
564 | ' | ||
565 | fi | ||
566 | as_executable_p=$as_test_x | ||
567 | |||
568 | # Sed expression to map a string onto a valid CPP name. | ||
569 | as_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. | ||
572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
573 | |||
574 | |||
575 | |||
576 | exec 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. | ||
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
582 | |||
583 | # | ||
584 | # Initializations. | ||
585 | # | ||
586 | ac_default_prefix=/usr/local | ||
587 | ac_clean_files= | ||
588 | ac_config_libobj_dir=. | ||
589 | LIB@&t@OBJS= | ||
590 | cross_compiling=no | ||
591 | subdirs= | ||
592 | MFLAGS= | ||
593 | MAKEFLAGS= | ||
594 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
595 | |||
596 | # Identity of this package. | ||
597 | PACKAGE_NAME='Maze Of Life' | ||
598 | PACKAGE_TARNAME='maze-of-life' | ||
599 | PACKAGE_VERSION='2.0' | ||
600 | PACKAGE_STRING='Maze Of Life 2.0' | ||
601 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' | ||
602 | |||
603 | ac_unique_file="src/mazeoflife.cpp" | ||
604 | # Factoring default headers for most tests. | ||
605 | ac_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 | |||
640 | ac_subst_vars='LTLIBOBJS | ||
641 | LIB@&t@OBJS | ||
642 | EGREP | ||
643 | GREP | ||
644 | CPP | ||
645 | SDL_LIBS | ||
646 | SDL_CFLAGS | ||
647 | PKG_CONFIG | ||
648 | am__fastdepCC_FALSE | ||
649 | am__fastdepCC_TRUE | ||
650 | CCDEPMODE | ||
651 | ac_ct_CC | ||
652 | CFLAGS | ||
653 | CC | ||
654 | am__fastdepCXX_FALSE | ||
655 | am__fastdepCXX_TRUE | ||
656 | CXXDEPMODE | ||
657 | AMDEPBACKSLASH | ||
658 | AMDEP_FALSE | ||
659 | AMDEP_TRUE | ||
660 | am__quote | ||
661 | am__include | ||
662 | DEPDIR | ||
663 | OBJEXT | ||
664 | EXEEXT | ||
665 | ac_ct_CXX | ||
666 | CPPFLAGS | ||
667 | LDFLAGS | ||
668 | CXXFLAGS | ||
669 | CXX | ||
670 | am__untar | ||
671 | am__tar | ||
672 | AMTAR | ||
673 | am__leading_dot | ||
674 | SET_MAKE | ||
675 | AWK | ||
676 | mkdir_p | ||
677 | MKDIR_P | ||
678 | INSTALL_STRIP_PROGRAM | ||
679 | STRIP | ||
680 | install_sh | ||
681 | MAKEINFO | ||
682 | AUTOHEADER | ||
683 | AUTOMAKE | ||
684 | AUTOCONF | ||
685 | ACLOCAL | ||
686 | VERSION | ||
687 | PACKAGE | ||
688 | CYGPATH_W | ||
689 | am__isrc | ||
690 | INSTALL_DATA | ||
691 | INSTALL_SCRIPT | ||
692 | INSTALL_PROGRAM | ||
693 | target_alias | ||
694 | host_alias | ||
695 | build_alias | ||
696 | LIBS | ||
697 | ECHO_T | ||
698 | ECHO_N | ||
699 | ECHO_C | ||
700 | DEFS | ||
701 | mandir | ||
702 | localedir | ||
703 | libdir | ||
704 | psdir | ||
705 | pdfdir | ||
706 | dvidir | ||
707 | htmldir | ||
708 | infodir | ||
709 | docdir | ||
710 | oldincludedir | ||
711 | includedir | ||
712 | localstatedir | ||
713 | sharedstatedir | ||
714 | sysconfdir | ||
715 | datadir | ||
716 | datarootdir | ||
717 | libexecdir | ||
718 | sbindir | ||
719 | bindir | ||
720 | program_transform_name | ||
721 | prefix | ||
722 | exec_prefix | ||
723 | PACKAGE_BUGREPORT | ||
724 | PACKAGE_STRING | ||
725 | PACKAGE_VERSION | ||
726 | PACKAGE_TARNAME | ||
727 | PACKAGE_NAME | ||
728 | PATH_SEPARATOR | ||
729 | SHELL' | ||
730 | ac_subst_files='' | ||
731 | ac_user_opts=' | ||
732 | enable_option_checking | ||
733 | enable_dependency_tracking | ||
734 | ' | ||
735 | ac_precious_vars='build_alias | ||
736 | host_alias | ||
737 | target_alias | ||
738 | CXX | ||
739 | CXXFLAGS | ||
740 | LDFLAGS | ||
741 | LIBS | ||
742 | CPPFLAGS | ||
743 | CCC | ||
744 | CC | ||
745 | CFLAGS | ||
746 | PKG_CONFIG | ||
747 | SDL_CFLAGS | ||
748 | SDL_LIBS | ||
749 | CPP' | ||
750 | |||
751 | |||
752 | # Initialize some variables set by options. | ||
753 | ac_init_help= | ||
754 | ac_init_version=false | ||
755 | ac_unrecognized_opts= | ||
756 | ac_unrecognized_sep= | ||
757 | # The variables have the same names as the options, with | ||
758 | # dashes changed to underlines. | ||
759 | cache_file=/dev/null | ||
760 | exec_prefix=NONE | ||
761 | no_create= | ||
762 | no_recursion= | ||
763 | prefix=NONE | ||
764 | program_prefix=NONE | ||
765 | program_suffix=NONE | ||
766 | program_transform_name=s,x,x, | ||
767 | silent= | ||
768 | site= | ||
769 | srcdir= | ||
770 | verbose= | ||
771 | x_includes=NONE | ||
772 | x_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.) | ||
780 | bindir='${exec_prefix}/bin' | ||
781 | sbindir='${exec_prefix}/sbin' | ||
782 | libexecdir='${exec_prefix}/libexec' | ||
783 | datarootdir='${prefix}/share' | ||
784 | datadir='${datarootdir}' | ||
785 | sysconfdir='${prefix}/etc' | ||
786 | sharedstatedir='${prefix}/com' | ||
787 | localstatedir='${prefix}/var' | ||
788 | includedir='${prefix}/include' | ||
789 | oldincludedir='/usr/include' | ||
790 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
791 | infodir='${datarootdir}/info' | ||
792 | htmldir='${docdir}' | ||
793 | dvidir='${docdir}' | ||
794 | pdfdir='${docdir}' | ||
795 | psdir='${docdir}' | ||
796 | libdir='${exec_prefix}/lib' | ||
797 | localedir='${datarootdir}/locale' | ||
798 | mandir='${datarootdir}/man' | ||
799 | |||
800 | ac_prev= | ||
801 | ac_dashdash= | ||
802 | for ac_option | ||
803 | do | ||
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 | ||
1139 | Try \`$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 | ||
1161 | done | ||
1162 | |||
1163 | if 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; }; } | ||
1167 | fi | ||
1168 | |||
1169 | if 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 | ||
1176 | fi | ||
1177 | |||
1178 | # Check all directory arguments for consistency. | ||
1179 | for 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 | ||
1183 | do | ||
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; }; } | ||
1198 | done | ||
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. | ||
1203 | build=$build_alias | ||
1204 | host=$host_alias | ||
1205 | target=$target_alias | ||
1206 | |||
1207 | # FIXME: To remove some day. | ||
1208 | if 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 | ||
1216 | fi | ||
1217 | |||
1218 | ac_tool_prefix= | ||
1219 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
1220 | |||
1221 | test "$silent" = yes && exec 6>/dev/null | ||
1222 | |||
1223 | |||
1224 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1225 | ac_ls_di=`ls -di .` && | ||
1226 | ac_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; }; } | ||
1229 | test "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. | ||
1235 | if 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 | ||
1265 | else | ||
1266 | ac_srcdir_defaulted=no | ||
1267 | fi | ||
1268 | if 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; }; } | ||
1272 | fi | ||
1273 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1274 | ac_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=. | ||
1279 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1280 | srcdir=. | ||
1281 | fi | ||
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. | ||
1285 | case $srcdir in | ||
1286 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
1287 | esac | ||
1288 | for 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} | ||
1293 | done | ||
1294 | |||
1295 | # | ||
1296 | # Report the --help message. | ||
1297 | # | ||
1298 | if 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 | |||
1304 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
1305 | |||
1306 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
1307 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
1308 | |||
1309 | Defaults for the options are specified in brackets. | ||
1310 | |||
1311 | Configuration: | ||
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 | |||
1322 | Installation 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 | |||
1328 | By default, \`make install' will install all the files in | ||
1329 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
1330 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
1331 | for instance \`--prefix=\$HOME'. | ||
1332 | |||
1333 | For better control, use the options below. | ||
1334 | |||
1335 | Fine 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 | |||
1359 | Program 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 | ||
1364 | fi | ||
1365 | |||
1366 | if 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 | |||
1372 | Optional 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 | |||
1379 | Some 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 | |||
1394 | Use these variables to override the choices made by `configure' or to help | ||
1395 | it to find libraries and programs with nonstandard names/locations. | ||
1396 | |||
1397 | Report bugs to <BUG-REPORT-ADDRESS>. | ||
1398 | _ACEOF | ||
1399 | ac_status=$? | ||
1400 | fi | ||
1401 | |||
1402 | if 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 | |||
1410 | case "$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 ;; | ||
1420 | esac | ||
1421 | ac_abs_top_builddir=$ac_pwd | ||
1422 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1423 | # for backward compatibility: | ||
1424 | ac_top_builddir=$ac_top_build_prefix | ||
1425 | |||
1426 | case $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 ;; | ||
1439 | esac | ||
1440 | ac_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 | ||
1455 | fi | ||
1456 | |||
1457 | test -n "$ac_init_help" && exit $ac_status | ||
1458 | if $ac_init_version; then | ||
1459 | cat <<\_ACEOF | ||
1460 | Maze Of Life configure 2.0 | ||
1461 | generated by GNU Autoconf 2.63 | ||
1462 | |||
1463 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
1464 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
1465 | This configure script is free software; the Free Software Foundation | ||
1466 | gives unlimited permission to copy, distribute and modify it. | ||
1467 | _ACEOF | ||
1468 | exit | ||
1469 | fi | ||
1470 | cat >config.log <<_ACEOF | ||
1471 | This file contains any messages produced by compilers while | ||
1472 | running configure, to aid debugging if configure makes a mistake. | ||
1473 | |||
1474 | It was created by Maze Of Life $as_me 2.0, which was | ||
1475 | generated by GNU Autoconf 2.63. Invocation command line was | ||
1476 | |||
1477 | $ $0 $@ | ||
1478 | |||
1479 | _ACEOF | ||
1480 | exec 5>>config.log | ||
1481 | { | ||
1482 | cat <<_ASUNAME | ||
1483 | @%:@@%:@ --------- @%:@@%:@ | ||
1484 | @%:@@%:@ Platform. @%:@@%:@ | ||
1485 | @%:@@%:@ --------- @%:@@%:@ | ||
1486 | |||
1487 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1488 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1489 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1490 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1491 | uname -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 | |||
1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1507 | for as_dir in $PATH | ||
1508 | do | ||
1509 | IFS=$as_save_IFS | ||
1510 | test -z "$as_dir" && as_dir=. | ||
1511 | $as_echo "PATH: $as_dir" | ||
1512 | done | ||
1513 | IFS=$as_save_IFS | ||
1514 | |||
1515 | } >&5 | ||
1516 | |||
1517 | cat >&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. | ||
1532 | ac_configure_args= | ||
1533 | ac_configure_args0= | ||
1534 | ac_configure_args1= | ||
1535 | ac_must_keep_next=false | ||
1536 | for ac_pass in 1 2 | ||
1537 | do | ||
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 | ||
1571 | done | ||
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. | ||
1580 | trap '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 | ||
1675 | for ac_signal in 1 2 13 15; do | ||
1676 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1677 | done | ||
1678 | ac_signal=0 | ||
1679 | |||
1680 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1681 | rm -f -r conftest* confdefs.h | ||
1682 | |||
1683 | # Predefined preprocessor variables. | ||
1684 | |||
1685 | cat >>confdefs.h <<_ACEOF | ||
1686 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | ||
1687 | _ACEOF | ||
1688 | |||
1689 | |||
1690 | cat >>confdefs.h <<_ACEOF | ||
1691 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1692 | _ACEOF | ||
1693 | |||
1694 | |||
1695 | cat >>confdefs.h <<_ACEOF | ||
1696 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1697 | _ACEOF | ||
1698 | |||
1699 | |||
1700 | cat >>confdefs.h <<_ACEOF | ||
1701 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | ||
1702 | _ACEOF | ||
1703 | |||
1704 | |||
1705 | cat >>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. | ||
1712 | ac_site_file1=NONE | ||
1713 | ac_site_file2=NONE | ||
1714 | if test -n "$CONFIG_SITE"; then | ||
1715 | ac_site_file1=$CONFIG_SITE | ||
1716 | elif test "x$prefix" != xNONE; then | ||
1717 | ac_site_file1=$prefix/share/config.site | ||
1718 | ac_site_file2=$prefix/etc/config.site | ||
1719 | else | ||
1720 | ac_site_file1=$ac_default_prefix/share/config.site | ||
1721 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
1722 | fi | ||
1723 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
1724 | do | ||
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 | ||
1732 | done | ||
1733 | |||
1734 | if 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 | ||
1745 | else | ||
1746 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1747 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
1748 | >$cache_file | ||
1749 | fi | ||
1750 | |||
1751 | # Check that the precious variables saved in the cache have kept the same | ||
1752 | # value. | ||
1753 | ac_cache_corrupted=false | ||
1754 | for 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 | ||
1800 | done | ||
1801 | if $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; }; } | ||
1809 | fi | ||
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 | |||
1835 | ac_ext=c | ||
1836 | ac_cpp='$CPP $CPPFLAGS' | ||
1837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1840 | |||
1841 | |||
1842 | am__api_version='1.10' | ||
1843 | |||
1844 | ac_aux_dir= | ||
1845 | for 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 | ||
1859 | done | ||
1860 | if 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; }; } | ||
1864 | fi | ||
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. | ||
1870 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
1871 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
1872 | ac_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; } | ||
1891 | if test -z "$INSTALL"; then | ||
1892 | if test "${ac_cv_path_install+set}" = set; then | ||
1893 | $as_echo_n "(cached) " >&6 | ||
1894 | else | ||
1895 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1896 | for as_dir in $PATH | ||
1897 | do | ||
1898 | IFS=$as_save_IFS | ||
1899 | test -z "$as_dir" && as_dir=. | ||
1900 | # Account for people who put trailing slashes in PATH elements. | ||
1901 | case $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 | ;; | ||
1939 | esac | ||
1940 | |||
1941 | done | ||
1942 | IFS=$as_save_IFS | ||
1943 | |||
1944 | rm -rf conftest.one conftest.two conftest.dir | ||
1945 | |||
1946 | fi | ||
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 | ||
1956 | fi | ||
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. | ||
1962 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
1963 | |||
1964 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
1965 | |||
1966 | test -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 | ||
1971 | sleep 1 | ||
1972 | echo 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). | ||
1978 | if ( | ||
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 | ||
1993 | alias in your environment" >&5 | ||
1994 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
1995 | alias in your environment" >&2;} | ||
1996 | { (exit 1); exit 1; }; } | ||
1997 | fi | ||
1998 | |||
1999 | test "$2" = conftest.file | ||
2000 | ) | ||
2001 | then | ||
2002 | # Ok. | ||
2003 | : | ||
2004 | else | ||
2005 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | ||
2006 | Check your system clock" >&5 | ||
2007 | $as_echo "$as_me: error: newly created file is older than distributed files! | ||
2008 | Check your system clock" >&2;} | ||
2009 | { (exit 1); exit 1; }; } | ||
2010 | fi | ||
2011 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2012 | $as_echo "yes" >&6; } | ||
2013 | test "$program_prefix" != NONE && | ||
2014 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
2015 | # Use a double $ so make ignores it. | ||
2016 | test "$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. | ||
2020 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
2021 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
2022 | |||
2023 | # expand $ac_aux_dir to an absolute path | ||
2024 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
2025 | |||
2026 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
2027 | # Use eval to expand $SHELL | ||
2028 | if eval "$MISSING --run true"; then | ||
2029 | am_missing_run="$MISSING --run " | ||
2030 | else | ||
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;} | ||
2034 | fi | ||
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; } | ||
2038 | if test -z "$MKDIR_P"; then | ||
2039 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
2040 | $as_echo_n "(cached) " >&6 | ||
2041 | else | ||
2042 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2043 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
2044 | do | ||
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 | ||
2059 | done | ||
2060 | IFS=$as_save_IFS | ||
2061 | |||
2062 | fi | ||
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 | ||
2074 | fi | ||
2075 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | ||
2076 | $as_echo "$MKDIR_P" >&6; } | ||
2077 | |||
2078 | mkdir_p="$MKDIR_P" | ||
2079 | case $mkdir_p in | ||
2080 | [\\/$]* | ?:[\\/]*) ;; | ||
2081 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
2082 | esac | ||
2083 | |||
2084 | for ac_prog in gawk mawk nawk awk | ||
2085 | do | ||
2086 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2087 | set 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; } | ||
2090 | if test "${ac_cv_prog_AWK+set}" = set; then | ||
2091 | $as_echo_n "(cached) " >&6 | ||
2092 | else | ||
2093 | if test -n "$AWK"; then | ||
2094 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
2095 | else | ||
2096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2097 | for as_dir in $PATH | ||
2098 | do | ||
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 | ||
2107 | done | ||
2108 | done | ||
2109 | IFS=$as_save_IFS | ||
2110 | |||
2111 | fi | ||
2112 | fi | ||
2113 | AWK=$ac_cv_prog_AWK | ||
2114 | if test -n "$AWK"; then | ||
2115 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | ||
2116 | $as_echo "$AWK" >&6; } | ||
2117 | else | ||
2118 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2119 | $as_echo "no" >&6; } | ||
2120 | fi | ||
2121 | |||
2122 | |||
2123 | test -n "$AWK" && break | ||
2124 | done | ||
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; } | ||
2128 | set x ${MAKE-make} | ||
2129 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
2130 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
2131 | $as_echo_n "(cached) " >&6 | ||
2132 | else | ||
2133 | cat >conftest.make <<\_ACEOF | ||
2134 | SHELL = /bin/sh | ||
2135 | all: | ||
2136 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
2137 | _ACEOF | ||
2138 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
2139 | case `${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;; | ||
2144 | esac | ||
2145 | rm -f conftest.make | ||
2146 | fi | ||
2147 | if 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= | ||
2151 | else | ||
2152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2153 | $as_echo "no" >&6; } | ||
2154 | SET_MAKE="MAKE=${MAKE-make}" | ||
2155 | fi | ||
2156 | |||
2157 | rm -rf .tst 2>/dev/null | ||
2158 | mkdir .tst 2>/dev/null | ||
2159 | if test -d .tst; then | ||
2160 | am__leading_dot=. | ||
2161 | else | ||
2162 | am__leading_dot=_ | ||
2163 | fi | ||
2164 | rmdir .tst 2>/dev/null | ||
2165 | |||
2166 | if 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 | ||
2176 | fi | ||
2177 | |||
2178 | # test whether we have cygpath | ||
2179 | if 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 | ||
2185 | fi | ||
2186 | |||
2187 | |||
2188 | # Define the identity of the package. | ||
2189 | PACKAGE='maze-of-life' | ||
2190 | VERSION='2.0' | ||
2191 | |||
2192 | |||
2193 | cat >>confdefs.h <<_ACEOF | ||
2194 | @%:@define PACKAGE "$PACKAGE" | ||
2195 | _ACEOF | ||
2196 | |||
2197 | |||
2198 | cat >>confdefs.h <<_ACEOF | ||
2199 | @%:@define VERSION "$VERSION" | ||
2200 | _ACEOF | ||
2201 | |||
2202 | # Some tools Automake needs. | ||
2203 | |||
2204 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
2205 | |||
2206 | |||
2207 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
2208 | |||
2209 | |||
2210 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
2211 | |||
2212 | |||
2213 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
2214 | |||
2215 | |||
2216 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
2217 | |||
2218 | install_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. | ||
2224 | if 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. | ||
2227 | set 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; } | ||
2230 | if test "${ac_cv_prog_STRIP+set}" = set; then | ||
2231 | $as_echo_n "(cached) " >&6 | ||
2232 | else | ||
2233 | if test -n "$STRIP"; then | ||
2234 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
2235 | else | ||
2236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2237 | for as_dir in $PATH | ||
2238 | do | ||
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 | ||
2247 | done | ||
2248 | done | ||
2249 | IFS=$as_save_IFS | ||
2250 | |||
2251 | fi | ||
2252 | fi | ||
2253 | STRIP=$ac_cv_prog_STRIP | ||
2254 | if test -n "$STRIP"; then | ||
2255 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
2256 | $as_echo "$STRIP" >&6; } | ||
2257 | else | ||
2258 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2259 | $as_echo "no" >&6; } | ||
2260 | fi | ||
2261 | |||
2262 | |||
2263 | fi | ||
2264 | if 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. | ||
2267 | set 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; } | ||
2270 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
2271 | $as_echo_n "(cached) " >&6 | ||
2272 | else | ||
2273 | if test -n "$ac_ct_STRIP"; then | ||
2274 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
2275 | else | ||
2276 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2277 | for as_dir in $PATH | ||
2278 | do | ||
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 | ||
2287 | done | ||
2288 | done | ||
2289 | IFS=$as_save_IFS | ||
2290 | |||
2291 | fi | ||
2292 | fi | ||
2293 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
2294 | if test -n "$ac_ct_STRIP"; then | ||
2295 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
2296 | $as_echo "$ac_ct_STRIP" >&6; } | ||
2297 | else | ||
2298 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2299 | $as_echo "no" >&6; } | ||
2300 | fi | ||
2301 | |||
2302 | if test "x$ac_ct_STRIP" = x; then | ||
2303 | STRIP=":" | ||
2304 | else | ||
2305 | case $cross_compiling:$ac_tool_warned in | ||
2306 | yes:) | ||
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;} | ||
2309 | ac_tool_warned=yes ;; | ||
2310 | esac | ||
2311 | STRIP=$ac_ct_STRIP | ||
2312 | fi | ||
2313 | else | ||
2314 | STRIP="$ac_cv_prog_STRIP" | ||
2315 | fi | ||
2316 | |||
2317 | fi | ||
2318 | INSTALL_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 | |||
2324 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
2325 | |||
2326 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
2327 | |||
2328 | |||
2329 | |||
2330 | |||
2331 | |||
2332 | |||
2333 | ac_config_headers="$ac_config_headers config.h" | ||
2334 | |||
2335 | |||
2336 | # Checks for programs. | ||
2337 | ac_ext=cpp | ||
2338 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
2339 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2340 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2341 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
2342 | if 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. | ||
2350 | set 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; } | ||
2353 | if test "${ac_cv_prog_CXX+set}" = set; then | ||
2354 | $as_echo_n "(cached) " >&6 | ||
2355 | else | ||
2356 | if test -n "$CXX"; then | ||
2357 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | ||
2358 | else | ||
2359 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2360 | for as_dir in $PATH | ||
2361 | do | ||
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 | ||
2370 | done | ||
2371 | done | ||
2372 | IFS=$as_save_IFS | ||
2373 | |||
2374 | fi | ||
2375 | fi | ||
2376 | CXX=$ac_cv_prog_CXX | ||
2377 | if test -n "$CXX"; then | ||
2378 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 | ||
2379 | $as_echo "$CXX" >&6; } | ||
2380 | else | ||
2381 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2382 | $as_echo "no" >&6; } | ||
2383 | fi | ||
2384 | |||
2385 | |||
2386 | test -n "$CXX" && break | ||
2387 | done | ||
2388 | fi | ||
2389 | if 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 | ||
2392 | do | ||
2393 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2394 | set 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; } | ||
2397 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | ||
2398 | $as_echo_n "(cached) " >&6 | ||
2399 | else | ||
2400 | if test -n "$ac_ct_CXX"; then | ||
2401 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ||
2402 | else | ||
2403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2404 | for as_dir in $PATH | ||
2405 | do | ||
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 | ||
2414 | done | ||
2415 | done | ||
2416 | IFS=$as_save_IFS | ||
2417 | |||
2418 | fi | ||
2419 | fi | ||
2420 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ||
2421 | if test -n "$ac_ct_CXX"; then | ||
2422 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | ||
2423 | $as_echo "$ac_ct_CXX" >&6; } | ||
2424 | else | ||
2425 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2426 | $as_echo "no" >&6; } | ||
2427 | fi | ||
2428 | |||
2429 | |||
2430 | test -n "$ac_ct_CXX" && break | ||
2431 | done | ||
2432 | |||
2433 | if test "x$ac_ct_CXX" = x; then | ||
2434 | CXX="g++" | ||
2435 | else | ||
2436 | case $cross_compiling:$ac_tool_warned in | ||
2437 | yes:) | ||
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;} | ||
2440 | ac_tool_warned=yes ;; | ||
2441 | esac | ||
2442 | CXX=$ac_ct_CXX | ||
2443 | fi | ||
2444 | fi | ||
2445 | |||
2446 | fi | ||
2447 | fi | ||
2448 | # Provide some information about the compiler. | ||
2449 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | ||
2450 | set X $ac_compile | ||
2451 | ac_compiler=$2 | ||
2452 | { (ac_try="$ac_compiler --version >&5" | ||
2453 | case "(($ac_try" in | ||
2454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2455 | *) ac_try_echo=$ac_try;; | ||
2456 | esac | ||
2457 | eval 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" | ||
2464 | case "(($ac_try" in | ||
2465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2466 | *) ac_try_echo=$ac_try;; | ||
2467 | esac | ||
2468 | eval 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" | ||
2475 | case "(($ac_try" in | ||
2476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2477 | *) ac_try_echo=$ac_try;; | ||
2478 | esac | ||
2479 | eval 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 | |||
2486 | cat >conftest.$ac_ext <<_ACEOF | ||
2487 | /* confdefs.h. */ | ||
2488 | _ACEOF | ||
2489 | cat confdefs.h >>conftest.$ac_ext | ||
2490 | cat >>conftest.$ac_ext <<_ACEOF | ||
2491 | /* end confdefs.h. */ | ||
2492 | |||
2493 | int | ||
2494 | main () | ||
2495 | { | ||
2496 | |||
2497 | ; | ||
2498 | return 0; | ||
2499 | } | ||
2500 | _ACEOF | ||
2501 | ac_clean_files_save=$ac_clean_files | ||
2502 | ac_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; } | ||
2508 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
2509 | |||
2510 | # The possible output files: | ||
2511 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
2512 | |||
2513 | ac_rmfiles= | ||
2514 | for ac_file in $ac_files | ||
2515 | do | ||
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 | ||
2520 | done | ||
2521 | rm -f $ac_rmfiles | ||
2522 | |||
2523 | if { (ac_try="$ac_link_default" | ||
2524 | case "(($ac_try" in | ||
2525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2526 | *) ac_try_echo=$ac_try;; | ||
2527 | esac | ||
2528 | eval 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. | ||
2539 | for ac_file in $ac_files '' | ||
2540 | do | ||
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 | ||
2563 | done | ||
2564 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2565 | |||
2566 | else | ||
2567 | ac_file='' | ||
2568 | fi | ||
2569 | |||
2570 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2571 | $as_echo "$ac_file" >&6; } | ||
2572 | if test -z "$ac_file"; then | ||
2573 | $as_echo "$as_me: failed program was:" >&5 | ||
2574 | sed '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 | ||
2579 | See \`config.log' for more details." >&5 | ||
2580 | $as_echo "$as_me: error: C++ compiler cannot create executables | ||
2581 | See \`config.log' for more details." >&2;} | ||
2582 | { (exit 77); exit 77; }; }; } | ||
2583 | fi | ||
2584 | |||
2585 | ac_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. | ||
2593 | if 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;; | ||
2598 | esac | ||
2599 | eval 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. | ||
2613 | If you meant to cross compile, use \`--host'. | ||
2614 | See \`config.log' for more details." >&5 | ||
2615 | $as_echo "$as_me: error: cannot run C++ compiled programs. | ||
2616 | If you meant to cross compile, use \`--host'. | ||
2617 | See \`config.log' for more details." >&2;} | ||
2618 | { (exit 1); exit 1; }; }; } | ||
2619 | fi | ||
2620 | fi | ||
2621 | fi | ||
2622 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2623 | $as_echo "yes" >&6; } | ||
2624 | |||
2625 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
2626 | ac_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; } | ||
2636 | if { (ac_try="$ac_link" | ||
2637 | case "(($ac_try" in | ||
2638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2639 | *) ac_try_echo=$ac_try;; | ||
2640 | esac | ||
2641 | eval 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'. | ||
2651 | for 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 | ||
2659 | done | ||
2660 | else | ||
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 | ||
2664 | See \`config.log' for more details." >&5 | ||
2665 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
2666 | See \`config.log' for more details." >&2;} | ||
2667 | { (exit 1); exit 1; }; }; } | ||
2668 | fi | ||
2669 | |||
2670 | rm -f conftest$ac_cv_exeext | ||
2671 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
2672 | $as_echo "$ac_cv_exeext" >&6; } | ||
2673 | |||
2674 | rm -f conftest.$ac_ext | ||
2675 | EXEEXT=$ac_cv_exeext | ||
2676 | ac_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; } | ||
2679 | if test "${ac_cv_objext+set}" = set; then | ||
2680 | $as_echo_n "(cached) " >&6 | ||
2681 | else | ||
2682 | cat >conftest.$ac_ext <<_ACEOF | ||
2683 | /* confdefs.h. */ | ||
2684 | _ACEOF | ||
2685 | cat confdefs.h >>conftest.$ac_ext | ||
2686 | cat >>conftest.$ac_ext <<_ACEOF | ||
2687 | /* end confdefs.h. */ | ||
2688 | |||
2689 | int | ||
2690 | main () | ||
2691 | { | ||
2692 | |||
2693 | ; | ||
2694 | return 0; | ||
2695 | } | ||
2696 | _ACEOF | ||
2697 | rm -f conftest.o conftest.obj | ||
2698 | if { (ac_try="$ac_compile" | ||
2699 | case "(($ac_try" in | ||
2700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2701 | *) ac_try_echo=$ac_try;; | ||
2702 | esac | ||
2703 | eval 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 | ||
2716 | done | ||
2717 | else | ||
2718 | $as_echo "$as_me: failed program was:" >&5 | ||
2719 | sed '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 | ||
2724 | See \`config.log' for more details." >&5 | ||
2725 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
2726 | See \`config.log' for more details." >&2;} | ||
2727 | { (exit 1); exit 1; }; }; } | ||
2728 | fi | ||
2729 | |||
2730 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
2731 | fi | ||
2732 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
2733 | $as_echo "$ac_cv_objext" >&6; } | ||
2734 | OBJEXT=$ac_cv_objext | ||
2735 | ac_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; } | ||
2738 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | ||
2739 | $as_echo_n "(cached) " >&6 | ||
2740 | else | ||
2741 | cat >conftest.$ac_ext <<_ACEOF | ||
2742 | /* confdefs.h. */ | ||
2743 | _ACEOF | ||
2744 | cat confdefs.h >>conftest.$ac_ext | ||
2745 | cat >>conftest.$ac_ext <<_ACEOF | ||
2746 | /* end confdefs.h. */ | ||
2747 | |||
2748 | int | ||
2749 | main () | ||
2750 | { | ||
2751 | #ifndef __GNUC__ | ||
2752 | choke me | ||
2753 | #endif | ||
2754 | |||
2755 | ; | ||
2756 | return 0; | ||
2757 | } | ||
2758 | _ACEOF | ||
2759 | rm -f conftest.$ac_objext | ||
2760 | if { (ac_try="$ac_compile" | ||
2761 | case "(($ac_try" in | ||
2762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2763 | *) ac_try_echo=$ac_try;; | ||
2764 | esac | ||
2765 | eval 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 | ||
2778 | else | ||
2779 | $as_echo "$as_me: failed program was:" >&5 | ||
2780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2781 | |||
2782 | ac_compiler_gnu=no | ||
2783 | fi | ||
2784 | |||
2785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2786 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ||
2787 | |||
2788 | fi | ||
2789 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | ||
2790 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | ||
2791 | if test $ac_compiler_gnu = yes; then | ||
2792 | GXX=yes | ||
2793 | else | ||
2794 | GXX= | ||
2795 | fi | ||
2796 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ||
2797 | ac_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; } | ||
2800 | if test "${ac_cv_prog_cxx_g+set}" = set; then | ||
2801 | $as_echo_n "(cached) " >&6 | ||
2802 | else | ||
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 | ||
2810 | cat confdefs.h >>conftest.$ac_ext | ||
2811 | cat >>conftest.$ac_ext <<_ACEOF | ||
2812 | /* end confdefs.h. */ | ||
2813 | |||
2814 | int | ||
2815 | main () | ||
2816 | { | ||
2817 | |||
2818 | ; | ||
2819 | return 0; | ||
2820 | } | ||
2821 | _ACEOF | ||
2822 | rm -f conftest.$ac_objext | ||
2823 | if { (ac_try="$ac_compile" | ||
2824 | case "(($ac_try" in | ||
2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2826 | *) ac_try_echo=$ac_try;; | ||
2827 | esac | ||
2828 | eval 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 | ||
2841 | else | ||
2842 | $as_echo "$as_me: failed program was:" >&5 | ||
2843 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2844 | |||
2845 | CXXFLAGS="" | ||
2846 | cat >conftest.$ac_ext <<_ACEOF | ||
2847 | /* confdefs.h. */ | ||
2848 | _ACEOF | ||
2849 | cat confdefs.h >>conftest.$ac_ext | ||
2850 | cat >>conftest.$ac_ext <<_ACEOF | ||
2851 | /* end confdefs.h. */ | ||
2852 | |||
2853 | int | ||
2854 | main () | ||
2855 | { | ||
2856 | |||
2857 | ; | ||
2858 | return 0; | ||
2859 | } | ||
2860 | _ACEOF | ||
2861 | rm -f conftest.$ac_objext | ||
2862 | if { (ac_try="$ac_compile" | ||
2863 | case "(($ac_try" in | ||
2864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2865 | *) ac_try_echo=$ac_try;; | ||
2866 | esac | ||
2867 | eval 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 | : | ||
2880 | else | ||
2881 | $as_echo "$as_me: failed program was:" >&5 | ||
2882 | sed '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 | ||
2889 | cat confdefs.h >>conftest.$ac_ext | ||
2890 | cat >>conftest.$ac_ext <<_ACEOF | ||
2891 | /* end confdefs.h. */ | ||
2892 | |||
2893 | int | ||
2894 | main () | ||
2895 | { | ||
2896 | |||
2897 | ; | ||
2898 | return 0; | ||
2899 | } | ||
2900 | _ACEOF | ||
2901 | rm -f conftest.$ac_objext | ||
2902 | if { (ac_try="$ac_compile" | ||
2903 | case "(($ac_try" in | ||
2904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2905 | *) ac_try_echo=$ac_try;; | ||
2906 | esac | ||
2907 | eval 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 | ||
2920 | else | ||
2921 | $as_echo "$as_me: failed program was:" >&5 | ||
2922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2923 | |||
2924 | |||
2925 | fi | ||
2926 | |||
2927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2928 | fi | ||
2929 | |||
2930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2931 | fi | ||
2932 | |||
2933 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2934 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ||
2935 | fi | ||
2936 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | ||
2937 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | ||
2938 | if test "$ac_test_CXXFLAGS" = set; then | ||
2939 | CXXFLAGS=$ac_save_CXXFLAGS | ||
2940 | elif 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 | ||
2946 | else | ||
2947 | if test "$GXX" = yes; then | ||
2948 | CXXFLAGS="-O2" | ||
2949 | else | ||
2950 | CXXFLAGS= | ||
2951 | fi | ||
2952 | fi | ||
2953 | ac_ext=c | ||
2954 | ac_cpp='$CPP $CPPFLAGS' | ||
2955 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2956 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2957 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2958 | DEPDIR="${am__leading_dot}deps" | ||
2959 | |||
2960 | ac_config_commands="$ac_config_commands depfiles" | ||
2961 | |||
2962 | |||
2963 | am_make=${MAKE-make} | ||
2964 | cat > confinc << 'END' | ||
2965 | am__doit: | ||
2966 | @echo done | ||
2967 | .PHONY: am__doit | ||
2968 | END | ||
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; } | ||
2972 | am__include="#" | ||
2973 | am__quote= | ||
2974 | _am_result=none | ||
2975 | # First try GNU make style include. | ||
2976 | echo "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'. | ||
2982 | if 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 | ||
2986 | fi | ||
2987 | # Now try BSD make style include. | ||
2988 | if 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 | ||
2995 | fi | ||
2996 | |||
2997 | |||
2998 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | ||
2999 | $as_echo "$_am_result" >&6; } | ||
3000 | rm -f confinc confmf | ||
3001 | |||
3002 | @%:@ Check whether --enable-dependency-tracking was given. | ||
3003 | if test "${enable_dependency_tracking+set}" = set; then | ||
3004 | enableval=$enable_dependency_tracking; | ||
3005 | fi | ||
3006 | |||
3007 | if test "x$enable_dependency_tracking" != xno; then | ||
3008 | am_depcomp="$ac_aux_dir/depcomp" | ||
3009 | AMDEPBACKSLASH='\' | ||
3010 | fi | ||
3011 | if test "x$enable_dependency_tracking" != xno; then | ||
3012 | AMDEP_TRUE= | ||
3013 | AMDEP_FALSE='#' | ||
3014 | else | ||
3015 | AMDEP_TRUE='#' | ||
3016 | AMDEP_FALSE= | ||
3017 | fi | ||
3018 | |||
3019 | |||
3020 | |||
3021 | depcc="$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; } | ||
3025 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | ||
3026 | $as_echo_n "(cached) " >&6 | ||
3027 | else | ||
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 | ||
3109 | else | ||
3110 | am_cv_CXX_dependencies_compiler_type=none | ||
3111 | fi | ||
3112 | |||
3113 | fi | ||
3114 | { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | ||
3115 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | ||
3116 | CXXDEPMODE=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='#' | ||
3123 | else | ||
3124 | am__fastdepCXX_TRUE='#' | ||
3125 | am__fastdepCXX_FALSE= | ||
3126 | fi | ||
3127 | |||
3128 | |||
3129 | ac_ext=c | ||
3130 | ac_cpp='$CPP $CPPFLAGS' | ||
3131 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3132 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3133 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3134 | if 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. | ||
3136 | set 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; } | ||
3139 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3140 | $as_echo_n "(cached) " >&6 | ||
3141 | else | ||
3142 | if test -n "$CC"; then | ||
3143 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3144 | else | ||
3145 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3146 | for as_dir in $PATH | ||
3147 | do | ||
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 | ||
3156 | done | ||
3157 | done | ||
3158 | IFS=$as_save_IFS | ||
3159 | |||
3160 | fi | ||
3161 | fi | ||
3162 | CC=$ac_cv_prog_CC | ||
3163 | if test -n "$CC"; then | ||
3164 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3165 | $as_echo "$CC" >&6; } | ||
3166 | else | ||
3167 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3168 | $as_echo "no" >&6; } | ||
3169 | fi | ||
3170 | |||
3171 | |||
3172 | fi | ||
3173 | if 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. | ||
3176 | set 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; } | ||
3179 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3180 | $as_echo_n "(cached) " >&6 | ||
3181 | else | ||
3182 | if test -n "$ac_ct_CC"; then | ||
3183 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3184 | else | ||
3185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3186 | for as_dir in $PATH | ||
3187 | do | ||
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 | ||
3196 | done | ||
3197 | done | ||
3198 | IFS=$as_save_IFS | ||
3199 | |||
3200 | fi | ||
3201 | fi | ||
3202 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3203 | if test -n "$ac_ct_CC"; then | ||
3204 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3205 | $as_echo "$ac_ct_CC" >&6; } | ||
3206 | else | ||
3207 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3208 | $as_echo "no" >&6; } | ||
3209 | fi | ||
3210 | |||
3211 | if test "x$ac_ct_CC" = x; then | ||
3212 | CC="" | ||
3213 | else | ||
3214 | case $cross_compiling:$ac_tool_warned in | ||
3215 | yes:) | ||
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;} | ||
3218 | ac_tool_warned=yes ;; | ||
3219 | esac | ||
3220 | CC=$ac_ct_CC | ||
3221 | fi | ||
3222 | else | ||
3223 | CC="$ac_cv_prog_CC" | ||
3224 | fi | ||
3225 | |||
3226 | if 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. | ||
3229 | set 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; } | ||
3232 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3233 | $as_echo_n "(cached) " >&6 | ||
3234 | else | ||
3235 | if test -n "$CC"; then | ||
3236 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3237 | else | ||
3238 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3239 | for as_dir in $PATH | ||
3240 | do | ||
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 | ||
3249 | done | ||
3250 | done | ||
3251 | IFS=$as_save_IFS | ||
3252 | |||
3253 | fi | ||
3254 | fi | ||
3255 | CC=$ac_cv_prog_CC | ||
3256 | if test -n "$CC"; then | ||
3257 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3258 | $as_echo "$CC" >&6; } | ||
3259 | else | ||
3260 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3261 | $as_echo "no" >&6; } | ||
3262 | fi | ||
3263 | |||
3264 | |||
3265 | fi | ||
3266 | fi | ||
3267 | if test -z "$CC"; then | ||
3268 | # Extract the first word of "cc", so it can be a program name with args. | ||
3269 | set 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; } | ||
3272 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3273 | $as_echo_n "(cached) " >&6 | ||
3274 | else | ||
3275 | if test -n "$CC"; then | ||
3276 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3277 | else | ||
3278 | ac_prog_rejected=no | ||
3279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3280 | for as_dir in $PATH | ||
3281 | do | ||
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 | ||
3294 | done | ||
3295 | done | ||
3296 | IFS=$as_save_IFS | ||
3297 | |||
3298 | if 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 | ||
3309 | fi | ||
3310 | fi | ||
3311 | fi | ||
3312 | CC=$ac_cv_prog_CC | ||
3313 | if test -n "$CC"; then | ||
3314 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3315 | $as_echo "$CC" >&6; } | ||
3316 | else | ||
3317 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3318 | $as_echo "no" >&6; } | ||
3319 | fi | ||
3320 | |||
3321 | |||
3322 | fi | ||
3323 | if 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. | ||
3328 | set 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; } | ||
3331 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3332 | $as_echo_n "(cached) " >&6 | ||
3333 | else | ||
3334 | if test -n "$CC"; then | ||
3335 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3336 | else | ||
3337 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3338 | for as_dir in $PATH | ||
3339 | do | ||
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 | ||
3348 | done | ||
3349 | done | ||
3350 | IFS=$as_save_IFS | ||
3351 | |||
3352 | fi | ||
3353 | fi | ||
3354 | CC=$ac_cv_prog_CC | ||
3355 | if test -n "$CC"; then | ||
3356 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3357 | $as_echo "$CC" >&6; } | ||
3358 | else | ||
3359 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3360 | $as_echo "no" >&6; } | ||
3361 | fi | ||
3362 | |||
3363 | |||
3364 | test -n "$CC" && break | ||
3365 | done | ||
3366 | fi | ||
3367 | if test -z "$CC"; then | ||
3368 | ac_ct_CC=$CC | ||
3369 | for ac_prog in cl.exe | ||
3370 | do | ||
3371 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3372 | set 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; } | ||
3375 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3376 | $as_echo_n "(cached) " >&6 | ||
3377 | else | ||
3378 | if test -n "$ac_ct_CC"; then | ||
3379 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3380 | else | ||
3381 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3382 | for as_dir in $PATH | ||
3383 | do | ||
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 | ||
3392 | done | ||
3393 | done | ||
3394 | IFS=$as_save_IFS | ||
3395 | |||
3396 | fi | ||
3397 | fi | ||
3398 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3399 | if test -n "$ac_ct_CC"; then | ||
3400 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3401 | $as_echo "$ac_ct_CC" >&6; } | ||
3402 | else | ||
3403 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3404 | $as_echo "no" >&6; } | ||
3405 | fi | ||
3406 | |||
3407 | |||
3408 | test -n "$ac_ct_CC" && break | ||
3409 | done | ||
3410 | |||
3411 | if test "x$ac_ct_CC" = x; then | ||
3412 | CC="" | ||
3413 | else | ||
3414 | case $cross_compiling:$ac_tool_warned in | ||
3415 | yes:) | ||
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;} | ||
3418 | ac_tool_warned=yes ;; | ||
3419 | esac | ||
3420 | CC=$ac_ct_CC | ||
3421 | fi | ||
3422 | fi | ||
3423 | |||
3424 | fi | ||
3425 | |||
3426 | |||
3427 | test -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 | ||
3430 | See \`config.log' for more details." >&5 | ||
3431 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
3432 | See \`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 | ||
3437 | set X $ac_compile | ||
3438 | ac_compiler=$2 | ||
3439 | { (ac_try="$ac_compiler --version >&5" | ||
3440 | case "(($ac_try" in | ||
3441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3442 | *) ac_try_echo=$ac_try;; | ||
3443 | esac | ||
3444 | eval 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" | ||
3451 | case "(($ac_try" in | ||
3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3453 | *) ac_try_echo=$ac_try;; | ||
3454 | esac | ||
3455 | eval 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" | ||
3462 | case "(($ac_try" in | ||
3463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3464 | *) ac_try_echo=$ac_try;; | ||
3465 | esac | ||
3466 | eval 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; } | ||
3475 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
3476 | $as_echo_n "(cached) " >&6 | ||
3477 | else | ||
3478 | cat >conftest.$ac_ext <<_ACEOF | ||
3479 | /* confdefs.h. */ | ||
3480 | _ACEOF | ||
3481 | cat confdefs.h >>conftest.$ac_ext | ||
3482 | cat >>conftest.$ac_ext <<_ACEOF | ||
3483 | /* end confdefs.h. */ | ||
3484 | |||
3485 | int | ||
3486 | main () | ||
3487 | { | ||
3488 | #ifndef __GNUC__ | ||
3489 | choke me | ||
3490 | #endif | ||
3491 | |||
3492 | ; | ||
3493 | return 0; | ||
3494 | } | ||
3495 | _ACEOF | ||
3496 | rm -f conftest.$ac_objext | ||
3497 | if { (ac_try="$ac_compile" | ||
3498 | case "(($ac_try" in | ||
3499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3500 | *) ac_try_echo=$ac_try;; | ||
3501 | esac | ||
3502 | eval 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 | ||
3515 | else | ||
3516 | $as_echo "$as_me: failed program was:" >&5 | ||
3517 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3518 | |||
3519 | ac_compiler_gnu=no | ||
3520 | fi | ||
3521 | |||
3522 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3523 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
3524 | |||
3525 | fi | ||
3526 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
3527 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
3528 | if test $ac_compiler_gnu = yes; then | ||
3529 | GCC=yes | ||
3530 | else | ||
3531 | GCC= | ||
3532 | fi | ||
3533 | ac_test_CFLAGS=${CFLAGS+set} | ||
3534 | ac_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; } | ||
3537 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
3538 | $as_echo_n "(cached) " >&6 | ||
3539 | else | ||
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 | ||
3547 | cat confdefs.h >>conftest.$ac_ext | ||
3548 | cat >>conftest.$ac_ext <<_ACEOF | ||
3549 | /* end confdefs.h. */ | ||
3550 | |||
3551 | int | ||
3552 | main () | ||
3553 | { | ||
3554 | |||
3555 | ; | ||
3556 | return 0; | ||
3557 | } | ||
3558 | _ACEOF | ||
3559 | rm -f conftest.$ac_objext | ||
3560 | if { (ac_try="$ac_compile" | ||
3561 | case "(($ac_try" in | ||
3562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3563 | *) ac_try_echo=$ac_try;; | ||
3564 | esac | ||
3565 | eval 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 | ||
3578 | else | ||
3579 | $as_echo "$as_me: failed program was:" >&5 | ||
3580 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3581 | |||
3582 | CFLAGS="" | ||
3583 | cat >conftest.$ac_ext <<_ACEOF | ||
3584 | /* confdefs.h. */ | ||
3585 | _ACEOF | ||
3586 | cat confdefs.h >>conftest.$ac_ext | ||
3587 | cat >>conftest.$ac_ext <<_ACEOF | ||
3588 | /* end confdefs.h. */ | ||
3589 | |||
3590 | int | ||
3591 | main () | ||
3592 | { | ||
3593 | |||
3594 | ; | ||
3595 | return 0; | ||
3596 | } | ||
3597 | _ACEOF | ||
3598 | rm -f conftest.$ac_objext | ||
3599 | if { (ac_try="$ac_compile" | ||
3600 | case "(($ac_try" in | ||
3601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3602 | *) ac_try_echo=$ac_try;; | ||
3603 | esac | ||
3604 | eval 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 | : | ||
3617 | else | ||
3618 | $as_echo "$as_me: failed program was:" >&5 | ||
3619 | sed '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 | ||
3626 | cat confdefs.h >>conftest.$ac_ext | ||
3627 | cat >>conftest.$ac_ext <<_ACEOF | ||
3628 | /* end confdefs.h. */ | ||
3629 | |||
3630 | int | ||
3631 | main () | ||
3632 | { | ||
3633 | |||
3634 | ; | ||
3635 | return 0; | ||
3636 | } | ||
3637 | _ACEOF | ||
3638 | rm -f conftest.$ac_objext | ||
3639 | if { (ac_try="$ac_compile" | ||
3640 | case "(($ac_try" in | ||
3641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3642 | *) ac_try_echo=$ac_try;; | ||
3643 | esac | ||
3644 | eval 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 | ||
3657 | else | ||
3658 | $as_echo "$as_me: failed program was:" >&5 | ||
3659 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3660 | |||
3661 | |||
3662 | fi | ||
3663 | |||
3664 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3665 | fi | ||
3666 | |||
3667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3668 | fi | ||
3669 | |||
3670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3671 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3672 | fi | ||
3673 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
3674 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
3675 | if test "$ac_test_CFLAGS" = set; then | ||
3676 | CFLAGS=$ac_save_CFLAGS | ||
3677 | elif 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 | ||
3683 | else | ||
3684 | if test "$GCC" = yes; then | ||
3685 | CFLAGS="-O2" | ||
3686 | else | ||
3687 | CFLAGS= | ||
3688 | fi | ||
3689 | fi | ||
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; } | ||
3692 | if test "${ac_cv_prog_cc_c89+set}" = set; then | ||
3693 | $as_echo_n "(cached) " >&6 | ||
3694 | else | ||
3695 | ac_cv_prog_cc_c89=no | ||
3696 | ac_save_CC=$CC | ||
3697 | cat >conftest.$ac_ext <<_ACEOF | ||
3698 | /* confdefs.h. */ | ||
3699 | _ACEOF | ||
3700 | cat confdefs.h >>conftest.$ac_ext | ||
3701 | cat >>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. */ | ||
3708 | struct buf { int x; }; | ||
3709 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
3710 | static char *e (p, i) | ||
3711 | char **p; | ||
3712 | int i; | ||
3713 | { | ||
3714 | return p[i]; | ||
3715 | } | ||
3716 | static 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. */ | ||
3733 | int 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' | ||
3738 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
3739 | |||
3740 | int test (int i, double x); | ||
3741 | struct s1 {int (*f) (int a);}; | ||
3742 | struct s2 {int (*f) (double a);}; | ||
3743 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
3744 | int argc; | ||
3745 | char **argv; | ||
3746 | int | ||
3747 | main () | ||
3748 | { | ||
3749 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
3750 | ; | ||
3751 | return 0; | ||
3752 | } | ||
3753 | _ACEOF | ||
3754 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
3755 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3756 | do | ||
3757 | CC="$ac_save_CC $ac_arg" | ||
3758 | rm -f conftest.$ac_objext | ||
3759 | if { (ac_try="$ac_compile" | ||
3760 | case "(($ac_try" in | ||
3761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3762 | *) ac_try_echo=$ac_try;; | ||
3763 | esac | ||
3764 | eval 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 | ||
3777 | else | ||
3778 | $as_echo "$as_me: failed program was:" >&5 | ||
3779 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3780 | |||
3781 | |||
3782 | fi | ||
3783 | |||
3784 | rm -f core conftest.err conftest.$ac_objext | ||
3785 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
3786 | done | ||
3787 | rm -f conftest.$ac_ext | ||
3788 | CC=$ac_save_CC | ||
3789 | |||
3790 | fi | ||
3791 | # AC_CACHE_VAL | ||
3792 | case "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; } ;; | ||
3803 | esac | ||
3804 | |||
3805 | |||
3806 | ac_ext=c | ||
3807 | ac_cpp='$CPP $CPPFLAGS' | ||
3808 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3809 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3810 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3811 | |||
3812 | depcc="$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; } | ||
3816 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | ||
3817 | $as_echo_n "(cached) " >&6 | ||
3818 | else | ||
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 | ||
3900 | else | ||
3901 | am_cv_CC_dependencies_compiler_type=none | ||
3902 | fi | ||
3903 | |||
3904 | fi | ||
3905 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
3906 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
3907 | CCDEPMODE=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='#' | ||
3914 | else | ||
3915 | am__fastdepCC_TRUE='#' | ||
3916 | am__fastdepCC_FALSE= | ||
3917 | fi | ||
3918 | |||
3919 | |||
3920 | |||
3921 | # Checks for libraries. | ||
3922 | |||
3923 | |||
3924 | if 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. | ||
3927 | set 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; } | ||
3930 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | ||
3931 | $as_echo_n "(cached) " >&6 | ||
3932 | else | ||
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 | ||
3939 | for as_dir in $PATH | ||
3940 | do | ||
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 | ||
3949 | done | ||
3950 | done | ||
3951 | IFS=$as_save_IFS | ||
3952 | |||
3953 | ;; | ||
3954 | esac | ||
3955 | fi | ||
3956 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | ||
3957 | if test -n "$PKG_CONFIG"; then | ||
3958 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | ||
3959 | $as_echo "$PKG_CONFIG" >&6; } | ||
3960 | else | ||
3961 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3962 | $as_echo "no" >&6; } | ||
3963 | fi | ||
3964 | |||
3965 | |||
3966 | fi | ||
3967 | if 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. | ||
3970 | set 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; } | ||
3973 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then | ||
3974 | $as_echo_n "(cached) " >&6 | ||
3975 | else | ||
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 | ||
3982 | for as_dir in $PATH | ||
3983 | do | ||
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 | ||
3992 | done | ||
3993 | done | ||
3994 | IFS=$as_save_IFS | ||
3995 | |||
3996 | ;; | ||
3997 | esac | ||
3998 | fi | ||
3999 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | ||
4000 | if 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; } | ||
4003 | else | ||
4004 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4005 | $as_echo "no" >&6; } | ||
4006 | fi | ||
4007 | |||
4008 | if test "x$ac_pt_PKG_CONFIG" = x; then | ||
4009 | PKG_CONFIG="" | ||
4010 | else | ||
4011 | case $cross_compiling:$ac_tool_warned in | ||
4012 | yes:) | ||
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;} | ||
4015 | ac_tool_warned=yes ;; | ||
4016 | esac | ||
4017 | PKG_CONFIG=$ac_pt_PKG_CONFIG | ||
4018 | fi | ||
4019 | else | ||
4020 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | ||
4021 | fi | ||
4022 | |||
4023 | fi | ||
4024 | if 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 | |||
4037 | fi | ||
4038 | |||
4039 | pkg_failed=no | ||
4040 | { $as_echo "$as_me:$LINENO: checking for SDL" >&5 | ||
4041 | $as_echo_n "checking for SDL... " >&6; } | ||
4042 | |||
4043 | if 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` | ||
4054 | else | ||
4055 | pkg_failed=yes | ||
4056 | fi | ||
4057 | fi | ||
4058 | else | ||
4059 | pkg_failed=untried | ||
4060 | fi | ||
4061 | if 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` | ||
4072 | else | ||
4073 | pkg_failed=yes | ||
4074 | fi | ||
4075 | fi | ||
4076 | else | ||
4077 | pkg_failed=untried | ||
4078 | fi | ||
4079 | |||
4080 | |||
4081 | |||
4082 | if test $pkg_failed = yes; then | ||
4083 | |||
4084 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
4085 | _pkg_short_errors_supported=yes | ||
4086 | else | ||
4087 | _pkg_short_errors_supported=no | ||
4088 | fi | ||
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 | |||
4101 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4102 | installed software in a non-standard prefix. | ||
4103 | |||
4104 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4105 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4106 | See 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 | |||
4112 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4113 | installed software in a non-standard prefix. | ||
4114 | |||
4115 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4116 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4117 | See the pkg-config man page for more details. | ||
4118 | " >&2;} | ||
4119 | { (exit 1); exit 1; }; } | ||
4120 | elif 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 | ||
4124 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4125 | path to pkg-config. | ||
4126 | |||
4127 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4128 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4129 | See the pkg-config man page for more details. | ||
4130 | |||
4131 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4132 | See \`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 | ||
4134 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4135 | path to pkg-config. | ||
4136 | |||
4137 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4138 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4139 | See the pkg-config man page for more details. | ||
4140 | |||
4141 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4142 | See \`config.log' for more details." >&2;} | ||
4143 | { (exit 1); exit 1; }; }; } | ||
4144 | else | ||
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 | : | ||
4150 | fi | ||
4151 | CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" | ||
4152 | LDFLAGS="$SDL_LIBS" | ||
4153 | |||
4154 | # Checks for header files. | ||
4155 | |||
4156 | # Checks for typedefs, structures, and compiler characteristics. | ||
4157 | |||
4158 | ac_ext=c | ||
4159 | ac_cpp='$CPP $CPPFLAGS' | ||
4160 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4161 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4162 | ac_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. | ||
4166 | if test -n "$CPP" && test -d "$CPP"; then | ||
4167 | CPP= | ||
4168 | fi | ||
4169 | if test -z "$CPP"; then | ||
4170 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
4171 | $as_echo_n "(cached) " >&6 | ||
4172 | else | ||
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 | ||
4177 | for ac_c_preproc_warn_flag in '' yes | ||
4178 | do | ||
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 | ||
4188 | cat confdefs.h >>conftest.$ac_ext | ||
4189 | cat >>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 | ||
4198 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4199 | case "(($ac_try" in | ||
4200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4201 | *) ac_try_echo=$ac_try;; | ||
4202 | esac | ||
4203 | eval 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 | : | ||
4216 | else | ||
4217 | $as_echo "$as_me: failed program was:" >&5 | ||
4218 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4219 | |||
4220 | # Broken: fails on valid input. | ||
4221 | continue | ||
4222 | fi | ||
4223 | |||
4224 | rm -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 | ||
4231 | cat confdefs.h >>conftest.$ac_ext | ||
4232 | cat >>conftest.$ac_ext <<_ACEOF | ||
4233 | /* end confdefs.h. */ | ||
4234 | @%:@include <ac_nonexistent.h> | ||
4235 | _ACEOF | ||
4236 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4237 | case "(($ac_try" in | ||
4238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4239 | *) ac_try_echo=$ac_try;; | ||
4240 | esac | ||
4241 | eval 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. | ||
4254 | continue | ||
4255 | else | ||
4256 | $as_echo "$as_me: failed program was:" >&5 | ||
4257 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4258 | |||
4259 | # Passes both tests. | ||
4260 | ac_preproc_ok=: | ||
4261 | break | ||
4262 | fi | ||
4263 | |||
4264 | rm -f conftest.err conftest.$ac_ext | ||
4265 | |||
4266 | done | ||
4267 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4268 | rm -f conftest.err conftest.$ac_ext | ||
4269 | if $ac_preproc_ok; then | ||
4270 | break | ||
4271 | fi | ||
4272 | |||
4273 | done | ||
4274 | ac_cv_prog_CPP=$CPP | ||
4275 | |||
4276 | fi | ||
4277 | CPP=$ac_cv_prog_CPP | ||
4278 | else | ||
4279 | ac_cv_prog_CPP=$CPP | ||
4280 | fi | ||
4281 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | ||
4282 | $as_echo "$CPP" >&6; } | ||
4283 | ac_preproc_ok=false | ||
4284 | for ac_c_preproc_warn_flag in '' yes | ||
4285 | do | ||
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 | ||
4295 | cat confdefs.h >>conftest.$ac_ext | ||
4296 | cat >>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 | ||
4305 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4306 | case "(($ac_try" in | ||
4307 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4308 | *) ac_try_echo=$ac_try;; | ||
4309 | esac | ||
4310 | eval 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 | : | ||
4323 | else | ||
4324 | $as_echo "$as_me: failed program was:" >&5 | ||
4325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4326 | |||
4327 | # Broken: fails on valid input. | ||
4328 | continue | ||
4329 | fi | ||
4330 | |||
4331 | rm -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 | ||
4338 | cat confdefs.h >>conftest.$ac_ext | ||
4339 | cat >>conftest.$ac_ext <<_ACEOF | ||
4340 | /* end confdefs.h. */ | ||
4341 | @%:@include <ac_nonexistent.h> | ||
4342 | _ACEOF | ||
4343 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4344 | case "(($ac_try" in | ||
4345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4346 | *) ac_try_echo=$ac_try;; | ||
4347 | esac | ||
4348 | eval 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. | ||
4361 | continue | ||
4362 | else | ||
4363 | $as_echo "$as_me: failed program was:" >&5 | ||
4364 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4365 | |||
4366 | # Passes both tests. | ||
4367 | ac_preproc_ok=: | ||
4368 | break | ||
4369 | fi | ||
4370 | |||
4371 | rm -f conftest.err conftest.$ac_ext | ||
4372 | |||
4373 | done | ||
4374 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4375 | rm -f conftest.err conftest.$ac_ext | ||
4376 | if $ac_preproc_ok; then | ||
4377 | : | ||
4378 | else | ||
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 | ||
4382 | See \`config.log' for more details." >&5 | ||
4383 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
4384 | See \`config.log' for more details." >&2;} | ||
4385 | { (exit 1); exit 1; }; }; } | ||
4386 | fi | ||
4387 | |||
4388 | ac_ext=c | ||
4389 | ac_cpp='$CPP $CPPFLAGS' | ||
4390 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4391 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4392 | ac_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; } | ||
4397 | if test "${ac_cv_path_GREP+set}" = set; then | ||
4398 | $as_echo_n "(cached) " >&6 | ||
4399 | else | ||
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 | ||
4404 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4405 | do | ||
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 | ||
4414 | case `"$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;; | ||
4438 | esac | ||
4439 | |||
4440 | $ac_path_GREP_found && break 3 | ||
4441 | done | ||
4442 | done | ||
4443 | done | ||
4444 | IFS=$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 | ||
4450 | else | ||
4451 | ac_cv_path_GREP=$GREP | ||
4452 | fi | ||
4453 | |||
4454 | fi | ||
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; } | ||
4462 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4463 | $as_echo_n "(cached) " >&6 | ||
4464 | else | ||
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 | ||
4472 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4473 | do | ||
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 | ||
4482 | case `"$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;; | ||
4506 | esac | ||
4507 | |||
4508 | $ac_path_EGREP_found && break 3 | ||
4509 | done | ||
4510 | done | ||
4511 | done | ||
4512 | IFS=$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 | ||
4518 | else | ||
4519 | ac_cv_path_EGREP=$EGREP | ||
4520 | fi | ||
4521 | |||
4522 | fi | ||
4523 | fi | ||
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; } | ||
4531 | if test "${ac_cv_header_stdc+set}" = set; then | ||
4532 | $as_echo_n "(cached) " >&6 | ||
4533 | else | ||
4534 | cat >conftest.$ac_ext <<_ACEOF | ||
4535 | /* confdefs.h. */ | ||
4536 | _ACEOF | ||
4537 | cat confdefs.h >>conftest.$ac_ext | ||
4538 | cat >>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 | |||
4545 | int | ||
4546 | main () | ||
4547 | { | ||
4548 | |||
4549 | ; | ||
4550 | return 0; | ||
4551 | } | ||
4552 | _ACEOF | ||
4553 | rm -f conftest.$ac_objext | ||
4554 | if { (ac_try="$ac_compile" | ||
4555 | case "(($ac_try" in | ||
4556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4557 | *) ac_try_echo=$ac_try;; | ||
4558 | esac | ||
4559 | eval 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 | ||
4572 | else | ||
4573 | $as_echo "$as_me: failed program was:" >&5 | ||
4574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4575 | |||
4576 | ac_cv_header_stdc=no | ||
4577 | fi | ||
4578 | |||
4579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4580 | |||
4581 | if 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 | ||
4586 | cat confdefs.h >>conftest.$ac_ext | ||
4587 | cat >>conftest.$ac_ext <<_ACEOF | ||
4588 | /* end confdefs.h. */ | ||
4589 | #include <string.h> | ||
4590 | |||
4591 | _ACEOF | ||
4592 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4593 | $EGREP "memchr" >/dev/null 2>&1; then | ||
4594 | : | ||
4595 | else | ||
4596 | ac_cv_header_stdc=no | ||
4597 | fi | ||
4598 | rm -f conftest* | ||
4599 | |||
4600 | fi | ||
4601 | |||
4602 | if 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 | ||
4607 | cat confdefs.h >>conftest.$ac_ext | ||
4608 | cat >>conftest.$ac_ext <<_ACEOF | ||
4609 | /* end confdefs.h. */ | ||
4610 | #include <stdlib.h> | ||
4611 | |||
4612 | _ACEOF | ||
4613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4614 | $EGREP "free" >/dev/null 2>&1; then | ||
4615 | : | ||
4616 | else | ||
4617 | ac_cv_header_stdc=no | ||
4618 | fi | ||
4619 | rm -f conftest* | ||
4620 | |||
4621 | fi | ||
4622 | |||
4623 | if 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 | : | ||
4627 | else | ||
4628 | cat >conftest.$ac_ext <<_ACEOF | ||
4629 | /* confdefs.h. */ | ||
4630 | _ACEOF | ||
4631 | cat confdefs.h >>conftest.$ac_ext | ||
4632 | cat >>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))) | ||
4648 | int | ||
4649 | main () | ||
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 | ||
4659 | rm -f conftest$ac_exeext | ||
4660 | if { (ac_try="$ac_link" | ||
4661 | case "(($ac_try" in | ||
4662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4663 | *) ac_try_echo=$ac_try;; | ||
4664 | esac | ||
4665 | eval 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;; | ||
4674 | esac | ||
4675 | eval 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 | : | ||
4682 | else | ||
4683 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
4684 | $as_echo "$as_me: failed program was:" >&5 | ||
4685 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4686 | |||
4687 | ( exit $ac_status ) | ||
4688 | ac_cv_header_stdc=no | ||
4689 | fi | ||
4690 | rm -rf conftest.dSYM | ||
4691 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4692 | fi | ||
4693 | |||
4694 | |||
4695 | fi | ||
4696 | fi | ||
4697 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
4698 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
4699 | if test $ac_cv_header_stdc = yes; then | ||
4700 | |||
4701 | cat >>confdefs.h <<\_ACEOF | ||
4702 | @%:@define STDC_HEADERS 1 | ||
4703 | _ACEOF | ||
4704 | |||
4705 | fi | ||
4706 | |||
4707 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
4708 | |||
4709 | |||
4710 | |||
4711 | |||
4712 | |||
4713 | |||
4714 | |||
4715 | |||
4716 | |||
4717 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
4718 | inttypes.h stdint.h unistd.h | ||
4719 | do | ||
4720 | as_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; } | ||
4723 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
4724 | $as_echo_n "(cached) " >&6 | ||
4725 | else | ||
4726 | cat >conftest.$ac_ext <<_ACEOF | ||
4727 | /* confdefs.h. */ | ||
4728 | _ACEOF | ||
4729 | cat confdefs.h >>conftest.$ac_ext | ||
4730 | cat >>conftest.$ac_ext <<_ACEOF | ||
4731 | /* end confdefs.h. */ | ||
4732 | $ac_includes_default | ||
4733 | |||
4734 | @%:@include <$ac_header> | ||
4735 | _ACEOF | ||
4736 | rm -f conftest.$ac_objext | ||
4737 | if { (ac_try="$ac_compile" | ||
4738 | case "(($ac_try" in | ||
4739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4740 | *) ac_try_echo=$ac_try;; | ||
4741 | esac | ||
4742 | eval 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" | ||
4755 | else | ||
4756 | $as_echo "$as_me: failed program was:" >&5 | ||
4757 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4758 | |||
4759 | eval "$as_ac_Header=no" | ||
4760 | fi | ||
4761 | |||
4762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4763 | fi | ||
4764 | ac_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; } | ||
4768 | as_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 | |||
4775 | fi | ||
4776 | |||
4777 | done | ||
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; } | ||
4782 | if test "${ac_cv_header_stdbool_h+set}" = set; then | ||
4783 | $as_echo_n "(cached) " >&6 | ||
4784 | else | ||
4785 | cat >conftest.$ac_ext <<_ACEOF | ||
4786 | /* confdefs.h. */ | ||
4787 | _ACEOF | ||
4788 | cat confdefs.h >>conftest.$ac_ext | ||
4789 | cat >>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 | |||
4855 | int | ||
4856 | main () | ||
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 | ||
4869 | rm -f conftest.$ac_objext | ||
4870 | if { (ac_try="$ac_compile" | ||
4871 | case "(($ac_try" in | ||
4872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4873 | *) ac_try_echo=$ac_try;; | ||
4874 | esac | ||
4875 | eval 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 | ||
4888 | else | ||
4889 | $as_echo "$as_me: failed program was:" >&5 | ||
4890 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4891 | |||
4892 | ac_cv_header_stdbool_h=no | ||
4893 | fi | ||
4894 | |||
4895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4896 | fi | ||
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; } | ||
4901 | if test "${ac_cv_type__Bool+set}" = set; then | ||
4902 | $as_echo_n "(cached) " >&6 | ||
4903 | else | ||
4904 | ac_cv_type__Bool=no | ||
4905 | cat >conftest.$ac_ext <<_ACEOF | ||
4906 | /* confdefs.h. */ | ||
4907 | _ACEOF | ||
4908 | cat confdefs.h >>conftest.$ac_ext | ||
4909 | cat >>conftest.$ac_ext <<_ACEOF | ||
4910 | /* end confdefs.h. */ | ||
4911 | $ac_includes_default | ||
4912 | int | ||
4913 | main () | ||
4914 | { | ||
4915 | if (sizeof (_Bool)) | ||
4916 | return 0; | ||
4917 | ; | ||
4918 | return 0; | ||
4919 | } | ||
4920 | _ACEOF | ||
4921 | rm -f conftest.$ac_objext | ||
4922 | if { (ac_try="$ac_compile" | ||
4923 | case "(($ac_try" in | ||
4924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4925 | *) ac_try_echo=$ac_try;; | ||
4926 | esac | ||
4927 | eval 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 | ||
4942 | cat confdefs.h >>conftest.$ac_ext | ||
4943 | cat >>conftest.$ac_ext <<_ACEOF | ||
4944 | /* end confdefs.h. */ | ||
4945 | $ac_includes_default | ||
4946 | int | ||
4947 | main () | ||
4948 | { | ||
4949 | if (sizeof ((_Bool))) | ||
4950 | return 0; | ||
4951 | ; | ||
4952 | return 0; | ||
4953 | } | ||
4954 | _ACEOF | ||
4955 | rm -f conftest.$ac_objext | ||
4956 | if { (ac_try="$ac_compile" | ||
4957 | case "(($ac_try" in | ||
4958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4959 | *) ac_try_echo=$ac_try;; | ||
4960 | esac | ||
4961 | eval 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 | : | ||
4974 | else | ||
4975 | $as_echo "$as_me: failed program was:" >&5 | ||
4976 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4977 | |||
4978 | ac_cv_type__Bool=yes | ||
4979 | fi | ||
4980 | |||
4981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4982 | else | ||
4983 | $as_echo "$as_me: failed program was:" >&5 | ||
4984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4985 | |||
4986 | |||
4987 | fi | ||
4988 | |||
4989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4990 | fi | ||
4991 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | ||
4992 | $as_echo "$ac_cv_type__Bool" >&6; } | ||
4993 | if test "x$ac_cv_type__Bool" = x""yes; then | ||
4994 | |||
4995 | cat >>confdefs.h <<_ACEOF | ||
4996 | @%:@define HAVE__BOOL 1 | ||
4997 | _ACEOF | ||
4998 | |||
4999 | |||
5000 | fi | ||
5001 | |||
5002 | if test $ac_cv_header_stdbool_h = yes; then | ||
5003 | |||
5004 | cat >>confdefs.h <<\_ACEOF | ||
5005 | @%:@define HAVE_STDBOOL_H 1 | ||
5006 | _ACEOF | ||
5007 | |||
5008 | fi | ||
5009 | |||
5010 | |||
5011 | # Checks for library functions. | ||
5012 | |||
5013 | for ac_func in atexit | ||
5014 | do | ||
5015 | as_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; } | ||
5018 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5019 | $as_echo_n "(cached) " >&6 | ||
5020 | else | ||
5021 | cat >conftest.$ac_ext <<_ACEOF | ||
5022 | /* confdefs.h. */ | ||
5023 | _ACEOF | ||
5024 | cat confdefs.h >>conftest.$ac_ext | ||
5025 | cat >>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 | ||
5048 | extern "C" | ||
5049 | #endif | ||
5050 | char $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 | ||
5055 | choke me | ||
5056 | #endif | ||
5057 | |||
5058 | int | ||
5059 | main () | ||
5060 | { | ||
5061 | return $ac_func (); | ||
5062 | ; | ||
5063 | return 0; | ||
5064 | } | ||
5065 | _ACEOF | ||
5066 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5067 | if { (ac_try="$ac_link" | ||
5068 | case "(($ac_try" in | ||
5069 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5070 | *) ac_try_echo=$ac_try;; | ||
5071 | esac | ||
5072 | eval 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" | ||
5088 | else | ||
5089 | $as_echo "$as_me: failed program was:" >&5 | ||
5090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5091 | |||
5092 | eval "$as_ac_var=no" | ||
5093 | fi | ||
5094 | |||
5095 | rm -rf conftest.dSYM | ||
5096 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5097 | conftest$ac_exeext conftest.$ac_ext | ||
5098 | fi | ||
5099 | ac_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; } | ||
5103 | as_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 | |||
5110 | fi | ||
5111 | done | ||
5112 | |||
5113 | |||
5114 | ac_config_files="$ac_config_files Makefile src/Makefile" | ||
5115 | |||
5116 | cat >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 | ||
5178 | if 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 | ||
5188 | fi | ||
5189 | rm -f confcache | ||
5190 | |||
5191 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
5192 | # Let make expand exec_prefix. | ||
5193 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
5194 | |||
5195 | DEFS=-DHAVE_CONFIG_H | ||
5196 | |||
5197 | ac_libobjs= | ||
5198 | ac_ltlibobjs= | ||
5199 | for 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' | ||
5207 | done | ||
5208 | LIB@&t@OBJS=$ac_libobjs | ||
5209 | |||
5210 | LTLIBOBJS=$ac_ltlibobjs | ||
5211 | |||
5212 | |||
5213 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | ||
5214 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | ||
5215 | Usually this means the macro was only invoked conditionally." >&5 | ||
5216 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | ||
5217 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5218 | { (exit 1); exit 1; }; } | ||
5219 | fi | ||
5220 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | ||
5221 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | ||
5222 | Usually this means the macro was only invoked conditionally." >&5 | ||
5223 | $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | ||
5224 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5225 | { (exit 1); exit 1; }; } | ||
5226 | fi | ||
5227 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | ||
5228 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | ||
5229 | Usually this means the macro was only invoked conditionally." >&5 | ||
5230 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | ||
5231 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5232 | { (exit 1); exit 1; }; } | ||
5233 | fi | ||
5234 | |||
5235 | : ${CONFIG_STATUS=./config.status} | ||
5236 | ac_write_fail=0 | ||
5237 | ac_clean_files_save=$ac_clean_files | ||
5238 | ac_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;} | ||
5241 | cat >$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 | |||
5248 | debug=false | ||
5249 | ac_cs_recheck=false | ||
5250 | ac_cs_silent=false | ||
5251 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
5252 | _ACEOF | ||
5253 | |||
5254 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5255 | ## --------------------- ## | ||
5256 | ## M4sh Initialization. ## | ||
5257 | ## --------------------- ## | ||
5258 | |||
5259 | # Be more Bourne compatible | ||
5260 | DUALCASE=1; export DUALCASE # for MKS sh | ||
5261 | if 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 | ||
5268 | else | ||
5269 | case `(set -o) 2>/dev/null` in | ||
5270 | *posix*) set -o posix ;; | ||
5271 | esac | ||
5272 | |||
5273 | fi | ||
5274 | |||
5275 | |||
5276 | |||
5277 | |||
5278 | # PATH needs CR | ||
5279 | # Avoid depending upon Character Ranges. | ||
5280 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
5281 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
5282 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
5283 | as_cr_digits='0123456789' | ||
5284 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
5285 | |||
5286 | as_nl=' | ||
5287 | ' | ||
5288 | export as_nl | ||
5289 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
5290 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
5291 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5292 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5293 | if (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' | ||
5296 | else | ||
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' | ||
5316 | fi | ||
5317 | |||
5318 | # The user is always right. | ||
5319 | if 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 | } | ||
5325 | fi | ||
5326 | |||
5327 | # Support unset when possible. | ||
5328 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
5329 | as_unset=unset | ||
5330 | else | ||
5331 | as_unset=false | ||
5332 | fi | ||
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.) | ||
5340 | IFS=" "" $as_nl" | ||
5341 | |||
5342 | # Find who we are. Look in the path if we contain no directory separator. | ||
5343 | case $0 in | ||
5344 | *[\\/]* ) as_myself=$0 ;; | ||
5345 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5346 | for as_dir in $PATH | ||
5347 | do | ||
5348 | IFS=$as_save_IFS | ||
5349 | test -z "$as_dir" && as_dir=. | ||
5350 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
5351 | done | ||
5352 | IFS=$as_save_IFS | ||
5353 | |||
5354 | ;; | ||
5355 | esac | ||
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. | ||
5358 | if test "x$as_myself" = x; then | ||
5359 | as_myself=$0 | ||
5360 | fi | ||
5361 | if 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; } | ||
5364 | fi | ||
5365 | |||
5366 | # Work around bugs in pre-3.0 UWIN ksh. | ||
5367 | for as_var in ENV MAIL MAILPATH | ||
5368 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
5369 | done | ||
5370 | PS1='$ ' | ||
5371 | PS2='> ' | ||
5372 | PS4='+ ' | ||
5373 | |||
5374 | # NLS nuisances. | ||
5375 | LC_ALL=C | ||
5376 | export LC_ALL | ||
5377 | LANGUAGE=C | ||
5378 | export LANGUAGE | ||
5379 | |||
5380 | # Required to use basename. | ||
5381 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5382 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5383 | as_expr=expr | ||
5384 | else | ||
5385 | as_expr=false | ||
5386 | fi | ||
5387 | |||
5388 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
5389 | as_basename=basename | ||
5390 | else | ||
5391 | as_basename=false | ||
5392 | fi | ||
5393 | |||
5394 | |||
5395 | # Name of the executable. | ||
5396 | as_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 | |||
5463 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
5464 | as_dirname=dirname | ||
5465 | else | ||
5466 | as_dirname=false | ||
5467 | fi | ||
5468 | |||
5469 | ECHO_C= ECHO_N= ECHO_T= | ||
5470 | case `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';; | ||
5478 | esac | ||
5479 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5480 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5481 | as_expr=expr | ||
5482 | else | ||
5483 | as_expr=false | ||
5484 | fi | ||
5485 | |||
5486 | rm -f conf$$ conf$$.exe conf$$.file | ||
5487 | if test -d conf$$.dir; then | ||
5488 | rm -f conf$$.dir/conf$$.file | ||
5489 | else | ||
5490 | rm -f conf$$.dir | ||
5491 | mkdir conf$$.dir 2>/dev/null | ||
5492 | fi | ||
5493 | if (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 | ||
5507 | else | ||
5508 | as_ln_s='cp -p' | ||
5509 | fi | ||
5510 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
5511 | rmdir conf$$.dir 2>/dev/null | ||
5512 | |||
5513 | if mkdir -p . 2>/dev/null; then | ||
5514 | as_mkdir_p=: | ||
5515 | else | ||
5516 | test -d ./-p && rmdir ./-p | ||
5517 | as_mkdir_p=false | ||
5518 | fi | ||
5519 | |||
5520 | if test -x / >/dev/null 2>&1; then | ||
5521 | as_test_x='test -x' | ||
5522 | else | ||
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 | ' | ||
5540 | fi | ||
5541 | as_executable_p=$as_test_x | ||
5542 | |||
5543 | # Sed expression to map a string onto a valid CPP name. | ||
5544 | as_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. | ||
5547 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
5548 | |||
5549 | |||
5550 | exec 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. | ||
5555 | ac_log=" | ||
5556 | This file was extended by Maze Of Life $as_me 2.0, which was | ||
5557 | generated 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 | |||
5565 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
5566 | " | ||
5567 | |||
5568 | _ACEOF | ||
5569 | |||
5570 | case $ac_config_files in *" | ||
5571 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
5572 | esac | ||
5573 | |||
5574 | case $ac_config_headers in *" | ||
5575 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
5576 | esac | ||
5577 | |||
5578 | |||
5579 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5580 | # Files that config.status was made for. | ||
5581 | config_files="$ac_config_files" | ||
5582 | config_headers="$ac_config_headers" | ||
5583 | config_commands="$ac_config_commands" | ||
5584 | |||
5585 | _ACEOF | ||
5586 | |||
5587 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5588 | ac_cs_usage="\ | ||
5589 | \`$as_me' instantiates files from templates according to the | ||
5590 | current configuration. | ||
5591 | |||
5592 | Usage: $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 | |||
5605 | Configuration files: | ||
5606 | $config_files | ||
5607 | |||
5608 | Configuration headers: | ||
5609 | $config_headers | ||
5610 | |||
5611 | Configuration commands: | ||
5612 | $config_commands | ||
5613 | |||
5614 | Report bugs to <bug-autoconf@gnu.org>." | ||
5615 | |||
5616 | _ACEOF | ||
5617 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5618 | ac_cs_version="\\ | ||
5619 | Maze Of Life config.status 2.0 | ||
5620 | configured by $0, generated by GNU Autoconf 2.63, | ||
5621 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
5622 | |||
5623 | Copyright (C) 2008 Free Software Foundation, Inc. | ||
5624 | This config.status script is free software; the Free Software Foundation | ||
5625 | gives unlimited permission to copy, distribute and modify it." | ||
5626 | |||
5627 | ac_pwd='$ac_pwd' | ||
5628 | srcdir='$srcdir' | ||
5629 | INSTALL='$INSTALL' | ||
5630 | MKDIR_P='$MKDIR_P' | ||
5631 | AWK='$AWK' | ||
5632 | test -n "\$AWK" || AWK=awk | ||
5633 | _ACEOF | ||
5634 | |||
5635 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5636 | # The default lists apply if the user does not specify any file. | ||
5637 | ac_need_defaults=: | ||
5638 | while test $# != 0 | ||
5639 | do | ||
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 | ||
5678 | Try \`$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 | ||
5688 | Try \`$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 | ||
5696 | done | ||
5697 | |||
5698 | ac_configure_extra_args= | ||
5699 | |||
5700 | if $ac_cs_silent; then | ||
5701 | exec 6>/dev/null | ||
5702 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
5703 | fi | ||
5704 | |||
5705 | _ACEOF | ||
5706 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5707 | if \$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 "\$@" | ||
5714 | fi | ||
5715 | |||
5716 | _ACEOF | ||
5717 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5718 | exec 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 | ||
5728 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5729 | # | ||
5730 | # INIT-COMMANDS | ||
5731 | # | ||
5732 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | ||
5733 | |||
5734 | _ACEOF | ||
5735 | |||
5736 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5737 | |||
5738 | # Handling of arguments. | ||
5739 | for ac_config_target in $ac_config_targets | ||
5740 | do | ||
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 | ||
5751 | done | ||
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. | ||
5758 | if $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 | ||
5762 | fi | ||
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'. | ||
5796 | if test -n "$CONFIG_FILES"; then | ||
5797 | |||
5798 | |||
5799 | ac_cr=' ' | ||
5800 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
5801 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
5802 | ac_cs_awk_cr='\\r' | ||
5803 | else | ||
5804 | ac_cs_awk_cr=$ac_cr | ||
5805 | fi | ||
5806 | |||
5807 | echo '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; }; } | ||
5819 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | ||
5820 | ac_delim='%!_!# ' | ||
5821 | for 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 | ||
5837 | done | ||
5838 | rm -f conf$$subs.sh | ||
5839 | |||
5840 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5841 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | ||
5842 | _ACEOF | ||
5843 | sed -n ' | ||
5844 | h | ||
5845 | s/^/S["/; s/!.*/"]=/ | ||
5846 | p | ||
5847 | g | ||
5848 | s/^[^!]*!// | ||
5849 | :repl | ||
5850 | t repl | ||
5851 | s/'"$ac_delim"'$// | ||
5852 | t delim | ||
5853 | :nl | ||
5854 | h | ||
5855 | s/\(.\{148\}\).*/\1/ | ||
5856 | t more1 | ||
5857 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
5858 | p | ||
5859 | n | ||
5860 | b repl | ||
5861 | :more1 | ||
5862 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5863 | p | ||
5864 | g | ||
5865 | s/.\{148\}// | ||
5866 | t nl | ||
5867 | :delim | ||
5868 | h | ||
5869 | s/\(.\{148\}\).*/\1/ | ||
5870 | t more2 | ||
5871 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
5872 | p | ||
5873 | b | ||
5874 | :more2 | ||
5875 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5876 | p | ||
5877 | g | ||
5878 | s/.\{148\}// | ||
5879 | t delim | ||
5880 | ' <conf$$subs.awk | sed ' | ||
5881 | /^[^""]/{ | ||
5882 | N | ||
5883 | s/\n// | ||
5884 | } | ||
5885 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
5886 | rm -f conf$$subs.awk | ||
5887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5888 | _ACAWK | ||
5889 | cat >>"\$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 | ||
5916 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5917 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
5918 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
5919 | else | ||
5920 | cat | ||
5921 | fi < "$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). | ||
5931 | if test "x$srcdir" = x.; then | ||
5932 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
5933 | s/:*\$(srcdir):*/:/ | ||
5934 | s/:*\${srcdir}:*/:/ | ||
5935 | s/:*@srcdir@:*/:/ | ||
5936 | s/^\([^=]*=[ ]*\):*/\1/ | ||
5937 | s/:*$// | ||
5938 | s/^[^=]*=[ ]*$// | ||
5939 | }' | ||
5940 | fi | ||
5941 | |||
5942 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5943 | fi # 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'. | ||
5948 | if test -n "$CONFIG_HEADERS"; then | ||
5949 | cat >"$tmp/defines.awk" <<\_ACAWK || | ||
5950 | BEGIN { | ||
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. | ||
5959 | ac_delim='%!_!# ' | ||
5960 | for 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 | ||
5971 | done | ||
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 | |||
5977 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
5978 | sed -n ' | ||
5979 | s/.\{148\}/&'"$ac_delim"'/g | ||
5980 | t rset | ||
5981 | :rset | ||
5982 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
5983 | t def | ||
5984 | d | ||
5985 | :def | ||
5986 | s/\\$// | ||
5987 | t bsnl | ||
5988 | s/["\\]/\\&/g | ||
5989 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5990 | D["\1"]=" \3"/p | ||
5991 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
5992 | d | ||
5993 | :bsnl | ||
5994 | s/["\\]/\\&/g | ||
5995 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5996 | D["\1"]=" \3\\\\\\n"\\/p | ||
5997 | t cont | ||
5998 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
5999 | t cont | ||
6000 | d | ||
6001 | :cont | ||
6002 | n | ||
6003 | s/.\{148\}/&'"$ac_delim"'/g | ||
6004 | t clear | ||
6005 | :clear | ||
6006 | s/\\$// | ||
6007 | t bsnlc | ||
6008 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
6009 | d | ||
6010 | :bsnlc | ||
6011 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
6012 | b cont | ||
6013 | ' <confdefs.h | sed ' | ||
6014 | s/'"$ac_delim"'/"\\\ | ||
6015 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
6016 | |||
6017 | cat >>$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 | ||
6051 | cat >>$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; }; } | ||
6055 | fi # test -n "$CONFIG_HEADERS" | ||
6056 | |||
6057 | |||
6058 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | ||
6059 | shift | ||
6060 | for ac_tag | ||
6061 | do | ||
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 | |||
6199 | case "$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 ;; | ||
6209 | esac | ||
6210 | ac_abs_top_builddir=$ac_pwd | ||
6211 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
6212 | # for backward compatibility: | ||
6213 | ac_top_builddir=$ac_top_build_prefix | ||
6214 | |||
6215 | case $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 ;; | ||
6228 | esac | ||
6229 | ac_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 | |||
6249 | cat >>$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. | ||
6252 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
6253 | |||
6254 | ac_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 | ' | ||
6265 | case `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 | ||
6271 | cat >>$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' ;; | ||
6279 | esac | ||
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? | ||
6285 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
6286 | ac_sed_extra="$ac_vpsub | ||
6287 | $extrasub | ||
6288 | _ACEOF | ||
6289 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
6290 | :t | ||
6291 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
6292 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
6293 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
6294 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
6295 | s&@srcdir@&$ac_srcdir&;t t | ||
6296 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
6297 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
6298 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
6299 | s&@builddir@&$ac_builddir&;t t | ||
6300 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
6301 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
6302 | s&@INSTALL@&$ac_INSTALL&;t t | ||
6303 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | ||
6304 | $ac_datarootdir_hack | ||
6305 | " | ||
6306 | eval 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 | |||
6311 | test -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' | ||
6315 | which 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' | ||
6317 | which 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 | ||
6360 | for _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 | ||
6367 | done | ||
6368 | echo "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 | ||
6537 | done # for ac_tag | ||
6538 | |||
6539 | |||
6540 | { (exit 0); exit 0; } | ||
6541 | _ACEOF | ||
6542 | chmod +x $CONFIG_STATUS | ||
6543 | ac_clean_files=$ac_clean_files_save | ||
6544 | |||
6545 | test $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. | ||
6559 | if 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; } | ||
6570 | fi | ||
6571 | if 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;} | ||
6574 | fi | ||
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 | ||
16 | DUALCASE=1; export DUALCASE # for MKS sh | ||
17 | if 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 | ||
24 | else | ||
25 | case `(set -o) 2>/dev/null` in | ||
26 | *posix*) set -o posix ;; | ||
27 | esac | ||
28 | |||
29 | fi | ||
30 | |||
31 | |||
32 | |||
33 | |||
34 | # PATH needs CR | ||
35 | # Avoid depending upon Character Ranges. | ||
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
39 | as_cr_digits='0123456789' | ||
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
41 | |||
42 | as_nl=' | ||
43 | ' | ||
44 | export as_nl | ||
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
50 | as_echo='printf %s\n' | ||
51 | as_echo_n='printf %s' | ||
52 | else | ||
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
55 | as_echo_n='/usr/ucb/echo -n' | ||
56 | else | ||
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
58 | as_echo_n_body='eval | ||
59 | arg=$1; | ||
60 | case $arg in | ||
61 | *"$as_nl"*) | ||
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
64 | esac; | ||
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
66 | ' | ||
67 | export as_echo_n_body | ||
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
69 | fi | ||
70 | export as_echo_body | ||
71 | as_echo='sh -c $as_echo_body as_echo' | ||
72 | fi | ||
73 | |||
74 | # The user is always right. | ||
75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
76 | PATH_SEPARATOR=: | ||
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
79 | PATH_SEPARATOR=';' | ||
80 | } | ||
81 | fi | ||
82 | |||
83 | # Support unset when possible. | ||
84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
85 | as_unset=unset | ||
86 | else | ||
87 | as_unset=false | ||
88 | fi | ||
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.) | ||
96 | IFS=" "" $as_nl" | ||
97 | |||
98 | # Find who we are. Look in the path if we contain no directory separator. | ||
99 | case $0 in | ||
100 | *[\\/]* ) as_myself=$0 ;; | ||
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
102 | for as_dir in $PATH | ||
103 | do | ||
104 | IFS=$as_save_IFS | ||
105 | test -z "$as_dir" && as_dir=. | ||
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
107 | done | ||
108 | IFS=$as_save_IFS | ||
109 | |||
110 | ;; | ||
111 | esac | ||
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
113 | # in which case we are not to be found in the path. | ||
114 | if test "x$as_myself" = x; then | ||
115 | as_myself=$0 | ||
116 | fi | ||
117 | if test ! -f "$as_myself"; then | ||
118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
119 | { (exit 1); exit 1; } | ||
120 | fi | ||
121 | |||
122 | # Work around bugs in pre-3.0 UWIN ksh. | ||
123 | for as_var in ENV MAIL MAILPATH | ||
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
125 | done | ||
126 | PS1='$ ' | ||
127 | PS2='> ' | ||
128 | PS4='+ ' | ||
129 | |||
130 | # NLS nuisances. | ||
131 | LC_ALL=C | ||
132 | export LC_ALL | ||
133 | LANGUAGE=C | ||
134 | export LANGUAGE | ||
135 | |||
136 | # Required to use basename. | ||
137 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
139 | as_expr=expr | ||
140 | else | ||
141 | as_expr=false | ||
142 | fi | ||
143 | |||
144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
145 | as_basename=basename | ||
146 | else | ||
147 | as_basename=false | ||
148 | fi | ||
149 | |||
150 | |||
151 | # Name of the executable. | ||
152 | as_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 | |||
175 | if test "x$CONFIG_SHELL" = x; then | ||
176 | if (eval ":") 2>/dev/null; then | ||
177 | as_have_required=yes | ||
178 | else | ||
179 | as_have_required=no | ||
180 | fi | ||
181 | |||
182 | if test $as_have_required = yes && (eval ": | ||
183 | (as_func_return () { | ||
184 | (exit \$1) | ||
185 | } | ||
186 | as_func_success () { | ||
187 | as_func_return 0 | ||
188 | } | ||
189 | as_func_failure () { | ||
190 | as_func_return 1 | ||
191 | } | ||
192 | as_func_ret_success () { | ||
193 | return 0 | ||
194 | } | ||
195 | as_func_ret_failure () { | ||
196 | return 1 | ||
197 | } | ||
198 | |||
199 | exitcode=0 | ||
200 | if as_func_success; then | ||
201 | : | ||
202 | else | ||
203 | exitcode=1 | ||
204 | echo as_func_success failed. | ||
205 | fi | ||
206 | |||
207 | if as_func_failure; then | ||
208 | exitcode=1 | ||
209 | echo as_func_failure succeeded. | ||
210 | fi | ||
211 | |||
212 | if as_func_ret_success; then | ||
213 | : | ||
214 | else | ||
215 | exitcode=1 | ||
216 | echo as_func_ret_success failed. | ||
217 | fi | ||
218 | |||
219 | if as_func_ret_failure; then | ||
220 | exitcode=1 | ||
221 | echo as_func_ret_failure succeeded. | ||
222 | fi | ||
223 | |||
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
225 | : | ||
226 | else | ||
227 | exitcode=1 | ||
228 | echo positional parameters were not saved. | ||
229 | fi | ||
230 | |||
231 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
232 | |||
233 | ( | ||
234 | as_lineno_1=\$LINENO | ||
235 | as_lineno_2=\$LINENO | ||
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
238 | ") 2> /dev/null; then | ||
239 | : | ||
240 | else | ||
241 | as_candidate_shells= | ||
242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
244 | do | ||
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 | ||
253 | done | ||
254 | IFS=$as_save_IFS | ||
255 | |||
256 | |||
257 | for as_shell in $as_candidate_shells $SHELL; do | ||
258 | # Try only shells that exist, to save several forks. | ||
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
260 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
262 | emulate sh | ||
263 | NULLCMD=: | ||
264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
265 | # is contrary to our usage. Disable this feature. | ||
266 | alias -g '${1+"$@"}'='"$@"' | ||
267 | setopt NO_GLOB_SUBST | ||
268 | else | ||
269 | case `(set -o) 2>/dev/null` in | ||
270 | *posix*) set -o posix ;; | ||
271 | esac | ||
272 | |||
273 | fi | ||
274 | |||
275 | |||
276 | : | ||
277 | _ASEOF | ||
278 | }; then | ||
279 | CONFIG_SHELL=$as_shell | ||
280 | as_have_required=yes | ||
281 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
283 | emulate sh | ||
284 | NULLCMD=: | ||
285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
286 | # is contrary to our usage. Disable this feature. | ||
287 | alias -g '${1+"$@"}'='"$@"' | ||
288 | setopt NO_GLOB_SUBST | ||
289 | else | ||
290 | case `(set -o) 2>/dev/null` in | ||
291 | *posix*) set -o posix ;; | ||
292 | esac | ||
293 | |||
294 | fi | ||
295 | |||
296 | |||
297 | : | ||
298 | (as_func_return () { | ||
299 | (exit $1) | ||
300 | } | ||
301 | as_func_success () { | ||
302 | as_func_return 0 | ||
303 | } | ||
304 | as_func_failure () { | ||
305 | as_func_return 1 | ||
306 | } | ||
307 | as_func_ret_success () { | ||
308 | return 0 | ||
309 | } | ||
310 | as_func_ret_failure () { | ||
311 | return 1 | ||
312 | } | ||
313 | |||
314 | exitcode=0 | ||
315 | if as_func_success; then | ||
316 | : | ||
317 | else | ||
318 | exitcode=1 | ||
319 | echo as_func_success failed. | ||
320 | fi | ||
321 | |||
322 | if as_func_failure; then | ||
323 | exitcode=1 | ||
324 | echo as_func_failure succeeded. | ||
325 | fi | ||
326 | |||
327 | if as_func_ret_success; then | ||
328 | : | ||
329 | else | ||
330 | exitcode=1 | ||
331 | echo as_func_ret_success failed. | ||
332 | fi | ||
333 | |||
334 | if as_func_ret_failure; then | ||
335 | exitcode=1 | ||
336 | echo as_func_ret_failure succeeded. | ||
337 | fi | ||
338 | |||
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
340 | : | ||
341 | else | ||
342 | exitcode=1 | ||
343 | echo positional parameters were not saved. | ||
344 | fi | ||
345 | |||
346 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
347 | |||
348 | ( | ||
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 | ||
357 | fi | ||
358 | |||
359 | fi | ||
360 | |||
361 | done | ||
362 | |||
363 | if test "x$CONFIG_SHELL" != x; then | ||
364 | for as_var in BASH_ENV ENV | ||
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
366 | done | ||
367 | export CONFIG_SHELL | ||
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
369 | fi | ||
370 | |||
371 | |||
372 | if test $as_have_required = no; then | ||
373 | echo This script requires a shell more modern than all the | ||
374 | echo shells that I found on your system. Please install a | ||
375 | echo modern shell, or manually run the script under such a | ||
376 | echo shell if you do have one. | ||
377 | { (exit 1); exit 1; } | ||
378 | fi | ||
379 | |||
380 | |||
381 | fi | ||
382 | |||
383 | fi | ||
384 | |||
385 | |||
386 | |||
387 | (eval "as_func_return () { | ||
388 | (exit \$1) | ||
389 | } | ||
390 | as_func_success () { | ||
391 | as_func_return 0 | ||
392 | } | ||
393 | as_func_failure () { | ||
394 | as_func_return 1 | ||
395 | } | ||
396 | as_func_ret_success () { | ||
397 | return 0 | ||
398 | } | ||
399 | as_func_ret_failure () { | ||
400 | return 1 | ||
401 | } | ||
402 | |||
403 | exitcode=0 | ||
404 | if as_func_success; then | ||
405 | : | ||
406 | else | ||
407 | exitcode=1 | ||
408 | echo as_func_success failed. | ||
409 | fi | ||
410 | |||
411 | if as_func_failure; then | ||
412 | exitcode=1 | ||
413 | echo as_func_failure succeeded. | ||
414 | fi | ||
415 | |||
416 | if as_func_ret_success; then | ||
417 | : | ||
418 | else | ||
419 | exitcode=1 | ||
420 | echo as_func_ret_success failed. | ||
421 | fi | ||
422 | |||
423 | if as_func_ret_failure; then | ||
424 | exitcode=1 | ||
425 | echo as_func_ret_failure succeeded. | ||
426 | fi | ||
427 | |||
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
429 | : | ||
430 | else | ||
431 | exitcode=1 | ||
432 | echo positional parameters were not saved. | ||
433 | fi | ||
434 | |||
435 | test \$exitcode = 0") || { | ||
436 | echo No shell found that supports shell functions. | ||
437 | echo Please tell bug-autoconf@gnu.org about your system, | ||
438 | echo including any error possibly output before this message. | ||
439 | echo This can help us improve future autoconf versions. | ||
440 | echo Configuration will now proceed without shell functions. | ||
441 | } | ||
442 | |||
443 | |||
444 | |||
445 | as_lineno_1=$LINENO | ||
446 | as_lineno_2=$LINENO | ||
447 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
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 | |||
488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
489 | as_dirname=dirname | ||
490 | else | ||
491 | as_dirname=false | ||
492 | fi | ||
493 | |||
494 | ECHO_C= ECHO_N= ECHO_T= | ||
495 | case `echo -n x` in | ||
496 | -n*) | ||
497 | case `echo 'x\c'` in | ||
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
499 | *) ECHO_C='\c';; | ||
500 | esac;; | ||
501 | *) | ||
502 | ECHO_N='-n';; | ||
503 | esac | ||
504 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
506 | as_expr=expr | ||
507 | else | ||
508 | as_expr=false | ||
509 | fi | ||
510 | |||
511 | rm -f conf$$ conf$$.exe conf$$.file | ||
512 | if test -d conf$$.dir; then | ||
513 | rm -f conf$$.dir/conf$$.file | ||
514 | else | ||
515 | rm -f conf$$.dir | ||
516 | mkdir conf$$.dir 2>/dev/null | ||
517 | fi | ||
518 | if (echo >conf$$.file) 2>/dev/null; then | ||
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
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 | ||
532 | else | ||
533 | as_ln_s='cp -p' | ||
534 | fi | ||
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
536 | rmdir conf$$.dir 2>/dev/null | ||
537 | |||
538 | if mkdir -p . 2>/dev/null; then | ||
539 | as_mkdir_p=: | ||
540 | else | ||
541 | test -d ./-p && rmdir ./-p | ||
542 | as_mkdir_p=false | ||
543 | fi | ||
544 | |||
545 | if test -x / >/dev/null 2>&1; then | ||
546 | as_test_x='test -x' | ||
547 | else | ||
548 | if ls -dL / >/dev/null 2>&1; then | ||
549 | as_ls_L_option=L | ||
550 | else | ||
551 | as_ls_L_option= | ||
552 | fi | ||
553 | as_test_x=' | ||
554 | eval sh -c '\'' | ||
555 | if test -d "$1"; then | ||
556 | test -d "$1/."; | ||
557 | else | ||
558 | case $1 in | ||
559 | -*)set "./$1";; | ||
560 | esac; | ||
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
562 | ???[sx]*):;;*)false;;esac;fi | ||
563 | '\'' sh | ||
564 | ' | ||
565 | fi | ||
566 | as_executable_p=$as_test_x | ||
567 | |||
568 | # Sed expression to map a string onto a valid CPP name. | ||
569 | as_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. | ||
572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
573 | |||
574 | |||
575 | |||
576 | exec 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. | ||
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
582 | |||
583 | # | ||
584 | # Initializations. | ||
585 | # | ||
586 | ac_default_prefix=/usr/local | ||
587 | ac_clean_files= | ||
588 | ac_config_libobj_dir=. | ||
589 | LIB@&t@OBJS= | ||
590 | cross_compiling=no | ||
591 | subdirs= | ||
592 | MFLAGS= | ||
593 | MAKEFLAGS= | ||
594 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
595 | |||
596 | # Identity of this package. | ||
597 | PACKAGE_NAME='Maze Of Life' | ||
598 | PACKAGE_TARNAME='maze-of-life' | ||
599 | PACKAGE_VERSION='2.0' | ||
600 | PACKAGE_STRING='Maze Of Life 2.0' | ||
601 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' | ||
602 | |||
603 | ac_unique_file="src/mazeoflife.cpp" | ||
604 | # Factoring default headers for most tests. | ||
605 | ac_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 | |||
640 | ac_subst_vars='LTLIBOBJS | ||
641 | LIB@&t@OBJS | ||
642 | EGREP | ||
643 | GREP | ||
644 | CPP | ||
645 | SDL_LIBS | ||
646 | SDL_CFLAGS | ||
647 | PKG_CONFIG | ||
648 | am__fastdepCC_FALSE | ||
649 | am__fastdepCC_TRUE | ||
650 | CCDEPMODE | ||
651 | ac_ct_CC | ||
652 | CFLAGS | ||
653 | CC | ||
654 | am__fastdepCXX_FALSE | ||
655 | am__fastdepCXX_TRUE | ||
656 | CXXDEPMODE | ||
657 | AMDEPBACKSLASH | ||
658 | AMDEP_FALSE | ||
659 | AMDEP_TRUE | ||
660 | am__quote | ||
661 | am__include | ||
662 | DEPDIR | ||
663 | OBJEXT | ||
664 | EXEEXT | ||
665 | ac_ct_CXX | ||
666 | CPPFLAGS | ||
667 | LDFLAGS | ||
668 | CXXFLAGS | ||
669 | CXX | ||
670 | am__untar | ||
671 | am__tar | ||
672 | AMTAR | ||
673 | am__leading_dot | ||
674 | SET_MAKE | ||
675 | AWK | ||
676 | mkdir_p | ||
677 | MKDIR_P | ||
678 | INSTALL_STRIP_PROGRAM | ||
679 | STRIP | ||
680 | install_sh | ||
681 | MAKEINFO | ||
682 | AUTOHEADER | ||
683 | AUTOMAKE | ||
684 | AUTOCONF | ||
685 | ACLOCAL | ||
686 | VERSION | ||
687 | PACKAGE | ||
688 | CYGPATH_W | ||
689 | am__isrc | ||
690 | INSTALL_DATA | ||
691 | INSTALL_SCRIPT | ||
692 | INSTALL_PROGRAM | ||
693 | target_alias | ||
694 | host_alias | ||
695 | build_alias | ||
696 | LIBS | ||
697 | ECHO_T | ||
698 | ECHO_N | ||
699 | ECHO_C | ||
700 | DEFS | ||
701 | mandir | ||
702 | localedir | ||
703 | libdir | ||
704 | psdir | ||
705 | pdfdir | ||
706 | dvidir | ||
707 | htmldir | ||
708 | infodir | ||
709 | docdir | ||
710 | oldincludedir | ||
711 | includedir | ||
712 | localstatedir | ||
713 | sharedstatedir | ||
714 | sysconfdir | ||
715 | datadir | ||
716 | datarootdir | ||
717 | libexecdir | ||
718 | sbindir | ||
719 | bindir | ||
720 | program_transform_name | ||
721 | prefix | ||
722 | exec_prefix | ||
723 | PACKAGE_BUGREPORT | ||
724 | PACKAGE_STRING | ||
725 | PACKAGE_VERSION | ||
726 | PACKAGE_TARNAME | ||
727 | PACKAGE_NAME | ||
728 | PATH_SEPARATOR | ||
729 | SHELL' | ||
730 | ac_subst_files='' | ||
731 | ac_user_opts=' | ||
732 | enable_option_checking | ||
733 | enable_dependency_tracking | ||
734 | ' | ||
735 | ac_precious_vars='build_alias | ||
736 | host_alias | ||
737 | target_alias | ||
738 | CXX | ||
739 | CXXFLAGS | ||
740 | LDFLAGS | ||
741 | LIBS | ||
742 | CPPFLAGS | ||
743 | CCC | ||
744 | CC | ||
745 | CFLAGS | ||
746 | PKG_CONFIG | ||
747 | SDL_CFLAGS | ||
748 | SDL_LIBS | ||
749 | CPP' | ||
750 | |||
751 | |||
752 | # Initialize some variables set by options. | ||
753 | ac_init_help= | ||
754 | ac_init_version=false | ||
755 | ac_unrecognized_opts= | ||
756 | ac_unrecognized_sep= | ||
757 | # The variables have the same names as the options, with | ||
758 | # dashes changed to underlines. | ||
759 | cache_file=/dev/null | ||
760 | exec_prefix=NONE | ||
761 | no_create= | ||
762 | no_recursion= | ||
763 | prefix=NONE | ||
764 | program_prefix=NONE | ||
765 | program_suffix=NONE | ||
766 | program_transform_name=s,x,x, | ||
767 | silent= | ||
768 | site= | ||
769 | srcdir= | ||
770 | verbose= | ||
771 | x_includes=NONE | ||
772 | x_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.) | ||
780 | bindir='${exec_prefix}/bin' | ||
781 | sbindir='${exec_prefix}/sbin' | ||
782 | libexecdir='${exec_prefix}/libexec' | ||
783 | datarootdir='${prefix}/share' | ||
784 | datadir='${datarootdir}' | ||
785 | sysconfdir='${prefix}/etc' | ||
786 | sharedstatedir='${prefix}/com' | ||
787 | localstatedir='${prefix}/var' | ||
788 | includedir='${prefix}/include' | ||
789 | oldincludedir='/usr/include' | ||
790 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
791 | infodir='${datarootdir}/info' | ||
792 | htmldir='${docdir}' | ||
793 | dvidir='${docdir}' | ||
794 | pdfdir='${docdir}' | ||
795 | psdir='${docdir}' | ||
796 | libdir='${exec_prefix}/lib' | ||
797 | localedir='${datarootdir}/locale' | ||
798 | mandir='${datarootdir}/man' | ||
799 | |||
800 | ac_prev= | ||
801 | ac_dashdash= | ||
802 | for ac_option | ||
803 | do | ||
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 | ||
1139 | Try \`$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 | ||
1161 | done | ||
1162 | |||
1163 | if 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; }; } | ||
1167 | fi | ||
1168 | |||
1169 | if 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 | ||
1176 | fi | ||
1177 | |||
1178 | # Check all directory arguments for consistency. | ||
1179 | for 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 | ||
1183 | do | ||
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; }; } | ||
1198 | done | ||
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. | ||
1203 | build=$build_alias | ||
1204 | host=$host_alias | ||
1205 | target=$target_alias | ||
1206 | |||
1207 | # FIXME: To remove some day. | ||
1208 | if 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 | ||
1216 | fi | ||
1217 | |||
1218 | ac_tool_prefix= | ||
1219 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
1220 | |||
1221 | test "$silent" = yes && exec 6>/dev/null | ||
1222 | |||
1223 | |||
1224 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1225 | ac_ls_di=`ls -di .` && | ||
1226 | ac_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; }; } | ||
1229 | test "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. | ||
1235 | if 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 | ||
1265 | else | ||
1266 | ac_srcdir_defaulted=no | ||
1267 | fi | ||
1268 | if 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; }; } | ||
1272 | fi | ||
1273 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1274 | ac_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=. | ||
1279 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1280 | srcdir=. | ||
1281 | fi | ||
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. | ||
1285 | case $srcdir in | ||
1286 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
1287 | esac | ||
1288 | for 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} | ||
1293 | done | ||
1294 | |||
1295 | # | ||
1296 | # Report the --help message. | ||
1297 | # | ||
1298 | if 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 | |||
1304 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
1305 | |||
1306 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
1307 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
1308 | |||
1309 | Defaults for the options are specified in brackets. | ||
1310 | |||
1311 | Configuration: | ||
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 | |||
1322 | Installation 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 | |||
1328 | By default, \`make install' will install all the files in | ||
1329 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
1330 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
1331 | for instance \`--prefix=\$HOME'. | ||
1332 | |||
1333 | For better control, use the options below. | ||
1334 | |||
1335 | Fine 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 | |||
1359 | Program 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 | ||
1364 | fi | ||
1365 | |||
1366 | if 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 | |||
1372 | Optional 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 | |||
1379 | Some 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 | |||
1394 | Use these variables to override the choices made by `configure' or to help | ||
1395 | it to find libraries and programs with nonstandard names/locations. | ||
1396 | |||
1397 | Report bugs to <BUG-REPORT-ADDRESS>. | ||
1398 | _ACEOF | ||
1399 | ac_status=$? | ||
1400 | fi | ||
1401 | |||
1402 | if 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 | |||
1410 | case "$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 ;; | ||
1420 | esac | ||
1421 | ac_abs_top_builddir=$ac_pwd | ||
1422 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1423 | # for backward compatibility: | ||
1424 | ac_top_builddir=$ac_top_build_prefix | ||
1425 | |||
1426 | case $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 ;; | ||
1439 | esac | ||
1440 | ac_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 | ||
1455 | fi | ||
1456 | |||
1457 | test -n "$ac_init_help" && exit $ac_status | ||
1458 | if $ac_init_version; then | ||
1459 | cat <<\_ACEOF | ||
1460 | Maze Of Life configure 2.0 | ||
1461 | generated by GNU Autoconf 2.63 | ||
1462 | |||
1463 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
1464 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
1465 | This configure script is free software; the Free Software Foundation | ||
1466 | gives unlimited permission to copy, distribute and modify it. | ||
1467 | _ACEOF | ||
1468 | exit | ||
1469 | fi | ||
1470 | cat >config.log <<_ACEOF | ||
1471 | This file contains any messages produced by compilers while | ||
1472 | running configure, to aid debugging if configure makes a mistake. | ||
1473 | |||
1474 | It was created by Maze Of Life $as_me 2.0, which was | ||
1475 | generated by GNU Autoconf 2.63. Invocation command line was | ||
1476 | |||
1477 | $ $0 $@ | ||
1478 | |||
1479 | _ACEOF | ||
1480 | exec 5>>config.log | ||
1481 | { | ||
1482 | cat <<_ASUNAME | ||
1483 | @%:@@%:@ --------- @%:@@%:@ | ||
1484 | @%:@@%:@ Platform. @%:@@%:@ | ||
1485 | @%:@@%:@ --------- @%:@@%:@ | ||
1486 | |||
1487 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1488 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1489 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1490 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1491 | uname -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 | |||
1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1507 | for as_dir in $PATH | ||
1508 | do | ||
1509 | IFS=$as_save_IFS | ||
1510 | test -z "$as_dir" && as_dir=. | ||
1511 | $as_echo "PATH: $as_dir" | ||
1512 | done | ||
1513 | IFS=$as_save_IFS | ||
1514 | |||
1515 | } >&5 | ||
1516 | |||
1517 | cat >&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. | ||
1532 | ac_configure_args= | ||
1533 | ac_configure_args0= | ||
1534 | ac_configure_args1= | ||
1535 | ac_must_keep_next=false | ||
1536 | for ac_pass in 1 2 | ||
1537 | do | ||
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 | ||
1571 | done | ||
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. | ||
1580 | trap '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 | ||
1675 | for ac_signal in 1 2 13 15; do | ||
1676 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1677 | done | ||
1678 | ac_signal=0 | ||
1679 | |||
1680 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1681 | rm -f -r conftest* confdefs.h | ||
1682 | |||
1683 | # Predefined preprocessor variables. | ||
1684 | |||
1685 | cat >>confdefs.h <<_ACEOF | ||
1686 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | ||
1687 | _ACEOF | ||
1688 | |||
1689 | |||
1690 | cat >>confdefs.h <<_ACEOF | ||
1691 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1692 | _ACEOF | ||
1693 | |||
1694 | |||
1695 | cat >>confdefs.h <<_ACEOF | ||
1696 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1697 | _ACEOF | ||
1698 | |||
1699 | |||
1700 | cat >>confdefs.h <<_ACEOF | ||
1701 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | ||
1702 | _ACEOF | ||
1703 | |||
1704 | |||
1705 | cat >>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. | ||
1712 | ac_site_file1=NONE | ||
1713 | ac_site_file2=NONE | ||
1714 | if test -n "$CONFIG_SITE"; then | ||
1715 | ac_site_file1=$CONFIG_SITE | ||
1716 | elif test "x$prefix" != xNONE; then | ||
1717 | ac_site_file1=$prefix/share/config.site | ||
1718 | ac_site_file2=$prefix/etc/config.site | ||
1719 | else | ||
1720 | ac_site_file1=$ac_default_prefix/share/config.site | ||
1721 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
1722 | fi | ||
1723 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
1724 | do | ||
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 | ||
1732 | done | ||
1733 | |||
1734 | if 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 | ||
1745 | else | ||
1746 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1747 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
1748 | >$cache_file | ||
1749 | fi | ||
1750 | |||
1751 | # Check that the precious variables saved in the cache have kept the same | ||
1752 | # value. | ||
1753 | ac_cache_corrupted=false | ||
1754 | for 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 | ||
1800 | done | ||
1801 | if $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; }; } | ||
1809 | fi | ||
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 | |||
1835 | ac_ext=c | ||
1836 | ac_cpp='$CPP $CPPFLAGS' | ||
1837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1840 | |||
1841 | |||
1842 | am__api_version='1.10' | ||
1843 | |||
1844 | ac_aux_dir= | ||
1845 | for 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 | ||
1859 | done | ||
1860 | if 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; }; } | ||
1864 | fi | ||
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. | ||
1870 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
1871 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
1872 | ac_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; } | ||
1891 | if test -z "$INSTALL"; then | ||
1892 | if test "${ac_cv_path_install+set}" = set; then | ||
1893 | $as_echo_n "(cached) " >&6 | ||
1894 | else | ||
1895 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1896 | for as_dir in $PATH | ||
1897 | do | ||
1898 | IFS=$as_save_IFS | ||
1899 | test -z "$as_dir" && as_dir=. | ||
1900 | # Account for people who put trailing slashes in PATH elements. | ||
1901 | case $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 | ;; | ||
1939 | esac | ||
1940 | |||
1941 | done | ||
1942 | IFS=$as_save_IFS | ||
1943 | |||
1944 | rm -rf conftest.one conftest.two conftest.dir | ||
1945 | |||
1946 | fi | ||
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 | ||
1956 | fi | ||
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. | ||
1962 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
1963 | |||
1964 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
1965 | |||
1966 | test -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 | ||
1971 | sleep 1 | ||
1972 | echo 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). | ||
1978 | if ( | ||
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 | ||
1993 | alias in your environment" >&5 | ||
1994 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
1995 | alias in your environment" >&2;} | ||
1996 | { (exit 1); exit 1; }; } | ||
1997 | fi | ||
1998 | |||
1999 | test "$2" = conftest.file | ||
2000 | ) | ||
2001 | then | ||
2002 | # Ok. | ||
2003 | : | ||
2004 | else | ||
2005 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | ||
2006 | Check your system clock" >&5 | ||
2007 | $as_echo "$as_me: error: newly created file is older than distributed files! | ||
2008 | Check your system clock" >&2;} | ||
2009 | { (exit 1); exit 1; }; } | ||
2010 | fi | ||
2011 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2012 | $as_echo "yes" >&6; } | ||
2013 | test "$program_prefix" != NONE && | ||
2014 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
2015 | # Use a double $ so make ignores it. | ||
2016 | test "$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. | ||
2020 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
2021 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
2022 | |||
2023 | # expand $ac_aux_dir to an absolute path | ||
2024 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
2025 | |||
2026 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
2027 | # Use eval to expand $SHELL | ||
2028 | if eval "$MISSING --run true"; then | ||
2029 | am_missing_run="$MISSING --run " | ||
2030 | else | ||
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;} | ||
2034 | fi | ||
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; } | ||
2038 | if test -z "$MKDIR_P"; then | ||
2039 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
2040 | $as_echo_n "(cached) " >&6 | ||
2041 | else | ||
2042 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2043 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
2044 | do | ||
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 | ||
2059 | done | ||
2060 | IFS=$as_save_IFS | ||
2061 | |||
2062 | fi | ||
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 | ||
2074 | fi | ||
2075 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | ||
2076 | $as_echo "$MKDIR_P" >&6; } | ||
2077 | |||
2078 | mkdir_p="$MKDIR_P" | ||
2079 | case $mkdir_p in | ||
2080 | [\\/$]* | ?:[\\/]*) ;; | ||
2081 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
2082 | esac | ||
2083 | |||
2084 | for ac_prog in gawk mawk nawk awk | ||
2085 | do | ||
2086 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2087 | set 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; } | ||
2090 | if test "${ac_cv_prog_AWK+set}" = set; then | ||
2091 | $as_echo_n "(cached) " >&6 | ||
2092 | else | ||
2093 | if test -n "$AWK"; then | ||
2094 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
2095 | else | ||
2096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2097 | for as_dir in $PATH | ||
2098 | do | ||
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 | ||
2107 | done | ||
2108 | done | ||
2109 | IFS=$as_save_IFS | ||
2110 | |||
2111 | fi | ||
2112 | fi | ||
2113 | AWK=$ac_cv_prog_AWK | ||
2114 | if test -n "$AWK"; then | ||
2115 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | ||
2116 | $as_echo "$AWK" >&6; } | ||
2117 | else | ||
2118 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2119 | $as_echo "no" >&6; } | ||
2120 | fi | ||
2121 | |||
2122 | |||
2123 | test -n "$AWK" && break | ||
2124 | done | ||
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; } | ||
2128 | set x ${MAKE-make} | ||
2129 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
2130 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
2131 | $as_echo_n "(cached) " >&6 | ||
2132 | else | ||
2133 | cat >conftest.make <<\_ACEOF | ||
2134 | SHELL = /bin/sh | ||
2135 | all: | ||
2136 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
2137 | _ACEOF | ||
2138 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
2139 | case `${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;; | ||
2144 | esac | ||
2145 | rm -f conftest.make | ||
2146 | fi | ||
2147 | if 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= | ||
2151 | else | ||
2152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2153 | $as_echo "no" >&6; } | ||
2154 | SET_MAKE="MAKE=${MAKE-make}" | ||
2155 | fi | ||
2156 | |||
2157 | rm -rf .tst 2>/dev/null | ||
2158 | mkdir .tst 2>/dev/null | ||
2159 | if test -d .tst; then | ||
2160 | am__leading_dot=. | ||
2161 | else | ||
2162 | am__leading_dot=_ | ||
2163 | fi | ||
2164 | rmdir .tst 2>/dev/null | ||
2165 | |||
2166 | if 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 | ||
2176 | fi | ||
2177 | |||
2178 | # test whether we have cygpath | ||
2179 | if 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 | ||
2185 | fi | ||
2186 | |||
2187 | |||
2188 | # Define the identity of the package. | ||
2189 | PACKAGE='maze-of-life' | ||
2190 | VERSION='2.0' | ||
2191 | |||
2192 | |||
2193 | cat >>confdefs.h <<_ACEOF | ||
2194 | @%:@define PACKAGE "$PACKAGE" | ||
2195 | _ACEOF | ||
2196 | |||
2197 | |||
2198 | cat >>confdefs.h <<_ACEOF | ||
2199 | @%:@define VERSION "$VERSION" | ||
2200 | _ACEOF | ||
2201 | |||
2202 | # Some tools Automake needs. | ||
2203 | |||
2204 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
2205 | |||
2206 | |||
2207 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
2208 | |||
2209 | |||
2210 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
2211 | |||
2212 | |||
2213 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
2214 | |||
2215 | |||
2216 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
2217 | |||
2218 | install_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. | ||
2224 | if 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. | ||
2227 | set 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; } | ||
2230 | if test "${ac_cv_prog_STRIP+set}" = set; then | ||
2231 | $as_echo_n "(cached) " >&6 | ||
2232 | else | ||
2233 | if test -n "$STRIP"; then | ||
2234 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
2235 | else | ||
2236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2237 | for as_dir in $PATH | ||
2238 | do | ||
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 | ||
2247 | done | ||
2248 | done | ||
2249 | IFS=$as_save_IFS | ||
2250 | |||
2251 | fi | ||
2252 | fi | ||
2253 | STRIP=$ac_cv_prog_STRIP | ||
2254 | if test -n "$STRIP"; then | ||
2255 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
2256 | $as_echo "$STRIP" >&6; } | ||
2257 | else | ||
2258 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2259 | $as_echo "no" >&6; } | ||
2260 | fi | ||
2261 | |||
2262 | |||
2263 | fi | ||
2264 | if 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. | ||
2267 | set 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; } | ||
2270 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
2271 | $as_echo_n "(cached) " >&6 | ||
2272 | else | ||
2273 | if test -n "$ac_ct_STRIP"; then | ||
2274 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
2275 | else | ||
2276 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2277 | for as_dir in $PATH | ||
2278 | do | ||
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 | ||
2287 | done | ||
2288 | done | ||
2289 | IFS=$as_save_IFS | ||
2290 | |||
2291 | fi | ||
2292 | fi | ||
2293 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
2294 | if test -n "$ac_ct_STRIP"; then | ||
2295 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
2296 | $as_echo "$ac_ct_STRIP" >&6; } | ||
2297 | else | ||
2298 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2299 | $as_echo "no" >&6; } | ||
2300 | fi | ||
2301 | |||
2302 | if test "x$ac_ct_STRIP" = x; then | ||
2303 | STRIP=":" | ||
2304 | else | ||
2305 | case $cross_compiling:$ac_tool_warned in | ||
2306 | yes:) | ||
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;} | ||
2309 | ac_tool_warned=yes ;; | ||
2310 | esac | ||
2311 | STRIP=$ac_ct_STRIP | ||
2312 | fi | ||
2313 | else | ||
2314 | STRIP="$ac_cv_prog_STRIP" | ||
2315 | fi | ||
2316 | |||
2317 | fi | ||
2318 | INSTALL_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 | |||
2324 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
2325 | |||
2326 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
2327 | |||
2328 | |||
2329 | |||
2330 | |||
2331 | |||
2332 | |||
2333 | ac_config_headers="$ac_config_headers config.h" | ||
2334 | |||
2335 | |||
2336 | # Checks for programs. | ||
2337 | ac_ext=cpp | ||
2338 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
2339 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2340 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2341 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
2342 | if 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. | ||
2350 | set 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; } | ||
2353 | if test "${ac_cv_prog_CXX+set}" = set; then | ||
2354 | $as_echo_n "(cached) " >&6 | ||
2355 | else | ||
2356 | if test -n "$CXX"; then | ||
2357 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | ||
2358 | else | ||
2359 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2360 | for as_dir in $PATH | ||
2361 | do | ||
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 | ||
2370 | done | ||
2371 | done | ||
2372 | IFS=$as_save_IFS | ||
2373 | |||
2374 | fi | ||
2375 | fi | ||
2376 | CXX=$ac_cv_prog_CXX | ||
2377 | if test -n "$CXX"; then | ||
2378 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 | ||
2379 | $as_echo "$CXX" >&6; } | ||
2380 | else | ||
2381 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2382 | $as_echo "no" >&6; } | ||
2383 | fi | ||
2384 | |||
2385 | |||
2386 | test -n "$CXX" && break | ||
2387 | done | ||
2388 | fi | ||
2389 | if 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 | ||
2392 | do | ||
2393 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2394 | set 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; } | ||
2397 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | ||
2398 | $as_echo_n "(cached) " >&6 | ||
2399 | else | ||
2400 | if test -n "$ac_ct_CXX"; then | ||
2401 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ||
2402 | else | ||
2403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2404 | for as_dir in $PATH | ||
2405 | do | ||
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 | ||
2414 | done | ||
2415 | done | ||
2416 | IFS=$as_save_IFS | ||
2417 | |||
2418 | fi | ||
2419 | fi | ||
2420 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ||
2421 | if test -n "$ac_ct_CXX"; then | ||
2422 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | ||
2423 | $as_echo "$ac_ct_CXX" >&6; } | ||
2424 | else | ||
2425 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2426 | $as_echo "no" >&6; } | ||
2427 | fi | ||
2428 | |||
2429 | |||
2430 | test -n "$ac_ct_CXX" && break | ||
2431 | done | ||
2432 | |||
2433 | if test "x$ac_ct_CXX" = x; then | ||
2434 | CXX="g++" | ||
2435 | else | ||
2436 | case $cross_compiling:$ac_tool_warned in | ||
2437 | yes:) | ||
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;} | ||
2440 | ac_tool_warned=yes ;; | ||
2441 | esac | ||
2442 | CXX=$ac_ct_CXX | ||
2443 | fi | ||
2444 | fi | ||
2445 | |||
2446 | fi | ||
2447 | fi | ||
2448 | # Provide some information about the compiler. | ||
2449 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | ||
2450 | set X $ac_compile | ||
2451 | ac_compiler=$2 | ||
2452 | { (ac_try="$ac_compiler --version >&5" | ||
2453 | case "(($ac_try" in | ||
2454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2455 | *) ac_try_echo=$ac_try;; | ||
2456 | esac | ||
2457 | eval 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" | ||
2464 | case "(($ac_try" in | ||
2465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2466 | *) ac_try_echo=$ac_try;; | ||
2467 | esac | ||
2468 | eval 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" | ||
2475 | case "(($ac_try" in | ||
2476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2477 | *) ac_try_echo=$ac_try;; | ||
2478 | esac | ||
2479 | eval 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 | |||
2486 | cat >conftest.$ac_ext <<_ACEOF | ||
2487 | /* confdefs.h. */ | ||
2488 | _ACEOF | ||
2489 | cat confdefs.h >>conftest.$ac_ext | ||
2490 | cat >>conftest.$ac_ext <<_ACEOF | ||
2491 | /* end confdefs.h. */ | ||
2492 | |||
2493 | int | ||
2494 | main () | ||
2495 | { | ||
2496 | |||
2497 | ; | ||
2498 | return 0; | ||
2499 | } | ||
2500 | _ACEOF | ||
2501 | ac_clean_files_save=$ac_clean_files | ||
2502 | ac_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; } | ||
2508 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
2509 | |||
2510 | # The possible output files: | ||
2511 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
2512 | |||
2513 | ac_rmfiles= | ||
2514 | for ac_file in $ac_files | ||
2515 | do | ||
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 | ||
2520 | done | ||
2521 | rm -f $ac_rmfiles | ||
2522 | |||
2523 | if { (ac_try="$ac_link_default" | ||
2524 | case "(($ac_try" in | ||
2525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2526 | *) ac_try_echo=$ac_try;; | ||
2527 | esac | ||
2528 | eval 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. | ||
2539 | for ac_file in $ac_files '' | ||
2540 | do | ||
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 | ||
2563 | done | ||
2564 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2565 | |||
2566 | else | ||
2567 | ac_file='' | ||
2568 | fi | ||
2569 | |||
2570 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2571 | $as_echo "$ac_file" >&6; } | ||
2572 | if test -z "$ac_file"; then | ||
2573 | $as_echo "$as_me: failed program was:" >&5 | ||
2574 | sed '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 | ||
2579 | See \`config.log' for more details." >&5 | ||
2580 | $as_echo "$as_me: error: C++ compiler cannot create executables | ||
2581 | See \`config.log' for more details." >&2;} | ||
2582 | { (exit 77); exit 77; }; }; } | ||
2583 | fi | ||
2584 | |||
2585 | ac_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. | ||
2593 | if 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;; | ||
2598 | esac | ||
2599 | eval 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. | ||
2613 | If you meant to cross compile, use \`--host'. | ||
2614 | See \`config.log' for more details." >&5 | ||
2615 | $as_echo "$as_me: error: cannot run C++ compiled programs. | ||
2616 | If you meant to cross compile, use \`--host'. | ||
2617 | See \`config.log' for more details." >&2;} | ||
2618 | { (exit 1); exit 1; }; }; } | ||
2619 | fi | ||
2620 | fi | ||
2621 | fi | ||
2622 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2623 | $as_echo "yes" >&6; } | ||
2624 | |||
2625 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
2626 | ac_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; } | ||
2636 | if { (ac_try="$ac_link" | ||
2637 | case "(($ac_try" in | ||
2638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2639 | *) ac_try_echo=$ac_try;; | ||
2640 | esac | ||
2641 | eval 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'. | ||
2651 | for 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 | ||
2659 | done | ||
2660 | else | ||
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 | ||
2664 | See \`config.log' for more details." >&5 | ||
2665 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
2666 | See \`config.log' for more details." >&2;} | ||
2667 | { (exit 1); exit 1; }; }; } | ||
2668 | fi | ||
2669 | |||
2670 | rm -f conftest$ac_cv_exeext | ||
2671 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
2672 | $as_echo "$ac_cv_exeext" >&6; } | ||
2673 | |||
2674 | rm -f conftest.$ac_ext | ||
2675 | EXEEXT=$ac_cv_exeext | ||
2676 | ac_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; } | ||
2679 | if test "${ac_cv_objext+set}" = set; then | ||
2680 | $as_echo_n "(cached) " >&6 | ||
2681 | else | ||
2682 | cat >conftest.$ac_ext <<_ACEOF | ||
2683 | /* confdefs.h. */ | ||
2684 | _ACEOF | ||
2685 | cat confdefs.h >>conftest.$ac_ext | ||
2686 | cat >>conftest.$ac_ext <<_ACEOF | ||
2687 | /* end confdefs.h. */ | ||
2688 | |||
2689 | int | ||
2690 | main () | ||
2691 | { | ||
2692 | |||
2693 | ; | ||
2694 | return 0; | ||
2695 | } | ||
2696 | _ACEOF | ||
2697 | rm -f conftest.o conftest.obj | ||
2698 | if { (ac_try="$ac_compile" | ||
2699 | case "(($ac_try" in | ||
2700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2701 | *) ac_try_echo=$ac_try;; | ||
2702 | esac | ||
2703 | eval 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 | ||
2716 | done | ||
2717 | else | ||
2718 | $as_echo "$as_me: failed program was:" >&5 | ||
2719 | sed '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 | ||
2724 | See \`config.log' for more details." >&5 | ||
2725 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
2726 | See \`config.log' for more details." >&2;} | ||
2727 | { (exit 1); exit 1; }; }; } | ||
2728 | fi | ||
2729 | |||
2730 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
2731 | fi | ||
2732 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
2733 | $as_echo "$ac_cv_objext" >&6; } | ||
2734 | OBJEXT=$ac_cv_objext | ||
2735 | ac_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; } | ||
2738 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | ||
2739 | $as_echo_n "(cached) " >&6 | ||
2740 | else | ||
2741 | cat >conftest.$ac_ext <<_ACEOF | ||
2742 | /* confdefs.h. */ | ||
2743 | _ACEOF | ||
2744 | cat confdefs.h >>conftest.$ac_ext | ||
2745 | cat >>conftest.$ac_ext <<_ACEOF | ||
2746 | /* end confdefs.h. */ | ||
2747 | |||
2748 | int | ||
2749 | main () | ||
2750 | { | ||
2751 | #ifndef __GNUC__ | ||
2752 | choke me | ||
2753 | #endif | ||
2754 | |||
2755 | ; | ||
2756 | return 0; | ||
2757 | } | ||
2758 | _ACEOF | ||
2759 | rm -f conftest.$ac_objext | ||
2760 | if { (ac_try="$ac_compile" | ||
2761 | case "(($ac_try" in | ||
2762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2763 | *) ac_try_echo=$ac_try;; | ||
2764 | esac | ||
2765 | eval 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 | ||
2778 | else | ||
2779 | $as_echo "$as_me: failed program was:" >&5 | ||
2780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2781 | |||
2782 | ac_compiler_gnu=no | ||
2783 | fi | ||
2784 | |||
2785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2786 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ||
2787 | |||
2788 | fi | ||
2789 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | ||
2790 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | ||
2791 | if test $ac_compiler_gnu = yes; then | ||
2792 | GXX=yes | ||
2793 | else | ||
2794 | GXX= | ||
2795 | fi | ||
2796 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ||
2797 | ac_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; } | ||
2800 | if test "${ac_cv_prog_cxx_g+set}" = set; then | ||
2801 | $as_echo_n "(cached) " >&6 | ||
2802 | else | ||
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 | ||
2810 | cat confdefs.h >>conftest.$ac_ext | ||
2811 | cat >>conftest.$ac_ext <<_ACEOF | ||
2812 | /* end confdefs.h. */ | ||
2813 | |||
2814 | int | ||
2815 | main () | ||
2816 | { | ||
2817 | |||
2818 | ; | ||
2819 | return 0; | ||
2820 | } | ||
2821 | _ACEOF | ||
2822 | rm -f conftest.$ac_objext | ||
2823 | if { (ac_try="$ac_compile" | ||
2824 | case "(($ac_try" in | ||
2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2826 | *) ac_try_echo=$ac_try;; | ||
2827 | esac | ||
2828 | eval 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 | ||
2841 | else | ||
2842 | $as_echo "$as_me: failed program was:" >&5 | ||
2843 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2844 | |||
2845 | CXXFLAGS="" | ||
2846 | cat >conftest.$ac_ext <<_ACEOF | ||
2847 | /* confdefs.h. */ | ||
2848 | _ACEOF | ||
2849 | cat confdefs.h >>conftest.$ac_ext | ||
2850 | cat >>conftest.$ac_ext <<_ACEOF | ||
2851 | /* end confdefs.h. */ | ||
2852 | |||
2853 | int | ||
2854 | main () | ||
2855 | { | ||
2856 | |||
2857 | ; | ||
2858 | return 0; | ||
2859 | } | ||
2860 | _ACEOF | ||
2861 | rm -f conftest.$ac_objext | ||
2862 | if { (ac_try="$ac_compile" | ||
2863 | case "(($ac_try" in | ||
2864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2865 | *) ac_try_echo=$ac_try;; | ||
2866 | esac | ||
2867 | eval 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 | : | ||
2880 | else | ||
2881 | $as_echo "$as_me: failed program was:" >&5 | ||
2882 | sed '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 | ||
2889 | cat confdefs.h >>conftest.$ac_ext | ||
2890 | cat >>conftest.$ac_ext <<_ACEOF | ||
2891 | /* end confdefs.h. */ | ||
2892 | |||
2893 | int | ||
2894 | main () | ||
2895 | { | ||
2896 | |||
2897 | ; | ||
2898 | return 0; | ||
2899 | } | ||
2900 | _ACEOF | ||
2901 | rm -f conftest.$ac_objext | ||
2902 | if { (ac_try="$ac_compile" | ||
2903 | case "(($ac_try" in | ||
2904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2905 | *) ac_try_echo=$ac_try;; | ||
2906 | esac | ||
2907 | eval 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 | ||
2920 | else | ||
2921 | $as_echo "$as_me: failed program was:" >&5 | ||
2922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2923 | |||
2924 | |||
2925 | fi | ||
2926 | |||
2927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2928 | fi | ||
2929 | |||
2930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2931 | fi | ||
2932 | |||
2933 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2934 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ||
2935 | fi | ||
2936 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | ||
2937 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | ||
2938 | if test "$ac_test_CXXFLAGS" = set; then | ||
2939 | CXXFLAGS=$ac_save_CXXFLAGS | ||
2940 | elif 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 | ||
2946 | else | ||
2947 | if test "$GXX" = yes; then | ||
2948 | CXXFLAGS="-O2" | ||
2949 | else | ||
2950 | CXXFLAGS= | ||
2951 | fi | ||
2952 | fi | ||
2953 | ac_ext=c | ||
2954 | ac_cpp='$CPP $CPPFLAGS' | ||
2955 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2956 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2957 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2958 | DEPDIR="${am__leading_dot}deps" | ||
2959 | |||
2960 | ac_config_commands="$ac_config_commands depfiles" | ||
2961 | |||
2962 | |||
2963 | am_make=${MAKE-make} | ||
2964 | cat > confinc << 'END' | ||
2965 | am__doit: | ||
2966 | @echo done | ||
2967 | .PHONY: am__doit | ||
2968 | END | ||
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; } | ||
2972 | am__include="#" | ||
2973 | am__quote= | ||
2974 | _am_result=none | ||
2975 | # First try GNU make style include. | ||
2976 | echo "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'. | ||
2982 | if 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 | ||
2986 | fi | ||
2987 | # Now try BSD make style include. | ||
2988 | if 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 | ||
2995 | fi | ||
2996 | |||
2997 | |||
2998 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | ||
2999 | $as_echo "$_am_result" >&6; } | ||
3000 | rm -f confinc confmf | ||
3001 | |||
3002 | @%:@ Check whether --enable-dependency-tracking was given. | ||
3003 | if test "${enable_dependency_tracking+set}" = set; then | ||
3004 | enableval=$enable_dependency_tracking; | ||
3005 | fi | ||
3006 | |||
3007 | if test "x$enable_dependency_tracking" != xno; then | ||
3008 | am_depcomp="$ac_aux_dir/depcomp" | ||
3009 | AMDEPBACKSLASH='\' | ||
3010 | fi | ||
3011 | if test "x$enable_dependency_tracking" != xno; then | ||
3012 | AMDEP_TRUE= | ||
3013 | AMDEP_FALSE='#' | ||
3014 | else | ||
3015 | AMDEP_TRUE='#' | ||
3016 | AMDEP_FALSE= | ||
3017 | fi | ||
3018 | |||
3019 | |||
3020 | |||
3021 | depcc="$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; } | ||
3025 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | ||
3026 | $as_echo_n "(cached) " >&6 | ||
3027 | else | ||
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 | ||
3109 | else | ||
3110 | am_cv_CXX_dependencies_compiler_type=none | ||
3111 | fi | ||
3112 | |||
3113 | fi | ||
3114 | { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | ||
3115 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | ||
3116 | CXXDEPMODE=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='#' | ||
3123 | else | ||
3124 | am__fastdepCXX_TRUE='#' | ||
3125 | am__fastdepCXX_FALSE= | ||
3126 | fi | ||
3127 | |||
3128 | |||
3129 | ac_ext=c | ||
3130 | ac_cpp='$CPP $CPPFLAGS' | ||
3131 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3132 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3133 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3134 | if 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. | ||
3136 | set 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; } | ||
3139 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3140 | $as_echo_n "(cached) " >&6 | ||
3141 | else | ||
3142 | if test -n "$CC"; then | ||
3143 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3144 | else | ||
3145 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3146 | for as_dir in $PATH | ||
3147 | do | ||
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 | ||
3156 | done | ||
3157 | done | ||
3158 | IFS=$as_save_IFS | ||
3159 | |||
3160 | fi | ||
3161 | fi | ||
3162 | CC=$ac_cv_prog_CC | ||
3163 | if test -n "$CC"; then | ||
3164 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3165 | $as_echo "$CC" >&6; } | ||
3166 | else | ||
3167 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3168 | $as_echo "no" >&6; } | ||
3169 | fi | ||
3170 | |||
3171 | |||
3172 | fi | ||
3173 | if 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. | ||
3176 | set 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; } | ||
3179 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3180 | $as_echo_n "(cached) " >&6 | ||
3181 | else | ||
3182 | if test -n "$ac_ct_CC"; then | ||
3183 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3184 | else | ||
3185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3186 | for as_dir in $PATH | ||
3187 | do | ||
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 | ||
3196 | done | ||
3197 | done | ||
3198 | IFS=$as_save_IFS | ||
3199 | |||
3200 | fi | ||
3201 | fi | ||
3202 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3203 | if test -n "$ac_ct_CC"; then | ||
3204 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3205 | $as_echo "$ac_ct_CC" >&6; } | ||
3206 | else | ||
3207 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3208 | $as_echo "no" >&6; } | ||
3209 | fi | ||
3210 | |||
3211 | if test "x$ac_ct_CC" = x; then | ||
3212 | CC="" | ||
3213 | else | ||
3214 | case $cross_compiling:$ac_tool_warned in | ||
3215 | yes:) | ||
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;} | ||
3218 | ac_tool_warned=yes ;; | ||
3219 | esac | ||
3220 | CC=$ac_ct_CC | ||
3221 | fi | ||
3222 | else | ||
3223 | CC="$ac_cv_prog_CC" | ||
3224 | fi | ||
3225 | |||
3226 | if 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. | ||
3229 | set 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; } | ||
3232 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3233 | $as_echo_n "(cached) " >&6 | ||
3234 | else | ||
3235 | if test -n "$CC"; then | ||
3236 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3237 | else | ||
3238 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3239 | for as_dir in $PATH | ||
3240 | do | ||
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 | ||
3249 | done | ||
3250 | done | ||
3251 | IFS=$as_save_IFS | ||
3252 | |||
3253 | fi | ||
3254 | fi | ||
3255 | CC=$ac_cv_prog_CC | ||
3256 | if test -n "$CC"; then | ||
3257 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3258 | $as_echo "$CC" >&6; } | ||
3259 | else | ||
3260 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3261 | $as_echo "no" >&6; } | ||
3262 | fi | ||
3263 | |||
3264 | |||
3265 | fi | ||
3266 | fi | ||
3267 | if test -z "$CC"; then | ||
3268 | # Extract the first word of "cc", so it can be a program name with args. | ||
3269 | set 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; } | ||
3272 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3273 | $as_echo_n "(cached) " >&6 | ||
3274 | else | ||
3275 | if test -n "$CC"; then | ||
3276 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3277 | else | ||
3278 | ac_prog_rejected=no | ||
3279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3280 | for as_dir in $PATH | ||
3281 | do | ||
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 | ||
3294 | done | ||
3295 | done | ||
3296 | IFS=$as_save_IFS | ||
3297 | |||
3298 | if 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 | ||
3309 | fi | ||
3310 | fi | ||
3311 | fi | ||
3312 | CC=$ac_cv_prog_CC | ||
3313 | if test -n "$CC"; then | ||
3314 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3315 | $as_echo "$CC" >&6; } | ||
3316 | else | ||
3317 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3318 | $as_echo "no" >&6; } | ||
3319 | fi | ||
3320 | |||
3321 | |||
3322 | fi | ||
3323 | if 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. | ||
3328 | set 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; } | ||
3331 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3332 | $as_echo_n "(cached) " >&6 | ||
3333 | else | ||
3334 | if test -n "$CC"; then | ||
3335 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3336 | else | ||
3337 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3338 | for as_dir in $PATH | ||
3339 | do | ||
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 | ||
3348 | done | ||
3349 | done | ||
3350 | IFS=$as_save_IFS | ||
3351 | |||
3352 | fi | ||
3353 | fi | ||
3354 | CC=$ac_cv_prog_CC | ||
3355 | if test -n "$CC"; then | ||
3356 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3357 | $as_echo "$CC" >&6; } | ||
3358 | else | ||
3359 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3360 | $as_echo "no" >&6; } | ||
3361 | fi | ||
3362 | |||
3363 | |||
3364 | test -n "$CC" && break | ||
3365 | done | ||
3366 | fi | ||
3367 | if test -z "$CC"; then | ||
3368 | ac_ct_CC=$CC | ||
3369 | for ac_prog in cl.exe | ||
3370 | do | ||
3371 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3372 | set 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; } | ||
3375 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3376 | $as_echo_n "(cached) " >&6 | ||
3377 | else | ||
3378 | if test -n "$ac_ct_CC"; then | ||
3379 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3380 | else | ||
3381 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3382 | for as_dir in $PATH | ||
3383 | do | ||
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 | ||
3392 | done | ||
3393 | done | ||
3394 | IFS=$as_save_IFS | ||
3395 | |||
3396 | fi | ||
3397 | fi | ||
3398 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3399 | if test -n "$ac_ct_CC"; then | ||
3400 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3401 | $as_echo "$ac_ct_CC" >&6; } | ||
3402 | else | ||
3403 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3404 | $as_echo "no" >&6; } | ||
3405 | fi | ||
3406 | |||
3407 | |||
3408 | test -n "$ac_ct_CC" && break | ||
3409 | done | ||
3410 | |||
3411 | if test "x$ac_ct_CC" = x; then | ||
3412 | CC="" | ||
3413 | else | ||
3414 | case $cross_compiling:$ac_tool_warned in | ||
3415 | yes:) | ||
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;} | ||
3418 | ac_tool_warned=yes ;; | ||
3419 | esac | ||
3420 | CC=$ac_ct_CC | ||
3421 | fi | ||
3422 | fi | ||
3423 | |||
3424 | fi | ||
3425 | |||
3426 | |||
3427 | test -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 | ||
3430 | See \`config.log' for more details." >&5 | ||
3431 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
3432 | See \`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 | ||
3437 | set X $ac_compile | ||
3438 | ac_compiler=$2 | ||
3439 | { (ac_try="$ac_compiler --version >&5" | ||
3440 | case "(($ac_try" in | ||
3441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3442 | *) ac_try_echo=$ac_try;; | ||
3443 | esac | ||
3444 | eval 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" | ||
3451 | case "(($ac_try" in | ||
3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3453 | *) ac_try_echo=$ac_try;; | ||
3454 | esac | ||
3455 | eval 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" | ||
3462 | case "(($ac_try" in | ||
3463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3464 | *) ac_try_echo=$ac_try;; | ||
3465 | esac | ||
3466 | eval 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; } | ||
3475 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
3476 | $as_echo_n "(cached) " >&6 | ||
3477 | else | ||
3478 | cat >conftest.$ac_ext <<_ACEOF | ||
3479 | /* confdefs.h. */ | ||
3480 | _ACEOF | ||
3481 | cat confdefs.h >>conftest.$ac_ext | ||
3482 | cat >>conftest.$ac_ext <<_ACEOF | ||
3483 | /* end confdefs.h. */ | ||
3484 | |||
3485 | int | ||
3486 | main () | ||
3487 | { | ||
3488 | #ifndef __GNUC__ | ||
3489 | choke me | ||
3490 | #endif | ||
3491 | |||
3492 | ; | ||
3493 | return 0; | ||
3494 | } | ||
3495 | _ACEOF | ||
3496 | rm -f conftest.$ac_objext | ||
3497 | if { (ac_try="$ac_compile" | ||
3498 | case "(($ac_try" in | ||
3499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3500 | *) ac_try_echo=$ac_try;; | ||
3501 | esac | ||
3502 | eval 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 | ||
3515 | else | ||
3516 | $as_echo "$as_me: failed program was:" >&5 | ||
3517 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3518 | |||
3519 | ac_compiler_gnu=no | ||
3520 | fi | ||
3521 | |||
3522 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3523 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
3524 | |||
3525 | fi | ||
3526 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
3527 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
3528 | if test $ac_compiler_gnu = yes; then | ||
3529 | GCC=yes | ||
3530 | else | ||
3531 | GCC= | ||
3532 | fi | ||
3533 | ac_test_CFLAGS=${CFLAGS+set} | ||
3534 | ac_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; } | ||
3537 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
3538 | $as_echo_n "(cached) " >&6 | ||
3539 | else | ||
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 | ||
3547 | cat confdefs.h >>conftest.$ac_ext | ||
3548 | cat >>conftest.$ac_ext <<_ACEOF | ||
3549 | /* end confdefs.h. */ | ||
3550 | |||
3551 | int | ||
3552 | main () | ||
3553 | { | ||
3554 | |||
3555 | ; | ||
3556 | return 0; | ||
3557 | } | ||
3558 | _ACEOF | ||
3559 | rm -f conftest.$ac_objext | ||
3560 | if { (ac_try="$ac_compile" | ||
3561 | case "(($ac_try" in | ||
3562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3563 | *) ac_try_echo=$ac_try;; | ||
3564 | esac | ||
3565 | eval 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 | ||
3578 | else | ||
3579 | $as_echo "$as_me: failed program was:" >&5 | ||
3580 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3581 | |||
3582 | CFLAGS="" | ||
3583 | cat >conftest.$ac_ext <<_ACEOF | ||
3584 | /* confdefs.h. */ | ||
3585 | _ACEOF | ||
3586 | cat confdefs.h >>conftest.$ac_ext | ||
3587 | cat >>conftest.$ac_ext <<_ACEOF | ||
3588 | /* end confdefs.h. */ | ||
3589 | |||
3590 | int | ||
3591 | main () | ||
3592 | { | ||
3593 | |||
3594 | ; | ||
3595 | return 0; | ||
3596 | } | ||
3597 | _ACEOF | ||
3598 | rm -f conftest.$ac_objext | ||
3599 | if { (ac_try="$ac_compile" | ||
3600 | case "(($ac_try" in | ||
3601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3602 | *) ac_try_echo=$ac_try;; | ||
3603 | esac | ||
3604 | eval 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 | : | ||
3617 | else | ||
3618 | $as_echo "$as_me: failed program was:" >&5 | ||
3619 | sed '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 | ||
3626 | cat confdefs.h >>conftest.$ac_ext | ||
3627 | cat >>conftest.$ac_ext <<_ACEOF | ||
3628 | /* end confdefs.h. */ | ||
3629 | |||
3630 | int | ||
3631 | main () | ||
3632 | { | ||
3633 | |||
3634 | ; | ||
3635 | return 0; | ||
3636 | } | ||
3637 | _ACEOF | ||
3638 | rm -f conftest.$ac_objext | ||
3639 | if { (ac_try="$ac_compile" | ||
3640 | case "(($ac_try" in | ||
3641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3642 | *) ac_try_echo=$ac_try;; | ||
3643 | esac | ||
3644 | eval 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 | ||
3657 | else | ||
3658 | $as_echo "$as_me: failed program was:" >&5 | ||
3659 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3660 | |||
3661 | |||
3662 | fi | ||
3663 | |||
3664 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3665 | fi | ||
3666 | |||
3667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3668 | fi | ||
3669 | |||
3670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3671 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3672 | fi | ||
3673 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
3674 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
3675 | if test "$ac_test_CFLAGS" = set; then | ||
3676 | CFLAGS=$ac_save_CFLAGS | ||
3677 | elif 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 | ||
3683 | else | ||
3684 | if test "$GCC" = yes; then | ||
3685 | CFLAGS="-O2" | ||
3686 | else | ||
3687 | CFLAGS= | ||
3688 | fi | ||
3689 | fi | ||
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; } | ||
3692 | if test "${ac_cv_prog_cc_c89+set}" = set; then | ||
3693 | $as_echo_n "(cached) " >&6 | ||
3694 | else | ||
3695 | ac_cv_prog_cc_c89=no | ||
3696 | ac_save_CC=$CC | ||
3697 | cat >conftest.$ac_ext <<_ACEOF | ||
3698 | /* confdefs.h. */ | ||
3699 | _ACEOF | ||
3700 | cat confdefs.h >>conftest.$ac_ext | ||
3701 | cat >>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. */ | ||
3708 | struct buf { int x; }; | ||
3709 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
3710 | static char *e (p, i) | ||
3711 | char **p; | ||
3712 | int i; | ||
3713 | { | ||
3714 | return p[i]; | ||
3715 | } | ||
3716 | static 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. */ | ||
3733 | int 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' | ||
3738 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
3739 | |||
3740 | int test (int i, double x); | ||
3741 | struct s1 {int (*f) (int a);}; | ||
3742 | struct s2 {int (*f) (double a);}; | ||
3743 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
3744 | int argc; | ||
3745 | char **argv; | ||
3746 | int | ||
3747 | main () | ||
3748 | { | ||
3749 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
3750 | ; | ||
3751 | return 0; | ||
3752 | } | ||
3753 | _ACEOF | ||
3754 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
3755 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3756 | do | ||
3757 | CC="$ac_save_CC $ac_arg" | ||
3758 | rm -f conftest.$ac_objext | ||
3759 | if { (ac_try="$ac_compile" | ||
3760 | case "(($ac_try" in | ||
3761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3762 | *) ac_try_echo=$ac_try;; | ||
3763 | esac | ||
3764 | eval 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 | ||
3777 | else | ||
3778 | $as_echo "$as_me: failed program was:" >&5 | ||
3779 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3780 | |||
3781 | |||
3782 | fi | ||
3783 | |||
3784 | rm -f core conftest.err conftest.$ac_objext | ||
3785 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
3786 | done | ||
3787 | rm -f conftest.$ac_ext | ||
3788 | CC=$ac_save_CC | ||
3789 | |||
3790 | fi | ||
3791 | # AC_CACHE_VAL | ||
3792 | case "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; } ;; | ||
3803 | esac | ||
3804 | |||
3805 | |||
3806 | ac_ext=c | ||
3807 | ac_cpp='$CPP $CPPFLAGS' | ||
3808 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3809 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3810 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3811 | |||
3812 | depcc="$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; } | ||
3816 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | ||
3817 | $as_echo_n "(cached) " >&6 | ||
3818 | else | ||
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 | ||
3900 | else | ||
3901 | am_cv_CC_dependencies_compiler_type=none | ||
3902 | fi | ||
3903 | |||
3904 | fi | ||
3905 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
3906 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
3907 | CCDEPMODE=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='#' | ||
3914 | else | ||
3915 | am__fastdepCC_TRUE='#' | ||
3916 | am__fastdepCC_FALSE= | ||
3917 | fi | ||
3918 | |||
3919 | |||
3920 | |||
3921 | # Checks for libraries. | ||
3922 | |||
3923 | |||
3924 | if 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. | ||
3927 | set 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; } | ||
3930 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | ||
3931 | $as_echo_n "(cached) " >&6 | ||
3932 | else | ||
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 | ||
3939 | for as_dir in $PATH | ||
3940 | do | ||
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 | ||
3949 | done | ||
3950 | done | ||
3951 | IFS=$as_save_IFS | ||
3952 | |||
3953 | ;; | ||
3954 | esac | ||
3955 | fi | ||
3956 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | ||
3957 | if test -n "$PKG_CONFIG"; then | ||
3958 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | ||
3959 | $as_echo "$PKG_CONFIG" >&6; } | ||
3960 | else | ||
3961 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3962 | $as_echo "no" >&6; } | ||
3963 | fi | ||
3964 | |||
3965 | |||
3966 | fi | ||
3967 | if 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. | ||
3970 | set 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; } | ||
3973 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then | ||
3974 | $as_echo_n "(cached) " >&6 | ||
3975 | else | ||
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 | ||
3982 | for as_dir in $PATH | ||
3983 | do | ||
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 | ||
3992 | done | ||
3993 | done | ||
3994 | IFS=$as_save_IFS | ||
3995 | |||
3996 | ;; | ||
3997 | esac | ||
3998 | fi | ||
3999 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | ||
4000 | if 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; } | ||
4003 | else | ||
4004 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4005 | $as_echo "no" >&6; } | ||
4006 | fi | ||
4007 | |||
4008 | if test "x$ac_pt_PKG_CONFIG" = x; then | ||
4009 | PKG_CONFIG="" | ||
4010 | else | ||
4011 | case $cross_compiling:$ac_tool_warned in | ||
4012 | yes:) | ||
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;} | ||
4015 | ac_tool_warned=yes ;; | ||
4016 | esac | ||
4017 | PKG_CONFIG=$ac_pt_PKG_CONFIG | ||
4018 | fi | ||
4019 | else | ||
4020 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | ||
4021 | fi | ||
4022 | |||
4023 | fi | ||
4024 | if 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 | |||
4037 | fi | ||
4038 | |||
4039 | pkg_failed=no | ||
4040 | { $as_echo "$as_me:$LINENO: checking for SDL" >&5 | ||
4041 | $as_echo_n "checking for SDL... " >&6; } | ||
4042 | |||
4043 | if 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` | ||
4054 | else | ||
4055 | pkg_failed=yes | ||
4056 | fi | ||
4057 | fi | ||
4058 | else | ||
4059 | pkg_failed=untried | ||
4060 | fi | ||
4061 | if 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` | ||
4072 | else | ||
4073 | pkg_failed=yes | ||
4074 | fi | ||
4075 | fi | ||
4076 | else | ||
4077 | pkg_failed=untried | ||
4078 | fi | ||
4079 | |||
4080 | |||
4081 | |||
4082 | if test $pkg_failed = yes; then | ||
4083 | |||
4084 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
4085 | _pkg_short_errors_supported=yes | ||
4086 | else | ||
4087 | _pkg_short_errors_supported=no | ||
4088 | fi | ||
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 | |||
4101 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4102 | installed software in a non-standard prefix. | ||
4103 | |||
4104 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4105 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4106 | See 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 | |||
4112 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4113 | installed software in a non-standard prefix. | ||
4114 | |||
4115 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4116 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4117 | See the pkg-config man page for more details. | ||
4118 | " >&2;} | ||
4119 | { (exit 1); exit 1; }; } | ||
4120 | elif 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 | ||
4124 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4125 | path to pkg-config. | ||
4126 | |||
4127 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4128 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4129 | See the pkg-config man page for more details. | ||
4130 | |||
4131 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4132 | See \`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 | ||
4134 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4135 | path to pkg-config. | ||
4136 | |||
4137 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4138 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4139 | See the pkg-config man page for more details. | ||
4140 | |||
4141 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4142 | See \`config.log' for more details." >&2;} | ||
4143 | { (exit 1); exit 1; }; }; } | ||
4144 | else | ||
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 | : | ||
4150 | fi | ||
4151 | CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" | ||
4152 | LDFLAGS="$SDL_LIBS" | ||
4153 | |||
4154 | # Checks for header files. | ||
4155 | |||
4156 | # Checks for typedefs, structures, and compiler characteristics. | ||
4157 | |||
4158 | ac_ext=c | ||
4159 | ac_cpp='$CPP $CPPFLAGS' | ||
4160 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4161 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4162 | ac_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. | ||
4166 | if test -n "$CPP" && test -d "$CPP"; then | ||
4167 | CPP= | ||
4168 | fi | ||
4169 | if test -z "$CPP"; then | ||
4170 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
4171 | $as_echo_n "(cached) " >&6 | ||
4172 | else | ||
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 | ||
4177 | for ac_c_preproc_warn_flag in '' yes | ||
4178 | do | ||
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 | ||
4188 | cat confdefs.h >>conftest.$ac_ext | ||
4189 | cat >>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 | ||
4198 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4199 | case "(($ac_try" in | ||
4200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4201 | *) ac_try_echo=$ac_try;; | ||
4202 | esac | ||
4203 | eval 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 | : | ||
4216 | else | ||
4217 | $as_echo "$as_me: failed program was:" >&5 | ||
4218 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4219 | |||
4220 | # Broken: fails on valid input. | ||
4221 | continue | ||
4222 | fi | ||
4223 | |||
4224 | rm -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 | ||
4231 | cat confdefs.h >>conftest.$ac_ext | ||
4232 | cat >>conftest.$ac_ext <<_ACEOF | ||
4233 | /* end confdefs.h. */ | ||
4234 | @%:@include <ac_nonexistent.h> | ||
4235 | _ACEOF | ||
4236 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4237 | case "(($ac_try" in | ||
4238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4239 | *) ac_try_echo=$ac_try;; | ||
4240 | esac | ||
4241 | eval 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. | ||
4254 | continue | ||
4255 | else | ||
4256 | $as_echo "$as_me: failed program was:" >&5 | ||
4257 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4258 | |||
4259 | # Passes both tests. | ||
4260 | ac_preproc_ok=: | ||
4261 | break | ||
4262 | fi | ||
4263 | |||
4264 | rm -f conftest.err conftest.$ac_ext | ||
4265 | |||
4266 | done | ||
4267 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4268 | rm -f conftest.err conftest.$ac_ext | ||
4269 | if $ac_preproc_ok; then | ||
4270 | break | ||
4271 | fi | ||
4272 | |||
4273 | done | ||
4274 | ac_cv_prog_CPP=$CPP | ||
4275 | |||
4276 | fi | ||
4277 | CPP=$ac_cv_prog_CPP | ||
4278 | else | ||
4279 | ac_cv_prog_CPP=$CPP | ||
4280 | fi | ||
4281 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | ||
4282 | $as_echo "$CPP" >&6; } | ||
4283 | ac_preproc_ok=false | ||
4284 | for ac_c_preproc_warn_flag in '' yes | ||
4285 | do | ||
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 | ||
4295 | cat confdefs.h >>conftest.$ac_ext | ||
4296 | cat >>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 | ||
4305 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4306 | case "(($ac_try" in | ||
4307 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4308 | *) ac_try_echo=$ac_try;; | ||
4309 | esac | ||
4310 | eval 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 | : | ||
4323 | else | ||
4324 | $as_echo "$as_me: failed program was:" >&5 | ||
4325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4326 | |||
4327 | # Broken: fails on valid input. | ||
4328 | continue | ||
4329 | fi | ||
4330 | |||
4331 | rm -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 | ||
4338 | cat confdefs.h >>conftest.$ac_ext | ||
4339 | cat >>conftest.$ac_ext <<_ACEOF | ||
4340 | /* end confdefs.h. */ | ||
4341 | @%:@include <ac_nonexistent.h> | ||
4342 | _ACEOF | ||
4343 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4344 | case "(($ac_try" in | ||
4345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4346 | *) ac_try_echo=$ac_try;; | ||
4347 | esac | ||
4348 | eval 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. | ||
4361 | continue | ||
4362 | else | ||
4363 | $as_echo "$as_me: failed program was:" >&5 | ||
4364 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4365 | |||
4366 | # Passes both tests. | ||
4367 | ac_preproc_ok=: | ||
4368 | break | ||
4369 | fi | ||
4370 | |||
4371 | rm -f conftest.err conftest.$ac_ext | ||
4372 | |||
4373 | done | ||
4374 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4375 | rm -f conftest.err conftest.$ac_ext | ||
4376 | if $ac_preproc_ok; then | ||
4377 | : | ||
4378 | else | ||
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 | ||
4382 | See \`config.log' for more details." >&5 | ||
4383 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
4384 | See \`config.log' for more details." >&2;} | ||
4385 | { (exit 1); exit 1; }; }; } | ||
4386 | fi | ||
4387 | |||
4388 | ac_ext=c | ||
4389 | ac_cpp='$CPP $CPPFLAGS' | ||
4390 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4391 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4392 | ac_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; } | ||
4397 | if test "${ac_cv_path_GREP+set}" = set; then | ||
4398 | $as_echo_n "(cached) " >&6 | ||
4399 | else | ||
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 | ||
4404 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4405 | do | ||
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 | ||
4414 | case `"$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;; | ||
4438 | esac | ||
4439 | |||
4440 | $ac_path_GREP_found && break 3 | ||
4441 | done | ||
4442 | done | ||
4443 | done | ||
4444 | IFS=$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 | ||
4450 | else | ||
4451 | ac_cv_path_GREP=$GREP | ||
4452 | fi | ||
4453 | |||
4454 | fi | ||
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; } | ||
4462 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4463 | $as_echo_n "(cached) " >&6 | ||
4464 | else | ||
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 | ||
4472 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4473 | do | ||
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 | ||
4482 | case `"$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;; | ||
4506 | esac | ||
4507 | |||
4508 | $ac_path_EGREP_found && break 3 | ||
4509 | done | ||
4510 | done | ||
4511 | done | ||
4512 | IFS=$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 | ||
4518 | else | ||
4519 | ac_cv_path_EGREP=$EGREP | ||
4520 | fi | ||
4521 | |||
4522 | fi | ||
4523 | fi | ||
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; } | ||
4531 | if test "${ac_cv_header_stdc+set}" = set; then | ||
4532 | $as_echo_n "(cached) " >&6 | ||
4533 | else | ||
4534 | cat >conftest.$ac_ext <<_ACEOF | ||
4535 | /* confdefs.h. */ | ||
4536 | _ACEOF | ||
4537 | cat confdefs.h >>conftest.$ac_ext | ||
4538 | cat >>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 | |||
4545 | int | ||
4546 | main () | ||
4547 | { | ||
4548 | |||
4549 | ; | ||
4550 | return 0; | ||
4551 | } | ||
4552 | _ACEOF | ||
4553 | rm -f conftest.$ac_objext | ||
4554 | if { (ac_try="$ac_compile" | ||
4555 | case "(($ac_try" in | ||
4556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4557 | *) ac_try_echo=$ac_try;; | ||
4558 | esac | ||
4559 | eval 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 | ||
4572 | else | ||
4573 | $as_echo "$as_me: failed program was:" >&5 | ||
4574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4575 | |||
4576 | ac_cv_header_stdc=no | ||
4577 | fi | ||
4578 | |||
4579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4580 | |||
4581 | if 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 | ||
4586 | cat confdefs.h >>conftest.$ac_ext | ||
4587 | cat >>conftest.$ac_ext <<_ACEOF | ||
4588 | /* end confdefs.h. */ | ||
4589 | #include <string.h> | ||
4590 | |||
4591 | _ACEOF | ||
4592 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4593 | $EGREP "memchr" >/dev/null 2>&1; then | ||
4594 | : | ||
4595 | else | ||
4596 | ac_cv_header_stdc=no | ||
4597 | fi | ||
4598 | rm -f conftest* | ||
4599 | |||
4600 | fi | ||
4601 | |||
4602 | if 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 | ||
4607 | cat confdefs.h >>conftest.$ac_ext | ||
4608 | cat >>conftest.$ac_ext <<_ACEOF | ||
4609 | /* end confdefs.h. */ | ||
4610 | #include <stdlib.h> | ||
4611 | |||
4612 | _ACEOF | ||
4613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4614 | $EGREP "free" >/dev/null 2>&1; then | ||
4615 | : | ||
4616 | else | ||
4617 | ac_cv_header_stdc=no | ||
4618 | fi | ||
4619 | rm -f conftest* | ||
4620 | |||
4621 | fi | ||
4622 | |||
4623 | if 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 | : | ||
4627 | else | ||
4628 | cat >conftest.$ac_ext <<_ACEOF | ||
4629 | /* confdefs.h. */ | ||
4630 | _ACEOF | ||
4631 | cat confdefs.h >>conftest.$ac_ext | ||
4632 | cat >>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))) | ||
4648 | int | ||
4649 | main () | ||
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 | ||
4659 | rm -f conftest$ac_exeext | ||
4660 | if { (ac_try="$ac_link" | ||
4661 | case "(($ac_try" in | ||
4662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4663 | *) ac_try_echo=$ac_try;; | ||
4664 | esac | ||
4665 | eval 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;; | ||
4674 | esac | ||
4675 | eval 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 | : | ||
4682 | else | ||
4683 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
4684 | $as_echo "$as_me: failed program was:" >&5 | ||
4685 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4686 | |||
4687 | ( exit $ac_status ) | ||
4688 | ac_cv_header_stdc=no | ||
4689 | fi | ||
4690 | rm -rf conftest.dSYM | ||
4691 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4692 | fi | ||
4693 | |||
4694 | |||
4695 | fi | ||
4696 | fi | ||
4697 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
4698 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
4699 | if test $ac_cv_header_stdc = yes; then | ||
4700 | |||
4701 | cat >>confdefs.h <<\_ACEOF | ||
4702 | @%:@define STDC_HEADERS 1 | ||
4703 | _ACEOF | ||
4704 | |||
4705 | fi | ||
4706 | |||
4707 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
4708 | |||
4709 | |||
4710 | |||
4711 | |||
4712 | |||
4713 | |||
4714 | |||
4715 | |||
4716 | |||
4717 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
4718 | inttypes.h stdint.h unistd.h | ||
4719 | do | ||
4720 | as_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; } | ||
4723 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
4724 | $as_echo_n "(cached) " >&6 | ||
4725 | else | ||
4726 | cat >conftest.$ac_ext <<_ACEOF | ||
4727 | /* confdefs.h. */ | ||
4728 | _ACEOF | ||
4729 | cat confdefs.h >>conftest.$ac_ext | ||
4730 | cat >>conftest.$ac_ext <<_ACEOF | ||
4731 | /* end confdefs.h. */ | ||
4732 | $ac_includes_default | ||
4733 | |||
4734 | @%:@include <$ac_header> | ||
4735 | _ACEOF | ||
4736 | rm -f conftest.$ac_objext | ||
4737 | if { (ac_try="$ac_compile" | ||
4738 | case "(($ac_try" in | ||
4739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4740 | *) ac_try_echo=$ac_try;; | ||
4741 | esac | ||
4742 | eval 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" | ||
4755 | else | ||
4756 | $as_echo "$as_me: failed program was:" >&5 | ||
4757 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4758 | |||
4759 | eval "$as_ac_Header=no" | ||
4760 | fi | ||
4761 | |||
4762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4763 | fi | ||
4764 | ac_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; } | ||
4768 | as_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 | |||
4775 | fi | ||
4776 | |||
4777 | done | ||
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; } | ||
4782 | if test "${ac_cv_header_stdbool_h+set}" = set; then | ||
4783 | $as_echo_n "(cached) " >&6 | ||
4784 | else | ||
4785 | cat >conftest.$ac_ext <<_ACEOF | ||
4786 | /* confdefs.h. */ | ||
4787 | _ACEOF | ||
4788 | cat confdefs.h >>conftest.$ac_ext | ||
4789 | cat >>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 | |||
4855 | int | ||
4856 | main () | ||
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 | ||
4869 | rm -f conftest.$ac_objext | ||
4870 | if { (ac_try="$ac_compile" | ||
4871 | case "(($ac_try" in | ||
4872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4873 | *) ac_try_echo=$ac_try;; | ||
4874 | esac | ||
4875 | eval 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 | ||
4888 | else | ||
4889 | $as_echo "$as_me: failed program was:" >&5 | ||
4890 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4891 | |||
4892 | ac_cv_header_stdbool_h=no | ||
4893 | fi | ||
4894 | |||
4895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4896 | fi | ||
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; } | ||
4901 | if test "${ac_cv_type__Bool+set}" = set; then | ||
4902 | $as_echo_n "(cached) " >&6 | ||
4903 | else | ||
4904 | ac_cv_type__Bool=no | ||
4905 | cat >conftest.$ac_ext <<_ACEOF | ||
4906 | /* confdefs.h. */ | ||
4907 | _ACEOF | ||
4908 | cat confdefs.h >>conftest.$ac_ext | ||
4909 | cat >>conftest.$ac_ext <<_ACEOF | ||
4910 | /* end confdefs.h. */ | ||
4911 | $ac_includes_default | ||
4912 | int | ||
4913 | main () | ||
4914 | { | ||
4915 | if (sizeof (_Bool)) | ||
4916 | return 0; | ||
4917 | ; | ||
4918 | return 0; | ||
4919 | } | ||
4920 | _ACEOF | ||
4921 | rm -f conftest.$ac_objext | ||
4922 | if { (ac_try="$ac_compile" | ||
4923 | case "(($ac_try" in | ||
4924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4925 | *) ac_try_echo=$ac_try;; | ||
4926 | esac | ||
4927 | eval 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 | ||
4942 | cat confdefs.h >>conftest.$ac_ext | ||
4943 | cat >>conftest.$ac_ext <<_ACEOF | ||
4944 | /* end confdefs.h. */ | ||
4945 | $ac_includes_default | ||
4946 | int | ||
4947 | main () | ||
4948 | { | ||
4949 | if (sizeof ((_Bool))) | ||
4950 | return 0; | ||
4951 | ; | ||
4952 | return 0; | ||
4953 | } | ||
4954 | _ACEOF | ||
4955 | rm -f conftest.$ac_objext | ||
4956 | if { (ac_try="$ac_compile" | ||
4957 | case "(($ac_try" in | ||
4958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4959 | *) ac_try_echo=$ac_try;; | ||
4960 | esac | ||
4961 | eval 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 | : | ||
4974 | else | ||
4975 | $as_echo "$as_me: failed program was:" >&5 | ||
4976 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4977 | |||
4978 | ac_cv_type__Bool=yes | ||
4979 | fi | ||
4980 | |||
4981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4982 | else | ||
4983 | $as_echo "$as_me: failed program was:" >&5 | ||
4984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4985 | |||
4986 | |||
4987 | fi | ||
4988 | |||
4989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4990 | fi | ||
4991 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | ||
4992 | $as_echo "$ac_cv_type__Bool" >&6; } | ||
4993 | if test "x$ac_cv_type__Bool" = x""yes; then | ||
4994 | |||
4995 | cat >>confdefs.h <<_ACEOF | ||
4996 | @%:@define HAVE__BOOL 1 | ||
4997 | _ACEOF | ||
4998 | |||
4999 | |||
5000 | fi | ||
5001 | |||
5002 | if test $ac_cv_header_stdbool_h = yes; then | ||
5003 | |||
5004 | cat >>confdefs.h <<\_ACEOF | ||
5005 | @%:@define HAVE_STDBOOL_H 1 | ||
5006 | _ACEOF | ||
5007 | |||
5008 | fi | ||
5009 | |||
5010 | |||
5011 | # Checks for library functions. | ||
5012 | |||
5013 | for ac_func in atexit | ||
5014 | do | ||
5015 | as_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; } | ||
5018 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5019 | $as_echo_n "(cached) " >&6 | ||
5020 | else | ||
5021 | cat >conftest.$ac_ext <<_ACEOF | ||
5022 | /* confdefs.h. */ | ||
5023 | _ACEOF | ||
5024 | cat confdefs.h >>conftest.$ac_ext | ||
5025 | cat >>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 | ||
5048 | extern "C" | ||
5049 | #endif | ||
5050 | char $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 | ||
5055 | choke me | ||
5056 | #endif | ||
5057 | |||
5058 | int | ||
5059 | main () | ||
5060 | { | ||
5061 | return $ac_func (); | ||
5062 | ; | ||
5063 | return 0; | ||
5064 | } | ||
5065 | _ACEOF | ||
5066 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5067 | if { (ac_try="$ac_link" | ||
5068 | case "(($ac_try" in | ||
5069 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5070 | *) ac_try_echo=$ac_try;; | ||
5071 | esac | ||
5072 | eval 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" | ||
5088 | else | ||
5089 | $as_echo "$as_me: failed program was:" >&5 | ||
5090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5091 | |||
5092 | eval "$as_ac_var=no" | ||
5093 | fi | ||
5094 | |||
5095 | rm -rf conftest.dSYM | ||
5096 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5097 | conftest$ac_exeext conftest.$ac_ext | ||
5098 | fi | ||
5099 | ac_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; } | ||
5103 | as_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 | |||
5110 | fi | ||
5111 | done | ||
5112 | |||
5113 | |||
5114 | ac_config_files="$ac_config_files Makefile src/Makefile" | ||
5115 | |||
5116 | cat >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 | ||
5178 | if 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 | ||
5188 | fi | ||
5189 | rm -f confcache | ||
5190 | |||
5191 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
5192 | # Let make expand exec_prefix. | ||
5193 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
5194 | |||
5195 | DEFS=-DHAVE_CONFIG_H | ||
5196 | |||
5197 | ac_libobjs= | ||
5198 | ac_ltlibobjs= | ||
5199 | for 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' | ||
5207 | done | ||
5208 | LIB@&t@OBJS=$ac_libobjs | ||
5209 | |||
5210 | LTLIBOBJS=$ac_ltlibobjs | ||
5211 | |||
5212 | |||
5213 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | ||
5214 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | ||
5215 | Usually this means the macro was only invoked conditionally." >&5 | ||
5216 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | ||
5217 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5218 | { (exit 1); exit 1; }; } | ||
5219 | fi | ||
5220 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | ||
5221 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | ||
5222 | Usually this means the macro was only invoked conditionally." >&5 | ||
5223 | $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | ||
5224 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5225 | { (exit 1); exit 1; }; } | ||
5226 | fi | ||
5227 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | ||
5228 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | ||
5229 | Usually this means the macro was only invoked conditionally." >&5 | ||
5230 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | ||
5231 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5232 | { (exit 1); exit 1; }; } | ||
5233 | fi | ||
5234 | |||
5235 | : ${CONFIG_STATUS=./config.status} | ||
5236 | ac_write_fail=0 | ||
5237 | ac_clean_files_save=$ac_clean_files | ||
5238 | ac_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;} | ||
5241 | cat >$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 | |||
5248 | debug=false | ||
5249 | ac_cs_recheck=false | ||
5250 | ac_cs_silent=false | ||
5251 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
5252 | _ACEOF | ||
5253 | |||
5254 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5255 | ## --------------------- ## | ||
5256 | ## M4sh Initialization. ## | ||
5257 | ## --------------------- ## | ||
5258 | |||
5259 | # Be more Bourne compatible | ||
5260 | DUALCASE=1; export DUALCASE # for MKS sh | ||
5261 | if 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 | ||
5268 | else | ||
5269 | case `(set -o) 2>/dev/null` in | ||
5270 | *posix*) set -o posix ;; | ||
5271 | esac | ||
5272 | |||
5273 | fi | ||
5274 | |||
5275 | |||
5276 | |||
5277 | |||
5278 | # PATH needs CR | ||
5279 | # Avoid depending upon Character Ranges. | ||
5280 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
5281 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
5282 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
5283 | as_cr_digits='0123456789' | ||
5284 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
5285 | |||
5286 | as_nl=' | ||
5287 | ' | ||
5288 | export as_nl | ||
5289 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
5290 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
5291 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5292 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5293 | if (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' | ||
5296 | else | ||
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' | ||
5316 | fi | ||
5317 | |||
5318 | # The user is always right. | ||
5319 | if 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 | } | ||
5325 | fi | ||
5326 | |||
5327 | # Support unset when possible. | ||
5328 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
5329 | as_unset=unset | ||
5330 | else | ||
5331 | as_unset=false | ||
5332 | fi | ||
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.) | ||
5340 | IFS=" "" $as_nl" | ||
5341 | |||
5342 | # Find who we are. Look in the path if we contain no directory separator. | ||
5343 | case $0 in | ||
5344 | *[\\/]* ) as_myself=$0 ;; | ||
5345 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5346 | for as_dir in $PATH | ||
5347 | do | ||
5348 | IFS=$as_save_IFS | ||
5349 | test -z "$as_dir" && as_dir=. | ||
5350 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
5351 | done | ||
5352 | IFS=$as_save_IFS | ||
5353 | |||
5354 | ;; | ||
5355 | esac | ||
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. | ||
5358 | if test "x$as_myself" = x; then | ||
5359 | as_myself=$0 | ||
5360 | fi | ||
5361 | if 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; } | ||
5364 | fi | ||
5365 | |||
5366 | # Work around bugs in pre-3.0 UWIN ksh. | ||
5367 | for as_var in ENV MAIL MAILPATH | ||
5368 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
5369 | done | ||
5370 | PS1='$ ' | ||
5371 | PS2='> ' | ||
5372 | PS4='+ ' | ||
5373 | |||
5374 | # NLS nuisances. | ||
5375 | LC_ALL=C | ||
5376 | export LC_ALL | ||
5377 | LANGUAGE=C | ||
5378 | export LANGUAGE | ||
5379 | |||
5380 | # Required to use basename. | ||
5381 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5382 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5383 | as_expr=expr | ||
5384 | else | ||
5385 | as_expr=false | ||
5386 | fi | ||
5387 | |||
5388 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
5389 | as_basename=basename | ||
5390 | else | ||
5391 | as_basename=false | ||
5392 | fi | ||
5393 | |||
5394 | |||
5395 | # Name of the executable. | ||
5396 | as_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 | |||
5463 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
5464 | as_dirname=dirname | ||
5465 | else | ||
5466 | as_dirname=false | ||
5467 | fi | ||
5468 | |||
5469 | ECHO_C= ECHO_N= ECHO_T= | ||
5470 | case `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';; | ||
5478 | esac | ||
5479 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5480 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5481 | as_expr=expr | ||
5482 | else | ||
5483 | as_expr=false | ||
5484 | fi | ||
5485 | |||
5486 | rm -f conf$$ conf$$.exe conf$$.file | ||
5487 | if test -d conf$$.dir; then | ||
5488 | rm -f conf$$.dir/conf$$.file | ||
5489 | else | ||
5490 | rm -f conf$$.dir | ||
5491 | mkdir conf$$.dir 2>/dev/null | ||
5492 | fi | ||
5493 | if (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 | ||
5507 | else | ||
5508 | as_ln_s='cp -p' | ||
5509 | fi | ||
5510 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
5511 | rmdir conf$$.dir 2>/dev/null | ||
5512 | |||
5513 | if mkdir -p . 2>/dev/null; then | ||
5514 | as_mkdir_p=: | ||
5515 | else | ||
5516 | test -d ./-p && rmdir ./-p | ||
5517 | as_mkdir_p=false | ||
5518 | fi | ||
5519 | |||
5520 | if test -x / >/dev/null 2>&1; then | ||
5521 | as_test_x='test -x' | ||
5522 | else | ||
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 | ' | ||
5540 | fi | ||
5541 | as_executable_p=$as_test_x | ||
5542 | |||
5543 | # Sed expression to map a string onto a valid CPP name. | ||
5544 | as_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. | ||
5547 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
5548 | |||
5549 | |||
5550 | exec 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. | ||
5555 | ac_log=" | ||
5556 | This file was extended by Maze Of Life $as_me 2.0, which was | ||
5557 | generated 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 | |||
5565 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
5566 | " | ||
5567 | |||
5568 | _ACEOF | ||
5569 | |||
5570 | case $ac_config_files in *" | ||
5571 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
5572 | esac | ||
5573 | |||
5574 | case $ac_config_headers in *" | ||
5575 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
5576 | esac | ||
5577 | |||
5578 | |||
5579 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5580 | # Files that config.status was made for. | ||
5581 | config_files="$ac_config_files" | ||
5582 | config_headers="$ac_config_headers" | ||
5583 | config_commands="$ac_config_commands" | ||
5584 | |||
5585 | _ACEOF | ||
5586 | |||
5587 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5588 | ac_cs_usage="\ | ||
5589 | \`$as_me' instantiates files from templates according to the | ||
5590 | current configuration. | ||
5591 | |||
5592 | Usage: $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 | |||
5605 | Configuration files: | ||
5606 | $config_files | ||
5607 | |||
5608 | Configuration headers: | ||
5609 | $config_headers | ||
5610 | |||
5611 | Configuration commands: | ||
5612 | $config_commands | ||
5613 | |||
5614 | Report bugs to <bug-autoconf@gnu.org>." | ||
5615 | |||
5616 | _ACEOF | ||
5617 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5618 | ac_cs_version="\\ | ||
5619 | Maze Of Life config.status 2.0 | ||
5620 | configured by $0, generated by GNU Autoconf 2.63, | ||
5621 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
5622 | |||
5623 | Copyright (C) 2008 Free Software Foundation, Inc. | ||
5624 | This config.status script is free software; the Free Software Foundation | ||
5625 | gives unlimited permission to copy, distribute and modify it." | ||
5626 | |||
5627 | ac_pwd='$ac_pwd' | ||
5628 | srcdir='$srcdir' | ||
5629 | INSTALL='$INSTALL' | ||
5630 | MKDIR_P='$MKDIR_P' | ||
5631 | AWK='$AWK' | ||
5632 | test -n "\$AWK" || AWK=awk | ||
5633 | _ACEOF | ||
5634 | |||
5635 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5636 | # The default lists apply if the user does not specify any file. | ||
5637 | ac_need_defaults=: | ||
5638 | while test $# != 0 | ||
5639 | do | ||
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 | ||
5678 | Try \`$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 | ||
5688 | Try \`$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 | ||
5696 | done | ||
5697 | |||
5698 | ac_configure_extra_args= | ||
5699 | |||
5700 | if $ac_cs_silent; then | ||
5701 | exec 6>/dev/null | ||
5702 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
5703 | fi | ||
5704 | |||
5705 | _ACEOF | ||
5706 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5707 | if \$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 "\$@" | ||
5714 | fi | ||
5715 | |||
5716 | _ACEOF | ||
5717 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5718 | exec 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 | ||
5728 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5729 | # | ||
5730 | # INIT-COMMANDS | ||
5731 | # | ||
5732 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | ||
5733 | |||
5734 | _ACEOF | ||
5735 | |||
5736 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5737 | |||
5738 | # Handling of arguments. | ||
5739 | for ac_config_target in $ac_config_targets | ||
5740 | do | ||
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 | ||
5751 | done | ||
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. | ||
5758 | if $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 | ||
5762 | fi | ||
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'. | ||
5796 | if test -n "$CONFIG_FILES"; then | ||
5797 | |||
5798 | |||
5799 | ac_cr=' ' | ||
5800 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
5801 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
5802 | ac_cs_awk_cr='\\r' | ||
5803 | else | ||
5804 | ac_cs_awk_cr=$ac_cr | ||
5805 | fi | ||
5806 | |||
5807 | echo '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; }; } | ||
5819 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | ||
5820 | ac_delim='%!_!# ' | ||
5821 | for 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 | ||
5837 | done | ||
5838 | rm -f conf$$subs.sh | ||
5839 | |||
5840 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5841 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | ||
5842 | _ACEOF | ||
5843 | sed -n ' | ||
5844 | h | ||
5845 | s/^/S["/; s/!.*/"]=/ | ||
5846 | p | ||
5847 | g | ||
5848 | s/^[^!]*!// | ||
5849 | :repl | ||
5850 | t repl | ||
5851 | s/'"$ac_delim"'$// | ||
5852 | t delim | ||
5853 | :nl | ||
5854 | h | ||
5855 | s/\(.\{148\}\).*/\1/ | ||
5856 | t more1 | ||
5857 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
5858 | p | ||
5859 | n | ||
5860 | b repl | ||
5861 | :more1 | ||
5862 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5863 | p | ||
5864 | g | ||
5865 | s/.\{148\}// | ||
5866 | t nl | ||
5867 | :delim | ||
5868 | h | ||
5869 | s/\(.\{148\}\).*/\1/ | ||
5870 | t more2 | ||
5871 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
5872 | p | ||
5873 | b | ||
5874 | :more2 | ||
5875 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5876 | p | ||
5877 | g | ||
5878 | s/.\{148\}// | ||
5879 | t delim | ||
5880 | ' <conf$$subs.awk | sed ' | ||
5881 | /^[^""]/{ | ||
5882 | N | ||
5883 | s/\n// | ||
5884 | } | ||
5885 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
5886 | rm -f conf$$subs.awk | ||
5887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5888 | _ACAWK | ||
5889 | cat >>"\$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 | ||
5916 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5917 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
5918 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
5919 | else | ||
5920 | cat | ||
5921 | fi < "$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). | ||
5931 | if test "x$srcdir" = x.; then | ||
5932 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
5933 | s/:*\$(srcdir):*/:/ | ||
5934 | s/:*\${srcdir}:*/:/ | ||
5935 | s/:*@srcdir@:*/:/ | ||
5936 | s/^\([^=]*=[ ]*\):*/\1/ | ||
5937 | s/:*$// | ||
5938 | s/^[^=]*=[ ]*$// | ||
5939 | }' | ||
5940 | fi | ||
5941 | |||
5942 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5943 | fi # 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'. | ||
5948 | if test -n "$CONFIG_HEADERS"; then | ||
5949 | cat >"$tmp/defines.awk" <<\_ACAWK || | ||
5950 | BEGIN { | ||
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. | ||
5959 | ac_delim='%!_!# ' | ||
5960 | for 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 | ||
5971 | done | ||
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 | |||
5977 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
5978 | sed -n ' | ||
5979 | s/.\{148\}/&'"$ac_delim"'/g | ||
5980 | t rset | ||
5981 | :rset | ||
5982 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
5983 | t def | ||
5984 | d | ||
5985 | :def | ||
5986 | s/\\$// | ||
5987 | t bsnl | ||
5988 | s/["\\]/\\&/g | ||
5989 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5990 | D["\1"]=" \3"/p | ||
5991 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
5992 | d | ||
5993 | :bsnl | ||
5994 | s/["\\]/\\&/g | ||
5995 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5996 | D["\1"]=" \3\\\\\\n"\\/p | ||
5997 | t cont | ||
5998 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
5999 | t cont | ||
6000 | d | ||
6001 | :cont | ||
6002 | n | ||
6003 | s/.\{148\}/&'"$ac_delim"'/g | ||
6004 | t clear | ||
6005 | :clear | ||
6006 | s/\\$// | ||
6007 | t bsnlc | ||
6008 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
6009 | d | ||
6010 | :bsnlc | ||
6011 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
6012 | b cont | ||
6013 | ' <confdefs.h | sed ' | ||
6014 | s/'"$ac_delim"'/"\\\ | ||
6015 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
6016 | |||
6017 | cat >>$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 | ||
6051 | cat >>$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; }; } | ||
6055 | fi # test -n "$CONFIG_HEADERS" | ||
6056 | |||
6057 | |||
6058 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | ||
6059 | shift | ||
6060 | for ac_tag | ||
6061 | do | ||
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 | |||
6199 | case "$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 ;; | ||
6209 | esac | ||
6210 | ac_abs_top_builddir=$ac_pwd | ||
6211 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
6212 | # for backward compatibility: | ||
6213 | ac_top_builddir=$ac_top_build_prefix | ||
6214 | |||
6215 | case $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 ;; | ||
6228 | esac | ||
6229 | ac_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 | |||
6249 | cat >>$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. | ||
6252 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
6253 | |||
6254 | ac_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 | ' | ||
6265 | case `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 | ||
6271 | cat >>$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' ;; | ||
6279 | esac | ||
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? | ||
6285 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
6286 | ac_sed_extra="$ac_vpsub | ||
6287 | $extrasub | ||
6288 | _ACEOF | ||
6289 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
6290 | :t | ||
6291 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
6292 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
6293 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
6294 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
6295 | s&@srcdir@&$ac_srcdir&;t t | ||
6296 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
6297 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
6298 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
6299 | s&@builddir@&$ac_builddir&;t t | ||
6300 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
6301 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
6302 | s&@INSTALL@&$ac_INSTALL&;t t | ||
6303 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | ||
6304 | $ac_datarootdir_hack | ||
6305 | " | ||
6306 | eval 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 | |||
6311 | test -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' | ||
6315 | which 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' | ||
6317 | which 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 | ||
6360 | for _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 | ||
6367 | done | ||
6368 | echo "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 | ||
6537 | done # for ac_tag | ||
6538 | |||
6539 | |||
6540 | { (exit 0); exit 0; } | ||
6541 | _ACEOF | ||
6542 | chmod +x $CONFIG_STATUS | ||
6543 | ac_clean_files=$ac_clean_files_save | ||
6544 | |||
6545 | test $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. | ||
6559 | if 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; } | ||
6570 | fi | ||
6571 | if 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;} | ||
6574 | fi | ||
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 @@ | |||
1 | m4trace:/usr/share/aclocal/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
2 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
3 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl | ||
4 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
5 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
6 | fi | ||
7 | if 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 | |||
17 | fi[]dnl | ||
18 | ]) | ||
19 | m4trace:/usr/share/aclocal/pkg.m4:56: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
20 | if test -n "$PKG_CONFIG" && \ | ||
21 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
22 | m4_ifval([$2], [$2], [:]) | ||
23 | m4_ifvaln([$3], [else | ||
24 | $3])dnl | ||
25 | fi]) | ||
26 | m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
27 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
28 | _pkg_short_errors_supported=yes | ||
29 | else | ||
30 | _pkg_short_errors_supported=no | ||
31 | fi[]dnl | ||
32 | ]) | ||
33 | m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
34 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
35 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
36 | |||
37 | pkg_failed=no | ||
38 | AC_MSG_CHECKING([for $1]) | ||
39 | |||
40 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
41 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
42 | |||
43 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
44 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
45 | See the pkg-config man page for more details.]) | ||
46 | |||
47 | if 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 | |||
62 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
63 | installed software in a non-standard prefix. | ||
64 | |||
65 | _PKG_TEXT | ||
66 | ])], | ||
67 | [AC_MSG_RESULT([no]) | ||
68 | $4]) | ||
69 | elif 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 | ||
72 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
73 | path to pkg-config. | ||
74 | |||
75 | _PKG_TEXT | ||
76 | |||
77 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], | ||
78 | [$4]) | ||
79 | else | ||
80 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
81 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
82 | AC_MSG_RESULT([yes]) | ||
83 | ifelse([$3], , :, [$3]) | ||
84 | fi[]dnl | ||
85 | ]) | ||
86 | m4trace:/usr/share/aclocal-1.10/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' | ||
87 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
88 | dnl require some minimum version. Point them to the right macro. | ||
89 | m4_if([$1], [1.10.2], [], | ||
90 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | ||
91 | ]) | ||
92 | m4trace:/usr/share/aclocal-1.10/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.2])dnl | ||
93 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
94 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
95 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | ||
96 | m4trace:/usr/share/aclocal-1.10/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. | ||
97 | AC_PREREQ([2.50])dnl | ||
98 | # expand $ac_aux_dir to an absolute path | ||
99 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
100 | ]) | ||
101 | m4trace:/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 | ||
104 | AC_SUBST([$1_TRUE])dnl | ||
105 | AC_SUBST([$1_FALSE])dnl | ||
106 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
107 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
108 | if $2; then | ||
109 | $1_TRUE= | ||
110 | $1_FALSE='#' | ||
111 | else | ||
112 | $1_TRUE='#' | ||
113 | $1_FALSE= | ||
114 | fi | ||
115 | AC_CONFIG_COMMANDS_PRE( | ||
116 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
117 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
118 | Usually this means the macro was only invoked conditionally.]]) | ||
119 | fi])]) | ||
120 | m4trace:/usr/share/aclocal-1.10/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
121 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
122 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
123 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
124 | |||
125 | ifelse([$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 | |||
132 | AC_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 | ||
215 | else | ||
216 | am_cv_$1_dependencies_compiler_type=none | ||
217 | fi | ||
218 | ]) | ||
219 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
220 | AM_CONDITIONAL([am__fastdep$1], [ | ||
221 | test "x$enable_dependency_tracking" != xno \ | ||
222 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | ||
223 | ]) | ||
224 | m4trace:/usr/share/aclocal-1.10/depend.m4:139: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
225 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
226 | ]) | ||
227 | m4trace:/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]) | ||
230 | if test "x$enable_dependency_tracking" != xno; then | ||
231 | am_depcomp="$ac_aux_dir/depcomp" | ||
232 | AMDEPBACKSLASH='\' | ||
233 | fi | ||
234 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
235 | AC_SUBST([AMDEPBACKSLASH])dnl | ||
236 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | ||
237 | ]) | ||
238 | m4trace:/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 | ]) | ||
289 | m4trace:/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 | ]) | ||
293 | m4trace:/usr/share/aclocal-1.10/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl | ||
294 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
295 | dnl the ones we care about. | ||
296 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
297 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
298 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
299 | if 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 | ||
307 | fi | ||
308 | |||
309 | # test whether we have cygpath | ||
310 | if 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 | ||
316 | fi | ||
317 | AC_SUBST([CYGPATH_W]) | ||
318 | |||
319 | # Define the identity of the package. | ||
320 | dnl Distinguish between old-style and new-style calls. | ||
321 | m4_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 | ||
326 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
327 | m4_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. | ||
337 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
338 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
339 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | ||
340 | AM_MISSING_PROG(AUTOCONF, autoconf) | ||
341 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | ||
342 | AM_MISSING_PROG(AUTOHEADER, autoheader) | ||
343 | AM_MISSING_PROG(MAKEINFO, makeinfo) | ||
344 | AM_PROG_INSTALL_SH | ||
345 | AM_PROG_INSTALL_STRIP | ||
346 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | ||
347 | # We need awk for the "check" target. The system "awk" is bad on | ||
348 | # some platforms. | ||
349 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
350 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
351 | AC_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 | ||
360 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
361 | [_AM_DEPENDENCIES(CXX)], | ||
362 | [define([AC_PROG_CXX], | ||
363 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | ||
364 | AC_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 | ]) | ||
370 | m4trace:/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 | ||
373 | for _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 | ||
380 | done | ||
381 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | ||
382 | m4trace:/usr/share/aclocal-1.10/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
383 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | ||
384 | AC_SUBST(install_sh)]) | ||
385 | m4trace:/usr/share/aclocal-1.10/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null | ||
386 | mkdir .tst 2>/dev/null | ||
387 | if test -d .tst; then | ||
388 | am__leading_dot=. | ||
389 | else | ||
390 | am__leading_dot=_ | ||
391 | fi | ||
392 | rmdir .tst 2>/dev/null | ||
393 | AC_SUBST([am__leading_dot])]) | ||
394 | m4trace:/usr/share/aclocal-1.10/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} | ||
395 | cat > confinc << 'END' | ||
396 | am__doit: | ||
397 | @echo done | ||
398 | .PHONY: am__doit | ||
399 | END | ||
400 | # If we don't find an include directive, just comment out the code. | ||
401 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
402 | am__include="#" | ||
403 | am__quote= | ||
404 | _am_result=none | ||
405 | # First try GNU make style include. | ||
406 | echo "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'. | ||
412 | if 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 | ||
416 | fi | ||
417 | # Now try BSD make style include. | ||
418 | if 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 | ||
425 | fi | ||
426 | AC_SUBST([am__include]) | ||
427 | AC_SUBST([am__quote]) | ||
428 | AC_MSG_RESULT([$_am_result]) | ||
429 | rm -f confinc confmf | ||
430 | ]) | ||
431 | m4trace:/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"} | ||
433 | AC_SUBST($1)]) | ||
434 | m4trace:/usr/share/aclocal-1.10/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
435 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
436 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
437 | # Use eval to expand $SHELL | ||
438 | if eval "$MISSING --run true"; then | ||
439 | am_missing_run="$MISSING --run " | ||
440 | else | ||
441 | am_missing_run= | ||
442 | AC_MSG_WARN([`missing' script is too old or missing]) | ||
443 | fi | ||
444 | ]) | ||
445 | m4trace:/usr/share/aclocal-1.10/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl | ||
446 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
447 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | ||
448 | dnl while keeping a definition of mkdir_p for backward compatibility. | ||
449 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | ||
450 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | ||
451 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | ||
452 | dnl adjustment using top_builddir (which is defined more often than | ||
453 | dnl MKDIR_P). | ||
454 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | ||
455 | case $mkdir_p in | ||
456 | [[\\/$]]* | ?:[[\\/]]*) ;; | ||
457 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
458 | esac | ||
459 | ]) | ||
460 | m4trace:/usr/share/aclocal-1.10/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | ||
461 | m4trace:/usr/share/aclocal-1.10/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | ||
462 | m4trace:/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)])]) | ||
463 | m4trace:/usr/share/aclocal-1.10/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | ||
464 | m4trace:/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); }]) | ||
469 | m4trace:/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 | ||
471 | sleep 1 | ||
472 | echo 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). | ||
478 | if ( | ||
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 | ||
493 | alias in your environment]) | ||
494 | fi | ||
495 | |||
496 | test "$[2]" = conftest.file | ||
497 | ) | ||
498 | then | ||
499 | # Ok. | ||
500 | : | ||
501 | else | ||
502 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
503 | Check your system clock]) | ||
504 | fi | ||
505 | AC_MSG_RESULT(yes)]) | ||
506 | m4trace:/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. | ||
511 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | ||
512 | if test "$cross_compiling" != no; then | ||
513 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
514 | fi | ||
515 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
516 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | ||
517 | m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) | ||
518 | m4trace:/usr/share/aclocal-1.10/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. | ||
519 | AM_MISSING_PROG([AMTAR], [tar]) | ||
520 | m4_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])]) | ||
524 | AC_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 `-'. | ||
530 | for _am_tool in $_am_tools | ||
531 | do | ||
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 | ||
581 | done | ||
582 | rm -rf conftest.dir | ||
583 | |||
584 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
585 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
586 | AC_SUBST([am__tar]) | ||
587 | AC_SUBST([am__untar]) | ||
588 | ]) | ||
589 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) | ||
590 | m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) | ||
591 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | ||
592 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) | ||
593 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) | ||
594 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) | ||
595 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) | ||
596 | m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) | ||
597 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) | ||
598 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | ||
599 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | ||
600 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | ||
601 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | ||
602 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | ||
603 | m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) | ||
604 | m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) | ||
605 | m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) | ||
606 | m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) | ||
607 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) | ||
608 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) | ||
609 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) | ||
610 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) | ||
611 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) | ||
612 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) | ||
613 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) | ||
614 | m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) | ||
615 | m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) | ||
616 | m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) | ||
617 | m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) | ||
618 | m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) | ||
619 | m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) | ||
620 | m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) | ||
621 | m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) | ||
622 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) | ||
623 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) | ||
624 | m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) | ||
625 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | ||
626 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | ||
627 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | ||
628 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | ||
629 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | ||
630 | m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) | ||
631 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) | ||
632 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) | ||
633 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) | ||
634 | m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) | ||
635 | m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) | ||
636 | m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) | ||
637 | m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) | ||
638 | m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE | ||
639 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) | ||
640 | m4trace:configure.ac:6: -1- AM_SET_CURRENT_AUTOMAKE_VERSION | ||
641 | m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.10.2]) | ||
642 | m4trace:configure.ac:6: -1- _AM_AUTOCONF_VERSION([2.63]) | ||
643 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | ||
644 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | ||
645 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$]) | ||
646 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$]) | ||
647 | m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc]) | ||
648 | m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$]) | ||
649 | m4trace:configure.ac:6: -1- _AM_SET_OPTIONS([]) | ||
650 | m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) | ||
651 | m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) | ||
652 | m4trace: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])]) | ||
654 | m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([no-define]) | ||
655 | m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) | ||
656 | m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) | ||
657 | m4trace:configure.ac:6: -1- AM_SANITY_CHECK | ||
658 | m4trace:configure.ac:6: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | ||
659 | m4trace:configure.ac:6: -1- AM_MISSING_HAS_RUN | ||
660 | m4trace:configure.ac:6: -1- AM_AUX_DIR_EXPAND | ||
661 | m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$]) | ||
662 | m4trace:configure.ac:6: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) | ||
663 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$]) | ||
664 | m4trace:configure.ac:6: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | ||
665 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$]) | ||
666 | m4trace:configure.ac:6: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) | ||
667 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$]) | ||
668 | m4trace:configure.ac:6: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) | ||
669 | m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$]) | ||
670 | m4trace:configure.ac:6: -1- AM_PROG_INSTALL_SH | ||
671 | m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$]) | ||
672 | m4trace:configure.ac:6: -1- AM_PROG_INSTALL_STRIP | ||
673 | m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$]) | ||
674 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) | ||
675 | m4trace:configure.ac:6: -1- AM_PROG_MKDIR_P | ||
676 | m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$]) | ||
677 | m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$]) | ||
678 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$]) | ||
679 | m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$]) | ||
680 | m4trace:configure.ac:6: -1- AM_SET_LEADING_DOT | ||
681 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$]) | ||
682 | m4trace: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])])]) | ||
684 | m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([tar-ustar]) | ||
685 | m4trace:configure.ac:6: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) | ||
686 | m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([tar-pax]) | ||
687 | m4trace:configure.ac:6: -1- _AM_PROG_TAR([v7]) | ||
688 | m4trace:configure.ac:6: -1- AM_MISSING_PROG([AMTAR], [tar]) | ||
689 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$]) | ||
690 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$]) | ||
691 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$]) | ||
692 | m4trace: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 | ||
696 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
697 | [_AM_DEPENDENCIES(CXX)], | ||
698 | [define([AC_PROG_CXX], | ||
699 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | ||
700 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | ||
701 | [_AM_DEPENDENCIES(OBJC)], | ||
702 | [define([AC_PROG_OBJC], | ||
703 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | ||
704 | ]) | ||
705 | m4trace:configure.ac:6: -2- _AM_MANGLE_OPTION([no-dependencies]) | ||
706 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$]) | ||
707 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXFLAGS$]) | ||
708 | m4trace:configure.ac:11: -1- m4_pattern_allow([^LDFLAGS$]) | ||
709 | m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBS$]) | ||
710 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$]) | ||
711 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$]) | ||
712 | m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_CXX$]) | ||
713 | m4trace:configure.ac:11: -1- m4_pattern_allow([^EXEEXT$]) | ||
714 | m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJEXT$]) | ||
715 | m4trace:configure.ac:11: -1- _AM_DEPENDENCIES([CXX]) | ||
716 | m4trace:configure.ac:11: -1- AM_SET_DEPDIR | ||
717 | m4trace:configure.ac:11: -1- m4_pattern_allow([^DEPDIR$]) | ||
718 | m4trace:configure.ac:11: -1- AM_OUTPUT_DEPENDENCY_COMMANDS | ||
719 | m4trace:configure.ac:11: -1- AM_MAKE_INCLUDE | ||
720 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__include$]) | ||
721 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__quote$]) | ||
722 | m4trace:configure.ac:11: -1- AM_DEP_TRACK | ||
723 | m4trace:configure.ac:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
724 | m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_TRUE$]) | ||
725 | m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_FALSE$]) | ||
726 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) | ||
727 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) | ||
728 | m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) | ||
729 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) | ||
730 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXDEPMODE$]) | ||
731 | m4trace:configure.ac:11: -1- AM_CONDITIONAL([am__fastdepCXX], [ | ||
732 | test "x$enable_dependency_tracking" != xno \ | ||
733 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) | ||
734 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) | ||
735 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) | ||
736 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) | ||
737 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) | ||
738 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
739 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$]) | ||
740 | m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$]) | ||
741 | m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$]) | ||
742 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$]) | ||
743 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
744 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
745 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
746 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
747 | m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$]) | ||
748 | m4trace:configure.ac:12: -1- _AM_DEPENDENCIES([CC]) | ||
749 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$]) | ||
750 | m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [ | ||
751 | test "x$enable_dependency_tracking" != xno \ | ||
752 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) | ||
753 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) | ||
754 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) | ||
755 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) | ||
756 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) | ||
757 | m4trace:configure.ac:15: -1- PKG_CHECK_MODULES([SDL], [sdl >= 1.2]) | ||
758 | m4trace:configure.ac:15: -1- PKG_PROG_PKG_CONFIG | ||
759 | m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
760 | m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
761 | m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$]) | ||
762 | m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$]) | ||
763 | m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_CFLAGS$]) | ||
764 | m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_LIBS$]) | ||
765 | m4trace: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]) | ||
766 | m4trace: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]) | ||
767 | m4trace:configure.ac:15: -1- _PKG_SHORT_ERRORS_SUPPORTED | ||
768 | m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$]) | ||
769 | m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$]) | ||
770 | m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$]) | ||
771 | m4trace:configure.ac:22: -1- m4_pattern_allow([^GREP$]) | ||
772 | m4trace:configure.ac:22: -1- m4_pattern_allow([^EGREP$]) | ||
773 | m4trace:configure.ac:22: -1- m4_pattern_allow([^STDC_HEADERS$]) | ||
774 | m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE__BOOL$]) | ||
775 | m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) | ||
776 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | ||
777 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LTLIBOBJS$]) | ||
778 | m4trace:configure.ac:28: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) | ||
779 | m4trace: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 @@ | |||
1 | m4trace:configure.ac:5: -1- AC_INIT([Maze Of Life], [2.0], [BUG-REPORT-ADDRESS]) | ||
2 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) | ||
3 | m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) | ||
4 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | ||
5 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) | ||
6 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) | ||
7 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) | ||
8 | m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) | ||
9 | m4trace:configure.ac:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) | ||
10 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL]) | ||
11 | m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) | ||
12 | m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR]) | ||
13 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) | ||
14 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) | ||
15 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) | ||
16 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME]) | ||
17 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | ||
18 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) | ||
19 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) | ||
20 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | ||
21 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) | ||
22 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) | ||
23 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | ||
24 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) | ||
25 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING]) | ||
26 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | ||
27 | m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) | ||
28 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) | ||
29 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | ||
30 | m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE]) | ||
31 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix]) | ||
32 | m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) | ||
33 | m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE]) | ||
34 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix]) | ||
35 | m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) | ||
36 | m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,]) | ||
37 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name]) | ||
38 | m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) | ||
39 | m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) | ||
40 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir]) | ||
41 | m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) | ||
42 | m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) | ||
43 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir]) | ||
44 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) | ||
45 | m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) | ||
46 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir]) | ||
47 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) | ||
48 | m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share']) | ||
49 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir]) | ||
50 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) | ||
51 | m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}']) | ||
52 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir]) | ||
53 | m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) | ||
54 | m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) | ||
55 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir]) | ||
56 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) | ||
57 | m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) | ||
58 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir]) | ||
59 | m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) | ||
60 | m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var']) | ||
61 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir]) | ||
62 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) | ||
63 | m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include']) | ||
64 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir]) | ||
65 | m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) | ||
66 | m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include']) | ||
67 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir]) | ||
68 | m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) | ||
69 | m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], | ||
70 | ['${datarootdir}/doc/${PACKAGE_TARNAME}'], | ||
71 | ['${datarootdir}/doc/${PACKAGE}'])]) | ||
72 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir]) | ||
73 | m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) | ||
74 | m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info']) | ||
75 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir]) | ||
76 | m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) | ||
77 | m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}']) | ||
78 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir]) | ||
79 | m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) | ||
80 | m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}']) | ||
81 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir]) | ||
82 | m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) | ||
83 | m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}']) | ||
84 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir]) | ||
85 | m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) | ||
86 | m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}']) | ||
87 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir]) | ||
88 | m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) | ||
89 | m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) | ||
90 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir]) | ||
91 | m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) | ||
92 | m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) | ||
93 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir]) | ||
94 | m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) | ||
95 | m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man']) | ||
96 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir]) | ||
97 | m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) | ||
98 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) | ||
99 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) | ||
100 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ | ||
101 | #undef PACKAGE_NAME]) | ||
102 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) | ||
103 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) | ||
104 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ | ||
105 | #undef PACKAGE_TARNAME]) | ||
106 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) | ||
107 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) | ||
108 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ | ||
109 | #undef PACKAGE_VERSION]) | ||
110 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) | ||
111 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) | ||
112 | m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ | ||
113 | #undef PACKAGE_STRING]) | ||
114 | m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) | ||
115 | m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) | ||
116 | m4trace: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]) | ||
118 | m4trace:configure.ac:5: -1- AC_SUBST([DEFS]) | ||
119 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS]) | ||
120 | m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) | ||
121 | m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C]) | ||
122 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C]) | ||
123 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) | ||
124 | m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N]) | ||
125 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N]) | ||
126 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) | ||
127 | m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T]) | ||
128 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T]) | ||
129 | m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) | ||
130 | m4trace:configure.ac:5: -1- AC_SUBST([LIBS]) | ||
131 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS]) | ||
132 | m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) | ||
133 | m4trace:configure.ac:5: -1- AC_SUBST([build_alias]) | ||
134 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias]) | ||
135 | m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) | ||
136 | m4trace:configure.ac:5: -1- AC_SUBST([host_alias]) | ||
137 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias]) | ||
138 | m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) | ||
139 | m4trace:configure.ac:5: -1- AC_SUBST([target_alias]) | ||
140 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias]) | ||
141 | m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) | ||
142 | m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE | ||
143 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) | ||
144 | m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.10.2]) | ||
145 | m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh]) | ||
146 | m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_PROGRAM]) | ||
147 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) | ||
148 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) | ||
149 | m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_SCRIPT]) | ||
150 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) | ||
151 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) | ||
152 | m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_DATA]) | ||
153 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_DATA]) | ||
154 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$]) | ||
155 | m4trace:configure.ac:6: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) | ||
156 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__isrc]) | ||
157 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$]) | ||
158 | m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc]) | ||
159 | m4trace:configure.ac:6: -1- AC_SUBST([CYGPATH_W]) | ||
160 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([CYGPATH_W]) | ||
161 | m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$]) | ||
162 | m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) | ||
163 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE]) | ||
164 | m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) | ||
165 | m4trace:configure.ac:6: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) | ||
166 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([VERSION]) | ||
167 | m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) | ||
168 | m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) | ||
169 | m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) | ||
170 | m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ | ||
171 | #undef PACKAGE]) | ||
172 | m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) | ||
173 | m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) | ||
174 | m4trace:configure.ac:6: -1- AH_OUTPUT([VERSION], [/* Version number of package */ | ||
175 | #undef VERSION]) | ||
176 | m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([missing]) | ||
177 | m4trace:configure.ac:6: -1- AC_SUBST([ACLOCAL]) | ||
178 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ACLOCAL]) | ||
179 | m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$]) | ||
180 | m4trace:configure.ac:6: -1- AC_SUBST([AUTOCONF]) | ||
181 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOCONF]) | ||
182 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$]) | ||
183 | m4trace:configure.ac:6: -1- AC_SUBST([AUTOMAKE]) | ||
184 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOMAKE]) | ||
185 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$]) | ||
186 | m4trace:configure.ac:6: -1- AC_SUBST([AUTOHEADER]) | ||
187 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOHEADER]) | ||
188 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$]) | ||
189 | m4trace:configure.ac:6: -1- AC_SUBST([MAKEINFO]) | ||
190 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MAKEINFO]) | ||
191 | m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$]) | ||
192 | m4trace:configure.ac:6: -1- AC_SUBST([install_sh]) | ||
193 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([install_sh]) | ||
194 | m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$]) | ||
195 | m4trace:configure.ac:6: -1- AC_SUBST([STRIP]) | ||
196 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([STRIP]) | ||
197 | m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$]) | ||
198 | m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) | ||
199 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) | ||
200 | m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) | ||
201 | m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh]) | ||
202 | m4trace:configure.ac:6: -1- AC_SUBST([MKDIR_P]) | ||
203 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MKDIR_P]) | ||
204 | m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$]) | ||
205 | m4trace:configure.ac:6: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) | ||
206 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mkdir_p]) | ||
207 | m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$]) | ||
208 | m4trace:configure.ac:6: -1- AC_SUBST([AWK]) | ||
209 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AWK]) | ||
210 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$]) | ||
211 | m4trace:configure.ac:6: -1- AC_SUBST([SET_MAKE]) | ||
212 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SET_MAKE]) | ||
213 | m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$]) | ||
214 | m4trace:configure.ac:6: -1- AC_SUBST([am__leading_dot]) | ||
215 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__leading_dot]) | ||
216 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$]) | ||
217 | m4trace:configure.ac:6: -1- AC_SUBST([AMTAR]) | ||
218 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AMTAR]) | ||
219 | m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$]) | ||
220 | m4trace:configure.ac:6: -1- AC_SUBST([am__tar]) | ||
221 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__tar]) | ||
222 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$]) | ||
223 | m4trace:configure.ac:6: -1- AC_SUBST([am__untar]) | ||
224 | m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__untar]) | ||
225 | m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$]) | ||
226 | m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h]) | ||
227 | m4trace:configure.ac:11: -1- AC_SUBST([CXX]) | ||
228 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXX]) | ||
229 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$]) | ||
230 | m4trace:configure.ac:11: -1- AC_SUBST([CXXFLAGS]) | ||
231 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXXFLAGS]) | ||
232 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXFLAGS$]) | ||
233 | m4trace:configure.ac:11: -1- AC_SUBST([LDFLAGS]) | ||
234 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([LDFLAGS]) | ||
235 | m4trace:configure.ac:11: -1- m4_pattern_allow([^LDFLAGS$]) | ||
236 | m4trace:configure.ac:11: -1- AC_SUBST([LIBS]) | ||
237 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([LIBS]) | ||
238 | m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBS$]) | ||
239 | m4trace:configure.ac:11: -1- AC_SUBST([CPPFLAGS]) | ||
240 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CPPFLAGS]) | ||
241 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$]) | ||
242 | m4trace:configure.ac:11: -1- AC_SUBST([CXX]) | ||
243 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXX]) | ||
244 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXX$]) | ||
245 | m4trace:configure.ac:11: -1- AC_SUBST([ac_ct_CXX]) | ||
246 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([ac_ct_CXX]) | ||
247 | m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_CXX$]) | ||
248 | m4trace:configure.ac:11: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) | ||
249 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([EXEEXT]) | ||
250 | m4trace:configure.ac:11: -1- m4_pattern_allow([^EXEEXT$]) | ||
251 | m4trace:configure.ac:11: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) | ||
252 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([OBJEXT]) | ||
253 | m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJEXT$]) | ||
254 | m4trace:configure.ac:11: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) | ||
255 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([DEPDIR]) | ||
256 | m4trace:configure.ac:11: -1- m4_pattern_allow([^DEPDIR$]) | ||
257 | m4trace:configure.ac:11: -1- AC_SUBST([am__include]) | ||
258 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__include]) | ||
259 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__include$]) | ||
260 | m4trace:configure.ac:11: -1- AC_SUBST([am__quote]) | ||
261 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__quote]) | ||
262 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__quote$]) | ||
263 | m4trace:configure.ac:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
264 | m4trace:configure.ac:11: -1- AC_SUBST([AMDEP_TRUE]) | ||
265 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMDEP_TRUE]) | ||
266 | m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_TRUE$]) | ||
267 | m4trace:configure.ac:11: -1- AC_SUBST([AMDEP_FALSE]) | ||
268 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMDEP_FALSE]) | ||
269 | m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_FALSE$]) | ||
270 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) | ||
271 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) | ||
272 | m4trace:configure.ac:11: -1- AC_SUBST([AMDEPBACKSLASH]) | ||
273 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) | ||
274 | m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) | ||
275 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) | ||
276 | m4trace:configure.ac:11: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type]) | ||
277 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CXXDEPMODE]) | ||
278 | m4trace:configure.ac:11: -1- m4_pattern_allow([^CXXDEPMODE$]) | ||
279 | m4trace:configure.ac:11: -1- AM_CONDITIONAL([am__fastdepCXX], [ | ||
280 | test "x$enable_dependency_tracking" != xno \ | ||
281 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) | ||
282 | m4trace:configure.ac:11: -1- AC_SUBST([am__fastdepCXX_TRUE]) | ||
283 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE]) | ||
284 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) | ||
285 | m4trace:configure.ac:11: -1- AC_SUBST([am__fastdepCXX_FALSE]) | ||
286 | m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE]) | ||
287 | m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) | ||
288 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) | ||
289 | m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) | ||
290 | m4trace:configure.ac:12: -1- AC_SUBST([CC]) | ||
291 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC]) | ||
292 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
293 | m4trace:configure.ac:12: -1- AC_SUBST([CFLAGS]) | ||
294 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CFLAGS]) | ||
295 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CFLAGS$]) | ||
296 | m4trace:configure.ac:12: -1- AC_SUBST([LDFLAGS]) | ||
297 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LDFLAGS]) | ||
298 | m4trace:configure.ac:12: -1- m4_pattern_allow([^LDFLAGS$]) | ||
299 | m4trace:configure.ac:12: -1- AC_SUBST([LIBS]) | ||
300 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([LIBS]) | ||
301 | m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$]) | ||
302 | m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS]) | ||
303 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CPPFLAGS]) | ||
304 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CPPFLAGS$]) | ||
305 | m4trace:configure.ac:12: -1- AC_SUBST([CC]) | ||
306 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC]) | ||
307 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
308 | m4trace:configure.ac:12: -1- AC_SUBST([CC]) | ||
309 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC]) | ||
310 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
311 | m4trace:configure.ac:12: -1- AC_SUBST([CC]) | ||
312 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC]) | ||
313 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
314 | m4trace:configure.ac:12: -1- AC_SUBST([CC]) | ||
315 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CC]) | ||
316 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CC$]) | ||
317 | m4trace:configure.ac:12: -1- AC_SUBST([ac_ct_CC]) | ||
318 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ac_ct_CC]) | ||
319 | m4trace:configure.ac:12: -1- m4_pattern_allow([^ac_ct_CC$]) | ||
320 | m4trace:configure.ac:12: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) | ||
321 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CCDEPMODE]) | ||
322 | m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$]) | ||
323 | m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [ | ||
324 | test "x$enable_dependency_tracking" != xno \ | ||
325 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) | ||
326 | m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_TRUE]) | ||
327 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) | ||
328 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) | ||
329 | m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_FALSE]) | ||
330 | m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) | ||
331 | m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) | ||
332 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) | ||
333 | m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) | ||
334 | m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
335 | m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
336 | m4trace:configure.ac:15: -1- AC_SUBST([PKG_CONFIG]) | ||
337 | m4trace:configure.ac:15: -1- AC_SUBST_TRACE([PKG_CONFIG]) | ||
338 | m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$]) | ||
339 | m4trace:configure.ac:15: -1- AC_SUBST([PKG_CONFIG]) | ||
340 | m4trace:configure.ac:15: -1- AC_SUBST_TRACE([PKG_CONFIG]) | ||
341 | m4trace:configure.ac:15: -1- m4_pattern_allow([^PKG_CONFIG$]) | ||
342 | m4trace:configure.ac:15: -1- AC_SUBST([SDL_CFLAGS]) | ||
343 | m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SDL_CFLAGS]) | ||
344 | m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_CFLAGS$]) | ||
345 | m4trace:configure.ac:15: -1- AC_SUBST([SDL_LIBS]) | ||
346 | m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SDL_LIBS]) | ||
347 | m4trace:configure.ac:15: -1- m4_pattern_allow([^SDL_LIBS$]) | ||
348 | m4trace:configure.ac:22: -1- AC_SUBST([CPP]) | ||
349 | m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPP]) | ||
350 | m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$]) | ||
351 | m4trace:configure.ac:22: -1- AC_SUBST([CPPFLAGS]) | ||
352 | m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPPFLAGS]) | ||
353 | m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$]) | ||
354 | m4trace:configure.ac:22: -1- AC_SUBST([CPP]) | ||
355 | m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPP]) | ||
356 | m4trace:configure.ac:22: -1- m4_pattern_allow([^CPP$]) | ||
357 | m4trace:configure.ac:22: -1- AC_SUBST([GREP]) | ||
358 | m4trace:configure.ac:22: -1- AC_SUBST_TRACE([GREP]) | ||
359 | m4trace:configure.ac:22: -1- m4_pattern_allow([^GREP$]) | ||
360 | m4trace:configure.ac:22: -1- AC_SUBST([EGREP]) | ||
361 | m4trace:configure.ac:22: -1- AC_SUBST_TRACE([EGREP]) | ||
362 | m4trace:configure.ac:22: -1- m4_pattern_allow([^EGREP$]) | ||
363 | m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) | ||
364 | m4trace:configure.ac:22: -1- m4_pattern_allow([^STDC_HEADERS$]) | ||
365 | m4trace:configure.ac:22: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ | ||
366 | #undef STDC_HEADERS]) | ||
367 | m4trace: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]) | ||
369 | m4trace: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]) | ||
371 | m4trace: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]) | ||
373 | m4trace: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]) | ||
375 | m4trace: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]) | ||
377 | m4trace: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]) | ||
379 | m4trace: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]) | ||
381 | m4trace: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]) | ||
383 | m4trace: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]) | ||
385 | m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL]) | ||
386 | m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE__BOOL$]) | ||
387 | m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */ | ||
388 | #undef HAVE__BOOL]) | ||
389 | m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) | ||
390 | m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) | ||
391 | m4trace:configure.ac:22: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */ | ||
392 | #undef HAVE_STDBOOL_H]) | ||
393 | m4trace:configure.ac:25: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */ | ||
394 | #undef HAVE_ATEXIT]) | ||
395 | m4trace:configure.ac:27: -1- AC_CONFIG_FILES([Makefile src/Makefile]) | ||
396 | m4trace:configure.ac:28: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) | ||
397 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) | ||
398 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LIB@&t@OBJS$]) | ||
399 | m4trace:configure.ac:28: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) | ||
400 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LTLIBOBJS]) | ||
401 | m4trace:configure.ac:28: -1- m4_pattern_allow([^LTLIBOBJS$]) | ||
402 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([top_builddir]) | ||
403 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([top_build_prefix]) | ||
404 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([srcdir]) | ||
405 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_srcdir]) | ||
406 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([top_srcdir]) | ||
407 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_top_srcdir]) | ||
408 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([builddir]) | ||
409 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_builddir]) | ||
410 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([abs_top_builddir]) | ||
411 | m4trace:configure.ac:28: -1- AC_SUBST_TRACE([INSTALL]) | ||
412 | m4trace: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 | ||
16 | DUALCASE=1; export DUALCASE # for MKS sh | ||
17 | if 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 | ||
24 | else | ||
25 | case `(set -o) 2>/dev/null` in | ||
26 | *posix*) set -o posix ;; | ||
27 | esac | ||
28 | |||
29 | fi | ||
30 | |||
31 | |||
32 | |||
33 | |||
34 | # PATH needs CR | ||
35 | # Avoid depending upon Character Ranges. | ||
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
39 | as_cr_digits='0123456789' | ||
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
41 | |||
42 | as_nl=' | ||
43 | ' | ||
44 | export as_nl | ||
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
50 | as_echo='printf %s\n' | ||
51 | as_echo_n='printf %s' | ||
52 | else | ||
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
55 | as_echo_n='/usr/ucb/echo -n' | ||
56 | else | ||
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
58 | as_echo_n_body='eval | ||
59 | arg=$1; | ||
60 | case $arg in | ||
61 | *"$as_nl"*) | ||
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
64 | esac; | ||
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
66 | ' | ||
67 | export as_echo_n_body | ||
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
69 | fi | ||
70 | export as_echo_body | ||
71 | as_echo='sh -c $as_echo_body as_echo' | ||
72 | fi | ||
73 | |||
74 | # The user is always right. | ||
75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
76 | PATH_SEPARATOR=: | ||
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
79 | PATH_SEPARATOR=';' | ||
80 | } | ||
81 | fi | ||
82 | |||
83 | # Support unset when possible. | ||
84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
85 | as_unset=unset | ||
86 | else | ||
87 | as_unset=false | ||
88 | fi | ||
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.) | ||
96 | IFS=" "" $as_nl" | ||
97 | |||
98 | # Find who we are. Look in the path if we contain no directory separator. | ||
99 | case $0 in | ||
100 | *[\\/]* ) as_myself=$0 ;; | ||
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
102 | for as_dir in $PATH | ||
103 | do | ||
104 | IFS=$as_save_IFS | ||
105 | test -z "$as_dir" && as_dir=. | ||
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
107 | done | ||
108 | IFS=$as_save_IFS | ||
109 | |||
110 | ;; | ||
111 | esac | ||
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
113 | # in which case we are not to be found in the path. | ||
114 | if test "x$as_myself" = x; then | ||
115 | as_myself=$0 | ||
116 | fi | ||
117 | if test ! -f "$as_myself"; then | ||
118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
119 | { (exit 1); exit 1; } | ||
120 | fi | ||
121 | |||
122 | # Work around bugs in pre-3.0 UWIN ksh. | ||
123 | for as_var in ENV MAIL MAILPATH | ||
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
125 | done | ||
126 | PS1='$ ' | ||
127 | PS2='> ' | ||
128 | PS4='+ ' | ||
129 | |||
130 | # NLS nuisances. | ||
131 | LC_ALL=C | ||
132 | export LC_ALL | ||
133 | LANGUAGE=C | ||
134 | export LANGUAGE | ||
135 | |||
136 | # Required to use basename. | ||
137 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
139 | as_expr=expr | ||
140 | else | ||
141 | as_expr=false | ||
142 | fi | ||
143 | |||
144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
145 | as_basename=basename | ||
146 | else | ||
147 | as_basename=false | ||
148 | fi | ||
149 | |||
150 | |||
151 | # Name of the executable. | ||
152 | as_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 | |||
175 | if test "x$CONFIG_SHELL" = x; then | ||
176 | if (eval ":") 2>/dev/null; then | ||
177 | as_have_required=yes | ||
178 | else | ||
179 | as_have_required=no | ||
180 | fi | ||
181 | |||
182 | if test $as_have_required = yes && (eval ": | ||
183 | (as_func_return () { | ||
184 | (exit \$1) | ||
185 | } | ||
186 | as_func_success () { | ||
187 | as_func_return 0 | ||
188 | } | ||
189 | as_func_failure () { | ||
190 | as_func_return 1 | ||
191 | } | ||
192 | as_func_ret_success () { | ||
193 | return 0 | ||
194 | } | ||
195 | as_func_ret_failure () { | ||
196 | return 1 | ||
197 | } | ||
198 | |||
199 | exitcode=0 | ||
200 | if as_func_success; then | ||
201 | : | ||
202 | else | ||
203 | exitcode=1 | ||
204 | echo as_func_success failed. | ||
205 | fi | ||
206 | |||
207 | if as_func_failure; then | ||
208 | exitcode=1 | ||
209 | echo as_func_failure succeeded. | ||
210 | fi | ||
211 | |||
212 | if as_func_ret_success; then | ||
213 | : | ||
214 | else | ||
215 | exitcode=1 | ||
216 | echo as_func_ret_success failed. | ||
217 | fi | ||
218 | |||
219 | if as_func_ret_failure; then | ||
220 | exitcode=1 | ||
221 | echo as_func_ret_failure succeeded. | ||
222 | fi | ||
223 | |||
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
225 | : | ||
226 | else | ||
227 | exitcode=1 | ||
228 | echo positional parameters were not saved. | ||
229 | fi | ||
230 | |||
231 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
232 | |||
233 | ( | ||
234 | as_lineno_1=\$LINENO | ||
235 | as_lineno_2=\$LINENO | ||
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
238 | ") 2> /dev/null; then | ||
239 | : | ||
240 | else | ||
241 | as_candidate_shells= | ||
242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
244 | do | ||
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 | ||
253 | done | ||
254 | IFS=$as_save_IFS | ||
255 | |||
256 | |||
257 | for as_shell in $as_candidate_shells $SHELL; do | ||
258 | # Try only shells that exist, to save several forks. | ||
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
260 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
262 | emulate sh | ||
263 | NULLCMD=: | ||
264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
265 | # is contrary to our usage. Disable this feature. | ||
266 | alias -g '${1+"$@"}'='"$@"' | ||
267 | setopt NO_GLOB_SUBST | ||
268 | else | ||
269 | case `(set -o) 2>/dev/null` in | ||
270 | *posix*) set -o posix ;; | ||
271 | esac | ||
272 | |||
273 | fi | ||
274 | |||
275 | |||
276 | : | ||
277 | _ASEOF | ||
278 | }; then | ||
279 | CONFIG_SHELL=$as_shell | ||
280 | as_have_required=yes | ||
281 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
283 | emulate sh | ||
284 | NULLCMD=: | ||
285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
286 | # is contrary to our usage. Disable this feature. | ||
287 | alias -g '${1+"$@"}'='"$@"' | ||
288 | setopt NO_GLOB_SUBST | ||
289 | else | ||
290 | case `(set -o) 2>/dev/null` in | ||
291 | *posix*) set -o posix ;; | ||
292 | esac | ||
293 | |||
294 | fi | ||
295 | |||
296 | |||
297 | : | ||
298 | (as_func_return () { | ||
299 | (exit $1) | ||
300 | } | ||
301 | as_func_success () { | ||
302 | as_func_return 0 | ||
303 | } | ||
304 | as_func_failure () { | ||
305 | as_func_return 1 | ||
306 | } | ||
307 | as_func_ret_success () { | ||
308 | return 0 | ||
309 | } | ||
310 | as_func_ret_failure () { | ||
311 | return 1 | ||
312 | } | ||
313 | |||
314 | exitcode=0 | ||
315 | if as_func_success; then | ||
316 | : | ||
317 | else | ||
318 | exitcode=1 | ||
319 | echo as_func_success failed. | ||
320 | fi | ||
321 | |||
322 | if as_func_failure; then | ||
323 | exitcode=1 | ||
324 | echo as_func_failure succeeded. | ||
325 | fi | ||
326 | |||
327 | if as_func_ret_success; then | ||
328 | : | ||
329 | else | ||
330 | exitcode=1 | ||
331 | echo as_func_ret_success failed. | ||
332 | fi | ||
333 | |||
334 | if as_func_ret_failure; then | ||
335 | exitcode=1 | ||
336 | echo as_func_ret_failure succeeded. | ||
337 | fi | ||
338 | |||
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
340 | : | ||
341 | else | ||
342 | exitcode=1 | ||
343 | echo positional parameters were not saved. | ||
344 | fi | ||
345 | |||
346 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
347 | |||
348 | ( | ||
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 | ||
357 | fi | ||
358 | |||
359 | fi | ||
360 | |||
361 | done | ||
362 | |||
363 | if test "x$CONFIG_SHELL" != x; then | ||
364 | for as_var in BASH_ENV ENV | ||
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
366 | done | ||
367 | export CONFIG_SHELL | ||
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
369 | fi | ||
370 | |||
371 | |||
372 | if test $as_have_required = no; then | ||
373 | echo This script requires a shell more modern than all the | ||
374 | echo shells that I found on your system. Please install a | ||
375 | echo modern shell, or manually run the script under such a | ||
376 | echo shell if you do have one. | ||
377 | { (exit 1); exit 1; } | ||
378 | fi | ||
379 | |||
380 | |||
381 | fi | ||
382 | |||
383 | fi | ||
384 | |||
385 | |||
386 | |||
387 | (eval "as_func_return () { | ||
388 | (exit \$1) | ||
389 | } | ||
390 | as_func_success () { | ||
391 | as_func_return 0 | ||
392 | } | ||
393 | as_func_failure () { | ||
394 | as_func_return 1 | ||
395 | } | ||
396 | as_func_ret_success () { | ||
397 | return 0 | ||
398 | } | ||
399 | as_func_ret_failure () { | ||
400 | return 1 | ||
401 | } | ||
402 | |||
403 | exitcode=0 | ||
404 | if as_func_success; then | ||
405 | : | ||
406 | else | ||
407 | exitcode=1 | ||
408 | echo as_func_success failed. | ||
409 | fi | ||
410 | |||
411 | if as_func_failure; then | ||
412 | exitcode=1 | ||
413 | echo as_func_failure succeeded. | ||
414 | fi | ||
415 | |||
416 | if as_func_ret_success; then | ||
417 | : | ||
418 | else | ||
419 | exitcode=1 | ||
420 | echo as_func_ret_success failed. | ||
421 | fi | ||
422 | |||
423 | if as_func_ret_failure; then | ||
424 | exitcode=1 | ||
425 | echo as_func_ret_failure succeeded. | ||
426 | fi | ||
427 | |||
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
429 | : | ||
430 | else | ||
431 | exitcode=1 | ||
432 | echo positional parameters were not saved. | ||
433 | fi | ||
434 | |||
435 | test \$exitcode = 0") || { | ||
436 | echo No shell found that supports shell functions. | ||
437 | echo Please tell bug-autoconf@gnu.org about your system, | ||
438 | echo including any error possibly output before this message. | ||
439 | echo This can help us improve future autoconf versions. | ||
440 | echo Configuration will now proceed without shell functions. | ||
441 | } | ||
442 | |||
443 | |||
444 | |||
445 | as_lineno_1=$LINENO | ||
446 | as_lineno_2=$LINENO | ||
447 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
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 | |||
488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
489 | as_dirname=dirname | ||
490 | else | ||
491 | as_dirname=false | ||
492 | fi | ||
493 | |||
494 | ECHO_C= ECHO_N= ECHO_T= | ||
495 | case `echo -n x` in | ||
496 | -n*) | ||
497 | case `echo 'x\c'` in | ||
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
499 | *) ECHO_C='\c';; | ||
500 | esac;; | ||
501 | *) | ||
502 | ECHO_N='-n';; | ||
503 | esac | ||
504 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
506 | as_expr=expr | ||
507 | else | ||
508 | as_expr=false | ||
509 | fi | ||
510 | |||
511 | rm -f conf$$ conf$$.exe conf$$.file | ||
512 | if test -d conf$$.dir; then | ||
513 | rm -f conf$$.dir/conf$$.file | ||
514 | else | ||
515 | rm -f conf$$.dir | ||
516 | mkdir conf$$.dir 2>/dev/null | ||
517 | fi | ||
518 | if (echo >conf$$.file) 2>/dev/null; then | ||
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
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 | ||
532 | else | ||
533 | as_ln_s='cp -p' | ||
534 | fi | ||
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
536 | rmdir conf$$.dir 2>/dev/null | ||
537 | |||
538 | if mkdir -p . 2>/dev/null; then | ||
539 | as_mkdir_p=: | ||
540 | else | ||
541 | test -d ./-p && rmdir ./-p | ||
542 | as_mkdir_p=false | ||
543 | fi | ||
544 | |||
545 | if test -x / >/dev/null 2>&1; then | ||
546 | as_test_x='test -x' | ||
547 | else | ||
548 | if ls -dL / >/dev/null 2>&1; then | ||
549 | as_ls_L_option=L | ||
550 | else | ||
551 | as_ls_L_option= | ||
552 | fi | ||
553 | as_test_x=' | ||
554 | eval sh -c '\'' | ||
555 | if test -d "$1"; then | ||
556 | test -d "$1/."; | ||
557 | else | ||
558 | case $1 in | ||
559 | -*)set "./$1";; | ||
560 | esac; | ||
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
562 | ???[sx]*):;;*)false;;esac;fi | ||
563 | '\'' sh | ||
564 | ' | ||
565 | fi | ||
566 | as_executable_p=$as_test_x | ||
567 | |||
568 | # Sed expression to map a string onto a valid CPP name. | ||
569 | as_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. | ||
572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
573 | |||
574 | |||
575 | |||
576 | exec 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. | ||
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
582 | |||
583 | # | ||
584 | # Initializations. | ||
585 | # | ||
586 | ac_default_prefix=/usr/local | ||
587 | ac_clean_files= | ||
588 | ac_config_libobj_dir=. | ||
589 | LIBOBJS= | ||
590 | cross_compiling=no | ||
591 | subdirs= | ||
592 | MFLAGS= | ||
593 | MAKEFLAGS= | ||
594 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
595 | |||
596 | # Identity of this package. | ||
597 | PACKAGE_NAME='Maze Of Life' | ||
598 | PACKAGE_TARNAME='maze-of-life' | ||
599 | PACKAGE_VERSION='2.0' | ||
600 | PACKAGE_STRING='Maze Of Life 2.0' | ||
601 | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' | ||
602 | |||
603 | ac_unique_file="src/mazeoflife.cpp" | ||
604 | # Factoring default headers for most tests. | ||
605 | ac_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 | |||
640 | ac_subst_vars='LTLIBOBJS | ||
641 | LIBOBJS | ||
642 | EGREP | ||
643 | GREP | ||
644 | CPP | ||
645 | SDL_LIBS | ||
646 | SDL_CFLAGS | ||
647 | PKG_CONFIG | ||
648 | am__fastdepCC_FALSE | ||
649 | am__fastdepCC_TRUE | ||
650 | CCDEPMODE | ||
651 | ac_ct_CC | ||
652 | CFLAGS | ||
653 | CC | ||
654 | am__fastdepCXX_FALSE | ||
655 | am__fastdepCXX_TRUE | ||
656 | CXXDEPMODE | ||
657 | AMDEPBACKSLASH | ||
658 | AMDEP_FALSE | ||
659 | AMDEP_TRUE | ||
660 | am__quote | ||
661 | am__include | ||
662 | DEPDIR | ||
663 | OBJEXT | ||
664 | EXEEXT | ||
665 | ac_ct_CXX | ||
666 | CPPFLAGS | ||
667 | LDFLAGS | ||
668 | CXXFLAGS | ||
669 | CXX | ||
670 | am__untar | ||
671 | am__tar | ||
672 | AMTAR | ||
673 | am__leading_dot | ||
674 | SET_MAKE | ||
675 | AWK | ||
676 | mkdir_p | ||
677 | MKDIR_P | ||
678 | INSTALL_STRIP_PROGRAM | ||
679 | STRIP | ||
680 | install_sh | ||
681 | MAKEINFO | ||
682 | AUTOHEADER | ||
683 | AUTOMAKE | ||
684 | AUTOCONF | ||
685 | ACLOCAL | ||
686 | VERSION | ||
687 | PACKAGE | ||
688 | CYGPATH_W | ||
689 | am__isrc | ||
690 | INSTALL_DATA | ||
691 | INSTALL_SCRIPT | ||
692 | INSTALL_PROGRAM | ||
693 | target_alias | ||
694 | host_alias | ||
695 | build_alias | ||
696 | LIBS | ||
697 | ECHO_T | ||
698 | ECHO_N | ||
699 | ECHO_C | ||
700 | DEFS | ||
701 | mandir | ||
702 | localedir | ||
703 | libdir | ||
704 | psdir | ||
705 | pdfdir | ||
706 | dvidir | ||
707 | htmldir | ||
708 | infodir | ||
709 | docdir | ||
710 | oldincludedir | ||
711 | includedir | ||
712 | localstatedir | ||
713 | sharedstatedir | ||
714 | sysconfdir | ||
715 | datadir | ||
716 | datarootdir | ||
717 | libexecdir | ||
718 | sbindir | ||
719 | bindir | ||
720 | program_transform_name | ||
721 | prefix | ||
722 | exec_prefix | ||
723 | PACKAGE_BUGREPORT | ||
724 | PACKAGE_STRING | ||
725 | PACKAGE_VERSION | ||
726 | PACKAGE_TARNAME | ||
727 | PACKAGE_NAME | ||
728 | PATH_SEPARATOR | ||
729 | SHELL' | ||
730 | ac_subst_files='' | ||
731 | ac_user_opts=' | ||
732 | enable_option_checking | ||
733 | enable_dependency_tracking | ||
734 | ' | ||
735 | ac_precious_vars='build_alias | ||
736 | host_alias | ||
737 | target_alias | ||
738 | CXX | ||
739 | CXXFLAGS | ||
740 | LDFLAGS | ||
741 | LIBS | ||
742 | CPPFLAGS | ||
743 | CCC | ||
744 | CC | ||
745 | CFLAGS | ||
746 | PKG_CONFIG | ||
747 | SDL_CFLAGS | ||
748 | SDL_LIBS | ||
749 | CPP' | ||
750 | |||
751 | |||
752 | # Initialize some variables set by options. | ||
753 | ac_init_help= | ||
754 | ac_init_version=false | ||
755 | ac_unrecognized_opts= | ||
756 | ac_unrecognized_sep= | ||
757 | # The variables have the same names as the options, with | ||
758 | # dashes changed to underlines. | ||
759 | cache_file=/dev/null | ||
760 | exec_prefix=NONE | ||
761 | no_create= | ||
762 | no_recursion= | ||
763 | prefix=NONE | ||
764 | program_prefix=NONE | ||
765 | program_suffix=NONE | ||
766 | program_transform_name=s,x,x, | ||
767 | silent= | ||
768 | site= | ||
769 | srcdir= | ||
770 | verbose= | ||
771 | x_includes=NONE | ||
772 | x_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.) | ||
780 | bindir='${exec_prefix}/bin' | ||
781 | sbindir='${exec_prefix}/sbin' | ||
782 | libexecdir='${exec_prefix}/libexec' | ||
783 | datarootdir='${prefix}/share' | ||
784 | datadir='${datarootdir}' | ||
785 | sysconfdir='${prefix}/etc' | ||
786 | sharedstatedir='${prefix}/com' | ||
787 | localstatedir='${prefix}/var' | ||
788 | includedir='${prefix}/include' | ||
789 | oldincludedir='/usr/include' | ||
790 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
791 | infodir='${datarootdir}/info' | ||
792 | htmldir='${docdir}' | ||
793 | dvidir='${docdir}' | ||
794 | pdfdir='${docdir}' | ||
795 | psdir='${docdir}' | ||
796 | libdir='${exec_prefix}/lib' | ||
797 | localedir='${datarootdir}/locale' | ||
798 | mandir='${datarootdir}/man' | ||
799 | |||
800 | ac_prev= | ||
801 | ac_dashdash= | ||
802 | for ac_option | ||
803 | do | ||
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 | ||
1139 | Try \`$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 | ||
1161 | done | ||
1162 | |||
1163 | if 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; }; } | ||
1167 | fi | ||
1168 | |||
1169 | if 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 | ||
1176 | fi | ||
1177 | |||
1178 | # Check all directory arguments for consistency. | ||
1179 | for 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 | ||
1183 | do | ||
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; }; } | ||
1198 | done | ||
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. | ||
1203 | build=$build_alias | ||
1204 | host=$host_alias | ||
1205 | target=$target_alias | ||
1206 | |||
1207 | # FIXME: To remove some day. | ||
1208 | if 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 | ||
1216 | fi | ||
1217 | |||
1218 | ac_tool_prefix= | ||
1219 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
1220 | |||
1221 | test "$silent" = yes && exec 6>/dev/null | ||
1222 | |||
1223 | |||
1224 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1225 | ac_ls_di=`ls -di .` && | ||
1226 | ac_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; }; } | ||
1229 | test "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. | ||
1235 | if 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 | ||
1265 | else | ||
1266 | ac_srcdir_defaulted=no | ||
1267 | fi | ||
1268 | if 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; }; } | ||
1272 | fi | ||
1273 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1274 | ac_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=. | ||
1279 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1280 | srcdir=. | ||
1281 | fi | ||
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. | ||
1285 | case $srcdir in | ||
1286 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
1287 | esac | ||
1288 | for 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} | ||
1293 | done | ||
1294 | |||
1295 | # | ||
1296 | # Report the --help message. | ||
1297 | # | ||
1298 | if 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 | |||
1304 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
1305 | |||
1306 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
1307 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
1308 | |||
1309 | Defaults for the options are specified in brackets. | ||
1310 | |||
1311 | Configuration: | ||
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 | |||
1322 | Installation 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 | |||
1328 | By default, \`make install' will install all the files in | ||
1329 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
1330 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
1331 | for instance \`--prefix=\$HOME'. | ||
1332 | |||
1333 | For better control, use the options below. | ||
1334 | |||
1335 | Fine 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 | |||
1359 | Program 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 | ||
1364 | fi | ||
1365 | |||
1366 | if 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 | |||
1372 | Optional 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 | |||
1379 | Some 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 | |||
1394 | Use these variables to override the choices made by `configure' or to help | ||
1395 | it to find libraries and programs with nonstandard names/locations. | ||
1396 | |||
1397 | Report bugs to <BUG-REPORT-ADDRESS>. | ||
1398 | _ACEOF | ||
1399 | ac_status=$? | ||
1400 | fi | ||
1401 | |||
1402 | if 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 | |||
1410 | case "$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 ;; | ||
1420 | esac | ||
1421 | ac_abs_top_builddir=$ac_pwd | ||
1422 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1423 | # for backward compatibility: | ||
1424 | ac_top_builddir=$ac_top_build_prefix | ||
1425 | |||
1426 | case $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 ;; | ||
1439 | esac | ||
1440 | ac_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 | ||
1455 | fi | ||
1456 | |||
1457 | test -n "$ac_init_help" && exit $ac_status | ||
1458 | if $ac_init_version; then | ||
1459 | cat <<\_ACEOF | ||
1460 | Maze Of Life configure 2.0 | ||
1461 | generated by GNU Autoconf 2.63 | ||
1462 | |||
1463 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
1464 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
1465 | This configure script is free software; the Free Software Foundation | ||
1466 | gives unlimited permission to copy, distribute and modify it. | ||
1467 | _ACEOF | ||
1468 | exit | ||
1469 | fi | ||
1470 | cat >config.log <<_ACEOF | ||
1471 | This file contains any messages produced by compilers while | ||
1472 | running configure, to aid debugging if configure makes a mistake. | ||
1473 | |||
1474 | It was created by Maze Of Life $as_me 2.0, which was | ||
1475 | generated by GNU Autoconf 2.63. Invocation command line was | ||
1476 | |||
1477 | $ $0 $@ | ||
1478 | |||
1479 | _ACEOF | ||
1480 | exec 5>>config.log | ||
1481 | { | ||
1482 | cat <<_ASUNAME | ||
1483 | ## --------- ## | ||
1484 | ## Platform. ## | ||
1485 | ## --------- ## | ||
1486 | |||
1487 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
1488 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1489 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1490 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1491 | uname -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 | |||
1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1507 | for as_dir in $PATH | ||
1508 | do | ||
1509 | IFS=$as_save_IFS | ||
1510 | test -z "$as_dir" && as_dir=. | ||
1511 | $as_echo "PATH: $as_dir" | ||
1512 | done | ||
1513 | IFS=$as_save_IFS | ||
1514 | |||
1515 | } >&5 | ||
1516 | |||
1517 | cat >&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. | ||
1532 | ac_configure_args= | ||
1533 | ac_configure_args0= | ||
1534 | ac_configure_args1= | ||
1535 | ac_must_keep_next=false | ||
1536 | for ac_pass in 1 2 | ||
1537 | do | ||
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 | ||
1571 | done | ||
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. | ||
1580 | trap '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 | ||
1675 | for ac_signal in 1 2 13 15; do | ||
1676 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1677 | done | ||
1678 | ac_signal=0 | ||
1679 | |||
1680 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1681 | rm -f -r conftest* confdefs.h | ||
1682 | |||
1683 | # Predefined preprocessor variables. | ||
1684 | |||
1685 | cat >>confdefs.h <<_ACEOF | ||
1686 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
1687 | _ACEOF | ||
1688 | |||
1689 | |||
1690 | cat >>confdefs.h <<_ACEOF | ||
1691 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1692 | _ACEOF | ||
1693 | |||
1694 | |||
1695 | cat >>confdefs.h <<_ACEOF | ||
1696 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1697 | _ACEOF | ||
1698 | |||
1699 | |||
1700 | cat >>confdefs.h <<_ACEOF | ||
1701 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
1702 | _ACEOF | ||
1703 | |||
1704 | |||
1705 | cat >>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. | ||
1712 | ac_site_file1=NONE | ||
1713 | ac_site_file2=NONE | ||
1714 | if test -n "$CONFIG_SITE"; then | ||
1715 | ac_site_file1=$CONFIG_SITE | ||
1716 | elif test "x$prefix" != xNONE; then | ||
1717 | ac_site_file1=$prefix/share/config.site | ||
1718 | ac_site_file2=$prefix/etc/config.site | ||
1719 | else | ||
1720 | ac_site_file1=$ac_default_prefix/share/config.site | ||
1721 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
1722 | fi | ||
1723 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
1724 | do | ||
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 | ||
1732 | done | ||
1733 | |||
1734 | if 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 | ||
1745 | else | ||
1746 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1747 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
1748 | >$cache_file | ||
1749 | fi | ||
1750 | |||
1751 | # Check that the precious variables saved in the cache have kept the same | ||
1752 | # value. | ||
1753 | ac_cache_corrupted=false | ||
1754 | for 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 | ||
1800 | done | ||
1801 | if $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; }; } | ||
1809 | fi | ||
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 | |||
1835 | ac_ext=c | ||
1836 | ac_cpp='$CPP $CPPFLAGS' | ||
1837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1840 | |||
1841 | |||
1842 | am__api_version='1.10' | ||
1843 | |||
1844 | ac_aux_dir= | ||
1845 | for 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 | ||
1859 | done | ||
1860 | if 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; }; } | ||
1864 | fi | ||
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. | ||
1870 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
1871 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
1872 | ac_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; } | ||
1891 | if test -z "$INSTALL"; then | ||
1892 | if test "${ac_cv_path_install+set}" = set; then | ||
1893 | $as_echo_n "(cached) " >&6 | ||
1894 | else | ||
1895 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1896 | for as_dir in $PATH | ||
1897 | do | ||
1898 | IFS=$as_save_IFS | ||
1899 | test -z "$as_dir" && as_dir=. | ||
1900 | # Account for people who put trailing slashes in PATH elements. | ||
1901 | case $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 | ;; | ||
1939 | esac | ||
1940 | |||
1941 | done | ||
1942 | IFS=$as_save_IFS | ||
1943 | |||
1944 | rm -rf conftest.one conftest.two conftest.dir | ||
1945 | |||
1946 | fi | ||
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 | ||
1956 | fi | ||
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. | ||
1962 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
1963 | |||
1964 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
1965 | |||
1966 | test -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 | ||
1971 | sleep 1 | ||
1972 | echo 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). | ||
1978 | if ( | ||
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 | ||
1993 | alias in your environment" >&5 | ||
1994 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
1995 | alias in your environment" >&2;} | ||
1996 | { (exit 1); exit 1; }; } | ||
1997 | fi | ||
1998 | |||
1999 | test "$2" = conftest.file | ||
2000 | ) | ||
2001 | then | ||
2002 | # Ok. | ||
2003 | : | ||
2004 | else | ||
2005 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! | ||
2006 | Check your system clock" >&5 | ||
2007 | $as_echo "$as_me: error: newly created file is older than distributed files! | ||
2008 | Check your system clock" >&2;} | ||
2009 | { (exit 1); exit 1; }; } | ||
2010 | fi | ||
2011 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2012 | $as_echo "yes" >&6; } | ||
2013 | test "$program_prefix" != NONE && | ||
2014 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
2015 | # Use a double $ so make ignores it. | ||
2016 | test "$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. | ||
2020 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
2021 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
2022 | |||
2023 | # expand $ac_aux_dir to an absolute path | ||
2024 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
2025 | |||
2026 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | ||
2027 | # Use eval to expand $SHELL | ||
2028 | if eval "$MISSING --run true"; then | ||
2029 | am_missing_run="$MISSING --run " | ||
2030 | else | ||
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;} | ||
2034 | fi | ||
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; } | ||
2038 | if test -z "$MKDIR_P"; then | ||
2039 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
2040 | $as_echo_n "(cached) " >&6 | ||
2041 | else | ||
2042 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2043 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
2044 | do | ||
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 | ||
2059 | done | ||
2060 | IFS=$as_save_IFS | ||
2061 | |||
2062 | fi | ||
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 | ||
2074 | fi | ||
2075 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | ||
2076 | $as_echo "$MKDIR_P" >&6; } | ||
2077 | |||
2078 | mkdir_p="$MKDIR_P" | ||
2079 | case $mkdir_p in | ||
2080 | [\\/$]* | ?:[\\/]*) ;; | ||
2081 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
2082 | esac | ||
2083 | |||
2084 | for ac_prog in gawk mawk nawk awk | ||
2085 | do | ||
2086 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2087 | set 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; } | ||
2090 | if test "${ac_cv_prog_AWK+set}" = set; then | ||
2091 | $as_echo_n "(cached) " >&6 | ||
2092 | else | ||
2093 | if test -n "$AWK"; then | ||
2094 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
2095 | else | ||
2096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2097 | for as_dir in $PATH | ||
2098 | do | ||
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 | ||
2107 | done | ||
2108 | done | ||
2109 | IFS=$as_save_IFS | ||
2110 | |||
2111 | fi | ||
2112 | fi | ||
2113 | AWK=$ac_cv_prog_AWK | ||
2114 | if test -n "$AWK"; then | ||
2115 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 | ||
2116 | $as_echo "$AWK" >&6; } | ||
2117 | else | ||
2118 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2119 | $as_echo "no" >&6; } | ||
2120 | fi | ||
2121 | |||
2122 | |||
2123 | test -n "$AWK" && break | ||
2124 | done | ||
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; } | ||
2128 | set x ${MAKE-make} | ||
2129 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
2130 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | ||
2131 | $as_echo_n "(cached) " >&6 | ||
2132 | else | ||
2133 | cat >conftest.make <<\_ACEOF | ||
2134 | SHELL = /bin/sh | ||
2135 | all: | ||
2136 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
2137 | _ACEOF | ||
2138 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | ||
2139 | case `${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;; | ||
2144 | esac | ||
2145 | rm -f conftest.make | ||
2146 | fi | ||
2147 | if 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= | ||
2151 | else | ||
2152 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2153 | $as_echo "no" >&6; } | ||
2154 | SET_MAKE="MAKE=${MAKE-make}" | ||
2155 | fi | ||
2156 | |||
2157 | rm -rf .tst 2>/dev/null | ||
2158 | mkdir .tst 2>/dev/null | ||
2159 | if test -d .tst; then | ||
2160 | am__leading_dot=. | ||
2161 | else | ||
2162 | am__leading_dot=_ | ||
2163 | fi | ||
2164 | rmdir .tst 2>/dev/null | ||
2165 | |||
2166 | if 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 | ||
2176 | fi | ||
2177 | |||
2178 | # test whether we have cygpath | ||
2179 | if 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 | ||
2185 | fi | ||
2186 | |||
2187 | |||
2188 | # Define the identity of the package. | ||
2189 | PACKAGE='maze-of-life' | ||
2190 | VERSION='2.0' | ||
2191 | |||
2192 | |||
2193 | cat >>confdefs.h <<_ACEOF | ||
2194 | #define PACKAGE "$PACKAGE" | ||
2195 | _ACEOF | ||
2196 | |||
2197 | |||
2198 | cat >>confdefs.h <<_ACEOF | ||
2199 | #define VERSION "$VERSION" | ||
2200 | _ACEOF | ||
2201 | |||
2202 | # Some tools Automake needs. | ||
2203 | |||
2204 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
2205 | |||
2206 | |||
2207 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
2208 | |||
2209 | |||
2210 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
2211 | |||
2212 | |||
2213 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
2214 | |||
2215 | |||
2216 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
2217 | |||
2218 | install_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. | ||
2224 | if 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. | ||
2227 | set 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; } | ||
2230 | if test "${ac_cv_prog_STRIP+set}" = set; then | ||
2231 | $as_echo_n "(cached) " >&6 | ||
2232 | else | ||
2233 | if test -n "$STRIP"; then | ||
2234 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
2235 | else | ||
2236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2237 | for as_dir in $PATH | ||
2238 | do | ||
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 | ||
2247 | done | ||
2248 | done | ||
2249 | IFS=$as_save_IFS | ||
2250 | |||
2251 | fi | ||
2252 | fi | ||
2253 | STRIP=$ac_cv_prog_STRIP | ||
2254 | if test -n "$STRIP"; then | ||
2255 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 | ||
2256 | $as_echo "$STRIP" >&6; } | ||
2257 | else | ||
2258 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2259 | $as_echo "no" >&6; } | ||
2260 | fi | ||
2261 | |||
2262 | |||
2263 | fi | ||
2264 | if 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. | ||
2267 | set 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; } | ||
2270 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | ||
2271 | $as_echo_n "(cached) " >&6 | ||
2272 | else | ||
2273 | if test -n "$ac_ct_STRIP"; then | ||
2274 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
2275 | else | ||
2276 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2277 | for as_dir in $PATH | ||
2278 | do | ||
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 | ||
2287 | done | ||
2288 | done | ||
2289 | IFS=$as_save_IFS | ||
2290 | |||
2291 | fi | ||
2292 | fi | ||
2293 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
2294 | if test -n "$ac_ct_STRIP"; then | ||
2295 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | ||
2296 | $as_echo "$ac_ct_STRIP" >&6; } | ||
2297 | else | ||
2298 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2299 | $as_echo "no" >&6; } | ||
2300 | fi | ||
2301 | |||
2302 | if test "x$ac_ct_STRIP" = x; then | ||
2303 | STRIP=":" | ||
2304 | else | ||
2305 | case $cross_compiling:$ac_tool_warned in | ||
2306 | yes:) | ||
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;} | ||
2309 | ac_tool_warned=yes ;; | ||
2310 | esac | ||
2311 | STRIP=$ac_ct_STRIP | ||
2312 | fi | ||
2313 | else | ||
2314 | STRIP="$ac_cv_prog_STRIP" | ||
2315 | fi | ||
2316 | |||
2317 | fi | ||
2318 | INSTALL_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 | |||
2324 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
2325 | |||
2326 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
2327 | |||
2328 | |||
2329 | |||
2330 | |||
2331 | |||
2332 | |||
2333 | ac_config_headers="$ac_config_headers config.h" | ||
2334 | |||
2335 | |||
2336 | # Checks for programs. | ||
2337 | ac_ext=cpp | ||
2338 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
2339 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2340 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2341 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
2342 | if 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. | ||
2350 | set 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; } | ||
2353 | if test "${ac_cv_prog_CXX+set}" = set; then | ||
2354 | $as_echo_n "(cached) " >&6 | ||
2355 | else | ||
2356 | if test -n "$CXX"; then | ||
2357 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | ||
2358 | else | ||
2359 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2360 | for as_dir in $PATH | ||
2361 | do | ||
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 | ||
2370 | done | ||
2371 | done | ||
2372 | IFS=$as_save_IFS | ||
2373 | |||
2374 | fi | ||
2375 | fi | ||
2376 | CXX=$ac_cv_prog_CXX | ||
2377 | if test -n "$CXX"; then | ||
2378 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 | ||
2379 | $as_echo "$CXX" >&6; } | ||
2380 | else | ||
2381 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2382 | $as_echo "no" >&6; } | ||
2383 | fi | ||
2384 | |||
2385 | |||
2386 | test -n "$CXX" && break | ||
2387 | done | ||
2388 | fi | ||
2389 | if 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 | ||
2392 | do | ||
2393 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2394 | set 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; } | ||
2397 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | ||
2398 | $as_echo_n "(cached) " >&6 | ||
2399 | else | ||
2400 | if test -n "$ac_ct_CXX"; then | ||
2401 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ||
2402 | else | ||
2403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2404 | for as_dir in $PATH | ||
2405 | do | ||
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 | ||
2414 | done | ||
2415 | done | ||
2416 | IFS=$as_save_IFS | ||
2417 | |||
2418 | fi | ||
2419 | fi | ||
2420 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ||
2421 | if test -n "$ac_ct_CXX"; then | ||
2422 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | ||
2423 | $as_echo "$ac_ct_CXX" >&6; } | ||
2424 | else | ||
2425 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
2426 | $as_echo "no" >&6; } | ||
2427 | fi | ||
2428 | |||
2429 | |||
2430 | test -n "$ac_ct_CXX" && break | ||
2431 | done | ||
2432 | |||
2433 | if test "x$ac_ct_CXX" = x; then | ||
2434 | CXX="g++" | ||
2435 | else | ||
2436 | case $cross_compiling:$ac_tool_warned in | ||
2437 | yes:) | ||
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;} | ||
2440 | ac_tool_warned=yes ;; | ||
2441 | esac | ||
2442 | CXX=$ac_ct_CXX | ||
2443 | fi | ||
2444 | fi | ||
2445 | |||
2446 | fi | ||
2447 | fi | ||
2448 | # Provide some information about the compiler. | ||
2449 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | ||
2450 | set X $ac_compile | ||
2451 | ac_compiler=$2 | ||
2452 | { (ac_try="$ac_compiler --version >&5" | ||
2453 | case "(($ac_try" in | ||
2454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2455 | *) ac_try_echo=$ac_try;; | ||
2456 | esac | ||
2457 | eval 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" | ||
2464 | case "(($ac_try" in | ||
2465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2466 | *) ac_try_echo=$ac_try;; | ||
2467 | esac | ||
2468 | eval 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" | ||
2475 | case "(($ac_try" in | ||
2476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2477 | *) ac_try_echo=$ac_try;; | ||
2478 | esac | ||
2479 | eval 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 | |||
2486 | cat >conftest.$ac_ext <<_ACEOF | ||
2487 | /* confdefs.h. */ | ||
2488 | _ACEOF | ||
2489 | cat confdefs.h >>conftest.$ac_ext | ||
2490 | cat >>conftest.$ac_ext <<_ACEOF | ||
2491 | /* end confdefs.h. */ | ||
2492 | |||
2493 | int | ||
2494 | main () | ||
2495 | { | ||
2496 | |||
2497 | ; | ||
2498 | return 0; | ||
2499 | } | ||
2500 | _ACEOF | ||
2501 | ac_clean_files_save=$ac_clean_files | ||
2502 | ac_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; } | ||
2508 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
2509 | |||
2510 | # The possible output files: | ||
2511 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
2512 | |||
2513 | ac_rmfiles= | ||
2514 | for ac_file in $ac_files | ||
2515 | do | ||
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 | ||
2520 | done | ||
2521 | rm -f $ac_rmfiles | ||
2522 | |||
2523 | if { (ac_try="$ac_link_default" | ||
2524 | case "(($ac_try" in | ||
2525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2526 | *) ac_try_echo=$ac_try;; | ||
2527 | esac | ||
2528 | eval 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. | ||
2539 | for ac_file in $ac_files '' | ||
2540 | do | ||
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 | ||
2563 | done | ||
2564 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2565 | |||
2566 | else | ||
2567 | ac_file='' | ||
2568 | fi | ||
2569 | |||
2570 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2571 | $as_echo "$ac_file" >&6; } | ||
2572 | if test -z "$ac_file"; then | ||
2573 | $as_echo "$as_me: failed program was:" >&5 | ||
2574 | sed '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 | ||
2579 | See \`config.log' for more details." >&5 | ||
2580 | $as_echo "$as_me: error: C++ compiler cannot create executables | ||
2581 | See \`config.log' for more details." >&2;} | ||
2582 | { (exit 77); exit 77; }; }; } | ||
2583 | fi | ||
2584 | |||
2585 | ac_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. | ||
2593 | if 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;; | ||
2598 | esac | ||
2599 | eval 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. | ||
2613 | If you meant to cross compile, use \`--host'. | ||
2614 | See \`config.log' for more details." >&5 | ||
2615 | $as_echo "$as_me: error: cannot run C++ compiled programs. | ||
2616 | If you meant to cross compile, use \`--host'. | ||
2617 | See \`config.log' for more details." >&2;} | ||
2618 | { (exit 1); exit 1; }; }; } | ||
2619 | fi | ||
2620 | fi | ||
2621 | fi | ||
2622 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
2623 | $as_echo "yes" >&6; } | ||
2624 | |||
2625 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
2626 | ac_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; } | ||
2636 | if { (ac_try="$ac_link" | ||
2637 | case "(($ac_try" in | ||
2638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2639 | *) ac_try_echo=$ac_try;; | ||
2640 | esac | ||
2641 | eval 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'. | ||
2651 | for 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 | ||
2659 | done | ||
2660 | else | ||
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 | ||
2664 | See \`config.log' for more details." >&5 | ||
2665 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
2666 | See \`config.log' for more details." >&2;} | ||
2667 | { (exit 1); exit 1; }; }; } | ||
2668 | fi | ||
2669 | |||
2670 | rm -f conftest$ac_cv_exeext | ||
2671 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
2672 | $as_echo "$ac_cv_exeext" >&6; } | ||
2673 | |||
2674 | rm -f conftest.$ac_ext | ||
2675 | EXEEXT=$ac_cv_exeext | ||
2676 | ac_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; } | ||
2679 | if test "${ac_cv_objext+set}" = set; then | ||
2680 | $as_echo_n "(cached) " >&6 | ||
2681 | else | ||
2682 | cat >conftest.$ac_ext <<_ACEOF | ||
2683 | /* confdefs.h. */ | ||
2684 | _ACEOF | ||
2685 | cat confdefs.h >>conftest.$ac_ext | ||
2686 | cat >>conftest.$ac_ext <<_ACEOF | ||
2687 | /* end confdefs.h. */ | ||
2688 | |||
2689 | int | ||
2690 | main () | ||
2691 | { | ||
2692 | |||
2693 | ; | ||
2694 | return 0; | ||
2695 | } | ||
2696 | _ACEOF | ||
2697 | rm -f conftest.o conftest.obj | ||
2698 | if { (ac_try="$ac_compile" | ||
2699 | case "(($ac_try" in | ||
2700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2701 | *) ac_try_echo=$ac_try;; | ||
2702 | esac | ||
2703 | eval 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 | ||
2716 | done | ||
2717 | else | ||
2718 | $as_echo "$as_me: failed program was:" >&5 | ||
2719 | sed '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 | ||
2724 | See \`config.log' for more details." >&5 | ||
2725 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
2726 | See \`config.log' for more details." >&2;} | ||
2727 | { (exit 1); exit 1; }; }; } | ||
2728 | fi | ||
2729 | |||
2730 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
2731 | fi | ||
2732 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
2733 | $as_echo "$ac_cv_objext" >&6; } | ||
2734 | OBJEXT=$ac_cv_objext | ||
2735 | ac_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; } | ||
2738 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | ||
2739 | $as_echo_n "(cached) " >&6 | ||
2740 | else | ||
2741 | cat >conftest.$ac_ext <<_ACEOF | ||
2742 | /* confdefs.h. */ | ||
2743 | _ACEOF | ||
2744 | cat confdefs.h >>conftest.$ac_ext | ||
2745 | cat >>conftest.$ac_ext <<_ACEOF | ||
2746 | /* end confdefs.h. */ | ||
2747 | |||
2748 | int | ||
2749 | main () | ||
2750 | { | ||
2751 | #ifndef __GNUC__ | ||
2752 | choke me | ||
2753 | #endif | ||
2754 | |||
2755 | ; | ||
2756 | return 0; | ||
2757 | } | ||
2758 | _ACEOF | ||
2759 | rm -f conftest.$ac_objext | ||
2760 | if { (ac_try="$ac_compile" | ||
2761 | case "(($ac_try" in | ||
2762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2763 | *) ac_try_echo=$ac_try;; | ||
2764 | esac | ||
2765 | eval 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 | ||
2778 | else | ||
2779 | $as_echo "$as_me: failed program was:" >&5 | ||
2780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2781 | |||
2782 | ac_compiler_gnu=no | ||
2783 | fi | ||
2784 | |||
2785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2786 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ||
2787 | |||
2788 | fi | ||
2789 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | ||
2790 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | ||
2791 | if test $ac_compiler_gnu = yes; then | ||
2792 | GXX=yes | ||
2793 | else | ||
2794 | GXX= | ||
2795 | fi | ||
2796 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ||
2797 | ac_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; } | ||
2800 | if test "${ac_cv_prog_cxx_g+set}" = set; then | ||
2801 | $as_echo_n "(cached) " >&6 | ||
2802 | else | ||
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 | ||
2810 | cat confdefs.h >>conftest.$ac_ext | ||
2811 | cat >>conftest.$ac_ext <<_ACEOF | ||
2812 | /* end confdefs.h. */ | ||
2813 | |||
2814 | int | ||
2815 | main () | ||
2816 | { | ||
2817 | |||
2818 | ; | ||
2819 | return 0; | ||
2820 | } | ||
2821 | _ACEOF | ||
2822 | rm -f conftest.$ac_objext | ||
2823 | if { (ac_try="$ac_compile" | ||
2824 | case "(($ac_try" in | ||
2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2826 | *) ac_try_echo=$ac_try;; | ||
2827 | esac | ||
2828 | eval 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 | ||
2841 | else | ||
2842 | $as_echo "$as_me: failed program was:" >&5 | ||
2843 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2844 | |||
2845 | CXXFLAGS="" | ||
2846 | cat >conftest.$ac_ext <<_ACEOF | ||
2847 | /* confdefs.h. */ | ||
2848 | _ACEOF | ||
2849 | cat confdefs.h >>conftest.$ac_ext | ||
2850 | cat >>conftest.$ac_ext <<_ACEOF | ||
2851 | /* end confdefs.h. */ | ||
2852 | |||
2853 | int | ||
2854 | main () | ||
2855 | { | ||
2856 | |||
2857 | ; | ||
2858 | return 0; | ||
2859 | } | ||
2860 | _ACEOF | ||
2861 | rm -f conftest.$ac_objext | ||
2862 | if { (ac_try="$ac_compile" | ||
2863 | case "(($ac_try" in | ||
2864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2865 | *) ac_try_echo=$ac_try;; | ||
2866 | esac | ||
2867 | eval 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 | : | ||
2880 | else | ||
2881 | $as_echo "$as_me: failed program was:" >&5 | ||
2882 | sed '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 | ||
2889 | cat confdefs.h >>conftest.$ac_ext | ||
2890 | cat >>conftest.$ac_ext <<_ACEOF | ||
2891 | /* end confdefs.h. */ | ||
2892 | |||
2893 | int | ||
2894 | main () | ||
2895 | { | ||
2896 | |||
2897 | ; | ||
2898 | return 0; | ||
2899 | } | ||
2900 | _ACEOF | ||
2901 | rm -f conftest.$ac_objext | ||
2902 | if { (ac_try="$ac_compile" | ||
2903 | case "(($ac_try" in | ||
2904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2905 | *) ac_try_echo=$ac_try;; | ||
2906 | esac | ||
2907 | eval 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 | ||
2920 | else | ||
2921 | $as_echo "$as_me: failed program was:" >&5 | ||
2922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2923 | |||
2924 | |||
2925 | fi | ||
2926 | |||
2927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2928 | fi | ||
2929 | |||
2930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2931 | fi | ||
2932 | |||
2933 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2934 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | ||
2935 | fi | ||
2936 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | ||
2937 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | ||
2938 | if test "$ac_test_CXXFLAGS" = set; then | ||
2939 | CXXFLAGS=$ac_save_CXXFLAGS | ||
2940 | elif 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 | ||
2946 | else | ||
2947 | if test "$GXX" = yes; then | ||
2948 | CXXFLAGS="-O2" | ||
2949 | else | ||
2950 | CXXFLAGS= | ||
2951 | fi | ||
2952 | fi | ||
2953 | ac_ext=c | ||
2954 | ac_cpp='$CPP $CPPFLAGS' | ||
2955 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2956 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2957 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2958 | DEPDIR="${am__leading_dot}deps" | ||
2959 | |||
2960 | ac_config_commands="$ac_config_commands depfiles" | ||
2961 | |||
2962 | |||
2963 | am_make=${MAKE-make} | ||
2964 | cat > confinc << 'END' | ||
2965 | am__doit: | ||
2966 | @echo done | ||
2967 | .PHONY: am__doit | ||
2968 | END | ||
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; } | ||
2972 | am__include="#" | ||
2973 | am__quote= | ||
2974 | _am_result=none | ||
2975 | # First try GNU make style include. | ||
2976 | echo "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'. | ||
2982 | if 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 | ||
2986 | fi | ||
2987 | # Now try BSD make style include. | ||
2988 | if 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 | ||
2995 | fi | ||
2996 | |||
2997 | |||
2998 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 | ||
2999 | $as_echo "$_am_result" >&6; } | ||
3000 | rm -f confinc confmf | ||
3001 | |||
3002 | # Check whether --enable-dependency-tracking was given. | ||
3003 | if test "${enable_dependency_tracking+set}" = set; then | ||
3004 | enableval=$enable_dependency_tracking; | ||
3005 | fi | ||
3006 | |||
3007 | if test "x$enable_dependency_tracking" != xno; then | ||
3008 | am_depcomp="$ac_aux_dir/depcomp" | ||
3009 | AMDEPBACKSLASH='\' | ||
3010 | fi | ||
3011 | if test "x$enable_dependency_tracking" != xno; then | ||
3012 | AMDEP_TRUE= | ||
3013 | AMDEP_FALSE='#' | ||
3014 | else | ||
3015 | AMDEP_TRUE='#' | ||
3016 | AMDEP_FALSE= | ||
3017 | fi | ||
3018 | |||
3019 | |||
3020 | |||
3021 | depcc="$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; } | ||
3025 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | ||
3026 | $as_echo_n "(cached) " >&6 | ||
3027 | else | ||
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 | ||
3109 | else | ||
3110 | am_cv_CXX_dependencies_compiler_type=none | ||
3111 | fi | ||
3112 | |||
3113 | fi | ||
3114 | { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | ||
3115 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } | ||
3116 | CXXDEPMODE=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='#' | ||
3123 | else | ||
3124 | am__fastdepCXX_TRUE='#' | ||
3125 | am__fastdepCXX_FALSE= | ||
3126 | fi | ||
3127 | |||
3128 | |||
3129 | ac_ext=c | ||
3130 | ac_cpp='$CPP $CPPFLAGS' | ||
3131 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3132 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3133 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3134 | if 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. | ||
3136 | set 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; } | ||
3139 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3140 | $as_echo_n "(cached) " >&6 | ||
3141 | else | ||
3142 | if test -n "$CC"; then | ||
3143 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3144 | else | ||
3145 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3146 | for as_dir in $PATH | ||
3147 | do | ||
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 | ||
3156 | done | ||
3157 | done | ||
3158 | IFS=$as_save_IFS | ||
3159 | |||
3160 | fi | ||
3161 | fi | ||
3162 | CC=$ac_cv_prog_CC | ||
3163 | if test -n "$CC"; then | ||
3164 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3165 | $as_echo "$CC" >&6; } | ||
3166 | else | ||
3167 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3168 | $as_echo "no" >&6; } | ||
3169 | fi | ||
3170 | |||
3171 | |||
3172 | fi | ||
3173 | if 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. | ||
3176 | set 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; } | ||
3179 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3180 | $as_echo_n "(cached) " >&6 | ||
3181 | else | ||
3182 | if test -n "$ac_ct_CC"; then | ||
3183 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3184 | else | ||
3185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3186 | for as_dir in $PATH | ||
3187 | do | ||
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 | ||
3196 | done | ||
3197 | done | ||
3198 | IFS=$as_save_IFS | ||
3199 | |||
3200 | fi | ||
3201 | fi | ||
3202 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3203 | if test -n "$ac_ct_CC"; then | ||
3204 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3205 | $as_echo "$ac_ct_CC" >&6; } | ||
3206 | else | ||
3207 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3208 | $as_echo "no" >&6; } | ||
3209 | fi | ||
3210 | |||
3211 | if test "x$ac_ct_CC" = x; then | ||
3212 | CC="" | ||
3213 | else | ||
3214 | case $cross_compiling:$ac_tool_warned in | ||
3215 | yes:) | ||
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;} | ||
3218 | ac_tool_warned=yes ;; | ||
3219 | esac | ||
3220 | CC=$ac_ct_CC | ||
3221 | fi | ||
3222 | else | ||
3223 | CC="$ac_cv_prog_CC" | ||
3224 | fi | ||
3225 | |||
3226 | if 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. | ||
3229 | set 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; } | ||
3232 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3233 | $as_echo_n "(cached) " >&6 | ||
3234 | else | ||
3235 | if test -n "$CC"; then | ||
3236 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3237 | else | ||
3238 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3239 | for as_dir in $PATH | ||
3240 | do | ||
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 | ||
3249 | done | ||
3250 | done | ||
3251 | IFS=$as_save_IFS | ||
3252 | |||
3253 | fi | ||
3254 | fi | ||
3255 | CC=$ac_cv_prog_CC | ||
3256 | if test -n "$CC"; then | ||
3257 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3258 | $as_echo "$CC" >&6; } | ||
3259 | else | ||
3260 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3261 | $as_echo "no" >&6; } | ||
3262 | fi | ||
3263 | |||
3264 | |||
3265 | fi | ||
3266 | fi | ||
3267 | if test -z "$CC"; then | ||
3268 | # Extract the first word of "cc", so it can be a program name with args. | ||
3269 | set 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; } | ||
3272 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3273 | $as_echo_n "(cached) " >&6 | ||
3274 | else | ||
3275 | if test -n "$CC"; then | ||
3276 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3277 | else | ||
3278 | ac_prog_rejected=no | ||
3279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3280 | for as_dir in $PATH | ||
3281 | do | ||
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 | ||
3294 | done | ||
3295 | done | ||
3296 | IFS=$as_save_IFS | ||
3297 | |||
3298 | if 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 | ||
3309 | fi | ||
3310 | fi | ||
3311 | fi | ||
3312 | CC=$ac_cv_prog_CC | ||
3313 | if test -n "$CC"; then | ||
3314 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3315 | $as_echo "$CC" >&6; } | ||
3316 | else | ||
3317 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3318 | $as_echo "no" >&6; } | ||
3319 | fi | ||
3320 | |||
3321 | |||
3322 | fi | ||
3323 | if 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. | ||
3328 | set 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; } | ||
3331 | if test "${ac_cv_prog_CC+set}" = set; then | ||
3332 | $as_echo_n "(cached) " >&6 | ||
3333 | else | ||
3334 | if test -n "$CC"; then | ||
3335 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
3336 | else | ||
3337 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3338 | for as_dir in $PATH | ||
3339 | do | ||
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 | ||
3348 | done | ||
3349 | done | ||
3350 | IFS=$as_save_IFS | ||
3351 | |||
3352 | fi | ||
3353 | fi | ||
3354 | CC=$ac_cv_prog_CC | ||
3355 | if test -n "$CC"; then | ||
3356 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 | ||
3357 | $as_echo "$CC" >&6; } | ||
3358 | else | ||
3359 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3360 | $as_echo "no" >&6; } | ||
3361 | fi | ||
3362 | |||
3363 | |||
3364 | test -n "$CC" && break | ||
3365 | done | ||
3366 | fi | ||
3367 | if test -z "$CC"; then | ||
3368 | ac_ct_CC=$CC | ||
3369 | for ac_prog in cl.exe | ||
3370 | do | ||
3371 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
3372 | set 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; } | ||
3375 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
3376 | $as_echo_n "(cached) " >&6 | ||
3377 | else | ||
3378 | if test -n "$ac_ct_CC"; then | ||
3379 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
3380 | else | ||
3381 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3382 | for as_dir in $PATH | ||
3383 | do | ||
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 | ||
3392 | done | ||
3393 | done | ||
3394 | IFS=$as_save_IFS | ||
3395 | |||
3396 | fi | ||
3397 | fi | ||
3398 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
3399 | if test -n "$ac_ct_CC"; then | ||
3400 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
3401 | $as_echo "$ac_ct_CC" >&6; } | ||
3402 | else | ||
3403 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3404 | $as_echo "no" >&6; } | ||
3405 | fi | ||
3406 | |||
3407 | |||
3408 | test -n "$ac_ct_CC" && break | ||
3409 | done | ||
3410 | |||
3411 | if test "x$ac_ct_CC" = x; then | ||
3412 | CC="" | ||
3413 | else | ||
3414 | case $cross_compiling:$ac_tool_warned in | ||
3415 | yes:) | ||
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;} | ||
3418 | ac_tool_warned=yes ;; | ||
3419 | esac | ||
3420 | CC=$ac_ct_CC | ||
3421 | fi | ||
3422 | fi | ||
3423 | |||
3424 | fi | ||
3425 | |||
3426 | |||
3427 | test -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 | ||
3430 | See \`config.log' for more details." >&5 | ||
3431 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
3432 | See \`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 | ||
3437 | set X $ac_compile | ||
3438 | ac_compiler=$2 | ||
3439 | { (ac_try="$ac_compiler --version >&5" | ||
3440 | case "(($ac_try" in | ||
3441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3442 | *) ac_try_echo=$ac_try;; | ||
3443 | esac | ||
3444 | eval 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" | ||
3451 | case "(($ac_try" in | ||
3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3453 | *) ac_try_echo=$ac_try;; | ||
3454 | esac | ||
3455 | eval 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" | ||
3462 | case "(($ac_try" in | ||
3463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3464 | *) ac_try_echo=$ac_try;; | ||
3465 | esac | ||
3466 | eval 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; } | ||
3475 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
3476 | $as_echo_n "(cached) " >&6 | ||
3477 | else | ||
3478 | cat >conftest.$ac_ext <<_ACEOF | ||
3479 | /* confdefs.h. */ | ||
3480 | _ACEOF | ||
3481 | cat confdefs.h >>conftest.$ac_ext | ||
3482 | cat >>conftest.$ac_ext <<_ACEOF | ||
3483 | /* end confdefs.h. */ | ||
3484 | |||
3485 | int | ||
3486 | main () | ||
3487 | { | ||
3488 | #ifndef __GNUC__ | ||
3489 | choke me | ||
3490 | #endif | ||
3491 | |||
3492 | ; | ||
3493 | return 0; | ||
3494 | } | ||
3495 | _ACEOF | ||
3496 | rm -f conftest.$ac_objext | ||
3497 | if { (ac_try="$ac_compile" | ||
3498 | case "(($ac_try" in | ||
3499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3500 | *) ac_try_echo=$ac_try;; | ||
3501 | esac | ||
3502 | eval 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 | ||
3515 | else | ||
3516 | $as_echo "$as_me: failed program was:" >&5 | ||
3517 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3518 | |||
3519 | ac_compiler_gnu=no | ||
3520 | fi | ||
3521 | |||
3522 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3523 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
3524 | |||
3525 | fi | ||
3526 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
3527 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
3528 | if test $ac_compiler_gnu = yes; then | ||
3529 | GCC=yes | ||
3530 | else | ||
3531 | GCC= | ||
3532 | fi | ||
3533 | ac_test_CFLAGS=${CFLAGS+set} | ||
3534 | ac_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; } | ||
3537 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
3538 | $as_echo_n "(cached) " >&6 | ||
3539 | else | ||
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 | ||
3547 | cat confdefs.h >>conftest.$ac_ext | ||
3548 | cat >>conftest.$ac_ext <<_ACEOF | ||
3549 | /* end confdefs.h. */ | ||
3550 | |||
3551 | int | ||
3552 | main () | ||
3553 | { | ||
3554 | |||
3555 | ; | ||
3556 | return 0; | ||
3557 | } | ||
3558 | _ACEOF | ||
3559 | rm -f conftest.$ac_objext | ||
3560 | if { (ac_try="$ac_compile" | ||
3561 | case "(($ac_try" in | ||
3562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3563 | *) ac_try_echo=$ac_try;; | ||
3564 | esac | ||
3565 | eval 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 | ||
3578 | else | ||
3579 | $as_echo "$as_me: failed program was:" >&5 | ||
3580 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3581 | |||
3582 | CFLAGS="" | ||
3583 | cat >conftest.$ac_ext <<_ACEOF | ||
3584 | /* confdefs.h. */ | ||
3585 | _ACEOF | ||
3586 | cat confdefs.h >>conftest.$ac_ext | ||
3587 | cat >>conftest.$ac_ext <<_ACEOF | ||
3588 | /* end confdefs.h. */ | ||
3589 | |||
3590 | int | ||
3591 | main () | ||
3592 | { | ||
3593 | |||
3594 | ; | ||
3595 | return 0; | ||
3596 | } | ||
3597 | _ACEOF | ||
3598 | rm -f conftest.$ac_objext | ||
3599 | if { (ac_try="$ac_compile" | ||
3600 | case "(($ac_try" in | ||
3601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3602 | *) ac_try_echo=$ac_try;; | ||
3603 | esac | ||
3604 | eval 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 | : | ||
3617 | else | ||
3618 | $as_echo "$as_me: failed program was:" >&5 | ||
3619 | sed '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 | ||
3626 | cat confdefs.h >>conftest.$ac_ext | ||
3627 | cat >>conftest.$ac_ext <<_ACEOF | ||
3628 | /* end confdefs.h. */ | ||
3629 | |||
3630 | int | ||
3631 | main () | ||
3632 | { | ||
3633 | |||
3634 | ; | ||
3635 | return 0; | ||
3636 | } | ||
3637 | _ACEOF | ||
3638 | rm -f conftest.$ac_objext | ||
3639 | if { (ac_try="$ac_compile" | ||
3640 | case "(($ac_try" in | ||
3641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3642 | *) ac_try_echo=$ac_try;; | ||
3643 | esac | ||
3644 | eval 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 | ||
3657 | else | ||
3658 | $as_echo "$as_me: failed program was:" >&5 | ||
3659 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3660 | |||
3661 | |||
3662 | fi | ||
3663 | |||
3664 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3665 | fi | ||
3666 | |||
3667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3668 | fi | ||
3669 | |||
3670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3671 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3672 | fi | ||
3673 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
3674 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
3675 | if test "$ac_test_CFLAGS" = set; then | ||
3676 | CFLAGS=$ac_save_CFLAGS | ||
3677 | elif 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 | ||
3683 | else | ||
3684 | if test "$GCC" = yes; then | ||
3685 | CFLAGS="-O2" | ||
3686 | else | ||
3687 | CFLAGS= | ||
3688 | fi | ||
3689 | fi | ||
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; } | ||
3692 | if test "${ac_cv_prog_cc_c89+set}" = set; then | ||
3693 | $as_echo_n "(cached) " >&6 | ||
3694 | else | ||
3695 | ac_cv_prog_cc_c89=no | ||
3696 | ac_save_CC=$CC | ||
3697 | cat >conftest.$ac_ext <<_ACEOF | ||
3698 | /* confdefs.h. */ | ||
3699 | _ACEOF | ||
3700 | cat confdefs.h >>conftest.$ac_ext | ||
3701 | cat >>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. */ | ||
3708 | struct buf { int x; }; | ||
3709 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
3710 | static char *e (p, i) | ||
3711 | char **p; | ||
3712 | int i; | ||
3713 | { | ||
3714 | return p[i]; | ||
3715 | } | ||
3716 | static 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. */ | ||
3733 | int 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' | ||
3738 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
3739 | |||
3740 | int test (int i, double x); | ||
3741 | struct s1 {int (*f) (int a);}; | ||
3742 | struct s2 {int (*f) (double a);}; | ||
3743 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
3744 | int argc; | ||
3745 | char **argv; | ||
3746 | int | ||
3747 | main () | ||
3748 | { | ||
3749 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
3750 | ; | ||
3751 | return 0; | ||
3752 | } | ||
3753 | _ACEOF | ||
3754 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
3755 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3756 | do | ||
3757 | CC="$ac_save_CC $ac_arg" | ||
3758 | rm -f conftest.$ac_objext | ||
3759 | if { (ac_try="$ac_compile" | ||
3760 | case "(($ac_try" in | ||
3761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3762 | *) ac_try_echo=$ac_try;; | ||
3763 | esac | ||
3764 | eval 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 | ||
3777 | else | ||
3778 | $as_echo "$as_me: failed program was:" >&5 | ||
3779 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3780 | |||
3781 | |||
3782 | fi | ||
3783 | |||
3784 | rm -f core conftest.err conftest.$ac_objext | ||
3785 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
3786 | done | ||
3787 | rm -f conftest.$ac_ext | ||
3788 | CC=$ac_save_CC | ||
3789 | |||
3790 | fi | ||
3791 | # AC_CACHE_VAL | ||
3792 | case "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; } ;; | ||
3803 | esac | ||
3804 | |||
3805 | |||
3806 | ac_ext=c | ||
3807 | ac_cpp='$CPP $CPPFLAGS' | ||
3808 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3809 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3810 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3811 | |||
3812 | depcc="$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; } | ||
3816 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | ||
3817 | $as_echo_n "(cached) " >&6 | ||
3818 | else | ||
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 | ||
3900 | else | ||
3901 | am_cv_CC_dependencies_compiler_type=none | ||
3902 | fi | ||
3903 | |||
3904 | fi | ||
3905 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
3906 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
3907 | CCDEPMODE=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='#' | ||
3914 | else | ||
3915 | am__fastdepCC_TRUE='#' | ||
3916 | am__fastdepCC_FALSE= | ||
3917 | fi | ||
3918 | |||
3919 | |||
3920 | |||
3921 | # Checks for libraries. | ||
3922 | |||
3923 | |||
3924 | if 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. | ||
3927 | set 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; } | ||
3930 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | ||
3931 | $as_echo_n "(cached) " >&6 | ||
3932 | else | ||
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 | ||
3939 | for as_dir in $PATH | ||
3940 | do | ||
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 | ||
3949 | done | ||
3950 | done | ||
3951 | IFS=$as_save_IFS | ||
3952 | |||
3953 | ;; | ||
3954 | esac | ||
3955 | fi | ||
3956 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | ||
3957 | if test -n "$PKG_CONFIG"; then | ||
3958 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | ||
3959 | $as_echo "$PKG_CONFIG" >&6; } | ||
3960 | else | ||
3961 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
3962 | $as_echo "no" >&6; } | ||
3963 | fi | ||
3964 | |||
3965 | |||
3966 | fi | ||
3967 | if 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. | ||
3970 | set 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; } | ||
3973 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then | ||
3974 | $as_echo_n "(cached) " >&6 | ||
3975 | else | ||
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 | ||
3982 | for as_dir in $PATH | ||
3983 | do | ||
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 | ||
3992 | done | ||
3993 | done | ||
3994 | IFS=$as_save_IFS | ||
3995 | |||
3996 | ;; | ||
3997 | esac | ||
3998 | fi | ||
3999 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | ||
4000 | if 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; } | ||
4003 | else | ||
4004 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
4005 | $as_echo "no" >&6; } | ||
4006 | fi | ||
4007 | |||
4008 | if test "x$ac_pt_PKG_CONFIG" = x; then | ||
4009 | PKG_CONFIG="" | ||
4010 | else | ||
4011 | case $cross_compiling:$ac_tool_warned in | ||
4012 | yes:) | ||
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;} | ||
4015 | ac_tool_warned=yes ;; | ||
4016 | esac | ||
4017 | PKG_CONFIG=$ac_pt_PKG_CONFIG | ||
4018 | fi | ||
4019 | else | ||
4020 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | ||
4021 | fi | ||
4022 | |||
4023 | fi | ||
4024 | if 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 | |||
4037 | fi | ||
4038 | |||
4039 | pkg_failed=no | ||
4040 | { $as_echo "$as_me:$LINENO: checking for SDL" >&5 | ||
4041 | $as_echo_n "checking for SDL... " >&6; } | ||
4042 | |||
4043 | if 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` | ||
4054 | else | ||
4055 | pkg_failed=yes | ||
4056 | fi | ||
4057 | fi | ||
4058 | else | ||
4059 | pkg_failed=untried | ||
4060 | fi | ||
4061 | if 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` | ||
4072 | else | ||
4073 | pkg_failed=yes | ||
4074 | fi | ||
4075 | fi | ||
4076 | else | ||
4077 | pkg_failed=untried | ||
4078 | fi | ||
4079 | |||
4080 | |||
4081 | |||
4082 | if test $pkg_failed = yes; then | ||
4083 | |||
4084 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
4085 | _pkg_short_errors_supported=yes | ||
4086 | else | ||
4087 | _pkg_short_errors_supported=no | ||
4088 | fi | ||
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 | |||
4101 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4102 | installed software in a non-standard prefix. | ||
4103 | |||
4104 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4105 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4106 | See 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 | |||
4112 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
4113 | installed software in a non-standard prefix. | ||
4114 | |||
4115 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4116 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4117 | See the pkg-config man page for more details. | ||
4118 | " >&2;} | ||
4119 | { (exit 1); exit 1; }; } | ||
4120 | elif 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 | ||
4124 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4125 | path to pkg-config. | ||
4126 | |||
4127 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4128 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4129 | See the pkg-config man page for more details. | ||
4130 | |||
4131 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4132 | See \`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 | ||
4134 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
4135 | path to pkg-config. | ||
4136 | |||
4137 | Alternatively, you may set the environment variables SDL_CFLAGS | ||
4138 | and SDL_LIBS to avoid the need to call pkg-config. | ||
4139 | See the pkg-config man page for more details. | ||
4140 | |||
4141 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. | ||
4142 | See \`config.log' for more details." >&2;} | ||
4143 | { (exit 1); exit 1; }; }; } | ||
4144 | else | ||
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 | : | ||
4150 | fi | ||
4151 | CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" | ||
4152 | LDFLAGS="$SDL_LIBS" | ||
4153 | |||
4154 | # Checks for header files. | ||
4155 | |||
4156 | # Checks for typedefs, structures, and compiler characteristics. | ||
4157 | |||
4158 | ac_ext=c | ||
4159 | ac_cpp='$CPP $CPPFLAGS' | ||
4160 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4161 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4162 | ac_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. | ||
4166 | if test -n "$CPP" && test -d "$CPP"; then | ||
4167 | CPP= | ||
4168 | fi | ||
4169 | if test -z "$CPP"; then | ||
4170 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
4171 | $as_echo_n "(cached) " >&6 | ||
4172 | else | ||
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 | ||
4177 | for ac_c_preproc_warn_flag in '' yes | ||
4178 | do | ||
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 | ||
4188 | cat confdefs.h >>conftest.$ac_ext | ||
4189 | cat >>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 | ||
4198 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4199 | case "(($ac_try" in | ||
4200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4201 | *) ac_try_echo=$ac_try;; | ||
4202 | esac | ||
4203 | eval 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 | : | ||
4216 | else | ||
4217 | $as_echo "$as_me: failed program was:" >&5 | ||
4218 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4219 | |||
4220 | # Broken: fails on valid input. | ||
4221 | continue | ||
4222 | fi | ||
4223 | |||
4224 | rm -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 | ||
4231 | cat confdefs.h >>conftest.$ac_ext | ||
4232 | cat >>conftest.$ac_ext <<_ACEOF | ||
4233 | /* end confdefs.h. */ | ||
4234 | #include <ac_nonexistent.h> | ||
4235 | _ACEOF | ||
4236 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4237 | case "(($ac_try" in | ||
4238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4239 | *) ac_try_echo=$ac_try;; | ||
4240 | esac | ||
4241 | eval 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. | ||
4254 | continue | ||
4255 | else | ||
4256 | $as_echo "$as_me: failed program was:" >&5 | ||
4257 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4258 | |||
4259 | # Passes both tests. | ||
4260 | ac_preproc_ok=: | ||
4261 | break | ||
4262 | fi | ||
4263 | |||
4264 | rm -f conftest.err conftest.$ac_ext | ||
4265 | |||
4266 | done | ||
4267 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4268 | rm -f conftest.err conftest.$ac_ext | ||
4269 | if $ac_preproc_ok; then | ||
4270 | break | ||
4271 | fi | ||
4272 | |||
4273 | done | ||
4274 | ac_cv_prog_CPP=$CPP | ||
4275 | |||
4276 | fi | ||
4277 | CPP=$ac_cv_prog_CPP | ||
4278 | else | ||
4279 | ac_cv_prog_CPP=$CPP | ||
4280 | fi | ||
4281 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 | ||
4282 | $as_echo "$CPP" >&6; } | ||
4283 | ac_preproc_ok=false | ||
4284 | for ac_c_preproc_warn_flag in '' yes | ||
4285 | do | ||
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 | ||
4295 | cat confdefs.h >>conftest.$ac_ext | ||
4296 | cat >>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 | ||
4305 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4306 | case "(($ac_try" in | ||
4307 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4308 | *) ac_try_echo=$ac_try;; | ||
4309 | esac | ||
4310 | eval 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 | : | ||
4323 | else | ||
4324 | $as_echo "$as_me: failed program was:" >&5 | ||
4325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4326 | |||
4327 | # Broken: fails on valid input. | ||
4328 | continue | ||
4329 | fi | ||
4330 | |||
4331 | rm -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 | ||
4338 | cat confdefs.h >>conftest.$ac_ext | ||
4339 | cat >>conftest.$ac_ext <<_ACEOF | ||
4340 | /* end confdefs.h. */ | ||
4341 | #include <ac_nonexistent.h> | ||
4342 | _ACEOF | ||
4343 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
4344 | case "(($ac_try" in | ||
4345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4346 | *) ac_try_echo=$ac_try;; | ||
4347 | esac | ||
4348 | eval 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. | ||
4361 | continue | ||
4362 | else | ||
4363 | $as_echo "$as_me: failed program was:" >&5 | ||
4364 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4365 | |||
4366 | # Passes both tests. | ||
4367 | ac_preproc_ok=: | ||
4368 | break | ||
4369 | fi | ||
4370 | |||
4371 | rm -f conftest.err conftest.$ac_ext | ||
4372 | |||
4373 | done | ||
4374 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
4375 | rm -f conftest.err conftest.$ac_ext | ||
4376 | if $ac_preproc_ok; then | ||
4377 | : | ||
4378 | else | ||
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 | ||
4382 | See \`config.log' for more details." >&5 | ||
4383 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
4384 | See \`config.log' for more details." >&2;} | ||
4385 | { (exit 1); exit 1; }; }; } | ||
4386 | fi | ||
4387 | |||
4388 | ac_ext=c | ||
4389 | ac_cpp='$CPP $CPPFLAGS' | ||
4390 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
4391 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
4392 | ac_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; } | ||
4397 | if test "${ac_cv_path_GREP+set}" = set; then | ||
4398 | $as_echo_n "(cached) " >&6 | ||
4399 | else | ||
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 | ||
4404 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4405 | do | ||
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 | ||
4414 | case `"$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;; | ||
4438 | esac | ||
4439 | |||
4440 | $ac_path_GREP_found && break 3 | ||
4441 | done | ||
4442 | done | ||
4443 | done | ||
4444 | IFS=$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 | ||
4450 | else | ||
4451 | ac_cv_path_GREP=$GREP | ||
4452 | fi | ||
4453 | |||
4454 | fi | ||
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; } | ||
4462 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4463 | $as_echo_n "(cached) " >&6 | ||
4464 | else | ||
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 | ||
4472 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4473 | do | ||
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 | ||
4482 | case `"$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;; | ||
4506 | esac | ||
4507 | |||
4508 | $ac_path_EGREP_found && break 3 | ||
4509 | done | ||
4510 | done | ||
4511 | done | ||
4512 | IFS=$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 | ||
4518 | else | ||
4519 | ac_cv_path_EGREP=$EGREP | ||
4520 | fi | ||
4521 | |||
4522 | fi | ||
4523 | fi | ||
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; } | ||
4531 | if test "${ac_cv_header_stdc+set}" = set; then | ||
4532 | $as_echo_n "(cached) " >&6 | ||
4533 | else | ||
4534 | cat >conftest.$ac_ext <<_ACEOF | ||
4535 | /* confdefs.h. */ | ||
4536 | _ACEOF | ||
4537 | cat confdefs.h >>conftest.$ac_ext | ||
4538 | cat >>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 | |||
4545 | int | ||
4546 | main () | ||
4547 | { | ||
4548 | |||
4549 | ; | ||
4550 | return 0; | ||
4551 | } | ||
4552 | _ACEOF | ||
4553 | rm -f conftest.$ac_objext | ||
4554 | if { (ac_try="$ac_compile" | ||
4555 | case "(($ac_try" in | ||
4556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4557 | *) ac_try_echo=$ac_try;; | ||
4558 | esac | ||
4559 | eval 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 | ||
4572 | else | ||
4573 | $as_echo "$as_me: failed program was:" >&5 | ||
4574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4575 | |||
4576 | ac_cv_header_stdc=no | ||
4577 | fi | ||
4578 | |||
4579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4580 | |||
4581 | if 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 | ||
4586 | cat confdefs.h >>conftest.$ac_ext | ||
4587 | cat >>conftest.$ac_ext <<_ACEOF | ||
4588 | /* end confdefs.h. */ | ||
4589 | #include <string.h> | ||
4590 | |||
4591 | _ACEOF | ||
4592 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4593 | $EGREP "memchr" >/dev/null 2>&1; then | ||
4594 | : | ||
4595 | else | ||
4596 | ac_cv_header_stdc=no | ||
4597 | fi | ||
4598 | rm -f conftest* | ||
4599 | |||
4600 | fi | ||
4601 | |||
4602 | if 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 | ||
4607 | cat confdefs.h >>conftest.$ac_ext | ||
4608 | cat >>conftest.$ac_ext <<_ACEOF | ||
4609 | /* end confdefs.h. */ | ||
4610 | #include <stdlib.h> | ||
4611 | |||
4612 | _ACEOF | ||
4613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4614 | $EGREP "free" >/dev/null 2>&1; then | ||
4615 | : | ||
4616 | else | ||
4617 | ac_cv_header_stdc=no | ||
4618 | fi | ||
4619 | rm -f conftest* | ||
4620 | |||
4621 | fi | ||
4622 | |||
4623 | if 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 | : | ||
4627 | else | ||
4628 | cat >conftest.$ac_ext <<_ACEOF | ||
4629 | /* confdefs.h. */ | ||
4630 | _ACEOF | ||
4631 | cat confdefs.h >>conftest.$ac_ext | ||
4632 | cat >>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))) | ||
4648 | int | ||
4649 | main () | ||
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 | ||
4659 | rm -f conftest$ac_exeext | ||
4660 | if { (ac_try="$ac_link" | ||
4661 | case "(($ac_try" in | ||
4662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4663 | *) ac_try_echo=$ac_try;; | ||
4664 | esac | ||
4665 | eval 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;; | ||
4674 | esac | ||
4675 | eval 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 | : | ||
4682 | else | ||
4683 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
4684 | $as_echo "$as_me: failed program was:" >&5 | ||
4685 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4686 | |||
4687 | ( exit $ac_status ) | ||
4688 | ac_cv_header_stdc=no | ||
4689 | fi | ||
4690 | rm -rf conftest.dSYM | ||
4691 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4692 | fi | ||
4693 | |||
4694 | |||
4695 | fi | ||
4696 | fi | ||
4697 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
4698 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
4699 | if test $ac_cv_header_stdc = yes; then | ||
4700 | |||
4701 | cat >>confdefs.h <<\_ACEOF | ||
4702 | #define STDC_HEADERS 1 | ||
4703 | _ACEOF | ||
4704 | |||
4705 | fi | ||
4706 | |||
4707 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
4708 | |||
4709 | |||
4710 | |||
4711 | |||
4712 | |||
4713 | |||
4714 | |||
4715 | |||
4716 | |||
4717 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
4718 | inttypes.h stdint.h unistd.h | ||
4719 | do | ||
4720 | as_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; } | ||
4723 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
4724 | $as_echo_n "(cached) " >&6 | ||
4725 | else | ||
4726 | cat >conftest.$ac_ext <<_ACEOF | ||
4727 | /* confdefs.h. */ | ||
4728 | _ACEOF | ||
4729 | cat confdefs.h >>conftest.$ac_ext | ||
4730 | cat >>conftest.$ac_ext <<_ACEOF | ||
4731 | /* end confdefs.h. */ | ||
4732 | $ac_includes_default | ||
4733 | |||
4734 | #include <$ac_header> | ||
4735 | _ACEOF | ||
4736 | rm -f conftest.$ac_objext | ||
4737 | if { (ac_try="$ac_compile" | ||
4738 | case "(($ac_try" in | ||
4739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4740 | *) ac_try_echo=$ac_try;; | ||
4741 | esac | ||
4742 | eval 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" | ||
4755 | else | ||
4756 | $as_echo "$as_me: failed program was:" >&5 | ||
4757 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4758 | |||
4759 | eval "$as_ac_Header=no" | ||
4760 | fi | ||
4761 | |||
4762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4763 | fi | ||
4764 | ac_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; } | ||
4768 | as_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 | |||
4775 | fi | ||
4776 | |||
4777 | done | ||
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; } | ||
4782 | if test "${ac_cv_header_stdbool_h+set}" = set; then | ||
4783 | $as_echo_n "(cached) " >&6 | ||
4784 | else | ||
4785 | cat >conftest.$ac_ext <<_ACEOF | ||
4786 | /* confdefs.h. */ | ||
4787 | _ACEOF | ||
4788 | cat confdefs.h >>conftest.$ac_ext | ||
4789 | cat >>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 | |||
4855 | int | ||
4856 | main () | ||
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 | ||
4869 | rm -f conftest.$ac_objext | ||
4870 | if { (ac_try="$ac_compile" | ||
4871 | case "(($ac_try" in | ||
4872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4873 | *) ac_try_echo=$ac_try;; | ||
4874 | esac | ||
4875 | eval 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 | ||
4888 | else | ||
4889 | $as_echo "$as_me: failed program was:" >&5 | ||
4890 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4891 | |||
4892 | ac_cv_header_stdbool_h=no | ||
4893 | fi | ||
4894 | |||
4895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4896 | fi | ||
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; } | ||
4901 | if test "${ac_cv_type__Bool+set}" = set; then | ||
4902 | $as_echo_n "(cached) " >&6 | ||
4903 | else | ||
4904 | ac_cv_type__Bool=no | ||
4905 | cat >conftest.$ac_ext <<_ACEOF | ||
4906 | /* confdefs.h. */ | ||
4907 | _ACEOF | ||
4908 | cat confdefs.h >>conftest.$ac_ext | ||
4909 | cat >>conftest.$ac_ext <<_ACEOF | ||
4910 | /* end confdefs.h. */ | ||
4911 | $ac_includes_default | ||
4912 | int | ||
4913 | main () | ||
4914 | { | ||
4915 | if (sizeof (_Bool)) | ||
4916 | return 0; | ||
4917 | ; | ||
4918 | return 0; | ||
4919 | } | ||
4920 | _ACEOF | ||
4921 | rm -f conftest.$ac_objext | ||
4922 | if { (ac_try="$ac_compile" | ||
4923 | case "(($ac_try" in | ||
4924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4925 | *) ac_try_echo=$ac_try;; | ||
4926 | esac | ||
4927 | eval 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 | ||
4942 | cat confdefs.h >>conftest.$ac_ext | ||
4943 | cat >>conftest.$ac_ext <<_ACEOF | ||
4944 | /* end confdefs.h. */ | ||
4945 | $ac_includes_default | ||
4946 | int | ||
4947 | main () | ||
4948 | { | ||
4949 | if (sizeof ((_Bool))) | ||
4950 | return 0; | ||
4951 | ; | ||
4952 | return 0; | ||
4953 | } | ||
4954 | _ACEOF | ||
4955 | rm -f conftest.$ac_objext | ||
4956 | if { (ac_try="$ac_compile" | ||
4957 | case "(($ac_try" in | ||
4958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4959 | *) ac_try_echo=$ac_try;; | ||
4960 | esac | ||
4961 | eval 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 | : | ||
4974 | else | ||
4975 | $as_echo "$as_me: failed program was:" >&5 | ||
4976 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4977 | |||
4978 | ac_cv_type__Bool=yes | ||
4979 | fi | ||
4980 | |||
4981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4982 | else | ||
4983 | $as_echo "$as_me: failed program was:" >&5 | ||
4984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4985 | |||
4986 | |||
4987 | fi | ||
4988 | |||
4989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4990 | fi | ||
4991 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | ||
4992 | $as_echo "$ac_cv_type__Bool" >&6; } | ||
4993 | if test "x$ac_cv_type__Bool" = x""yes; then | ||
4994 | |||
4995 | cat >>confdefs.h <<_ACEOF | ||
4996 | #define HAVE__BOOL 1 | ||
4997 | _ACEOF | ||
4998 | |||
4999 | |||
5000 | fi | ||
5001 | |||
5002 | if test $ac_cv_header_stdbool_h = yes; then | ||
5003 | |||
5004 | cat >>confdefs.h <<\_ACEOF | ||
5005 | #define HAVE_STDBOOL_H 1 | ||
5006 | _ACEOF | ||
5007 | |||
5008 | fi | ||
5009 | |||
5010 | |||
5011 | # Checks for library functions. | ||
5012 | |||
5013 | for ac_func in atexit | ||
5014 | do | ||
5015 | as_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; } | ||
5018 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5019 | $as_echo_n "(cached) " >&6 | ||
5020 | else | ||
5021 | cat >conftest.$ac_ext <<_ACEOF | ||
5022 | /* confdefs.h. */ | ||
5023 | _ACEOF | ||
5024 | cat confdefs.h >>conftest.$ac_ext | ||
5025 | cat >>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 | ||
5048 | extern "C" | ||
5049 | #endif | ||
5050 | char $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 | ||
5055 | choke me | ||
5056 | #endif | ||
5057 | |||
5058 | int | ||
5059 | main () | ||
5060 | { | ||
5061 | return $ac_func (); | ||
5062 | ; | ||
5063 | return 0; | ||
5064 | } | ||
5065 | _ACEOF | ||
5066 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5067 | if { (ac_try="$ac_link" | ||
5068 | case "(($ac_try" in | ||
5069 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5070 | *) ac_try_echo=$ac_try;; | ||
5071 | esac | ||
5072 | eval 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" | ||
5088 | else | ||
5089 | $as_echo "$as_me: failed program was:" >&5 | ||
5090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5091 | |||
5092 | eval "$as_ac_var=no" | ||
5093 | fi | ||
5094 | |||
5095 | rm -rf conftest.dSYM | ||
5096 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5097 | conftest$ac_exeext conftest.$ac_ext | ||
5098 | fi | ||
5099 | ac_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; } | ||
5103 | as_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 | |||
5110 | fi | ||
5111 | done | ||
5112 | |||
5113 | |||
5114 | ac_config_files="$ac_config_files Makefile src/Makefile" | ||
5115 | |||
5116 | cat >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 | ||
5178 | if 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 | ||
5188 | fi | ||
5189 | rm -f confcache | ||
5190 | |||
5191 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
5192 | # Let make expand exec_prefix. | ||
5193 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
5194 | |||
5195 | DEFS=-DHAVE_CONFIG_H | ||
5196 | |||
5197 | ac_libobjs= | ||
5198 | ac_ltlibobjs= | ||
5199 | for 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' | ||
5207 | done | ||
5208 | LIBOBJS=$ac_libobjs | ||
5209 | |||
5210 | LTLIBOBJS=$ac_ltlibobjs | ||
5211 | |||
5212 | |||
5213 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | ||
5214 | { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | ||
5215 | Usually this means the macro was only invoked conditionally." >&5 | ||
5216 | $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. | ||
5217 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5218 | { (exit 1); exit 1; }; } | ||
5219 | fi | ||
5220 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | ||
5221 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | ||
5222 | Usually this means the macro was only invoked conditionally." >&5 | ||
5223 | $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | ||
5224 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5225 | { (exit 1); exit 1; }; } | ||
5226 | fi | ||
5227 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | ||
5228 | { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | ||
5229 | Usually this means the macro was only invoked conditionally." >&5 | ||
5230 | $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | ||
5231 | Usually this means the macro was only invoked conditionally." >&2;} | ||
5232 | { (exit 1); exit 1; }; } | ||
5233 | fi | ||
5234 | |||
5235 | : ${CONFIG_STATUS=./config.status} | ||
5236 | ac_write_fail=0 | ||
5237 | ac_clean_files_save=$ac_clean_files | ||
5238 | ac_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;} | ||
5241 | cat >$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 | |||
5248 | debug=false | ||
5249 | ac_cs_recheck=false | ||
5250 | ac_cs_silent=false | ||
5251 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
5252 | _ACEOF | ||
5253 | |||
5254 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5255 | ## --------------------- ## | ||
5256 | ## M4sh Initialization. ## | ||
5257 | ## --------------------- ## | ||
5258 | |||
5259 | # Be more Bourne compatible | ||
5260 | DUALCASE=1; export DUALCASE # for MKS sh | ||
5261 | if 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 | ||
5268 | else | ||
5269 | case `(set -o) 2>/dev/null` in | ||
5270 | *posix*) set -o posix ;; | ||
5271 | esac | ||
5272 | |||
5273 | fi | ||
5274 | |||
5275 | |||
5276 | |||
5277 | |||
5278 | # PATH needs CR | ||
5279 | # Avoid depending upon Character Ranges. | ||
5280 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
5281 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
5282 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
5283 | as_cr_digits='0123456789' | ||
5284 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
5285 | |||
5286 | as_nl=' | ||
5287 | ' | ||
5288 | export as_nl | ||
5289 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
5290 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
5291 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5292 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
5293 | if (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' | ||
5296 | else | ||
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' | ||
5316 | fi | ||
5317 | |||
5318 | # The user is always right. | ||
5319 | if 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 | } | ||
5325 | fi | ||
5326 | |||
5327 | # Support unset when possible. | ||
5328 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
5329 | as_unset=unset | ||
5330 | else | ||
5331 | as_unset=false | ||
5332 | fi | ||
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.) | ||
5340 | IFS=" "" $as_nl" | ||
5341 | |||
5342 | # Find who we are. Look in the path if we contain no directory separator. | ||
5343 | case $0 in | ||
5344 | *[\\/]* ) as_myself=$0 ;; | ||
5345 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5346 | for as_dir in $PATH | ||
5347 | do | ||
5348 | IFS=$as_save_IFS | ||
5349 | test -z "$as_dir" && as_dir=. | ||
5350 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
5351 | done | ||
5352 | IFS=$as_save_IFS | ||
5353 | |||
5354 | ;; | ||
5355 | esac | ||
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. | ||
5358 | if test "x$as_myself" = x; then | ||
5359 | as_myself=$0 | ||
5360 | fi | ||
5361 | if 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; } | ||
5364 | fi | ||
5365 | |||
5366 | # Work around bugs in pre-3.0 UWIN ksh. | ||
5367 | for as_var in ENV MAIL MAILPATH | ||
5368 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
5369 | done | ||
5370 | PS1='$ ' | ||
5371 | PS2='> ' | ||
5372 | PS4='+ ' | ||
5373 | |||
5374 | # NLS nuisances. | ||
5375 | LC_ALL=C | ||
5376 | export LC_ALL | ||
5377 | LANGUAGE=C | ||
5378 | export LANGUAGE | ||
5379 | |||
5380 | # Required to use basename. | ||
5381 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5382 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5383 | as_expr=expr | ||
5384 | else | ||
5385 | as_expr=false | ||
5386 | fi | ||
5387 | |||
5388 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
5389 | as_basename=basename | ||
5390 | else | ||
5391 | as_basename=false | ||
5392 | fi | ||
5393 | |||
5394 | |||
5395 | # Name of the executable. | ||
5396 | as_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 | |||
5463 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
5464 | as_dirname=dirname | ||
5465 | else | ||
5466 | as_dirname=false | ||
5467 | fi | ||
5468 | |||
5469 | ECHO_C= ECHO_N= ECHO_T= | ||
5470 | case `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';; | ||
5478 | esac | ||
5479 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
5480 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
5481 | as_expr=expr | ||
5482 | else | ||
5483 | as_expr=false | ||
5484 | fi | ||
5485 | |||
5486 | rm -f conf$$ conf$$.exe conf$$.file | ||
5487 | if test -d conf$$.dir; then | ||
5488 | rm -f conf$$.dir/conf$$.file | ||
5489 | else | ||
5490 | rm -f conf$$.dir | ||
5491 | mkdir conf$$.dir 2>/dev/null | ||
5492 | fi | ||
5493 | if (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 | ||
5507 | else | ||
5508 | as_ln_s='cp -p' | ||
5509 | fi | ||
5510 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
5511 | rmdir conf$$.dir 2>/dev/null | ||
5512 | |||
5513 | if mkdir -p . 2>/dev/null; then | ||
5514 | as_mkdir_p=: | ||
5515 | else | ||
5516 | test -d ./-p && rmdir ./-p | ||
5517 | as_mkdir_p=false | ||
5518 | fi | ||
5519 | |||
5520 | if test -x / >/dev/null 2>&1; then | ||
5521 | as_test_x='test -x' | ||
5522 | else | ||
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 | ' | ||
5540 | fi | ||
5541 | as_executable_p=$as_test_x | ||
5542 | |||
5543 | # Sed expression to map a string onto a valid CPP name. | ||
5544 | as_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. | ||
5547 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
5548 | |||
5549 | |||
5550 | exec 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. | ||
5555 | ac_log=" | ||
5556 | This file was extended by Maze Of Life $as_me 2.0, which was | ||
5557 | generated 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 | |||
5565 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
5566 | " | ||
5567 | |||
5568 | _ACEOF | ||
5569 | |||
5570 | case $ac_config_files in *" | ||
5571 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
5572 | esac | ||
5573 | |||
5574 | case $ac_config_headers in *" | ||
5575 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
5576 | esac | ||
5577 | |||
5578 | |||
5579 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5580 | # Files that config.status was made for. | ||
5581 | config_files="$ac_config_files" | ||
5582 | config_headers="$ac_config_headers" | ||
5583 | config_commands="$ac_config_commands" | ||
5584 | |||
5585 | _ACEOF | ||
5586 | |||
5587 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5588 | ac_cs_usage="\ | ||
5589 | \`$as_me' instantiates files from templates according to the | ||
5590 | current configuration. | ||
5591 | |||
5592 | Usage: $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 | |||
5605 | Configuration files: | ||
5606 | $config_files | ||
5607 | |||
5608 | Configuration headers: | ||
5609 | $config_headers | ||
5610 | |||
5611 | Configuration commands: | ||
5612 | $config_commands | ||
5613 | |||
5614 | Report bugs to <bug-autoconf@gnu.org>." | ||
5615 | |||
5616 | _ACEOF | ||
5617 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5618 | ac_cs_version="\\ | ||
5619 | Maze Of Life config.status 2.0 | ||
5620 | configured by $0, generated by GNU Autoconf 2.63, | ||
5621 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
5622 | |||
5623 | Copyright (C) 2008 Free Software Foundation, Inc. | ||
5624 | This config.status script is free software; the Free Software Foundation | ||
5625 | gives unlimited permission to copy, distribute and modify it." | ||
5626 | |||
5627 | ac_pwd='$ac_pwd' | ||
5628 | srcdir='$srcdir' | ||
5629 | INSTALL='$INSTALL' | ||
5630 | MKDIR_P='$MKDIR_P' | ||
5631 | AWK='$AWK' | ||
5632 | test -n "\$AWK" || AWK=awk | ||
5633 | _ACEOF | ||
5634 | |||
5635 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5636 | # The default lists apply if the user does not specify any file. | ||
5637 | ac_need_defaults=: | ||
5638 | while test $# != 0 | ||
5639 | do | ||
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 | ||
5678 | Try \`$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 | ||
5688 | Try \`$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 | ||
5696 | done | ||
5697 | |||
5698 | ac_configure_extra_args= | ||
5699 | |||
5700 | if $ac_cs_silent; then | ||
5701 | exec 6>/dev/null | ||
5702 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
5703 | fi | ||
5704 | |||
5705 | _ACEOF | ||
5706 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5707 | if \$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 "\$@" | ||
5714 | fi | ||
5715 | |||
5716 | _ACEOF | ||
5717 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5718 | exec 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 | ||
5728 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5729 | # | ||
5730 | # INIT-COMMANDS | ||
5731 | # | ||
5732 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | ||
5733 | |||
5734 | _ACEOF | ||
5735 | |||
5736 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5737 | |||
5738 | # Handling of arguments. | ||
5739 | for ac_config_target in $ac_config_targets | ||
5740 | do | ||
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 | ||
5751 | done | ||
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. | ||
5758 | if $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 | ||
5762 | fi | ||
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'. | ||
5796 | if test -n "$CONFIG_FILES"; then | ||
5797 | |||
5798 | |||
5799 | ac_cr=' ' | ||
5800 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
5801 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
5802 | ac_cs_awk_cr='\\r' | ||
5803 | else | ||
5804 | ac_cs_awk_cr=$ac_cr | ||
5805 | fi | ||
5806 | |||
5807 | echo '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; }; } | ||
5819 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | ||
5820 | ac_delim='%!_!# ' | ||
5821 | for 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 | ||
5837 | done | ||
5838 | rm -f conf$$subs.sh | ||
5839 | |||
5840 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5841 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | ||
5842 | _ACEOF | ||
5843 | sed -n ' | ||
5844 | h | ||
5845 | s/^/S["/; s/!.*/"]=/ | ||
5846 | p | ||
5847 | g | ||
5848 | s/^[^!]*!// | ||
5849 | :repl | ||
5850 | t repl | ||
5851 | s/'"$ac_delim"'$// | ||
5852 | t delim | ||
5853 | :nl | ||
5854 | h | ||
5855 | s/\(.\{148\}\).*/\1/ | ||
5856 | t more1 | ||
5857 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
5858 | p | ||
5859 | n | ||
5860 | b repl | ||
5861 | :more1 | ||
5862 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5863 | p | ||
5864 | g | ||
5865 | s/.\{148\}// | ||
5866 | t nl | ||
5867 | :delim | ||
5868 | h | ||
5869 | s/\(.\{148\}\).*/\1/ | ||
5870 | t more2 | ||
5871 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
5872 | p | ||
5873 | b | ||
5874 | :more2 | ||
5875 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
5876 | p | ||
5877 | g | ||
5878 | s/.\{148\}// | ||
5879 | t delim | ||
5880 | ' <conf$$subs.awk | sed ' | ||
5881 | /^[^""]/{ | ||
5882 | N | ||
5883 | s/\n// | ||
5884 | } | ||
5885 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
5886 | rm -f conf$$subs.awk | ||
5887 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
5888 | _ACAWK | ||
5889 | cat >>"\$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 | ||
5916 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5917 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
5918 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
5919 | else | ||
5920 | cat | ||
5921 | fi < "$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). | ||
5931 | if test "x$srcdir" = x.; then | ||
5932 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
5933 | s/:*\$(srcdir):*/:/ | ||
5934 | s/:*\${srcdir}:*/:/ | ||
5935 | s/:*@srcdir@:*/:/ | ||
5936 | s/^\([^=]*=[ ]*\):*/\1/ | ||
5937 | s/:*$// | ||
5938 | s/^[^=]*=[ ]*$// | ||
5939 | }' | ||
5940 | fi | ||
5941 | |||
5942 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5943 | fi # 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'. | ||
5948 | if test -n "$CONFIG_HEADERS"; then | ||
5949 | cat >"$tmp/defines.awk" <<\_ACAWK || | ||
5950 | BEGIN { | ||
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. | ||
5959 | ac_delim='%!_!# ' | ||
5960 | for 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 | ||
5971 | done | ||
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 | |||
5977 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
5978 | sed -n ' | ||
5979 | s/.\{148\}/&'"$ac_delim"'/g | ||
5980 | t rset | ||
5981 | :rset | ||
5982 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
5983 | t def | ||
5984 | d | ||
5985 | :def | ||
5986 | s/\\$// | ||
5987 | t bsnl | ||
5988 | s/["\\]/\\&/g | ||
5989 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5990 | D["\1"]=" \3"/p | ||
5991 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
5992 | d | ||
5993 | :bsnl | ||
5994 | s/["\\]/\\&/g | ||
5995 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
5996 | D["\1"]=" \3\\\\\\n"\\/p | ||
5997 | t cont | ||
5998 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
5999 | t cont | ||
6000 | d | ||
6001 | :cont | ||
6002 | n | ||
6003 | s/.\{148\}/&'"$ac_delim"'/g | ||
6004 | t clear | ||
6005 | :clear | ||
6006 | s/\\$// | ||
6007 | t bsnlc | ||
6008 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
6009 | d | ||
6010 | :bsnlc | ||
6011 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
6012 | b cont | ||
6013 | ' <confdefs.h | sed ' | ||
6014 | s/'"$ac_delim"'/"\\\ | ||
6015 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
6016 | |||
6017 | cat >>$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 | ||
6051 | cat >>$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; }; } | ||
6055 | fi # test -n "$CONFIG_HEADERS" | ||
6056 | |||
6057 | |||
6058 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | ||
6059 | shift | ||
6060 | for ac_tag | ||
6061 | do | ||
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 | |||
6199 | case "$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 ;; | ||
6209 | esac | ||
6210 | ac_abs_top_builddir=$ac_pwd | ||
6211 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
6212 | # for backward compatibility: | ||
6213 | ac_top_builddir=$ac_top_build_prefix | ||
6214 | |||
6215 | case $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 ;; | ||
6228 | esac | ||
6229 | ac_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 | |||
6249 | cat >>$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. | ||
6252 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
6253 | |||
6254 | ac_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 | ' | ||
6265 | case `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 | ||
6271 | cat >>$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' ;; | ||
6279 | esac | ||
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? | ||
6285 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
6286 | ac_sed_extra="$ac_vpsub | ||
6287 | $extrasub | ||
6288 | _ACEOF | ||
6289 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
6290 | :t | ||
6291 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
6292 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
6293 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
6294 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
6295 | s&@srcdir@&$ac_srcdir&;t t | ||
6296 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
6297 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
6298 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
6299 | s&@builddir@&$ac_builddir&;t t | ||
6300 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
6301 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
6302 | s&@INSTALL@&$ac_INSTALL&;t t | ||
6303 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | ||
6304 | $ac_datarootdir_hack | ||
6305 | " | ||
6306 | eval 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 | |||
6311 | test -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' | ||
6315 | which 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' | ||
6317 | which 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 | ||
6360 | for _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 | ||
6367 | done | ||
6368 | echo "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 | ||
6537 | done # for ac_tag | ||
6538 | |||
6539 | |||
6540 | { (exit 0); exit 0; } | ||
6541 | _ACEOF | ||
6542 | chmod +x $CONFIG_STATUS | ||
6543 | ac_clean_files=$ac_clean_files_save | ||
6544 | |||
6545 | test $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. | ||
6559 | if 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; } | ||
6570 | fi | ||
6571 | if 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;} | ||
6574 | fi | ||
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 | |||
4 | AC_PREREQ([2.63]) | ||
5 | AC_INIT([Maze Of Life], [2.0], [BUG-REPORT-ADDRESS]) | ||
6 | AM_INIT_AUTOMAKE | ||
7 | AC_CONFIG_SRCDIR([src/mazeoflife.cpp]) | ||
8 | AC_CONFIG_HEADERS([config.h]) | ||
9 | |||
10 | # Checks for programs. | ||
11 | AC_PROG_CXX | ||
12 | AC_PROG_CC | ||
13 | |||
14 | # Checks for libraries. | ||
15 | PKG_CHECK_MODULES([SDL], [sdl >= 1.2]) | ||
16 | CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" | ||
17 | LDFLAGS="$SDL_LIBS" | ||
18 | |||
19 | # Checks for header files. | ||
20 | |||
21 | # Checks for typedefs, structures, and compiler characteristics. | ||
22 | AC_HEADER_STDBOOL | ||
23 | |||
24 | # Checks for library functions. | ||
25 | AC_CHECK_FUNCS([atexit]) | ||
26 | |||
27 | AC_CONFIG_FILES([Makefile src/Makefile]) | ||
28 | AC_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 @@ | |||
1 | gamesdir = /usr/games | ||
2 | games_PROGRAMS = mazeoflife | ||
3 | mazeoflife_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 | |||
17 | VPATH = @srcdir@ | ||
18 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
19 | pkglibdir = $(libdir)/@PACKAGE@ | ||
20 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
21 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
22 | install_sh_DATA = $(install_sh) -c -m 644 | ||
23 | install_sh_PROGRAM = $(install_sh) -c | ||
24 | install_sh_SCRIPT = $(install_sh) -c | ||
25 | INSTALL_HEADER = $(INSTALL_DATA) | ||
26 | transform = $(program_transform_name) | ||
27 | NORMAL_INSTALL = : | ||
28 | PRE_INSTALL = : | ||
29 | POST_INSTALL = : | ||
30 | NORMAL_UNINSTALL = : | ||
31 | PRE_UNINSTALL = : | ||
32 | POST_UNINSTALL = : | ||
33 | games_PROGRAMS = mazeoflife$(EXEEXT) | ||
34 | subdir = src | ||
35 | DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in | ||
36 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
37 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
38 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
39 | $(ACLOCAL_M4) | ||
40 | mkinstalldirs = $(install_sh) -d | ||
41 | CONFIG_HEADER = $(top_builddir)/config.h | ||
42 | CONFIG_CLEAN_FILES = | ||
43 | am__installdirs = "$(DESTDIR)$(gamesdir)" | ||
44 | gamesPROGRAMS_INSTALL = $(INSTALL_PROGRAM) | ||
45 | PROGRAMS = $(games_PROGRAMS) | ||
46 | am_mazeoflife_OBJECTS = mazeoflife.$(OBJEXT) gamestate.$(OBJEXT) | ||
47 | mazeoflife_OBJECTS = $(am_mazeoflife_OBJECTS) | ||
48 | mazeoflife_LDADD = $(LDADD) | ||
49 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
50 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
51 | am__depfiles_maybe = depfiles | ||
52 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
53 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | ||
54 | CXXLD = $(CXX) | ||
55 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | ||
56 | -o $@ | ||
57 | SOURCES = $(mazeoflife_SOURCES) | ||
58 | DIST_SOURCES = $(mazeoflife_SOURCES) | ||
59 | ETAGS = etags | ||
60 | CTAGS = ctags | ||
61 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
62 | ACLOCAL = @ACLOCAL@ | ||
63 | AMTAR = @AMTAR@ | ||
64 | AUTOCONF = @AUTOCONF@ | ||
65 | AUTOHEADER = @AUTOHEADER@ | ||
66 | AUTOMAKE = @AUTOMAKE@ | ||
67 | AWK = @AWK@ | ||
68 | CC = @CC@ | ||
69 | CCDEPMODE = @CCDEPMODE@ | ||
70 | CFLAGS = @CFLAGS@ | ||
71 | CPP = @CPP@ | ||
72 | CPPFLAGS = @CPPFLAGS@ | ||
73 | CXX = @CXX@ | ||
74 | CXXDEPMODE = @CXXDEPMODE@ | ||
75 | CXXFLAGS = @CXXFLAGS@ | ||
76 | CYGPATH_W = @CYGPATH_W@ | ||
77 | DEFS = @DEFS@ | ||
78 | DEPDIR = @DEPDIR@ | ||
79 | ECHO_C = @ECHO_C@ | ||
80 | ECHO_N = @ECHO_N@ | ||
81 | ECHO_T = @ECHO_T@ | ||
82 | EGREP = @EGREP@ | ||
83 | EXEEXT = @EXEEXT@ | ||
84 | GREP = @GREP@ | ||
85 | INSTALL = @INSTALL@ | ||
86 | INSTALL_DATA = @INSTALL_DATA@ | ||
87 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
88 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
89 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
90 | LDFLAGS = @LDFLAGS@ | ||
91 | LIBOBJS = @LIBOBJS@ | ||
92 | LIBS = @LIBS@ | ||
93 | LTLIBOBJS = @LTLIBOBJS@ | ||
94 | MAKEINFO = @MAKEINFO@ | ||
95 | MKDIR_P = @MKDIR_P@ | ||
96 | OBJEXT = @OBJEXT@ | ||
97 | PACKAGE = @PACKAGE@ | ||
98 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
99 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
100 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
101 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
102 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
103 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
104 | PKG_CONFIG = @PKG_CONFIG@ | ||
105 | SDL_CFLAGS = @SDL_CFLAGS@ | ||
106 | SDL_LIBS = @SDL_LIBS@ | ||
107 | SET_MAKE = @SET_MAKE@ | ||
108 | SHELL = @SHELL@ | ||
109 | STRIP = @STRIP@ | ||
110 | VERSION = @VERSION@ | ||
111 | abs_builddir = @abs_builddir@ | ||
112 | abs_srcdir = @abs_srcdir@ | ||
113 | abs_top_builddir = @abs_top_builddir@ | ||
114 | abs_top_srcdir = @abs_top_srcdir@ | ||
115 | ac_ct_CC = @ac_ct_CC@ | ||
116 | ac_ct_CXX = @ac_ct_CXX@ | ||
117 | am__include = @am__include@ | ||
118 | am__leading_dot = @am__leading_dot@ | ||
119 | am__quote = @am__quote@ | ||
120 | am__tar = @am__tar@ | ||
121 | am__untar = @am__untar@ | ||
122 | bindir = @bindir@ | ||
123 | build_alias = @build_alias@ | ||
124 | builddir = @builddir@ | ||
125 | datadir = @datadir@ | ||
126 | datarootdir = @datarootdir@ | ||
127 | docdir = @docdir@ | ||
128 | dvidir = @dvidir@ | ||
129 | exec_prefix = @exec_prefix@ | ||
130 | host_alias = @host_alias@ | ||
131 | htmldir = @htmldir@ | ||
132 | includedir = @includedir@ | ||
133 | infodir = @infodir@ | ||
134 | install_sh = @install_sh@ | ||
135 | libdir = @libdir@ | ||
136 | libexecdir = @libexecdir@ | ||
137 | localedir = @localedir@ | ||
138 | localstatedir = @localstatedir@ | ||
139 | mandir = @mandir@ | ||
140 | mkdir_p = @mkdir_p@ | ||
141 | oldincludedir = @oldincludedir@ | ||
142 | pdfdir = @pdfdir@ | ||
143 | prefix = @prefix@ | ||
144 | program_transform_name = @program_transform_name@ | ||
145 | psdir = @psdir@ | ||
146 | sbindir = @sbindir@ | ||
147 | sharedstatedir = @sharedstatedir@ | ||
148 | srcdir = @srcdir@ | ||
149 | sysconfdir = @sysconfdir@ | ||
150 | target_alias = @target_alias@ | ||
151 | top_build_prefix = @top_build_prefix@ | ||
152 | top_builddir = @top_builddir@ | ||
153 | top_srcdir = @top_srcdir@ | ||
154 | gamesdir = /usr/games | ||
155 | mazeoflife_SOURCES = mazeoflife.cpp gamestate.cpp | ||
156 | all: 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 | ||
173 | Makefile: $(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 | ||
189 | install-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 | |||
202 | uninstall-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 | |||
210 | clean-gamesPROGRAMS: | ||
211 | -test -z "$(games_PROGRAMS)" || rm -f $(games_PROGRAMS) | ||
212 | mazeoflife$(EXEEXT): $(mazeoflife_OBJECTS) $(mazeoflife_DEPENDENCIES) | ||
213 | @rm -f mazeoflife$(EXEEXT) | ||
214 | $(CXXLINK) $(mazeoflife_OBJECTS) $(mazeoflife_LDADD) $(LIBS) | ||
215 | |||
216 | mostlyclean-compile: | ||
217 | -rm -f *.$(OBJEXT) | ||
218 | |||
219 | distclean-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 | |||
239 | ID: $(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 | ||
247 | tags: TAGS | ||
248 | |||
249 | TAGS: $(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 | ||
264 | ctags: CTAGS | ||
265 | CTAGS: $(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 | |||
278 | GTAGS: | ||
279 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
280 | && cd $(top_srcdir) \ | ||
281 | && gtags -i $(GTAGS_ARGS) $$here | ||
282 | |||
283 | distclean-tags: | ||
284 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
285 | |||
286 | distdir: $(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 | ||
312 | check-am: all-am | ||
313 | check: check-am | ||
314 | all-am: Makefile $(PROGRAMS) | ||
315 | installdirs: | ||
316 | for dir in "$(DESTDIR)$(gamesdir)"; do \ | ||
317 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
318 | done | ||
319 | install: install-am | ||
320 | install-exec: install-exec-am | ||
321 | install-data: install-data-am | ||
322 | uninstall: uninstall-am | ||
323 | |||
324 | install-am: all-am | ||
325 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
326 | |||
327 | installcheck: installcheck-am | ||
328 | install-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 | ||
333 | mostlyclean-generic: | ||
334 | |||
335 | clean-generic: | ||
336 | |||
337 | distclean-generic: | ||
338 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
339 | |||
340 | maintainer-clean-generic: | ||
341 | @echo "This command is intended for maintainers to use" | ||
342 | @echo "it deletes files that may require special tools to rebuild." | ||
343 | clean: clean-am | ||
344 | |||
345 | clean-am: clean-gamesPROGRAMS clean-generic mostlyclean-am | ||
346 | |||
347 | distclean: distclean-am | ||
348 | -rm -rf ./$(DEPDIR) | ||
349 | -rm -f Makefile | ||
350 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
351 | distclean-tags | ||
352 | |||
353 | dvi: dvi-am | ||
354 | |||
355 | dvi-am: | ||
356 | |||
357 | html: html-am | ||
358 | |||
359 | info: info-am | ||
360 | |||
361 | info-am: | ||
362 | |||
363 | install-data-am: install-gamesPROGRAMS | ||
364 | |||
365 | install-dvi: install-dvi-am | ||
366 | |||
367 | install-exec-am: | ||
368 | |||
369 | install-html: install-html-am | ||
370 | |||
371 | install-info: install-info-am | ||
372 | |||
373 | install-man: | ||
374 | |||
375 | install-pdf: install-pdf-am | ||
376 | |||
377 | install-ps: install-ps-am | ||
378 | |||
379 | installcheck-am: | ||
380 | |||
381 | maintainer-clean: maintainer-clean-am | ||
382 | -rm -rf ./$(DEPDIR) | ||
383 | -rm -f Makefile | ||
384 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
385 | |||
386 | mostlyclean: mostlyclean-am | ||
387 | |||
388 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | ||
389 | |||
390 | pdf: pdf-am | ||
391 | |||
392 | pdf-am: | ||
393 | |||
394 | ps: ps-am | ||
395 | |||
396 | ps-am: | ||
397 | |||
398 | uninstall-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 | |||